@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --bg: #121212;
  --surface: #1e1e2e;
  --text: #e0e0e0;
  --primary: #1abc9c;
  --primary-hover: #16a085;
  --secondary: #3498db;
  --secondary-hover: #2980b9;
  --accent: #f39c12;
  --accent-hover: #d35400;
  --danger: #e74c3c;
  --danger-hover: #c0392b;
  --muted: #2a2a2a;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  position: relative;
  padding-bottom: 3rem;
  text-align: center;
  margin: 0;
}

.cart-widget {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 30, 46, 0.95);
  border: 1px solid rgba(243,156,18,0.45);
  color: var(--text);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}

.cart-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 1190;
  max-width: min(520px, calc(100vw - 32px));
  width: max-content;
  background: rgba(243, 156, 18, 0.96);
  color: #111;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0,0,0,0.38);
}

.cart-banner:hover {
  background: #ffb62e;
}

.cart-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.cart-label {
  font-weight: 700;
  color: var(--accent);
}

.cart-count {
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--bg);
  font-weight: 700;
}

.static-message {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.6;
}

.static-message p {
  margin: 15px 0;
}

.static-message .highlight {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 700;
}

.static-message a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.static-message a:hover {
  color: var(--primary-hover);
}

/* SPECIAL AD BOX ABOVE SEARCH BAR, BUTTONS CENTERED BELOW TEXT */
.special-ad-box {
  background: radial-gradient(circle at top left, rgba(243,156,18,0.25), transparent 60%),
              radial-gradient(circle at bottom right, rgba(52,152,219,0.25), transparent 60%),
              var(--surface);
  border-radius: 12px;
  padding: 18px 20px 22px 20px;
  margin: 10px auto 20px auto;
  max-width: 900px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.6);
  border: 1px solid rgba(243,156,18,0.4);
  text-align: center;
}

.special-ad-box h2 {
  margin: 0 0 6px 0;
  font-size: 1.4rem;
  color: var(--accent);
}

.special-ad-box p {
  margin: 0;
  font-size: 1rem;
}

/* NEW: container for multiple special buttons */
.special-ad-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 0 8px;
}

.special-ad-button {
  display: inline-block;
  margin-top: 0; 
  padding: 10px 26px;
  background: linear-gradient(180deg, #4f6855 0%, #405346 100%);
  color: #eef3fb;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: 1px solid rgba(214, 222, 235, 0.18);
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.special-ad-button:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #5a765f 0%, #49604f 100%);
  border-color: rgba(183, 214, 193, 0.32);
  box-shadow: 0 14px 26px rgba(0,0,0,0.28);
}

/* Small info box when special mode is active */
.special-mode-box {
  background: var(--surface);
  border-radius: 8px;
  padding: 10px 16px;
  margin: 10px auto 10px auto;
  max-width: 800px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.5);
  border: 1px solid var(--primary);
}

.special-mode-box h3 {
  margin: 0 0 4px 0;
  color: var(--primary);
  font-size: 1.1rem;
}

.special-mode-box p {
  margin: 0;
  font-size: 0.95rem;
}

.special-mode-link {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: 600;
}

.special-mode-link:hover {
  color: var(--secondary-hover);
}

/* QUICK SEARCH BUTTONS UNDER SEARCH BAR */
.quick-search-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 8px auto 14px auto;
  max-width: 900px;
  padding: 0 12px;
}

.quick-search-button {
  display: inline-block;
  padding: 10px 18px;
  background: linear-gradient(180deg, #51636c 0%, #425159 100%);
  color: #eef3fb;
  border: 1px solid rgba(214, 222, 235, 0.18);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.quick-search-button:hover {
  background: linear-gradient(180deg, #5d727c 0%, #4b5c65 100%);
  border-color: rgba(185, 207, 217, 0.32);
  box-shadow: 0 14px 26px rgba(0,0,0,0.28);
  transform: translateY(-1px);
}

#page-title {
  margin: 0 auto 20px auto;
  max-width: 100%;
  display: block;
}

#search-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#search-bar-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.sib-set-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(30, 30, 46, 0.95);
  border: 1px solid rgba(243, 156, 18, 0.3);
  color: #eef3fb;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
  user-select: none;
}

.sib-set-filter-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sib-set-filter-toggle-pill {
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: rgba(101, 109, 133, 0.8);
  position: relative;
  transition: background 0.18s ease;
}

.sib-set-filter-toggle-knob {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f4f6fb;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.18s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.24);
}

.sib-set-filter-toggle input:checked + .sib-set-filter-toggle-pill {
  background: linear-gradient(180deg, #7a6327 0%, #5e4b1e 100%);
}

.sib-set-filter-toggle input:checked + .sib-set-filter-toggle-pill .sib-set-filter-toggle-knob {
  transform: translateX(20px);
}

.sib-set-filter-toggle-label {
  font-weight: 700;
  letter-spacing: 0.01em;
}

#search-bar {
  padding: 10px;
  width: 600px;
  max-width: 90%;
  box-sizing: border-box;
  background-color: var(--surface);
  color: var(--text);
  border: 1px solid var(--muted);
  border-radius: 4px;
}

#search-button,
#copy-link-button {
  padding: 10px 20px;
  margin-left: 10px;
  background-color: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

#search-button:hover,
#copy-link-button:hover {
  background-color: var(--primary-hover);
}

.main-page #search-button,
.main-page #copy-link-button {
  background: linear-gradient(180deg, #32465c 0%, #273749 100%);
  border: 1px solid rgba(214, 222, 235, 0.18);
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  color: #eef3fb;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.main-page #search-button:hover,
.main-page #copy-link-button:hover {
  background: linear-gradient(180deg, #39516a 0%, #2d4055 100%);
  border-color: rgba(214, 222, 235, 0.28);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

#result-counter {
  margin-bottom: 10px;
}

#bundles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 20px;
}

.bundle {
  padding: 1rem;
  background-color: var(--surface);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  text-align: center;
  position: relative;
}

.bundle-price {
  font-weight: 700;
  color: var(--accent);
}

.bundle-file-id {
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.bundle-price-missing {
  color: #ff8f8f;
}

.bundle-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  margin-top: 12px;
}

.bundle.gold-frame {
  border: 3px solid var(--accent);
}

.bundle-highlighted {
  box-shadow: 0 0 0 1px rgba(255, 210, 110, 0.25), 0 14px 30px rgba(0,0,0,0.34);
}

.bundle-highlight-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8e6f2d 0%, #71571d 100%);
  border: 1px solid rgba(255, 216, 132, 0.45);
  color: #fff4cf;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bundle-highlighted-trait {
  color: #ffd86a !important;
  font-weight: 800 !important;
  font-size: 1.08em !important;
  text-shadow: 0 0 10px rgba(255, 210, 106, 0.18) !important;
}

.bundle-highlight-toggle-form {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  z-index: 3;
}

.bundle-highlight-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(214, 222, 235, 0.18);
  background: linear-gradient(180deg, #43495a 0%, #353b4a 100%);
  color: rgba(255,255,255,0.42);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.bundle-highlight-toggle:hover {
  transform: translateY(-1px);
  color: rgba(255,255,255,0.78);
  border-color: rgba(214, 222, 235, 0.3);
  box-shadow: 0 14px 26px rgba(0,0,0,0.28);
}

.bundle-highlight-toggle.active {
  background: linear-gradient(180deg, #8d6c29 0%, #70561f 100%);
  border-color: rgba(255, 216, 132, 0.55);
  color: #ffd86a;
}

.teleport-button,
.pedigree-button,
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.75rem 1.5rem;
  color: var(--bg);
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.bundle-actions .teleport-button,
.bundle-actions .pedigree-button,
.bundle-actions .contact-button {
  width: 180px;
  min-height: 48px;
  margin-top: 0;
  box-sizing: border-box;
}

.owner-inline-price-form {
  margin-top: 14px;
  text-align: left;
}

.owner-inline-price-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  text-align: center;
}

.owner-inline-price-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.owner-inline-price-actions input[type="number"] {
  width: 180px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #444;
  background: #0f0f0f;
  color: #fff;
  box-sizing: border-box;
}

.owner-inline-price-actions .contact-button {
  width: 180px;
  min-height: 46px;
  margin-top: 0;
}

.teleport-button {
  background-color: var(--secondary);
}

.teleport-button:hover {
  background-color: var(--secondary-hover);
}

.pedigree-button {
  background-color: #ffeb3b;
}

.pedigree-button:hover {
  background-color: #f2d91f;
}

.contact-button {
  background-color: var(--primary);
}

.contact-button:hover {
  background-color: var(--primary-hover);
}

.add-to-cart-button {
  background-color: #33b249;
}

.add-to-cart-button:hover {
  background-color: #28903a;
}

.main-page .bundle-actions .teleport-button,
.main-page .bundle-actions .pedigree-button,
.main-page .bundle-actions .contact-button {
  border: 1px solid rgba(214, 222, 235, 0.18);
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  color: #eef3fb;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.main-page .bundle-actions .contact-button {
  background: linear-gradient(180deg, #355b4a 0%, #284438 100%);
}

.main-page .bundle-actions .contact-button:hover {
  background: linear-gradient(180deg, #3d6954 0%, #2e4f40 100%);
  border-color: rgba(214, 222, 235, 0.28);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
}

.main-page .bundle-actions .teleport-button {
  background: linear-gradient(180deg, #32465c 0%, #273749 100%);
}

.main-page .bundle-actions .teleport-button:hover {
  background: linear-gradient(180deg, #39516a 0%, #2d4055 100%);
  border-color: rgba(214, 222, 235, 0.28);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
}

.main-page .bundle-actions .pedigree-button {
  background: linear-gradient(180deg, #4d4654 0%, #3c3642 100%);
}

.main-page .bundle-actions .pedigree-button:hover {
  background: linear-gradient(180deg, #585060 0%, #463f4b 100%);
  border-color: rgba(214, 222, 235, 0.28);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
}

.disabled-cart-button,
.add-to-cart-button:disabled {
  background-color: #555;
  cursor: not-allowed;
  opacity: 0.65;
}

#scroll-up {
  display: none;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--surface);
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

#scroll-up img {
  width: 1.5rem;
  height: 1.5rem;
}

#dropdowns-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 20px;
  transform: scale(0.9);
  transform-origin: top center;
}

.dropdown-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dropdown-group label {
  margin-bottom: 4px;
  font-weight: 500;
  font-size: 0.85rem;
}

.dropdown-group select {
  padding: 5px;
  border-radius: 4px;
  border: 1px solid var(--muted);
  background-color: var(--surface);
  color: var(--text);
  min-width: 120px;
  max-width: 140px;
  width: 120px;
  font-size: 0.85rem;
  box-sizing: border-box;
}

.dropdown-group select option:first-child {
  color: #888 !important;
  font-style: italic;
}

.info-message {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
}

.show-all-link {
  color: var(--text);
  text-decoration: underline;
}

.show-all-link:hover {
  color: var(--primary);
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
}

.modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface);
  color: var(--text);
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1001;
}

.cart-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 680px);
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1002;
  background: linear-gradient(180deg, rgba(30,30,46,0.98), rgba(18,18,18,0.98));
  border: 1px solid rgba(243,156,18,0.35);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  padding: 24px;
  text-align: left;
}

.cart-modal h2 {
  margin-top: 0;
  color: var(--accent);
}

.cart-preview-stats,
.checkout-item-lines {
  background: rgba(0,0,0,0.22);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.cart-preview-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-preview-note {
  min-height: 1.2em;
  color: #ff8f8f;
  font-weight: 600;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  align-items: stretch;
}

.modal-actions-inline {
  margin-top: 0;
  margin-bottom: 12px;
}

.cart-modal .modal-actions .pedigree-button,
.cart-modal .modal-actions .contact-button,
.cart-modal .modal-actions .reset-button {
  min-width: 120px;
  min-height: 46px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.buyer-name-input {
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid var(--muted);
  background: #111;
  color: var(--text);
}

.payment-info-image {
  display: block;
  width: min(100%, 320px);
  margin: 8px auto 18px auto;
  border-radius: 14px;
  border: 1px solid rgba(243,156,18,0.35);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

#payment-info-modal {
  text-align: center;
}

#payment-info-text {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 440px;
}

#payment-info-modal .modal-actions {
  justify-content: center;
}

#payment-info-link {
  background: linear-gradient(180deg, #465e69 0%, #394d57 100%);
  border: 1px solid rgba(183, 206, 214, 0.4);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14), 0 0 18px rgba(120, 160, 180, 0.24);
}

#payment-info-link:hover {
  background: linear-gradient(180deg, #516b77 0%, #425964 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.22), 0 0 24px rgba(120, 160, 180, 0.34);
}

#rare-modal-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

#rare-modal-list li {
  margin: 0.5rem 0;
}

#rare-modal-list a {
  text-decoration: none;
  color: var(--accent);
}

.reset-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  min-height: 46px;
  box-sizing: border-box;
  background-color: var(--danger);
  color: var(--bg);
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-top: 5px;
}

.reset-button:hover {
  background-color: var(--danger-hover);
}

.main-page .reset-button {
  background: linear-gradient(180deg, #4d4654 0%, #3c3642 100%);
  border: 1px solid rgba(214, 222, 235, 0.18);
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  color: #eef3fb;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.main-page .reset-button:hover {
  background: linear-gradient(180deg, #585060 0%, #463f4b 100%);
  border-color: rgba(214, 222, 235, 0.28);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.owner-page .contact-button,
.owner-page .reset-button,
.owner-page .pedigree-button,
.owner-page .teleport-button,
.owner-page .owner-storage-check-button,
.owner-page .owner-sales-overview-button,
.owner-page .owner-admin-panel-toggle,
.owner-page .owner-maintenance-toggle-button {
  border: 1px solid rgba(214, 222, 235, 0.16);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  color: #eef3fb;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, filter 0.16s ease;
}

.owner-page .contact-button {
  background: linear-gradient(180deg, #4f6855 0%, #405346 100%);
}

.owner-page .contact-button:hover {
  background: linear-gradient(180deg, #5a765f 0%, #49604f 100%);
  border-color: rgba(183, 214, 193, 0.32);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.owner-page .pedigree-button,
.owner-page .teleport-button {
  background: linear-gradient(180deg, #4a5a72 0%, #3c495d 100%);
}

.owner-page .pedigree-button:hover,
.owner-page .teleport-button:hover {
  background: linear-gradient(180deg, #566883 0%, #46556b 100%);
  border-color: rgba(189, 204, 227, 0.32);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.owner-page .reset-button {
  background: linear-gradient(180deg, #7a5454 0%, #694646 100%);
}

.owner-page .reset-button:hover {
  background: linear-gradient(180deg, #896060 0%, #755050 100%);
  border-color: rgba(232, 186, 186, 0.34);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.owner-page .owner-storage-check-button {
  background: linear-gradient(180deg, #6f6549 0%, #5c543d 100%);
}

.owner-page .owner-storage-check-button:hover {
  background: linear-gradient(180deg, #7d7252 0%, #675e44 100%);
  border-color: rgba(221, 208, 166, 0.34);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.owner-page .owner-sales-overview-button {
  background: linear-gradient(180deg, #51636c 0%, #425159 100%);
}

.owner-page .owner-sales-overview-button:hover {
  background: linear-gradient(180deg, #5d727c 0%, #4b5c65 100%);
  border-color: rgba(185, 207, 217, 0.32);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.owner-page .owner-admin-panel-toggle {
  background: linear-gradient(180deg, #5c546c 0%, #4a4356 100%);
}

.owner-page .owner-admin-panel-toggle:hover {
  background: linear-gradient(180deg, #695f7b 0%, #544c61 100%);
  border-color: rgba(205, 193, 223, 0.32);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.owner-page .owner-maintenance-toggle-button {
  background: linear-gradient(180deg, #3e465f 0%, #32394e 100%);
}

.owner-page .owner-maintenance-toggle-button:hover {
  border-color: rgba(214, 222, 235, 0.28);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.owner-page .owner-maintenance-toggle-button.enabled {
  border-color: rgba(215, 170, 92, 0.4);
}

.owner-page .owner-maintenance-toggle-button.disabled {
  border-color: rgba(120, 190, 170, 0.36);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1.5rem 0;
}

.pagination a,
.pagination span {
  margin: 0.25rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--text);
  border-radius: 5px;
  transition: transform 0.2s ease;
  font-weight: 600;
  border: 1px solid var(--muted);
}

.pagination a:hover {
  transform: scale(1.05);
  background-color: var(--surface);
}

.pagination .current-page {
  background-color: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}

/* Added specific wrapper for bottom pagination to ensure visibility */
.bottom-pagination-wrapper {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

.owner-admin-bulk .bottom-pagination-wrapper {
  margin-top: 0.45rem;
  margin-bottom: 0.35rem;
  padding-bottom: 0;
}

.owner-admin-bulk .bottom-pagination-wrapper .pagination {
  margin: 0.3rem 0;
}

.checkout-page {
  min-height: 100vh;
}

.checkout-shell {
  max-width: 1100px;
  margin: 90px auto 30px auto;
  padding: 0 18px;
}

.checkout-shell h1 {
  margin-bottom: 18px;
}

.checkout-empty {
  background: var(--surface);
  border-radius: 14px;
  padding: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.checkout-empty p {
  margin: 0;
}

.checkout-empty-actions {
  margin-top: 18px;
}

.checkout-back-link {
  min-width: 200px;
  text-decoration: none;
}

.checkout-content {
  max-width: 980px;
  margin: 0 auto;
}

#checkout-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.checkout-item {
  background: var(--surface);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

.checkout-item h2 {
  margin-top: 0;
  color: var(--accent);
  font-size: 1.08rem;
}

.checkout-item-price,
.checkout-summary {
  font-weight: 700;
  color: var(--primary);
}

.checkout-summary {
  margin-top: 18px;
  font-size: 1.2rem;
}

.checkout-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.checkout-actions .contact-button,
.checkout-actions .reset-button,
.checkout-actions .pedigree-button,
.checkout-actions .teleport-button {
  min-height: 46px;
  box-sizing: border-box;
  margin-top: 0;
}

.checkout-page .contact-button,
.checkout-page .reset-button,
.checkout-page .pedigree-button,
.checkout-page .teleport-button {
  border: 1px solid rgba(214, 222, 235, 0.16);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  color: #eef3fb;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.checkout-page .contact-button {
  background: linear-gradient(180deg, #465e69 0%, #394d57 100%);
}

.checkout-page .contact-button:hover {
  background: linear-gradient(180deg, #516b77 0%, #425964 100%);
  border-color: rgba(183, 206, 214, 0.34);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.checkout-page .pedigree-button,
.checkout-page .teleport-button {
  background: linear-gradient(180deg, #585363 0%, #46414f 100%);
}

.checkout-page .pedigree-button:hover,
.checkout-page .teleport-button:hover {
  background: linear-gradient(180deg, #645e70 0%, #504a5a 100%);
  border-color: rgba(201, 194, 216, 0.32);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.checkout-page .reset-button {
  background: linear-gradient(180deg, #4c505b 0%, #3c414a 100%);
}

.checkout-page .reset-button:hover {
  background: linear-gradient(180deg, #595e6b 0%, #474c56 100%);
  border-color: rgba(194, 200, 212, 0.3);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.checkout-page .checkout-actions .contact-button,
.checkout-page .checkout-actions .reset-button,
.checkout-page .checkout-actions .pedigree-button,
.checkout-page .checkout-actions .teleport-button,
.checkout-page .checkout-item-actions .reset-button {
  min-height: 48px;
}

.checkout-page .checkout-actions .contact-button,
.checkout-page .checkout-actions .reset-button,
.checkout-page .checkout-actions .pedigree-button,
.checkout-page .checkout-actions .teleport-button {
  min-width: 168px;
  padding: 0 22px;
}

.checkout-page .checkout-item-actions .reset-button {
  min-width: 132px;
}

.checkout-page .checkout-item-actions .reset-button {
  background: linear-gradient(180deg, #715252 0%, #5c4141 100%);
}

.checkout-page .checkout-item-actions .reset-button:hover {
  background: linear-gradient(180deg, #805d5d 0%, #6a4b4b 100%);
  border-color: rgba(220, 185, 185, 0.34);
}

.owner-send-panel {
  max-width: 560px;
  margin: 18px auto 0 auto;
  background: rgba(0,0,0,0.2);
  border-radius: 14px;
  padding: 16px;
  text-align: left;
}

.owner-send-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-bottom: 12px;
}

.owner-send-toggle input[type="checkbox"] {
  width: auto;
}

.owner-send-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.owner-send-field input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.owner-delivery-status {
  max-width: 560px;
  margin: 18px auto 0 auto;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(26, 188, 156, 0.14);
  border: 1px solid rgba(26, 188, 156, 0.45);
  font-weight: 700;
}

.owner-storage-tools {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 140px 280px 280px;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
}

.owner-sort-form {
  margin: 0;
  display: flex;
  align-items: stretch;
}

.owner-sort-form-inline {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.owner-sort-select {
  width: 140px;
  height: 52px;
  min-height: 52px;
  box-sizing: border-box;
  padding: 0 36px 0 14px;
  border-radius: 5px;
  border: 1px solid rgba(243, 156, 18, 0.55);
  background: #fff86a;
  color: #111;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  line-height: 50px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.owner-sort-select-inline {
  width: 180px !important;
  min-width: 180px;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 42px 0 18px !important;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background-color: #181818;
  background-image:
    linear-gradient(135deg, rgba(24, 24, 24, 0.98), rgba(42, 42, 42, 0.96)),
    linear-gradient(45deg, transparent 50%, #ffd451 50%),
    linear-gradient(135deg, #ffd451 50%, transparent 50%);
  background-position:
    0 0,
    calc(100% - 22px) 20px,
    calc(100% - 16px) 20px;
  background-size:
    100% 100%,
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  color: #ffffff;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

.owner-sort-select-inline:hover {
  background-image:
    linear-gradient(135deg, rgba(44, 44, 44, 0.98), rgba(64, 64, 64, 0.96)),
    linear-gradient(45deg, transparent 50%, #ffd451 50%),
    linear-gradient(135deg, #ffd451 50%, transparent 50%);
}

.owner-sort-select-inline option {
  background: #141414;
  color: #f3f5f8;
}

.owner-storage-tools .owner-storage-check-button,
.owner-storage-tools .owner-sales-overview-button,
.owner-storage-tools .owner-sort-select {
  height: 52px;
  min-height: 52px;
}

.owner-storage-tools .owner-storage-check-button,
.owner-storage-tools .owner-sales-overview-button {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
}

.owner-storage-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1420;
}

.owner-storage-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  z-index: 1430;
  background: rgba(30, 30, 46, 0.98);
  border: 1px solid rgba(52, 152, 219, 0.35);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  padding: 20px;
}

.owner-storage-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.owner-storage-modal-header h2 {
  margin: 0;
}

.owner-storage-modal-body {
  text-align: center;
}

.owner-sales-overview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 48px;
  margin-top: 0;
  box-sizing: border-box;
  padding: 0 18px;
}

.owner-admin-panel {
  max-width: 760px;
  margin: 0 auto 16px auto;
}

.owner-admin-panel[open] {
  background: rgba(30, 30, 46, 0.72);
  border: 1px solid rgba(243, 156, 18, 0.28);
  border-radius: 16px;
  padding: 0 0 12px 0;
}

.owner-admin-panel-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 280px;
  margin: 0 auto;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(30, 30, 46, 0.98), rgba(52, 73, 94, 0.95));
  border: 1px solid rgba(243, 156, 18, 0.45);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}

.owner-admin-panel-toggle::-webkit-details-marker {
  display: none;
}

.owner-admin-panel-toggle::before {
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
  color: var(--accent);
}

.owner-admin-panel[open] .owner-admin-panel-toggle {
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.24), rgba(52, 73, 94, 0.95));
}

.owner-admin-panel[open] .owner-admin-panel-toggle::before {
  content: "−";
}

.owner-admin-panel-body {
  padding: 18px 18px 0 18px;
}

.owner-admin-panel-body h2 {
  margin-top: 0;
}

.owner-admin-bulk-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 16px auto;
  text-align: left;
}

.owner-admin-bulk-form label {
  font-weight: 700;
}

.owner-admin-bulk-form input[type="text"],
.owner-admin-bulk-form input[type="number"],
.owner-admin-bulk-form input[type="file"],
.owner-admin-bulk-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--muted);
  background: #111;
  color: var(--text);
}

.owner-admin-bulk-form textarea {
  min-height: 180px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

.owner-rich-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.owner-rich-editor-button,
.owner-rich-editor-select,
.owner-rich-editor-color {
  min-height: 44px;
}

.owner-rich-editor-select,
.owner-rich-editor-color {
  border-radius: 10px;
  border: 1px solid var(--muted);
  background: #111;
  color: var(--text);
  padding: 10px 12px;
}

.owner-rich-editor-color {
  width: 56px;
  padding: 6px;
}

.owner-rich-editor-surface {
  width: 100%;
  min-height: 220px;
  box-sizing: border-box;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--muted);
  background: #111;
  color: var(--text);
  text-align: left;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.owner-rich-editor-surface:focus {
  outline: 2px solid rgba(26, 188, 156, 0.45);
  outline-offset: 2px;
}

.owner-admin-bulk-form .contact-button {
  align-self: center;
}

.owner-bulk-remove-form {
  margin-top: 14px;
  width: 100%;
}

.owner-maintenance-form {
  margin-top: 14px;
}

.owner-maintenance-toggle-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 280px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(243,156,18,0.45);
  background: rgba(30, 30, 46, 0.95);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
}

.owner-maintenance-toggle-button.enabled {
  border-color: rgba(243, 156, 18, 0.6);
}

.owner-maintenance-toggle-button.disabled {
  border-color: rgba(26, 188, 156, 0.45);
}

.owner-maintenance-toggle-pill {
  width: 56px;
  height: 30px;
  border-radius: 999px;
  position: relative;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.owner-maintenance-toggle-button.enabled .owner-maintenance-toggle-pill {
  background: rgba(243, 156, 18, 0.9);
}

.owner-maintenance-toggle-button.disabled .owner-maintenance-toggle-pill {
  background: rgba(26, 188, 156, 0.85);
}

.owner-maintenance-toggle-knob {
  position: absolute;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: left 0.2s ease;
}

.owner-maintenance-toggle-button.enabled .owner-maintenance-toggle-knob {
  left: 29px;
}

.owner-maintenance-toggle-button.disabled .owner-maintenance-toggle-knob {
  left: 3px;
}

.owner-maintenance-status {
  max-width: 760px;
  margin: 14px auto 0 auto;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.owner-maintenance-status.enabled {
  background: rgba(243, 156, 18, 0.18);
  border: 1px solid rgba(243, 156, 18, 0.48);
  color: #ffe7b0;
}

.owner-maintenance-status.disabled {
  background: rgba(26, 188, 156, 0.14);
  border: 1px solid rgba(26, 188, 156, 0.45);
}

.owner-storage-check-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 280px;
  height: 48px;
  box-sizing: border-box;
  padding: 0 18px;
}

.owner-storage-result {
  max-width: 760px;
  margin: 14px auto 0 auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(52, 152, 219, 0.14);
  border: 1px solid rgba(52, 152, 219, 0.45);
  font-weight: 700;
}

.owner-storage-result.success {
  background: rgba(26, 188, 156, 0.14);
  border-color: rgba(26, 188, 156, 0.45);
}

.owner-storage-result.warning {
  background: rgba(243, 156, 18, 0.18);
  border-color: rgba(243, 156, 18, 0.48);
  color: #ffe7b0;
}

.bundle-missing-in-storage {
  border: 2px solid #ff7b7b;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2), 0 12px 28px rgba(0,0,0,0.28);
}

.bundle-missing-in-storage::before {
  content: "Missing In Storage";
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(231, 76, 60, 0.18);
  color: #ffb3b3;
  font-weight: 700;
}

.owner-missing-remove-form {
  display: none;
  margin-top: 12px;
}

.bundle-missing-in-storage .owner-missing-remove-form {
  display: block;
}

.checkout-item-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.checkout-page .checkout-item-actions .pedigree-button,
.checkout-page .checkout-item-actions .reset-button {
  min-width: 148px;
}

.checkout-parents-button {
  text-decoration: none;
}

.sib-set-select-label {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 28, 45, 0.92);
  border: 1px solid rgba(255,255,255,0.14);
  color: #eef3fb;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 3;
}

.sib-set-select-label[hidden] {
  display: none !important;
}

.sib-set-select-checkbox {
  width: 16px;
  height: 16px;
  margin: 0;
}

.owner-sib-set-bar {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 1195;
  width: min(760px, calc(100vw - 32px));
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(243, 156, 18, 0.96);
  color: #111;
  border: 1px solid rgba(255, 214, 120, 0.75);
  box-shadow: 0 16px 34px rgba(0,0,0,0.32);
}

.owner-sib-set-summary {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.owner-sib-set-form {
  display: flex;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

.owner-sib-set-form input[type="text"] {
  min-width: 320px;
  max-width: 460px;
}

.owner-sib-set-form textarea {
  width: min(100%, 920px);
  min-width: 320px;
  min-height: 92px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: rgba(255, 247, 224, 0.94);
  color: #111;
  font: inherit;
  resize: both;
  box-sizing: border-box;
  overflow: auto;
  flex: 1 1 100%;
}

.owner-sib-set-bar .contact-button,
.owner-sib-set-bar .reset-button {
  margin-top: 0;
}

.sibling-set-info-actions {
  margin-top: 10px;
}

.sibling-set-info-modal {
  max-width: 680px;
}

.sibling-set-info-body {
  white-space: pre-wrap;
  line-height: 1.7;
  text-align: left;
  padding: 8px 4px;
  max-height: calc(1.7em * 15);
  overflow-y: auto;
  overflow-x: hidden;
}

.sib-set-selection-mode .bundle:not(.sibling-set-bundle) {
  box-shadow: 0 0 0 1px rgba(255, 216, 120, 0.12), 0 12px 28px rgba(0,0,0,0.3);
}

.sibling-set-bundle {
  background: linear-gradient(180deg, rgba(41, 42, 67, 0.98) 0%, rgba(29, 31, 52, 0.98) 100%);
}

.sibling-set-bundle .bundle-highlight-badge {
  background: linear-gradient(180deg, #5f5a9c 0%, #494480 100%);
  border-color: rgba(178, 171, 255, 0.45);
  color: #efeaff;
}

.sibling-set-carousel {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
}

.sibling-set-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.sibling-set-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #f4f7fd;
  text-align: center;
}

.sibling-set-edit-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, #43495a 0%, #353b4a 100%);
  color: #eef3fb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.24);
}

.sibling-set-edit-toggle:hover {
  transform: translateY(-1px);
}

.owner-sibling-set-title-form {
  margin-top: 10px;
}

.owner-sibling-set-title-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.owner-sibling-set-title-actions input[type="text"] {
  min-width: 260px;
  max-width: 420px;
}

.owner-sibling-set-title-actions .contact-button {
  margin-top: 0;
}

.sibling-set-meta {
  margin-top: 6px;
  text-align: center;
  font-weight: 700;
  color: rgba(239, 243, 251, 0.88);
}

.sibling-set-members {
  min-width: 0;
}

.sibling-set-member-card {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  display: none;
}

.sibling-set-member-card.active {
  display: block;
}

.sibling-set-member-id {
  margin-bottom: 10px;
  font-weight: 700;
  color: #f1f5fb;
  overflow-wrap: anywhere;
}

.sibling-set-member-card p {
  margin: 0 0 6px 0;
}

.sibling-set-member-actions {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.sibling-set-member-parents {
  min-width: 180px;
}

.main-page .sibling-set-member-parents,
.main-page .sibling-set-info-button {
  border: 1px solid rgba(214, 222, 235, 0.18);
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  color: #eef3fb;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #4d4654 0%, #3c3642 100%);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.main-page .sibling-set-member-parents:hover,
.main-page .sibling-set-info-button:hover {
  background: linear-gradient(180deg, #585060 0%, #463f4b 100%);
  border-color: rgba(214, 222, 235, 0.28);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.sibling-set-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, #43495a 0%, #353b4a 100%);
  color: #eef3fb;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.24);
}

.sibling-set-nav:hover {
  transform: translateY(-1px);
}

.main-page .sibling-set-nav {
  border: 1px solid rgba(214, 222, 235, 0.18);
  background: linear-gradient(180deg, #4d4654 0%, #3c3642 100%);
  color: #eef3fb;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.main-page .sibling-set-nav:hover {
  background: linear-gradient(180deg, #585060 0%, #463f4b 100%);
  border-color: rgba(214, 222, 235, 0.28);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
}

.sibling-set-inline-carousel {
  margin-top: 0;
}

.checkout-sibling-set .sibling-set-member-card,
.cart-preview-stats .sibling-set-member-card {
  background: rgba(0, 0, 0, 0.18);
}

.checkout-sibling-set .sibling-set-member-actions,
.cart-preview-stats .sibling-set-member-actions {
  margin-top: 12px;
}

.checkout-sibling-set .sibling-set-counter,
.cart-preview-stats .sibling-set-counter {
  margin-top: 10px;
  text-align: center;
  font-weight: 700;
}

.checkout-page .checkout-sibling-set .pedigree-button,
.cart-modal .sibling-set-member-parents {
  border: 1px solid rgba(214, 222, 235, 0.16);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  color: #eef3fb;
  font-weight: 600;
  background: linear-gradient(180deg, #585363 0%, #46414f 100%);
}

.checkout-page .checkout-sibling-set .pedigree-button:hover,
.cart-modal .sibling-set-member-parents:hover {
  background: linear-gradient(180deg, #645e70 0%, #504a5a 100%);
  border-color: rgba(201, 194, 216, 0.32);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.checkout-page .checkout-sibling-set .sibling-set-nav,
.cart-modal .sibling-set-nav {
  border: 1px solid rgba(214, 222, 235, 0.16);
  background: linear-gradient(180deg, #585363 0%, #46414f 100%);
  color: #eef3fb;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.checkout-page .checkout-sibling-set .sibling-set-nav:hover,
.cart-modal .sibling-set-nav:hover {
  background: linear-gradient(180deg, #645e70 0%, #504a5a 100%);
  border-color: rgba(201, 194, 216, 0.32);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
}

.sibling-set-counter {
  margin-top: 10px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(239, 243, 251, 0.8);
}

.owner-sibling-set-break-form {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.sales-shell {
  max-width: 760px;
}

.sales-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.sales-summary-card,
.sales-order-card {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid rgba(243,156,18,0.28);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

.sales-summary-card {
  padding: 18px;
}

.sales-summary-card strong {
  display: block;
  color: var(--accent);
  margin-bottom: 8px;
}

.sales-summary-card span {
  font-size: 1.4rem;
  font-weight: 700;
}

.sales-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.sales-list-grid {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  align-items: start;
  justify-content: center;
  width: 100%;
}

.sales-section-heading {
  margin-top: 28px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  text-align: left;
}

.sales-filter-form {
  margin: 8px 0 24px 0;
}

.sales-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
  text-align: left;
}

.sales-filter-grid input[type="date"] {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--muted);
  background: #111;
  color: var(--text);
}

.sales-order-card {
  padding: 20px;
  text-align: left;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  max-width: 100%;
}

.sales-list-grid .sales-order-card {
  display: flex;
  width: auto;
}

.failed-cart-modal {
  width: min(92vw, 920px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

#sales-bundle-modal {
  padding-top: 18px;
  padding-bottom: 18px;
}

.sales-bundle-trigger {
  background: transparent;
  border: none;
  padding: 0;
  color: #9fd0ff;
  text-decoration: underline;
  font-weight: 700;
  cursor: pointer;
  overflow-wrap: anywhere;
  text-align: left;
}

.sales-bundle-trigger:hover {
  color: #c4e2ff;
}

.sales-bundle-layout {
  display: flex;
  justify-content: center;
}

.sales-bundle-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

.sales-bundle-stats-lines {
  width: min(620px, 100%);
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  box-sizing: border-box;
  margin: 0 auto;
}

.sales-bundle-stats-lines p {
  margin: 0 0 10px;
}

.sales-bundle-stats-lines p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .sales-bundle-stats-lines {
    width: 100%;
    max-width: 620px;
  }
}

.sales-force-deliver-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sales-force-deliver-input {
  min-width: 280px;
}

.sales-order-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.sales-order-title {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.sales-order-head h2 {
  margin: 0;
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}

.sales-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: capitalize;
  background: rgba(52, 152, 219, 0.18);
  border: 1px solid rgba(52, 152, 219, 0.45);
}

.sales-status-delivered {
  background: rgba(26, 188, 156, 0.18);
  border-color: rgba(26, 188, 156, 0.45);
}

.sales-status-paid {
  background: rgba(243, 156, 18, 0.18);
  border-color: rgba(243, 156, 18, 0.45);
}

.sales-order-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.sales-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  color: #eef3fb;
  line-height: 1.3;
  max-width: 100%;
}

.sales-meta-chip strong {
  color: #fff7df;
}

.sales-bundle-list strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
}

.sales-bundle-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  max-width: 100%;
  margin-bottom: 14px;
}

.sales-bundle-item {
  display: inline-block;
  width: auto;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  text-align: left;
}

.sales-bundle-details {
  width: auto;
  max-width: 100%;
}

.sales-bundle-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  color: #cfe2ff;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
  list-style: none;
}

.sales-bundle-summary::-webkit-details-marker {
  display: none;
}

.sales-bundle-details-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 8px;
}

.sales-order-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
}

.sales-order-actions-wrap {
  flex-wrap: wrap;
}

.sales-delete-form {
  margin-top: 0;
  text-align: right;
}

.sales-failed-delete-form {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
}

.sales-failed-delete-button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(231, 76, 60, 0.55);
  background: linear-gradient(180deg, #7a2e2b 0%, #5e2422 100%);
  color: #ffe6e2;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.sales-failed-delete-button:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #8d3733 0%, #6f2b28 100%);
  border-color: rgba(255, 128, 113, 0.7);
  box-shadow: 0 14px 26px rgba(0,0,0,0.28);
}

.sales-shell .contact-button,
.sales-shell .reset-button,
.sales-shell .pedigree-button,
.sales-shell .teleport-button {
  border: 1px solid rgba(214, 222, 235, 0.16);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  color: #eef3fb;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.sales-shell .contact-button {
  background: linear-gradient(180deg, #4f6855 0%, #405346 100%);
}

.sales-shell .contact-button:hover {
  background: linear-gradient(180deg, #5a765f 0%, #49604f 100%);
  border-color: rgba(183, 214, 193, 0.32);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.sales-order-head-error {
  padding-right: 44px;
}

.sales-shell .pedigree-button,
.sales-shell .teleport-button {
  background: linear-gradient(180deg, #4a5a72 0%, #3c495d 100%);
}

.sales-shell .pedigree-button:hover,
.sales-shell .teleport-button:hover {
  background: linear-gradient(180deg, #566883 0%, #46556b 100%);
  border-color: rgba(189, 204, 227, 0.32);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.sales-shell .reset-button {
  background: linear-gradient(180deg, #7a5454 0%, #694646 100%);
}

.sales-shell .reset-button:hover {
  background: linear-gradient(180deg, #896060 0%, #755050 100%);
  border-color: rgba(232, 186, 186, 0.34);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.sales-shell .sales-back-owner-button {
  background: linear-gradient(180deg, #8a4d4d 0%, #733f3f 100%);
}

.sales-shell .sales-back-owner-button:hover {
  background: linear-gradient(180deg, #985959 0%, #804848 100%);
  border-color: rgba(239, 191, 191, 0.36);
}

.sales-shell .checkout-actions .contact-button,
.sales-shell .checkout-actions .reset-button,
.sales-shell .checkout-actions .pedigree-button,
.sales-shell .checkout-actions .teleport-button,
.sales-shell .sales-force-deliver-form .pedigree-button,
.sales-shell .sales-force-deliver-form .contact-button {
  min-height: 48px;
}

.sales-force-deliver-input {
  min-height: 48px;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(214, 222, 235, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0 14px;
}

.owner-admin-button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 16px auto 0 auto;
}

.owner-admin-danger-form {
  margin: 0;
}

.owner-admin-danger-button {
  min-width: 280px;
}

.owner-unlisted-summary {
  margin: 6px auto 16px auto;
  font-weight: 700;
  color: var(--accent);
}

.owner-unlisted-list {
  width: min(100%, 620px);
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto 18px auto;
}

.owner-unlisted-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: monospace;
  word-break: break-all;
}

.owner-unlisted-send-form {
  width: min(100%, 620px);
}

.owner-inventory-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 18px auto;
}

.inventory-action-button {
  min-width: 248px;
}

.inventory-action-resync {
  background: linear-gradient(135deg, rgba(60, 92, 132, 0.98), rgba(86, 114, 148, 0.95));
  border-color: rgba(146, 183, 221, 0.45);
}

.inventory-action-resync:hover {
  background: linear-gradient(135deg, rgba(78, 113, 156, 0.98), rgba(105, 137, 175, 0.95));
}

.owner-inventory-actions .inventory-action-listed {
  background: linear-gradient(135deg, rgba(120, 96, 44, 0.98), rgba(166, 133, 58, 0.95)) !important;
  border-color: rgba(244, 205, 96, 0.48) !important;
}

.owner-inventory-actions .inventory-action-listed:hover {
  background: linear-gradient(135deg, rgba(141, 113, 53, 0.98), rgba(187, 149, 68, 0.95)) !important;
}

.owner-inventory-actions .inventory-action-unlisted {
  background: linear-gradient(135deg, rgba(78, 58, 116, 0.98), rgba(110, 82, 158, 0.95)) !important;
  border-color: rgba(190, 165, 244, 0.42) !important;
}

.owner-inventory-actions .inventory-action-unlisted:hover {
  background: linear-gradient(135deg, rgba(92, 68, 136, 0.98), rgba(124, 93, 177, 0.95)) !important;
}

.owner-admin-button-row .owner-admin-panel-toggle {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 280px;
  min-height: 48px;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(30, 30, 46, 0.98), rgba(52, 73, 94, 0.95));
  border: 1px solid rgba(243, 156, 18, 0.45);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.owner-admin-button-row .owner-sort-form-inline {
  display: inline-flex;
  align-items: center;
}

.owner-admin-button-row .owner-admin-panel-toggle::before {
  content: "+";
  font-size: 1.1rem;
  line-height: 1;
  color: var(--accent);
}

.owner-admin-button-row .owner-admin-panel-toggle:hover {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.24), rgba(52, 73, 94, 0.95));
}

.owner-admin-link-button:visited,
.owner-admin-link-button:active {
  color: var(--text);
}

.owner-admin-button-row .owner-sales-overview-button {
  background: linear-gradient(135deg, rgba(126, 106, 46, 0.98), rgba(168, 143, 67, 0.95));
  border-color: rgba(244, 204, 96, 0.55);
}

.owner-admin-button-row .owner-sales-overview-button::before {
  color: #fff1b1;
}

.owner-admin-button-row .owner-sales-overview-button:hover {
  background: linear-gradient(135deg, rgba(144, 121, 54, 0.98), rgba(184, 158, 76, 0.95));
}

.owner-settings-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1400;
}

.owner-settings-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  z-index: 1410;
  background: rgba(30, 30, 46, 0.98);
  border: 1px solid rgba(243, 156, 18, 0.35);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  padding: 20px;
}

.owner-settings-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.owner-settings-modal-header h2 {
  margin: 0;
}

.owner-settings-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#owner-force-delivery-modal {
  width: min(980px, calc(100vw - 32px));
}

#owner-force-delivery-modal .owner-admin-bulk-form {
  width: min(100%, 760px);
  max-width: 760px;
}

#owner-force-delivery-modal input[type="text"] {
  min-width: 0;
  width: 100%;
}

#owner-force-delivery-modal textarea {
  width: 100%;
  min-height: 180px;
  white-space: pre;
}

.owner-settings-close {
  margin-top: 0;
}

@media (max-width: 600px) {
  #bundles {
    grid-template-columns: 1fr;
  }

  #search-bar {
    width: 100%;
  }

  #search-bar-container {
    flex-direction: column;
  }

  .sib-set-filter-toggle {
    width: min(100%, 420px);
    justify-content: center;
  }

  #search-button,
  #copy-link-button {
    margin-left: 0;
    margin-top: 10px;
  }

  .static-message {
    font-size: 1rem;
    padding: 15px;
  }

  .special-ad-button {
    width: 100%;
    max-width: 260px;
  }

  .quick-search-button {
    width: 100%;
    max-width: 260px;
  }

  .cart-widget {
    top: 10px;
    right: 10px;
    padding: 8px 12px;
  }

  .cart-banner {
    top: 62px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .modal-actions,
  .checkout-actions {
    flex-direction: column;
  }

  .sales-summary-grid,
  .sales-filter-grid {
    grid-template-columns: 1fr;
  }

  .sales-list-grid {
    grid-template-columns: 1fr;
  }

  .sales-order-actions {
    align-items: stretch;
    justify-content: stretch;
  }

  .sales-order-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .owner-storage-tools {
    grid-template-columns: 1fr;
  }
}

/* Final owner control layout overrides */
.owner-storage-tools {
  display: flex !important;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
}

.owner-sort-form {
  margin: 0;
  display: flex;
  align-items: stretch;
}

.owner-sort-select {
  height: 52px !important;
  min-height: 52px !important;
  box-sizing: border-box;
}

.owner-sort-select {
  width: 140px !important;
  padding: 0 36px 0 14px;
  line-height: 50px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #111 50%), linear-gradient(135deg, #111 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.owner-storage-remove-form {
  margin-top: 16px;
}

.sib-set-selection-mode .bundle[data-portal-bundle="0"]:not(.sibling-set-bundle) {
  display: none !important;
}

.owner-storage-missing-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.owner-storage-missing-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.owner-storage-missing-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.owner-storage-missing-id {
  color: #ffb3b3;
  overflow-wrap: anywhere;
  font-size: 0.95rem;
}

.owner-storage-progress {
  margin: 0 auto 16px auto;
  max-width: 760px;
}

.owner-storage-progress-bar {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}

.owner-storage-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #3ccfc7 0%, #5dd39e 100%);
  transition: width 0.25s ease;
}

.owner-storage-progress-text {
  margin-top: 10px;
  font-weight: 700;
  color: var(--text);
}

.owner-removed-empty {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  text-align: center;
}

.owner-removed-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.owner-removed-item {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.owner-removed-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.owner-removed-id {
  margin-top: 4px;
  color: #ffb3b3;
  overflow-wrap: anywhere;
}

.owner-removed-reason,
.owner-removed-time {
  margin-top: 8px;
  color: rgba(255,255,255,0.82);
}

.owner-removed-lines {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.16);
}

.owner-removed-lines p {
  margin: 0 0 6px;
}

.owner-removed-lines p:last-child {
  margin-bottom: 0;
}

.owner-removed-restore-form {
  margin-top: 14px;
}

.owner-access-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
}

.owner-access-card {
  width: min(680px, calc(100vw - 32px));
  padding: 34px 30px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(30,30,46,0.98), rgba(24,24,36,0.98));
  border: 1px solid rgba(243, 156, 18, 0.38);
  box-shadow: 0 24px 54px rgba(0,0,0,0.46);
  text-align: center;
}

.owner-access-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(243, 156, 18, 0.16);
  border: 1px solid rgba(243, 156, 18, 0.28);
  color: #ffd38c;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.owner-access-card h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.owner-access-text {
  margin: 12px auto 0;
  max-width: 520px;
  line-height: 1.7;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
}

.owner-access-note {
  color: #a9bed0;
}
.owner-admin-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1700;
  width: min(560px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 39, 61, 0.98), rgba(58, 68, 104, 0.96));
  border: 1px solid rgba(243, 156, 18, 0.5);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
  color: #f5f7fb;
  text-align: center;
  font-weight: 700;
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.owner-admin-toast.is-hiding {
  opacity: 0;
  transform: translateX(-50%) translateY(-8px);
  pointer-events: none;
}
