/* Hi Advent — Themes, Collector Art, Polaroids, Share Matrix, Composer & Accessibility */

[hidden] {
  display: none !important;
}

/* 1. Accessibility: Skip-to-content + Focus-Visible + Reduced Motion */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 16px;
  background: #fffdf8;
  color: #103326;
  font-weight: 700;
  border-radius: 10px;
  border: 2px solid #f0c25b;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transition: top 160ms var(--ease-out);
}
.skip-link:focus-visible {
  top: 12px;
  outline: 3px solid #f0c25b;
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #f0c25b;
  outline-offset: 2px;
}

.creator-sheet a:focus-visible,
.creator-sheet button:focus-visible,
.creator-sheet input:focus-visible,
.side-sheet a:focus-visible,
.side-sheet button:focus-visible,
.modal-paper a:focus-visible,
.modal-paper button:focus-visible,
.modal-paper input:focus-visible,
.modal-paper textarea:focus-visible,
.modal-paper select:focus-visible,
.hero-card a:focus-visible,
.hero-card button:focus-visible,
.hero-card input:focus-visible {
  outline: 2px solid #13533d;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .snow-layer {
    display: none !important;
  }
  .string-bulb .bulb-halo,
  .string-bulb .bulb-glass,
  .string-bulb .bulb-core,
  .pocket.wiggle {
    animation: none !important;
  }
  .pocket,
  .ornament-btn,
  .parcel-peek,
  .collector-art-wrap {
    transition: none !important;
  }
}

/* 2. Expanded Free + Luxury Calendar Themes */
body[data-theme="frost"] {
  --bg-deep: #091829;
  --bg-mid: #10263f;
  --bg-band: #0c1f34;
  --bg-felt: #143252;
  --bg-felt-2: #0d223a;
  --pocket-a: #1d4973;
  --pocket-b: #8f2236;
  --pocket-c: #ddebf5;
  --pocket-c-ink: #10273d;
  --hero-tint: rgba(9, 24, 41, 0.54);
}
body[data-theme="frost"] .site-header.is-solid,
body[data-theme="frost"] .site-header.is-scrolled {
  background-color: #091829;
}

body[data-theme="midnight_gold"] {
  --bg-deep: #090d1a;
  --bg-mid: #11182e;
  --bg-band: #0d1324;
  --bg-felt: #151f3b;
  --bg-felt-2: #0d1428;
  --felt-border: rgba(246, 210, 122, 0.56);
  --stitch: rgba(248, 224, 156, 0.48);
  --pocket-a: #1e2d54;
  --pocket-b: #8c6218;
  --pocket-c: #f3dfb2;
  --pocket-c-ink: #241905;
  --hero-tint: rgba(9, 13, 26, 0.6);
}
body[data-theme="midnight_gold"] .site-header.is-solid,
body[data-theme="midnight_gold"] .site-header.is-scrolled {
  background-color: #090d1a;
}

body[data-theme="aurora_sky"] {
  --bg-deep: #071920;
  --bg-mid: #0e2d36;
  --bg-band: #0a2229;
  --bg-felt: #133c44;
  --bg-felt-2: #1c1d42;
  --felt-border: rgba(126, 243, 212, 0.45);
  --stitch: rgba(167, 243, 208, 0.42);
  --pocket-a: #155e63;
  --pocket-b: #4c2d73;
  --pocket-c: #d6f5ec;
  --pocket-c-ink: #0d2f2b;
  --hero-tint: rgba(7, 25, 32, 0.56);
}
body[data-theme="aurora_sky"] .site-header.is-solid,
body[data-theme="aurora_sky"] .site-header.is-scrolled {
  background-color: #071920;
}

body[data-theme="gingerbread_lodge"] {
  --bg-deep: #1e0f08;
  --bg-mid: #32190d;
  --bg-band: #26130a;
  --bg-felt: #5c3019;
  --bg-felt-2: #3d1e0f;
  --felt-border: rgba(255, 238, 208, 0.48);
  --stitch: rgba(255, 250, 240, 0.58);
  --pocket-a: #7d4222;
  --pocket-b: #9e2238;
  --pocket-c: #f6e7ce;
  --pocket-c-ink: #361c0c;
  --hero-tint: rgba(30, 15, 8, 0.58);
}
body[data-theme="gingerbread_lodge"] .site-header.is-solid,
body[data-theme="gingerbread_lodge"] .site-header.is-scrolled {
  background-color: #1e0f08;
}

body[data-theme="snow_globe"] {
  --bg-deep: #0a1526;
  --bg-mid: #142744;
  --bg-band: #0f1e36;
  --bg-felt: #1b365c;
  --bg-felt-2: #112440;
  --felt-border: rgba(196, 228, 255, 0.46);
  --stitch: rgba(226, 241, 255, 0.48);
  --pocket-a: #244b7a;
  --pocket-b: #1e6258;
  --pocket-c: #eaf4ff;
  --pocket-c-ink: #112844;
  --hero-tint: rgba(10, 21, 38, 0.56);
}
body[data-theme="snow_globe"] .site-header.is-solid,
body[data-theme="snow_globe"] .site-header.is-scrolled {
  background-color: #0a1526;
}

/* 3. Compact Room Mobile Above-the-Fold Optimization */
@media (max-width: 680px) {
  .site-header.is-room-compact .header-inner {
    height: 54px;
  }
  .site-header.is-room-compact ~ #main-content .canopy-strip {
    height: 84px;
  }
  .site-header.is-room-compact ~ #main-content .room-header-bar {
    margin-bottom: 14px;
    padding-bottom: 12px;
    gap: 12px;
  }
  .room-title-block h1 {
    font-size: 1.55rem;
  }
}

/* 4. Returning User Quick Bar on Landing */
.returning-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: rgba(10, 32, 24, 0.82);
  border: 1px solid rgba(240, 194, 91, 0.34);
  backdrop-filter: blur(8px);
}
.returning-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gold-bright);
}
.returning-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.returning-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.12);
  border: 1px solid rgba(255, 253, 248, 0.2);
  color: #fffdf8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}
.returning-pill:hover {
  background: rgba(240, 194, 91, 0.24);
  border-color: var(--gold);
}
.returning-pill small {
  font-size: 11px;
  color: var(--gold-bright);
  opacity: 0.9;
}
.returning-all-link {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-bright);
  text-decoration: none;
}

/* 5. Creator Mode Toggle (For me / As a gift) & 4-Swatch Palette */
.mode-toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-top: 12px;
  border-radius: 12px;
  background: #ebe2cf;
  border: 1px solid rgba(23, 42, 33, 0.12);
}
.mode-toggle-btn {
  border: 0;
  border-radius: 9px;
  padding: 8px 10px;
  background: transparent;
  color: #3e5249;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out);
}
.mode-toggle-btn.active {
  background: #144936;
  color: #fffdf8;
  box-shadow: 0 3px 10px rgba(16, 51, 38, 0.22);
}

.theme-segment.theme-segment-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.passphrase-disclosure {
  margin: 12px 0 6px;
  padding: 9px 12px;
  border-radius: 11px;
  background: rgba(23, 42, 33, 0.045);
  border: 1px solid rgba(23, 42, 33, 0.11);
  font-size: 13px;
  color: #263c33;
}
.passphrase-disclosure summary {
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}
.passphrase-pill {
  font-size: 13px;
  font-weight: 600;
  color: #144936;
  background: #eef5f0;
  border: 1px solid rgba(20, 73, 54, 0.2);
  padding: 6px 10px;
  border-radius: 8px;
  margin: 6px 0;
}

/* 6. Golden Calendar + Glowing Foil Wraps + Collector Art Pockets (Targeted to .pocket!) */
.advent-board.is-golden {
  border-color: rgba(242, 202, 107, 0.78) !important;
  box-shadow:
    0 28px 70px rgba(4, 15, 11, 0.5),
    0 0 0 2px rgba(242, 202, 107, 0.36),
    inset 0 1px 0 rgba(255, 243, 204, 0.55) !important;
}
.advent-board.is-golden .pocket .pocket-body {
  background: linear-gradient(155deg, #6e4e14 0%, #a87b24 55%, #cf9f3c 100%);
  color: #fffdf8;
  border-color: rgba(255, 236, 179, 0.65);
}
.advent-board.is-golden .pocket.is-unfilled .pocket-body {
  background: linear-gradient(155deg, rgba(94, 67, 18, 0.72), rgba(62, 44, 11, 0.82));
  color: #fae6b1;
}

.pocket.luxe-gold_foil .pocket-body,
.ornament-btn.luxe-gold_foil .ornament-bauble {
  background: linear-gradient(145deg, #63440e 0%, #b58425 52%, #e0b756 100%) !important;
  color: #fffdf8 !important;
  border: 1.5px solid #fbe39e !important;
  box-shadow: 0 8px 22px rgba(212, 160, 48, 0.42);
}

.pocket.luxe-frosted .pocket-body,
.ornament-btn.luxe-frosted .ornament-bauble {
  background: linear-gradient(145deg, #163a4d 0%, #2a6580 54%, #5596b3 100%) !important;
  color: #fffdf8 !important;
  border: 1.5px solid #d4f1fc !important;
  box-shadow: 0 8px 22px rgba(72, 162, 198, 0.38);
}

.pocket.luxe-aurora .pocket-body,
.ornament-btn.luxe-aurora .ornament-bauble {
  background: linear-gradient(145deg, #0f3f3e 0%, #1b7365 48%, #4d3582 100%) !important;
  color: #fffdf8 !important;
  border: 1.5px solid #9ef5df !important;
  box-shadow: 0 8px 24px rgba(45, 200, 164, 0.4);
}

.pocket[class*="luxe-collector_"] .pocket-body,
.ornament-btn[class*="luxe-collector_"] .ornament-bauble {
  background: linear-gradient(150deg, #4f1322 0%, #8e1e36 52%, #b57e22 100%) !important;
  color: #fffdf8 !important;
  border: 1.5px solid #ffe399 !important;
  box-shadow: 0 10px 26px rgba(212, 152, 44, 0.46);
}
.pocket[class*="luxe-collector_"] .pocket-body {
  padding-top: 20px;
}

.pocket.luxe-gold_foil .pocket-tag,
.pocket.luxe-frosted .pocket-tag,
.pocket.luxe-aurora .pocket-tag,
.pocket[class*="luxe-collector_"] .pocket-tag,
.advent-board.is-golden .pocket.is-filled .pocket-tag {
  background: #fffdf8;
  color: #172a21;
  font-weight: 700;
}

/* Collector Miniature Art Peeking Out of Pocket */
.collector-art-wrap {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 11px;
  overflow: hidden;
  z-index: 3;
  border: 1.5px solid #f7dc94;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55);
  background: #142820;
  pointer-events: none;
  transition: transform 180ms var(--ease-out);
}
.pocket:hover .collector-art-wrap {
  transform: translateX(-50%) translateY(-3px) scale(1.04);
}
.collector-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.multi-note-badge {
  position: absolute;
  top: 12px;
  right: 4px;
  z-index: 4;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fae094;
  color: #291b04;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

/* 7. Room Header Milestones, Countdown, Claim Owner & Live Theme Preview Bar */
.room-milestone-text {
  color: #fce5a6;
  font-weight: 600;
}
.room-countdown-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(252, 235, 192, 0.24);
  color: #fffdf8;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.owner-claim-btn {
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(240, 194, 91, 0.16);
  border: 1px solid rgba(240, 194, 91, 0.5);
  color: #fff5d6;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 150ms var(--ease-out);
}
.owner-claim-btn:hover {
  background: rgba(240, 194, 91, 0.28);
}

.theme-preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fffdf8;
  color: #103326;
  border: 2px solid #d4982a;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4);
}
.theme-preview-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.theme-preview-info strong {
  font-size: 15px;
  color: #103326;
}
.theme-preview-info span {
  font-size: 13px;
  color: #4b6156;
}
.theme-preview-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.btn-compact {
  width: auto !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
}
.theme-revert-btn {
  border: 0;
  background: transparent;
  color: #4b6156;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 8px;
  cursor: pointer;
  text-decoration: underline;
}

/* 8. Social Share Matrix & In-App Browser Rescue Box */
.social-share-stack {
  display: grid;
  gap: 8px;
}
.social-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(23, 42, 33, 0.14);
  cursor: pointer;
  transition: transform 140ms var(--ease-out), opacity 140ms var(--ease-out);
}
.social-btn:hover {
  transform: translateY(-1px);
}
.social-wa {
  background: #1d8a4e;
  color: #ffffff;
  border-color: #166e3e;
}
.social-sms {
  background: #1d6fd6;
  color: #ffffff;
  border-color: #1759ad;
}
.social-story {
  background: linear-gradient(135deg, #9d174d 0%, #c2410c 100%);
  color: #ffffff;
  border-color: #831843;
}
.social-copy {
  background: #eae1ce;
  color: #172a21;
}

.inapp-rescue-box {
  margin-top: 10px;
  padding: 11px 13px;
  border-radius: 13px;
  background: #f4ecda;
  border: 1px solid rgba(180, 35, 59, 0.22);
}
.inapp-rescue-title {
  font-size: 13px;
  font-weight: 700;
  color: #8d1b2f;
}
.inapp-rescue-box p {
  font-size: 12.5px !important;
  color: #465b52 !important;
  margin-top: 3px !important;
  line-height: 1.45;
}
.inapp-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}
.inapp-code-pill {
  flex: 1;
  padding: 7px 10px;
  border-radius: 9px;
  background: #fffdf8;
  border: 1px solid rgba(23, 42, 33, 0.16);
  color: #103326;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-align: center;
}

.snowflake-balance-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4ebd6;
  border: 1px solid rgba(196, 148, 44, 0.45);
  color: #6e4b08;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.owner-pass-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  padding: 11px 14px;
  border-radius: 13px;
  background: linear-gradient(135deg, #fffcf2 0%, #f8e8c0 100%);
  border: 1.5px solid #c99635;
  color: #4d3304;
  text-align: left;
  cursor: pointer;
  transition: transform 150ms var(--ease-out);
}
.owner-pass-cta:hover {
  transform: translateY(-1px);
}
.owner-pass-cta strong {
  font-size: 14px;
  color: #422b03;
}
.owner-pass-cta span {
  font-size: 12px;
  color: #694c14;
}

.theme-mini-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.theme-mini-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  border-radius: 10px;
  background: #f5efe1;
  border: 1px solid rgba(23, 42, 33, 0.15);
  color: #172a21;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.theme-mini-btn.active {
  background: #144936;
  color: #fffdf8;
  border-color: #144936;
}
.theme-mini-btn.is-luxury {
  border-color: rgba(196, 148, 44, 0.42);
}

/* 9. Composer Luxe Picker, Polaroids, Handwritten Card & Thanks / Fill-Back Pills */
.luxe-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 6px;
}
@media (max-width: 520px) {
  .luxe-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.luxe-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 6px;
  border-radius: 12px;
  background: #f6f0e2;
  border: 1.5px solid rgba(23, 42, 33, 0.14);
  color: #172a21;
  cursor: pointer;
  text-align: center;
  transition: border-color 140ms var(--ease-out), background-color 140ms var(--ease-out);
}
.luxe-option-card:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.luxe-option-card.active {
  background: #fff9ea;
  border-color: #13533d;
  box-shadow: 0 0 0 2px rgba(19, 83, 61, 0.18);
}
.luxe-option-card.is-collector.active {
  border-color: #b8821e;
  box-shadow: 0 0 0 2px rgba(184, 130, 30, 0.25);
}
.luxe-opt-thumb {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
}
.luxe-opt-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1.5px solid rgba(23, 42, 33, 0.2);
}
.dot-classic { background: linear-gradient(135deg, #b8253d, #184a39); }
.dot-gold_foil { background: linear-gradient(135deg, #6e4f16, #f0c25b); }
.dot-frosted { background: linear-gradient(135deg, #214a5c, #9ee0f5); }
.dot-aurora { background: linear-gradient(135deg, #136f63, #6d4aff); }
.luxe-opt-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  color: #172a21;
}
.luxe-opt-price {
  font-size: 11px;
  font-weight: 700;
  color: #6b5314;
}

.anon-check-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 12px;
  border-radius: 11px;
  background: #f3ece0;
  border: 1px solid rgba(23, 42, 33, 0.16);
  font-size: 13px;
  font-weight: 600;
  color: #172a21;
  cursor: pointer;
}
.anon-check-pill input {
  accent-color: #144936;
}

.idea-spark-btn {
  border: 1px solid rgba(20, 73, 54, 0.24);
  background: #eef5f0;
  color: #134e3a;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
}
.idea-spark-btn:hover {
  background: #dfeee5;
}

.media-addons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 560px) {
  .media-addons-grid {
    grid-template-columns: 1fr;
  }
}
.media-addon-box {
  padding: 11px 12px;
  border-radius: 13px;
  background: #f6f0e2;
  border: 1px solid rgba(23, 42, 33, 0.13);
}
.addon-price-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(196, 148, 44, 0.22);
  color: #6e4b08;
}

.inline-link-btn {
  border: 0;
  background: none;
  color: #13533d;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

/* Ruled Handwritten Stationery Card & Polaroid Frame */
.handwritten-note-card {
  margin-top: 10px;
  padding: 16px 18px;
  border-radius: 14px;
  background:
    repeating-linear-gradient(
      180deg,
      #fffdf9 0px,
      #fffdf9 29px,
      rgba(20, 73, 54, 0.08) 30px
    );
  border: 1px solid rgba(23, 42, 33, 0.14);
  box-shadow: inset 0 1px 0 #ffffff, 0 6px 16px rgba(16, 40, 30, 0.06);
}
.handwritten-note-card .note-quote {
  margin: 0 !important;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.55;
  color: #142b22;
}
.note-card-footer {
  margin-top: 8px;
  font-size: 13px;
  color: #4b6156;
}

.polaroid-frame {
  margin: 12px auto 6px;
  max-width: 280px;
  padding: 10px 10px 14px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(23, 42, 33, 0.12);
  box-shadow: 0 12px 28px rgba(12, 28, 22, 0.18);
  transform: rotate(-1.2deg);
  text-align: center;
}
.polaroid-frame img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 4px;
}
.polaroid-frame figcaption {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13.5px;
  color: #364a41;
}

.modal-collector-showcase {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 13px;
  background: #faf3df;
  border: 1px solid rgba(196, 148, 44, 0.45);
  color: #5c3e06;
  font-size: 13px;
  font-weight: 700;
}
.modal-collector-showcase img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}

.melody-replay-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef5f0;
  border: 1px solid rgba(20, 73, 54, 0.24);
  color: #134e3a;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.thanks-heart-btn {
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff8e3;
  border: 1px solid #d4982a;
  color: #5c3e06;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.thanks-heart-btn.is-sent {
  background: #f5ebd0;
  opacity: 0.9;
  cursor: default;
}
.thanks-received-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff7df;
  border: 1px solid rgba(212, 152, 42, 0.45);
  color: #5c3e06;
  font-size: 13px;
  font-weight: 700;
}
.fill-back-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  background: #144936;
  color: #fffdf8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.fill-back-pill:hover {
  background: #0e3829;
}
.note-remove-link {
  border: 0;
  background: transparent;
  color: #8d1b2f;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 6px;
}

/* 10. Subpage Paper Card, Pricing, Comments & Guides (WCAG AA Contrast) */
.hero-card {
  background: #fffdf8;
  color: #103326;
  padding: clamp(24px, 3.6vw, 36px);
  border-radius: 24px;
  border: 1px solid rgba(17, 56, 42, 0.12);
  box-shadow: 0 22px 54px rgba(4, 16, 12, 0.28);
}
.hero-card h1,
.hero-card h2,
.hero-card h3,
.hero-card h4 {
  color: #103326 !important;
  text-shadow: none !important;
}
.hero-card p {
  color: #465c54;
}

.guide-body,
.pricing-card,
.guide-card,
.comment-item,
.comment-form {
  color: #103326;
}
.guide-body h1,
.guide-body h2,
.guide-body h3,
.guide-body h4,
.pricing-card h3,
.pricing-card h4,
.guide-card h3,
.comment-item strong {
  color: #103326 !important;
  text-shadow: none !important;
}
.pricing-card h3 {
  font-size: 1.28rem;
  font-weight: 700;
}

.luxe-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(235, 194, 99, 0.22);
  color: #6e4b08;
  border: 1px solid rgba(196, 148, 44, 0.45);
}

.mutual-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f5efe1;
  border: 1px solid rgba(17, 56, 42, 0.16);
  margin: 12px 0;
  font-size: 14px;
  color: #17352b;
  cursor: pointer;
}
.mutual-box input {
  margin-top: 3px;
  accent-color: #175c43;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.pricing-card {
  background: #fffdf8;
  border: 1px solid rgba(17, 56, 42, 0.12);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 26px rgba(10, 31, 24, 0.06);
}
.pricing-card.is-featured {
  border: 2px solid #c99635;
  background: linear-gradient(180deg, #fffdf7 0%, #fcf4df 100%);
}
.pricing-price {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: #103326;
  line-height: 1.1;
}
.pricing-sub {
  font-size: 13.5px;
  color: #4b6156;
}

.comments-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.comment-form {
  background: #fffdf8;
  border: 1px solid rgba(17, 56, 42, 0.12);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}
.comment-list {
  display: grid;
  gap: 12px;
}
.comment-item {
  background: #fffdf8;
  border: 1px solid rgba(17, 56, 42, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
}
.comment-item.is-owner {
  background: #f2f8f4;
  border-color: rgba(23, 92, 67, 0.25);
  margin-left: 24px;
}
.comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 13px;
}
.comment-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #134d38;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  margin-left: 6px;
}

.guide-hero {
  background: radial-gradient(circle at top right, rgba(226, 180, 93, 0.18), transparent 45%), #0a241c;
  color: #faf6ec;
  padding: 108px 0 56px;
}
.guide-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.12;
  margin: 0 0 14px;
  max-width: 20ch;
  color: #fbf7ee !important;
}
.guide-hero p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(250, 246, 236, 0.88);
  max-width: 62ch;
}
.guide-body {
  padding: 56px 0 72px;
  background: #fbf7ee;
}
.guide-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0 40px;
}
.guide-card {
  background: #fffdf8;
  border: 1px solid rgba(17, 56, 42, 0.11);
  border-radius: 16px;
  padding: 20px;
}
.guide-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  margin: 0 0 8px;
  color: #103326;
}
.guide-sample {
  background: #fffdf8;
  border-left: 3px solid #c99635;
  border-radius: 12px;
  padding: 16px 18px;
}
.guide-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.guide-pill {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fffdf8;
  border: 1px solid rgba(17, 56, 42, 0.15);
  color: #103326;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 140ms var(--ease-out), border-color 140ms var(--ease-out);
}
.guide-pill:hover {
  background: #f5eedc;
  border-color: #c99635;
}

/* 11. Standalone Feature Workbenches, GEO Direct-Answer Box & Semantic Comparison Tables */
.feature-workbench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 920px) {
  .feature-workbench-grid {
    grid-template-columns: 1fr;
  }
}

.geo-summary-box {
  padding: 16px 20px;
  border-radius: 14px;
  background: #fffdf8;
  border: 1px solid rgba(19, 83, 61, 0.22);
  border-left: 4px solid #144936;
  color: #153429;
  font-size: 15.5px;
  line-height: 1.62;
  max-width: 78ch;
}

.seo-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(17, 56, 42, 0.14);
  background: #fffdf8;
  box-shadow: 0 8px 22px rgba(10, 31, 24, 0.05);
}
.seo-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14.5px;
  color: #172a21;
}
.seo-compare-table th {
  background: #f3ece0;
  color: #103326;
  font-weight: 700;
  padding: 13px 16px;
  border-bottom: 1.5px solid rgba(17, 56, 42, 0.14);
  white-space: nowrap;
}
.seo-compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(17, 56, 42, 0.09);
  color: #2c4239;
  vertical-align: top;
}
.seo-compare-table tbody tr:last-child td {
  border-bottom: 0;
}

