/* ===== Dropnaut — black, white, and soft grays ===== */

@font-face { font-family: "Garet"; src: url("assets/fonts/Garet-Book.woff2") format("woff2"), url("assets/fonts/Garet-Book.woff") format("woff"); font-weight: 100 550; font-display: swap; }
@font-face { font-family: "Garet"; src: url("assets/fonts/Garet-Heavy.woff2") format("woff2"), url("assets/fonts/Garet-Heavy.woff") format("woff"); font-weight: 551 900; font-display: swap; }

:root {
  --bg: #F2F2F7;
  --card: #FFFFFF;
  --ink: #0A0A0A;
  --ink-2: #3A3A3C;
  --muted: #8E8E93;
  --line: #E5E5EA;
  --fill: #EBEBF0;
  --fill-2: #F6F6F9;
  --red: #E5484D;
  --green: #1E8E3E;
  --r-card: 24px;
  --g: 16px;
  --font: "Garet", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); font-size: 15.5px; line-height: 1.45; color: var(--ink); background: #E6E6EB; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; text-align: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
img, video { display: block; -webkit-user-drag: none; user-select: none; }
a { color: inherit; }
b, strong { font-weight: 800; }

/* ---------- shell ---------- */
.screen { position: relative; width: 100%; max-width: 480px; height: 100dvh; margin: 0 auto; background: var(--bg); display: flex; flex-direction: column; overflow: hidden; }
@media (min-width: 520px) { .screen { box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 20px 60px rgba(0,0,0,.08); } }
.content { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; padding-bottom: 28px; }
.content::-webkit-scrollbar { display: none; }
.content > * { animation: rise .35s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

.page-head { flex-shrink: 0; background: var(--bg); padding: max(14px, env(safe-area-inset-top)) var(--g) 12px; }
.ph-row { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.page-head h1 { flex: 1; font-size: 28px; font-weight: 800; letter-spacing: -.5px; line-height: 1.15; min-width: 0; }
.page-head .r { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.head-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.tabbar { display: flex; justify-content: space-around; align-items: center; flex-shrink: 0; padding: 8px 10px max(10px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.tabbar button { flex: 1; height: 44px; display: grid; place-items: center; color: #A1A1A6; position: relative; transition: color .2s, transform .2s var(--ease); }
.tabbar button:active { transform: scale(.9); }
.tabbar svg { width: 26px; height: 26px; }
.tabbar button.on { color: var(--ink); }
.tabbar button.on::after { content: ""; position: absolute; bottom: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.tabbar .tab-av { position: relative; width: 28px; height: 28px; min-width: 28px; flex: 0 0 28px; aspect-ratio: 1; border-radius: 50%; font-size: 12px; transition: box-shadow .2s; }
.tabbar .tab-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.tabbar button.on .tab-av { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }

/* ---------- type + utilities ---------- */
.muted { color: var(--muted); }
.ink { color: var(--ink); }
.small { font-size: 13.5px; }
.xs { font-size: 12px; }
.bold { font-weight: 800; }
.row { display: flex; align-items: center; gap: 12px; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grow { flex: 1; min-width: 0; }
/* Garet's tall glyphs get clipped by overflow:hidden at tight line-heights, so ellipsis text gets room */
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.35; padding-block: 1px; }
.center { text-align: center; }
.pad { padding: 0 var(--g); }
.link { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.danger-text { color: var(--red) !important; }
.star { display: inline-block; margin-left: .14em; font-size: .86em; line-height: 1; vertical-align: .04em; }
.num { font-variant-numeric: tabular-nums; }
.caps { font-size: 11.5px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted); }
.caps.light { color: inherit; opacity: .6; }
.section-caps { display: block; padding: 28px calc(var(--g) + 4px) 10px; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 28px var(--g) 12px; }
.sec-h h2 { font-size: 21px; font-weight: 800; letter-spacing: -.3px; line-height: 1.2; }
.sec-h > span { font-size: 13.5px; color: var(--muted); text-align: right; }
.sub-h { padding: 18px calc(var(--g) + 2px) 10px; font-size: 16px; font-weight: 800; scroll-margin-top: 130px; }
.hint { padding: 10px calc(var(--g) + 4px) 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.big-num { font-size: 38px; font-weight: 800; letter-spacing: -1px; line-height: 1.05; }
.form-gap { margin-top: 24px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two-col .field + .field { margin-top: 0; }
.two-btn { display: flex; gap: 10px; margin-top: 16px; }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 18px; border-radius: 99px; font-weight: 800; font-size: 14.5px; background: var(--ink); color: #fff; white-space: nowrap; text-decoration: none; transition: transform .15s var(--ease), opacity .15s, background .2s; }
.btn:active:not(:disabled) { transform: scale(.96); }
.btn svg { width: 18px; height: 18px; position: relative; }
.btn.gray { background: var(--fill); color: var(--ink); }
.btn.white { background: #fff; color: var(--ink); }
.btn.outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #D1D1D6; }
.btn.danger { background: var(--red); color: #fff; }
.btn.block { width: 100%; }
.btn.lg { height: 54px; font-size: 16px; }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn.preview-btn { pointer-events: none; } /* shown as fans see it, not clickable here */
.loading { opacity: .55; pointer-events: none; }
.pill-btn { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 99px; background: var(--card); color: var(--ink); font-weight: 800; font-size: 13px; box-shadow: var(--shadow); cursor: pointer; white-space: nowrap; transition: transform .15s var(--ease); }
.pill-btn:active { transform: scale(.96); }
.pill-btn svg { width: 16px; height: 16px; }
.pill-btn.dark { background: var(--ink); color: #fff; box-shadow: none; }
.color-pill .sw { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.15); }
.color-pill input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.color-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 var(--g); }
.circle-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--card); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: transform .15s var(--ease), background .15s; }
.circle-btn:active { transform: scale(.9); }
.circle-btn:disabled { opacity: .3; }
.circle-btn svg { width: 21px; height: 21px; }
.circle-btn.sm { width: 36px; height: 36px; }
.circle-btn.sm svg { width: 17px; height: 17px; }
.circle-btn.soft { background: var(--fill-2); box-shadow: none; }
.circle-btn.on { background: var(--ink); color: #fff; }
.circle-btn.glass { background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.circle-btn.glass-dark { background: rgba(0,0,0,.4); color: #fff; box-shadow: none; backdrop-filter: blur(8px); }
.stat-pill { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 99px; background: var(--card); font-weight: 800; font-size: 14px; white-space: nowrap; }
.stat-pill.on-dark { background: rgba(255,255,255,.12); color: #fff; }
.stat-pill.glass { background: rgba(0,0,0,.4); color: #fff; backdrop-filter: blur(8px); height: 36px; }

/* drifting icons behind attention-worthy buttons */
.fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.fx i { position: absolute; bottom: -24px; left: calc(14% + var(--i) * 26%); width: 16px; height: 16px; opacity: 0; color: currentColor; animation: drift 4.2s ease-in-out infinite; animation-delay: calc(var(--i) * 1.1s); }
.fx i svg { width: 100%; height: 100%; }
@keyframes drift { 0% { transform: translateY(0) rotate(0); opacity: 0; } 25% { opacity: .22; } 70% { opacity: .14; } 100% { transform: translateY(-80px) rotate(40deg); opacity: 0; } }
/* star burst on success */
.burst { position: fixed; z-index: 9999; pointer-events: none; font-size: 15px; color: var(--ink); transform: translate(-50%, -50%); animation: burst .7s var(--ease) forwards; }
.burst.light { color: #fff; }
@keyframes burst { to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.4) rotate(120deg); opacity: 0; } }
/* decorative motion stays on for everyone (owner choice); only page entrances are skipped */
@media (prefers-reduced-motion: reduce) { .content > * { animation: none; } }

/* ---------- cards, lists, fields ---------- */
.card { background: var(--card); border-radius: var(--r-card); }
.card.inset { margin: 0 var(--g); }
.card.padded { padding: 18px; }
.soft-card { background: var(--fill-2); }
.empty-card { margin-bottom: 12px; }
.empty { text-align: center; color: var(--muted); padding: 32px 28px; line-height: 1.5; font-size: 14.5px; }
.empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.empty-btn { padding: 0 18px 18px; }

.group { margin: 0 var(--g); background: var(--card); border-radius: var(--r-card); overflow: hidden; }
.group.soft { background: var(--fill-2); }
.cell { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; position: relative; text-align: left; }
.cell + .cell::before { content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: var(--line); }
.cell .t { font-weight: 800; line-height: 1.3; }
.cell .s { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.cell .v { color: var(--muted); font-size: 14px; white-space: nowrap; }
.cell .chev { width: 18px; height: 18px; color: #C7C7CC; flex-shrink: 0; }
.cell.danger .t { color: var(--red); }
.cell.me { background: var(--fill); }
.group-note { padding: 10px calc(var(--g) + 4px) 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.ic-tile { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; background: var(--fill); color: var(--ink); font-weight: 800; }
.ic-tile svg { width: 21px; height: 21px; }
.ic-tile.ink { background: var(--ink); color: #fff; }
.ic-tile.soft { background: var(--fill); }

.field { display: flex; flex-direction: column; gap: 8px; }
.field + .field, .row + .field, .field + .row, .field + .two-col, .two-col + .field, .field + .card { margin-top: 16px; }
.field.tight { margin-top: 14px; }
.field > label:not([class]), .label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 13.5px; font-weight: 800; color: var(--ink-2); }
.label { justify-content: flex-start; flex-wrap: wrap; }
.label.spread { justify-content: space-between; }
.label .muted { font-weight: 400; }
.count { font-size: 12px; font-weight: 400; color: #AEAEB2; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.count.full { color: var(--red); }
.input { width: 100%; height: 52px; padding: 0 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); outline: none; font-size: 15.5px; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(0,0,0,.05); }
.input.soft, .sheet .input { background: var(--fill-2); }
textarea.input { height: auto; min-height: 92px; padding: 14px 16px; resize: none; line-height: 1.5; }
.input-prefix, .input-suffix { position: relative; }
.input-prefix span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 800; }
.input-prefix .input { padding-left: 34px; }
.input-suffix .input { padding-right: 56px; }
.input-suffix button { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-weight: 800; font-size: 13.5px; }
.input-suffix .eye { right: 6px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); transition: color .15s; }
.input-suffix .eye:hover { color: var(--ink); }
.input-suffix .eye svg { width: 21px; height: 21px; }
.auth-hint { min-height: 20px; margin-top: 10px; font-size: 13px; font-weight: 800; color: var(--red); }
.code-input { height: 68px; text-align: center; font-size: 30px; font-weight: 800; letter-spacing: 12px; }

.segmented { display: flex; gap: 2px; margin: 0 var(--g); padding: 3px; border-radius: 99px; background: var(--fill); }
.segmented button { flex: 1; height: 38px; border-radius: 99px; font-weight: 800; font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background .2s, box-shadow .2s; }
.segmented button svg { width: 16px; height: 16px; }
.segmented button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--g); }
.chips::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.field .chips.wrap, .card .chips.wrap, .reward-tools .chips.wrap { padding: 0; }
.folder-chips { padding-top: 16px; }
.chip { flex-shrink: 0; height: 38px; padding: 0 15px; border-radius: 99px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; gap: 7px; transition: transform .15s var(--ease), background .15s; }
.chip svg { width: 15px; height: 15px; }
.chip.sm { height: 28px; padding: 0 11px; font-size: 12px; }
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.chip.dashed { background: transparent; box-shadow: inset 0 0 0 1.5px #C7C7CC; color: var(--ink-2); }
.chip.drop-hover { transform: scale(1.08); box-shadow: 0 0 0 3px var(--ink); }
.sheet .chip:not(.on):not(.dashed), .card .chip:not(.on):not(.dashed) { background: var(--fill-2); }

.toggle { width: 52px; height: 32px; border-radius: 99px; background: #D1D1D6; position: relative; flex-shrink: 0; transition: background .2s; display: inline-block; }
.toggle::after { content: ""; position: absolute; left: 2px; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 2px 4px rgba(0,0,0,.18); }
.toggle.on { background: var(--ink); }
.toggle.on::after { transform: translateX(20px); }
.status { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 99px; font-size: 12px; font-weight: 800; background: var(--fill); color: var(--ink-2); white-space: nowrap; }
.status.dark { background: var(--ink); color: #fff; }
.bar { height: 6px; border-radius: 99px; background: var(--fill); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--ink); border-radius: 99px; transition: width .5s var(--ease); }
.lvl-badge { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 13px 0 10px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; flex-shrink: 0; }
.lvl-badge svg { width: 14px; height: 14px; }
.lvl-badge.sm { height: 26px; padding: 0 10px 0 8px; font-size: 12px; }
.lvl-badge.sm svg { width: 11px; height: 11px; }

/* ---------- avatars ---------- */
.logo-av { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: 17px; font-weight: 800; background: var(--ink); color: #fff; overflow: hidden; }
.logo-av img, .av img { width: 100%; height: 100%; object-fit: cover; }
.logo-av.xs { width: 22px; height: 22px; font-size: 10px; }
.logo-av.sm { width: 30px; height: 30px; font-size: 13px; }
.logo-av.md { width: 52px; height: 52px; font-size: 22px; }
.logo-av.lg { width: 78px; height: 78px; font-size: 32px; }
.logo-av.lg2 { width: 60px; height: 60px; font-size: 24px; box-shadow: 0 0 0 3px rgba(255,255,255,.15); }
.logo-av.ghost { background: var(--fill); }
.av { width: 40px; height: 40px; border-radius: 50%; background: var(--fill); display: grid; place-items: center; font-weight: 800; font-size: 15px; flex-shrink: 0; overflow: hidden; }

/* ---------- media + post tiles ---------- */
.media { position: relative; overflow: hidden; background: var(--fill); }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.art { position: absolute; inset: 0; display: grid; place-items: center; padding: 14%; background: linear-gradient(160deg, #EDEDF2, #D6D6DC); color: var(--ink-2); text-align: center; }
.art p { font-weight: 800; font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.art .art-ic { width: 34%; height: 34%; color: #A1A1A6; }
.badge { position: absolute; bottom: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.4); color: #fff; display: grid; place-items: center; }
.badge svg { width: 12px; height: 12px; }
.media.tile { display: block; width: 100%; aspect-ratio: 3/4; border-radius: 14px; transition: transform .2s var(--ease); }
.media.tile:active { transform: scale(.97); }

/* date marker — top right on posts */
.date-chip { position: absolute; top: 8px; right: 8px; z-index: 2; display: inline-flex; flex-direction: column; align-items: flex-end; gap: 1px; max-width: calc(100% - 16px); padding: 7px 12px 7px; border-radius: 13px; background: rgba(10,10,10,.72); color: #fff; backdrop-filter: blur(8px); line-height: 1.35; text-align: right; }
.date-chip b { font-size: 12.5px; letter-spacing: .1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: max-content; max-width: 200px; line-height: 1.35; padding-bottom: 1px; }
.date-chip span { font-size: 11px; letter-spacing: .3px; opacity: .8; white-space: nowrap; }
.date-chip.sm { top: 6px; right: 6px; gap: 1px; padding: 4px 7px; border-radius: 9px; }
.date-chip.sm b { font-size: 10.5px; max-width: 84px; }
.date-chip.sm span { font-size: 9.5px; letter-spacing: .2px; }
.date-chip.low { top: auto; bottom: 6px; }
.date-chip.ghost { position: static; flex-direction: row; gap: 8px; align-items: center; background: rgba(255,255,255,.2); padding: 0 18px 0 14px; min-height: 40px; border-radius: 99px; white-space: nowrap; line-height: 1.35; }
.date-chip.ghost span { font-size: 13.5px; font-weight: 800; opacity: 1; letter-spacing: .1px; line-height: 1.35; overflow: visible; }
.date-chip.ghost svg { width: 17px; height: 17px; flex-shrink: 0; }
.date-chip.v { position: static; flex-shrink: 0; padding: 8px 13px; border-radius: 15px; }
.date-chip.v b { font-size: 14px; max-width: 150px; }
.date-chip.v span { font-size: 12.5px; }

.marquee { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; }
.marquee-card { padding: 0; }
.slot-empty { aspect-ratio: 3/4; border-radius: 14px; background: var(--fill-2); box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center; color: var(--muted); font-size: 12.5px; font-weight: 800; }
.slot-empty.add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.slot-empty.add svg { width: 20px; height: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 0 var(--g); }
.sheet-grid { padding: 0 20px 8px; }

/* ---------- hero (dark) cards ---------- */
.hero-card { margin: max(10px, env(safe-area-inset-top)) var(--g) 0; padding: 22px 20px 20px; border-radius: 28px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, #3A3A40 0%, rgba(58,58,64,0) 55%), radial-gradient(90% 80% at 0% 100%, #2A2A2E 0%, #0A0A0A 65%); }
.hero-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 30% at 85% 10%, rgba(255,255,255,.08), transparent); pointer-events: none; }
.hero-logo { height: 50px; width: auto; image-rendering: auto; transform: translateZ(0); }
.hero-greet { font-size: 28px; font-weight: 800; letter-spacing: -.5px; line-height: 1.18; margin: 22px 0 20px; overflow-wrap: anywhere; }
.claim { position: relative; overflow: hidden; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 22px; height: 64px; border-radius: 99px; background: #fff; color: var(--ink); font-weight: 800; font-size: 16px; transition: transform .15s var(--ease); z-index: 1; }
.claim:active:not(:disabled) { transform: scale(.98); }
.claim > span { position: relative; }
.claim-amt { display: inline-flex; align-items: center; height: 48px; padding: 0 18px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 17px; }
.claim:disabled { background: rgba(255,255,255,.08); color: #C7C7CC; }
.claim:disabled .claim-amt { background: rgba(255,255,255,.1); color: #fff; width: 48px; padding: 0; justify-content: center; }
.claim-amt svg { width: 20px; height: 20px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; z-index: 1; }
.hero-stats div { background: rgba(255,255,255,.07); border-radius: 18px; padding: 12px; font-size: 12px; line-height: 1.35; color: #A1A1A6; }
.hero-stats b { display: block; color: #fff; font-size: 21px; margin-bottom: 2px; }

/* ---------- leaderboard ---------- */
.lb { padding: 0 var(--g); display: grid; gap: 10px; }
.lb-hero { display: block; width: 100%; text-align: left; padding: 18px; border-radius: 26px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1C1C1E 0%, #0A0A0A 60%); box-shadow: 0 14px 30px rgba(0,0,0,.18); transition: transform .2s var(--ease); }
.lb-hero::before { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); }
.lb-hero:active, .lb-card:active { transform: scale(.98); }
.lb-hero.open { background: linear-gradient(135deg, #2C2C2E, #1C1C1E); }
.lb-top { display: flex; align-items: center; gap: 8px; position: relative; }
.lb-rank { font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 99px; background: #fff; color: var(--ink); }
.lb-label { font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; opacity: .7; }
.lb-more { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 800; opacity: .65; white-space: nowrap; }
.lb-more svg { width: 14px; height: 14px; }
.lb-name { display: block; font-size: 20px; letter-spacing: -.3px; }
.lb-handle { font-size: 13.5px; opacity: .6; }
.lb-big { margin-top: 18px; font-size: 40px; font-weight: 800; letter-spacing: -1px; line-height: 1; position: relative; }
.lb-sub { display: block; font-size: 13px; font-weight: 400; letter-spacing: 0; opacity: .6; margin-top: 8px; }
.lb-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lb-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; padding: 14px; border-radius: 22px; min-width: 0; transition: transform .2s var(--ease); background: linear-gradient(160deg, #FFFFFF 40%, #F1F1F4); box-shadow: var(--shadow); }
.lb-card .lb-top { width: 100%; }
.lb-card .lb-label { font-size: 10px; letter-spacing: .6px; opacity: .55; line-height: 1.25; }
.lb-card .lb-more { margin: 2px 0 0; font-size: 11.5px; }
.lb-ic { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.lb-ic svg { width: 14px; height: 14px; }
.lb-card b { font-size: 15px; max-width: 100%; }
.lb-metric { font-size: 13px; font-weight: 800; color: var(--ink-2); }
.lb-card.open { opacity: .8; }
.you { font-size: 10.5px; font-weight: 800; margin-left: 6px; padding: 2px 6px; border-radius: 99px; background: rgba(127,127,127,.25); vertical-align: middle; }
.standing { margin: 14px var(--g) 0; padding: 18px; border-radius: 24px; color: #fff; background: radial-gradient(90% 120% at 100% 0%, #3A3A40, transparent 60%), linear-gradient(135deg, #1C1C1E, #0A0A0A); }
.standing-rank { display: block; font-size: 30px; letter-spacing: -.6px; line-height: 1.1; }
.standing .grow span { font-size: 13px; opacity: .65; }
.lb-cell .rank-num { width: 28px; text-align: center; font-weight: 800; font-size: 15px; color: var(--muted); flex-shrink: 0; }
.lb-cell .rank-num.top { color: var(--ink); }
.lb-val { font-weight: 800; font-size: 14px; white-space: nowrap; }

/* ---------- brand card (Home) ---------- */
.brand-card { --card: #FFFFFF; margin: 0 var(--g) 12px; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); background: var(--card); color: var(--ink); transition: background .2s; }
.brand-card .strip { display: flex; align-items: center; gap: 6px; padding: 12px 12px 0; }
.strip-btn { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 14px; border-radius: 99px; font-weight: 800; font-size: 13px; background: var(--fill); color: var(--ink); flex-shrink: 0; transition: transform .15s var(--ease); }
.strip-btn:active { transform: scale(.95); }
.strip-btn svg { width: 14px; height: 14px; }
.strip-btn.ink { background: var(--ink); color: #fff; }
.strip-chip { height: 34px; padding: 0 12px; border-radius: 99px; background: rgba(127,127,127,.12); font-size: 12.5px; font-weight: 800; display: inline-flex; align-items: center; white-space: nowrap; }
.brand-card .lvl-badge { margin-left: auto; }
.brand-card .head { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px 8px; }
.brand-card .name { font-weight: 800; font-size: 16.5px; }
.star-count { font-size: 19px; font-weight: 800; letter-spacing: -.3px; white-space: nowrap; }
/* New Survey: big, gently pulsing, hard to ignore */
.survey-cta { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; width: calc(100% - 24px); margin: 12px 12px 0; padding: 12px 12px 12px 14px; border-radius: 20px; background: var(--ink); color: #fff; text-align: left; animation: nudge 3.2s ease-in-out infinite; }
.survey-cta::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(10,10,10,.45); animation: ping 2s ease-out infinite; }
.survey-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-100%); animation: shine 2.6s ease-in-out infinite; }
.survey-cta b { display: block; font-size: 17px; }
.survey-cta .grow span { font-size: 12.5px; opacity: .7; }
.sc-ic, .sc-go { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.sc-ic { background: rgba(255,255,255,.14); }
.sc-go { background: #fff; color: var(--ink); width: 36px; height: 36px; }
.sc-ic svg, .sc-go svg { width: 20px; height: 20px; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(10,10,10,.35); } 100% { box-shadow: 0 0 0 10px rgba(10,10,10,0); } }
@keyframes nudge { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-1.2deg); } 92% { transform: rotate(1.2deg); } 95% { transform: rotate(-.6deg); } }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }

/* ---------- viewer + post editor (full screen) ---------- */
.viewer { position: absolute; inset: 0; z-index: 40; background: #0B0E14; color: #fff; animation: fade .18s ease; touch-action: pan-y; }
.v-media { position: absolute; inset: 0; }
.v-media > img, .v-media > video { width: 100%; height: 100%; object-fit: cover; }
.v-media .art { background: linear-gradient(160deg, #3A3A3F, #1C1C1E); color: #fff; padding: 18%; }
.v-media .art p { font-size: 24px; line-height: 1.35; -webkit-line-clamp: 9; }
/* chrome over posts: frosted glass that flips light/dark with the media behind it (lt-top / lt-rail / lt-bot) */
.v-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; padding: 14px 64px 44px 14px; padding-top: max(14px, env(safe-area-inset-top)); background: linear-gradient(rgba(0,0,0,.45), transparent); }
.lt-top .v-top { background: linear-gradient(rgba(255,255,255,.55), transparent); color: var(--ink); }
.viewer .dots { display: flex; gap: 4px; margin-bottom: 12px; }
.viewer .dots i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); }
.viewer .dots i.on { background: #fff; }
.lt-top .dots i { background: rgba(0,0,0,.18); } .lt-top .dots i.on { background: var(--ink); }
.v-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; }
.viewer .who { display: inline-flex; align-items: center; gap: 11px; min-width: 0; text-align: left; }
.who-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.who-txt b { font-size: 16.5px; letter-spacing: -.1px; }
.who-txt span { font-size: 13.5px; opacity: .72; margin-top: 2px; }
.logo-av.vw { width: 44px; height: 44px; font-size: 18px; box-shadow: 0 0 0 2px rgba(255,255,255,.75); }
.lt-top .logo-av.vw { box-shadow: 0 0 0 2px rgba(0,0,0,.12); }
.lt-top .date-chip.v { background: rgba(255,255,255,.75); color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.v-corner { position: absolute; top: max(20px, calc(env(safe-area-inset-top) + 6px)); right: 14px; z-index: 6; display: flex; align-items: center; gap: 8px; }
.viewer:has(.dots) .v-corner { top: max(36px, calc(env(safe-area-inset-top) + 22px)); }
.viewer .nav { position: absolute; top: 140px; bottom: 190px; width: 35%; z-index: 2; }
.viewer .nav.l { left: 0; } .viewer .nav.r { right: 0; }
.rail { position: absolute; right: 12px; bottom: 132px; z-index: 5; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.rail > button, .rail label { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; cursor: pointer; }
.rail .rb { width: 52px; height: 52px; border-radius: 50%; background: rgba(20,20,22,.34); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); display: grid; place-items: center; overflow: hidden; transition: transform .15s var(--ease), background .2s; }
.rail .rb.sm { width: 40px; height: 40px; }
.rail .rb.sm svg { width: 19px; height: 19px; }
.rail button:active .rb { transform: scale(.85); }
.rail svg { width: 25px; height: 25px; }
.rail .rl { padding: 3px 9px; border-radius: 99px; background: rgba(20,20,22,.34); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); white-space: nowrap; line-height: 1.3; }
.rail .liked .rb { background: #fff; color: #0A0A0A; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.rail .liked .rb svg { animation: pop-in .35s var(--ease); }
.rail .saved .rb { background: #fff; color: #0A0A0A; }
.rail button:disabled { opacity: .55; cursor: default; }
.rail-stars { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 99px; background: rgba(20,20,22,.34); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.lt-rail .rail .rb:not(.liked .rb), .lt-rail .rail .rl, .lt-rail .rail-stars { background: rgba(255,255,255,.62); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 2px 10px rgba(0,0,0,.06); }
.lt-rail .rail .liked .rb, .lt-rail .rail .saved .rb { background: #fff; color: #0A0A0A; box-shadow: 0 0 0 1.5px #0A0A0A, 0 4px 14px rgba(0,0,0,.14); }
.lt-rail .rail > button { color: var(--ink); }
/* volume: a vertical slider above the rail buttons */
.vol-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0 6px; border-radius: 99px; background: rgba(20,20,22,.34); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); width: 40px; }
.vol-wrap .rb.sm { background: transparent !important; box-shadow: none !important; }
.lt-rail .vol-wrap { background: rgba(255,255,255,.62); color: var(--ink); }
.vol { writing-mode: vertical-lr; direction: rtl; width: 20px; height: 84px; accent-color: #fff; cursor: pointer; margin: 0; }
.lt-rail .vol { accent-color: var(--ink); }
.viewer .caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 60px 82px 22px 14px; padding-bottom: max(22px, env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0,0,0,.4)); line-height: 1.5; font-size: 15px; pointer-events: none; }
.lt-bot .caption { background: linear-gradient(transparent, rgba(255,255,255,.35)); }
.viewer .caption > * { pointer-events: auto; }
.viewer .caption p { display: inline-block; max-width: 100%; overflow-wrap: anywhere; padding: 11px 15px; border-radius: 18px; background: rgba(20,20,22,.4); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.lt-bot .caption p { background: rgba(255,255,255,.7); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.06); }
.sub-btn { display: block; height: 36px; padding: 0 15px; border-radius: 99px; background: #fff; color: var(--ink); font-weight: 800; font-size: 13px; margin-bottom: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.lt-bot .sub-btn { background: var(--ink); color: #fff; }
/* Explore: one post per screen, scroll up and down */
.viewer.feed { touch-action: auto; }
.v-feed { position: absolute; inset: 0; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.v-feed::-webkit-scrollbar { display: none; }
.v-slide { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.v-slide-one { position: absolute; inset: 0; }

.editor { z-index: 45; }
.add-media { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 30px; cursor: pointer; background: linear-gradient(160deg, #3A3A3F, #1C1C1E); }
.add-media b { font-size: 18px; }
.add-media span:last-of-type { font-size: 13.5px; opacity: .6; }
.add-media .circle-btn { color: var(--ink); width: 64px; height: 64px; }
.date-btn { display: inline-flex; }
.editing-cap { padding-bottom: 104px !important; padding-right: 16px !important; }
.editor.sched .editing-cap { padding-bottom: 156px !important; }
.editor.re-edit .editing-cap { padding-bottom: 150px !important; }
.editor.sched.re-edit .editing-cap { padding-bottom: 200px !important; }
.editor .rail { bottom: 200px; }
.editor.sched .rail { bottom: 252px; }
.editor.re-edit .rail { bottom: 246px; }
.editor.sched.re-edit .rail { bottom: 298px; }
.editing-cap p { display: block; }
.editing-cap textarea { width: 100%; background: transparent; border: 0; outline: none; color: #fff; font-size: 16px; line-height: 1.5; resize: none; padding: 0; overflow: hidden; field-sizing: content; max-height: 6.2em; scrollbar-width: none; }
.editing-cap textarea::-webkit-scrollbar { display: none; }
.editing-cap textarea::placeholder { color: rgba(255,255,255,.6); }
.cap-tools { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.cap-tools .count { color: rgba(255,255,255,.55); margin-right: auto; }
.cap-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 6px; border-radius: 99px; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); font-size: 12.5px; font-weight: 800; cursor: pointer; }
.cap-btn svg { width: 16px; height: 16px; margin-left: 4px; }
.cap-btn img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.cap-btn.on { background: #fff; color: var(--ink); }
.ed-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; padding-bottom: max(14px, env(safe-area-inset-bottom)); background: rgba(10,10,10,.6); backdrop-filter: blur(14px); }
.ed-row { display: flex; align-items: center; gap: 10px; }
.ed-date, .date-pick { position: relative; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 14px; background: rgba(255,255,255,.12); font-size: 13.5px; cursor: pointer; }
.ed-date > svg, .date-pick > svg { width: 18px; height: 18px; flex-shrink: 0; }
.ed-date input, .date-pick input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.ed-date input::-webkit-calendar-picker-indicator, .date-pick input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.ed-change { margin-left: auto; font-weight: 800; font-size: 12.5px; opacity: .7; }
.date-pick { margin-top: 10px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); height: 50px; border-radius: 16px; }
.ed-delete { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; font-size: 13px; font-weight: 800; color: #FF8A8E; }
.ed-delete svg { width: 15px; height: 15px; }
.ed-modes { flex: 1; display: flex; gap: 4px; padding: 3px; border-radius: 16px; background: rgba(255,255,255,.1); min-width: 0; }
.ed-modes button { flex: 1; min-width: 0; padding: 6px 4px; border-radius: 13px; display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.ed-modes b { font-size: 12.5px; white-space: nowrap; }
.ed-modes span { font-size: 10.5px; opacity: .6; white-space: nowrap; }
.ed-modes button.on { background: #fff; color: var(--ink); }
.ed-modes button:disabled { opacity: .35; }
.share-btn { height: 48px; padding: 0 20px; flex-shrink: 0; }

/* ---------- brand page ---------- */
.brand-page { --page: #F2F2F7; background: var(--page); min-height: 100%; transition: background .15s; }
.sticky-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; padding: 10px var(--g); padding-top: max(10px, env(safe-area-inset-top)); background: rgba(242,242,247,.88); backdrop-filter: blur(16px); }
.brand-page .sticky-bar { background: color-mix(in srgb, var(--page) 86%, transparent); }
.back-pill { display: inline-flex; align-items: center; gap: 4px; height: 42px; padding: 0 14px 0 10px; border-radius: 99px; background: var(--card); color: var(--ink); font-weight: 800; font-size: 13.5px; flex-shrink: 0; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.back-pill svg { width: 18px; height: 18px; }
.sticky-bar .mini { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; background: var(--card); color: var(--ink); border-radius: 99px; padding: 5px 14px 5px 5px; height: 42px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.mini-txt { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mini-txt b { display: block; font-size: 13px; line-height: 1.2; }
.mini-txt span { font-size: 11.5px; color: var(--muted); font-weight: 400; white-space: nowrap; line-height: 1.2; }
.sticky-bar > .stat-pill { margin-left: auto; }
.edit-flag { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 11px; border-radius: 99px; background: var(--fill); font-size: 12.5px; font-weight: 800; color: var(--ink-2); line-height: 1; white-space: nowrap; }
.edit-flag svg { width: 16px; height: 16px; flex-shrink: 0; }
.lvl-btn { display: inline-flex; align-items: center; gap: 5px; height: 42px; padding: 0 14px 0 12px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.lvl-btn svg { width: 15px; height: 15px; }
.hero.media { height: 200px; }
.hero .art { background: linear-gradient(150deg, #2C2C2E, #0A0A0A); }
.hero-wrap { position: relative; }
.profile-card { position: relative; display: flex; align-items: center; gap: 14px; margin: -42px var(--g) 0; padding: 16px; background: var(--card); color: var(--ink); border-radius: var(--r-card); box-shadow: var(--shadow); }
.profile-card h1 { font-size: 21px; font-weight: 800; letter-spacing: -.3px; line-height: 1.2; overflow-wrap: anywhere; }
.profile-card .muted { color: var(--muted); }
.star-big { font-size: 22px; font-weight: 800; letter-spacing: -.4px; align-self: flex-start; white-space: nowrap; }
.about { display: flex; align-items: flex-start; gap: 14px; padding: 20px var(--g) 0; }
.about-text { flex: 1; min-width: 0; }
.about-cta { flex-shrink: 0; }
.about h2 { font-size: 19px; font-weight: 800; letter-spacing: -.2px; line-height: 1.3; overflow-wrap: anywhere; word-break: break-word; }
.about p { color: var(--ink-2); line-height: 1.55; margin-top: 6px; white-space: pre-line; overflow-wrap: anywhere; word-break: break-word; }
@media (max-width: 400px) { .about { flex-direction: column; } .about-cta { align-self: stretch; } .about-cta > .btn, .sub-stack { width: 100%; } .sub-stack .row > .btn { flex: 1; } }
.sub-stack { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.opt-in { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); background: rgba(127,127,127,.12); transition: transform .15s var(--ease), background .2s; }
.opt-in svg { width: 15px; height: 15px; }
.opt-in:active { transform: scale(.95); }
.opt-in.on { background: var(--ink); color: #fff; }
.links { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px var(--g) 0; }
.link-chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 99px; background: var(--card); color: var(--ink); font-weight: 800; font-size: 13px; text-decoration: none; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.link-chip svg { width: 16px; height: 16px; flex-shrink: 0; }
.link-chip.dashed { background: transparent; box-shadow: inset 0 0 0 1.5px #C7C7CC; color: var(--ink-2); }

.rewards-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 28px var(--g) 8px; background: var(--page, var(--bg)); }
.rewards-head.sticky { position: sticky; top: calc(62px + env(safe-area-inset-top)); z-index: 15; padding-top: 12px; margin-top: 16px; }
.rewards-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.reward-tools { padding: 4px 0 4px; }
.reward-tools .searchbar { margin-bottom: 10px; }
.jump-chips { display: flex; align-items: center; gap: 8px; padding: 0 var(--g) !important; }
.jump-chips .caps { margin-right: 2px; }
.rw-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; padding: 0 var(--g); }
.rw-tile { display: flex; flex-direction: column; gap: 3px; text-align: left; min-width: 0; scroll-snap-align: start; transition: transform .2s var(--ease); }
.rw-tile:active { transform: scale(.97); }
.rw-tile .media { aspect-ratio: 1; width: 100%; border-radius: 20px; margin-bottom: 6px; background: var(--card); }
.rw-tile b { font-size: 14.5px; line-height: 1.3; }
.rw-tile > span { font-size: 13px; color: var(--muted); font-weight: 400; }
.rw-tile.lg { flex: 0 0 62%; }
.carousel.releases { margin-top: 0; }
.carousel.releases .slide { aspect-ratio: 4/3; display: block; width: 100%; text-align: left; }
.slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 34px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; display: flex; flex-direction: column; }
.slide-cap b { font-size: 19px; letter-spacing: -.2px; }
.slide-cap span { font-size: 13.5px; opacity: .8; }
.edit-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 99px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 13px; font-weight: 800; box-shadow: 0 4px 14px rgba(0,0,0,.14); cursor: pointer; }
.edit-chip svg { width: 14px; height: 14px; }
.edit-chip.round { width: 32px; height: 32px; padding: 0; justify-content: center; }
.rw-tile .edit-chip.round { top: 8px; right: 8px; }
.edit-wrap { position: relative; cursor: pointer; }
.edit-wrap .edit-chip.round { bottom: -2px; right: -6px; }
/* editable text: a dashed underline, so nothing overlaps neighbors */
.editable { border-bottom: 1.5px dashed #B8B8C0; padding-bottom: 3px; min-height: 1.3em; cursor: text; outline: none; transition: border-color .15s; }
.editable:focus { border-bottom: 2px solid var(--ink); }
.about .editable + .edit-count + .editable { margin-top: 10px; }
[contenteditable]:empty::before { content: attr(data-ph); color: var(--muted); }
.edit-count { font-size: 11.5px; color: #AEAEB2; margin-top: 4px; text-align: right; font-weight: 400; height: 0; overflow: visible; visibility: hidden; }
.editable:focus + .edit-count { visibility: visible; height: auto; }
.edit-count.full { color: var(--red); }
.edit-banner { margin: 16px var(--g) 0; padding: 13px 16px; border-radius: 18px; background: var(--card); color: var(--ink-2); font-size: 13px; font-weight: 400; line-height: 1.45; display: flex; gap: 10px; align-items: center; }
.edit-banner svg { flex-shrink: 0; }
.slot { position: relative; }
.slot .repost, .slot .unslot { position: absolute; top: 6px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.15); transition: transform .35s cubic-bezier(.3,1.6,.5,1), background .2s, color .2s, box-shadow .3s; }
.slot .repost:active, .slot .unslot:active { transform: scale(.85); }
.slot .repost { right: 6px; transform-origin: top right; }
.slot .unslot { left: 6px; }
.slot .repost svg, .slot .unslot svg { width: 14px; height: 14px; }
/* repost on: grows, spins once, keeps a soft glow; off: settles back */
.slot .repost.on { background: var(--ink); color: #fff; transform: scale(1.3); box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 6px 18px rgba(0,0,0,.3); }
.slot .repost.on svg { animation: spin-once .6s var(--ease); }
.slot .repost.on::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #fff; animation: ring 1.8s ease-out infinite; }
@keyframes spin-once { from { transform: rotate(-200deg) scale(.6); } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.slot .unslot.locked { background: rgba(10,10,10,.55); color: #fff; backdrop-filter: blur(6px); box-shadow: none; cursor: default; }
.lock-left { position: absolute; left: 6px; bottom: 6px; z-index: 3; padding: 2px 7px; border-radius: 99px; background: rgba(10,10,10,.6); color: #fff; font-size: 10.5px; font-weight: 800; font-variant-numeric: tabular-nums; backdrop-filter: blur(6px); }

.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: transform .15s var(--ease); position: relative; }
.swatch:active { transform: scale(.9); }
.swatch.on { box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 0 0 3px #fff, 0 0 0 5px var(--ink); }

/* horizontal rows with arrow buttons on desktop */
.hs-wrap { position: relative; }
.hscroll { display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--g) 6px; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding: 0 var(--g); }
.hscroll::-webkit-scrollbar { display: none; }
.hs-arrow { position: absolute; top: 38%; z-index: 4; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.16); display: none; place-items: center; transition: transform .15s var(--ease); }
.hs-arrow svg { width: 18px; height: 18px; }
.hs-arrow:active { transform: scale(.9); }
.hs-arrow.l { left: 6px; } .hs-arrow.r { right: 6px; }
@media (hover: hover) and (pointer: fine) { .hs-wrap .hs-arrow { display: grid; } }

/* ---------- reward page ---------- */
.rw-title { font-size: 28px; font-weight: 800; letter-spacing: -.5px; line-height: 1.2; margin-top: 12px; overflow-wrap: anywhere; }
.rw-price { font-size: 17px; font-weight: 800; margin-top: 6px; }
.carousel { position: relative; margin: 16px var(--g) 0; border-radius: 28px; overflow: hidden; background: var(--card); }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel .slide { flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: start; position: relative; }
.car-prev, .car-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; }
/* keep the vertical centering while pressed, or the button jumps away from the pointer and the click is lost */
.car-prev:active, .car-next:active { transform: translateY(-50%) scale(.9); }
.car-prev::after, .car-next::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; }
.car-prev { left: 10px; } .car-next { right: 10px; }
.car-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; pointer-events: none; }
.car-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.55); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: width .25s var(--ease); }
.car-dots i.on { background: #fff; width: 20px; }
.rw-details { margin-top: 8px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.slide-rm { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; z-index: 3; }
.slide-rm svg { width: 15px; height: 15px; }
.add-slide { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--fill-2); cursor: pointer; text-align: center; padding: 20px; box-shadow: inset 0 0 0 2px var(--line); border-radius: 28px; }
.add-slide svg { width: 34px; height: 34px; color: var(--muted); }
.add-slide span { font-size: 13px; color: var(--muted); }
.inline-input { display: block; width: 100%; border: 0; outline: none; background: transparent; padding: 2px 0 4px; border-bottom: 1.5px dashed #B8B8C0; border-radius: 0; }
.inline-input:focus { border-bottom: 2px solid var(--ink); }
.inline-input.num { display: inline-block; width: 84px; font-weight: 800; text-align: center; }
.inline-input.num.sm { width: 52px; }
textarea.inline-input { resize: none; min-height: 96px; border: 1.5px dashed #B8B8C0; border-radius: 14px; padding: 12px; margin-top: 10px; line-height: 1.55; }
textarea.inline-input:focus { border: 2px solid var(--ink); }
.count-row { display: flex; justify-content: flex-end; margin-top: 4px; }
.price-edit { display: flex; align-items: center; justify-content: center; gap: 10px 18px; flex-wrap: wrap; margin: 14px auto 0; padding: 12px 16px; border-radius: 18px; background: var(--card); width: fit-content; max-width: 100%; }
.pe-group { display: inline-flex; align-items: baseline; gap: 6px; }
.rw-title.inline-input { text-align: center; }
.rw-price.center { text-align: center; }

/* ---------- explore: vertical discover grid ---------- */
.searchbar { margin: 0 var(--g) 14px; position: relative; }
.searchbar svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.searchbar .input { padding-left: 44px; padding-right: 64px; border: 0; height: 48px; border-radius: 99px; background: var(--card); }
.searchbar .clear { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 800; }
.brand-chip { flex: 0 0 104px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 14px 6px 12px; background: var(--card); border-radius: 22px; min-width: 0; scroll-snap-align: start; transition: transform .2s var(--ease); }
.brand-chip:active { transform: scale(.96); }
.brand-chip b { font-size: 13px; max-width: 100%; }
.brand-chip span { font-size: 11.5px; color: var(--muted); }
.discover { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; grid-auto-flow: dense; gap: 4px; padding: 0 var(--g); }
.d-tile { position: relative; display: block; width: 100%; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden; background: var(--fill); transition: transform .2s var(--ease); }
.d-tile:active { transform: scale(.97); }
.d-tile > img, .d-tile > video { width: 100%; height: 100%; object-fit: cover; }
.d-tile .art p { font-size: 11px; }
.d-tile .by { position: absolute; left: 5px; bottom: 5px; display: inline-flex; align-items: center; gap: 4px; max-width: calc(100% - 10px); padding: 2px 8px 2px 2px; border-radius: 99px; background: rgba(10,10,10,.6); color: #fff; backdrop-filter: blur(8px); font-size: 10.5px; font-weight: 800; }
.d-tile .by span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-tile .by .logo-av { width: 18px; height: 18px; font-size: 8px; box-shadow: 0 0 0 1px #fff; }
.d-tile .badge { bottom: auto; top: 6px; left: 6px; right: auto; width: 20px; height: 20px; }
.d-tile .date-chip.sm b { max-width: 70px; }

/* ---------- saved ---------- */
.f-ic { width: 22px; height: 22px; border-radius: 7px; display: inline-grid; place-items: center; color: #fff; flex-shrink: 0; }
.f-ic svg { width: 13px; height: 13px; }
.f-ic.neutral { background: var(--fill); color: var(--ink); }
.chip.on .f-ic { box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }
.sheet-item .f-ic { width: 40px; height: 40px; border-radius: 12px; }
.sheet-item .f-ic svg { width: 19px; height: 19px; }
.folder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 0 var(--g); }
.folder-grid .media.tile { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.folder-grid .media.tile.dragging { opacity: .3; transform: scale(.95); }
.drag-ghost { position: fixed; left: 0; top: 0; z-index: 9999; border-radius: 14px; overflow: hidden; pointer-events: none; box-shadow: 0 16px 40px rgba(0,0,0,.3); background: var(--fill); will-change: transform; }
.drag-ghost img, .drag-ghost video { width: 100%; height: 100%; object-fit: cover; display: block; }
.drag-ghost { opacity: .72; }
body.is-dragging, body.is-dragging * { cursor: grabbing !important; user-select: none !important; }
.folder-preview { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--fill-2); margin-bottom: 16px; }
.folder-preview b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.folder-preview .f-ic { width: 44px; height: 44px; border-radius: 13px; transition: background .2s; }
.folder-preview .f-ic svg { width: 21px; height: 21px; }
.icon-pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.icon-pick button { height: 48px; border-radius: 14px; background: var(--fill-2); display: grid; place-items: center; transition: transform .15s var(--ease); }
.icon-pick button:active { transform: scale(.92); }
.icon-pick button svg { width: 21px; height: 21px; }
.icon-pick button.on { background: var(--ink); color: #fff; }

.coupon { margin: 0 var(--g) 12px; background: var(--card); border-radius: var(--r-card); display: flex; overflow: hidden; }
.coupon .l { width: 88px; flex-shrink: 0; display: grid; place-items: center; border-right: 2px dashed var(--bg); background: var(--fill-2); color: var(--muted); }
.coupon .l svg { width: 28px; height: 28px; }
.coupon .l img { width: 100%; height: 100%; object-fit: cover; }
.coupon .r { flex: 1; padding: 16px; min-width: 0; }
.coupon code { display: inline-block; margin-top: 10px; font-family: var(--font); font-weight: 800; letter-spacing: 1.6px; background: var(--fill-2); padding: 7px 12px; border-radius: 99px; font-size: 13.5px; }
.coupon.used { opacity: .45; }

/* calendar: month grid with colored event bars per brand */
.cal-card { margin: 0 var(--g); padding: 12px 8px 10px; background: var(--card); border-radius: var(--r-card); }
.cal-top { padding: 2px 6px 10px; }
.cal-month { font-size: 19px; letter-spacing: -.3px; }
.soft-pill { height: 36px; box-shadow: none; background: var(--fill-2); }
.cal .wk { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal .wk.head span { font-size: 11px; color: var(--muted); font-weight: 800; padding: 4px 0 6px; text-align: center; letter-spacing: .4px; text-transform: uppercase; }
.cal .wk.grid { border-top: 1px solid var(--line); }
.cal .day { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 2px; min-height: 74px; padding: 4px 0 4px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; min-width: 0; transition: background .15s; }
.cal .day:nth-child(7n) { border-right: 0; }
.cal .day.wkend { background: #FAFAFC; }
.cal .day.out { opacity: .45; }
.cal .day.sel { background: var(--fill); }
.cal .day .dn { align-self: center; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.cal .day.today .dn { background: var(--ink); color: #fff; }
.cal .bars { display: flex; flex-direction: column; gap: 2px; }
.cal-bar { display: block; height: 15px; margin: 0 -1px; padding: 0 4px; background: var(--c); color: #fff; font-style: normal; font-size: 9.5px; font-weight: 800; line-height: 15px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-bar.head { margin-left: 3px; border-top-left-radius: 5px; border-bottom-left-radius: 5px; }
.cal-bar.tail { margin-right: 3px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; }
.cal-bar.expiry { background: transparent; color: var(--c); box-shadow: inset 0 0 0 1.5px var(--c); border-radius: 5px; margin: 0 3px; }
.cal-bar.empty { background: transparent; }
.cal .day .more { font-size: 9.5px; font-weight: 800; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 12px calc(var(--g) + 4px) 0; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; flex-shrink: 0; background: var(--ink); }
.dot.ring { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.cell.agenda { padding-left: 20px; }
.ag-bar { position: absolute; left: 8px; top: 12px; bottom: 12px; width: 4px; border-radius: 99px; background: var(--c); }
.ag-bar.expiry { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c); }
.agenda .date-blk b { color: var(--c); }
.date-blk { width: 44px; text-align: center; flex-shrink: 0; }
.date-blk b { display: block; font-size: 22px; line-height: 1.1; }
.date-blk span { font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- account ---------- */
.profile { padding: 4px var(--g) 0; text-align: center; }
.avatar-wrap { position: relative; display: inline-block; cursor: pointer; }
.avatar-wrap .edit-chip.round { right: -2px; bottom: 2px; }
.profile .avatar { width: 96px; height: 96px; font-size: 38px; background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.profile h1 { font-size: 26px; font-weight: 800; letter-spacing: -.4px; margin-top: 14px; line-height: 1.2; overflow-wrap: anywhere; }
.profile .muted { margin-top: 2px; }
.profile .bio { margin-top: 8px; color: var(--ink-2); white-space: pre-line; line-height: 1.5; overflow-wrap: anywhere; }
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 var(--g); }
.bento.three { grid-template-columns: repeat(3, 1fr); }
.bento.sheet-pad { padding: 0 20px; }
.tile:not(.media) { background: var(--card); border-radius: 22px; padding: 14px 16px; text-align: left; }
.tile.soft { background: var(--fill-2); }
.tile .k { font-size: 12.5px; color: var(--ink-2); font-weight: 400; line-height: 1.3; }
.tile b { display: block; font-size: 24px; letter-spacing: -.4px; margin: 4px 0 2px; line-height: 1.1; }
.tile em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--green); }
.tile em.down { color: var(--red); }
.tile em.flat { color: var(--muted); font-weight: 400; }

/* level card: art and finish change with rank */
.level-card { margin: 0 var(--g); border-radius: 28px; position: relative; overflow: hidden; box-shadow: var(--shadow); background: linear-gradient(135deg, #FFFFFF 0%, #EDEDF2 55%, #DCDCE3 100%); color: var(--ink); }
.level-card.cosmonaut { background: radial-gradient(90% 80% at 100% 0%, #4A4A52, transparent 60%), linear-gradient(140deg, #2C2C30, #121214); color: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.22); }
.level-card.captain { background: radial-gradient(70% 60% at 85% 10%, rgba(255,255,255,.18), transparent 60%), radial-gradient(120% 90% at 0% 100%, #1F1F23, #000 70%); color: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.lv-body { position: relative; z-index: 1; padding: 22px; }
.lv-rank { display: inline-flex; font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; background: var(--ink); color: #fff; }
.cosmonaut .lv-rank, .captain .lv-rank { background: #fff; color: var(--ink); }
.lv-num { font-size: 44px; font-weight: 800; letter-spacing: -1.2px; line-height: 1; margin: 12px 0 6px; }
.level-card .note { font-size: 13px; font-weight: 400; opacity: .72; }
.level-card .bar { background: rgba(127,127,127,.22); margin: 16px 0 8px; height: 8px; width: 100%; }
.level-card .bar > i { background: currentColor; }
.ranks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.ranks div { border-radius: 16px; padding: 10px; background: rgba(255,255,255,.6); font-size: 11.5px; font-weight: 400; line-height: 1.35; color: var(--ink-2); }
.ranks div b { display: block; color: var(--ink); font-size: 13.5px; }
.ranks div.on { background: var(--ink); color: rgba(255,255,255,.7); }
.ranks div.on b { color: #fff; }
.cosmonaut .ranks div, .captain .ranks div { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
.cosmonaut .ranks div b, .captain .ranks div b { color: #fff; }
.cosmonaut .ranks div.on, .captain .ranks div.on { background: #fff; color: rgba(0,0,0,.6); }
.cosmonaut .ranks div.on b, .captain .ranks div.on b { color: var(--ink); }
.lv-art { position: absolute; inset: 0; pointer-events: none; }
.lv-art svg { width: 100%; height: 100%; }
.lv-rocket { position: absolute; right: 18px; top: 18px; width: 64px; height: 64px; opacity: .14; animation: bob 3s ease-in-out infinite; }
.puff { position: absolute; right: 44px; top: 86px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0; animation: puff 2.4s ease-out infinite; }
.puff.p2 { animation-delay: .8s; } .puff.p3 { animation-delay: 1.6s; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(4deg); } }
@keyframes puff { 0% { transform: translate(0, 0) scale(.6); opacity: .14; } 100% { transform: translate(-6px, 34px) scale(1.8); opacity: 0; } }
.lv-planet { position: absolute; right: -6px; top: -6px; width: 120px; height: 120px; opacity: .2; animation: spin 26s linear infinite; }
.orb { position: absolute; right: 50px; top: 52px; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; opacity: .5; transform-origin: 6px 6px; animation: orbit 5s linear infinite; }
@keyframes orbit { from { transform: rotate(0) translateX(46px); } to { transform: rotate(360deg) translateX(46px); } }
.tw { position: absolute; width: 12px; height: 12px; opacity: .2; animation: twinkle 2.6s ease-in-out infinite; }
.tw.t1 { right: 150px; top: 22px; } .tw.t2 { right: 26px; top: 128px; width: 9px; height: 9px; animation-delay: .7s; } .tw.t3 { right: 110px; top: 70px; width: 16px; height: 16px; animation-delay: 1.3s; } .tw.t4 { right: 60px; top: 30px; animation-delay: 1.9s; }
@keyframes twinkle { 50% { opacity: .7; transform: scale(1.3); } }
.lv-crown { position: absolute; right: 22px; top: 20px; width: 70px; height: 70px; opacity: .22; animation: bob 4s ease-in-out infinite; }
.shine { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.12) 50%, transparent 65%); transform: translateX(-100%); animation: shine 4.5s ease-in-out infinite; }

/* ---------- business ---------- */
.invite-card b { font-size: 15px; }
.link-box { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 13px 16px; border-radius: 16px; background: var(--fill-2); font-family: var(--font); font-weight: 400; font-size: 13.5px; letter-spacing: .1px; color: var(--ink-2); word-break: break-all; line-height: 1.4; }
.link-box svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--ink); }
.mk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px var(--g) 0; }
.mk-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; min-height: 140px; border-radius: 24px; background: var(--card); text-align: left; transition: transform .2s var(--ease); box-shadow: var(--shadow); }
.mk-tile:active { transform: scale(.97); }
.mk-tile:last-child:nth-child(even) { grid-column: 1 / -1; min-height: 110px; }
.mk-tile b { font-size: 17px; margin-top: auto; position: relative; }
.mk-tile span:not(.mk-ic):not(.fx) { font-size: 12.5px; line-height: 1.4; color: var(--muted); position: relative; }
.mk-ic { width: 40px; height: 40px; border-radius: 13px; background: var(--fill); display: grid; place-items: center; position: relative; }
.mk-ic svg { width: 20px; height: 20px; }
.mk-tile.hero { grid-column: 1 / -1; min-height: 172px; color: #fff; background: radial-gradient(90% 120% at 100% 0%, #3A3A40, transparent 60%), linear-gradient(135deg, #1C1C1E, #0A0A0A); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.mk-tile.hero b { font-size: 25px; }
.mk-tile.hero span:not(.mk-ic):not(.fx) { color: rgba(255,255,255,.62); }
.mk-tile.hero .mk-ic { background: #fff; color: var(--ink); width: 50px; height: 50px; border-radius: 50%; }
.mk-tile.hero .fx i { width: 22px; height: 22px; }
.chart-card { margin: 0 var(--g); padding: 18px 16px 12px; background: var(--card); border-radius: var(--r-card); }
.chart-card .big-num { margin-top: 4px; }
.chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 14px; }
.chart i { flex: 1; background: var(--fill); border-radius: 8px; transition: height .4s var(--ease); }
.chart i.hi { background: var(--ink); }
.chart-x { display: flex; justify-content: space-between; gap: 8px; padding-top: 8px; font-size: 11.5px; color: var(--muted); font-weight: 400; }
.chart-x span { flex: 1; text-align: center; }
.ai { margin: 12px var(--g) 0; padding: 18px; border-radius: var(--r-card); background: linear-gradient(135deg, #FFFFFF, #EFEFF3); box-shadow: var(--shadow); }
.ai.sheet-ai { margin: 16px 20px 0; }
.ai .h { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14.5px; }
.ai ul { margin: 10px 0 0; padding-left: 18px; line-height: 1.55; font-size: 14px; color: var(--ink-2); }
.ai li + li { margin-top: 6px; }
.about-ai { padding-top: 16px; }
.about-ai .small { display: flex; align-items: center; gap: 6px; }
.about-ai .small svg { width: 15px; height: 15px; }
.about-ai p { margin: 6px 0 10px; line-height: 1.5; }
.quota { margin: 4px var(--g) 0; display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); font-weight: 400; }
.quota .dots { display: flex; gap: 5px; }
.quota .dots i { width: 22px; height: 6px; border-radius: 99px; background: var(--line); }
.quota .dots i.used { background: var(--ink); }
.opt-row { display: flex; align-items: center; gap: 8px; position: relative; }
.opt-row + .opt-row { margin-top: 8px; }
.opt-row .input { padding-right: 60px; }
.opt-row .count { position: absolute; right: 56px; top: 50%; transform: translateY(-50%); }
.opt-row:not(:has(.circle-btn)) .count { right: 16px; }
.add-opt { margin-top: 8px; align-self: flex-start; }
.audience { margin-top: 18px; }
.aud-count { font-size: 13px; font-weight: 800; padding: 5px 10px; border-radius: 99px; background: var(--ink); color: #fff; white-space: nowrap; }
.crit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.crit label { display: flex; flex-direction: column; font-size: 12.5px; font-weight: 800; color: var(--ink-2); margin-bottom: 6px; line-height: 1.3; }
.crit label span { font-weight: 400; color: var(--muted); font-size: 11.5px; }
.crit .input { height: 46px; background: var(--fill-2); }
.thumb { width: 56px; height: 72px; border-radius: 12px; flex-shrink: 0; }
.thumb.sm { width: 42px; height: 54px; border-radius: 10px; }
.thumb .art p { font-size: 8px; }
.stat-line { display: flex; gap: 12px; font-size: 13px; color: var(--muted); margin-top: 4px; flex-wrap: wrap; }
.stat-line b { color: var(--ink); }
.post-metric .pm { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 99px; background: rgba(10,10,10,.6); color: #fff; font-size: 10.5px; font-weight: 800; }
.post-metric .pm svg { width: 11px; height: 11px; }
.live-dot { position: absolute; top: 6px; left: 6px; padding: 3px 7px; border-radius: 99px; background: #fff; color: var(--ink); font-size: 10px; font-weight: 800; }
.live-dot.q { background: var(--ink); color: #fff; }
.q-cell { gap: 10px; }
.q-pos { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.q-ctl { display: flex; gap: 4px; flex-shrink: 0; }
.q-ctl .circle-btn.sm { width: 32px; height: 32px; }
.resp-bar { margin-top: 14px; }
.resp-bar .spread { font-size: 14.5px; font-weight: 800; margin-bottom: 7px; }
.resp-bar .bar { height: 10px; }

/* plans */
.plan-row { position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; width: calc(100% - 2 * var(--g)); margin: 0 var(--g); padding: 20px; border-radius: 26px; text-align: left; color: #fff; background: radial-gradient(90% 120% at 100% 0%, #3A3A40, transparent 60%), linear-gradient(135deg, #1C1C1E, #0A0A0A); box-shadow: 0 14px 30px rgba(0,0,0,.15); transition: transform .2s var(--ease); }
.plan-row:active { transform: scale(.98); }
.plan-row > .grow { position: relative; }
.plan-row b { display: block; font-size: 26px; letter-spacing: -.5px; margin: 2px 0; }
.plan-row .grow > span:not(.caps) { font-size: 13px; opacity: .65; }
.plan-cta { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 8px 0 14px; border-radius: 99px; background: #fff; color: var(--ink); font-weight: 800; font-size: 13px; flex-shrink: 0; }
.plan-cta svg { width: 16px; height: 16px; }
.plans-lead { padding: 0 var(--g); color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.plans-scroll { padding-top: 14px; padding-bottom: 18px; }
.plan-card { position: relative; overflow: hidden; flex: 0 0 80%; scroll-snap-align: center; display: flex; flex-direction: column; padding: 20px; border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.plan-card > *:not(.plan-art) { position: relative; z-index: 1; }
.pc-top { display: flex; align-items: center; justify-content: space-between; min-height: 26px; }
.plan-card h3 { font-size: 30px; font-weight: 800; letter-spacing: -.6px; margin-top: 14px; line-height: 1.1; }
.plan-blurb { font-size: 13.5px; opacity: .6; margin-top: 4px; }
.plan-price { font-size: 38px; font-weight: 800; letter-spacing: -1px; margin-top: 16px; line-height: 1; }
.plan-price small { font-size: 13.5px; font-weight: 400; letter-spacing: 0; opacity: .6; }
.pc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; }
.pc-stats div { border-radius: 16px; padding: 10px 12px; background: rgba(127,127,127,.1); }
.pc-stats b { display: block; font-size: 20px; letter-spacing: -.3px; }
.pc-stats span { font-size: 11.5px; opacity: .65; line-height: 1.3; display: block; }
.pc-btn { margin-top: auto; }
.plan-card.t1 { background: linear-gradient(160deg, #FFFFFF, #F1F1F4); }
.plan-card.t2 { background: linear-gradient(160deg, #F6F6F9, #E3E3E8); }
.plan-card.dark { color: #fff; }
.plan-card.t3 { background: linear-gradient(160deg, #3A3A3F, #1C1C1E); }
.plan-card.t4 { background: linear-gradient(160deg, #2C2C2E, #0A0A0A); }
.plan-card.t5 { background: radial-gradient(90% 60% at 100% 0%, #48484F, transparent 60%), linear-gradient(160deg, #1C1C1E, #000); }
.plan-card.dark .pc-stats div { background: rgba(255,255,255,.08); }
.plan-card.dark .status { background: #fff; color: var(--ink); }
.plan-card.current { box-shadow: 0 0 0 3px var(--ink), var(--shadow); }
.plan-card.dark.current { box-shadow: 0 0 0 3px #8E8E93, var(--shadow); }
.plan-card.current .pc-btn:disabled { opacity: .5; }
.plan-compare { margin-top: 4px; padding: 6px 16px; }
.pc-line { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.pc-line + .pc-line { border-top: 1px solid var(--line); }
.pc-line svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; }
/* animated plan art */
/* one icon per plan, same size, spot and motion: a slow float with sparkles */
.plan-art { position: absolute; inset: 0; pointer-events: none; color: currentColor; overflow: hidden; border-radius: inherit; }
.pa-ic { position: absolute; right: 12px; top: 50px; width: 104px; height: 104px; opacity: .16; animation: pa-float 7s ease-in-out infinite; }
.pa-ic svg { width: 100%; height: 100%; }
.pa-tw { position: absolute; width: 14px; height: 14px; opacity: 0; animation: pa-twinkle 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * .8s); }
.pa-tw svg { width: 100%; height: 100%; }
.pa-tw:nth-of-type(1) { right: 132px; top: 22px; } .pa-tw:nth-of-type(2) { right: 22px; top: 128px; width: 11px; height: 11px; }
.pa-tw:nth-of-type(3) { right: 118px; top: 104px; width: 10px; height: 10px; } .pa-tw:nth-of-type(4) { right: 16px; top: 12px; width: 12px; height: 12px; }
.plan-row .pa-ic { width: 92px; height: 92px; right: 110px; top: 50%; margin-top: -46px; opacity: .2; }
.plan-row .pa-tw { display: none; }
@keyframes pa-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(6deg); } }
@keyframes pa-twinkle { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: .35; transform: scale(1.15); } }
.plan-art + * { position: relative; }

/* ---------- sheets ---------- */
.overlay { position: absolute; inset: 0; z-index: 60; background: rgba(0,0,0,.38); display: flex; flex-direction: column; justify-content: flex-end; animation: fade .15s ease; }
.sheet { background: var(--card); border-radius: 30px 30px 0 0; max-height: 92%; overflow-y: auto; padding: 10px 0 22px; padding-bottom: max(22px, env(safe-area-inset-bottom)); animation: up .26s var(--ease); scrollbar-width: none; }
.sheet .grab { width: 40px; height: 5px; border-radius: 99px; background: var(--line); margin: 0 auto 12px; }
.sheet h2 { font-size: 19px; font-weight: 800; text-align: center; padding: 4px 24px 16px; letter-spacing: -.2px; line-height: 1.3; }
.sheet .body { padding: 6px 20px; }
.sheet-pad { padding: 6px 20px; }
.sub-c { text-align: center; color: var(--muted); line-height: 1.5; }
.sheet-item { display: flex; align-items: center; gap: 14px; padding: 10px 20px; width: 100%; font-weight: 800; text-align: left; }
.check { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; flex-shrink: 0; }
.check.on { background: var(--ink); box-shadow: none; color: #fff; }
.check svg { width: 15px; height: 15px; }
.survey-head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.sheet-q { font-size: 22px; font-weight: 800; letter-spacing: -.3px; margin: 14px 0 12px; line-height: 1.3; overflow-wrap: anywhere; }
.opt { display: block; width: 100%; padding: 17px 20px; border-radius: 30px; background: var(--fill-2); font-weight: 800; font-size: 16px; text-align: center; margin-top: 8px; transition: background .2s, color .2s, transform .15s var(--ease); }
.opt:active { transform: scale(.98); }
.opt.on { background: var(--ink); color: #fff; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 16px; }
.scale button { height: 58px; border-radius: 20px; background: var(--fill-2); font-weight: 800; font-size: 19px; display: grid; place-items: center; text-align: center; transition: background .15s, transform .15s var(--ease); }
.scale button:active { transform: scale(.94); }
.scale button.on { background: var(--ink); color: #fff; }
.scale-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }

.toast { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 99; display: inline-flex; align-items: center; gap: 10px; background: #1C1C1E; color: #fff; padding: 11px 18px 11px 11px; border-radius: 99px; font-size: 14px; font-weight: 400; max-width: calc(100% - 32px); width: max-content; white-space: normal; line-height: 1.35; border-radius: 22px; animation: pop .22s var(--ease); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.toast.info { padding: 12px 20px; }
.toast .ic { width: 24px; height: 24px; border-radius: 50%; background: #34C759; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.toast .ic svg { width: 14px; height: 14px; }
.toast.err .ic { background: var(--red); }
@keyframes pop { from { transform: translate(-50%, 10px); opacity: 0; } }

/* ---------- signed out ---------- */
.splash { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.splash img { height: 34px; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ob { flex: 1; display: flex; flex-direction: column; padding: 0 24px; padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: max(24px, env(safe-area-inset-bottom)); overflow-y: auto; scrollbar-width: none; }
.ob::-webkit-scrollbar { display: none; }
.ob > * { flex-shrink: 0; }
.ob .nav { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.ob .center-nav { justify-content: center; }
.ob-logo { height: 30px; }
.ob h1 { font-size: 29px; font-weight: 800; letter-spacing: -.5px; line-height: 1.2; }
.ob .lead { color: var(--muted); font-size: 16px; line-height: 1.55; margin-top: 10px; }
.ob .foot { margin-top: auto; padding-top: 24px; position: sticky; bottom: 0; background: linear-gradient(rgba(242,242,247,0), var(--bg) 22px); display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.ob .note { text-align: center; color: var(--muted); font-size: 14.5px; line-height: 1.5; margin-top: 6px; }
.dev-note { margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: var(--card); font-size: 13.5px; display: flex; gap: 8px; align-items: center; color: var(--ink-2); line-height: 1.45; }
.dev-note svg { width: 18px; height: 18px; flex-shrink: 0; }

/* landing: big, centered, balanced */
.landing { justify-content: space-between; padding-top: max(20px, env(safe-area-inset-top)); }
.land-top { display: flex; justify-content: center; padding-top: 16px; }
.land-logo { height: 56px; width: auto; }
.land-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 10px 0 6px; }
.land-mid h1 { font-size: 46px; letter-spacing: -1.2px; line-height: 1.06; max-width: 380px; }
.land-lead { font-size: 21px; line-height: 1.45; color: var(--muted); max-width: 350px; margin-top: 4px; font-weight: 400; }
.land-foot { display: flex; flex-direction: column; gap: 10px; padding-bottom: 34px; }
.orbit { position: relative; width: 100%; max-width: 420px; height: 340px; margin: 14px auto 6px; }
.orbit-ellipse { position: absolute; left: 50%; top: 50%; width: 88%; height: 156px; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px dashed #CFCFD6; }
.sat { position: absolute; left: 50%; top: 50%; width: 92px; height: 120px; will-change: transform; }
.sat-card { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.14); position: relative; }
.sat-card.media > img, .sat-card.media > video { width: 100%; height: 100%; object-fit: cover; }
.sat-card .art p { font-size: 9px; }
.icon-card { display: grid; place-items: center; background: linear-gradient(160deg, #FFFFFF, #E9E9EE); color: var(--ink); }
.icon-card svg { width: 34px; height: 34px; }
.sat-tag { position: absolute; left: 5px; right: 5px; bottom: 5px; display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,.94); color: var(--ink); border-radius: 99px; padding: 2px 6px 2px 2px; font-size: 9.5px; font-weight: 800; overflow: hidden; white-space: nowrap; }
.sat-tag .logo-av.xs { width: 16px; height: 16px; font-size: 8px; }
.core-wrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 20; }
.logo-av.core { width: 132px; height: 132px; font-size: 54px; box-shadow: 0 0 0 6px #fff, 0 22px 48px rgba(0,0,0,.24); }
.logo-av.core.dn { background: #0A0A0A; }
.logo-av.core.dn img { object-fit: contain; }

/* role choice: expands with an animated icon */
.role-opts { margin-top: 28px; }
.opt.role { position: relative; overflow: hidden; background: var(--card); box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.opt.role.on { background: var(--ink); padding: 18px 20px 22px; border-radius: 28px; }
.opt-label { display: block; }
.role-more { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 14px; animation: rise .35s var(--ease) both; }
.role-more b { font-size: 15px; }
.role-more small { font-weight: 400; font-size: 13.5px; line-height: 1.45; opacity: .72; max-width: 300px; }
.role-ic { position: relative; width: 96px; height: 96px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; margin: 4px 0 8px; animation: pop-in .45s var(--ease) both; box-shadow: 0 0 0 8px rgba(255,255,255,.08); }
.role-ic > svg { width: 62px; height: 62px; animation: bob 2.4s ease-in-out infinite; }
.role-ic i { position: absolute; width: 24px; height: 24px; color: #fff; animation: role-tw 1.8s ease-in-out infinite; }
.role-ic i:nth-of-type(1) { top: -4px; right: -6px; } .role-ic i:nth-of-type(2) { bottom: 0; left: -6px; width: 18px; height: 18px; animation-delay: .6s; }
@keyframes role-tw { 0%, 100% { opacity: .35; transform: scale(.85) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(15deg); } }
.role-ic i svg { width: 100%; height: 100%; }
@keyframes pop-in { from { transform: scale(.4); opacity: 0; } }

/* ================= round 4 ================= */

/* ---------- contrast system: any page/card color (vars from toneVars() in app.js) ---------- */
.tn { color: var(--fg); }
.tn .muted, .tn .sec-h > span, .tn .hint, .tn .sub-h .muted, .tn .rw-tile > span, .tn .about p, .tn .sec-desc, .tn .feat-label, .tn .empty, .tn .small.muted { color: var(--fg2); }
.tn .empty b, .tn .sec-h h2, .tn .sub-h, .tn .rewards-head h2, .tn .rw-tile b, .tn .about h2, .tn .star-count, .tn .name { color: var(--fg); }
.tn .card:not(.profile-card) { background: var(--sf); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-c); }
.tn .stat-pill, .tn .link-chip:not(.dashed), .tn .opt-in:not(.on), .tn .strip-btn:not(.ink), .tn .strip-chip, .tn .pill-btn:not(.dark) { background: var(--chip); color: var(--chip-fg); box-shadow: none; }
.tn .circle-btn:not(.on):not(.glass):not(.glass-dark) { background: var(--chip); color: var(--chip-fg); box-shadow: none; }
.tn .circle-btn.on, .tn .opt-in.on, .tn .strip-btn.ink, .tn .lvl-badge, .tn .survey-cta, .tn .chip.on { background: var(--btn); color: var(--btn-fg); }
.tn .survey-cta .sc-go { background: var(--btn-fg); color: var(--btn); }
.tn .survey-cta .sc-ic { background: color-mix(in srgb, var(--btn-fg) 14%, transparent); }
.tn .chip:not(.on):not(.dashed) { background: var(--chip); color: var(--chip-fg); box-shadow: none; }
.tn .chip.dashed, .tn .link-chip.dashed { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--dash); }
.tn .btn:not(.gray):not(.white) { background: var(--btn); color: var(--btn-fg); }
.tn .btn.gray { background: var(--chip); color: var(--chip-fg); }
.tn .editable, .tn .inline-input { border-bottom-color: var(--dash); }
.tn .editable:focus { border-bottom-color: var(--fg); }
.tn [contenteditable]:empty::before { color: var(--fg3); }
.tn .edit-count, .tn .count { color: var(--fg3); }
.tn .slot-empty { background: var(--sf); box-shadow: inset 0 0 0 1.5px var(--line-c); color: var(--fg2); }
.tn .rw-tile .media { box-shadow: 0 0 0 1px var(--line-c); }
.tn .rewards-head { background: var(--page); }
.dark .logo-av:not(:has(img)) { background: #fff; color: var(--ink); }

/* ---------- earned popup ---------- */
.gain { position: absolute; left: 50%; top: 38%; z-index: 120; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.gain span { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 99px; background: rgba(10,10,10,.88); color: #fff; font-size: 20px; font-weight: 800; letter-spacing: -.2px; backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(0,0,0,.25); animation: gain-in .5s cubic-bezier(.3,1.5,.5,1) both, gain-out .5s ease-in 1.7s forwards; animation-delay: calc(var(--i) * .09s), calc(1.7s + var(--i) * .05s); }
.gain span.lv { background: #fff; color: var(--ink); box-shadow: 0 0 0 2px var(--ink), 0 16px 40px rgba(0,0,0,.25); }
@keyframes gain-in { from { transform: translateY(16px) scale(.6); opacity: 0; } }
@keyframes gain-out { to { transform: translateY(-26px); opacity: 0; } }

/* ---------- explore: recent searches ---------- */
.search-wrap { z-index: 25; }
.recent-drop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--card); border-radius: 22px; box-shadow: 0 18px 40px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.04); padding: 6px 0 8px; animation: up .18s var(--ease); }
.rd-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 18px 4px; font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .6px; text-transform: uppercase; }
.rd-head button { font-size: 12.5px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.rd-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 18px; font-weight: 400; font-size: 15px; text-align: left; }
.rd-item:hover { background: var(--fill-2); }
.rd-item svg { position: static !important; transform: none !important; width: 16px !important; height: 16px !important; color: var(--muted); flex-shrink: 0; }

/* ---------- leaderboard note ---------- */
.lb-note { display: flex; gap: 12px; align-items: flex-start; margin: 14px var(--g) 0; padding: 14px 16px; border-radius: 20px; background: var(--card); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.lb-note b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.lb-note > svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }

/* ---------- queue clusters ---------- */
.q-hint { padding-top: 0; margin-top: -4px; margin-bottom: 10px; }
.queue { padding: 0 var(--g); display: flex; flex-direction: column; gap: 10px; }
.q-cluster { display: flex; gap: 10px; align-items: stretch; border-radius: 22px; transition: transform .2s var(--ease), opacity .2s; }
.q-date { position: relative; flex: 0 0 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 0; border-radius: 20px; background: var(--ink); color: #fff; cursor: grab; touch-action: pan-y; }
.qd-blk { display: flex; flex-direction: column; align-items: center; line-height: 1.05; }
.qd-blk span { font-size: 10.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; opacity: .7; }
.qd-blk b { font-size: 24px; letter-spacing: -.5px; margin: 2px 0; }
.q-fill { font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 99px; background: rgba(255,255,255,.16); }
.q-grip { display: grid; place-items: center; width: 22px; height: 30px; flex-shrink: 0; color: #C7C7CC; cursor: grab; touch-action: none; }
.q-grip svg { width: 16px; height: 16px; }
.q-grip.day { color: rgba(255,255,255,.55); height: 18px; }
.q-items { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 20px; background: var(--card); transition: box-shadow .15s; }
.q-item { display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 2px; border-radius: 15px; background: var(--fill-2); position: relative; transition: opacity .2s, transform .2s var(--ease); }
.q-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; text-align: left; }
.q-open .t { font-weight: 800; font-size: 14px; line-height: 1.3; }
.q-open .s { font-size: 12px; color: var(--muted); margin-top: 1px; }
.q-open .ic-tile { width: 42px; height: 42px; border-radius: 12px; background: var(--card); }
.q-item .circle-btn.sm { width: 32px; height: 32px; background: var(--card); }
.q-add { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 14px; font-size: 13px; font-weight: 800; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line); }
.q-add svg { width: 15px; height: 15px; }
.q-cluster.blank .q-date { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px #C7C7CC; cursor: default; }
.q-cluster.blank .q-fill { background: var(--fill); }
.q-blank { align-items: center; justify-content: center; flex-direction: row; gap: 8px; min-height: 76px; background: transparent; box-shadow: inset 0 0 0 1.5px #C7C7CC; color: var(--ink-2); font-weight: 800; font-size: 13.5px; text-align: center; padding: 10px 14px; }
.q-blank svg { width: 18px; height: 18px; flex-shrink: 0; }
.q-blank:active, .q-add:active { transform: scale(.98); }
.q-item.dragging, .q-cluster.dragging, .sec-rw.dragging { opacity: .3; }
.q-ghost { position: fixed !important; left: 0; top: 0; z-index: 9999; pointer-events: none; box-shadow: 0 18px 40px rgba(0,0,0,.25); will-change: transform; opacity: .97; }
.q-item.drop-before::before, .q-cluster.drop-before::before { content: ""; position: absolute; left: 6px; right: 6px; top: -5px; height: 3px; border-radius: 3px; background: var(--ink); }
.q-cluster { position: relative; }
.q-cluster.drop-before::before { top: -7px; }
.q-items.drop-end { box-shadow: inset 0 0 0 2px var(--ink); }
.queue.drop-end .q-cluster.blank { box-shadow: 0 -3px 0 var(--ink); }

/* ---------- survey audience ranges ---------- */
.ranges { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.range-top b { font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.dual { position: relative; height: 30px; margin-top: 4px; }
.dual::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 99px; background: var(--fill); }
.dual-fill { position: absolute; top: 50%; height: 6px; margin-top: -3px; left: var(--lo); right: calc(100% - var(--hi)); border-radius: 99px; background: var(--ink); }
.dual input { position: absolute; inset: 0; width: 100%; height: 30px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.dual input::-webkit-slider-runnable-track { background: none; height: 30px; }
.dual input::-moz-range-track { background: none; }
.dual input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 3px 8px rgba(0,0,0,.2); cursor: grab; }
.dual input::-moz-range-thumb { pointer-events: auto; width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 3px 8px rgba(0,0,0,.2); cursor: grab; }
.dual input:active::-webkit-slider-thumb { transform: scale(1.12); cursor: grabbing; }

/* ---------- color sheet ---------- */
.overlay:has(.cs-preview) { background: rgba(0,0,0,.1); }
.cs-preview { height: 84px; border-radius: 22px; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px 16px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: background .1s; }
.cs-preview b { font-size: 17px; letter-spacing: .5px; }
.cs-preview span { font-size: 12.5px; opacity: .7; font-weight: 400; }
.cs-swatches { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; margin-top: 16px; }
.cs-swatches .swatch { width: 100%; height: auto; aspect-ratio: 1; }
.cs-sliders { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.cs-row { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.cs-row span { width: 40px; flex-shrink: 0; }
.cs-range { flex: 1; -webkit-appearance: none; appearance: none; height: 14px; border-radius: 99px; outline: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); margin: 0; }
.cs-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 3px 8px rgba(0,0,0,.25); cursor: grab; }
.cs-range::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 3px 8px rgba(0,0,0,.25); }

/* ---------- rewards: featured carousel + section buttons ---------- */
.feat-label { display: flex; align-items: center; gap: 6px; padding: 6px calc(var(--g) + 2px) 0; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.feat-label svg { width: 13px; height: 13px; }
.carousel.releases { margin-top: 10px; }
.carousel.releases .car-prev, .carousel.releases .car-next { width: 38px; height: 38px; }
.carousel.releases .car-prev svg, .carousel.releases .car-next svg { width: 18px; height: 18px; }
.sec-tabs { padding-top: 18px; padding-bottom: 2px; }
.sec-tabs .chip svg { width: 12px; height: 12px; }
.sec-desc { padding: 10px calc(var(--g) + 2px) 12px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.sec-desc + .rw-grid, .sec-tabs + .rw-grid { margin-top: 2px; }
.sec-tabs + .rw-grid { margin-top: 14px; }

/* ---------- manage sections ---------- */
.sec-card { margin: 0 var(--g) 10px; padding: 14px; border-radius: 22px; background: var(--card); transition: box-shadow .15s, transform .15s var(--ease); }
.sec-card.drop-hover { box-shadow: 0 0 0 2.5px var(--ink); transform: scale(1.01); }
.sec-card.loose { background: transparent; box-shadow: inset 0 0 0 1.5px #C7C7CC; }
.sec-card.loose.drop-hover { box-shadow: inset 0 0 0 2.5px var(--ink); }
.sec-row { display: flex; align-items: center; gap: 10px; }
.sec-row b { font-size: 16px; }
.sec-star { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--fill-2); color: var(--muted); flex-shrink: 0; transition: transform .2s var(--ease), background .2s; }
.sec-star svg { width: 18px; height: 18px; }
.sec-star.on { background: var(--ink); color: #fff; transform: rotate(-12deg) scale(1.05); }
.sec-name { flex: 1; min-width: 0; font-weight: 800; font-size: 16px; }
.sec-desc-in { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.sec-rws { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 12px; padding-bottom: 2px; }
.sec-rws::-webkit-scrollbar { display: none; }
.sec-rw { flex: 0 0 76px; display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 800; cursor: grab; user-select: none; touch-action: pan-x; }
.sec-rw .media { width: 76px; height: 76px; border-radius: 14px; }
.sec-rw .art .art-ic { width: 40%; height: 40%; }
.sec-add { flex: 0 0 76px; height: 76px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: inset 0 0 0 1.5px #C7C7CC; font-size: 11px; font-weight: 800; color: var(--ink-2); }
.sec-add svg { width: 18px; height: 18px; }

/* ---------- bug report ---------- */
.bug-shots { display: flex; gap: 10px; flex-wrap: wrap; }
.bug-shot { position: relative; width: 92px; height: 92px; border-radius: 18px; overflow: hidden; background: var(--fill); }
.bug-shot img { width: 100%; height: 100%; object-fit: cover; }
.bug-shot button { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; }
.bug-shot button svg { width: 13px; height: 13px; }
.bug-shot.add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-size: 12px; font-weight: 800; color: var(--ink-2); }
.bug-shot.add svg { width: 22px; height: 22px; }

/* ---------- misc ---------- */
.status.undo { cursor: pointer; }
.status.undo:hover { background: var(--ink); color: #fff; }
.hero.media > video { width: 100%; height: 100%; object-fit: cover; }
.color-row { margin-top: 2px; }
/* white cards inside colored pages keep their own dark-on-white colors */
.tn .profile-card, .tn .sticky-bar .mini, .tn .back-pill { color: var(--ink); }
.tn .profile-card .muted { color: var(--muted); }
.tn .profile-card .editable { border-bottom-color: #B8B8C0; }
.tn .profile-card .editable:focus { border-bottom-color: var(--ink); }
.tn .profile-card [contenteditable]:empty::before { color: var(--muted); }

/* ================= round 5 ================= */

/* text never touches its box: small add-buttons get real padding and line-height */
.sec-add, .q-add, .bug-shot.add, .slot-empty.add, .add-slide { padding: 10px; line-height: 1.3; text-align: center; }
.q-add span, .sec-add span { line-height: 1.3; }

/* ---------- custom calendar (all date pickers) ---------- */
.pick-cal { margin-top: 14px; padding: 12px 10px 10px; border-radius: 22px; background: var(--fill-2); }
.pc-top { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 8px; }
.pc-top b { font-size: 16px; letter-spacing: -.2px; }
.pc-top .circle-btn.sm { background: var(--card); }
.pc-wk, .pc-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.pc-wk span { text-align: center; font-size: 11px; font-weight: 800; color: var(--muted); padding: 4px 0 6px; }
.pc-grid { row-gap: 4px; }
.pd { position: relative; height: 40px; display: grid; place-items: center; font-weight: 800; font-size: 14px; line-height: 1.3; border-radius: 50%; margin: 0 auto; width: 40px; transition: background .15s, color .15s, transform .15s var(--ease); }
.pd:hover:not(:disabled):not(.on) { background: var(--card); }
.pd:active:not(:disabled) { transform: scale(.9); }
.pd:disabled { color: #C7C7CC; cursor: default; }
.pd.now:not(.on) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pd.on { background: var(--ink); color: #fff; }
.pd.mid { background: rgba(10,10,10,.08); border-radius: 0; width: 100%; }
.pd.rs, .pd.re { width: 40px; }
.date-type { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 6px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); margin-top: 10px; }
.sheet .date-type { background: var(--fill-2); box-shadow: none; }
.date-type > svg { width: 20px; height: 20px; margin-left: 10px; flex-shrink: 0; }
.dt-cal { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--fill); flex-shrink: 0; }
.dt-cal svg { width: 19px; height: 19px; }
.dt-in { flex: 1; min-width: 0; height: 40px; border: 0; outline: none; background: transparent; font-size: 16px; font-weight: 800; letter-spacing: .5px; line-height: 1.3; }
.dt-day { font-size: 13px; font-weight: 800; color: var(--muted); padding-right: 8px; white-space: nowrap; line-height: 1.3; }
.range-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.rs-box { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 16px; background: var(--fill-2); text-align: left; line-height: 1.3; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .15s; }
.rs-box span { font-size: 11.5px; font-weight: 800; color: var(--muted); letter-spacing: .4px; text-transform: uppercase; }
.rs-box b { font-size: 14.5px; }
.rs-box.on { box-shadow: inset 0 0 0 2px var(--ink); }
.ed-date { width: 100%; text-align: left; color: #fff; }
.ed-when { flex: 1; min-width: 0; line-height: 1.35; }

/* ---------- survey audience: min / max boxes with Any ---------- */
.range + .range { padding-top: 14px; border-top: 1px solid var(--line); }
.rb-row { display: flex; align-items: flex-end; gap: 8px; margin-top: 8px; }
.rb-side { flex: 1; min-width: 0; }
.rb-lbl { display: block; font-size: 11.5px; font-weight: 800; color: var(--muted); margin-bottom: 5px; letter-spacing: .3px; }
.rb-box { display: flex; align-items: center; gap: 6px; height: 46px; padding: 0 5px 0 14px; border-radius: 14px; background: var(--fill-2); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .15s; }
.rb-box:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.rb-in { flex: 1; min-width: 0; height: 40px; border: 0; outline: none; background: transparent; font-size: 16px; font-weight: 800; line-height: 1.3; }
.rb-in::placeholder { color: var(--muted); font-weight: 800; }
.rb-any { height: 34px; padding: 0 12px; border-radius: 10px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); background: var(--card); line-height: 1.3; flex-shrink: 0; }
.rb-any.on { background: var(--ink); color: #fff; }
.rb-dash { padding-bottom: 12px; color: var(--muted); font-weight: 800; }

/* ---------- survey banner ---------- */
.s-banner { position: relative; width: 100%; aspect-ratio: 3 / 1; border-radius: 18px; overflow: hidden; }
.s-banner.add { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-weight: 800; font-size: 13.5px; color: var(--ink-2); line-height: 1.3; padding: 10px; }
.s-banner.add svg { width: 20px; height: 20px; }
.sheet-banner { margin-bottom: 14px; }
.s-thumb { width: 66px; height: 44px; border-radius: 10px; flex-shrink: 0; }
.s-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sent-cell { align-items: flex-start; padding: 16px 18px; }
.sent-cell .s-thumb, .sent-cell .ic-tile { margin-top: 2px; }

/* ---------- queue: repost-held slots + archive ---------- */
.q-repeat { margin: 0 var(--g) 12px; padding: 12px 14px; border-radius: 20px; background: var(--ink); color: #fff; }
.q-repeat-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; line-height: 1.35; }
.q-repeat-h svg { width: 16px; height: 16px; }
.q-repeat-h span { font-size: 12.5px; opacity: .65; margin-left: auto; }
.q-repeat-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 10px; }
.q-rp { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 14px; background: rgba(255,255,255,.1); max-width: 220px; flex-shrink: 0; font-size: 13px; font-weight: 800; }
.q-held { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border-radius: 14px; background: repeating-linear-gradient(135deg, #F3F3F6 0 8px, #EAEAEF 8px 16px); box-shadow: inset 0 0 0 1.5px var(--ink); font-size: 13px; font-weight: 800; color: var(--ink-2); line-height: 1.35; }
.q-held svg { width: 15px; height: 15px; flex-shrink: 0; }
.q-held span { flex: 1; min-width: 0; }
.q-held b { font-size: 10.5px; padding: 3px 8px; border-radius: 99px; background: var(--ink); color: #fff; letter-spacing: .3px; }
.q-blank-wrap { background: transparent; box-shadow: inset 0 0 0 1.5px #C7C7CC; }
.q-blank { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 64px; border-radius: 14px; padding: 10px 14px; color: var(--ink-2); font-weight: 800; font-size: 13.5px; line-height: 1.35; text-align: center; }
.q-blank svg { width: 18px; height: 18px; flex-shrink: 0; }
.q-arch { margin: 18px var(--g) 0; padding: 14px; border-radius: 22px; background: transparent; box-shadow: inset 0 0 0 1.5px #D1D1D6; }
.q-arch-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; line-height: 1.35; padding: 0 2px; }
.q-arch-h span { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.q-arch-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.q-item.arch { background: var(--card); touch-action: pan-y; }

/* ---------- reward sections ---------- */
.sec-list { display: flex; flex-direction: column; }
.sec-grip { width: 24px; height: 36px; color: #AEAEB2; touch-action: none; }
.sec-card.starred { box-shadow: 0 0 0 2px var(--ink); }
.sec-card.drop-before { box-shadow: 0 -4px 0 var(--ink); }
.sec-card.drop-after { box-shadow: 0 4px 0 var(--ink); }
.sec-card.dragging { opacity: .35; }
.feat-note { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); line-height: 1.4; }
.feat-note svg { width: 13px; height: 13px; flex-shrink: 0; }
/* tiles wrap onto new rows instead of running off the card */
.sec-rws { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 12px 10px; overflow: visible; margin-top: 12px; }
.sec-rw { flex: none; min-width: 0; font-size: 11.5px; line-height: 1.35; }
.sec-rw .media { width: 100%; height: auto; aspect-ratio: 1; }
.sec-rw.feat .media { box-shadow: 0 0 0 2.5px var(--ink); }
.feat-n { position: absolute; top: 5px; left: 5px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.sec-rw.drop-left .media { box-shadow: -4px 0 0 var(--ink); }
.sec-add { flex: none; width: 100%; height: auto; aspect-ratio: 1; gap: 6px; font-size: 12px; }

/* ---------- bug report tokens ---------- */
.tokens { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: var(--card); line-height: 1.4; }
.tokens b { display: block; font-size: 14.5px; }
.tokens span:last-child { font-size: 12.5px; color: var(--muted); }
.tokens.out { box-shadow: inset 0 0 0 1.5px var(--red); }
.tk-dots { display: flex; gap: 5px; flex-shrink: 0; }
.tk-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.tk-dots i.on { background: var(--ink); }

/* ---------- calendar brand filter ---------- */
.cal-filter { padding-bottom: 12px; }
.cal-filter .chip .dot { width: 9px; height: 9px; border-radius: 50%; }

/* ---------- viewer: star balance in the top row ---------- */
.v-head .who { flex: 0 1 auto; }
.v-stars { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 99px; background: rgba(20,20,22,.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 13px; font-weight: 800; white-space: nowrap; line-height: 1.3; margin-left: auto; flex-shrink: 0; }
.v-head .date-chip.v { margin-left: 0; }
.lt-top .v-stars { background: rgba(255,255,255,.75); color: var(--ink); }

/* ---------- leaderboard #1 message ---------- */
.lb-speech { position: relative; display: inline-block; max-width: 100%; margin-top: 14px; padding: 9px 14px; border-radius: 16px 16px 16px 4px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; animation: speech-pop .55s cubic-bezier(.3,1.5,.5,1) both .2s; }
.lb-speech.sm { margin-top: 2px; padding: 6px 10px; font-size: 11.5px; border-radius: 12px 12px 12px 3px; background: var(--ink); color: #fff; }
@keyframes speech-pop { from { transform: scale(.6) translateY(8px); opacity: 0; transform-origin: bottom left; } }
.lb-preview { display: flex; justify-content: center; padding: 18px; margin: 14px 0; border-radius: 20px; background: var(--ink); }
.lb-preview .lb-speech { margin: 0; }
.sec-h .soft-pill { height: 34px; padding: 0 12px; font-size: 12.5px; background: var(--card); box-shadow: var(--shadow); }
.sec-h .soft-pill svg { width: 14px; height: 14px; }

/* ================= round 6 ================= */

/* date chip: text always stays inside its backing (it used to be max-content wide and spill out) */
.date-chip b { width: auto; max-width: 100%; }
.date-chip.v { flex: 0 1 auto; min-width: 0; max-width: 48%; align-items: flex-end; }
.date-chip.v b, .date-chip.v span { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-head { min-width: 0; }
.v-head .who { min-width: 0; flex: 0 1 auto; }
.who-txt b { max-width: 100%; }

/* repost toggle: thicker arrows when it's on */
.slot .repost.on svg { stroke-width: 2.8; width: 16px; height: 16px; }

/* queue slots: numbered, the reposted slot lights up in place on every day */
.q-sn { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; line-height: 1; background: var(--card); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line); }
.q-item { padding-left: 8px; }
.q-item.over { opacity: .55; box-shadow: inset 0 0 0 1.5px var(--red); }
.q-item.over .q-sn { background: var(--red); color: #fff; box-shadow: none; }
.q-slot { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 12px 6px 8px; border-radius: 15px; }
.q-slot.held { background: repeating-linear-gradient(135deg, rgba(10,10,10,.06) 0 8px, rgba(10,10,10,.02) 8px 16px); box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.q-slot.held .q-sn { background: var(--ink); color: #fff; box-shadow: none; }
.q-slot.held > svg { width: 18px; height: 18px; stroke-width: 2.4; }
.q-slot.empty { min-height: 40px; box-shadow: inset 0 0 0 1.5px var(--line); }
.thumb.xs { width: 30px; height: 38px; border-radius: 8px; margin-left: auto; opacity: .85; }
.q-add { justify-content: flex-start; gap: 8px; padding: 8px 12px 8px 8px; }
.q-add > svg { width: 15px; height: 15px; }

/* "Every post": never-posted ones look a little quieter */
.post-metric.unpub { opacity: .78; box-shadow: inset 0 0 0 1.5px #C7C7CC; }
.post-metric.unpub > img, .post-metric.unpub > video, .post-metric.unpub .art { filter: saturate(.6); }
.live-dot.un { background: rgba(255,255,255,.9); color: var(--ink-2); font-weight: 800; }
.cell.unpub .t { color: var(--ink-2); }
.cell.arch { cursor: grab; }
.cell.arch > .q-grip { width: 18px; margin-left: -6px; }

/* Explore: posts live in today's posts right now get a thin ring */
.d-tile.is-live { box-shadow: none; } /* no ring around live posts */

/* liked heart on small tiles, brand tag on saved tiles */
.liked-mark { position: absolute; right: 6px; bottom: 6px; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--ink); display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.liked-mark svg { width: 12px; height: 12px; }
.media.tile .by { position: absolute; left: 5px; bottom: 5px; right: 32px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; max-width: calc(100% - 36px); width: fit-content; padding: 2px 8px 2px 2px; border-radius: 99px; background: rgba(10,10,10,.6); color: #fff; backdrop-filter: blur(8px); font-size: 10.5px; font-weight: 800; line-height: 1.35; }
.media.tile .by span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media.tile .by .logo-av { width: 18px; height: 18px; font-size: 8px; box-shadow: 0 0 0 1px #fff; }
.media.tile .badge + .liked-mark, .d-tile .liked-mark { bottom: 6px; }

/* viewer: stars + credits with this brand */
.v-stars { gap: 0; padding: 0 12px; }
.v-stars i { width: 1px; height: 14px; background: currentColor; opacity: .3; margin: 0 8px; }
.v-stars small { font-size: 11px; font-weight: 800; opacity: .75; margin-left: 4px; }

/* survey audience chips */
.crit-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.crit-chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px 0 7px; border-radius: 99px; background: var(--fill-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; font-weight: 800; color: var(--ink-2); line-height: 1.3; white-space: nowrap; }
.crit-chip svg { width: 12px; height: 12px; flex-shrink: 0; }
.crit-chip b { color: var(--ink); font-weight: 800; }
.crit-chip.all { color: var(--muted); }
.q-item .crit-chips { margin-top: 3px; }
.q-open .s .crit-chip { height: 22px; font-size: 10.5px; }

/* survey form */
.rb-box.err { box-shadow: inset 0 0 0 2px var(--red); }
.form-err { display: flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--red); font-size: 13px; font-weight: 800; line-height: 1.4; }
.form-err svg { width: 15px; height: 15px; flex-shrink: 0; }
.segmented button { line-height: 1.3; padding: 0 6px; }

/* calendar: full days greyed out */
.pd.full { color: #C7C7CC; background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(0,0,0,.05) 4px 8px); text-decoration: line-through; }
.pc-legend { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; color: var(--muted); font-weight: 400; }
.pc-legend i { width: 14px; height: 14px; border-radius: 50%; background: repeating-linear-gradient(135deg, transparent 0 3px, rgba(0,0,0,.12) 3px 6px); box-shadow: inset 0 0 0 1px var(--line); }

/* "new or existing" pickers (today's posts, surveys) */
.pick-new { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 20px; background: var(--ink); color: #fff; text-align: left; line-height: 1.35; }
.pick-new > svg:first-child { width: 22px; height: 22px; flex-shrink: 0; }
.pick-new span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pick-new small { font-size: 12.5px; opacity: .65; }
.pick-new .chev { color: rgba(255,255,255,.6); }
.sm-pill { height: 30px; padding: 0 12px; font-size: 12px; }
.survey-slot { display: flex; align-items: center; gap: 12px; width: calc(100% - 24px); margin: 12px 12px 0; padding: 12px 14px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px #C7C7CC; color: var(--ink-2); text-align: left; line-height: 1.35; }
.survey-slot > svg { width: 20px; height: 20px; flex-shrink: 0; }
.survey-slot span { display: flex; flex-direction: column; }
.survey-slot b { color: var(--ink); }
.survey-slot small { font-size: 12px; color: var(--muted); }
.tn .survey-slot { box-shadow: inset 0 0 0 1.5px var(--dash); color: var(--fg2); }
.tn .survey-slot b { color: var(--fg); }
.tn .survey-slot small { color: var(--fg2); }

/* profile */
.field-note { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.field-note svg { width: 14px; height: 14px; flex-shrink: 0; }
.input-prefix.locked .input { background: var(--fill-2); color: var(--muted); }

/* admin tools */
.admin { display: flex; flex-direction: column; gap: 4px; }
.adm-amt { display: grid; grid-template-columns: auto 110px 1fr; align-items: center; gap: 10px; }
.adm-amt label { font-weight: 800; font-size: 13.5px; }
.adm-amt .input { height: 44px; background: var(--fill-2); text-align: center; font-weight: 800; }
.adm-h { margin-top: 14px; font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.adm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.adm-btn { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 14px; background: var(--fill-2); font-size: 12.5px; font-weight: 800; line-height: 1.3; text-align: left; }
.adm-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.adm-btn:active { transform: scale(.97); }
.adm-brands { margin-top: 8px; }
/* big headings: Garet's tall letters need a taller line box when the text can be cut off */
.page-head h1 { line-height: 1.32; padding-block: 2px; }
/* tiny thumbnails of text-only posts: show the gray card and a text mark, never squeezed words */
.thumb .art p, .thumb.xs .art p, .q-rp .art p { display: none; }
.thumb .art::after { content: "Aa"; font-weight: 800; font-size: 13px; color: var(--muted); }
.thumb.xs .art::after { font-size: 10px; }
/* date chips: a real width cap (not a % of a content-sized box) and enough line height for Garet */
.date-chip.v { max-width: 172px; }
.v-head .date-btn { min-width: 0; flex: 0 1 auto; display: flex; justify-content: flex-end; }
.date-chip b, .date-chip span { line-height: 1.5; }
.date-chip.sm { padding: 3px 7px 3px; }
/* letter avatars (SVG, centered by cap height) */
.logo-av .initial, .av .initial { display: block; width: 100% !important; height: 100% !important; overflow: visible; }
.initial text { font-family: var(--font); font-weight: 800; fill: currentColor; }
/* greeting card: the logo shrinks before the star balance can be pushed out of the card */
.hero-card .spread { min-width: 0; }
.hero-card .hero-logo { height: auto; max-height: 50px; width: auto; max-width: calc(100% - 100px); min-width: 0; flex-shrink: 1; object-fit: contain; object-position: left center; }
.hero-card .spread > .stat-pill { flex-shrink: 0; }
/* text-only posts: room above and below the clamped lines so letters aren't shaved */
.art p { line-height: 1.45; padding-block: 3px; }

/* ================= round 7 ================= */

/* "Add date": a longer pill, text set in from the edges */
.date-chip.ghost { padding: 0 22px 0 18px; min-width: 132px; gap: 9px; justify-content: center; }

/* events that already happened: crossed out and dimmed */
.date-chip.past { background: rgba(60,60,64,.72); color: rgba(255,255,255,.62); }
.date-chip.past b { text-decoration: line-through; text-decoration-thickness: 1.5px; }

/* sheet pickers use the same tile as Create post in Marketing */
.mk-tile.pick-hero { width: 100%; min-height: 150px; }
.sheet .mk-tile.pick-hero { box-shadow: 0 10px 24px rgba(0,0,0,.16); }

/* today's posts: in their first 5 minutes they aren't public yet */
.slot.pending > img, .slot.pending > video, .slot.pending .art { opacity: .55; }
.lock-left { padding: 3px 8px; font-weight: 800; white-space: nowrap; line-height: 1.35; }
.lock-left b { font-weight: 800; font-variant-numeric: tabular-nums; }

/* filters + sort */
.filter-bar { display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px; }
.filter-bar .chips { padding-bottom: 2px; }
.sort-chips { align-items: center; }
.sort-chips .caps { margin-right: 2px; flex-shrink: 0; }
.chip.sm { line-height: 1.3; }

/* email opt-in confirm + handle warning */
.nl-ic { width: 64px; height: 64px; margin: 4px auto 14px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.nl-ic svg { width: 28px; height: 28px; }
.warn-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--fill-2); font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.warn-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.warn-note b { color: var(--ink); }

/* ================= round 8 ================= */

/* vector wordmark */
.logo-svg { display: block; width: auto; overflow: visible; color: var(--ink); shape-rendering: geometricPrecision; text-rendering: geometricPrecision; }
.hero-card .logo-svg { color: #fff; height: 50px; max-width: calc(100% - 100px); flex-shrink: 1; min-width: 0; }
.land-logo.logo-svg { height: 58px; }
.ob-logo.logo-svg { height: 32px; }
.splash-logo.logo-svg { height: 40px; }
@media (prefers-reduced-motion: reduce) { .logo-sheen { display: none; } }

/* "Live in 4:48": one compact line at the bottom of the slot (stat-tile styles used to blow up the time) */
.slot .lock-left { left: 6px; right: auto; bottom: 7px; top: auto; display: inline-flex; align-items: baseline; gap: 4px; padding: 4px 9px; border-radius: 99px; font-size: 10.5px; line-height: 1.3; }
.slot .lock-left b { display: inline; font-size: 11.5px; margin: 0; letter-spacing: 0; line-height: 1.3; }

/* queue: the scheduled post a daily repost will bump is outlined, nothing gets rearranged */
.q-affected { display: flex; flex-direction: column; gap: 4px; padding: 4px; border-radius: 18px; box-shadow: inset 0 0 0 2px var(--ink); background: repeating-linear-gradient(135deg, rgba(10,10,10,.05) 0 8px, transparent 8px 16px); }
.q-affected .q-item { background: var(--card); }
.q-aff-note { display: flex; align-items: center; gap: 6px; padding: 2px 8px 4px; font-size: 11.5px; font-weight: 800; color: var(--ink-2); line-height: 1.4; }
.q-aff-note svg { width: 13px; height: 13px; flex-shrink: 0; stroke-width: 2.2; }

/* password checklist */
.pw-rules { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pw-rule { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px 0 8px; border-radius: 99px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 800; color: var(--muted); line-height: 1.3; }
.pw-rule svg { width: 12px; height: 12px; stroke-width: 2.6; }
.pw-rule.ok { background: var(--ink); color: #fff; box-shadow: none; }

/* survey on the card during its first 5 minutes */
.survey-cta.pending { animation: none; background: var(--ink-2); }
.survey-cta.pending::before, .survey-cta.pending::after { display: none; }
.survey-cta.pending b span { font-variant-numeric: tabular-nums; }
.sc-x { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); flex-shrink: 0; }
.sc-x svg { width: 16px; height: 16px; }

/* logo artwork with faint drifting stars behind the letters */
.logo-wrap { position: relative; display: inline-block; line-height: 0; flex-shrink: 1; min-width: 0; max-height: none !important; }
.logo-wrap .logo-img { position: relative; z-index: 1; display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.hero-card .logo-wrap.hero-logo { height: 46px; width: auto; max-width: calc(100% - 100px); color: #fff; }
.land-logo.logo-wrap { height: 54px; color: var(--ink); }
.ob-logo.logo-wrap { height: 32px; color: var(--ink); }
.splash-logo.logo-wrap { height: 40px; color: var(--ink); }

.hero-card .logo-svg { height: 46px; }
.land-logo.logo-svg { height: 54px; }

/* sign-up: room between the password checklist and "Confirm password" */
.pw-rules { margin-bottom: 4px; }
.pw-rules + .field { margin-top: 20px; }

/* ================= computers: Instagram-style layout ================= */
/* phones: the sidebar extras are hidden and the Home wrappers don't affect layout */
.side-brand, .tab-label { display: none; }
.home-grid, .home-side, .home-main { display: contents; }

@media (min-width: 900px) and (orientation: landscape) {
  body { background: var(--bg); }
  .screen { max-width: none; height: 100dvh; box-shadow: none; padding-left: 76px; }

  /* left sidebar: logo, then the tabs (icons; labels on wide screens) */
  .tabbar { position: fixed; left: 0; top: 0; bottom: 0; z-index: 50; width: 76px; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 4px; padding: 20px 12px; border-top: 0; border-right: 1px solid var(--line); background: var(--card); backdrop-filter: none; }
  .tabbar button { flex: 0 0 auto; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 13px; color: var(--ink); transition: background .15s; }
  .tabbar button:hover { background: var(--fill-2); }
  .tabbar button.on { background: var(--fill); }
  .tabbar button.on::after { display: none; }
  .side-brand { display: flex; align-items: center; justify-content: center; height: 56px; margin-bottom: 22px; }
  .side-mark { width: 36px; height: 36px; border-radius: 11px; }
  .tabbar .side-logo { display: none; }
  .tab-label { font-size: 15px; font-weight: 400; line-height: 1.3; white-space: nowrap; }
  .tabbar button.on .tab-label { font-weight: 800; }

  /* centered column, wider for grids and two-column Home */
  .page-head, .content { --col: 640px; }
  .content.wide, .screen:has(.content.wide) .page-head { --col: 980px; }
  .page-head, .content { padding-left: max(24px, calc((100% - var(--col)) / 2)); padding-right: max(24px, calc((100% - var(--col)) / 2)); }
  .page-head { padding-top: 28px; }

  /* Home: brands on the left, greeting + leaderboard in a right-hand column */
  .home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "main side"; gap: 32px; align-items: start; padding-top: 18px; }
  .home-main { display: block; grid-area: main; min-width: 0; }
  .home-side { display: block; grid-area: side; min-width: 0; position: sticky; top: 18px; --g: 0px; }
  .home-side .hero-card { margin-top: 0; }
  .home-main > .sec-h:first-child { padding-top: 6px; }
  .home-main .brand-card { margin-bottom: 16px; }

  /* posts open as a centered phone-shaped player over a dark backdrop */
  .viewer { left: 50%; right: auto; top: 18px; bottom: 18px; width: min(470px, calc((100dvh - 36px) * 9 / 16)); transform: translateX(-50%); border-radius: 20px; overflow: hidden; z-index: 70; box-shadow: 0 0 0 100vmax rgba(8,8,10,.84); }
  .viewer.editor { width: min(500px, calc((100dvh - 36px) * 9 / 16)); }

  /* sheets become centered dialogs */
  .overlay { z-index: 80; justify-content: center; align-items: center; padding: 24px; }
  .sheet { width: min(480px, 100%); max-height: 88dvh; border-radius: 26px; }
  .sheet .grab { display: none; }

  /* signed-out screens stay a comfortable column */
  .screen > .ob, .screen > .splash { width: 100%; max-width: 480px; align-self: center; }
  .screen:has(> .ob), .screen:has(> .splash) { padding-left: 0; }

  .toast { bottom: 32px; }
}

/* wide computers: sidebar with the full logo and labels, like Instagram's expanded nav */
@media (min-width: 1264px) and (orientation: landscape) {
  .screen { padding-left: 244px; }
  .tabbar { width: 244px; padding: 26px 14px; }
  .tabbar button { justify-content: flex-start; }
  .tab-label { display: inline; }
  .side-brand { justify-content: flex-start; padding-left: 12px; }
  .side-mark { display: none; }
  .tabbar .side-logo { display: block; height: 30px !important; width: auto !important; }
}
@media (min-width: 900px) and (orientation: landscape) {
  /* side-scroll arrows sit just outside the row instead of over the first item */
  .hs-wrap .hs-arrow.l { left: -14px; }
  .hs-wrap .hs-arrow.r { right: -14px; }
}

/* Shopify link code */
.shop-code { margin: 18px 0 8px; padding: 18px; border-radius: 18px; background: var(--fill-2); text-align: center; font-family: var(--font); font-weight: 800; font-size: 30px; letter-spacing: 4px; color: var(--ink); user-select: all; }
.shop-code.expired { font-size: 20px; letter-spacing: 0; color: var(--ink-3, var(--ink-2)); user-select: none; }

/* Store discount editor (reward editor) */
.disc-card .chips { padding: 0; }
.disc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.disc-row.col { flex-direction: column; align-items: stretch; }
.disc-num { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--ink-2); }
.disc-num .inline-input.num { width: 84px; height: 38px; padding: 0 10px; border-radius: 12px; background: var(--fill-2); text-align: center; font-weight: 800; color: var(--ink); }
.disc-picks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.disc-picks .chip button { display: inline-grid; place-items: center; margin-right: -4px; }
.disc-picks .chip button svg { width: 14px; height: 14px; }
.disc-check { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 800; font-size: 13.5px; color: var(--ink-2); text-align: left; }
.disc-check svg { width: 22px; height: 22px; padding: 3px; border-radius: 7px; box-shadow: inset 0 0 0 2px var(--line); color: transparent; flex-shrink: 0; }
.disc-check.on svg { background: var(--ink); color: #fff; box-shadow: none; }
.disc-summary { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--fill-2); font-weight: 800; font-size: 13.5px; line-height: 1.4; }
.disc-summary.warn { color: #B42318; background: #FEF3F2; }
/* product picker sheet */
.pick-list { max-height: 52vh; overflow-y: auto; }
.pick-wait { display: grid; place-items: center; padding: 28px 0; }
.pick-thumb { width: 44px; height: 44px; border-radius: 12px; background: var(--fill-2); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.pick-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pick-thumb svg { width: 20px; height: 20px; color: var(--ink-2); }
/* fans: what the code does, and whether the store accepts it yet */
.coupon-what { margin-top: 4px; font-weight: 800; color: var(--ink-2); }
.coupon-state { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); flex-wrap: wrap; }
.coupon-state svg { width: 15px; height: 15px; }
.coupon-state.ok { color: #067647; }
.coupon-state.bad { color: #B42318; }
.coupon-state .chip { height: 26px; }
.rw-deal { display: flex; gap: 12px; align-items: center; }
.rw-deal > svg { width: 24px; height: 24px; flex-shrink: 0; }
.rw-deal b { display: block; margin-top: 2px; line-height: 1.35; }

/* Loved by DROPNAUT: earned by a post */
.rail .love-btn.on .rb { background: #FFFFFF; color: #0A0A0A; }
.loved-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; padding: 6px 11px; border-radius: 99px; background: rgba(255,255,255,.92); color: #0A0A0A; font-size: 11.5px; font-weight: 800; letter-spacing: .2px; }
.loved-badge svg { width: 13px; height: 13px; color: #E0245E; }
.lb-loved { gap: 10px; padding-right: 12px; }
.lb-loved .lb-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-align: left; }
.lb-post { position: relative; width: 46px; height: 58px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--fill-2); }
.lb-post img, .lb-post video, .lb-card-post img, .lb-card-post video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-post > span { position: absolute; right: 3px; bottom: 3px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; }
.lb-post > span svg { width: 11px; height: 11px; color: #E0245E; }
.lb-card-post { width: 100%; height: 64px; border-radius: 12px; overflow: hidden; background: var(--fill-2); }
.lb-post .art { padding: 6px; }
.lb-post .art p { font-size: 7px; -webkit-line-clamp: 4; }
.lb-card-post { position: relative; }
.lb-card-post .art p { font-size: 10px; -webkit-line-clamp: 2; }

}

/* Loved card on Home: the post that earned the spot, tap to watch */
.loved-card { cursor: pointer; }
.loved-card .lc-who { gap: 8px; width: 100%; min-width: 0; }
.loved-card .lc-who b { font-size: 14px; }
.lc-post { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 150px; border-radius: 14px; overflow: hidden; background: var(--fill-2); }
.lc-post img, .lc-post video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-post .art p { font-size: 11px; -webkit-line-clamp: 4; }
.lc-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.lc-play svg { width: 15px; height: 15px; margin-left: 2px; color: #0A0A0A; }

/* Home: star a brand, search and sort the list */
.star-btn { margin-left: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--strip-chip, rgba(0,0,0,.06)); color: currentColor; flex-shrink: 0; transition: transform .15s var(--ease); }
.star-btn svg { width: 17px; height: 17px; }
.star-btn.on { color: #F5B301; }
.star-btn:active { transform: scale(.88); }
.home-search { margin: 0 0 12px; }
.home-search .searchbar { margin: 0; }
.home-count { margin: -4px 4px 10px; font-size: 12.5px; font-weight: 800; color: var(--muted); }
.circle-btn.on { background: var(--ink); color: #fff; }
.sheet-chips { padding: 0; margin-top: 8px; }

/* Marketing › Rewards */
.rw-view-chips { margin: 14px 0 2px; }
.rw-row { gap: 10px; padding-right: 12px; }
.rw-row-main { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 0; text-align: left; }
.rw-thumb { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; background: var(--fill-2); display: grid; place-items: center; flex-shrink: 0; }
.rw-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rw-thumb svg { width: 22px; height: 22px; color: var(--ink-2); }
.rw-row .s { margin-top: 2px; line-height: 1.35; }
.rw-status { flex-shrink: 0; margin-left: 8px; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .2px; }
.rw-status.active { background: #DCFAE6; color: #067647; }
.rw-status.archived { background: var(--fill-2); color: var(--ink-2); }
.rw-status.removed { background: #FEE4E2; color: #B42318; }
.rw-row.archived .rw-thumb, .rw-row.removed .rw-thumb { opacity: .55; }
.rw-metrics { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 12px; color: var(--muted); font-weight: 400; }
.rw-metrics b { color: var(--ink); font-weight: 800; }

/* Saved › Calendar: Google Calendar feed */
.gcal-link span { font-size: 12px; word-break: break-all; }
.gcal-steps { margin: 16px 0 8px; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--ink-2); }
.gcal-steps b { color: var(--ink); }

/* imported posts: where they came from */
.src-chip { display: inline-flex; align-items: center; gap: 5px; margin: 0 6px 8px 0; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.18); color: inherit; font-size: 11.5px; font-weight: 800; text-decoration: none; backdrop-filter: blur(8px); }
.src-chip svg { width: 12px; height: 12px; }

/* Marketing › Import posts */
.bulk-intro h2 { font-size: 20px; }
.bulk-how { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--fill-2); }
.bulk-how > b { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.bulk-how > b svg { width: 18px; height: 18px; }
.bulk-how ol { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 5px; font-size: 13.5px; font-weight: 400; line-height: 1.45; color: var(--ink-2); }
.bulk-how ol b { color: var(--ink); }
.bulk-wait { display: grid; justify-items: center; gap: 10px; padding: 60px 24px; text-align: center; }
.bulk-wait span { color: var(--muted); font-weight: 400; font-size: 13.5px; }
.bulk-bar { width: min(320px, 100%); height: 10px; border-radius: 99px; background: var(--fill-2); overflow: hidden; }
.bulk-bar i { display: block; height: 100%; border-radius: 99px; background: var(--ink); transition: width .3s var(--ease); }
.bulk-lead { margin: 4px var(--g) 10px; font-weight: 400; color: var(--ink-2); line-height: 1.45; }
.bulk-notes { margin: 0 var(--g) 12px; padding: 12px 14px; border-radius: 14px; background: #FFFAEB; color: #93370D; font-size: 13px; font-weight: 400; line-height: 1.45; display: grid; gap: 6px; }
.bulk-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 var(--g) 12px; }
.bulk-tools .chips { padding: 0; }
.bulk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 0 var(--g); }
.bulk-tile { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 6px 6px 10px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); opacity: .55; transition: opacity .15s, transform .15s var(--ease); }
.bulk-tile.on { opacity: 1; }
.bulk-tile.big { opacity: .4; }
.bulk-tile:active { transform: scale(.98); }
.bt-media { position: relative; aspect-ratio: 4 / 5; border-radius: 13px; overflow: hidden; background: var(--fill-2); }
.bt-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bt-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-2); }
.bt-ph svg { width: 26px; height: 26px; }
.bt-media .check { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,.9); }
.bt-media .check.on { background: var(--ink); }
.bt-kind, .bt-more { position: absolute; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 99px; background: rgba(10,10,10,.7); color: #fff; font-size: 11px; font-weight: 800; }
.bt-kind { left: 8px; }
.bt-kind svg { width: 11px; height: 11px; }
.bt-more { right: 8px; }
.bt-cap { padding: 0 4px; font-size: 12.5px; font-weight: 800; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.bt-date { padding: 0 4px; font-size: 11px; font-weight: 400; color: var(--muted); }
.bulk-foot { position: sticky; bottom: 0; z-index: 2; margin-top: 16px; padding: 12px var(--g) 14px; background: var(--bg); box-shadow: 0 -14px 18px -4px var(--bg); display: grid; gap: 10px; }
.bulk-foot .disc-check { margin: 0; }
.bulk-done { text-align: center; }
.bulk-skips { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--fill-2); text-align: left; display: grid; gap: 4px; font-size: 12.5px; font-weight: 400; color: var(--ink-2); }

/* Loved by DROPNAUT: a purple circle with a white heart, on the post wherever it shows */
.loved-mark { position: absolute; top: 8px; left: 8px; z-index: 2; width: 24px; height: 24px; border-radius: 50%; background: #7100E1; color: #fff; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.loved-mark svg { width: 13px; height: 13px; }
.lb-ic.loved { background: #7100E1; color: #fff; }
.lb-ic.loved svg { fill: currentColor; }
.loved-badge { margin: 0; padding: 4px 11px 4px 4px; }
.loved-badge i { width: 20px; height: 20px; border-radius: 50%; background: #7100E1; color: #fff; display: grid; place-items: center; }
.loved-badge i svg { width: 11px; height: 11px; color: #fff; }
.lb-post > span { background: #7100E1; }
.lb-post > span svg { color: #fff; }
/* full view: Loved and the date sit together just above the caption */
.cap-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 8px; }
.cap-tags:empty { display: none; }
.cap-tags .date-chip.v { position: static; }
/* full view: fans see they follow the brand */
.sub-pill { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; margin-bottom: 10px; border-radius: 99px; background: rgba(255,255,255,.18); color: #fff; font-weight: 800; font-size: 12.5px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sub-pill svg { width: 14px; height: 14px; }
/* brand cards: live posts show their views and likes */
.tile-stats { position: absolute; left: 6px; bottom: 6px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 99px; background: rgba(10,10,10,.62); color: #fff; font-size: 10.5px; font-weight: 800; }
.tile-stats svg { width: 11px; height: 11px; }
.tile-stats i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.6); margin: 0 1px; }
/* card strip: level on the right, purple star after it */
.star-btn.on { color: #7100E1; }
.star-btn.on svg { fill: currentColor; }
.brand-card .strip .lvl-badge { height: 34px; }
/* phones: the post fills the screen, so no backdrop */
.v-backdrop { display: none; }
@media (min-width: 900px) and (orientation: landscape) {
  .v-backdrop { display: block; position: fixed; inset: 0; z-index: 69; cursor: pointer; }
}
.cap-tags .date-chip.v { align-items: flex-start; text-align: left; max-width: 100%; }
.d-tile .badge ~ .loved-mark { left: 32px; top: 4px; }
.d-tile .loved-mark { top: 4px; left: 6px; }
.post-metric .loved-mark { top: auto; bottom: 30px; left: 6px; }
.marquee .loved-mark { top: 6px; left: 6px; width: 22px; height: 22px; }
/* Saved › Calendar: a slim "Add to Google Calendar" pill on the right */
.gcal-row { display: flex; justify-content: flex-end; margin: -6px var(--g) 10px; }
.gcal-pill { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px 0 11px; border-radius: 99px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-2); font-size: 12.5px; font-weight: 800; transition: background .15s, color .15s; }
.gcal-pill:hover { background: var(--fill-2); color: var(--ink); }
.gcal-pill svg { width: 15px; height: 15px; }
/* "+XP" popups: fade out fast when you move on; labels can be longer now ("+2 rep with Nova") */
.gain.leaving span { animation: gain-leave .24s ease forwards !important; }
@keyframes gain-leave { to { opacity: 0; transform: translateY(-10px) scale(.94); } }
.gain span { font-size: 17px; height: 42px; white-space: nowrap; }

/* dates: how long an event runs, and how soon a scheduled post goes live */
.date-desc { margin-top: 10px; }
.range-len, .go-live-in { display: flex; align-items: center; gap: 8px; margin: 10px 2px 0; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.range-len svg, .go-live-in svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--ink); }
.range-len b, .go-live-in b { color: var(--ink); }
.range-len { margin: 2px 2px 12px; }
/* post editor: cover image popup */
.cover-view { position: relative; margin-top: 14px; width: 100%; aspect-ratio: 4 / 5; max-height: 52vh; border-radius: 20px; overflow: hidden; background: var(--fill-2); }
.cover-view img, .cover-view video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-tag { position: absolute; left: 10px; bottom: 10px; padding: 5px 11px; border-radius: 99px; background: rgba(10,10,10,.72); color: #fff; font-size: 12px; font-weight: 800; }
/* Every post / Every survey: at least a screen tall, so switching filters never jumps the view
   (you can always scroll until the filters reach the top; long lists still scroll to the end) */
.filtered-list { min-height: calc(100dvh - 120px); }

/* rewards: New Arrival, drop and countdown tags */
.rw-tags { position: absolute; left: 8px; top: 8px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.rw-tag { padding: 4px 9px; border-radius: 99px; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.14); white-space: nowrap; }
.rw-tag.new { background: #0A0A0A; color: #fff; }
.rw-tag.leaving { background: #FFFAEB; color: #93370D; }
.rw-tag.last { background: #B42318; color: #fff; }
.rw-tag.soon { background: var(--ink); color: #fff; }
.rw-tag.gone { background: var(--fill-2); color: var(--muted); }
.rw-page-tags { display: flex; justify-content: center; margin-top: 10px; }
.rw-page-tags .rw-tags { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; }
.rw-status.scheduled { background: var(--ink); color: #fff; }
.rw-status.ended { background: #FFFAEB; color: #93370D; }
.rw-when { display: flex; align-items: center; gap: 5px; margin-top: 3px; }
.rw-when svg { width: 13px; height: 13px; flex-shrink: 0; }
/* Marketing › Rewards: Up next */
.rw-timeline { display: grid; gap: 10px; padding: 0 var(--g); }
.rw-day { display: flex; gap: 12px; align-items: stretch; }
.rw-day .qd-blk { flex-shrink: 0; }
.rw-day.leaving .qd-blk b svg { width: 18px; height: 18px; }
.rw-day-items { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.rw-day-when { width: 100%; font-size: 12px; font-weight: 800; color: var(--muted); letter-spacing: .3px; }
.rw-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 4px 12px 4px 4px; border-radius: 99px; background: var(--fill-2); font-size: 13px; }
.rw-chip img, .rw-chip > svg { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.rw-chip > svg { padding: 6px; background: var(--card); }
.rw-chip em { font-style: normal; font-size: 11.5px; font-weight: 800; color: #93370D; white-space: nowrap; }

/* ===== logo: vector letters + a band of light masked to the letters ===== */
.logo-svg { position: relative; display: inline-block; vertical-align: top; width: auto; flex-shrink: 0; }
.logo-svg .logo-ink-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.logo-svg .logo-ink { fill: currentColor; }
.logo-sheen { position: absolute; inset: 0; overflow: hidden; pointer-events: none; --fx: 255,255,255;
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: left center; mask-position: left center; }
.logo-svg.on-dark .logo-sheen { --fx: 10,10,10; }
.logo-sheen::before { content: ""; position: absolute; inset: 0; will-change: transform; animation: logo-sheen 10s ease-in-out infinite;
  background: linear-gradient(90deg, transparent 74%, rgba(var(--fx), .55) 87%, transparent 100%); }
@keyframes logo-sheen { 0% { transform: translateX(-100%); } 30%, 100% { transform: translateX(26%); } }
@media (prefers-reduced-motion: reduce) { .logo-sheen { display: none; } }

/* lighter work while scrolling: no blur behind the small date chips on post tiles */
.date-chip { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10,10,10,.78); }
/* survey card pulse: a ring that scales and fades (no shadow repainting) */
.survey-cta::before { box-shadow: none; inset: 0; border: 2px solid rgba(10,10,10,.35); animation: ping-ring 2s ease-out infinite; will-change: transform, opacity; }
@keyframes ping-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.06, 1.25); opacity: 0; } }

/* ===== Account › DROPNAUT CONNECT ===== */
.connect-tile { display: flex; flex-direction: column; gap: 10px; width: calc(100% - 2 * var(--g)); margin: 0 var(--g); padding: 18px; border-radius: 24px; text-align: left; color: #fff;
  background: radial-gradient(120% 160% at 100% 0%, #26104A 0%, #0A0A0A 58%); box-shadow: 0 12px 30px rgba(10,10,10,.18); transition: transform .15s var(--ease); }
.connect-tile:active { transform: scale(.985); }
.ct-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ct-logo { height: 40px; width: auto; max-width: 80%; object-fit: contain; object-position: left center; }
.ct-go { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; flex-shrink: 0; }
.ct-go svg { width: 16px; height: 16px; }
.ct-sub { font-weight: 800; font-size: 14px; color: rgba(255,255,255,.82); }
.ct-note { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: rgba(255,214,102,.14); color: #FFD666; font-size: 12.5px; font-weight: 800; }
.ct-note svg { width: 14px; height: 14px; flex-shrink: 0; }
.ct-tabs { display: flex; gap: 6px; }
.ct-tabs span { padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.1); font-size: 11.5px; font-weight: 800; }
.connect-tile.critical { box-shadow: 0 0 0 2px #F04438, 0 12px 30px rgba(180,35,24,.25); }
.connect-tile.frozen { box-shadow: 0 0 0 2px #7100E1, 0 12px 30px rgba(113,0,225,.25); }
.pool-bar { display: block; height: 8px; border-radius: 99px; background: rgba(127,127,127,.25); overflow: hidden; }
.pool-bar i { display: block; height: 100%; border-radius: 99px; background: #9B5CFF; transition: width .4s var(--ease); }
.low .pool-bar i { background: #FDB022; }
.critical .pool-bar i, .frozen .pool-bar i { background: #F04438; }
/* the DROPNAUT CONNECT page */
.pool-card { margin-top: 14px; }
.pool-card .pool-big { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 12px; font-size: 32px; font-weight: 800; letter-spacing: -.5px; }
.pool-card .pool-big span { font-size: 14px; font-weight: 800; color: var(--muted); letter-spacing: 0; }
.pool-card .pool-bar { background: var(--fill-2); }
.pool-line { margin-top: 10px; font-size: 13.5px; font-weight: 400; line-height: 1.45; color: var(--ink-2); }
.pool-card.critical, .pool-card.frozen { box-shadow: inset 0 0 0 2px #F04438; }
.pool-card.critical .pool-line, .pool-card.frozen .pool-line { color: #B42318; }
.pool-card.low .pool-line { color: #93370D; }
.pool-card.setup b { font-size: 16px; }
.connect-quick { margin-top: 10px; gap: 8px; }
.connect-quick svg { width: 18px; height: 18px; }
.connect-plan .cp-name { font-size: 24px; font-weight: 800; }
.connect-plan .cp-rate { padding: 6px 12px; border-radius: 99px; background: #7100E1; color: #fff; font-weight: 800; font-size: 13px; }
.cp-pct { font-size: 15px; }
.cell.on-plan { background: #F4EBFF; }
.inv-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 var(--g) 10px; }
.inv-sum div { padding: 12px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); display: grid; gap: 2px; }
.inv-sum span { font-size: 12px; font-weight: 800; color: var(--muted); }
.inv-sum b { font-size: 18px; }
.inv-row.voided { opacity: .55; }
.inv-amt { font-size: 15px; }
.inv-amt.neg { color: #067647; }
.inv-calc { margin: 4px 0; font-size: 13px; font-weight: 800; color: var(--ink-2); }
.inv-calc code { font-size: 11.5px; padding: 1px 6px; border-radius: 6px; background: var(--fill-2); }
.inv-st { display: inline-block; margin-right: 4px; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 800; background: var(--fill-2); color: var(--ink-2); }
.inv-st.pending { background: #FFFAEB; color: #93370D; }
.inv-st.approved { background: #F4EBFF; color: #7100E1; }
.inv-st.billed { background: #DCFAE6; color: #067647; }
/* greeting card: red warning when the pool is nearly empty */
.pool-alert { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: #B42318; color: #fff; text-align: left; font-size: 12.5px; font-weight: 400; line-height: 1.4; }
.pool-alert.frozen { background: #7100E1; }
.pool-alert b { display: block; font-size: 14px; margin-bottom: 1px; }
.pool-alert > svg { width: 18px; height: 18px; flex-shrink: 0; }
.pool-alert > svg:last-child { width: 15px; height: 15px; }

/* ===== DROPNAUT CONNECT mode: the whole interface fades to black, white and purple ===== */
body, .screen, .tabbar, .tabbar button, .page-head, .content, .sheet { transition: background-color .45s ease, color .45s ease, border-color .45s ease, box-shadow .45s ease; }
body.connect-mode { background: #000; }
body.connect-mode .screen { --bg: #0A0A0A; --card: #151518; --ink: #FFFFFF; --ink-2: rgba(255,255,255,.78); --muted: rgba(255,255,255,.58); --fill: #222227; --fill-2: #222227; --line: rgba(255,255,255,.12); color: #fff; }
body.connect-mode .tabbar { background: #0A0A0A; border-color: rgba(255,255,255,.1); }
body.connect-mode .tabbar button.on { color: #B98CFF; }
body.connect-mode .btn:not(.gray) { background: #7100E1; color: #fff; }
body.connect-mode .btn.gray { background: #222227; color: #fff; }
.side-brand { position: relative; }
/* the regular logo and the DROPNAUT CONNECT logo swap in the same spot, popping in and out */
.sb-default, .sb-connect { display: flex; align-items: center; gap: inherit; transform-origin: left center; transition: opacity .3s ease, transform .5s cubic-bezier(.34,1.56,.64,1); }
.sb-connect { position: absolute; inset: 0; justify-content: center; opacity: 0; transform: scale(.82); pointer-events: none; }
body.connect-mode .sb-default { opacity: 0; transform: scale(.82); }
body.connect-mode .sb-connect { opacity: 1; transform: none; }
.side-brand .side-logo-c { display: none; }
.side-logo-c img { display: block; height: 41.3px; width: auto; }
body:not(.connect-mode) .side-logo-c .dnc-glint::before { animation-play-state: paused; }
@media (min-width: 1264px) and (orientation: landscape) {
  /* sized and placed so its DROPNAUT letters sit exactly on the regular logo's */
  .side-brand .side-logo-c { display: block; position: absolute; left: 8.3px; top: 11px; }
  .sb-connect .side-mark { display: none; }
}
/* payment popup */
.pay-what { margin-bottom: 14px; padding: 14px; border-radius: 16px; background: var(--fill-2); text-align: center; font-weight: 800; }
/* steps that start as small tiles and open up */
.fold-list { display: grid; gap: 8px; margin-top: 14px; }
.fold { border-radius: 16px; background: var(--fill-2); overflow: hidden; }
.fold-head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; text-align: left; }
.fold-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--card); display: grid; place-items: center; flex-shrink: 0; }
.fold-ic svg { width: 18px; height: 18px; }
.fold-t { flex: 1; min-width: 0; }
.fold-t b { display: block; font-size: 14px; }
.fold-t small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.fold-go { display: grid; place-items: center; transition: transform .28s var(--ease); }
.fold-go svg { width: 15px; height: 15px; }
.fold.open .fold-go { transform: rotate(90deg); }
.fold-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s var(--ease), opacity .25s ease; }
.fold.open .fold-body { grid-template-rows: 1fr; opacity: 1; }
.fold-body > div { overflow: hidden; min-height: 0; }
.bulk-steps { margin: 0; padding: 0 14px 14px 32px; display: grid; gap: 5px; font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--ink-2); }
.bulk-steps b { color: var(--ink); }
/* ⓘ tutorial button */
.tut-btn { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: inline-grid; place-items: center; color: var(--muted); transition: color .15s, background .15s; }
.tut-btn:hover { background: var(--fill-2); color: var(--ink); }
.tut-btn svg { width: 18px; height: 18px; }
/* wide computers: the sidebar already shows the logo, so the greeting card doesn't repeat it */
@media (min-width: 1264px) and (orientation: landscape) {
  .hero-card .hero-logo { display: none; }
  .hero-card .spread { position: absolute; right: 20px; top: calc(22px + (var(--greet-h, 36px) - 36px) / 2); }
  .hero-card .hero-greet { margin-top: 0; padding-right: 84px; }
}
/* computers: a brand page fits the screen. Short cover, details beside today's posts */
@media (min-width: 900px) and (orientation: landscape) {
  .brand-page .hero.media { height: 170px; border-radius: 20px; overflow: hidden; }
  .bp-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 8px; align-items: start; }
  .bp-today > .sec-h:first-child { padding-top: 16px; }
}
/* computers: a smaller rewards section, with the featured rewards in three across */
@media (min-width: 900px) and (orientation: landscape) {
  .brand-page .rewards-head h2 { font-size: 21px; }
  .brand-page .rw-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px 10px; }
  .brand-page .rw-tile .media { border-radius: 16px; }
  .brand-page .rw-tile b { font-size: 13.5px; }
  .carousel.releases.coverflow { background: transparent; border-radius: 0; }
  .coverflow .carousel-track { display: block; position: relative; height: 260px; overflow: visible; scroll-snap-type: none; }
  .carousel.coverflow .slide { position: absolute; top: 0; left: 50%; width: 44%; height: 100%; aspect-ratio: auto; border-radius: 20px; overflow: hidden;
    transition: transform .55s var(--ease), opacity .55s ease; will-change: transform; }
  .coverflow .slide.p0 { transform: translateX(-50%); opacity: 1; z-index: 3; }
  .coverflow .slide.pm1 { transform: translateX(-122%) scale(.82); opacity: .75; z-index: 2; }
  .coverflow .slide.p1 { transform: translateX(22%) scale(.82); opacity: .75; z-index: 2; }
  .coverflow .slide.pm2 { transform: translateX(-180%) scale(.68); opacity: 0; z-index: 1; pointer-events: none; }
  .coverflow .slide.p2 { transform: translateX(80%) scale(.68); opacity: 0; z-index: 1; pointer-events: none; }
  .coverflow .slide-cap { padding: 30px 14px 28px; }
  .coverflow .slide-cap b { font-size: 16px; }
  .coverflow .car-dots { bottom: 10px; }
}
/* computers: heading and bio use the column's full width; Subscribe sits on the row with the links */
@media (min-width: 900px) and (orientation: landscape) {
  .bp-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .bp-info > .profile-card { grid-column: 1 / -1; }
  .bp-info > .about { display: contents; }
  .bp-info .about-text { grid-column: 1 / -1; grid-row: 2; padding: 18px var(--g) 0; }
  .bp-info .about-cta { grid-column: 2; grid-row: 3; padding: 16px var(--g) 0 0; }
  .bp-info > .links { grid-column: 1; grid-row: 3; }
  /* a lone featured reward stays the same size as the carousel's middle one */
  .carousel.releases:not(.coverflow) { width: 44%; margin-left: auto; margin-right: auto; }
  .carousel.releases:not(.coverflow) .slide { aspect-ratio: auto; height: 260px; }
}
@media (min-width: 900px) and (orientation: landscape) {
  .bp-info > .links { gap: 6px; padding-right: 8px; }
  .bp-info .link-chip { padding-left: 10px; padding-right: 10px; font-size: 12.5px; gap: 5px; }
  .bp-info .about-cta .btn { padding-left: 14px; padding-right: 14px; font-size: 13px; }
}
/* computers: links and Subscribe as big boxes that fill the column */
@media (min-width: 900px) and (orientation: landscape) {
  .bp-info { grid-template-columns: minmax(0, 1fr); }
  .bp-info > .links { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; grid-column: 1; grid-row: 3; padding: 16px var(--g) 0; }
  .bp-info .link-chip { display: block; height: 50px; padding: 0 12px; border-radius: 14px; line-height: 50px; font-size: 14px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bp-info .link-chip svg { display: inline-block; width: 17px; height: 17px; margin-right: 6px; vertical-align: -3px; }
  .bp-info .about-cta { grid-column: 1; grid-row: 4; padding: 8px var(--g) 0; }
  .bp-info .about-cta .btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; border-radius: 14px; font-size: 15px; }
  .bp-info .about-cta .sub-stack, .bp-info .about-cta .sub-stack .row { width: 100%; }
  .bp-info .about-cta .sub-stack .btn { flex: 1; width: auto; }
  .bp-info .about-cta .sub-stack .circle-btn { width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0; }
}
/* Today's posts: clean panels with no frame, arranged to suit how many there are */
.marquee-card.pretty { margin: 0 var(--g); }
.marquee-card.pretty .marquee { gap: 8px; padding: 0; }
.marquee.n4 { grid-template-columns: repeat(2, 1fr); }
.marquee.n5 { grid-template-columns: repeat(6, 1fr); }
.marquee.n5 > * { grid-column: span 2; }
.marquee.n5 > :nth-child(n+4) { grid-column: span 3; aspect-ratio: 4/3; }
.marquee-card.pretty .media.tile, .marquee-card.pretty .slot-empty { border-radius: 16px; overflow: hidden; }
.marquee-card.pretty .media.tile { box-shadow: 0 6px 18px rgba(0,0,0,.14); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.marquee-card.pretty .media.tile::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.45)); pointer-events: none; z-index: 1; }
.marquee-card.pretty .slot-empty { background: var(--sf, rgba(255,255,255,.55)); box-shadow: inset 0 0 0 1.5px var(--line); }
@media (hover: hover) { .marquee-card.pretty .media.tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.2); } }
/* whether a survey is open */
.survey-banner { display: flex; align-items: center; gap: 12px; width: calc(100% - 2 * var(--g)); margin: 12px var(--g) 0; padding: 12px 14px; border-radius: 16px; background: var(--sf, rgba(255,255,255,.6)); color: var(--fg, var(--ink)); text-align: left; }
.survey-banner .grow { min-width: 0; }
.survey-banner b { display: block; font-size: 14.5px; font-weight: 800; }
.survey-banner .grow > span { display: block; font-size: 12.5px; opacity: .68; }
.survey-banner .sb-ic { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(120,120,128,.16); }
.survey-banner .sb-ic svg { width: 18px; height: 18px; }
.survey-banner.on { background: #7100E1; color: #fff; }
.survey-banner.on .sb-ic { background: rgba(255,255,255,.2); }
.survey-banner.on .grow > span { opacity: .85; }
.sb-go { display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; font-size: 13.5px; font-weight: 800; }
.sb-go svg { width: 15px; height: 15px; }
@media (min-width: 900px) and (orientation: landscape) {
  .brand-page .hero.media { height: 220px; }
  .marquee.n4 { grid-template-columns: repeat(4, 1fr); }
  .marquee.n5 > *, .marquee.n6 > * { aspect-ratio: 1; }
  .marquee.n5 > :nth-child(n+4) { aspect-ratio: 3/2; }
}
/* Today's posts header: the note and View all sit together on the right */
.sh-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sh-right > span { font-size: 13.5px; color: var(--muted); }
.tn .sh-right > span { color: var(--fg2); }
@media (max-width: 560px) { .sh-right > span { display: none; } }
/* Reward sections: the intro lines up with the cards, with room around it */
.hint.sec-lead { padding: 2px calc(var(--g) + 2px) 14px; }
.sec-drop-note { grid-column: 1 / -1; }
/* computers: both columns end on the same line. More post slots widen the posts to the left and
   down, which narrows the details and pushes them down too */
@media (min-width: 900px) and (orientation: landscape) {
  .bp-split { align-items: stretch; }
  .bp-split.s3 { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
  .bp-split.s4 { grid-template-columns: minmax(0, 41fr) minmax(0, 59fr); }
  .bp-split.s5 { grid-template-columns: minmax(0, 37fr) minmax(0, 63fr); }
  .bp-split.s6 { grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); }
  .bp-info { grid-template-rows: auto auto 1fr auto; }
  .bp-info > .links { align-self: end; }
  .bp-today { display: flex; flex-direction: column; }
  .bp-today > .survey-banner { margin-top: auto; }
  .bp-today > .hint + .survey-banner, .bp-today > .marquee-card + .survey-banner { position: relative; top: 0; }
  .bp-today > .marquee-card { margin-bottom: 12px; }
  .marquee.n5 > *, .marquee.n6 > * { aspect-ratio: 5/4; }
  .marquee.n5 > :nth-child(n+4) { aspect-ratio: 3/2; }

  /* carousel: slightly taller than wide, and the whole picture shows */
  .coverflow .carousel-track { height: 360px; }
  .carousel.coverflow .slide { width: 288px; background: var(--card); }
  .carousel.coverflow .slide > img, .carousel.releases:not(.coverflow) .slide > img { object-fit: contain; }
  .coverflow .slide.pm1 { transform: translateX(-165%) scale(.85); }
  .coverflow .slide.p1 { transform: translateX(65%) scale(.85); }
  .coverflow .slide.pm2 { transform: translateX(-225%) scale(.68); }
  .coverflow .slide.p2 { transform: translateX(125%) scale(.68); }
  .carousel.releases:not(.coverflow) { width: 288px; }
  .carousel.releases:not(.coverflow) .slide { height: 360px; background: var(--card); }
}
/* spare height goes around the bio, so it moves down with the posts instead of leaving a gap above the links */
@media (min-width: 900px) and (orientation: landscape) {
  .bp-info { grid-template-rows: auto 1fr auto auto; }
  .bp-info .about-text { align-self: center; }
  .bp-info > .links { align-self: start; }
}
/* a dark page color: the black pill flips to white so it still stands out */
.page-head[data-dark] .pill-btn.dark { background: #fff; color: #0A0A0A; }
/* reward pictures: one shape everywhere, filling the frame */
.rw-tile .media { aspect-ratio: 4/5; }
@media (min-width: 900px) and (orientation: landscape) {
  .coverflow .carousel-track { height: 400px; }
  .carousel.coverflow .slide { width: 320px; }
  .carousel.coverflow .slide > img, .carousel.releases:not(.coverflow) .slide > img { object-fit: cover; }
  .coverflow .slide.pm1 { transform: translateX(-155%) scale(.85); }
  .coverflow .slide.p1 { transform: translateX(55%) scale(.85); }
  .coverflow .slide.pm2 { transform: translateX(-215%) scale(.68); }
  .coverflow .slide.p2 { transform: translateX(115%) scale(.68); }
  .carousel.releases:not(.coverflow) { width: 320px; }
  .carousel.releases:not(.coverflow) .slide { height: 400px; }
}
/* see-through reward pictures show the card behind them */
.carousel .slide.media { background: var(--card); }
/* reward pictures: truly see-through, so the page color shows behind them. A thin outline keeps the
   card's shape; it sits behind the picture, so solid pictures cover it */
.carousel.releases, .carousel:has(.slide.media > img) { background: transparent; }
.carousel .slide.media, .carousel.coverflow .slide.media, .carousel.releases:not(.coverflow) .slide.media, .rw-tile .media, .tn .rw-tile .media {
  background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fg, var(--ink)) 24%, transparent); }
/* no outline: a drop shadow that follows the picture's own shape, see-through parts included */
.carousel .slide.media, .carousel.coverflow .slide.media, .carousel.releases:not(.coverflow) .slide.media, .rw-tile .media, .tn .rw-tile .media { box-shadow: none; overflow: visible; }
.carousel .slide.media > img, .rw-tile .media > img { border-radius: inherit; filter: drop-shadow(0 8px 14px rgba(0,0,0,.28)); }
.carousel .slide.media > .art, .rw-tile .media > .art { border-radius: inherit; }
.carousel .slide-cap { border-radius: 0 0 20px 20px; }
.carousel.coverflow { padding-bottom: 24px; margin-bottom: -10px; }
.coverflow .car-dots { bottom: 34px; }
/* the background lives on one layer (the screen) on every page, so the header and body always fade together */
.screen { transition: background-color .45s ease; }
.screen > .page-head { background: transparent; transition: color .45s ease; }
.screen > .content { background: transparent; transition: none; }
.brand-page { background: transparent; transition: none; }
.brand-page .rewards-head, .brand-page .sticky-bar { transition: background-color .45s ease; }
/* brand pages: text sits in soft cards instead of directly on the page color */
.brand-page .about-text, .brand-page .hint, .brand-page .sec-desc { background: var(--sf, rgba(255,255,255,.6)); border-radius: 16px; }
.brand-page .about-text { padding: 14px 16px; }
.brand-page .about-text:not(:has(*)) { display: none; }
.brand-page .hint, .brand-page .sec-desc { margin: 10px var(--g) 0; padding: 10px 14px; }
.brand-page .sec-desc + .rw-grid { margin-top: 14px; }
@media (min-width: 900px) and (orientation: landscape) {
  .bp-info .about-text { margin: 14px var(--g) 0; padding: 14px 16px; }
  .bp-today > .hint { margin-bottom: 12px; }
}
/* brand pages: every box is one solid color, white on light page colors and black on dark ones */
.brand-page { --box: #FFFFFF; --box-fg: #0A0A0A; --box-fg2: rgba(10,10,10,.62); --box-dash: rgba(10,10,10,.28); }
.brand-page.dark { --box: #0A0A0A; --box-fg: #FFFFFF; --box-fg2: rgba(255,255,255,.68); --box-dash: rgba(255,255,255,.4); }
.brand-page.brand-page .profile-card, .brand-page.brand-page .about-text, .brand-page.brand-page .hint, .brand-page.brand-page .sec-desc,
.brand-page.brand-page .survey-banner:not(.on), .brand-page.brand-page .link-chip, .brand-page.brand-page .slot-empty,
.brand-page.brand-page .rewards-head .pill-btn:not(.dark), .brand-page.brand-page .rewards-head .stat-pill {
  background: var(--box); color: var(--box-fg); box-shadow: none;
  --ink: var(--box-fg); --ink-2: var(--box-fg2); --muted: var(--box-fg2); --fg: var(--box-fg); --fg2: var(--box-fg2); --fg3: var(--box-fg2); --dash: var(--box-dash); }
.brand-page.brand-page .profile-card .editable { border-bottom-color: var(--box-dash); }
.brand-page.brand-page .profile-card [contenteditable]:empty::before { color: var(--box-fg2); }
.brand-page.brand-page .card.inset { background: var(--box); color: var(--box-fg); box-shadow: none; --ink: var(--box-fg); --ink-2: var(--box-fg2); --muted: var(--box-fg2); --fg: var(--box-fg); --fg2: var(--box-fg2); }
.tn .survey-slot { background: var(--sf); color: var(--sf-fg); box-shadow: none; }
/* one subheading style everywhere: Garet Book, one size, one muted color. Headings are Garet Heavy */
.hint, .sub-c, .group-note, .sec-desc, .cell .s, .small.muted, .sec-h > span, .sh-right > span, .empty, .survey-banner .grow > span, .about p, .profile-card .muted, .rw-tile > span, .slide-cap span, .mk-tile > span {
  font-weight: 400; font-size: 14px; line-height: 1.45; opacity: 1; }
.brand-page.brand-page .about-text p, .brand-page.brand-page .hint, .brand-page.brand-page .sec-desc, .brand-page.brand-page .survey-banner:not(.on) .grow > span, .brand-page.brand-page .profile-card .muted { color: var(--box-fg2); }
.survey-banner.on .grow > span { color: rgba(255,255,255,.85); }
.slide-cap span { color: rgba(255,255,255,.85); }
.bp-info .about-text { align-self: stretch; }
/* sidebar: unselected tabs use the subheading style */
.tabbar button:not(.on) .tab-label { font-size: 14px; font-weight: 400; color: var(--muted); }
/* brand pages: big, heavy section headings that stand out from the page */
.brand-page .sec-h h2, .brand-page .rewards-head h2 { font-size: 27px; font-weight: 800; letter-spacing: -.7px; line-height: 1; text-transform: uppercase; color: var(--fg, var(--ink)); }
.brand-page .feat-label { font-size: 15px; font-weight: 800; letter-spacing: .4px; color: var(--fg, var(--ink)); padding-top: 2px; padding-bottom: 12px; }
.brand-page .feat-label svg { width: 16px; height: 16px; }
.brand-page .sec-h { align-items: flex-end; }
@media (min-width: 900px) and (orientation: landscape) {
  .brand-page .sec-h h2, .brand-page .rewards-head h2 { font-size: 38px; letter-spacing: -1.2px; }
  .brand-page .rewards-head { padding-top: 34px; padding-bottom: 10px; }
  .brand-page .feat-label { font-size: 17px; }
}
/* brand pages: headings and the small notes beside them sit in the same solid boxes as everything else */
.brand-page.brand-page .sec-h h2, .brand-page.brand-page .rewards-head h2, .brand-page.brand-page .feat-label, .brand-page.brand-page .sec-h > span, .brand-page.brand-page .sh-right > span {
  background: var(--box); color: var(--box-fg); border-radius: 14px; }
.brand-page .sec-h h2, .brand-page .rewards-head h2 { padding: 10px 14px; }
.brand-page .sec-h { flex-wrap: wrap; align-items: center; gap: 8px; }
.brand-page.brand-page .sec-h > span, .brand-page.brand-page .sh-right > span { padding: 8px 12px; color: var(--box-fg2); }
.brand-page.brand-page .feat-label { display: inline-flex; width: fit-content; margin: 2px 0 12px var(--g); padding: 7px 12px; }
.brand-page .feat-label svg { color: inherit; }
@media (min-width: 900px) and (orientation: landscape) {
  .brand-page .sec-h h2, .brand-page .rewards-head h2 { font-size: 32px; letter-spacing: -1px; }
}
.sh-right:has(button) > span { display: none; }
/* Rewards: a giant word filling the page width, with the featured cards overlapping it */
.brand-page { container-type: inline-size; }
.rw-word { padding: 26px var(--g) 0; text-align: center; overflow: hidden; }
.rw-word h2 { margin: 0; font-size: 18.6cqw; font-weight: 800; line-height: .86; letter-spacing: -.04em; text-transform: uppercase; white-space: nowrap; color: var(--fg, var(--ink)); }
.rw-word.behind { margin-bottom: -4.5cqw; }
.brand-page .carousel.releases { position: relative; z-index: 1; margin-top: 0; }
.rw-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 16px var(--g) 14px; }
.rw-foot .sec-tabs { flex: 1; min-width: 0; padding: 0; margin: 0; flex-wrap: wrap; overflow: visible; }
.brand-page .rw-foot .stat-pill { background: var(--box); color: var(--box-fg); }
.brand-page .rw-foot .pill-btn:not(.dark) { background: var(--box); color: var(--box-fg); }
/* the giant word sits in the same solid box as everything else: white on light pages, black on dark */
.brand-page.brand-page .rw-word h2 { background: var(--box); color: var(--box-fg); border-radius: 24px; font-size: 17.2cqw; padding: 2.2cqw 0 3.4cqw; }
.brand-page .rw-word { overflow: visible; }
/* every carousel card clips slightly over the giant word's letters, side cards included */
.brand-page.brand-page .rw-word h2 { padding-bottom: 1.6cqw; }
.rw-word.behind { margin-bottom: -5.8cqw; }
.carousel.releases.coverflow { overflow: visible; overflow-x: clip; }
/* a bigger Today's posts */
@media (min-width: 900px) and (orientation: landscape) {
  .brand-page .bp-today .sec-h h2 { font-size: 39px; letter-spacing: -1.2px; padding: 8px; }
  .brand-page.brand-page .sec-h > span, .brand-page.brand-page .sh-right > span { padding: 8px; }
}
/* the pencil and cover chips stay white with a black icon on any page color */
.brand-page.brand-page .edit-chip { background: #FFFFFF; color: #0A0A0A; --ink: #0A0A0A; }
/* an older reward that needs a store discount before fans can see it */
.rw-needs { position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 2; padding: 6px 8px; border-radius: 10px; background: #0A0A0A; color: #fff; font-size: 12px; line-height: 1.3; }
/* section queue: which section a reward joins, and a section taking the star on a day */
.q-to { flex-shrink: 0; max-width: 130px; gap: 2px; }
.q-to svg { width: 12px; height: 12px; transform: rotate(90deg); flex-shrink: 0; }
.q-star { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 4px 6px 4px 12px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 13.5px; }
.q-star svg { width: 15px; height: 15px; flex-shrink: 0; }
.q-star b { font-weight: 800; }
.q-star .circle-btn.sm { width: 30px; height: 30px; background: rgba(255,255,255,.18); color: #fff; }
.q-star-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 12px; border-radius: 14px; background: var(--card); font-size: 13.5px; line-height: 1.35; }
.q-star-row b { font-weight: 800; }
/* base DROPNAUT is black and white: purple belongs to DROPNAUT CONNECT */
.loved-ic { display: block; width: 100%; height: 100%; border-radius: 22%; }
.loved-mark, .lb-ic.loved, .lb-post > span { background: transparent; border-radius: 22%; }
.loved-mark { box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.loved-badge .loved-ic { width: 18px; height: 18px; flex-shrink: 0; }
.star-btn.on { color: var(--ink); }
.connect-tile.frozen { box-shadow: 0 0 0 2px var(--ink), 0 12px 30px rgba(0,0,0,.18); }
.pool-alert.frozen { background: #FFFFFF; color: #0A0A0A; }
.survey-banner.on { background: var(--box-fg, var(--ink)); color: var(--box, #fff); }
.survey-banner.on .grow > span { color: inherit; opacity: .75; }
.survey-banner.on .sb-ic { background: color-mix(in srgb, currentColor 18%, transparent); }
/* frozen alert: black and white caution tape along the top */
.pool-alert.frozen { position: relative; overflow: hidden; padding-top: 24px; }
.pool-alert.frozen::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(-45deg, #0A0A0A 0 12px, #FFFFFF 12px 24px); }
/* announcement bar: moving or stationary, in the page's opposite color */
.ann-bar { position: relative; display: block; width: calc(100% - 2 * var(--g)); margin: 8px var(--g) 10px; height: 38px; line-height: 38px; overflow: hidden; border-radius: 12px; background: var(--box-fg, var(--ink)); color: var(--box, #fff); font-size: 14px; font-weight: 800; text-align: center; white-space: nowrap; }
.ann-still { display: block; padding: 0 14px; overflow: hidden; text-overflow: ellipsis; }
.ann-track { display: inline-flex; animation: ann-move 45s linear infinite; will-change: transform; backface-visibility: hidden; }
.ann-run { display: inline-flex; flex-shrink: 0; }
.ann-run > span { padding: 0 28px; position: relative; }
.ann-run > span::after { content: "★"; position: absolute; right: -6px; font-size: 11px; }
@keyframes ann-move { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ann-track { animation: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (min-width: 900px) and (orientation: landscape) {
  .brand-page .hero.media { height: 245px; }
  .brand-page .ann-bar { width: 100%; margin: 0 0 10px; }
}
.brand-page > .sticky-bar + .ann-bar { margin-top: 0; }
/* brand style: its fonts, and its tertiary color on accents */
.brand-themed { font-family: var(--bf2, var(--font)); }
.brand-themed :is(h1, h2, h3, b, strong, .btn, .chip, .pill-btn, .rw-word h2, .tile-stats, .rw-tag) { font-family: var(--bf1, inherit); }
.brand-themed .ann-bar, .brand-themed .survey-banner.on { background: var(--accent, var(--box-fg, var(--ink))); color: var(--accent-fg, var(--box, #fff)); }
.brand-themed.brand-page .btn:not(.gray):not(.white), .brand-themed.brand-page .rw-foot .btn:not(.gray) { background: var(--btn, var(--ink)); color: var(--btn-fg, #fff); }
.brand-themed .chip.on { background: var(--btn, var(--ink)); color: var(--btn-fg, #fff); }
/* sidebar: the brand's logo takes over while its content is open */
.sb-brand { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; opacity: 0; transform: scale(.82); transform-origin: left center; pointer-events: none; transition: opacity .3s ease, transform .5s cubic-bezier(.34,1.56,.64,1); }
.sb-wide { max-width: 100%; max-height: 52px; object-fit: contain; object-position: left center; display: none; }
.sb-av { width: 36px; height: 36px; flex-shrink: 0; }
.sb-name { display: none; font-size: 17px; font-weight: 800; color: var(--ink); }
body.brand-mode:not(.connect-mode) .sb-default { opacity: 0; transform: scale(.82); }
body.brand-mode:not(.connect-mode) .sb-brand { opacity: 1; transform: none; }
@media (min-width: 1264px) and (orientation: landscape) {
  .sb-brand { justify-content: flex-start; padding-left: 12px; }
  .sb-wide { display: block; }
  .sb-name { display: block; }
}
/* brand style page */
.bs-grid { display: grid; gap: 8px; }
@media (min-width: 900px) and (orientation: landscape) { .bs-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.bs-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.bs-row + .bs-row { border-top: 1px solid var(--line); }
.bs-row .grow > b { display: block; font-weight: 800; }
.bs-row .grow > span { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; }
.bs-sw { position: relative; width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); overflow: hidden; cursor: pointer; }
.bs-sw input { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); opacity: 0; cursor: pointer; }
.bs-hex { font-size: 13px; color: var(--muted); }
/* a brand's fonts reach its name, handle, surveys and message, falling back to Garet while they load */
.brand-themed { font-family: var(--bf2, var(--font)), var(--font); }
b.brand-themed, .brand-themed :is(h1, h2, h3, h4, b, strong, button .t, .t, .name, .btn, .chip, .pill-btn, .tile-stats, .rw-tag, .link-chip, .ann-bar, .star-big, .stat-pill, .lvl-badge, .strip-btn, .strip-chip) { font-family: var(--bf1, var(--font)), var(--font); }
.brand-themed :is(.muted, .small, .hint, .sec-desc, .lb-speech, input, textarea) { font-family: var(--bf2, var(--font)), var(--font); }
/* the sidebar takes the colors of the brand on screen */
.tabbar[data-themed] { background: var(--side-bg); border-color: color-mix(in srgb, var(--side-fg) 14%, transparent); color: var(--side-fg); --ink: var(--side-fg); --muted: var(--side-fg2); }
.tabbar[data-themed] button { color: var(--side-fg); }
.tabbar[data-themed] button:not(.on) .tab-label { color: var(--side-fg2); }
.tabbar[data-themed] button:hover { background: color-mix(in srgb, var(--side-fg) 10%, transparent); }
.tabbar[data-themed] button.on, .tabbar[data-themed] button.on:hover { background: var(--side-on); color: var(--side-on-fg); }
.tabbar[data-themed] button.on .tab-label { color: var(--side-on-fg); }
.tabbar[data-themed] button.on::after { background: var(--side-accent, var(--side-on-fg)); }
.tabbar[data-themed] .sb-name { color: var(--side-fg); }
.tabbar[data-themed] .logo-av { --ink: #0A0A0A; background: #0A0A0A; color: #FFFFFF; box-shadow: 0 0 0 1.5px rgba(255,255,255,.35); }
/* Brand style panel: beside the live page on computers, a sheet over its lower half on phones */
.style-panel { position: fixed; z-index: 60; right: 0; top: 0; bottom: 0; width: 360px; display: flex; flex-direction: column; background: var(--card); color: var(--ink); border-left: 1px solid var(--line); box-shadow: -12px 0 40px rgba(0,0,0,.12); }
.sp-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 18px 12px; }
.sp-head h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.4px; }
.sp-body { flex: 1; overflow-y: auto; padding: 0 14px 20px; --g: 0px; }
.sp-h { margin: 16px 2px 8px; font-size: 15px; font-weight: 800; }
.sp-note { margin: 8px 2px 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.style-panel .group { margin: 0; background: var(--bg); }
.sp-color .bs-row { width: 100%; text-align: left; }
.sp-color + .sp-color { border-top: 1px solid var(--line); }
.bs-sw.sm { width: 40px; height: 40px; flex-shrink: 0; }
.sp-picker { display: grid; gap: 12px; padding: 2px 14px 14px; }
.sp-sv { position: relative; height: 150px; border-radius: 14px; cursor: crosshair; touch-action: none; background: linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, hsl(var(--hue) 100% 50%)); }
.sp-sv i { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(0,0,0,.5); pointer-events: none; }
.sp-hue { -webkit-appearance: none; appearance: none; width: 100%; height: 14px; margin: 0; border-radius: 99px; outline: none; cursor: pointer; background: linear-gradient(to right, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); }
.sp-hue::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 2px 6px rgba(0,0,0,.35); }
.sp-hue::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 2px 6px rgba(0,0,0,.35); }
.sp-hex { display: flex; align-items: center; gap: 8px; }
.sp-hex .input { flex: 1; min-width: 0; height: 40px; font-weight: 800; }
.sp-card .brand-card { margin: 0; pointer-events: none; }
body.styling .screen > .content, body.styling .screen > .page-head { padding-right: 384px; padding-left: 24px; }
@media (max-width: 899px), (orientation: portrait) {
  .style-panel { top: auto; left: 0; width: auto; height: 52dvh; border-left: 0; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.2); }
  body.styling .screen > .content, body.styling .screen > .page-head { padding-right: var(--g, 16px); padding-left: var(--g, 16px); }
  body.styling .screen > .content { padding-bottom: 54dvh; }
}
/* while styling, colors change instantly so they follow the picker */
body.styling .screen, body.styling .tabbar, body.styling .tabbar button, body.styling .brand-page .rewards-head { transition: none; }
.sp-drop { flex-shrink: 0; }
.sp-drop svg { width: 17px; height: 17px; }
/* sidebar text in the brand's fonts: secondary for tabs, primary for the selected one */
.tabbar.brand-themed .tab-label { font-family: var(--bf2, var(--font)), var(--font); }
.tabbar.brand-themed button.on .tab-label, .tabbar.brand-themed .sb-name { font-family: var(--bf1, var(--font)), var(--font); }
/* Today's posts leads its column */
.brand-page .bp-today .sec-h h2 { font-size: 36px; letter-spacing: -1px; }
@media (min-width: 900px) and (orientation: landscape) {
  .brand-page .bp-today .sec-h h2 { font-size: 54px; letter-spacing: -1.6px; }
}
/* rewards: a full band of color, set apart from the rest of the page */
.rw-band { margin-top: 28px; padding: 6px 0 28px; background: var(--band); color: var(--fg); border-radius: 28px 28px 0 0; }
.brand-page.brand-page .rw-band .rw-word h2 { background: transparent; color: var(--fg); }
.rw-band .circle-btn:not(.glass) { background: var(--box); color: var(--box-fg); }
.rw-band .chip:not(.on) { background: var(--box); color: var(--box-fg); }
.rw-band .circle-btn.glass { color: #0A0A0A; --ink: #0A0A0A; }
/* Brand and Rewards are two tabs of the page */
.bp-tabs { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 8px var(--g) 12px; }
.bp-tablist { display: flex; gap: 22px; }
.bp-tablist button { padding: 6px 0; font-size: 13px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--fg2, var(--muted)); border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s; }
.bp-tablist button.on { color: var(--fg, var(--ink)); border-bottom-color: currentColor; }
.bp-tools { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.brand-page .bp-tools .stat-pill, .brand-page .bp-tools .pill-btn:not(.dark) { background: var(--box); color: var(--box-fg); }
@media (min-width: 900px) and (orientation: landscape) { .bp-tabs { padding-left: 0; padding-right: 0; } }
/* Rewards: a storefront of stacked sections */
.rwx { --rx-r: 0px; --rx-gap: 56px; display: flow-root; padding-bottom: 40px; background: var(--rx-bg, transparent); color: var(--fg, var(--ink)); }
.rwx.c-soft { --rx-r: 10px; }
.rwx.c-round { --rx-r: 22px; }
.rwx.on-color { padding-top: 8px; }
.rwx .reward-tools { padding: 12px var(--g) 0; }
.rx-block { position: relative; margin-top: var(--rx-gap); padding: 0 var(--g); }
.rx-block:first-child, .reward-tools + .rx-block { margin-top: 0; }
.rx-block.full { padding: 0; }
.rwx.on-color .rx-block:not(.full):first-child { margin-top: 32px; }
.rx-block.off { opacity: .4; }
.rx-block[data-action] { cursor: pointer; }
.rx-block.sel { outline: 2px solid var(--fg, var(--ink)); outline-offset: 4px; }
.rx-head { margin-bottom: 26px; text-align: center; }
.rx-eyebrow { margin-bottom: 8px; font-size: 12px; font-weight: 400; color: var(--fg2, var(--muted)); }
.rx-title { margin: 0; font-size: 24px; font-weight: 400; line-height: 1.25; color: var(--fg, var(--ink)); overflow-wrap: anywhere; }
.t-spaced .rx-eyebrow { letter-spacing: .2em; text-transform: uppercase; }
.t-spaced .rx-title { letter-spacing: .2em; text-transform: uppercase; }
.t-plain .rx-title { font-weight: 800; letter-spacing: -.3px; }
/* cards: flat, no boxes, the picture does the work */
.rx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
.rx-card { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; color: inherit; }
.rx-img { position: relative; display: block; width: 100%; aspect-ratio: var(--rx-ratio, 4/5); overflow: hidden; border-radius: var(--rx-r); background: var(--box, var(--fill-2)); }
.rx-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.rx-img > .art { border-radius: inherit; }
@media (hover: hover) { .rx-card:hover .rx-img > img, button.rx-img:hover > img { transform: scale(1.03); } }
.rx-name { margin-top: 14px; max-width: 100%; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--fg, var(--ink)); overflow-wrap: anywhere; }
.rx-price { margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--fg2, var(--muted)); }
.t-spaced .rx-name, .t-spaced .rx-price { letter-spacing: .14em; text-transform: uppercase; }
.t-plain .rx-name { font-weight: 800; }
.rwx .rw-tags { left: 10px; top: 10px; }
.rwx .rw-tag { border-radius: min(var(--rx-r), 8px); box-shadow: none; font-weight: 400; letter-spacing: .14em; padding: 5px 9px; }
.rwx .rw-tag.new { background: #FFFFFF; color: #0A0A0A; }
.rwx .edit-chip.round { position: absolute; top: 8px; right: 8px; }
/* sliding row */
.rx-rowwrap { position: relative; }
.rx-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--g)); padding: 0 var(--g); scroll-padding: 0 var(--g); }
.rx-row::-webkit-scrollbar { display: none; }
.rx-row .rx-card { flex: 0 0 calc((100% - 14px) / 1.6); scroll-snap-align: start; }
.rx-prev, .rx-next { position: absolute; top: 34%; z-index: 2; color: #0A0A0A; --ink: #0A0A0A; }
.rx-prev { left: 6px; }
.rx-next { right: 6px; }
/* tabs for every section */
.rx-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-bottom: 28px; scroll-margin-top: 90px; }
.rx-tabs button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; font-size: 13px; font-weight: 400; color: var(--fg2, var(--muted)); border-bottom: 1.5px solid transparent; }
.rx-tabs button.on { color: var(--fg, var(--ink)); border-bottom-color: currentColor; }
.rx-tabs svg { width: 12px; height: 12px; }
.t-spaced .rx-tabs button { letter-spacing: .2em; text-transform: uppercase; }
.rx-desc, .rx-empty { margin: -12px auto 24px; max-width: 560px; text-align: center; font-size: 14px; line-height: 1.5; color: var(--fg2, var(--muted)); }
.rx-empty { margin: 0 auto; padding: 24px 0; }
/* image banner */
.rx-banner { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--box, var(--fill-2)); color: var(--fg, var(--ink)); }
.rx-banner.h-s { min-height: 240px; }
.rx-banner.h-m { min-height: 360px; }
.rx-banner.h-l { min-height: 520px; }
.rx-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rx-banner.has-img::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.26); }
.rx-banner-text { position: relative; z-index: 1; max-width: 680px; padding: 32px var(--g); text-align: center; }
.rx-banner.a-left { justify-content: flex-start; }
.rx-banner.a-left .rx-banner-text { text-align: left; }
.rx-banner.has-img .rx-eyebrow, .rx-banner.has-img .rx-title { color: #FFFFFF; }
.rx-banner .rx-title { font-size: 30px; }
.rx-btn { display: inline-block; margin-top: 20px; padding: 13px 26px; border-radius: var(--rx-r); background: var(--fg, var(--ink)); color: var(--rx-bg, var(--page, #fff)); font-size: 12px; font-weight: 400; cursor: pointer; transition: opacity .2s; }
.t-spaced .rx-btn { letter-spacing: .2em; text-transform: uppercase; }
.rx-banner.has-img .rx-btn { background: #FFFFFF; color: #0A0A0A; }
@media (hover: hover) { .rx-btn:hover { opacity: .82; } }
/* spotlight and text */
.rx-spot { display: grid; gap: 22px; align-items: center; }
.rx-spot-text { text-align: center; }
.rx-spot-text p { margin: 14px auto 0; max-width: 460px; font-size: 14px; line-height: 1.6; color: var(--fg2, var(--muted)); white-space: pre-line; overflow-wrap: anywhere; }
.rx-spot-text .rx-price { margin-top: 14px; }
.rx-text { max-width: 640px; margin: 0 auto; text-align: center; }
.rx-text.a-left { margin-left: 0; text-align: left; }
.rx-text .rx-head { margin-bottom: 14px; text-align: inherit; }
.rx-text p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--fg2, var(--muted)); white-space: pre-line; overflow-wrap: anywhere; }
@media (min-width: 900px) and (orientation: landscape) {
  .rwx { --rx-gap: 80px; }
  .rx-block:not(.full) { padding: 0; }
  .rwx.on-color .rx-block:not(.full) { padding: 0 32px; }
  .rx-grid { grid-template-columns: repeat(var(--rx-cols, 4), minmax(0, 1fr)); gap: 44px 20px; }
  .rx-row { margin: 0; padding: 0; gap: 20px; scroll-padding: 0; }
  .rx-row .rx-card { flex-basis: calc((100% - (var(--rx-cols, 4) - 1) * 20px) / var(--rx-cols, 4)); }
  .rx-title { font-size: 28px; }
  .rx-banner .rx-title { font-size: 40px; }
  .rx-spot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .rx-spot.flip .rx-img { order: 2; }
}
/* the Customize panel */
.rw-panel .group { overflow: hidden; }
.rp-row { display: flex; align-items: center; gap: 4px; padding: 8px 10px; }
.rp-row + .rp-row { border-top: 1px solid var(--line); }
.rp-row.off .rp-name { opacity: .45; }
.rp-row .circle-btn { width: 30px; height: 30px; flex-shrink: 0; font-size: 14px; }
.rp-row .circle-btn:disabled { opacity: .3; }
.rp-row .circle-btn svg { width: 15px; height: 15px; }
.rp-name { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; text-align: left; }
.rp-name > svg { width: 18px; height: 18px; flex-shrink: 0; }
.rp-name b { display: block; font-size: 14px; font-weight: 800; }
.rp-name small { display: block; font-size: 12px; color: var(--muted); }
.rp-add { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rp-add button { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; background: var(--bg); font-size: 13.5px; font-weight: 800; text-align: left; }
.rp-add svg { width: 16px; height: 16px; flex-shrink: 0; }
.rp-fields { display: grid; gap: 14px; }
.rp-field > label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 800; }
.rp-field .sp-note { display: block; margin: 0; }
.rp-field textarea.input { min-height: 96px; }
.rp-seg { display: flex; gap: 3px; padding: 3px; border-radius: 12px; background: var(--bg); }
.rp-seg button { flex: 1; min-width: 0; padding: 8px 4px; border-radius: 9px; font-size: 13px; color: var(--muted); }
.rp-seg button.on { background: var(--ink); color: var(--card); font-weight: 800; }
/* Brand / Rewards: a two-part slider, like a door latch */
.bp-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 232px; max-width: 100%; padding: 4px; border-radius: 99px; background: var(--box, var(--fill-2)); isolation: isolate; }
.bp-switch button { position: relative; z-index: 1; height: 36px; font-size: 14px; font-weight: 400; color: var(--box-fg2, var(--muted)); transition: color .25s ease .08s; }
.bp-switch button.on { font-weight: 800; color: var(--box, #fff); }
.bp-knob { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: var(--box-fg, var(--ink)); box-shadow: 0 2px 8px rgba(0,0,0,.22); transition: transform .48s cubic-bezier(.34,1.5,.5,1); }
.bp-switch.right .bp-knob { transform: translateX(100%); }
.bp-switch:active .bp-knob { filter: brightness(1.15); }
.bp-main, .rwx { animation: bp-in .42s cubic-bezier(.2,.7,.2,1) both; }
@keyframes bp-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .bp-knob { transition: none; } .bp-main, .rwx { animation: none; } }
/* how many survey questions are still waiting */
.sc-count { font-size: 19px; font-weight: 800; background: #fff; color: var(--ink); font-variant-numeric: tabular-nums; }
.tn .survey-cta .sc-count { background: var(--btn-fg); color: var(--btn); }
.survey-banner .sb-ic { font-weight: 800; }
/* the survey notification in the brand's chosen color */
.survey-cta.custom .sc-go, .survey-cta.custom .sc-count { background: var(--btn-fg); color: var(--btn); }
.survey-cta.custom .sc-ic:not(.sc-count) { background: color-mix(in srgb, var(--btn-fg) 14%, transparent); }
.survey-cta.custom::before { border-color: color-mix(in srgb, var(--btn) 45%, transparent); }
.survey-banner.on .sb-ic { background: color-mix(in srgb, var(--btn-fg, #fff) 18%, transparent); }
.sp-sample { width: 100%; margin: 0 0 10px; animation: none; }
/* slider labels sit dead center in their half */
.bp-switch button, .rp-seg button { display: flex; align-items: center; justify-content: center; text-align: center; padding-left: 0; padding-right: 0; line-height: 1; }
.pa-time { font-variant-numeric: tabular-nums; }
/* Saved: rewards waiting on an order */
.sub-seg { display: flex; gap: 22px; margin: 16px var(--g) 14px; }
.sub-seg button { padding: 4px 0; font-size: 14px; font-weight: 400; color: var(--muted); border-bottom: 1.5px solid transparent; }
.sub-seg button.on { font-weight: 800; color: var(--ink); border-bottom-color: currentColor; }
.hold-why { display: flex; gap: 12px; margin: 16px var(--g) 14px; padding: 14px; border-radius: var(--r-card); background: var(--fill); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.sub-seg + .hold-why { margin-top: 0; }
.hold-why > svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--ink); }
.hold-why b { display: block; font-weight: 800; color: var(--ink); }
.coupon.held .coupon-state { font-weight: 400; }
.purchase { margin: 0 var(--g) 12px; padding: 14px; background: var(--card); border-radius: var(--r-card); }
.purchase .spread { gap: 10px; }
.purchase .grow { min-width: 0; }
.purchase b { display: block; font-weight: 800; }
.purchase .status { flex-shrink: 0; }
.purchase.refunded { opacity: .7; }
.pu-rows { margin-top: 10px; border-top: 1px solid var(--line); }
.pu-row { display: flex; align-items: center; gap: 8px; padding: 9px 0 0; font-size: 14px; }
.pu-row > svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--muted); }
.pu-row.ok > svg { color: #067647; }
.pu-when { flex-shrink: 0; color: var(--muted); text-align: right; }
@media (min-width: 900px) and (orientation: landscape) { .hold-why, .purchase, .sub-seg { margin-left: 0; margin-right: 0; } }
/* reward limits and refunding coupons */
.rl-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0 0; }
.rl-row label { min-width: 0; }
.rl-row label b { display: block; font-weight: 800; }
.rl-row label span { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; }
.rl-row .pe-group { flex-shrink: 0; }
.rw-limits { padding-bottom: 8px; }
.coupon-refund { margin-top: 8px; }
.hold-why.debt { background: #FEF3F2; color: #7A271A; }
.hold-why.debt b, .hold-why.debt > svg { color: #B42318; }
/* Orders: every order, the stages it has been through, and a globe of where it is */
.ord-wrap { display: grid; gap: 14px; padding: 8px var(--g) 28px; }
.ord-list { display: grid; gap: 8px; align-content: start; }
.ord-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px; border-radius: var(--r-card); background: var(--card); text-align: left; }
.ord-row.on { box-shadow: inset 0 0 0 2px var(--ink); }
.ord-row .grow { min-width: 0; }
.ord-row b, .ord-row .small { display: block; }
.ord-row b { font-weight: 800; }
.ord-row .status { flex-shrink: 0; }
.ord-detail { display: grid; gap: 14px; min-width: 0; align-content: start; }
.ord-card { padding: 16px; border-radius: var(--r-card); background: var(--card); min-width: 0; }
.ord-card > .spread { gap: 10px; flex-wrap: wrap; }
.ord-top { min-width: 0; }
.ord-top b { display: block; font-weight: 800; }
.ord-stages { display: grid; grid-template-columns: repeat(5, minmax(96px, 1fr)); gap: 6px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
.ord-stages button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: 14px; text-align: center; font-size: 12px; line-height: 1.3; color: var(--muted); }
.ord-stages i { display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 4px; border-radius: 50%; background: var(--fill); color: var(--muted); font-style: normal; }
.ord-stages i svg { width: 14px; height: 14px; }
.ord-stages b { font-size: 12.5px; font-weight: 800; color: var(--ink); }
.ord-stages .done i { background: var(--ink); color: var(--card); }
.ord-stages button.on { background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--ink); }
.ord-view { display: grid; gap: 16px; margin-top: 14px; }
.ord-globe { position: relative; height: 320px; border-radius: 16px; overflow: hidden; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); }
.ord-globe canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.ord-globe canvas:active { cursor: grabbing; }
.ord-hint, .ord-note { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.88); color: #5F5F66; font-size: 12px; white-space: nowrap; pointer-events: none; }
.ord-facts { display: grid; gap: 12px; align-content: center; min-width: 0; }
.ord-facts span { display: block; font-size: 13px; color: var(--muted); }
.ord-facts b { display: block; font-weight: 800; overflow-wrap: anywhere; }
.ord-facts p { margin: 0; font-size: 14px; line-height: 1.45; }
.ord-facts em { color: var(--muted); font-style: normal; }
.ord-sub { font-weight: 800; margin-bottom: 2px; }
.ord-why { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.ord-why b { font-weight: 800; color: var(--ink); }
@media (min-width: 900px) and (orientation: landscape) {
  .ord-wrap { grid-template-columns: 280px minmax(0, 1fr); padding-left: 0; padding-right: 0; }
  .ord-view { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .ord-globe { height: 400px; }
}

/* ---------- Home brand cards: one post at a time, like a feed post ---------- */
.brand-card.ig { padding: 0; }
.brand-card.ig > .survey-cta { margin: 10px 10px 0; }
.ig-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.ig-who { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-align: left; }
.ig-who .logo-av { width: 34px; height: 34px; font-size: 14px; flex-shrink: 0; }
.ig-names { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.ig-names b { font-weight: 800; font-size: 14.5px; }
.ig-names small { font-size: 12px; opacity: .62; }
.ig-sub { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px; border-radius: 99px; font-weight: 800; font-size: 12.5px; background: var(--fill); color: var(--ink); flex-shrink: 0; }
.ig-sub.ink { background: var(--btn, var(--ink)); color: var(--btn-fg, var(--card)); }
.ig-sub svg { width: 13px; height: 13px; }
.ig-star { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ig-star svg { width: 18px; height: 18px; }
.ig-star.on { color: #F5B400; }
.ig-media { position: relative; width: 100%; aspect-ratio: var(--ar, .8); max-height: 78vh; background: #0A0A0A; overflow: hidden; }
.ig-open { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: zoom-in; }
.ig-open img, .ig-open video { width: 100%; height: 100%; object-fit: contain; display: block; }
.ig-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 10%; background: var(--fill); color: var(--ink); }
.ig-text p { margin: 0; font-weight: 800; font-size: 22px; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
.ig-arr { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.88); color: #0A0A0A; display: flex; align-items: center; justify-content: center; z-index: 3; box-shadow: 0 2px 8px rgba(0,0,0,.2); transition: transform .15s var(--ease), background .15s; }
.ig-arr:hover { background: #fff; } .ig-arr:active { transform: translateY(-50%) scale(.9); }
.ig-arr svg { width: 16px; height: 16px; stroke-width: 2.6; }
.ig-arr.l { left: 10px; } .ig-arr.r { right: 10px; }
.ig-count { position: absolute; top: 10px; right: 10px; z-index: 3; padding: 3px 9px; border-radius: 99px; background: rgba(10,10,10,.62); color: #fff; font-size: 12px; font-weight: 800; }
.ig-play { position: absolute; left: 10px; bottom: 10px; z-index: 3; width: 28px; height: 28px; border-radius: 50%; background: rgba(10,10,10,.6); color: #fff; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.ig-play svg { width: 13px; height: 13px; }
.ig-media .ig-date { position: absolute; left: 10px; top: 10px; z-index: 3; }
.ig-media .loved-mark { z-index: 3; }
.ig-bar { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 14px; padding: 10px 12px 4px; }
.ig-act { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; }
.ig-act svg { width: 24px; height: 24px; }
.ig-act.liked { color: #FF3B30; }
.ig-save { grid-column: 4; }
.ig-dots { display: flex; justify-content: center; gap: 4px; }
.ig-dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .25; }
.ig-dots i.on { opacity: 1; background: var(--btn, #0095F6); }
.ig-cap { margin: 2px 12px 0; font-size: 14px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.ig-cap.open { display: block; }
.ig-cap b { font-weight: 800; margin-right: 2px; }
.ig-more { margin: 0 12px; font-size: 14px; opacity: .55; font-weight: 700; }
.ig-ago { margin: 4px 12px 12px; font-size: 11.5px; opacity: .5; text-transform: uppercase; letter-spacing: .3px; }
.ig-empty { margin: 0 12px 12px; aspect-ratio: 16 / 7; border-radius: 14px; background: var(--fill); display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; opacity: .75; width: calc(100% - 24px); }
.ig-empty.add svg { width: 22px; height: 22px; }
/* full-screen viewer: visible arrows on top of the tap zones */
.viewer .nav { display: flex; align-items: center; }
.viewer .nav.l { justify-content: flex-start; padding-left: 14px; } .viewer .nav.r { justify-content: flex-end; padding-right: 14px; }
.viewer .nav-ic { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.88); color: #0A0A0A; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.viewer .nav-ic svg { width: 20px; height: 20px; stroke-width: 2.6; }
/* wider feed now that the leaderboard is gone */
@media (min-width: 900px) {
  .home-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .home-main .brand-card.ig { max-width: 620px; margin-left: auto; margin-right: auto; }
}
/* Orders: the example shown before the first order */
.ord-example { display: flex; flex-direction: column; gap: 4px; margin: 16px var(--g, 16px) 12px; padding: 12px 14px; border-radius: 14px; background: #0A0A0A; color: #fff; font-size: 13.5px; line-height: 1.45; }
.ord-example b { font-weight: 800; font-size: 14px; }
.ord-example span { opacity: .78; }
.ord-sample { position: relative; }
.ord-sample .ord-row .status { background: #0A0A0A; color: #fff; }
/* Home cards on a computer: a feed-sized column so posts keep their shape instead of turning into wide strips */
@media (min-width: 900px) {
  .home-main .brand-card.ig { max-width: 470px; }
  .brand-card.ig .ig-media { max-height: none; }
}
/* Brand page: the Brand | Rewards switch sits inside the top bar */
.sticky-bar .mini { position: relative; }
.bp-switch.in-bar { margin-left: auto; flex-shrink: 0; transform: scale(.86); transform-origin: right center; }
.bp-tabs.tools-only { justify-content: flex-end; }
/* press-and-hold to the top */
.hold-ring { position: fixed; z-index: 9999; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255,255,255,.94); box-shadow: 0 6px 22px rgba(0,0,0,.22); display: flex; align-items: center; justify-content: center; pointer-events: none; animation: hr-in .16s var(--ease, ease) both; }
.hold-ring svg { position: absolute; inset: 5px; width: 48px; height: 48px; transform: rotate(-90deg); }
.hold-ring circle { fill: none; stroke: rgba(10,10,10,.12); stroke-width: 4; }
.hold-ring circle.p { stroke: #0A0A0A; stroke-linecap: round; stroke-dasharray: 125.7; stroke-dashoffset: 125.7; animation: hr-fill .65s linear forwards; }
.hold-ring b { font-size: 20px; font-weight: 900; color: #0A0A0A; line-height: 1; }
.hold-ring.out { animation: hr-out .2s ease forwards; }
.hold-ring.done { animation: hr-done .38s ease forwards; }
@keyframes hr-in { from { transform: scale(.4); opacity: 0; } }
@keyframes hr-fill { to { stroke-dashoffset: 0; } }
@keyframes hr-out { to { transform: scale(.6); opacity: 0; } }
@keyframes hr-done { 40% { transform: scale(1.12); } to { transform: translateY(-40px) scale(.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hold-ring circle.p { animation-duration: .65s; } .hold-ring.done { animation: hr-out .2s ease forwards; } }
.sticky-bar .mini { min-width: 0; }
.sticky-bar .mini .mini-txt { min-width: 0; flex: 1 1 auto; }
@media (max-width: 520px) {
  .sticky-bar .mini .mini-txt span { display: none; }
  .bp-switch.in-bar { transform: scale(.78); margin-right: -10px; }
}

/* ---------- Reward page: picture on the left, words on the right ---------- */
.rw-split { display: block; }
@media (min-width: 760px) {
  .rw-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; padding: 8px var(--g, 16px) 0; max-width: 1080px; margin: 0 auto; }
  .rw-split .rw-l { position: sticky; top: 72px; }
  .rw-split .rw-l .carousel { margin: 0; border-radius: 18px; overflow: hidden; }
  .rw-split .rw-r .pad, .rw-split .rw-r .card.inset { margin-left: 0; margin-right: 0; }
  .rw-split .rw-r .pad { padding-left: 0; padding-right: 0; }
  .rw-split .rw-r .rw-title, .rw-split .rw-r .rw-price, .rw-split .rw-r .center { text-align: left; justify-content: flex-start; }
  .rw-split .rw-r .rw-title.inline-input { text-align: left; }
  .rw-split .rw-r .price-edit { margin-left: 0; }
}

/* ---------- Rewards page editor: everything on the page, like building a site ---------- */
.rx-block.ed { margin-top: 10px; padding-top: 8px; padding-bottom: 10px; border-radius: 16px; outline: 1.5px dashed transparent; outline-offset: -2px; transition: outline-color .15s, background .15s; }
.rx-block.ed:hover, .rx-block.ed:focus-within { outline-color: color-mix(in srgb, currentColor 28%, transparent); }
.rx-block.ed.dragging { opacity: .35; }
.rx-block.ed.drop-before { box-shadow: 0 -3px 0 #0095F6; }
.rx-block.ed.drop-after { box-shadow: 0 3px 0 #0095F6; }
.rx-block.ed.off > *:not(.rxe-bar):not(.rxe-hidden) { opacity: .45; }
.rxe-hidden { position: absolute; right: 14px; bottom: 12px; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: #0A0A0A; color: #fff; }
.rxe-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 var(--g, 12px) 10px; padding: 5px 6px; border-radius: 12px; background: color-mix(in srgb, currentColor 6%, transparent); font-size: 12.5px; font-weight: 700; opacity: .55; transition: opacity .15s; text-transform: none; letter-spacing: 0; }
.rx-block.full .rxe-bar { margin: 0 12px 10px; }
.rx-block.ed:hover .rxe-bar, .rx-block.ed:focus-within .rxe-bar { opacity: 1; }
@media (hover: none) { .rxe-bar { opacity: 1; } }
.rxe-grip { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; cursor: grab; background: color-mix(in srgb, currentColor 10%, transparent); }
.rxe-grip:active { cursor: grabbing; }
.rxe-grip svg { width: 16px; height: 16px; }
.rxe-name { padding: 0 4px; white-space: nowrap; }
.rxe-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; flex: 1; min-width: 0; }
.rxe-end { display: flex; gap: 4px; margin-left: auto; }
.rxe-ic { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; }
.rxe-ic:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.rxe-ic svg { width: 16px; height: 16px; }
.rxe-seg { display: inline-flex; padding: 2px; border-radius: 9px; background: color-mix(in srgb, currentColor 8%, transparent); }
.rxe-seg button { padding: 4px 9px; border-radius: 7px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.rxe-seg button.on { background: var(--card, #fff); color: var(--ink, #0A0A0A); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.rxe-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 9px; font-size: 12px; font-weight: 800; background: color-mix(in srgb, currentColor 8%, transparent); cursor: pointer; white-space: nowrap; }
.rxe-btn svg { width: 14px; height: 14px; }
.rxe-btn.danger { color: #FF3B30; }
.rxe-sel { height: 30px; padding: 0 8px; border-radius: 9px; border: 0; font: inherit; font-size: 12px; font-weight: 700; background: color-mix(in srgb, currentColor 8%, transparent); color: inherit; max-width: 220px; }
.rxe-ce { outline: none; border-radius: 6px; min-width: 2ch; cursor: text; transition: box-shadow .15s; }
.rxe-ce:hover { box-shadow: 0 0 0 1.5px color-mix(in srgb, currentColor 30%, transparent); }
.rxe-ce:focus { box-shadow: 0 0 0 2px #0095F6; }
.rxe-ce:empty::before { content: attr(data-ph); opacity: .4; pointer-events: none; }
span.rx-btn.rxe-ce { display: inline-block; }
.rxe-add { position: relative; display: flex; flex-direction: column; align-items: center; margin: 6px var(--g, 16px); }
.rxe-plus { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; font-size: 12.5px; font-weight: 800; opacity: .35; border: 1.5px dashed currentColor; transition: opacity .15s; }
.rxe-plus svg { width: 14px; height: 14px; }
.rxe-add:hover .rxe-plus, .rxe-add.open .rxe-plus { opacity: 1; }
.rxe-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; width: 100%; max-width: 560px; margin-top: 10px; }
.rxe-types button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; border-radius: 14px; background: var(--card, #fff); color: var(--ink, #0A0A0A); font-size: 12.5px; font-weight: 800; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.rxe-types button svg { width: 22px; height: 22px; }
.rxe-empty { margin: 28px var(--g, 16px); padding: 28px 18px; border-radius: 20px; border: 2px dashed color-mix(in srgb, currentColor 22%, transparent); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.rxe-empty b { font-size: 18px; font-weight: 800; }
.rxe-empty > span { font-size: 13.5px; opacity: .65; max-width: 380px; }
.rxe-look { margin: 14px var(--g, 16px) 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.rxe-look-body { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: color-mix(in srgb, currentColor 6%, transparent); font-size: 12.5px; font-weight: 700; }
.rxe-lrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rxe-lrow > span:first-child { min-width: 92px; opacity: .7; }
.rxe-hex { height: 30px; width: 110px; font-size: 13px; }
.rxe-addcard .rx-img { display: flex; align-items: center; justify-content: center; border: 2px dashed color-mix(in srgb, currentColor 25%, transparent); background: transparent !important; }
.rxe-addcard .drop-plus { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, currentColor 10%, transparent); }
.rxe-addcard .drop-plus svg { width: 20px; height: 20px; }
.rx-tabs .rxe-tgrip { display: inline-flex; width: 12px; margin-right: 4px; opacity: .45; cursor: grab; vertical-align: -2px; }
.rx-tabs .rxe-tgrip svg { width: 12px; height: 12px; }
.rx-tab-ed { display: inline-flex; align-items: center; }
.rxe-tabname { border: 0; background: transparent; color: inherit; font: inherit; text-transform: inherit; letter-spacing: inherit; padding: 0; outline: none; border-bottom: 1.5px dashed currentColor; min-width: 4ch; }
.rxe-tabname:focus { border-bottom: 2px solid #0095F6; }
.rxe-newtab { opacity: .55; display: inline-flex; align-items: center; gap: 4px; }
.rxe-newtab svg { width: 13px; height: 13px; }
.rx-tabs [data-sec-tab].drop-before { box-shadow: -3px 0 0 #0095F6; }
.rx-tabs [data-sec-tab].drop-after { box-shadow: 3px 0 0 #0095F6; }
.rxe-desc { display: block; width: 100%; max-width: 520px; margin: 8px auto 0; padding: 6px 10px; border-radius: 8px; border: 1.5px dashed color-mix(in srgb, currentColor 25%, transparent); background: transparent; color: inherit; font: inherit; font-size: 13.5px; text-align: center; outline: none; }
.rxe-desc:focus { border-color: #0095F6; border-style: solid; }
/* Your rewards list: what's actually on your page */
.rw-inuse { display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; font-weight: 700; opacity: .6; }
.rw-inuse.on { color: #1F9D55; opacity: 1; }
.rw-inuse svg { width: 13px; height: 13px; }

/* ---------- Calendar: order dates ---------- */
.cal-bar.ship { background: repeating-linear-gradient(135deg, var(--c) 0 4px, color-mix(in srgb, var(--c) 55%, #fff) 4px 8px); }
.cal-bar.arrive { background-color: color-mix(in srgb, var(--c) 16%, #fff); background-image: radial-gradient(circle, var(--c) 0 1.6px, transparent 1.9px); background-size: 6px 6px; color: var(--c); box-shadow: inset 0 0 0 1.5px var(--c); text-shadow: 0 0 2px #fff, 0 0 2px #fff; }
.cal-bar.arrive.eta { background-image: none; box-shadow: none; outline: 1.5px dashed var(--c); outline-offset: -1.5px; }
.ag-bar.ship { background: repeating-linear-gradient(180deg, var(--c) 0 4px, color-mix(in srgb, var(--c) 45%, #fff) 4px 8px); }
.ag-bar.arrive { background: radial-gradient(circle, var(--c) 0 1.5px, transparent 1.8px) center / 4px 5px, color-mix(in srgb, var(--c) 18%, #fff); box-shadow: inset 0 0 0 1px var(--c); }
.legend .dot.ship { background: repeating-linear-gradient(135deg, #0A0A0A 0 2px, #9A9A9F 2px 4px); }
.legend .dot.arrive { background: radial-gradient(circle, #0A0A0A 0 1.2px, transparent 1.5px) 0 0 / 4px 4px, #E5E5EA; box-shadow: inset 0 0 0 1px #0A0A0A; }

/* ---------- Brand home: getting live ---------- */
.launch { margin: 14px var(--g, 16px) 4px; padding: 16px; border-radius: 22px; background: var(--card, #fff); box-shadow: var(--shadow, 0 1px 3px rgba(0,0,0,.08)); }
.launch.done { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; }
.launch-top { display: flex; align-items: flex-start; gap: 12px; }
.launch-h { display: block; font-size: 17px; font-weight: 800; }
.launch-sub { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--muted, #8E8E93); }
.launch-status { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 99px; font-size: 12.5px; font-weight: 800; flex-shrink: 0; }
.launch-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.launch-status.live { background: #E3F7EA; color: #1F9D55; }
.launch-status.live i { animation: lv-pulse 1.6s ease-in-out infinite; }
.launch-status.frozen { background: #E7F0FB; color: #2B6CB0; }
@keyframes lv-pulse { 50% { opacity: .35; } }
.launch-bar { height: 6px; margin-top: 14px; border-radius: 99px; background: var(--fill, #EFEFF4); overflow: hidden; }
.launch-bar i { display: block; height: 100%; border-radius: 99px; background: #0A0A0A; transition: width .4s ease; }
.launch-count { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--muted, #8E8E93); }
.launch-list { display: flex; flex-direction: column; margin-top: 8px; }
.launch-step { display: flex; align-items: center; gap: 12px; padding: 10px 2px; text-align: left; border-top: 1px solid var(--line, rgba(0,0,0,.06)); }
.launch-step b { display: block; font-size: 14.5px; font-weight: 800; }
.launch-step small { display: block; font-size: 12.5px; color: var(--muted, #8E8E93); }
.ls-check { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 800; box-shadow: inset 0 0 0 2px var(--fill, #E5E5EA); }
.launch-step.ok .ls-check { background: #1F9D55; color: #fff; box-shadow: none; }
.launch-step.ok .ls-check svg { width: 15px; height: 15px; stroke-width: 3; }
.launch-step.ok b { text-decoration: line-through; opacity: .45; }
.launch-step.ok small { opacity: .5; }
.launch-step.key .ls-check { background: #0A0A0A; color: #fff; box-shadow: none; }
.launch-step > svg, .launch-step > .chev, .launch-step > span:last-child:not(.grow) svg { width: 16px; height: 16px; flex-shrink: 0; opacity: .4; }
.launch-step > .grow { flex: 1; min-width: 0; }
