* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #eef1f5;
  color: #1a1a1a;
  line-height: 1.6;
}

.brand-bg {
  background-color: #228899 !important;
}

.modern-box-container {
  min-height: 100vh;
  padding-top: 20px;
  margin-bottom: 50px;
}

.content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  padding: 16px 0 0;
}

.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: #cbd5e1;
}

.breadcrumb-list a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
  color: #228899;
}

.breadcrumb-list li[aria-current="page"] {
  color: #1a1a1a;
  font-weight: 600;
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .breadcrumb-list li[aria-current="page"] {
    max-width: 200px;
  }
}

/* Hero Section */
.box-hero-section {
  padding: 40px 0;
}

.box-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .box-hero-grid {
    grid-template-columns: 1fr 420px;
    gap: 50px;
    align-items: start;
  }
}

/* Left: Box Preview */
.box-preview-section {
  min-width: 0;
}

.box-preview-wrapper {
  background: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

/* Fixed height for video preview wrapper */
  .box-preview-wrapper:has(.box-cover-video) {
    height: 800px;
    padding: 0;
  }

  .box-cover-video {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    display: block;
    object-fit: contain;
    background: #000;
  }

  .plyr {
    border-radius: 20px;
  }

.box-cover-image,
.box-cover-video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Box Info Below Image */
.box-info-below {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.box-title {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #228899 0%, #1a6d7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1.2;
}

.box-description {
  font-size: 16px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 25px;
  white-space: pre-wrap;
  word-break: break-word;
}

.box-meta {
  margin-bottom: 20px;
}

.meta-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border: 2px solid #e5e7eb;
  padding: 12px 20px;
  border-radius: 12px;
  color: #228899;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.meta-button:hover {
  background: linear-gradient(135deg, #228899 0%, #1a6d7a 100%);
  border-color: #228899;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 136, 153, 0.3);
}

.file-count-video {
  color: #228899;
  font-weight: 600;
}

.box-tags {
  font-size: 14px;
  color: #228899;
  font-weight: 500;
  line-height: 1.8;
}

/* Right: Sidebar (Price & Payment) */
.box-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 1024px) {
  .box-sidebar {
    position: sticky;
    top: 100px;
  }
}

/* Price Card */
.price-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 3px solid #228899;
}

.price-display-main {
  text-align: center;
}

.price-amount {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, #228899 0%, #1a6d7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}

.price-original {
  font-size: 28px;
  color: #9ca3af;
  text-decoration: line-through;
  margin-bottom: 10px;
}

.price-discounted {
  font-size: 56px;
  font-weight: 800;
  color: #ef4444;
  line-height: 1;
  margin-bottom: 15px;
}

.discount-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Price card feature list â€” visible buying signals next to price */
.price-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  border-top: 1px solid #f3f4f6;
  padding-top: 16px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4b5563;
  padding: 6px 0;
}

.price-features li svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Payment Card */
.payment-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  text-align: center;
}

/* Modern Buttons */
.modern-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  width: 100%;
  margin-bottom: 12px;
}

.modern-btn:last-child {
  margin-bottom: 0;
}

.modern-btn-primary {
  background: linear-gradient(135deg, #228899 0%, #1a6d7a 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(34, 136, 153, 0.3);
}

.modern-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 136, 153, 0.4);
  color: white;
  text-decoration: none;
}

.modern-btn-secondary {
  background: white;
  color: #228899;
  border: 2px solid #228899;
}

.modern-btn-secondary:hover {
  background: linear-gradient(135deg, #228899 0%, #1a6d7a 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 136, 153, 0.3);
  text-decoration: none;
}

.modern-btn-outline {
  background: white;
  color: #6b7280;
  border: 2px solid #e5e7eb;
}

.modern-btn-outline:hover {
  background: #f9fafb;
  border-color: #228899;
  color: #228899;
  text-decoration: none;
}

.modern-btn-large {
  padding: 18px 32px;
  font-size: 17px;
}

.payment-methods {
  margin-bottom: 20px;
}

.payment-processor-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.payment-processor-options form {
  width: 100%;
}

.payment-divider {
  position: relative;
  text-align: center;
  margin: 25px 0;
}

.payment-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

.payment-divider span {
  background: white;
  padding: 0 15px;
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.payment-progress-wrapper {
  margin: 20px 0;
}

.payment-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px;
  background: #f3f4f6;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
}

.progress-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #e5e7eb;
  border-top-color: #228899;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.payment-footer {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
}

.payment-note {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 8px;
}

.payment-link {
  display: block;
  color: #228899;
  font-size: 14px;
  font-weight: 600;
  margin-top: 15px;
  cursor: pointer;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
}

.payment-link:hover {
  text-decoration: underline;
  color: #1a6d7a;
}

.payment-status {
  margin-top: 15px;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

/* Preview Thumbnails Section */
.preview-thumbnails-section {
  padding: 40px 0;
}

.preview-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

#load_previews {
  margin-top: 20px;
}

/* Creator Section */
.creator-section {
  padding: 40px 0;
}

.creator-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.creator-more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #228899;
  text-decoration: none;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.creator-more-link:hover {
  color: #1a6d7a;
  transform: translateY(-2px);
  text-decoration: none;
}

.creator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}

.creator-actions .modern-btn {
  width: auto;
  margin-bottom: 0;
}

.social-share {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  padding: 0;
}

/* Each social button gets a consistent slot so the row stays balanced
   even when individual widgets render at different intrinsic widths
   (Tumblr ~120px, Twitter ~80px, Facebook ~95px). */
.social-share-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 28px; /* matches the tallest widget button height for vertical centering */
}

.social-share-item iframe,
.social-share-item .fb-share-button,
.social-share-item .fb-share-button > span {
  vertical-align: middle !important;
}

/* Prevent social media widget overflow */
.social-share iframe {
  max-width: 100% !important;
}

@media (max-width: 768px) {
  .social-share {
    gap: 8px;
  }
}

/* About Section */
.about-section {
  padding: 40px 0 80px;
}

.content-section {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 25px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-item {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  padding: 20px;
  border-radius: 12px;
}

.about-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.about-value {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #228899 0%, #1a6d7a 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-note {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
}

.policy-notice {
  background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
  padding: 20px;
  border-radius: 12px;
  font-size: 13px;
  color: #92400e;
  text-align: center;
}

.policy-notice a {
  color: #92400e;
  font-weight: 700;
  text-decoration: underline;
}

/* Comments Section */
.comments-section-box {
  padding: 40px 0 80px;
}

.comment-composer {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.comment-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.comment-input:focus {
  outline: none;
  border-color: #228899;
  box-shadow: 0 0 0 3px rgba(34, 136, 153, 0.1);
}

.comments-list {
  margin-top: 20px;
}

/* Series Notice */
.series-notice {
  background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.series-notice svg {
  color: #92400e;
  margin-bottom: 20px;
}

.series-notice h3 {
  font-size: 24px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 15px;
}

.series-notice p {
  font-size: 16px;
  color: #92400e;
  margin-bottom: 20px;
}

.series-link {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #228899;
  text-decoration: none;
  margin-bottom: 25px;
}

.series-link:hover {
  text-decoration: underline;
}

.series-preview {
  margin-top: 30px;
}

.series-preview img {
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Unavailable Card */
.unavailable-card {
  background: white;
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.unavailable-card svg {
  color: #ef4444;
  margin-bottom: 25px;
}

.unavailable-card h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.unavailable-card p {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 30px;
}

/* Loading Bar */
.loading-bar {
  background: #e5e7eb;
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
  margin: 30px 0;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, #228899, #1a6d7a, #228899);
  background-size: 200% 100%;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Modal Styling */
.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: 1px solid #f3f4f6;
  padding: 25px 30px;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

.modal-body {
  padding: 30px;
}

.modal-footer {
  border-top: 1px solid #f3f4f6;
  padding: 20px 30px;
}

/* Responsive */
@media (max-width: 1023px) {
  .box-sidebar {
    position: static;
  }

  .box-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .box-title {
    font-size: 24px;
  }

  .price-amount,
  .price-discounted {
    font-size: 42px;
  }

  .price-card,
  .payment-card,
  .box-info-below,
  .creator-card,
  .content-section {
    padding: 25px;
  }

  .creator-actions {
    flex-direction: column;
  }

  .creator-actions .modern-btn {
    width: 100%;
  }
}

.box-image-wrapper {
    position: relative;
    overflow: hidden; /* CRITICAL: Hides the edges when we scale the blurred image */
    border-radius: 12px;
}

/* Updated: Top-Left Positioning */
.preview-badge {
    position: absolute;
    top: 20px;  /* Top */
    left: 20px; /* Left */
    background: rgba(0, 0, 0, 0.7); /* Slightly darker for better contrast */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700; /* Bolder font for visibility */
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* The Blur Effect */
.blurred-content {
    filter: blur(12px); /* heavy blur */
    transform: scale(1.1); /* Scales image up 10% to hide white blurry edges */
    transition: filter 0.5s ease;
}

/* Update the .sidebar-specs CSS */
.sidebar-specs {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e5e7eb;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    
    /* Interaction Styles */
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px; /* Smooth corners on hover */
    padding-bottom: 5px; /* Add some breathing room for the hover effect */
}

.sidebar-specs:hover {
    background-color: #f3f4f6; /* Light grey highlight */
    color: #228899; /* Brand color text */
    border-top-color: transparent; /* Hides the dashed line for a cleaner button look */
}

/* Optional: Add a small icon to indicate 'Expand' */
.sidebar-specs::after {
    content: '';
    display: inline-block;
    width: 0; 
    height: 0; 
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor; /* Down arrow */
    margin-left: 5px;
    opacity: 0.5;
}

.mobile-guest-cta {
  display: none; /* Hidden by default on Desktop */
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Show on devices smaller than 1024px (Tablets and Phones) */
@media (max-width: 1023px) {
  .mobile-guest-cta {
    display: block;
  }
}

/* ===================================================================
   DARK MODE
   Activated by the `dark-mode` class on <html>, set server-side from the
   bb_theme cookie by the shared header (header_dark_light_mode.php). The
   palette mirrors the site-wide dark layer so buybox matches the rest of
   the site. Rules are scoped to this page's own classes, so no !important
   is needed â€” except where an element carries an inline style attribute.
   =================================================================== */

/* The light body uses a gradient (a background-IMAGE). The shared layer only
   overrides background-color, so the gradient would survive and show as a
   grey band. Clear it here with the shorthand. */
.dark-mode body {
  background: #0f1216;
  color: #e8eaed;
}

/* Full-width section wrappers: transparent so the dark body shows through */
.dark-mode .modern-box-container,
.dark-mode .box-hero-section,
.dark-mode .preview-thumbnails-section,
.dark-mode .creator-section,
.dark-mode .about-section,
.dark-mode .comments-section-box {
  background: transparent;
}

/* Primary panels / cards */
.dark-mode .box-preview-wrapper,
.dark-mode .box-info-below,
.dark-mode .price-card,
.dark-mode .payment-card,
.dark-mode .preview-card,
.dark-mode .creator-card,
.dark-mode .content-section,
.dark-mode .unavailable-card,
.dark-mode .modal-content {
  background: #1a1f2e;
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #e8eaed;
}

/* Raised sub-cards: one step lighter than the panel they sit on */
.dark-mode .about-item,
.dark-mode .comment-composer,
.dark-mode .meta-button,
.dark-mode .payment-progress {
  background: #232a3d;
  border-color: rgba(255, 255, 255, 0.10);
}

/* Headings + primary text */
.dark-mode .card-title,
.dark-mode .section-title,
.dark-mode .about-value,
.dark-mode .modal-title,
.dark-mode .unavailable-card h2,
.dark-mode .breadcrumb-list li[aria-current="page"],
.dark-mode .meta-button {
  color: #e8eaed;
}

/* Secondary / body text */
.dark-mode .box-description,
.dark-mode .unavailable-card p,
.dark-mode .price-features li,
.dark-mode .comments-list {
  color: #c7ccd6;
}

/* Muted text */
.dark-mode .about-label,
.dark-mode .payment-note,
.dark-mode .feature-note,
.dark-mode .price-original {
  color: #9aa3b2;
}

/* Comment textarea (sunk into the composer card) */
.dark-mode .comment-input {
  background: #1a1f2e;
  border-color: rgba(255, 255, 255, 0.12);
  color: #e8eaed;
}
.dark-mode .comment-input::placeholder { color: #9aa3b2; }
.dark-mode .comment-input:focus {
  background: #1a1f2e;
  border-color: #2ba6bb;
}

/* White "outline" / "secondary" buttons â†’ dark surfaces */
.dark-mode .modern-btn-secondary,
.dark-mode .modern-btn-outline {
  background: #232a3d;
  border-color: rgba(255, 255, 255, 0.15);
  color: #e8eaed;
}
.dark-mode .modern-btn-outline:hover { background: #2b3447; }

/* Dividers, rules, borders */
.dark-mode .price-features { border-top-color: rgba(255, 255, 255, 0.10); }
.dark-mode .payment-footer { border-top-color: rgba(255, 255, 255, 0.10); }
.dark-mode .modal-header { border-bottom-color: rgba(255, 255, 255, 0.10); }
.dark-mode .modal-footer { border-top-color: rgba(255, 255, 255, 0.10); }
.dark-mode .sidebar-specs { border-top-color: rgba(255, 255, 255, 0.12); }
.dark-mode .sidebar-specs:hover { background-color: #232a3d; }
.dark-mode .loading-bar { background: #232a3d; }
.dark-mode .progress-spinner {
  border-color: rgba(255, 255, 255, 0.15);
  border-top-color: #2ba6bb;
}
.dark-mode .payment-divider::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}
.dark-mode .payment-divider span {
  background: #1a1f2e; /* matches the .payment-card it cuts across */
  color: #9aa3b2;
}

/* Bootstrap input-group addon used in the email / promo fields */
.dark-mode .input-group-text {
  background: #232a3d;
  border-color: rgba(255, 255, 255, 0.10);
  color: #9aa3b2;
}

/* Warning banners (copyright / series) â€” muted translucent amber for dark */
.dark-mode .policy-notice,
.dark-mode .series-notice {
  background: rgba(240, 173, 78, 0.12);
  border: 1px solid rgba(240, 173, 78, 0.30);
  color: #e0b970;
}
.dark-mode .policy-notice a,
.dark-mode .series-notice h3,
.dark-mode .series-link { color: #f0c674; }

/* Guest-signup callout in buybox.php carries an inline style attribute, so
   these need !important to override it. */
.dark-mode #guestSignupForm > div[style] {
  background: linear-gradient(135deg, #15303a 0%, #102530 100%) !important;
  border-left-color: #2ba6bb !important;
}
.dark-mode #guestSignupForm > div[style] p { color: #c7ccd6 !important; }
.dark-mode #guestSignupForm > div[style] p + p { color: #9aa3b2 !important; }
.dark-mode #guestSignupForm label[style] { color: #9aa3b2 !important; }