:root {
  --wine: #7a1626;
  --wine-2: #9c1f33;
  --gold: #c9973f;
  --gold-soft: #e9cf98;
  --ink: #2b1a1d;
  --muted: #6f5b5e;
  --card: #fffaf5;
  --line: #ecdcd2;
  --er: #1f4f9a;
  --er-bg: #eaf2fd;
  --xotin: #c2185b;
  --xotin-bg: #fdecf2;
  --ok: #2e7d4f;
  --warn: #b26a00;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(110, 30, 40, .12), 0 2px 6px rgba(110, 30, 40, .06);
  --serif: 'Playfair Display', Georgia, serif;
  --script: 'Great Vibes', cursive;
  --sans: 'Montserrat', system-ui, -apple-system, sans-serif;
  --t: var(--wine);
  --t-bg: #fbeef0;
}

/* Bob mavzulari (rasmlardagi ranglar) */
.theme-ruby { --t: #8e1b2c; --t-bg: #fbeef0; }
.theme-rose { --t: #b3222f; --t-bg: #fdf0ef; }
.theme-green { --t: #1d5a39; --t-bg: #eef6ee; }
.theme-navy { --t: #142c5c; --t-bg: #eef2fa; }
.theme-teal { --t: #0e5f64; --t-bg: #eaf6f5; }
.theme-purple { --t: #4b2272; --t-bg: #f4eef9; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: linear-gradient(180deg, #fde9d2 0%, #fbd9c0 35%, #f6cdb8 70%, #f3c6b6 100%) fixed;
  min-height: 100vh;
  line-height: 1.5;
}
.petals {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 8% 6%, rgba(255,255,255,.75) 0 40px, transparent 41px),
    radial-gradient(circle at 92% 10%, rgba(255,214,224,.7) 0 60px, transparent 61px),
    radial-gradient(circle at 96% 70%, rgba(255,255,255,.5) 0 50px, transparent 51px),
    radial-gradient(circle at 4% 88%, rgba(255,214,224,.6) 0 70px, transparent 71px);
  filter: blur(18px);
}
.shell { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; padding: 16px 16px calc(110px + env(safe-area-inset-bottom)); }
h1, h2, h3 { font-family: var(--serif); margin: 0; line-height: 1.15; }
button, input, select { font: inherit; }
a { color: var(--wine); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Bosh sahifa (poster uslubi) ---------- */
.brand { display: flex; align-items: center; gap: 14px; justify-content: center; margin: 8px 0 18px; }
.brand img { width: 64px; height: 66px; object-fit: contain; mix-blend-mode: multiply; }
.brand .sep { width: 2px; height: 50px; background: var(--wine); opacity: .6; }
.brand b { font-family: var(--serif); color: #3d0a12; font-size: 15px; letter-spacing: .5px; line-height: 1.25; text-transform: uppercase; }
.title { text-align: center; color: var(--wine); }
.title .script { font-family: var(--script); font-size: clamp(62px, 18vw, 92px); line-height: .9; display: block; }
.title .big { font-family: var(--serif); font-weight: 800; font-size: clamp(40px, 12.5vw, 62px); letter-spacing: 1px; display: block; }
.divider { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 6px auto 14px; color: var(--gold); }
.divider::before, .divider::after { content: ''; height: 2px; width: 90px; background: linear-gradient(90deg, transparent, var(--gold)); border-radius: 2px; }
.divider::after { transform: scaleX(-1); }
.divider svg { color: var(--wine); width: 22px; height: 22px; }
.logo path.la { stroke: var(--wine); }
.logo .lh { fill: var(--wine); }
.logo path.li { stroke: var(--gold); }
.logo g.li { fill: var(--gold); }
.divider .logo-mark { width: 68px; height: 68px; filter: drop-shadow(0 4px 8px rgba(122, 22, 38, .18)); }
.lead { text-align: center; text-transform: uppercase; letter-spacing: .6px; font-size: 13px; color: #4a2a2f; margin: 0 auto 18px; max-width: 360px; font-weight: 500; }
.hero { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); border: 2px solid var(--gold-soft); border-radius: var(--radius); margin: -28px 8px 0; position: relative; box-shadow: var(--shadow); padding: 12px 6px; }
.feature { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 4px; font-weight: 600; font-size: 12.5px; color: #3d0a12; line-height: 1.25; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature i { width: 44px; height: 44px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; }
.feature i svg { width: 24px; height: 24px; }
.actions { display: grid; gap: 12px; margin-top: 22px; }

/* ---------- Tugmalar va maydonlar ---------- */
.btn { appearance: none; border: 0; border-radius: 16px; padding: 16px 18px; font-weight: 700; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; transition: transform .12s, box-shadow .12s, opacity .12s; min-height: 54px; }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: linear-gradient(135deg, var(--wine-2), var(--wine)); color: #fff; box-shadow: 0 8px 20px rgba(122,22,38,.35); }
.btn-gold { background: linear-gradient(135deg, #e3b55e, var(--gold)); color: #3d0a12; box-shadow: 0 8px 20px rgba(201,151,63,.35); }
.btn-ghost { background: rgba(255,255,255,.75); color: var(--wine); border: 1.5px solid var(--gold-soft); }
.btn-theme { background: var(--t); color: #fff; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; border-radius: 12px; }

.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-top: 16px; }
.card h2 { color: var(--wine); font-size: 24px; margin-bottom: 6px; }
.card .sub { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 14px; }
.input { width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 14px; font-size: 16px; color: var(--ink); outline: none; }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,151,63,.18); }
.code-input { text-align: center; font-size: 26px; letter-spacing: 4px; font-weight: 700; text-transform: uppercase; font-family: ui-monospace, Menlo, monospace; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.role { border: 2px solid var(--line); border-radius: 18px; background: #fff; padding: 16px 10px; text-align: center; cursor: pointer; font-weight: 700; display: grid; justify-items: center; gap: 8px; transition: .15s; }
.role .av { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; }
.role .av svg { width: 34px; height: 34px; }
.role.er .av { background: var(--er-bg); color: var(--er); }
.role.xotin .av { background: var(--xotin-bg); color: var(--xotin); }
.role small { font-weight: 500; color: var(--muted); }
.role[aria-checked='true'].er { border-color: var(--er); background: var(--er-bg); }
.role[aria-checked='true'].xotin { border-color: var(--xotin); background: var(--xotin-bg); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 16px; }
.check input { width: 22px; height: 22px; accent-color: var(--wine); flex: none; margin-top: 1px; }
.error { color: #b3261e; font-size: 14px; font-weight: 600; min-height: 20px; margin: 0 0 10px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--wine); font-weight: 600; text-decoration: none; padding: 6px 0; }
.back svg { width: 18px; height: 18px; }
[hidden] { display: none !important; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; position: relative; z-index: 30; }
.topbar.end { justify-content: flex-end; margin-bottom: -8px; }
.lang { position: relative; z-index: 20; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--gold-soft); background: rgba(255,255,255,.75); color: var(--wine); font: 700 13px var(--sans); padding: 6px 12px 6px 9px; border-radius: 999px; cursor: pointer; box-shadow: 0 3px 10px rgba(122,22,38,.08); }
.lang-btn svg { width: 20px; height: 20px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px; border-radius: 16px; background: rgba(255,250,246,.97); border: 1px solid var(--gold-soft); box-shadow: 0 16px 40px rgba(61,10,18,.2); display: grid; gap: 2px; animation: menuIn .16s ease-out; }
.lang-menu button { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; background: none; padding: 11px 12px; border-radius: 11px; font: 600 15px var(--sans); color: var(--ink); cursor: pointer; text-align: left; }
.lang-menu button:hover { background: #fbeef0; }
.lang-menu button[aria-checked='true'] { color: var(--wine); background: #fbeef0; }
.lang-menu svg { width: 18px; height: 18px; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Bob sarlavhasi ---------- */
.chapter-head { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 210px; box-shadow: var(--shadow); color: #fff; display: flex; align-items: flex-end; }
.chapter-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.chapter-head::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, transparent 42%, color-mix(in srgb, var(--t) 55%, transparent) 70%, color-mix(in srgb, var(--t) 94%, black) 100%); }
.chapter-head .txt { position: relative; z-index: 1; padding: 18px 18px 18px 104px; }
.chapter-head h2 { font-size: 27px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.chapter-head p { margin: 6px 0 0; font-family: var(--serif); font-size: 15px; opacity: .95; }
.badge { position: absolute; z-index: 2; top: 0; left: 16px; width: 76px; padding: 12px 0 18px; text-align: center; background: var(--t); color: #fff; clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%); box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.badge b { display: block; font-family: var(--serif); font-size: 38px; line-height: 1; }
.badge span { font-family: var(--serif); font-size: 13px; letter-spacing: 1px; }
.badge::after { content: '♥'; display: block; color: var(--gold-soft); font-size: 14px; margin-top: 2px; }
.progress { display: flex; gap: 6px; margin: 14px 2px 0; }
.progress span { flex: 1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.7); }
.progress span.done { background: var(--gold); }
.progress span.now { background: var(--t); }

/* ---------- Savol kartasi ---------- */
.q { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px; margin-top: 16px; border-top: 4px solid var(--t); }
.q-head { display: grid; grid-template-columns: 44px 1fr 34px; gap: 10px; align-items: center; margin-bottom: 12px; }
.q-num { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--t) 70%, white), var(--t)); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 22px; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0,0,0,.18); }
.q-text { font-family: var(--serif); font-weight: 700; color: var(--t); font-size: 18px; line-height: 1.25; }
.q-icon { position: relative; color: var(--t); border: 0; background: none; padding: 0; cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; }
.q-icon svg { width: 28px; height: 28px; opacity: .85; }
.q-icon i { position: absolute; right: -4px; top: -4px; width: 17px; height: 17px; border-radius: 50%; background: var(--t); color: #fff; font: 700 11px/17px var(--sans); text-align: center; font-style: normal; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.q-icon[aria-expanded='true'] i { background: var(--gold); }
.why { display: flex; gap: 8px; align-items: flex-start; margin: -2px 0 12px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--t-bg) 70%, white); font-size: 13.5px; color: var(--ink); animation: menuIn .18s ease-out; }
.why svg { width: 18px; height: 18px; flex: none; color: var(--gold); margin-top: 1px; }
.hint { font-size: 13px; color: var(--muted); margin: -4px 0 10px; font-weight: 600; }
.opts { display: grid; gap: 9px; }
.opt { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: start; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 12px; cursor: pointer; font-size: 14.5px; color: var(--ink); line-height: 1.4; transition: border-color .12s, background .12s; width: 100%; }
.opt .k { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--t); color: var(--t); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.opt[aria-checked='true'] { border-color: var(--t); background: var(--t-bg); }
.opt[aria-checked='true'] .k { background: var(--t); color: #fff; }
.opt:focus-visible { outline: 3px solid color-mix(in srgb, var(--t) 40%, transparent); outline-offset: 2px; }
.other { margin-top: 10px; }

.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255,247,240,0), rgba(255,247,240,.96) 30%); }
.bottom-bar .inner { max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.bottom-bar .count { text-align: center; font-size: 12px; color: var(--muted); grid-column: 1 / -1; margin-bottom: -2px; font-weight: 600; }

/* ---------- Natija ---------- */
.ring { --p: 0; --c: var(--wine); width: 150px; height: 150px; border-radius: 50%; margin: 6px auto 10px; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), #f1e3da 0); }
.ring div { width: 118px; height: 118px; border-radius: 50%; background: var(--card); display: grid; place-items: center; text-align: center; }
.ring b { font-family: var(--serif); font-size: 38px; color: var(--c); line-height: 1; }
.ring small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; }
.center { text-align: center; }
.level { display: inline-block; padding: 6px 14px; border-radius: 30px; background: #fbeef0; color: var(--wine); font-weight: 700; font-size: 14px; }
.bars { display: grid; gap: 12px; margin-top: 8px; }
.bar-row { display: grid; gap: 5px; }
.bar-row .lbl { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; }
.bar { height: 10px; border-radius: 10px; background: #f1e3da; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 10px; background: var(--t); width: 0; transition: width .8s ease; }
.ai { position: relative; }
.ai .tag { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .5px; }
.ai .tag svg { width: 16px; height: 16px; }
.ai h3 { color: var(--wine); font-size: 22px; margin: 6px 0 8px; }
.ai p { margin: 0 0 12px; }
.ai h4 { margin: 14px 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .4px; }
.ai ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.ai li { position: relative; padding-left: 26px; font-size: 14.5px; }
.ai li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--gold)); }
.ai .good { --dot: var(--ok); }
.ai .care { --dot: var(--warn); }
.ai .tips { --dot: var(--wine); }
.skeleton { display: grid; gap: 10px; }
.skeleton span { height: 14px; border-radius: 8px; background: linear-gradient(90deg, #f1e3da, #fbf1ea, #f1e3da); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skeleton span:nth-child(2) { width: 85%; } .skeleton span:nth-child(3) { width: 65%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.note { font-size: 12px; color: var(--muted); margin-top: 12px; }
.note.privacy { margin: -8px 0 14px 32px; }
.link-btn { display: block; margin: 14px auto 0; border: 0; background: none; color: var(--muted); font: 600 13px var(--sans); text-decoration: underline; cursor: pointer; padding: 6px; }

.code-box { text-align: center; border: 2px dashed var(--gold); border-radius: 18px; padding: 16px; background: #fffdf8; }
.code-box .code { font-family: ui-monospace, Menlo, monospace; font-size: 32px; font-weight: 800; letter-spacing: 3px; color: var(--wine); margin: 6px 0 12px; }
.row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.status { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); margin-top: 10px; font-size: 14px; }
.status .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--warn); flex: none; }
.status.done .dot { background: var(--ok); }

/* Solishtirish: Erkakning / Ayolning fikri */
.tabs { display: flex; gap: 6px; background: rgba(255,255,255,.6); border-radius: 14px; padding: 5px; margin-top: 16px; overflow-x: auto; }
.tabs button { flex: 1; border: 0; background: transparent; padding: 10px 8px; border-radius: 10px; font-weight: 700; font-size: 13px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected='true'] { background: var(--wine); color: #fff; }
.cmp { margin-top: 14px; }
.cmp-q { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-top: 14px; border-top: 4px solid var(--t); }
.cmp-q .q-head { margin-bottom: 10px; grid-template-columns: 44px 1fr auto; }
.cmp-q .match { white-space: nowrap; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; justify-self: end; }
.match.same { background: #e6f4ea; color: var(--ok); }
.match.close { background: #fff4e0; color: var(--warn); }
.match.diff { background: #fdecea; color: #b3261e; }
.side { display: grid; gap: 10px; }
.opinion { border-radius: 14px; padding: 12px; display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start; }
.opinion .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.opinion .av svg { width: 24px; height: 24px; }
.opinion b { font-size: 13px; display: block; margin-bottom: 2px; }
.opinion p { margin: 0; font-size: 14px; }
.opinion.er { background: var(--er-bg); } .opinion.er b, .opinion.er .av { color: var(--er); }
.opinion.xotin { background: var(--xotin-bg); } .opinion.xotin b, .opinion.xotin .av { color: var(--xotin); }
.discuss { margin-top: 10px; font-size: 13.5px; background: #fff8ec; border-left: 4px solid var(--gold); padding: 10px 12px; border-radius: 10px; }

.footer { text-align: center; font-size: 12px; color: var(--muted); margin-top: 28px; }
.loader { display: grid; place-items: center; min-height: 60vh; }
.loader span { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--gold-soft); border-top-color: var(--wine); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: calc(150px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); background: #3d0a12; color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 10; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.fade { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Juftlik: kod oynasi, juft holati, tayyor natija ---------- */
.code-ready { display: grid; gap: 14px; justify-items: center; margin-top: 0; }
.code-ready .steps { text-align: left; width: 100%; margin: 0; }
.code-ready .code-box { width: 100%; }
.code-ready .note { margin: 0; }
.ok-badge { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #3d0a12; background: radial-gradient(circle at 35% 30%, #fbe3a6, var(--gold)); box-shadow: 0 8px 20px rgba(201, 151, 63, .4); }
.ok-badge svg { width: 30px; height: 30px; }
.pair-box { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; margin-top: 12px; padding: 10px 14px; border-radius: 16px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 4px 14px rgba(122, 22, 38, .08); }
.pair-code small { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .4px; }
.pair-code b { font: 800 17px ui-monospace, Menlo, monospace; letter-spacing: 1.5px; color: var(--wine); }
.pair-status { flex: 1; min-width: 140px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pair-status i { width: 10px; height: 10px; border-radius: 50%; background: #c9b8b0; flex: none; }
.pair-status.on i { background: var(--warn); animation: pulse 1.6s ease-in-out infinite; }
.pair-status.done i { background: var(--ok); }
@keyframes pulse { 50% { opacity: .35; } }
.ready-banner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); border: 2px solid var(--gold) !important; background: linear-gradient(135deg, #fff8e6, #fdeee0) !important; }
.ready-banner b { display: block; color: var(--wine); font-size: 16px; }
.ready-banner small { color: var(--muted); font-size: 13px; }
.ready-banner > svg { width: 22px; height: 22px; color: var(--wine); }
.rb-ring { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font: 800 16px var(--serif); color: var(--c); background: #fff; box-shadow: inset 0 0 0 5px var(--c); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chips button { border: 1px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .65); border-radius: 999px; padding: 8px 14px; font: 600 13.5px var(--sans); color: var(--muted); cursor: pointer; }
.chips button b { margin-left: 4px; color: var(--wine); }
.chips button[aria-pressed='true'] { background: var(--wine); color: #fff; border-color: var(--wine); }
.chips button[aria-pressed='true'] b { color: var(--gold-soft); }

@media (min-width: 560px) {
  .shell { padding-top: 28px; }
  .side { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
