/* Self-hosted fonts (Oct 29), Latin subsets, SIL Open Font License (public/fonts/OFL-*.txt). */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 600; font-display: swap; src: url('../fonts/cormorant-garamond-500-600.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/cormorant-garamond-italic-500.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/jost-400-600.woff2') format('woff2'); }

/* #dupe public site. Warm ivory, espresso type, champagne accents. No build step. */

:root {
    /* Champagne darkened for TEXT (Oct 29 accessibility pass): small gold text on ivory/white was under 4.5:1.
       Derived from --champagne, so every season gets its own; lines and borders keep plain --champagne. */
    --champagne-ink: color-mix(in srgb, var(--champagne) 55%, var(--ink));
    --ivory: #F7F4EF;
    --sand: #E9DDD0;
    --sand-deep: #CDBBA8;
    --champagne: #A68C78;
    --espresso: #372E2B;
    --ink: #171717;
    --white: #FFFFFF;
    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
    --wrap: 1320px;
    --gutter: 40px;
    --header-h: 81px;
    --shadow: 0 14px 30px rgba(55, 46, 43, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; overflow-x: clip; background: var(--ivory); color: var(--espresso); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
img, video { display: block; max-width: 100%; }
a { color: var(--espresso); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--ivory); }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.only-mobile { display: none !important; }
.stack { display: flex; flex-direction: column; gap: 32px; }
.stack-sm { display: flex; flex-direction: column; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Type ---------- */
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4.2vw, 56px); line-height: .95; color: var(--ink); }
.display-italic { font-style: italic; }
.display-xl { font-size: clamp(46px, 5.4vw, 80px); }
.display-xxl { font-size: clamp(52px, 6.4vw, 88px); line-height: .9; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--espresso); line-height: 1.7; }
.eyebrow-light { color: var(--sand); }
.lead { font-size: 18px; line-height: 1.6; max-width: 560px; }
.fine-print { font-size: 12px; line-height: 1.6; color: var(--espresso); }
.text-link { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.text-link-light { color: var(--ivory); }
.text-link-light:hover { color: var(--white); }

/* ---------- Buttons and chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border: 1px solid transparent; background: transparent; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: background .2s ease, color .2s ease; }
.btn:hover { text-decoration: none; }
.btn-dark { background: var(--espresso); color: var(--ivory); }
.btn-dark:hover { background: var(--ink); color: var(--ivory); }
.btn-line { border-color: var(--espresso); color: var(--espresso); }
.btn-line:hover, .btn-line[aria-pressed="true"] { background: var(--espresso); color: var(--ivory); }
.btn-ghost-light { border-color: var(--ivory); border-radius: 999px; color: var(--ivory); }
.btn-ghost-light:hover, .btn-ghost-light[aria-pressed="true"] { background: var(--ivory); color: var(--ink); }
.btn-pill { border-radius: 999px; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 11px; }
.btn[disabled] { opacity: .6; cursor: default; }

.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--champagne); border-radius: 999px; font-size: 13px; color: var(--espresso); white-space: nowrap; text-decoration: none; transition: background .2s ease; }
.chip:hover { background: var(--sand); text-decoration: none; }
.chip.is-active { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.chip-sm { min-height: 40px; padding: 0 14px; }
.chip-ink { border-color: var(--espresso); }
.chip-dark { min-height: 38px; padding: 0 16px; color: var(--ivory); }
.chip-dark:hover { background: var(--ivory); color: var(--ink); }
.chip-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

.select { min-height: 44px; padding: 0 36px 0 14px; border: 1px solid var(--champagne); border-radius: 0; background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23372E2B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; color: var(--espresso); }
.sort-form { display: flex; align-items: center; gap: 10px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ivory); border-bottom: 1px solid var(--sand); box-shadow: 0 1px 12px rgba(55, 46, 43, .06); }
.header-inner { display: flex; align-items: center; gap: 16px 32px; min-height: var(--header-h); }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 34px; letter-spacing: .04em; color: var(--ink); line-height: 1; }
.wordmark:hover { text-decoration: none; }
/* Image logo. In the header it fills the bar (the bar's height doesn't change); logo files are trimmed to the art. */
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { display: block; height: 36px; width: auto; max-width: 220px; object-fit: contain; object-position: left center; }
.logo-main img { height: 44px; }
.site-header .logo img { height: calc(var(--header-h) - 18px); max-width: 280px; }
.logo:hover { opacity: .85; text-decoration: none; }
.wordmark-light { color: var(--ivory); }
.wordmark-light:hover { color: var(--white); }
.main-nav { display: flex; gap: 8px 32px; margin-right: auto; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.main-nav a.is-active { text-decoration: underline; text-underline-offset: 6px; }
.header-tools { display: flex; align-items: center; gap: 4px; }
.header-search { display: flex; align-items: center; gap: 8px; width: 300px; min-height: 44px; padding: 0 16px; margin-right: 8px; border: 1px solid var(--sand); border-radius: 999px; background: var(--white); }
.header-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 14px; color: var(--ink); padding: 10px 0; }
.header-search input:focus { outline: none; }
.header-search:focus-within { border-color: var(--espresso); box-shadow: 0 0 0 1px var(--espresso); }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--espresso); cursor: pointer; }
.icon-btn:hover { color: var(--ink); }
.saved-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--espresso); color: var(--ivory); font-size: 10px; font-weight: 600; line-height: 18px; text-align: center; }
::placeholder { color: #6B5E57; opacity: 1; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--ivory); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 48px; align-items: center; }
/* Grid items grow to their widest content by default; this stops the scrolling chip row from stretching the page. */
.hero-grid > * { min-width: 0; }
.hero-grid-solo { grid-template-columns: minmax(0, 760px); }
.hero-copy { display: flex; flex-direction: column; gap: 26px; padding: 96px 0; }
.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 6vw, 92px); line-height: .95; letter-spacing: -.01em; color: var(--ivory); }
.hero-sub { max-width: 480px; font-size: 18px; line-height: 1.6; color: var(--sand); }
.hero-search { display: flex; align-items: center; gap: 8px; max-width: 560px; padding: 6px 6px 6px 22px; border-radius: 999px; background: var(--ivory); color: var(--espresso); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; color: var(--ink); padding: 12px 4px; }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { box-shadow: 0 0 0 2px var(--espresso); }
.hero-search button { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--espresso); color: var(--ivory); cursor: pointer; }
/* The search arrow: a soft pulse ring and a little nudge to the right, every few seconds. */
.hero-search button { position: relative; overflow: visible; transition: transform .2s ease, background-color .2s ease; }
.hero-search button::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(166, 140, 120, .55); animation: search-ring 3.2s ease-out infinite; pointer-events: none; }
.hero-search button svg { animation: search-nudge 3.2s ease-in-out infinite; }
.hero-search button:hover, .hero-search button:focus-visible { transform: scale(1.06); background: var(--ink); }
.hero-search button:hover svg { animation: search-dash .45s ease-in-out; }
.hero-search:focus-within button::after { animation: none; }
@keyframes search-nudge { 0%, 62%, 100% { transform: translateX(0); } 70% { transform: translateX(5px); } 78% { transform: translateX(0); } 86% { transform: translateX(3px); } 94% { transform: translateX(0); } }
@keyframes search-ring { 0%, 55% { box-shadow: 0 0 0 0 rgba(166, 140, 120, .55); } 85%, 100% { box-shadow: 0 0 0 12px rgba(166, 140, 120, 0); } }
@keyframes search-dash { 0% { transform: translateX(0); opacity: 1; } 45% { transform: translateX(14px); opacity: 0; } 46% { transform: translateX(-14px); opacity: 0; } 100% { transform: translateX(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-search button::after, .hero-search button svg { animation: none !important; } }
.hero-search-light { border: 1px solid var(--champagne); background: var(--white); }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.popular-label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); }
.hero-visual { position: relative; align-self: stretch; min-height: 700px; background: var(--espresso) var(--hero-image, none) center / cover no-repeat; display: grid; place-items: center; }
/* Carry the panel color to the right edge of the screen, so the band isn't black-brown-black on wide screens. */
.hero-visual::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 50vw; background: var(--espresso); pointer-events: none; }

.lookbook { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lookbook-label { font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory); }
.lookbook-frame { position: relative; width: 320px; height: 560px; overflow: hidden; background: var(--ink); border: 1px solid var(--champagne); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.lookbook-frame video { width: 100%; height: 100%; object-fit: cover; }
.lookbook-card { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--ivory); color: var(--espresso); }
.lookbook-card:hover { text-decoration: none; }
.lookbook-card img { width: 56px; height: 70px; object-fit: cover; background: var(--sand); }
.lookbook-card-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lookbook-kicker { font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lookbook-name { font-family: var(--serif); font-size: 19px; line-height: 1.1; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lookbook-price { font-size: 12px; }
.lookbook-price strong { color: var(--ink); font-weight: 600; }
.lookbook-go { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--espresso); border-radius: 50%; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-tight { padding-top: 48px; padding-bottom: 80px; }
.section-sand { background: var(--sand); }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 40px; }
.split-head { flex: 0 0 220px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.rail-scroll { flex: 999 1 560px; min-width: 0; display: flex; gap: 24px; overflow-x: auto; padding: 8px 4px 14px; scroll-snap-type: x mandatory; }
.rail-scroll > * { scroll-snap-align: start; }

.cat-tile { flex: 0 0 auto; width: 128px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; }
.cat-tile:hover { text-decoration: none; }
.cat-circle { width: 128px; height: 128px; border-radius: 50%; overflow: hidden; background: var(--product-bg); isolation: isolate; display: grid; place-items: center; font-family: var(--serif); font-size: 44px; color: var(--espresso); transition: transform .25s ease, box-shadow .25s ease; }
.cat-circle img { width: 100%; height: 100%; object-fit: cover; }
/* Built-in category icons: transparent art at 78% of the circle, with a soft shadow and a little lift on hover. */
.cat-circle.has-icon { background: radial-gradient(circle at 50% 38%, var(--white) 0%, var(--ivory) 55%, var(--sand) 100%); box-shadow: inset 0 0 0 1px rgba(166, 140, 120, .25); }
.cat-circle img.cat-icon { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: normal; filter: drop-shadow(0 6px 8px rgba(55, 46, 43, .14)); transition: transform .3s ease; }
.cat-tile:hover .cat-circle.has-icon { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--champagne), 0 10px 18px -12px rgba(55, 46, 43, .35); }
.cat-tile:hover .cat-icon { transform: scale(1.07); filter: drop-shadow(0 9px 10px rgba(55, 46, 43, .18)); }
.cat-tile:hover .cat-circle { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-name { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-align: center; }

.brand-circle { flex: 0 0 auto; width: 136px; height: 136px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; padding: 14px; text-align: center; font-family: var(--serif); font-weight: 600; font-size: min(17px, calc(104px / (var(--chars, 8) * .76))); line-height: 1.15; letter-spacing: .08em; overflow-wrap: normal; hyphens: manual; text-transform: uppercase; color: var(--ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.brand-circle:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
#brands .fine-print { margin-top: 14px; }

/* Trending */
.trend-grid { flex: 999 1 640px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.trend-card { display: flex; flex-direction: column; background: var(--ivory); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.trend-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
/* Two 1:1 squares side by side, matching the square photos used across the site. */
.trend-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.trend-side { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--white); }
.trend-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--champagne); background: var(--ivory); font-family: var(--serif); font-size: 18px; color: var(--espresso); }
.trend-prices { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 8px 0; font-size: 12px; text-align: center; line-height: 1.5; }
.trend-prices strong { display: block; font-weight: 600; color: var(--ink); }
.trend-title { padding: 12px 16px 18px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: center; }

/* The name brand's own picture, or a blurred stand-in */
.original-img { width: 100%; height: 100%; object-fit: cover; }
.original-blur { position: absolute; inset: 0; display: grid; place-items: center; background: var(--sand-deep); overflow: hidden; }
.original-blur span { width: 64%; height: 54%; border-radius: 44% 44% 14px 14px; background: #8C7563; filter: blur(14px); }

/* ---------- Cards and grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 28px 24px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 1 / 1; background: var(--product-bg); overflow: hidden; isolation: isolate; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-badge { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; background: var(--ivory); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.heart { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ivory); color: var(--espresso); cursor: pointer; }
.heart[aria-pressed="true"] svg { fill: var(--espresso); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.card-kicker { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.card-title { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.15; color: var(--ink); }
.card-link { color: var(--ink); }
.card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-link:hover { text-decoration: none; }
.card-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; }
.card-prices strong { font-weight: 600; color: var(--ink); }
.card-prices s { font-size: 13px; }

.feed-more { display: flex; justify-content: center; padding-top: 36px; }
.feed-more.is-loading::after { content: 'Loading…'; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.feed-end { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.empty { padding: 48px 24px; background: var(--white); text-align: center; }
.empty-title { font-family: var(--serif); font-size: 28px; color: var(--ink); margin-bottom: 6px; }

.catalog-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.catalog-head p { margin-top: 10px; }

/* ---------- Dupe Battle ---------- */
.battle { background: var(--ink); color: var(--ivory); padding: 88px 0; }
.battle-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.battle-copy { flex: 1 1 320px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.battle .display { color: var(--ivory); }
.battle-sub { max-width: 360px; font-size: 17px; line-height: 1.6; color: var(--sand); }
.battle-status { min-height: 1.5em; font-size: 15px; color: var(--ivory); }
.battle-sides { flex: 2 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.battle-side { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.battle-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--espresso); }
.battle-side.is-picked .battle-img { outline: 2px solid var(--ivory); outline-offset: 4px; }
.battle-name { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.battle-price { font-size: 15px; }
.battle-bar { position: relative; width: 100%; height: 30px; background: var(--espresso); }
.battle-bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--champagne); transition: width .6s ease; }
.battle-bar em { position: relative; display: block; padding: 0 10px; font-style: normal; font-size: 13px; font-weight: 600; line-height: 30px; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--sand); padding: 88px 0; }
.newsletter-inner { max-width: 680px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.newsletter-form { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.newsletter-form input[type=email] { flex: 1 1 280px; min-height: 52px; padding: 0 22px; border: 1px solid var(--champagne); border-radius: 999px; background: var(--ivory); font-size: 15px; color: var(--ink); }
.newsletter-form .btn { min-height: 52px; }
.newsletter-msg { min-height: 1.5em; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--sand); padding: 64px 0 32px; }
.site-footer a { color: var(--sand); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-tag { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-heading { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); }
.store-badges { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; width: 190px; min-height: 52px; padding: 6px 14px; border: 1px solid var(--champagne); border-radius: 10px; background: #000; color: var(--ivory); }
.site-footer a.store-badge { color: var(--ivory); }
.store-badge:hover { text-decoration: none; }
.store-badge.is-soon { opacity: .75; }
.store-badge-text { display: flex; flex-direction: column; font-size: 18px; font-weight: 500; line-height: 1.1; }
.store-badge-text small { font-size: 10px; letter-spacing: .06em; font-weight: 400; }
.store-legal { max-width: 300px; font-size: 11px; line-height: 1.5; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--espresso); font-size: 13px; line-height: 1.6; }
.footer-bottom p:first-child { max-width: 760px; }

/* ---------- Listing pages ---------- */
.page-band, .page-head { background: var(--sand); padding: 28px 0 40px; }
.page-head .page-title { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 6vw, 80px); line-height: .95; color: var(--ink); }
.crumbs { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.crumbs [aria-current] { color: var(--ink); }
.crumbs-top { padding-top: 22px; }
.band-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.with-sidebar { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; padding-top: 48px; padding-bottom: 88px; }
.sidebar { flex: 1 1 220px; max-width: 260px; position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; display: flex; flex-direction: column; gap: 28px; padding-right: 4px; }
.sidebar-block { display: flex; flex-direction: column; gap: 10px; }
.sidebar-title { font-family: var(--serif); font-weight: 500; font-style: italic; font-size: 28px; color: var(--ink); }
.sidebar-label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.cat-list, .cat-sublist { margin: 0; padding: 0; list-style: none; }
.cat-list { border-top: 1px solid var(--sand); }
.cat-list > li { border-bottom: 1px solid var(--sand); }
.cat-list > li > a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.cat-list a.is-active { color: var(--ink); font-weight: 600; }
.cat-list span { color: var(--champagne-ink); }
.cat-sublist { margin: 0 0 12px; padding-left: 14px; border-left: 1px solid var(--champagne); }
.cat-sublist a { display: flex; align-items: center; min-height: 36px; font-size: 14px; }
.main-col { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.results-note { font-size: 13px; }
.panel-bar { position: sticky; top: var(--header-h); z-index: 40; border-bottom: 1px solid var(--sand); background: var(--ivory); }
.panel-bar button { width: 100%; min-height: 52px; border: 0; background: transparent; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--espresso); cursor: pointer; }

/* ---------- Lineup page ---------- */
.original { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px; align-items: center; padding-top: 28px; padding-bottom: 56px; }
.original-media { position: relative; height: 520px; overflow: hidden; background: var(--product-bg); isolation: isolate; }
.tag { position: absolute; left: 20px; top: 20px; padding: 8px 14px; background: var(--ivory); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.original-copy { display: flex; flex-direction: column; gap: 20px; }
.stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--champagne); border-bottom: 1px solid var(--champagne); }
.stats div { padding: 18px 0 18px 20px; border-left: 1px solid var(--sand); }
.stats div:first-child { padding-left: 0; border-left: 0; }
.stats dt { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.stats dd { margin: 6px 0 0; font-family: var(--serif); font-size: 34px; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.lineup-band { background: var(--white); border-top: 1px solid var(--sand); }
.lineup-band .with-sidebar { padding-top: 64px; }
.lineup { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 20px; }
.dupe { display: grid; grid-template-columns: 52px 200px minmax(0, 1fr); gap: 24px; padding: 24px; background: var(--ivory); }
.dupe.is-unavailable { opacity: .72; }
.dupe-rank { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--champagne-ink); }
.dupe-img { width: 200px; height: 200px; object-fit: cover; }
.dupe-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { padding: 5px 12px; border-radius: 999px; background: var(--sand); font-size: 12px; font-weight: 600; }
.badge-line { background: transparent; border: 1px solid var(--espresso); }
.dupe-name { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.15; color: var(--ink); }
.dupe-summary { font-size: 15px; line-height: 1.6; }
.offers { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.unavailable { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px dashed var(--espresso); border-radius: 999px; font-size: 13px; font-weight: 600; }
.breakdown { border-top: 1px solid var(--sand); padding-top: 4px; }
.breakdown summary { display: flex; align-items: center; gap: 8px; min-height: 44px; list-style: none; cursor: pointer; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.breakdown summary::-webkit-details-marker { display: none; }
.breakdown summary svg { transition: transform .2s ease; }
.breakdown[open] summary svg { transform: rotate(180deg); }
.breakdown-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; padding: 8px 0 4px; }
.breakdown-cols ul { margin: 10px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; }
.dupe-foot { font-size: 12px; }
.dupe-foot a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Prose pages ---------- */
.prose { max-width: 760px; padding-top: 48px; padding-bottom: 80px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; font-size: 17px; line-height: 1.7; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; color: var(--ink); margin: 1.4em 0 .5em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); padding: 12px 20px; background: var(--ink); color: var(--ivory); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Tablet and phone ---------- */
/* ---------- About ---------- */
.display em, .about-title em { font-style: italic; }
.btn-light { background: var(--ivory); color: var(--ink); border-radius: 999px; }
.btn-light:hover { background: var(--white); color: var(--ink); }
.about-hero { background: linear-gradient(rgba(247, 244, 239, .5), rgba(247, 244, 239, .78)), var(--about-bg, none) center 40% / cover no-repeat, var(--ivory); padding: 120px 0 48px; border-bottom: 1px solid var(--sand); }
.about-hero-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.about-title { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 7vw, 104px); line-height: .95; letter-spacing: -.01em; color: var(--ink); max-width: 16ch; }
.about-title em { display: block; color: var(--espresso); }
.about-intro { max-width: 560px; font-size: 19px; line-height: 1.6; }
.about-belong { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--espresso); }
.about-belong span { display: inline-block; margin-left: 6px; color: var(--champagne-ink); }
.about-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.about-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 40px 80px; align-items: start; }
.about-label { display: flex; flex-direction: column; gap: 12px; }
.about-label-row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.about-num { font-family: var(--serif); font-size: 20px; color: var(--champagne-ink); border-bottom: 1px solid var(--champagne); padding-bottom: 6px; width: 48px; }
.about-body p { font-size: 18px; line-height: 1.75; margin: 0 0 1.2em; }
.about-body strong { color: var(--ink); font-weight: 600; }
.about-aside { max-width: 380px; font-size: 17px; line-height: 1.6; }
.about-party { display: block; margin-top: 8px; font-size: 14px; color: var(--espresso); }
.about-quote { background: var(--sand); padding: 72px 0; }
.about-quote p { margin: 0 auto; max-width: 900px; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.1; color: var(--ink); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.team-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--sand); }
.team-photo { aspect-ratio: 1 / 1; background: var(--sand); overflow: hidden; transition: background-color .25s ease; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 24px 26px; }
.team-name { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1; color: var(--ink); }
.team-brand { font-size: 15px; color: var(--ink); }
.team-brand span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--espresso); margin-bottom: 2px; }
.team-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.party-btn { position: relative; min-height: 52px; padding: 0 30px; border: 0; border-radius: 999px; cursor: pointer; font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: .04em; color: #fff;
  background: linear-gradient(110deg, #ff3d7f, #ff9a3d, #ffd23d, #3ddc84, #3db8ff, #9b5cff, #ff3d7f); background-size: 300% 100%;
  box-shadow: 0 6px 22px rgba(255, 61, 127, .35), 0 0 0 3px rgba(255, 255, 255, .6) inset; text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  animation: party-shimmer 4s linear infinite, party-wiggle 2.4s ease-in-out infinite; transition: transform .15s ease, box-shadow .2s ease; }
.party-btn:hover { transform: scale(1.06) rotate(-2deg); box-shadow: 0 10px 30px rgba(155, 92, 255, .45), 0 0 0 3px rgba(255, 255, 255, .7) inset; }
.party-btn:active { transform: scale(.96); }
.party-btn[aria-pressed="true"] { background: transparent; color: var(--ink); text-shadow: none; box-shadow: inset 0 0 0 1px var(--ink); font-style: italic; font-weight: 500; animation: none; }
.party-btn[aria-pressed="true"]:hover { transform: none; background: var(--sand); }
.party-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
@keyframes party-shimmer { to { background-position: 300% 0; } }
@keyframes party-wiggle { 0%, 84%, 100% { transform: rotate(0); } 88% { transform: rotate(-4deg) scale(1.04); } 92% { transform: rotate(4deg) scale(1.04); } 96% { transform: rotate(-2deg); } }
.team-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; width: 100%; }
.team-head > div:first-child { display: flex; flex-direction: column; gap: 8px; }
.team-social { display: flex; gap: 8px; flex-shrink: 0; }
.team-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--sand); border-radius: 50%; color: var(--espresso); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.team-social a:hover { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); text-decoration: none; }
.team-quote { margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--sand); width: 100%; }
.team-quote figcaption { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--espresso); margin-bottom: 4px; }
.team-quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.3; color: var(--ink); }
.team-quote-by { margin-top: 4px; font-size: 13px; }
/* Party overlay: disco light sweeping over each photo, plus a bounce on the beat. */
.team-photo { position: relative; }
.team-photo::after { content: ""; position: absolute; inset: -40%; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: conic-gradient(from 0deg, rgba(255, 61, 127, .55), rgba(255, 210, 61, .45), rgba(61, 220, 132, .45), rgba(61, 184, 255, .5), rgba(155, 92, 255, .55), rgba(255, 61, 127, .55));
  mix-blend-mode: soft-light; border-radius: 50%; }
.is-partying .team-photo::after { opacity: 1; animation: disco-spin 3s linear infinite; }
.is-partying .team-card { animation: party-bounce .5s ease-in-out infinite alternate; }
.is-partying .team-card:nth-child(2) { animation-delay: -.25s; }
.is-partying .team-card:nth-child(3) { animation-delay: -.12s; }
.is-partying .team-card { box-shadow: 0 0 0 2px transparent, 0 14px 40px rgba(155, 92, 255, .25); }
@keyframes disco-spin { to { transform: rotate(360deg); } }
@keyframes party-bounce { from { transform: translateY(0) rotate(-.6deg); } to { transform: translateY(-10px) rotate(.6deg); } }
.party-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1000; }
/* While the party is on, the photo backgrounds flash through the palette in time with the beat. */
.is-partying .team-card:nth-child(3n+1) .team-photo { animation: party-bg 2s steps(1) infinite; }
.is-partying .team-card:nth-child(3n+2) .team-photo { animation: party-bg 2s steps(1) -.5s infinite; }
.is-partying .team-card:nth-child(3n) .team-photo { animation: party-bg 2s steps(1) -1s infinite; }
@keyframes party-bg { 0% { background-color: var(--sand); } 25% { background-color: var(--sand-deep); } 50% { background-color: var(--champagne); } 75% { background-color: var(--ivory); } }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 20px; }
.stat-card { background: var(--ivory); padding: 28px 24px 30px; display: flex; flex-direction: column; gap: 8px; }
.stat-num { font-family: var(--serif); font-weight: 500; font-size: 72px; line-height: 1; color: var(--ink); }
.stat-label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--espresso); padding-bottom: 10px; border-bottom: 1px solid var(--champagne); }
.stat-card p:last-child { font-size: 15px; line-height: 1.6; }
.about-close { background: var(--ink); color: var(--sand); padding: 96px 0; }
.about-close-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.about-close .display { color: var(--ivory); max-width: 16ch; }
.about-close-inner > p:not(.eyebrow) { font-size: 18px; max-width: 520px; }
.about-close-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* ---------- Contact, Report an issue ---------- */
.page-band .display em { font-style: italic; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 56px; padding-top: 48px; padding-bottom: 88px; align-items: start; }
.contact-main { display: flex; flex-direction: column; gap: 28px; }
.route-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.route-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; background: var(--white); border: 1px solid var(--sand); color: var(--espresso); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.route-card:hover { border-color: var(--champagne); transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.route-card.is-active { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); }
.route-card-alt { background: var(--sand); }
.route-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ivory); color: var(--espresso); margin-bottom: 4px; }
.route-card-alt .route-icon { background: var(--white); }
.route-title { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.1; color: var(--ink); }
.route-text { font-size: 14px; line-height: 1.5; }
.form-card { background: var(--white); border: 1px solid var(--sand); padding: 32px; }
.form-fields { display: flex; flex-direction: column; gap: 20px; }
.form-title { font-family: var(--serif); font-weight: 500; font-size: 32px; color: var(--ink); line-height: 1.1; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.field label, .field legend { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--espresso); padding: 0; }
.field .optional { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--espresso); opacity: .75; }
.field input[type=text], .field input[type=email], .field input[type=url], .field textarea, .field .select { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--champagne); background: var(--ivory); font-size: 16px; color: var(--ink); border-radius: 0; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; font-family: inherit; }
.field input:focus, .field textarea:focus, .field .select:focus { outline: 2px solid var(--espresso); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #A3412F; }
.field-error, .form-error { font-size: 14px; color: #A3412F; }
.field-hint { font-size: 13px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-actions .fine-print { margin: 0; }
.form-sent { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 0; }
.form-sent-title { font-family: var(--serif); font-size: 38px; font-weight: 500; line-height: 1; color: var(--ink); }
.form-sent-title::before { content: "✓"; display: inline-grid; place-items: center; width: 40px; height: 40px; margin-right: 12px; border-radius: 50%; background: var(--espresso); color: var(--ivory); font-family: var(--sans); font-size: 18px; vertical-align: 6px; }
.contact-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.side-title { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--espresso); padding-bottom: 10px; border-bottom: 1px solid var(--champagne); }
.side-title:not(:first-child) { margin-top: 18px; }
.faq details { border-bottom: 1px solid var(--sand); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 10px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 20px; line-height: 1.2; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 0 16px; font-size: 15px; line-height: 1.6; }
.email-list { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.email-list dt { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.email-list dd { margin: 2px 0 0; font-size: 15px; }
.email-list a { color: var(--ink); overflow-wrap: anywhere; }
.report-layout { max-width: 760px; padding-top: 48px; padding-bottom: 88px; }
.report-pair { display: flex; align-items: center; gap: 18px; padding: 14px; background: var(--ivory); border: 1px solid var(--sand); }
.report-pair img { width: 88px; height: 88px; object-fit: cover; background: var(--sand); flex-shrink: 0; }
.report-pair .eyebrow { font-size: 11px; }
.report-pair-name { font-family: var(--serif); font-size: 24px; line-height: 1.1; color: var(--ink); }
.report-pair-sub { font-size: 14px; }
.reason-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.reason { position: relative; cursor: pointer; }
.reason input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.reason span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--champagne); border-radius: 999px; font-size: 14px; color: var(--espresso); background: var(--ivory); transition: background .15s ease, color .15s ease; }
.reason:hover span { background: var(--sand); }
.reason input:checked + span { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.reason input:focus-visible + span { outline: 2px solid var(--espresso); outline-offset: 2px; }

/* ---------- 404 ---------- */
.nf { padding: 80px 0 72px; text-align: center; }
.nf-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.nf-code { font-family: var(--serif); font-size: clamp(120px, 20vw, 240px); line-height: .8; color: var(--sand-deep); letter-spacing: -.02em; }
.nf-code span { display: inline-block; color: var(--champagne-ink); font-style: italic; transform: rotate(-8deg); }
.nf .lead { max-width: 560px; margin: 0 auto; }
.nf-search { width: 100%; max-width: 560px; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 16px; }
.nf-report { flex-basis: 100%; font-size: 14px; margin-top: 4px; }

/* ---------- Header promo, The Edit row, horizontal newsletter, business line ---------- */
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.band-main { min-width: 0; }
.promo { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 360px; height: 180px; padding: 20px 24px; overflow: hidden; text-decoration: none; color: var(--ivory); transition: transform .2s ease, box-shadow .2s ease; }
.promo:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo::after { content: "#"; position: absolute; right: -6px; bottom: -58px; font-family: var(--serif); font-size: 220px; line-height: 1; opacity: .12; pointer-events: none; }
.promo:has(img)::after { content: none; }
.promo-ink { background: var(--ink); }
.promo-espresso { background: var(--espresso); }
.promo-champagne { background: var(--champagne); color: var(--ink); }
.promo-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.promo-title { position: relative; max-width: 270px; font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.05; }
.promo-line { position: relative; font-size: 14px; line-height: 1.45; opacity: .9; max-width: 250px; }
.promo-cta { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

.edit-rail { border-top: 1px solid var(--sand); }
.edit-rail-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.edit-rail .display em { font-style: italic; }
.edit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--sand); text-decoration: none; color: var(--espresso); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.post-media { display: grid; place-items: center; aspect-ratio: 16 / 10; font-family: var(--serif); font-size: 40px; }
.post-media > span:not(.post-cover) { opacity: .55; }
.post-ink { background: var(--ink); color: var(--ivory); }
.post-espresso { background: var(--espresso); color: var(--sand); }
.post-champagne { background: var(--sand-deep); color: var(--ink); }
.post-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.post-tag { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.post-title { font-family: var(--serif); font-size: 24px; line-height: 1.15; color: var(--ink); }
.post-meta { font-size: 13px; }
/* "New" marker on posts from the last 3 days (Oct 28) */
.post-new { display: inline-block; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: var(--ivory); font-size: 10px; letter-spacing: .14em; vertical-align: 1px; }
/* Homepage: the latest posts sit right under the hero, on a soft sand band with champagne hairlines (Oct 28).
   Built from theme tokens, so seasonal themes recolor it too. Four smaller cards instead of three big ones. */
.edit-rail-home { border-top: 0; padding: 48px 0 52px; background: var(--sand);
    background: linear-gradient(180deg, color-mix(in srgb, var(--sand) 70%, var(--ivory)) 0%, color-mix(in srgb, var(--sand) 40%, var(--ivory)) 100%);
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--champagne) 45%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--champagne) 45%, transparent); }
.edit-rail-home .stack { gap: 22px; }
.edit-rail-home .display { font-size: clamp(30px, 3.2vw, 44px); }
.edit-rail-home .edit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.edit-rail-home .post-card { border-color: color-mix(in srgb, var(--champagne) 35%, transparent); }
.edit-rail-home .post-media { aspect-ratio: 16 / 9; font-size: 30px; }
.edit-rail-home .post-body { gap: 6px; padding: 14px 16px 16px; }
.edit-rail-home .post-tag { font-size: 10px; }
.edit-rail-home .post-title { font-size: 19px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.edit-rail-home .post-meta { font-size: 12px; }
@media (max-width: 1100px) { .edit-rail-home .edit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .edit-rail-home { padding: 36px 0 40px; } .edit-rail-home .post-card { flex-basis: 66%; } }

.newsletter-row { padding: 56px 0; }
.newsletter-row .newsletter-inner { max-width: var(--wrap); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: center; gap: 8px 48px; text-align: left; }
.newsletter-row .newsletter-copy { display: flex; flex-direction: column; gap: 8px; grid-row: span 2; }
.newsletter-row .newsletter-form { margin: 0; flex-wrap: nowrap; }
.newsletter-row .newsletter-msg { grid-column: 2; }

.call-card { display: flex; flex-direction: column; gap: 10px; padding-bottom: 6px; }
.call-number { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--ink); text-decoration: none; }
.call-number:hover { text-decoration: underline; }
.call-note { font-size: 14px; line-height: 1.5; }
.ai-badge { display: inline-block; margin-right: 6px; padding: 2px 10px; border-radius: 999px; background: linear-gradient(110deg, #ff3d7f, #9b5cff, #3db8ff); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }

/* ---------- Shop dupes, all categories ---------- */
.shop { padding-top: 32px; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; }
.shop-bar .chip-row { flex: 1 1 auto; min-width: 0; }
.shop-bar .sort-form { flex-shrink: 0; }
.shop-count { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.dupe-card .card-media { aspect-ratio: 1 / 1; }
.card-vs { font-size: 13px; line-height: 1.4; margin-top: -2px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.dupe-card .card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dupe-card { display: flex; flex-direction: column; }
.dupe-card .card-body { flex: 1 1 auto; display: flex; flex-direction: column; }
.card-shop { position: relative; z-index: 2; align-self: flex-start; margin-top: auto; }
.dupe-card .card-prices { margin-bottom: 10px; }
.cat-band { padding: 36px 0 8px; border-bottom: 1px solid var(--sand); }
.cat-rail { padding-bottom: 20px; }

/* ---------- Results bar (brand + sort), Brands page ---------- */
.results-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 20px; }
.select-brand { max-width: 220px; }
.az { display: flex; flex-wrap: wrap; gap: 4px; }
.az a { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 6px; font-family: var(--serif); font-size: 18px; color: var(--ink); text-decoration: none; border-radius: 50%; }
.az a:hover { background: var(--ivory); text-decoration: none; }
.brands-index { padding-top: 40px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 36px; }
.brand-group { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding-top: 28px; border-top: 1px solid var(--sand); scroll-margin-top: calc(var(--header-h) + 16px); }
.brand-letter { font-family: var(--serif); font-weight: 500; font-size: 56px; line-height: .9; color: var(--champagne-ink); }
.brand-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 24px 16px; }
.brand-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; }
.brand-tile:hover { text-decoration: none; }
.brand-tile:hover .brand-circle { transform: translateY(-3px); box-shadow: var(--shadow); }
.brand-count { font-size: 12px; letter-spacing: .06em; color: var(--espresso); }

/* ---------- Lineup: side-by-side compare pop-up ---------- */
.dupe-img-btn { position: relative; display: block; padding: 0; border: 0; background: var(--product-bg); isolation: isolate; cursor: zoom-in; align-self: start; }
.dupe-img-hint { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; background: var(--ivory); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; }
.dupe-img-btn:hover .dupe-img-hint, .dupe-img-btn:focus-visible .dupe-img-hint { opacity: 1; transform: none; }
.dupe-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.btn-compare { font-size: 11px; }
body.is-comparing { overflow: hidden; }
.compare { width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; background: var(--ivory); color: var(--espresso); box-shadow: 0 30px 80px rgba(23, 23, 23, .35); overflow: auto; overscroll-behavior: contain; }
.compare::backdrop { background: rgba(23, 23, 23, .6); backdrop-filter: blur(2px); }
.compare[open] { animation: compare-in .22s ease-out; }
@keyframes compare-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.compare-inner { display: flex; flex-direction: column; gap: 24px; padding: 28px 32px 24px; }
.compare-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.compare-title { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; color: var(--ink); margin-top: 6px; }
.compare-title em { font-style: italic; color: var(--champagne-ink); }
.compare-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--sand); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; }
.compare-close:hover { background: var(--sand); }
.compare-sides { position: relative; container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.compare-side { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.compare-media { position: relative; width: 100%; aspect-ratio: 1 / 1; background: var(--product-bg); isolation: isolate; overflow: hidden; margin-bottom: 8px; }
.compare-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.compare-media .tag { left: 12px; top: 12px; }
.tag-dark { background: var(--ink); color: var(--ivory); }
.compare-vs { position: absolute; left: 50%; top: calc((100cqw - 24px) / 4); transform: translate(-50%, -50%); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--champagne); background: var(--ivory); font-family: var(--serif); font-size: 20px; color: var(--espresso); z-index: 2; }
.compare-kicker { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.compare-name { font-family: var(--serif); font-size: 22px; line-height: 1.15; color: var(--ink); }
.compare-price { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 22px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.compare-rows { margin: 0; border-top: 1px solid var(--champagne); }
.compare-row { display: grid; grid-template-columns: minmax(0, 1fr) 130px minmax(0, 1fr); align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--sand); }
.compare-row dt { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.compare-row dd { margin: 0; font-size: 16px; color: var(--ink); overflow-wrap: anywhere; }
.compare-row dd:last-child { text-align: right; }
.compare-row-hl dd:last-child { font-weight: 600; }
.compare-meter { height: 8px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.compare-meter span { display: block; height: 100%; background: var(--espresso); border-radius: inherit; }
.compare-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.compare-summary { grid-column: 1 / -1; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.4; color: var(--ink); }
.compare-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.compare-list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; }
.compare-list li::before { position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 11px; font-weight: 700; }
.compare-list-same li::before { content: "✓"; background: var(--espresso); color: var(--ivory); }
.compare-list-diff li::before { content: "–"; background: var(--sand); color: var(--espresso); }
.compare-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--sand); }
.compare-foot .btn[disabled] { opacity: .35; cursor: default; }
.compare-report { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- The Edit (blog) ---------- */
.post-cover { position: relative; display: grid; width: 100%; height: 100%; background: var(--sand); overflow: hidden; }
.post-cover img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; display: block; }
.post-cover-collage.post-cover-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 3px; background: var(--ivory); }
.post-cover-collage.post-cover-n3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; background: var(--ivory); }
.post-cover-n3 img:first-child { grid-row: span 2; }
.post-cover-mark { display: grid; place-items: center; font-family: var(--serif); font-size: 40px; color: var(--champagne-ink); }
.post-dek { font-size: 16px; line-height: 1.55; }
.edit-index { display: flex; flex-direction: column; gap: 40px; padding-top: 40px; padding-bottom: 72px; }
.post-card-featured { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.post-card-featured .post-media { aspect-ratio: 16 / 11; }
.post-card-featured .post-body { justify-content: center; gap: 14px; padding: 36px; }
.post-card-featured .post-title { font-size: clamp(30px, 3vw, 42px); line-height: 1.08; }
.edit-grid-all { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.edit-pager { display: flex; justify-content: center; gap: 12px; }
.preview-bar { background: var(--ink); color: var(--ivory); text-align: center; padding: 10px 20px; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.post-head { padding: 36px 0 0; }
.post-head-inner { max-width: 900px; display: flex; flex-direction: column; gap: 16px; }
.post-h1 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1; }
.post-dek-lg { max-width: 720px; font-size: 20px; }
.post-byline { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.post-hero { aspect-ratio: 16 / 7; margin-top: 28px; overflow: hidden; }
.post-body-wrap { max-width: 760px; padding-top: 32px; }
.post-disclosure { font-size: 13px; line-height: 1.6; padding: 12px 16px; background: var(--sand); margin-bottom: 28px; }
.post-p { font-size: 19px; line-height: 1.75; margin: 0 0 1.1em; color: var(--ink); }
.post-lede::first-letter { float: left; font-family: var(--serif); font-size: 76px; line-height: .8; padding: 6px 10px 0 0; color: var(--espresso); }
.post-toc { margin: 32px 0 8px; padding: 20px 24px; border: 1px solid var(--sand); background: var(--white); }
.post-toc ol { margin: 10px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.post-toc a { color: var(--ink); }
.post-picks { max-width: 1040px; display: flex; flex-direction: column; gap: 28px; padding-top: 40px; }
.pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; padding: 28px; background: var(--white); border: 1px solid var(--sand); scroll-margin-top: calc(var(--header-h) + 16px); }
.pick-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-self: start; }
.pick-side { position: relative; aspect-ratio: 1 / 1; background: var(--product-bg); overflow: hidden; isolation: isolate; }
.pick-side > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-side .tag { left: 8px; top: 8px; padding: 5px 9px; font-size: 10px; }
.pick-media .vs { width: 40px; height: 40px; font-size: 16px; }
.pick-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pick-rank { display: flex; align-items: baseline; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.pick-rank span { font-family: var(--serif); font-size: 34px; letter-spacing: 0; color: var(--champagne-ink); }
.pick-name { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.12; color: var(--ink); }
.pick-for { font-size: 14px; margin-top: -4px; }
.pick-prices { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 18px; }
.pick-prices strong { color: var(--ink); }
.pick-prices s { font-size: 15px; }
.pick-blurb { font-size: 16px; line-height: 1.7; }
.pick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.post-section { padding-top: 40px; }
.post-h2 { font-size: clamp(30px, 3.2vw, 42px); margin-bottom: 16px; }
.post-h2 em { font-style: italic; }
.post-fine { margin: 40px 0 64px; }

/* ---------- The Edit: body text, sponsored, Outfit Receipt, Spot the Splurge ---------- */
.post-md { font-size: 19px; line-height: 1.75; color: var(--ink); }
.post-md > * + * { margin-top: 1.1em; }
.post-md > p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 76px; line-height: .8; padding: 6px 10px 0 0; color: var(--espresso); }
.post-md h2, .post-md h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.15; margin-top: 1.6em; }
.post-md h2 { font-size: 34px; }
.post-md h3 { font-size: 26px; }
.post-md a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.post-md img { display: block; max-width: 100%; height: auto; margin: 1.4em auto; }
.post-md blockquote { margin-left: 0; padding-left: 20px; border-left: 2px solid var(--champagne); font-family: var(--serif); font-style: italic; font-size: 22px; }
.post-md ul, .post-md ol { padding-left: 24px; }
.post-sponsored { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 28px; border: 1px solid var(--champagne); font-size: 14px; }
.post-sponsored-tag { padding: 3px 10px; background: var(--ink); color: var(--ivory); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

.receipt-wrap { max-width: 560px; padding-top: 48px; }
.receipt { position: relative; padding: 32px 30px 36px; background: var(--white); border: 1px solid var(--sand); box-shadow: var(--shadow); text-align: center;
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x; mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x; }
.receipt-brand { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: .08em; color: var(--ink); }
.receipt-title { font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; margin-top: 4px; }
.receipt-sub { font-family: var(--serif); font-style: italic; font-size: 18px; margin: 8px 0 18px; }
.receipt-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; text-align: left; font-size: 15px; }
.receipt-table th, .receipt-table td { padding: 9px 0; border-bottom: 1px dashed var(--sand-deep); vertical-align: top; }
.receipt-table thead th { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.receipt-table td:not(:first-child), .receipt-table thead th:not(:first-child) { text-align: right; padding-left: 12px; white-space: nowrap; }
.receipt-item { display: block; font-weight: 600; color: var(--ink); }
.receipt-name { display: block; font-size: 13px; }
.receipt-table tfoot th { font-weight: 500; }
.receipt-table tfoot td { text-align: right; color: var(--ink); }
.receipt-kept th, .receipt-kept td { font-size: 20px; font-weight: 700; color: var(--ink); border-bottom: 3px double var(--ink); }
.receipt-kept span { font-size: 14px; font-weight: 500; }
.receipt-foot { margin-top: 16px; font-size: 12px; }
.receipt-thanks { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--ink); }

.splurge { max-width: 960px; display: flex; flex-direction: column; gap: 32px; padding-top: 36px; }
.round { padding: 28px; background: var(--white); border: 1px solid var(--sand); text-align: center; scroll-margin-top: calc(var(--header-h) + 16px); }
.round-count { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.round-q { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 38px); color: var(--ink); margin-top: 6px; }
.round-hint { margin-top: 8px; font-size: 16px; }
.round-hint span { display: inline-block; margin-right: 6px; padding: 2px 10px; border-radius: 999px; background: var(--sand); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.round-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.round-choice { position: relative; padding: 0; border: 2px solid transparent; background: var(--product-bg); isolation: isolate; cursor: pointer; aspect-ratio: 1 / 1; overflow: hidden; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.round-choice img { width: 100%; height: 100%; object-fit: cover; display: block; }
.round-choice:not([disabled]):hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--champagne); }
.round-choice:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.round-choice[disabled] { cursor: default; }
.round-letter { position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ivory); font-family: var(--serif); font-size: 20px; color: var(--ink); }
.round-mark { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--ink); transform: translateY(100%); transition: transform .25s ease; }
.round-choice.is-splurge .round-mark { transform: none; }
.round-choice.is-splurge .round-mark::after { content: "The splurge"; }
.round-choice.is-right { border-color: #3a7d44; }
.round-choice.is-wrong { border-color: #a3412f; }
.is-answered .round-choice:not(.is-splurge) img { filter: saturate(.85); }
.round-reveal { margin-top: 18px; text-align: left; }
.round-reveal > summary { cursor: pointer; text-align: center; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.round-reveal > summary::-webkit-details-marker { display: none; }
.round-reveal.is-shown > summary { display: none; }
.round-result { font-family: var(--serif); font-size: 28px; color: var(--ink); text-align: center; margin-bottom: 14px; }
.round-result:empty { display: none; }
.round-answer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 16px 0; border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
.round-tag { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.round-name { font-family: var(--serif); font-size: 20px; line-height: 1.2; color: var(--ink); margin-top: 4px; }
.round-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; font-size: 18px; font-weight: 600; color: var(--ink); }
.round-why { margin-top: 14px; font-size: 16px; line-height: 1.7; }
.round-stats { margin-top: 8px; font-size: 13px; font-weight: 600; }
.round-stats:empty { display: none; }
.round .pick-actions { margin-top: 14px; }
.splurge-score { padding: 24px; background: var(--ink); color: var(--ivory); text-align: center; font-family: var(--serif); font-size: 26px; }

/* ---------- Product photo backgrounds ----------
   Every product photo sits on --product-bg. Transparent photos show it directly; photos with a white background
   blend into it (multiply), so one variable themes thousands of photos with no editing.
   Site-wide: DUPE_THEME (body[data-theme]). Per product: "Card background" in the admin ([data-tone]). */
:root { --product-bg: var(--sand); --product-blend: multiply; }
body[data-theme="blush"] { --product-bg: #F1DFD8; }
body[data-theme="sage"] { --product-bg: #DDE3D3; }
body[data-theme="sky"] { --product-bg: #DCE5EC; }
body[data-theme="ivory"] { --product-bg: #F7F4EF; }
body[data-theme="noir"] { --product-bg: #2A2421; --product-blend: normal; }
[data-tone="blush"] { --product-bg: #F1DFD8; --product-blend: multiply; }
[data-tone="sage"] { --product-bg: #DDE3D3; --product-blend: multiply; }
[data-tone="sky"] { --product-bg: #DCE5EC; --product-blend: multiply; }
[data-tone="ivory"] { --product-bg: #FFFFFF; --product-blend: multiply; }
[data-tone="gold"] { --product-bg: #E8D3A8; --product-blend: multiply; }
[data-tone="noir"] { --product-bg: #2A2421; --product-blend: normal; }
[data-tone="gold"].card { box-shadow: 0 0 0 2px #C9A45C; }
/* Automatic: a deeper card for white and pale cutouts (set after background removal). On the dark theme the dark card already works. */
[data-tone="contrast"] { --product-bg: #C2B09D; --product-blend: normal; }
body[data-theme="noir"] [data-tone="contrast"] { --product-bg: #2A2421; }
.card-media img, .dupe-img, .compare-media > img, .pick-side > img, .round-choice img, .cat-circle img, .original-img { mix-blend-mode: var(--product-blend); }
/* Processed uploads (they carry srcset) are already square and padded: show them whole. Older photos keep cover. */
.card-media img[srcset], .dupe-img[srcset], .original-img[srcset] { object-fit: contain; }
/* Cut-out photos get a soft shadow, so white or pale products keep their edges on any color. */
img[data-cutout] { mix-blend-mode: normal; filter: drop-shadow(0 10px 14px rgba(23, 23, 23, .16)); }

@media (max-width: 1100px) {
    .header-search { width: 220px; }
    .main-nav { gap: 8px 20px; }
}

@media (max-width: 860px) {
    :root { --gutter: 20px; --header-h: 61px; }
    .only-mobile { display: grid !important; }
    .panel-bar.only-mobile { display: block !important; }
    .header-inner { gap: 0; justify-content: space-between; }
    .wordmark { font-size: 28px; }
    /* The menu + 3 icons take about 220px; the logo gets the rest (shrinks proportionally on narrow phones). */
    .logo img { height: 28px; max-width: min(170px, calc(100vw - 222px)); }
    .logo-main img { height: 34px; }
    .site-header .logo img { height: calc(var(--header-h) - 14px); max-width: min(190px, calc(100vw - 222px)); object-position: center; }
    .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; padding: 8px 20px 20px; background: var(--ivory); border-bottom: 1px solid var(--sand); box-shadow: var(--shadow); }
    .main-nav.is-open { display: flex; }
    .main-nav a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--sand); }
    .header-search { display: none; position: absolute; left: 0; right: 0; top: 100%; width: auto; margin: 0; border-radius: 0; border-width: 0 0 1px; padding: 6px 20px; }
    .header-search.is-open { display: flex; }

    .hero-grid, .hero-grid-solo { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .hero-copy { padding: 56px 0 48px; }
    .hero-visual { display: none; }
    .hero-title { font-size: 52px; }
    .hero-sub { font-size: 16px; }
    .popular { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
    .popular-label { display: none; }

    .section { padding: 48px 0; }
    .split { gap: 18px; }
    .split-head { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
    .split-head .display br { display: none; }
    .rail-scroll { flex-basis: 100%; gap: 16px; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; }
    .cat-tile { width: 92px; }
    .cat-circle { width: 92px; height: 92px; font-size: 34px; }
    .cat-name { font-size: 11px; letter-spacing: .12em; }
    .brand-circle { width: 116px; height: 116px; padding: 12px; font-size: min(14px, calc(88px / (var(--chars, 8) * .76))); }
    .trend-grid { display: flex; overflow-x: auto; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-snap-type: x mandatory; }
    .trend-card { flex: 0 0 260px; scroll-snap-align: start; }

    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
    .card-body { padding: 12px; gap: 6px; }
    .card-title { font-size: 19px; }
    .card-kicker { font-size: 10px; letter-spacing: .14em; }
    .card-prices { font-size: 13px; }
    .card-badge { display: none; }
    .heart { top: 6px; right: 6px; }

    .battle { padding: 48px 0; }
    .battle-sides { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .battle-name { font-size: 19px; }
    .battle-side .btn { width: 100%; padding: 0 8px; }

    .newsletter { padding: 48px 0; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input[type=email] { flex-basis: auto; }

    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-col a { display: flex; align-items: center; min-height: 36px; }

    .with-sidebar { padding-top: 24px; gap: 0; }
    .sidebar { display: none; position: static; max-width: none; max-height: none; overflow: visible; flex-basis: 100%; padding-bottom: 24px; }
    .sidebar.is-open { display: flex; }
    .main-col { flex-basis: 100%; }

    .original { gap: 20px; padding-top: 16px; padding-bottom: 36px; grid-template-columns: minmax(0, 1fr); }
    .original-media { height: 300px; }
    .stats dd { font-size: 28px; }
    .stats div { padding-left: 12px; }
    .actions .btn { flex: 1 1 auto; }
    .dupe { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 0 0 16px; }
    .dupe-rank { position: absolute; margin: 10px 0 0 12px; font-size: 34px; color: var(--espresso); }
    .dupe { position: relative; }
    .dupe-img { width: 100%; height: 260px; }
    .dupe-body { padding: 0 16px; }
    .dupe-name { font-size: 23px; }
    .offers .btn { width: 100%; }
    .about-hero { padding: 64px 0 32px; background-image: linear-gradient(rgba(247, 244, 239, .55), rgba(247, 244, 239, .8)), var(--about-bg-sm, none); background-position: center 40%; background-size: cover; }
    .about-intro { font-size: 17px; }
    .about-belong { font-size: 24px; }
    .about-nav { margin-top: 28px; }
    .about-body p { font-size: 17px; }
    .about-quote { padding: 48px 0; }
    .stat-num { font-size: 56px; }
    .team-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
    .about-close { padding: 64px 0; }
    .about-close-actions .btn { width: 100%; }
    .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 28px; padding-bottom: 56px; }
    .contact-side { position: static; }
    .form-card { padding: 22px 18px; }
    .report-layout { padding-top: 28px; padding-bottom: 56px; }
    .form-actions .btn { width: 100%; }
    .nf { padding: 48px 0 48px; }
    .nf-actions .btn { width: 100%; }
    .band-grid { grid-template-columns: minmax(0, 1fr); }
    .promo { display: none; }
    .edit-grid { display: flex; overflow-x: auto; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); }
    .post-card { flex: 0 0 78%; scroll-snap-align: start; }
    .newsletter-row .newsletter-inner { grid-template-columns: minmax(0, 1fr); text-align: center; }
    .newsletter-row .newsletter-copy { grid-row: auto; align-items: center; }
    .newsletter-row .newsletter-form { flex-wrap: wrap; }
    .newsletter-row .newsletter-msg { grid-column: 1; }
    .shop-bar { flex-direction: column; align-items: stretch; }
    .card-shop { width: 100%; padding: 0 8px; }
    .card-vs { font-size: 12px; }
    .cat-band { padding-top: 20px; }
    .results-controls { justify-content: flex-start; width: 100%; }
    .select-brand { max-width: none; }
    .brand-group { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 20px; }
    .brand-letter { font-size: 40px; }
    .brand-tiles { grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 18px 10px; }
    .dupe-img-btn { width: 100%; }
    .dupe-img-hint { opacity: 1; transform: none; }
    .compare { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; }
    .compare-inner { padding: 18px 16px 20px; gap: 18px; }
    .compare-sides { gap: 12px; }
    .compare-vs { width: 38px; height: 38px; font-size: 15px; top: calc((100cqw - 12px) / 4); }
    .compare-name { font-size: 17px; }
    .compare-price { font-size: 17px; }
    .compare-media .tag { left: 6px; top: 6px; padding: 5px 8px; font-size: 9px; letter-spacing: .12em; }
    .compare-side .btn { width: 100%; padding: 0 10px; }
    .compare-row { grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); gap: 8px; }
    .compare-row dd { font-size: 14px; }
    .compare-row dt { font-size: 10px; letter-spacing: .1em; }
    .compare-notes { grid-template-columns: minmax(0, 1fr); }
    .compare-foot .btn { padding: 0 14px; font-size: 10px; }
    .post-card-featured { grid-template-columns: minmax(0, 1fr); }
    .post-card-featured .post-body { padding: 20px; }
    .post-hero { aspect-ratio: 4 / 3; margin-top: 20px; }
    .post-p { font-size: 17px; }
    .post-lede::first-letter { font-size: 58px; }
    .pick { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px; }
    .pick-name { font-size: 24px; }
    .pick-actions .btn { width: 100%; }
    .edit-grid-all { display: grid; overflow: visible; margin: 0; padding: 0; }
    .edit-grid-all .post-card { flex: initial; }
    .post-md { font-size: 17px; }
    .post-md > p:first-child::first-letter { font-size: 58px; }
    .receipt { padding: 24px 18px 30px; }
    .round { padding: 16px; }
    .round-choices { gap: 8px; }
    .round-letter { width: 32px; height: 32px; font-size: 16px; left: 8px; top: 8px; }
    .round-answer { grid-template-columns: minmax(0, 1fr); }
}

/* "#dupe isn't affiliated with or endorsed by <brand>." under the original */
.brand-note { font-size: 12px; line-height: 1.5; color: var(--espresso); opacity: .8; margin: 2px 0 8px; }

/* The caption tucked into the bottom-right corner of the original's photo (product page) */
.photo-note { position: absolute; right: 14px; bottom: 14px; z-index: 1; max-width: calc(100% - 28px); margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(247, 244, 239, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--espresso); font-size: 11px; line-height: 1.35; letter-spacing: .02em; text-align: right; box-shadow: 0 2px 10px rgba(55, 46, 43, .08); }
@media (max-width: 860px) { .photo-note { right: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 5px 10px; font-size: 10px; } }

/* ---------- Help + legal pages (phase 19) ---------- */
.prose h3 { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--espresso); margin: 1.6em 0 .6em; }
.prose li { margin-bottom: .45em; }
.prose .legal-updated { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--espresso); margin-bottom: 1.4em; }
.prose .faq { margin: 0 0 1.4em; }
.prose .faq details p { font-size: 16px; }
.prose .faq summary { font-size: 21px; }

/* ---------- Member accounts, Drip, pins + badges (phase 20) ---------- */
.notice { padding: 14px 18px; background: var(--white); border: 1px solid var(--sand); border-left: 3px solid var(--champagne); font-size: 15px; margin: 0 0 16px; }
.notice-warn { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-left-color: #B8933F; }
.notice-warn p { margin: 0; }
.notice a, .panel a:not(.btn):not(.stat-tile), .auth-card a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--espresso); }
.field input[type=password] { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--champagne); background: var(--ivory); font-size: 16px; color: var(--ink); border-radius: 0; }
.form-lead { margin: -8px 0 18px; font-size: 16px; }

.auth-layout { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 340px); justify-content: center; gap: 40px; padding-top: 48px; padding-bottom: 80px; align-items: start; }
.auth-card .form-title { margin-bottom: 18px; }
.auth-side { padding: 28px; background: var(--sand); display: flex; flex-direction: column; gap: 14px; }
.perk-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.55; }

.account-band { background: var(--sand); padding: 32px 0 0; }
.account-head { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 24px; }
.account-id { flex: 1 1 260px; min-width: 0; }
.account-name { font-size: clamp(36px, 4.4vw, 56px); overflow-wrap: anywhere; }
.account-meta { margin: 8px 0 0; font-size: 14px; }
.account-meta a { text-decoration: underline; text-underline-offset: 3px; }
.drip-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--espresso); color: var(--ivory); font-size: 15px; text-decoration: none; }
.drip-pill strong { font-size: 18px; font-weight: 600; }
.drip-pill:hover { background: var(--ink); color: var(--ivory); text-decoration: none; }
.account-tabs { display: flex; align-items: center; gap: 4px 24px; margin-top: 24px; overflow-x: auto; scrollbar-width: none; }
.account-tabs::-webkit-scrollbar { display: none; }
.account-tabs > a { padding: 14px 0 12px; border-bottom: 2px solid transparent; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; text-decoration: none; color: var(--espresso); }
.account-tabs > a.is-active { border-bottom-color: var(--espresso); color: var(--ink); }
.account-signout { margin-left: auto; }
.account-signout button { padding: 14px 0 12px; border: 0; background: none; font: inherit; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--espresso); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.account-notes { padding-top: 20px; }
.account-notes:empty { display: none; }
.account-body { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; padding-bottom: 80px; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.stat-tile { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; background: var(--white); border: 1px solid var(--sand); font-size: 14px; line-height: 1.35; color: var(--espresso); text-decoration: none; }
a.stat-tile:hover { border-color: var(--champagne); text-decoration: none; }
.stat-tile strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1; color: var(--ink); }
.stat-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--ivory); color: var(--champagne-ink); }

.account-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 24px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--sand); padding: 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel-title { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; color: var(--ink); margin: 0; }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.panel-count { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.panel-lead { margin: -6px 0 0; font-size: 15px; }
.panel .text-link { align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.panel .empty { margin: 0; padding: 0; background: none; text-align: left; font-size: 15px; }

.next-item { display: flex; gap: 16px; align-items: center; }
.next-body { flex: 1; min-width: 0; }
.next-name { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.15; color: var(--ink); }
.kind-tag { margin-left: 6px; font-family: var(--sans); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne-ink); vertical-align: 3px; }
.next-how { margin: 4px 0 8px; font-size: 14px; }
.meter { height: 6px; border-radius: 3px; background: var(--sand); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--champagne); border-radius: 3px; }
.meter-label { margin: 4px 0 0; font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }

.entry-list { list-style: none; margin: 0; padding: 0; }
.entry-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--sand); font-size: 15px; }
.entry-date { font-size: 13px; }
.entry-amount { min-width: 56px; text-align: right; font-weight: 600; color: #4F6B4C; font-variant-numeric: tabular-nums; }
.entry-amount.is-minus { color: var(--espresso); font-weight: 500; }
.earn-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.earn-table th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 0 8px 8px 0; border-bottom: 1px solid var(--champagne); }
.earn-table td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--sand); vertical-align: top; }
.earn-table td:nth-child(2) { white-space: nowrap; font-weight: 600; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.pager a { text-decoration: underline; text-underline-offset: 3px; }
.pager-off { opacity: .45; }

.medal { position: relative; display: inline-grid; place-items: center; flex-shrink: 0; width: var(--medal-size); height: var(--medal-size); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFFFFF 0%, var(--medal-fill) 70%); box-shadow: inset 0 0 0 calc(var(--medal-size) * .045) var(--medal-ring), inset 0 0 0 calc(var(--medal-size) * .085) #FFFFFF, 0 2px 8px rgba(55, 46, 43, .12); overflow: hidden; }
.medal img { width: 100%; height: 100%; object-fit: cover; }
.medal-badge { border-radius: 30%; }
.medal.is-locked { filter: grayscale(1); opacity: .45; }
.avatar { display: inline-grid; place-items: center; flex-shrink: 0; width: var(--avatar-size); height: var(--avatar-size); border-radius: 50%; background: var(--avatar-tint); box-shadow: inset 0 0 0 1px rgba(55, 46, 43, .08); }
.account-link { padding: 0; }
.account-link .medal, .account-link .avatar { box-shadow: inset 0 0 0 1px rgba(55, 46, 43, .15); }

.medal-row { display: flex; flex-wrap: wrap; gap: 18px; }
.medal-card { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 96px; margin: 0; text-align: center; font-size: 13px; line-height: 1.3; }
.medal-card small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--champagne-ink); }
.featured-row { display: flex; gap: 14px; }
.medal-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(168px, 100%), 1fr)); gap: 12px; }
.medal-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 14px; background: var(--ivory); border: 1px solid var(--sand); text-align: center; }
.medal-tile.is-owned { background: var(--white); border-color: var(--champagne); }
.medal-name { margin: 6px 0 0; font-family: var(--serif); font-size: 19px; line-height: 1.15; color: var(--ink); }
.medal-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0; }
.rarity, .tag { padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.rarity-common { background: #EFE7DD; }
.rarity-uncommon { background: #E3EBDF; color: #4F6B4C; }
.rarity-rare { background: #F3E1DC; color: #8A4E43; }
.rarity-legendary { background: #F1E6C8; color: #7A5E1E; }
.tag { border: 1px solid var(--champagne); }
.medal-state, .medal-how { margin: 0; font-size: 13px; line-height: 1.4; }
.medal-tile .meter { width: 100%; margin-top: 4px; }

.set-list { display: flex; flex-direction: column; gap: 16px; }
.set-card { padding: 20px; background: var(--ivory); border: 1px solid var(--sand); display: flex; flex-direction: column; gap: 14px; }
.set-head { display: flex; justify-content: space-between; gap: 12px; }
.set-name { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--ink); }
.set-prize { margin: 4px 0 0; font-size: 14px; font-weight: 600; }
.set-desc, .set-status { margin: 0; font-size: 14px; }

.panel-invite { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; background: var(--sand); border-color: var(--sand); }
.panel-invite > div:first-child { flex: 1 1 320px; }
.panel-invite p { margin: 6px 0 0; font-size: 15px; }
.copy-field { display: flex; flex: 1 1 340px; max-width: 520px; }
.copy-field input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border: 1px solid var(--champagne); border-right: 0; background: var(--white); font-size: 14px; color: var(--ink); }

.settings-main > .panel { max-width: 860px; }
.avatar-picker { display: flex; flex-wrap: wrap; gap: 10px; }
.avatar-option { position: relative; display: inline-grid; place-items: center; padding: 4px; border-radius: 50%; cursor: pointer; }
.avatar-option input { position: absolute; opacity: 0; pointer-events: none; }
.avatar-option:has(input:checked) { box-shadow: 0 0 0 2px var(--espresso); }
.avatar-option:has(input:focus-visible) { outline: 2px solid var(--espresso); outline-offset: 3px; }
.feature-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.feature-option { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; padding: 14px 8px 12px; border: 1px solid var(--sand); border-radius: 14px; background: #fff; text-align: center; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.feature-option input { position: absolute; opacity: 0; pointer-events: none; }
.feature-option:hover { border-color: var(--sand-deep); }
.feature-option:has(input:checked) { border-color: var(--espresso); background: var(--ivory); box-shadow: 0 0 0 1px var(--espresso); }
.feature-option:has(input:focus-visible) { outline: 2px solid var(--espresso); outline-offset: 3px; }
.feature-option:has(input:disabled) { opacity: .45; cursor: default; }
.feature-name { font-size: 13px; line-height: 1.25; }
.feature-check { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--sand-deep); background: #fff; color: transparent; }
.feature-option:has(input:checked) .feature-check { border-color: var(--espresso); background: var(--espresso); color: #fff; }
.danger-zone summary { cursor: pointer; list-style: none; font-size: 22px; }
.danger-zone summary::-webkit-details-marker { display: none; }
.danger-zone[open] summary { margin-bottom: 12px; }

@media (max-width: 900px) {
    .auth-layout { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
    .account-band { padding-top: 24px; }
    .panel { padding: 20px; }
    .featured-row { width: 100%; }
}
@media (max-width: 520px) {
    .entry-list li { grid-template-columns: minmax(0, 1fr) auto; }
    .entry-date { display: none; }
    .medal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .copy-field { flex-direction: column; gap: 8px; }
    .copy-field input { border-right: 1px solid var(--champagne); }
}
.field label.feature-option, .field label.avatar-option { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); }
.coupon-form .copy-field { flex: none; }

/* ---------- The Drip Drop + Dupe Bid (phase 20b) ---------- */
.shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.shop-head > .stack-sm { flex: 1 1 420px; }
.shop-body { display: flex; flex-direction: column; gap: 32px; padding-top: 32px; padding-bottom: 80px; }
.shop-body > .notice { margin: 0; }
.shop-body .section-title, .shop-body section > h2:not(.panel-title) { font-family: var(--serif); font-weight: 500; font-size: 34px; color: var(--ink); margin: 0 0 16px; }
.shop-grid, .drop-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.shop-card, .drop-card { background: var(--white); border: 1px solid var(--sand); display: flex; flex-direction: column; }
.drop-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.drop-link:hover { text-decoration: none; }
.drop-card:hover { border-color: var(--champagne); }
.shop-art { display: grid; place-items: center; padding: 28px 16px; background: var(--ivory); border-bottom: 1px solid var(--sand); min-height: 196px; }
.art-img { max-width: 100%; height: auto; object-fit: contain; }
.art-tile { display: grid; place-items: center; width: var(--art-size); height: var(--art-size); border-radius: 18%; background: var(--sand); box-shadow: inset 0 0 0 1px rgba(55, 46, 43, .08); }
.shop-info { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.shop-info form, .shop-info .btn { margin-top: auto; align-self: flex-start; }
.shop-kind { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne-ink); }
.shop-name { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.1; color: var(--ink); }
.shop-desc { margin: 0; font-size: 14px; line-height: 1.5; }
.shop-price { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.shop-limit { margin: 0 0 10px; font-size: 13px; }
.shop-state { margin: auto 0 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.result-list { list-style: none; margin: 0; padding: 0; }
.result-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--sand); font-size: 15px; }
.result-list a { text-decoration: underline; text-underline-offset: 3px; }
.result-date { font-size: 13px; }
.rules { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.55; }

.drop-page { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 48px; padding-top: 16px; padding-bottom: 80px; align-items: start; }
.drop-art { display: grid; place-items: center; padding: 48px 24px; background: var(--sand); }
.drop-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.drop-main .notice { margin: 0; }
.drop-prize { margin: 0; font-size: 16px; }
.drop-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--sand); border: 1px solid var(--sand); }
.drop-stats div { background: var(--white); padding: 14px 16px; }
.drop-stats dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.drop-stats dd { margin: 4px 0 0; font-family: var(--serif); font-size: 28px; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.drop-leading { margin: 0; padding: 10px 14px; background: #E3EBDF; color: #3E5A3B; font-weight: 600; font-size: 14px; }
.bid-form { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: var(--white); border: 1px solid var(--sand); }
.bid-form input[type=number] { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid var(--champagne); border-right: 0; background: var(--ivory); font-size: 18px; color: var(--ink); }
.bid-form .copy-field { max-width: 420px; flex: none; }
.drop-history .entry-list li { font-size: 14px; }

@media (max-width: 900px) {
    .drop-page { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .drop-art { padding: 28px 16px; }
    .drop-stats dd { font-size: 22px; }
}

/* The Drip icon sits on the text baseline like a currency mark. */
.drip-icon { display: inline-block; vertical-align: -0.2em; width: auto; filter: drop-shadow(0 1px 1px rgba(23, 23, 23, .18)); }

/* ---------- Scrollbars: a slim champagne line on a soft sand track, no arrow buttons ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 999px; background: linear-gradient(90deg, #C9B39F, var(--champagne)) padding-box; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, var(--champagne), var(--espresso)) padding-box; border-width: 2px; }
::-webkit-scrollbar-button, ::-webkit-scrollbar-corner { display: none; width: 0; height: 0; background: transparent; }
.rail-scroll::-webkit-scrollbar { height: 6px; }
.rail-scroll::-webkit-scrollbar-track { margin: 0 4px; border-radius: 999px; background: linear-gradient(var(--sand), var(--sand)) center / 100% 2px no-repeat; }
.rail-scroll::-webkit-scrollbar-thumb { border: 0; background: linear-gradient(90deg, #D8C6B4, var(--champagne) 50%, #8E7663); }
.rail-scroll::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, var(--champagne), var(--espresso)); }
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { border: 0; }
/* Firefox (no ::-webkit-scrollbar): thin champagne. Chrome ignores the webkit rules above when these are set, so Firefox only. */
@supports not selector(::-webkit-scrollbar) {
    .rail-scroll, .sidebar, .compare { scrollbar-width: thin; scrollbar-color: var(--champagne) transparent; }
}

/* ---------- Rounded corners (Oct 20, Donnel's call: everything boxy gets soft corners) ---------- */
:root { --radius: 16px; --radius-sm: 10px; }
.trend-card, .card, .empty, .team-card, .stat-card, .route-card, .form-card, .report-pair, .post-card, .dupe, .compare,
.post-toc, .pick, .receipt, .round, .splurge-score, .notice, .auth-side, .stat-tile, .panel, .medal-tile, .set-card,
.shop-card, .drop-card, .bid-form, .lookbook-frame, .drop-stats, .drop-art, .post-disclosure, .post-sponsored, .lookbook-card,
  .promo, .post-hero { border-radius: var(--radius); }
.card, .trend-card, .team-card, .post-card, .shop-card, .drop-card, .drop-stats, .lookbook-frame, .post-hero, .dupe { overflow: hidden; }
.card-media, .trend-side, .team-photo, .battle-img, .dupe-img, .original-img, .compare-media > img, .pick-side > img, .round-choice img,
.report-pair img, .lookbook-card img, .post-cover, .shop-art img, .drop-art img { border-radius: var(--radius-sm); }
.card .card-media, .trend-card .trend-side, .team-card .team-photo, .post-card .post-cover { border-radius: 0; }
.btn, .tag, .card-badge, .dupe-img-hint, .post-sponsored-tag, .skip-link, .select, .field input[type=text], .field input[type=email],
.field input[type=url], .field input[type=password], .field textarea, .field .select { border-radius: var(--radius-sm); }
.copy-field input, .bid-form input[type=number] { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.copy-field .btn, .copy-field button { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
@media (max-width: 520px) {
    .copy-field input, .copy-field .btn, .copy-field button { border-radius: var(--radius-sm); }
}

/* Footer logo fills the brand column's top. */
.site-footer .logo img { height: 64px; max-width: 260px; }
@media (max-width: 860px) { .site-footer .logo img { height: 56px; max-width: 220px; } }
/* Footer: the brand column is a little wider so the tagline stays on one line. */
.footer-tag { white-space: nowrap; }
@media (min-width: 861px) { .footer-grid { grid-template-columns: minmax(250px, 1.25fr) repeat(4, minmax(0, 1fr)); } }

/* ---------- QoL 3 (Oct 20) ---------- */
/* Footer divider lines up with the content columns, not the page gutters. */
.footer-bottom { border-top: 0; background: linear-gradient(var(--espresso), var(--espresso)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; }

/* Trending cards: brand on its own line, product name up to two lines (no mid-word cut). */
.trend-title { display: flex; flex-direction: column; gap: 4px; }
.trend-brand { font-size: 11px; letter-spacing: .16em; color: var(--espresso); }
.trend-name { font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.25; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Long one-word brand names (Birkenstock) tighten the letter spacing instead of shrinking far below their neighbors. */
.brand-circle[data-long] { padding: 8px; letter-spacing: .02em; font-size: min(17px, calc(118px / (var(--chars, 8) * .7))); }
@media (max-width: 760px) { .brand-circle[data-long] { font-size: min(14px, calc(100px / (var(--chars, 8) * .7))); } }

/* Popular Brands runs straight into the catalog (same background): don't stack two sections of padding. */
#brands + #catalog { padding-top: 0; }

/* Short lineups (1-2 dupes) have no sidebar; keep the cards a readable width. */


/* ---------- Brand roundup: "The best <Brand> dupes" (App\Support\BrandRoundup) ---------- */
.display-sm { font-size: clamp(28px, 3vw, 38px); line-height: 1.05; }
.roundup { padding: 64px 0 24px; }
.roundup-inner { display: flex; flex-direction: column; gap: 48px; }
.roundup-intro { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.bpicks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.bpick { position: relative; display: grid; grid-template-columns: 56px minmax(0, 320px) minmax(0, 1fr); gap: 28px; align-items: center; padding: 24px; background: var(--white); border-radius: var(--radius); }
.bpick-rank { align-self: start; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--champagne-ink); }
.bpick-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-sm); overflow: hidden; text-decoration: none; }
.bpick-side { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--product-bg, var(--ivory)); }
.bpick-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bpick-side img[data-cutout] { object-fit: contain; padding: 8%; }
.bpick-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bpick-for { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--espresso); }
.bpick-for a { color: inherit; }
.bpick-name { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; color: var(--ink); }
.bpick-summary { font-size: 15px; line-height: 1.6; max-width: 640px; }
.bpick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.bpick-unavailable { font-size: 13px; padding: 8px 14px; border: 1px dashed var(--champagne); border-radius: 999px; }
.roundup-table-wrap, .roundup-faq { display: flex; flex-direction: column; gap: 16px; }
.roundup-faq { max-width: 860px; }
.table-scroll { overflow-x: auto; }
.roundup-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.roundup-table th, .roundup-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--sand); vertical-align: top; }
.roundup-table thead th { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--espresso); background: var(--ivory); }
.roundup-table tbody th { font-weight: 500; }
.roundup-table tbody tr:last-child > * { border-bottom: 0; }
.roundup-table a { color: var(--ink); }
.roundup + .panel-bar + .with-sidebar, .roundup + .with-sidebar { padding-top: 24px; }
@media (max-width: 860px) {
    .roundup { padding: 40px 0 8px; }
    .roundup-inner { gap: 36px; }
    .bpick { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; }
    .bpick-rank { position: absolute; top: 24px; left: 24px; z-index: 2; font-size: 28px; color: var(--ivory); text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
    .bpick-name { font-size: 24px; }
    .roundup-table { min-width: 640px; }
}
.post-more { margin: 8px 0 24px; }

/* ---------- Mobile pass (Oct 21) ---------- */
/* Account tabs scroll sideways on phones: fade the right edge so a cut-off tab reads as "more this way". */
@media (max-width: 760px) {
    .account-tabs { padding-right: 40px; -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
}


/* ---------- Drip Room: public member profile (site.profile.show) ---------- */
.room-band { background: linear-gradient(180deg, var(--sand) 0%, var(--ivory) 100%); padding: 32px 0 8px; }
.room-head { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(220px, 300px); gap: 32px; align-items: center; padding: 32px; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); box-shadow: 0 2px 18px rgba(55, 46, 43, .06); }
.room-avatar { position: relative; }
.room-avatar .avatar, .room-avatar .medal { box-shadow: 0 0 0 6px var(--ivory), 0 0 0 7px var(--champagne), 0 6px 18px rgba(55, 46, 43, .14); }
.room-avatar-edit { position: absolute; right: 6px; bottom: 6px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--champagne); color: var(--espresso); }
.room-id { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.room-name { font-size: clamp(34px, 4vw, 52px); line-height: 1; overflow-wrap: anywhere; }
.room-meta { font-size: 15px; color: var(--espresso); }
.room-title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 21px; color: var(--ink); }
.room-next { font-size: 13px; color: var(--espresso); }
.room-featured { margin-top: 12px; }
.room-featured-pins { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.room-featured-add { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 1px dashed var(--champagne); font-size: 24px; color: var(--champagne-ink); text-decoration: none; }
.room-featured-label { margin-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.room-featured-label span { margin-left: 8px; font-weight: 400; color: var(--espresso); }
.room-side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; }
.room-quote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.2; color: var(--espresso); overflow-wrap: anywhere; }
.room-quote-empty { font-size: 14px; }
.love-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--champagne); border-radius: 999px; background: var(--white); color: var(--espresso); font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; transition: background .2s ease, color .2s ease; }
.love-btn:hover { background: var(--ivory); text-decoration: none; }
.love-btn[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.love-btn[aria-pressed="true"] svg path { fill: currentColor; }
.love-count { font-size: 14px; color: var(--espresso); }
.love-count strong { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); }
.room-stats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.room-stats li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px 20px; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); }
.room-stat-icon { grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ivory); }
.room-stats strong { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1; color: var(--ink); }
.room-stats li > span:last-child { font-size: 13px; color: var(--espresso); }
.room-body { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; padding-bottom: 80px; }
.room-panel { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); }
.room-panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.room-panel-head h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.room-flag { display: inline-block; padding: 5px 12px; border-radius: 6px; background: linear-gradient(90deg, #EAD9BF, #F4E9D8); font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--espresso); }
.room-count { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--espresso); }
.room-lead { font-size: 15px; color: var(--espresso); margin-top: -6px; }
.room-tabs .chip { min-height: 38px; padding: 0 16px; background: var(--ivory); border-color: var(--sand); font: inherit; font-size: 13px; cursor: pointer; }
.room-tabs .chip.is-active { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.room-badges, .room-pins { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.room-badges { grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr)); }
.room-pins { grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); }
.room-badge, .room-pin { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px; text-align: center; border-radius: var(--radius-sm); }
.room-pin { background: var(--ivory); border: 1px solid var(--sand); }
.room-pin.is-collected { background: linear-gradient(180deg, #FBF6EF, #F1E6D8); border-color: var(--champagne); }
.room-badge[hidden], .room-pin[hidden] { display: none; }
.room-item-name { margin: 6px 0 0; font-family: var(--serif); font-size: 18px; line-height: 1.15; color: var(--ink); }
.room-item-state { font-size: 13px; color: var(--espresso); }
.is-locked .room-item-name, .is-retired .room-item-name { color: var(--espresso); }
.room-rarity { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--sand); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--espresso); }
.room-rarity.rarity-rare { background: #F1D9CF; }
.room-rarity.rarity-legendary { background: var(--espresso); color: var(--ivory); }
.room-boards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.room-board { display: flex; flex-direction: column; gap: 4px; height: 100%; text-decoration: none; color: inherit; }
.room-board:hover { text-decoration: none; }
.room-board:hover .room-board-cover { box-shadow: var(--shadow); }
.room-board-cover { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); background: var(--product-bg, var(--ivory)); transition: box-shadow .2s ease; }
.room-board-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-board-empty { font-size: 13px; color: var(--espresso); }
.room-board-name { margin-top: 8px; font-family: var(--serif); font-size: 19px; color: var(--ink); }
.room-board-count { font-size: 13px; color: var(--espresso); }
.room-board-new { align-items: center; justify-content: center; gap: 10px; padding: 18px; min-height: 100%; border: 1px dashed var(--champagne); border-radius: var(--radius-sm); background: var(--ivory); text-align: center; }
.room-board-new input { width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid var(--sand); border-radius: var(--radius-sm); background: var(--white); font: inherit; font-size: 14px; }
.room-board-plus { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--champagne); font-size: 22px; color: var(--champagne-ink); }
.room-hint { font-size: 13px; color: var(--espresso); }
.room-invite { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; background: var(--sand); }
.board-body { display: flex; flex-direction: column; gap: 24px; padding-top: 32px; padding-bottom: 80px; }
.board-item { display: flex; flex-direction: column; gap: 8px; }
.board-remove { text-align: center; }
.board-remove button { border: 0; background: none; font: inherit; font-size: 13px; color: var(--espresso); cursor: pointer; }
.board-manage { max-width: 560px; }

/* Pin dialog on lineup pages */
.pin-dialog { width: min(440px, calc(100vw - 32px)); padding: 24px; border: 0; border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: 0 20px 60px rgba(23, 23, 23, .25); }
.pin-dialog::backdrop { background: rgba(23, 23, 23, .45); }
.pin-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pin-dialog-title { font-family: var(--serif); font-weight: 500; font-size: 26px; }
.pin-dialog-sub { margin: 4px 0 14px; font-size: 14px; color: var(--espresso); }
.pin-boards { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 4px; max-height: 260px; overflow-y: auto; }
.pin-boards:empty { display: none; }
.pin-new { display: flex; gap: 8px; }
.pin-new input { flex: 1; min-width: 0; min-height: 40px; padding: 0 12px; border: 1px solid var(--sand); border-radius: var(--radius-sm); font: inherit; font-size: 14px; }
.pin-dialog-msg { min-height: 20px; margin: 10px 0 6px; font-size: 13px; color: var(--espresso); }

@media (max-width: 860px) {
    .room-head { grid-template-columns: auto minmax(0, 1fr); gap: 20px; padding: 22px; }
    .room-side { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
}
@media (max-width: 560px) {
    .room-head { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
    .room-avatar .avatar, .room-avatar .medal, .room-avatar .avatar-wrap { --avatar-size: 112px !important; --medal-size: 112px !important; }
    .room-id { align-items: center; }
    .room-featured-pins { justify-content: center; }
    .room-side { align-items: center; text-align: center; }
    .room-quote { font-size: 22px; }
    .room-stats { gap: 8px; }
    .room-stats li { padding: 12px 8px; grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 4px; }
    .room-stat-icon { width: 38px; height: 38px; grid-row: auto; }
    .room-stats strong { font-size: 24px; }
    .room-panel { padding: 20px 16px; }
    .room-pins { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .room-pin .medal { --medal-size: 76px !important; }
}

/* ---------- The Drip Drop: drops (auctions) + shop on one page ---------- */
.dd-section { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: calc(var(--header-h) + 16px); }
.dd-head { display: flex; flex-direction: column; gap: 6px; }
.dd-sub { max-width: 640px; font-size: 15px; color: var(--espresso); }
#how { scroll-margin-top: calc(var(--header-h) + 16px); }
.shop-head .chip-row { margin-top: 8px; }

/* Admin shortcuts on lineup pages (signed-in admins only) */
.admin-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 12px; padding: 8px 14px; font-size: 13px; background: var(--ink); color: var(--ivory); border-radius: var(--radius-sm); }
.admin-strip span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.admin-strip a { display: inline-flex; align-items: center; gap: 6px; color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
.admin-edit { display: inline-flex; align-items: center; gap: 5px; width: fit-content; font-size: 12px; color: var(--espresso); text-decoration: underline; text-underline-offset: 3px; }

/* Lineup actions: one row on desktop (See the dupes, Save, Pin, Share), two rows on phones; the store link sits under them. */
.original-copy .actions { flex-wrap: nowrap; gap: 10px; }
.original-copy .actions .btn { padding: 0 18px; white-space: nowrap; }
.original-link { display: inline-block; margin-top: 2px; }
@media (max-width: 1100px) and (min-width: 861px) { .original-copy .actions .btn { padding: 0 12px; letter-spacing: .1em; } }
@media (max-width: 860px) {
    .original-copy .actions { flex-wrap: wrap; }
    .original-copy .actions .btn { flex: 1 1 calc(50% - 5px); }
}

/* Dupe Battle: the original for reference beside the question. */
.battle-original { display: flex; flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; gap: 12px; padding: 12px 12px 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius-sm); color: var(--ivory); text-decoration: none; }
.battle-original:hover { border-color: var(--champagne); color: var(--ivory); text-decoration: none; }
.battle-original-img { position: relative; flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--product-bg); isolation: isolate; }
.battle-original-img .original-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.battle-original-text { display: flex; flex-direction: column; gap: 2px; }
.battle-original-name { font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.battle-original-text { padding: 0 4px; }
@media (max-width: 860px) {
    .battle-original { max-width: 280px; }
}

/* Post hero collage: product photos (often cut-outs on white) sit contained on the product background, three even
   tiles across, instead of being cropped by "cover" into one huge and one sliver-thin photo. */
.post-hero .post-cover-collage { background: var(--ivory); gap: 6px; }
.post-hero .post-cover-collage.post-cover-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); }
.post-hero .post-cover-collage.post-cover-n3 img:first-child { grid-row: auto; }
.post-hero .post-cover-collage img { object-fit: contain; padding: 6%; background: var(--product-bg); mix-blend-mode: var(--product-blend); }

/* Share buttons on Edit posts: a small one in the byline, a bigger one where the post ends. */
.post-byline .post-share { min-height: 32px; padding: 0 12px; margin-left: 6px; font-size: 11px; vertical-align: middle; }
.post-share-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; padding: 8px 0 40px; text-align: center; }
.post-share-title { font-family: var(--serif); font-size: 24px; color: var(--ink); }

/* Request a dupe (site.pages.request) */
.request-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 40px; padding-bottom: 72px; }
.request-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.request-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.request-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--sand); }
.request-list li:first-child { border-top: 0; }
.request-name { min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.request-name small { display: block; font-size: 12px; color: var(--champagne-ink); }
.request-state { flex: 0 0 auto; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.request-state.is-found { color: var(--ink); }
.request-follow summary { list-style: none; cursor: pointer; }
.request-follow summary::-webkit-details-marker { display: none; }
.request-follow[open] form { display: flex; gap: 8px; margin-top: 8px; }
.request-follow input { min-width: 0; flex: 1; padding: 8px 12px; border: 1px solid var(--sand-deep); border-radius: var(--radius-sm); }
.request-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 20px 24px; background: var(--sand); border-radius: var(--radius); }
.request-cta p { font-family: var(--serif); font-size: 22px; color: var(--ink); }
@media (max-width: 860px) { .request-layout { grid-template-columns: minmax(0, 1fr); padding-top: 24px; } }

/* Related finds at the end of a lineup page */
.related-finds .related-row { padding-top: 40px; padding-bottom: 0; }
.related-finds .related-row:last-child { padding-bottom: 72px; }
.related-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }

/* Search recovery */
.empty-chips { justify-content: center; margin: 4px 0 8px; }
.empty .empty-request { max-width: 640px; margin: 20px auto 0; text-align: left; }
.board-section-title { margin: 8px 0 16px; }

/* Charm notices: unlocked charms and progress, stacked bottom right (App\Support\CharmNotices, dupe.js). */
.charm-stack { position: fixed; right: 20px; bottom: 20px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.charm-notice { position: relative; display: flex; align-items: center; gap: 12px; width: min(340px, calc(100vw - 32px)); padding: 12px 38px 12px 12px; background: var(--white); color: var(--espresso); border: 1px solid var(--sand); border-left: 3px solid var(--champagne); border-radius: var(--radius-sm); box-shadow: var(--shadow); text-decoration: none; pointer-events: auto; opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.charm-notice.is-visible { opacity: 1; transform: translateY(0); }
.charm-notice:hover { text-decoration: none; color: var(--espresso); }
.charm-notice.is-unlocked { border-left-color: var(--espresso); }
.charm-notice-art { flex: 0 0 auto; line-height: 0; }
.charm-notice-art .medal { --medal-size: 44px !important; }
.charm-notice-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; line-height: 1.35; }
.charm-notice-body strong { font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.15; color: var(--ink); }
.charm-notice-bar { display: block; height: 4px; margin-top: 6px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.charm-notice-bar span { display: block; height: 100%; background: var(--champagne); border-radius: inherit; }
.charm-notice-close { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: var(--espresso); font-size: 18px; line-height: 1; cursor: pointer; }
.charm-notice-close:hover, .charm-notice-close:focus-visible { background: var(--ivory); }
@media (max-width: 560px) {
    .charm-stack { right: 12px; left: 12px; bottom: 76px; align-items: stretch; }
    .charm-notice { width: auto; }
}
@media (prefers-reduced-motion: reduce) { .charm-notice { transition: none; transform: none; } }

/* Cards: the image area is its own layer (isolation, for the photo blend), which trapped the save heart under the
   card's full-card link, so tapping the heart opened the lineup instead of saving it. Lift the image layer above
   the link, let clicks pass through it to the link, and keep the heart (and badges) clickable. */
.card .card-media { z-index: 2; pointer-events: none; }
.card .card-media .heart { pointer-events: auto; }

/* Saved page sections; Save / Pin under each dupe on a lineup; the pin button on shop cards */
.saved-title { margin-bottom: 16px; }
.dupe-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.dupe-top .badges { margin: 0; }
.dupe-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.dupe-tool { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; color: var(--espresso); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--sand-deep); }
.dupe-tool:hover { color: var(--ink); text-decoration-color: currentColor; }
.dupe-tool[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.dupe-tool[aria-pressed="true"] svg { fill: currentColor; }
.card .card-media .heart-pin { top: 64px; }
@media (max-width: 860px) { .card .card-media .heart-pin { top: 56px; } }

/* Removable filter chips above results */
.filter-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: -4px 0 16px; }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--espresso); color: var(--ivory); font-size: 13px; text-decoration: none; }
.filter-chip:hover { background: var(--ink); color: var(--ivory); text-decoration: none; }
.filter-chip span { font-size: 16px; line-height: 1; opacity: .8; }

/* First-visit intro band (guests) */
.intro-band { background: var(--sand); border-bottom: 1px solid var(--sand-deep); }
.intro-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 12px; padding-bottom: 12px; }
.intro-steps { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; padding: 0; list-style: none; counter-reset: intro; font-size: 14px; }
.intro-steps li { counter-increment: intro; display: flex; align-items: baseline; gap: 8px; }
.intro-steps li::before { content: counter(intro); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--espresso); color: var(--ivory); font-size: 12px; font-weight: 600; }
.intro-steps li + li::after { content: none; }
.intro-actions { display: flex; align-items: center; gap: 16px; }
@media (max-width: 860px) { .intro-steps { flex-direction: column; gap: 6px; font-size: 13px; } }

/* Rewards panel from the header avatar (members) */
.rewards-menu { position: relative; }
.rewards-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: min(340px, calc(100vw - 24px)); padding: 18px; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.rewards-panel[hidden] { display: none; }
.rp-head { display: flex; align-items: center; gap: 12px; }
.rp-name { font-family: var(--serif); font-size: 20px; line-height: 1.1; color: var(--ink); }
.rp-drip { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.rp-drip strong { color: var(--ink); }
.rp-block { padding-top: 12px; border-top: 1px solid var(--sand); display: flex; flex-direction: column; gap: 8px; }
.rp-label { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.rp-label span { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--champagne-ink); }
.rp-charms { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rp-quiet { font-size: 12.5px; line-height: 1.45; }
.rp-next { display: flex; gap: 12px; align-items: flex-start; }
.rp-next-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rp-next-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.rp-recent { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.rp-recent li { display: flex; justify-content: space-between; gap: 12px; }
.rp-recent strong { color: var(--ink); }
.rp-recent strong.is-minus { color: var(--espresso); font-weight: 500; }
.rp-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding-top: 12px; border-top: 1px solid var(--sand); font-size: 13px; }
@media (max-width: 860px) { .rewards-panel { position: fixed; top: calc(var(--header-h) + 6px); right: 12px; } }
.flash-wrap { padding-top: 16px; }
.notify-prefs { display: flex; flex-direction: column; gap: 10px; }
.notify-prefs .check, .notify-prefs .check span { text-transform: none; letter-spacing: normal; font-size: 15px; font-weight: 400; }
.notify-prefs .check strong { font-weight: 600; }

/* Continue with Google / Apple / Facebook */
.social-auth { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 8px; }
.social-btn { width: 100%; justify-content: center; letter-spacing: .08em; }
.social-apple { background: #000; border-color: #000; color: #fff; }
.social-apple:hover { background: #222; color: #fff; }
.social-or { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--espresso); }
.social-or::before, .social-or::after { content: ''; flex: 1; height: 1px; background: var(--sand); }
.avatar-art { overflow: hidden; }
.avatar-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Five menu items on laptop widths: keep each on one line (the search box gives a little room). */
.main-nav a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1240px) {
    .main-nav { gap: 8px 18px; letter-spacing: .1em; font-size: 11.5px; }
    .header-search { width: clamp(150px, 18vw, 240px); }
}
/* Narrow laptops (861-1040px): the search box becomes the search icon (opens a full-width bar), like on phones. */
@media (min-width: 861px) and (max-width: 1040px) {
    .header-tools [data-search-toggle].only-mobile { display: inline-grid !important; }
    .site-header .header-search { display: none; position: absolute; left: 0; right: 0; top: 100%; width: auto; margin: 0; border-radius: 0; border-width: 0 0 1px; padding: 6px 40px; background: var(--ivory); }
    .site-header .header-search.is-open { display: flex; }
    .header-inner { position: relative; }
}

/* Dupe Battle page */
.battle-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.battle-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; padding-top: 64px; padding-bottom: 88px; }
.battle-how { display: flex; flex-direction: column; gap: 16px; }
.battle-steps { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.battle-steps li { position: relative; padding-left: 44px; font-size: 15px; line-height: 1.55; counter-increment: step; }
.battle-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-family: var(--serif); font-size: 22px; color: var(--champagne-ink); }
.battle-steps strong { display: block; color: var(--ink); }
.battle-record { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--sand); font-size: 14px; }
.battle-standings { display: flex; flex-direction: column; gap: 18px; }
.standings-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sand); }
.standing { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--sand); color: var(--ink); text-decoration: none; }
.standing:hover { text-decoration: none; color: var(--ink); }
.standing:hover .standing-brand { text-decoration: underline; text-underline-offset: 3px; }
.standing-img { flex: 0 0 64px; width: 64px; height: 64px; overflow: hidden; border-radius: 8px; background: var(--product-bg); }
.standing-img img { width: 100%; height: 100%; object-fit: contain; }
.standing-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.standing-brand { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.standing-winner { overflow: hidden; font-size: 13px; color: var(--espresso); white-space: nowrap; text-overflow: ellipsis; }
.standing-pct { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; }
.standing-pct strong { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.standing-pct small { font-size: 12px; color: var(--espresso); }
@media (max-width: 860px) {
    .battle-more { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 44px; padding-bottom: 64px; }
}
.standings-title { font-size: clamp(28px, 3vw, 38px); }
.field label.feature-option { padding: 18px 10px 14px; font-size: 13px; line-height: 1.25; }
.battle [data-battle-next][hidden] { display: none; }

/* Settings: form on the left, "Ways to earn Drip" on the right */
.settings-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.settings-layout > .settings-main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.settings-main > .panel { max-width: none; }
.earn-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 14px; }
.earn-list { margin: 0; padding: 0; list-style: none; }
.earn-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--sand); }
.earn-list li:last-child { border-bottom: 0; }
.earn-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 14px; line-height: 1.3; color: var(--ink); }
.earn-text a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sand-deep); text-underline-offset: 3px; }
.earn-text small { font-size: 12px; color: var(--espresso); }
.earn-amt { flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; background: var(--sand); font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.earn-list li.is-done .earn-text { color: var(--espresso); }
.earn-list li.is-done .earn-amt { background: transparent; border: 1px solid var(--sand-deep); color: var(--espresso); }
.earn-list li.is-done small::before { content: "\2713  "; }
/* The column got longer (Oct 24e): it scrolls inside itself instead of running past the screen while sticky. */
.earn-aside { max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; overscroll-behavior: contain; }
.earn-subtitle { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--sand); font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.follow-list [data-follow-claim] { flex: 0 0 auto; min-height: 36px; padding: 0 14px; }
.follow-list [data-follow-note][data-counting] { font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) {
    .settings-layout { grid-template-columns: minmax(0, 1fr); }
    .earn-aside { position: static; max-height: none; overflow: visible; }
}

/* ---------- Oct 25: daily tasks, upvotes, extra loves, avatar decorations, animated charms, titles, set prizes ---------- */

/* Upvote pill beside "Brand · The original" on lineup pages */
.original-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.original-top .eyebrow { margin: 0; }
.upvote { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--champagne); border-radius: 999px; background: var(--white); color: var(--espresso); font: inherit; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; text-decoration: none; transition: background .2s ease, color .2s ease; }
.upvote:hover { background: var(--ivory); text-decoration: none; }
.upvote[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.upvote[aria-pressed="true"] svg path { fill: currentColor; }

/* Love again (1 Drip) under the Love button */
.love-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; }
.love-extra[hidden] { display: none; }
.love-extra-btn { min-height: 36px; padding: 0 14px; border: 1px dashed var(--champagne); border-radius: 999px; background: transparent; color: var(--espresso); font: inherit; font-size: 13px; cursor: pointer; }
.love-extra-btn:hover:not(:disabled) { background: var(--ivory); }
.love-extra-btn:disabled { opacity: .5; cursor: not-allowed; }
.love-extra-note { font-size: 12px; color: var(--espresso); }

/* Daily tasks (rewards panel, Settings column, My Drip) */
.daily-tasks { display: flex; flex-direction: column; gap: 8px; }
.daily-tasks:not(.is-compact) { padding: 16px; margin-bottom: 18px; border: 1px solid var(--sand); border-radius: var(--radius-sm, 10px); background: var(--ivory); }
.daily-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0; }
.daily-title { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.daily-reward { font-size: 12px; font-weight: 600; color: var(--espresso); font-variant-numeric: tabular-nums; }
.daily-tasks.is-done .daily-reward { color: var(--ink); }
.daily-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.daily-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.3; color: var(--ink); }
.daily-check { flex: 0 0 auto; display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid var(--champagne); border-radius: 50%; font-size: 12px; color: var(--ivory); }
.daily-list li.is-done .daily-check { background: var(--espresso); border-color: var(--espresso); }
.daily-list li.is-done .daily-label { color: var(--espresso); text-decoration: line-through; text-decoration-color: var(--sand-deep, #CDBBA7); }
.daily-label a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sand-deep, #CDBBA7); text-underline-offset: 3px; }
.daily-label small { margin-left: 6px; font-size: 12px; color: var(--espresso); font-variant-numeric: tabular-nums; }
.earn-aside .daily-tasks { padding-bottom: 12px; border-bottom: 1px solid var(--sand); }
.notice-drip { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ivory); }

/* Drip Rooms to visit (rewards panel) */
.rp-rooms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.rp-rooms a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0; color: var(--ink); font-size: 11px; text-decoration: none; min-width: 0; }
.rp-rooms a span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-rooms a:hover span:last-child { text-decoration: underline; }

/* Avatar decorations: drawn over the picture at 120% of its size, centered */
.avatar-wrap { position: relative; display: inline-grid; place-items: center; flex-shrink: 0; width: var(--avatar-size); height: var(--avatar-size); }
.avatar-wrap > .avatar, .avatar-wrap > .medal { grid-area: 1 / 1; }
.avatar-decor { position: absolute; top: 50%; left: 50%; width: calc(var(--decor-scale, 1.2) * 100%); height: calc(var(--decor-scale, 1.2) * 100%); z-index: 1; transform: translate(-50%, -50%); pointer-events: none; }
.avatar-decor img { display: block; width: 100%; height: 100%; object-fit: contain; }
.decor-picker .avatar-option { flex-direction: column; gap: 8px; padding: 12px 10px 8px; border-radius: var(--radius-sm, 10px); }
.decor-picker .avatar-wrap, .decor-picker .avatar { margin: 6px; }
.decor-name { max-width: 88px; font-size: 12px; line-height: 1.2; text-align: center; color: var(--espresso); }
.decor-preview { display: inline-grid; place-items: center; padding: 20%; }
/* The decoration is the frame (Nov 12): no Drip Room ring behind it, just the soft shadow. */
.room-avatar .has-decor > .avatar, .room-avatar .has-decor > .medal { box-shadow: 0 6px 18px rgba(55, 46, 43, .14); }
/* Room for the part of the decoration that spills past the picture, so it doesn't run into the name. */
.room-avatar .has-decor { margin: calc(var(--avatar-size) * (var(--decor-scale, 1.2) - 1) / 2); }
.room-avatar:has(.has-decor) .room-avatar-edit { z-index: 2; }

/* Animated charms: loop by default; the still art shows for reduced motion */
.medal-motion { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.medal-still { display: none; }
@media (prefers-reduced-motion: reduce) {
    .medal-motion { display: none; }
    .medal-still { display: grid; place-items: center; position: absolute; inset: 0; }
    .medal-still img { width: 100%; height: 100%; object-fit: cover; }
}

/* How to earn a charm: shows on hover, keyboard focus or tap (the tile takes focus on tap) */
.has-tip { position: relative; }
.has-tip:focus-visible { outline: 2px solid var(--espresso); outline-offset: 2px; }
.charm-tip { position: absolute; z-index: 5; left: 50%; bottom: calc(100% - 6px); width: max-content; max-width: min(240px, 80vw); transform: translate(-50%, 4px); padding: 10px 12px; border-radius: var(--radius-sm, 10px); background: var(--ink); color: var(--ivory); font-size: 12px; line-height: 1.4; text-align: left; box-shadow: 0 8px 24px rgba(23, 23, 23, .18); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.charm-tip strong { display: block; margin-bottom: 2px; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #E9DDD0; }
.has-tip:hover .charm-tip, .has-tip:focus .charm-tip, .has-tip:focus-within .charm-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
/* Hidden tips take no space (Oct 29): an invisible tip near the edge made phones scroll sideways a few pixels. */
.charm-tip { display: none; }
.has-tip:hover .charm-tip, .has-tip:focus .charm-tip, .has-tip:focus-within .charm-tip { display: block; animation: charm-tip-in .15s ease; }
@keyframes charm-tip-in { from { opacity: 0; transform: translate(-50%, 4px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .has-tip:hover .charm-tip, .has-tip:focus .charm-tip, .has-tip:focus-within .charm-tip { animation: none; } }

/* Titles ladder (Rewards page; your own Drip Room) */
.title-ladder { list-style: none; margin: 12px 0 20px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--sand); }
.title-ladder li { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--sand); }
.title-name { flex: 1 1 auto; font-family: var(--serif); font-size: 20px; color: var(--ink); }
.title-need { font-size: 13px; color: var(--espresso); font-variant-numeric: tabular-nums; white-space: nowrap; }
.title-ladder li.is-reached .title-name::before { content: "\2713"; margin-right: 8px; font-family: var(--sans, inherit); font-size: 14px; color: var(--champagne-ink); }
.title-ladder li.is-current { background: linear-gradient(90deg, #FBF6EF, transparent); }
.title-you { padding: 2px 8px; border-radius: 999px; background: var(--espresso); color: var(--ivory); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.title-details { margin-top: 8px; }
.title-details summary { cursor: pointer; font-size: 13px; color: var(--espresso); text-decoration: underline; text-underline-offset: 3px; }
.title-details .title-ladder { margin-bottom: 0; }
.title-details .title-name { font-size: 17px; }

/* Set prizes */
.set-reward { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 12px; border: 1px dashed var(--champagne); border-radius: var(--radius-sm, 10px); }
.set-reward p { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.set-reward small { font-size: 12px; color: var(--espresso); }
.set-downloads { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 0; }

/* Ways to earn, grouped by how often (Oct 25) */
.earn-table-grouped tbody + tbody .earn-group th { padding-top: 26px; }
.earn-table .earn-group th { padding: 14px 8px 8px 0; border-bottom: 1px solid var(--champagne); text-align: left; letter-spacing: 0; text-transform: none; font-weight: 400; }
.earn-group-title { display: inline-block; margin-right: 8px; padding: 3px 10px; border-radius: 999px; background: var(--espresso); color: var(--ivory); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.earn-group-note { font-size: 13px; color: var(--espresso); }

/* Saved page: pinned boards (Oct 25) */
.saved-boards-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; }
.saved-boards-head .saved-title { margin: 0; }
.saved-boards .room-hint { margin-top: 12px; }

/* Charm editions, certificates, share cards, set prize shipping (Oct 28) */
.medal-edition { margin: 2px 0 0; font-family: var(--serif); font-size: 15px; color: var(--ink); }
.medal-cert { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
.room-edition { font-family: var(--serif); font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--champagne); }
.room-edition:hover { text-decoration: none; border-bottom-color: var(--ink); }
.set-cert { margin: 12px 0 0; }
.claim-form { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 8px; }
.ship-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; width: 100%; max-width: 640px; margin: 0; padding: 18px; border: 1px solid var(--sand-deep); border-radius: var(--radius-sm, 10px); background: var(--ivory); }
.ship-fields legend { padding: 0 6px; font-family: var(--serif); font-size: 20px; color: var(--ink); }
.ship-fields .ship-wide { grid-column: 1 / -1; }
.ship-fields .field > span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ship-fields .field input, .ship-fields .field .select { min-height: 44px; padding: 10px 12px; }
.ship-note { grid-column: 1 / -1; margin: 0; font-size: 13px; }
@media (max-width: 560px) { .ship-fields { grid-template-columns: minmax(0, 1fr); } }

.cert { padding: 56px 0 72px; background: linear-gradient(180deg, color-mix(in srgb, var(--sand) 55%, var(--ivory)) 0%, var(--ivory) 70%); }
.cert-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: start; }
.cert-card { position: relative; padding: 44px 44px 36px; background: var(--white); border: 1px solid color-mix(in srgb, var(--champagne) 45%, transparent); border-radius: var(--radius, 16px); text-align: center; box-shadow: var(--shadow); }
.cert-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid color-mix(in srgb, var(--champagne) 30%, transparent); border-radius: calc(var(--radius, 16px) - 6px); pointer-events: none; }
.cert-eyebrow { margin: 0 0 22px; color: var(--champagne-ink); }
.cert-art { display: flex; justify-content: center; margin-bottom: 18px; }
.cert-set-art { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 320px; }
.cert-title { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; color: var(--ink); }
.cert-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.cert-pill { padding: 2px 8px; border-radius: 999px; background: var(--sand); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cert-edition { margin: 14px 0 0; font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); color: var(--espresso); }
.cert-facts { display: grid; gap: 10px; max-width: 420px; margin: 26px auto 0; padding-top: 20px; border-top: 1px solid var(--sand); text-align: left; }
.cert-facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
.cert-facts dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--champagne-ink); padding-top: 3px; }
.cert-facts dd { margin: 0; color: var(--ink); }
.cert-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; letter-spacing: .04em; }
.cert-note { max-width: 440px; margin: 18px auto 0; font-size: 13px; }
.cert-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.cert-side { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cert-preview { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 420px; margin: 0; }
.cert-preview img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm, 10px); box-shadow: var(--shadow); background: var(--ivory); }
/* Label above the preview: small caps between two hairlines */
.cert-preview-label { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--champagne-ink); }
.cert-preview-label::before, .cert-preview-label::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--champagne) 45%, transparent); }
/* Keep collecting: horizontal bars linking to the Drip Drop and charm sets */
.cert-next { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 420px; }
.cert-next-tile { position: relative; display: grid; gap: 3px; padding: 14px 44px 14px 18px; background: var(--white); border: 1px solid color-mix(in srgb, var(--champagne) 40%, transparent); border-radius: var(--radius-sm, 10px); color: var(--espresso); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.cert-next-tile::after { content: "→"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--champagne-ink); transition: transform .2s ease; }
.cert-next-tile:hover { text-decoration: none; color: var(--espresso); border-color: var(--champagne); box-shadow: var(--shadow); transform: translateY(-2px); }
.cert-next-tile:hover::after { transform: translate(4px, -50%); color: var(--ink); }
.cert-next-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-ink); }
.cert-next-title { font-family: var(--serif); font-size: 21px; line-height: 1.15; color: var(--ink); }
.cert-next-meta { font-size: 13px; line-height: 1.4; }
.cert-join { border-top: 1px solid var(--sand); }
.cert-join-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.cert-join-inner p { max-width: 560px; margin: 8px 0 0; }
@media (max-width: 860px) {
    .cert { padding: 28px 0 48px; }
    .cert-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .cert-card { padding: 34px 20px 28px; }
    .cert-facts div { grid-template-columns: 92px minmax(0, 1fr); }
    .cert-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* Alpha notice above the header (Oct 28) */
.alpha-bar { background: var(--ink); color: var(--ivory); font-size: 13px; line-height: 1.4; }
.alpha-bar[hidden] { display: none; }
.alpha-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; position: relative; }
.alpha-inner p { margin: 0; padding-right: 28px; text-align: center; }
.alpha-tag { display: inline-block; margin-right: 8px; padding: 1px 8px; border: 1px solid var(--champagne); border-radius: 999px; color: var(--sand); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; vertical-align: 1px; }
.alpha-close { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--sand); font-size: 20px; line-height: 1; cursor: pointer; }
.alpha-close:hover { background: rgba(255, 255, 255, .1); color: var(--ivory); }
.alpha-close:focus-visible { outline: 2px solid var(--sand); outline-offset: 2px; }
@media (max-width: 860px) { .alpha-bar { font-size: 12px; } .alpha-inner p { text-align: left; } }

/* Account: latest unlocks link to their certificates; Drip Room featured charms + charm titles (Oct 28) */
.medal-card-link { color: var(--espresso); text-decoration: none; border-radius: var(--radius-sm, 10px); padding: 6px 2px; transition: transform .2s ease; }
.medal-card-link:hover { text-decoration: none; color: var(--ink); transform: translateY(-2px); }
.medal-card-link .medal-card-name { display: block; }
.medal-card-link small { margin-top: 2px; text-transform: none; letter-spacing: 0; font-family: var(--serif); font-size: 13px; color: var(--champagne-ink); }
.room-featured-link { display: inline-flex; border-radius: 50%; transition: transform .2s ease; }
.room-featured-link:hover { transform: translateY(-3px) scale(1.04); }
.room-featured-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.room-title-charm { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.room-title-charm a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--champagne); }
.room-title-charm a:hover { text-decoration: none; border-bottom-color: var(--ink); }
.room-title-rank { opacity: .75; }

/* Drip Room themes + streak flair (Oct 28) */
.room-themed { background: var(--ivory); color: var(--espresso); }
.room-themed .room-band { background: linear-gradient(180deg, var(--sand) 0%, var(--ivory) 100%); }
.room-themed .room-panel { border-color: var(--sand-deep); }
.streak-flair { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 2px 10px 2px 8px; border-radius: 999px; background: linear-gradient(135deg, #F6D7B0, #F3B78A); color: #8A3B12; font-size: 12px; font-weight: 600; letter-spacing: .02em; vertical-align: 1px; white-space: nowrap; }
.streak-flair svg { flex: none; }
.theme-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.theme-option { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 8px; border: 1px solid var(--sand-deep); border-radius: var(--radius-sm, 10px); background: var(--white); cursor: pointer; text-align: center; }
.theme-option input { position: absolute; opacity: 0; pointer-events: none; }
.theme-option:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.theme-option:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.theme-option.is-locked { cursor: not-allowed; background: var(--ivory); }
.theme-option.is-locked .theme-swatch { filter: grayscale(1); opacity: .45; }
.theme-swatch { display: grid; grid-template-columns: repeat(4, 1fr); width: 72px; height: 22px; overflow: hidden; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .08); }
.theme-swatch i:nth-child(1) { background: var(--sw-1); }
.theme-swatch i:nth-child(2) { background: var(--sw-2); }
.theme-swatch i:nth-child(3) { background: var(--sw-3); }
.theme-swatch i:nth-child(4) { background: var(--sw-4); }
.theme-option, .theme-option span { text-transform: none; letter-spacing: 0; }
.theme-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.theme-when { font-size: 11px; line-height: 1.3; }
.cert-first { display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 0; padding: 5px 14px; border-radius: 999px; background: var(--ink); color: var(--ivory); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.cert-retired { max-width: 360px; margin: 10px auto 0; font-size: 14px; color: var(--espresso); }

/* Leaderboards (Oct 28) */
.lb-band { padding: 48px 0 28px; background: linear-gradient(180deg, var(--sand) 0%, var(--ivory) 100%); }
.lb-band .display { margin: 4px 0 0; }
.lb-lead { max-width: 620px; margin: 10px 0 0; }
.lb-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; font-size: 14px; }
.lb-cta form { margin: 0; }
.lb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 12px; padding-bottom: 40px; }
.lb-board { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius, 16px); }
.lb-title { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--ink); }
.lb-blurb { margin: 2px 0 0; font-size: 12px; letter-spacing: .04em; color: var(--champagne-ink); }
.lb-empty { margin: 0; font-size: 14px; }
.lb-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lb-row { display: grid; grid-template-columns: 28px 36px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm, 10px); }
.lb-row:nth-child(odd) { background: var(--ivory); }
.lb-row.is-me { box-shadow: inset 0 0 0 1px var(--ink); }
.lb-rank { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; font-weight: 600; color: var(--espresso); background: var(--sand); }
.lb-row.is-top:nth-child(1) .lb-rank { background: #E7C980; color: #4A3712; }
.lb-row.is-top:nth-child(2) .lb-rank { background: #D9D9DE; color: #3B3B44; }
.lb-row.is-top:nth-child(3) .lb-rank { background: #E3B79A; color: #57301A; }
.lb-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--ink); }
a.lb-name:hover { text-decoration: underline; }
.lb-you { padding: 1px 8px; border-radius: 999px; background: var(--ink); color: var(--ivory); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.lb-score { font-family: var(--serif); font-size: 20px; color: var(--ink); white-space: nowrap; grid-column: 5; }
.lb-score small { font-family: var(--sans); font-size: 11px; color: var(--champagne-ink); }
.lb-last { padding-bottom: 72px; }
.lb-last-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 14px; }
.lb-last-card { padding: 18px 20px; border: 1px solid var(--sand); border-radius: var(--radius-sm, 10px); background: var(--ivory); }
.lb-last-board { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--champagne-ink); }
.lb-last-card ol { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lb-last-card li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.lb-last-card small { margin-left: auto; color: var(--champagne-ink); }
@media (max-width: 1000px) { .lb-grid, .lb-last-grid { grid-template-columns: minmax(0, 1fr); } }

/* Charm collection headings: Drip Room + My charms (Oct 29) */
.charm-group + .charm-group { margin-top: 28px; }
.charm-group-title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 4px; padding-top: 14px; border-top: 1px solid var(--sand); font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.charm-group-title span { font-family: var(--sans, inherit); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--champagne-ink); font-variant-numeric: tabular-nums; }
.charm-group-blurb { margin: 0 0 14px; font-size: 14px; color: var(--espresso); }
.charm-group[hidden] { display: none; }
.medal-card.has-tip, .set-reward.has-tip { cursor: default; border-radius: var(--radius-sm, 10px); }
/* Drip Room themes set palette vars on the wrapper, so derive the text gold there too. */
.room-themed { --champagne-ink: color-mix(in srgb, var(--champagne) 55%, var(--ink)); }

/* Lookbook pause button (Oct 29) */
.lookbook-toggle { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; background: rgba(14, 11, 16, .55); color: #fff; cursor: pointer; }
.lookbook-toggle span { display: block; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.lookbook-toggle.is-paused span { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.lookbook-toggle:hover { background: rgba(14, 11, 16, .8); }
.lookbook-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- Ingredient Match (Nov 1) ---------- */
.badge-ingredient { background: var(--espresso); color: var(--ivory); }
.compare-ingredients { display: flex; flex-direction: column; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--sand); }
.compare-ing-note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.compare-ing-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.ing-list { margin: 8px 0 0; padding-left: 22px; max-height: 280px; overflow-y: auto; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.ing-list li.is-shared, .ing-key.is-shared { font-weight: 700; color: var(--ink); }
.ing-list li.is-active, .ing-key.is-active { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ing-flag { font-weight: 700; }
.health-note { margin-top: 6px; }
@media (max-width: 860px) {
    .compare-ing-cols { grid-template-columns: minmax(0, 1fr); }
}
.sidebar .chip-wrap .chip { max-width: 100%; white-space: normal; }

/* Most Expensive (Edit, Nov 1) */
.pick-price-gap { font-size: 15px; color: var(--ink); margin: 0; }
.pick-price-gap strong { font-size: 18px; }
.pick-price-label { font-size: 14px; color: var(--ink); }
.entry-link { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* Ingredient Match for supplements (Nov 2) */
.dose-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dose-table th, .dose-table td { padding: 8px 10px; border-bottom: 1px solid var(--sand); text-align: left; vertical-align: top; }
.dose-table thead th { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.dose-table tbody th { font-weight: 600; color: var(--ink); }
.dose-table tr.is-missing td:last-child { font-style: italic; }
.dose-table tr.is-extra th, .dose-table tr.is-extra td { opacity: .75; }

/* Scan a label (Nov 2) */
.scan-result { display: flex; flex-direction: column; gap: 14px; }
.scan-title { font-family: var(--serif); font-size: 32px; line-height: 1.1; color: var(--ink); margin: 0; }
.scan-known { margin: 0; font-size: 16px; }
.scan-matches { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.scan-matches li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--sand); }
.scan-score { flex: 0 0 auto; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--espresso); color: var(--ivory); font-weight: 700; font-size: 15px; }
.scan-match-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.scan-match-name { font-size: 16px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.scan-match-meta { font-size: 13px; }
#scan-photo { width: 100%; padding: 18px 14px; border: 1px dashed var(--champagne); border-radius: 12px; background: var(--ivory); font-size: 14px; }
#scan-photo::file-selector-button { margin-right: 12px; padding: 10px 16px; border: 1px solid var(--espresso); border-radius: 999px; background: var(--white); color: var(--espresso); font: inherit; font-weight: 600; cursor: pointer; }
.eyebrow-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.eyebrow-link:hover { color: var(--ink); text-decoration-thickness: 2px; }
.ingredient-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 0; }
.ingredient-links .eyebrow { margin-right: 4px; }

/* Easter eggs (Nov 3) */
.egg-dialog { max-width: 420px; width: calc(100% - 32px); padding: 32px; border: 1px solid var(--line, #E9DDD0); background: #F7F4EF; color: #372E2B; text-align: center; }
.egg-dialog::backdrop { background: rgba(23, 23, 23, .55); }
.egg-title { font-family: 'Cormorant Garamond', serif; font-size: 32px; line-height: 1.1; margin: 8px 0; }
.egg-text { margin: 0 0 20px; }
.egg-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.secret-reward { padding: 32px 16px 64px; max-width: 560px; }
.secret-reward-name { font-family: 'Cormorant Garamond', serif; font-size: 28px; margin: 0; }
.lost-found { max-width: 560px; margin: 24px auto; text-align: left; }

/* Drip rain (typed "drip") */
.drip-rain { position: fixed; inset: 0; pointer-events: none; z-index: 9999; overflow: hidden; }
.drip-rain span { position: absolute; top: -40px; width: 14px; height: 20px; background: linear-gradient(160deg, #BFE3FF 0%, #5AB0F0 45%, #1E6FD0 100%); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; clip-path: polygon(50% 0, 100% 62%, 92% 85%, 72% 98%, 50% 100%, 28% 98%, 8% 85%, 0 62%); opacity: .85; animation: drip-fall linear forwards; }
@keyframes drip-fall { to { top: 105vh; opacity: .25; } }

/* Mirror (searched "dupe of a dupe") */
.mirror-wrap { padding: 16px 16px 64px; display: grid; gap: 32px; justify-items: center; }
.mirror { position: relative; width: min(520px, 100%); aspect-ratio: 1; animation: mirror-drift 9s ease-in-out infinite alternate; }
.mirror-frame { position: absolute; border: 1px solid #A68C78; background: linear-gradient(135deg, #F7F4EF, #E9DDD0 55%, #F7F4EF); box-shadow: inset 0 0 18px rgba(55, 46, 43, .18); }
.mirror-core { position: absolute; inset: 0; display: grid; place-items: center; font-family: 'Cormorant Garamond', serif; font-size: 18px; color: #C0121A; }
.mirror-note { max-width: 520px; width: 100%; }
@keyframes mirror-drift { from { transform: perspective(900px) rotateY(-8deg) rotateX(4deg); } to { transform: perspective(900px) rotateY(8deg) rotateX(-4deg); } }
@media (prefers-reduced-motion: reduce) { .mirror { animation: none; } }

/* Press (Nov 3) */
.press-section { padding-top: 48px; padding-bottom: 24px; }
.press-h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; margin: 0 0 20px; }
.press-item { padding: 20px 0; border-top: 1px solid var(--sand); max-width: 760px; }
.press-item-title { font-family: var(--serif); font-weight: 500; font-size: 26px; margin: 6px 0 8px; }
.press-item-title a { color: inherit; }
.press-more { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.press-empty, .press-note { max-width: 680px; color: var(--espresso); }
.press-banners { padding: 40px 0 8px; background: var(--sand); }
.press-rail { display: flex; gap: 24px; align-items: flex-start; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: var(--gutter); padding: 8px var(--gutter) 28px; max-width: var(--wrap); margin: 0 auto; }
.press-rail:focus-visible { outline: 2px solid var(--espresso); outline-offset: 2px; }
.press-banner { flex: 0 0 auto; scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: 10px; max-width: min(760px, 86vw); }
.press-banner-art { background: #fff; padding: 12px; border: 1px solid #CDBBA8; }
.press-banner-art { width: fit-content; }
.press-banner-art img { display: block; width: auto; height: auto; max-width: min(728px, 78vw); max-height: 260px; }
.press-banner figcaption { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.press-banner-name { font-weight: 600; }
.press-banner-size { color: var(--espresso); }
.press-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.press-embed { display: flex; gap: 8px; align-items: center; }
.press-embed textarea { width: 160px; height: 36px; font: 11px/1.3 ui-monospace, Menlo, monospace; resize: none; border: 1px solid #CDBBA8; background: #fff; padding: 6px; }
.press-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 20px; }
.press-file { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; }
.press-file:hover .press-file-label { text-decoration: underline; }
.press-file-art { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 18px; border: 1px solid var(--sand); overflow: hidden; }
.press-file-art img { width: 100%; height: 100%; object-fit: contain; }
.press-file-light { background: #F7F4EF; } .press-file-dark { background: #171717; } .press-file-sand { background: #E9DDD0; } .press-file-pdf { background: #fff; }
.press-file-pdf { font-family: var(--serif); font-size: 34px; color: #C0121A; }
.press-file-label { font-weight: 600; margin-top: 6px; }
.press-file-note { font-size: 13px; color: var(--espresso); }
.press-release { max-width: 760px; padding-top: 48px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.press-body { line-height: 1.7; }
.press-dateline { margin-bottom: 0; }
.press-end { text-align: center; letter-spacing: .3em; margin-top: 28px; }
.press-about { margin-top: 28px; padding: 24px; background: var(--sand); }
.press-about-title { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0 0 8px; }
.press-more-date { font-size: 13px; color: var(--espresso); }

/* Hidden charms (Nov 3): a "?" until it's yours */
.medal-mystery { display: inline-grid; place-items: center; width: var(--medal-size); height: var(--medal-size); border-radius: 50%; border: 2px dashed #CDBBA8; background: var(--sand); color: var(--espresso); font-family: var(--serif); font-size: calc(var(--medal-size) * .5); line-height: 1; }

/* Animated charm as a profile picture (Nov 3): the animation spills out of the circle, 150% of it. */
.medal-pop { overflow: visible; }
.medal-pop .medal-motion { inset: auto; left: 50%; top: 50%; width: 150%; height: 150%; transform: translate(-50%, -50%); object-fit: contain; z-index: 1; pointer-events: none; }
