/* Live profile (reader health, RPS trend, match feed), compact purchase steps. 15.11.2026 */
:root{--live-ok:#7ee08a;--live-warn:#ffd27a;--live-bad:#ff8f86;--live-info:#9fc3ff}
.reader-pool{display:grid;gap:5px;margin:0 2px 14px;padding:12px;border:1px solid #ffffff0d;border-radius:12px;background:#ffffff04;color:var(--soft);font-size:12px;line-height:1.5}
.reader-pool strong{font-size:12px;color:var(--ink,#fff)}
.reader-pool small{font-size:11px;color:var(--muted)}
.reader-pool[data-state=access_denied],.reader-pool[data-state=unavailable]{border-color:#ff8f8640;background:#ff8f8608}
.reader-pool[data-state=access_denied] strong,.reader-pool[data-state=unavailable] strong{color:var(--live-bad)}
.reader-pool[data-state=partial]{border-color:#ffd27a33}

/* Reader cards */
.reader-card{border:1px solid transparent;transition:border-color .3s}
.reader-card[data-health=warn]{border-color:#ffd27a33}
.reader-card[data-health=down]{border-color:#ff8f8640}
.health-pill{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border-radius:999px;background:#ffffff0d;font-size:12px;font-weight:700;color:var(--soft);white-space:nowrap}
.health-pill i{width:7px;height:7px;border-radius:50%;background:var(--live-ok);box-shadow:0 0 0 3px #7ee08a26}
.health-pill[data-health=warn]{color:var(--live-warn)}.health-pill[data-health=warn] i{background:var(--live-warn);box-shadow:0 0 0 3px #ffd27a26}
.health-pill[data-health=down]{color:var(--live-bad)}.health-pill[data-health=down] i{background:var(--live-bad);box-shadow:0 0 0 3px #ff8f8626;animation:noir-pulse 1.6s ease-in-out infinite}
.reader-main{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;gap:16px;margin:0 2px 12px}
.reader-main .reader-rps{margin:0;flex-direction:column;align-items:flex-start;gap:4px}
.reader-trend{min-width:0;display:grid;gap:4px}
.reader-trend small{font-size:11px;color:var(--muted);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reader-spark{display:block;width:100%;height:42px;overflow:visible}
.reader-spark .spark-line{fill:none;stroke:var(--live-ok);stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.reader-spark .spark-area{fill:var(--live-ok);opacity:.12}
.reader-spark[data-level=warn] .spark-line{stroke:var(--live-warn)}.reader-spark[data-level=warn] .spark-area{fill:var(--live-warn)}
.reader-spark[data-level=down] .spark-line{stroke:var(--live-bad)}.reader-spark[data-level=down] .spark-area{fill:var(--live-bad)}
.reader-reasons{margin:-4px 2px 12px!important;font-size:12px!important;line-height:1.45;color:var(--live-warn)!important}
.reader-card[data-health=down] .reader-reasons{color:var(--live-bad)!important}
.reader-card[data-health=down] .reader-rps strong{color:var(--live-bad)}
.reader-metrics-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.reader-metrics strong[data-bad=true]{color:var(--live-bad)}
.reader-metrics strong{font-size:15px;white-space:nowrap}
@media(max-width:420px){.reader-metrics-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rps-total[data-health=warn] i{background:var(--live-warn);box-shadow:0 0 0 3px #ffd27a2b}
.rps-total[data-health=down] i{background:var(--live-bad);box-shadow:0 0 0 3px #ff8f862b}

/* Match feed */
.section-caption-matches{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.section-caption-matches small{font-size:12px;color:var(--muted);font-weight:500}
.match-list{display:grid;gap:8px}
.match-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:13px 15px;border-radius:20px;background:var(--card);box-shadow:inset 0 1px 0 #ffffff0b;animation:live-in .45s var(--ease) both}
.match-main{min-width:0}
.match-main strong{display:block;font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.match-main strong a{color:inherit;text-decoration:none}
.match-main small,.match-side small{display:block;margin-top:2px;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.match-side{text-align:right}
.match-side b{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.match-foot{grid-column:1 / -1;display:flex;align-items:center;gap:8px;min-width:0;margin-top:6px}
.match-badge{flex:none;padding:3px 9px;border-radius:999px;font-size:11px;font-weight:600;background:#ffffff12;color:var(--soft)}
.match-badge[data-tone=ok]{background:#7ee08a1f;color:var(--live-ok)}
.match-badge[data-tone=bad]{background:#ff8f861c;color:var(--live-bad)}
.match-badge[data-tone=warn]{background:#ffd27a1a;color:var(--live-warn)}
.match-badge[data-tone=info]{background:#9fc3ff1a;color:var(--live-info)}
.match-reason{min-width:0;flex:1;font-size:12px;color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.match-foot time{flex:none;margin-left:auto;font-size:11px;color:var(--dim);font-variant-numeric:tabular-nums}
.match-empty{margin:0;padding:16px;border-radius:20px;background:var(--card);font-size:13px;line-height:1.5;color:var(--muted)}
@keyframes live-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* Wallpapers of the «Автопокупка» card. Size follows the card: cover + a focal point per image,
   and on wide screens the card grows taller with its width so less of the picture is cut away. */
.mavro-hero{background-image:var(--hero-image,url(/static/noir-hero.webp));background-position:var(--hero-pos,72% 46%);background-size:cover;background-repeat:no-repeat}
@media(min-width:761px){.mavro-hero{min-height:clamp(200px,17vw,300px)}}
.mavro-hero[data-wallpaper]:not([data-wallpaper=default])::before{background:linear-gradient(90deg,#000000c2 0%,#00000073 40%,#0000001a 75%,#0000 100%),linear-gradient(0deg,#000000b3,#0000 60%)}
.hero-tools{display:flex;align-items:center;gap:8px;min-width:0}
.hero-wallpaper{flex:none;display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;border-radius:50%;background:#00000066;border:1px solid #ffffff1f;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:#fff;transition:transform .22s var(--ease),background-color .2s}
.hero-wallpaper:hover{background:#00000099}.hero-wallpaper:active{transform:scale(.88)}
.wallpaper-hint{margin:6px 0 14px!important;font-size:13px!important;color:var(--muted)}
.wallpaper-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-bottom:6px}
@media(min-width:620px){.wallpaper-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.wallpaper-option{position:relative;display:block;aspect-ratio:16/10;min-height:0;padding:0;border:0;border-radius:18px;overflow:hidden;background:#1a1d23;cursor:pointer;box-shadow:inset 0 0 0 1px #ffffff14;transition:box-shadow .2s,transform .22s var(--ease)}
.wallpaper-option img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s var(--ease)}
.wallpaper-option:hover img{transform:scale(1.04)}
.wallpaper-option:active{transform:scale(.97)}
.wallpaper-option span{position:absolute;left:0;right:0;bottom:0;padding:22px 12px 9px;text-align:left;font-size:13px;font-weight:700;color:#fff;background:linear-gradient(0deg,#000000b8,#0000)}
.wallpaper-option[aria-checked=true]{box-shadow:0 0 0 2px #fff}
.wallpaper-option[aria-checked=true]::after{content:"";position:absolute;top:8px;right:8px;width:22px;height:22px;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat}

/* Purchase card: reason under the title, one-line timing */
.purchase-reason{margin:4px 0 2px;font-size:13px;font-weight:600;line-height:1.35;color:var(--live-bad);overflow-wrap:anywhere}
.purchase-steps{display:flex;flex-wrap:wrap;align-items:center;gap:6px 0;list-style:none;margin:0 22px;padding:14px 0 16px;border-top:1px solid #ffffff0f}
.purchase-steps li{display:inline-flex;align-items:baseline;gap:5px;font-size:12px;color:var(--muted);white-space:nowrap}
.purchase-steps li b{font-weight:700;color:#e6e6eb;font-variant-numeric:tabular-nums}
.purchase-steps li[data-complete=false] b{color:var(--dim);font-weight:500}
.purchase-steps li+li:not(.steps-caption)::before{content:"→";margin:0 8px;color:var(--dim)}
.purchase-steps li.steps-caption{margin-right:10px;padding:2px 8px;border-radius:999px;background:#ffffff0b;font-size:11px}
.purchase-steps li.steps-caption+li::before{content:none}
@media(max-width:760px){.purchase-steps{margin:0 16px;padding:12px 0 14px}.purchase-steps li+li:not(.steps-caption)::before{margin:0 6px}}


/* ---------- Accent tone from the wallpaper (set on :root by applyAccent; absent for «Стандартные») ---------- */
:root[data-accent]{--ok:var(--accent);--live-ok:var(--accent)}
:root[data-accent] button.primary,:root[data-accent] button.primary:hover:not(:disabled),:root[data-accent] .page-heading>.actions button.primary,
:root[data-accent] .tile-button.primary,:root[data-accent] .quantity-infinity[aria-pressed=true],
:root[data-accent] .analytics-tabs button[aria-pressed=true],:root[data-accent] .editor-analytics-buttons button[aria-pressed=true]{background:var(--accent);color:#101216;border-color:transparent}
:root[data-accent] button.primary:active:not(:disabled){background:rgb(var(--accent-rgb) / .8)}
:root[data-accent] .switch[aria-checked=true]:before{background:var(--accent)}
:root[data-accent] .card-progress>i{background:linear-gradient(90deg,rgb(var(--accent-rgb) / .75),var(--accent))}
:root[data-accent] .nav-indicator,:root[data-accent] .nav-button[data-view=profile][aria-current=page]{background:rgb(var(--accent-rgb) / .2)!important;box-shadow:inset 0 0 0 1px rgb(var(--accent-rgb) / .28)}
:root[data-accent] .nav-button[aria-current=page]{color:var(--accent)}
:root[data-accent] .history-tabs button[aria-pressed=true],:root[data-accent] .view-subscriptions .subscription-layout button[aria-pressed=true],
:root[data-accent] .analytics-filters button[aria-pressed=true]{background:rgb(var(--accent-rgb) / .2);color:var(--accent)}
:root[data-accent] .mavro-hero:not(.running) .hero-control{background:var(--accent);border-color:var(--accent);color:#101216}
:root[data-accent] .mavro-hero{box-shadow:inset 0 0 0 1px #ffffff14,inset 0 1px 0 #ffffff26,0 24px 60px -24px rgb(var(--accent-rgb) / .45)}
:root[data-accent] .wallpaper-option[aria-checked=true]{box-shadow:0 0 0 2px var(--accent)}
:root[data-accent] .wallpaper-option[aria-checked=true]::after{background-color:var(--accent)}
:root[data-accent] .rps-total i,:root[data-accent] .health-pill[data-health=ok] i{box-shadow:0 0 0 3px rgb(var(--accent-rgb) / .2)}
:root[data-accent] .health-pill[data-health=ok]{color:var(--accent)}
:root[data-accent] .match-badge[data-tone=ok]{background:rgb(var(--accent-rgb) / .14)}
:root[data-accent] button:focus-visible,:root[data-accent] a:focus-visible,:root[data-accent] input:focus-visible,:root[data-accent] select:focus-visible{outline-color:var(--accent)}
:root[data-accent] .purchase-steps li.steps-caption{background:rgb(var(--accent-rgb) / .12);color:var(--accent)}
button.primary,.switch:before,.card-progress>i,.nav-indicator,.nav-button,.history-tabs button,.hero-control{transition:background-color .35s,color .35s,box-shadow .35s}

/* ---------- Purchase celebration ---------- */
.celebrate{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:16px;background:#000000a6;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);animation:celebrate-fade .3s ease both}
.celebrate.is-leaving{animation:celebrate-out .26s ease both}
.celebrate-confetti{position:fixed;inset:0;width:100%;height:100%;pointer-events:none}
.celebrate-card{position:relative;isolation:isolate;overflow:hidden;width:min(340px,100%);padding:28px 22px 20px;border-radius:32px;background:#161618;text-align:center;box-shadow:0 30px 90px #000c,inset 0 0 0 1px #ffffff17,inset 0 1px 0 #ffffff24;animation:celebrate-pop .62s cubic-bezier(.2,1.4,.4,1) both}
.celebrate.is-leaving .celebrate-card{animation:celebrate-sink .26s ease both}
.celebrate-glow{position:absolute;z-index:-1;top:-90px;left:50%;width:360px;height:360px;margin-left:-180px;border-radius:50%;background:conic-gradient(from 0deg,rgb(var(--accent-rgb,255 255 255) / .0),rgb(var(--accent-rgb,255 255 255) / .38),rgb(var(--accent-rgb,255 255 255) / .0) 40%,rgb(var(--accent-rgb,255 255 255) / .28) 70%,rgb(var(--accent-rgb,255 255 255) / .0));filter:blur(28px);animation:celebrate-spin 6s linear infinite}
.celebrate-art{width:156px!important;height:156px!important;margin:0 auto 18px;border-radius:38px!important;box-shadow:0 22px 50px -14px var(--art-color,#ffffff40),inset 0 0 0 1px #ffffff1c;animation:celebrate-art .9s cubic-bezier(.2,1.3,.4,1) .08s both}
.celebrate-kicker{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;background:#ffffff0f;font-size:12px;font-weight:700;color:var(--soft)}
.celebrate-card h2{margin:12px 0 4px;font-size:24px;line-height:1.15;font-weight:600;letter-spacing:-.03em}
.celebrate-attrs{margin:0 0 14px;font-size:13px;color:var(--muted)}
.celebrate-price{display:flex;align-items:baseline;justify-content:center;gap:6px;margin-top:4px}
.celebrate-price strong{font-size:38px;line-height:1;font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.celebrate-price span{font-size:15px;font-weight:700;color:var(--soft)}
.celebrate-speed{margin:8px 0 0;font-size:13px;font-weight:700;color:var(--accent,#7ee08a)}
.celebrate-close{width:100%;margin-top:20px;min-height:48px;border-radius:16px;font-weight:600}
@keyframes celebrate-fade{from{opacity:0}}
@keyframes celebrate-out{to{opacity:0}}
@keyframes celebrate-pop{from{opacity:0;transform:translateY(30px) scale(.86)}}
@keyframes celebrate-sink{to{opacity:0;transform:translateY(16px) scale(.95)}}
@keyframes celebrate-art{from{opacity:0;transform:scale(.5) rotate(-8deg)}}
@keyframes celebrate-spin{to{transform:rotate(360deg)}}

/* ---------- 15.11 evening: no glow under the hero; accent on every selected/checked control; wordmark ---------- */
.mavro-hero,:root[data-accent] .mavro-hero{box-shadow:inset 0 0 0 1px #ffffff14,inset 0 1px 0 #ffffff1f}
/* selected / pressed / checked states */
:root[data-accent] button[aria-pressed=true]:not(.nav-button){background:rgb(var(--accent-rgb) / .18);color:var(--accent);border-color:transparent}
:root[data-accent] .choice-sort button[aria-pressed=true],:root[data-accent] .analytics-sorts button[aria-pressed=true],:root[data-accent] .analytics-markets button[aria-pressed=true]{background:rgb(var(--accent-rgb) / .18);color:var(--accent)}
:root[data-accent] .choice-option[aria-selected=true],:root[data-accent] .choice-option[aria-selected=true]:hover{background:rgb(var(--accent-rgb) / .12)}
:root[data-accent] .choice-option[aria-selected=true] .choice-check{border-color:var(--accent);background:var(--accent)}
:root[data-accent] .choice-option[aria-selected=true] .choice-check:after{background:#111}
:root[data-accent] .choice-multiple .choice-option[aria-selected=true] .choice-check:after{background:transparent;border-color:#111}
:root[data-accent] .choice-trigger[aria-expanded=true]{border-color:rgb(var(--accent-rgb) / .55)!important}
:root[data-accent] .choice-trigger[aria-expanded=true]>.icon{color:var(--accent);opacity:1}
:root[data-accent] .check-label input[type=checkbox]:checked{background:var(--accent);border-color:var(--accent)}
:root[data-accent] input,:root[data-accent] select,:root[data-accent] textarea{accent-color:var(--accent);caret-color:var(--accent)}
:root[data-accent] input:focus,:root[data-accent] select:focus,:root[data-accent] textarea:focus{border-color:rgb(var(--accent-rgb) / .55)}
:root[data-accent] .loading:before{border-top-color:var(--accent)}
:root[data-accent] .choice-option[aria-selected=true] .choice-label,:root[data-accent] .choice-option[aria-selected=true]>span:not(.choice-check){color:#fff}
/* Wordmark instead of the picture + bold caption */
.mobile-brand{gap:0!important}
.mobile-brand img,.boot-logo{display:none!important}
.mobile-brand b,.boot-screen>strong{font-size:15px;font-weight:700;letter-spacing:.3em;color:#fff;font-feature-settings:"ss01"}
.mobile-brand b::after,.boot-screen>strong::after{content:"";display:inline-block;width:5px;height:5px;margin-left:-.14em;border-radius:50%;background:var(--accent,#fff);vertical-align:.18em;transition:background-color .35s}
.boot-screen>strong{font-size:22px}
/* Online dots and "ok" badges: their glow/pulse was hard-coded green (#7ee08a) */
:root[data-accent] .mavro-hero.running .hero-state i,:root[data-accent] .profile-pill.running i,:root[data-accent] .rps-total i{box-shadow:0 0 0 3px rgb(var(--accent-rgb) / .17);animation-name:accent-pulse}
:root[data-accent] .rps-total[data-health=warn] i,:root[data-accent] .rps-total[data-health=down] i{animation-name:none}
:root[data-accent] .buyer-connection[data-connected=true] i,:root[data-accent] .health-pill[data-health=ok] i{box-shadow:0 0 0 3px rgb(var(--accent-rgb) / .15)}
:root[data-accent] .status[data-valid=true],:root[data-accent] .purchase-badges [data-stage=purchased]{background:rgb(var(--accent-rgb) / .12);color:var(--accent)}
@keyframes accent-pulse{0%,100%{box-shadow:0 0 0 3px rgb(var(--accent-rgb) / .17)}50%{box-shadow:0 0 0 6px rgb(var(--accent-rgb) / 0)}}
/* ---------- 25.11 personal banners (sk1ch, Никита, Неко, Алиночка): themes ---------- */
:root[data-accent=sk1ch]{--glow-rgb:70 120 255;--snow-rgb:225,236,255}
:root[data-accent=nikita]{--glow-rgb:20 170 200;--snow-rgb:205,246,255}
:root[data-accent=neko]{--glow-rgb:215 150 90;--snow-rgb:255,238,218}
:root[data-accent=alinochka]{--glow-rgb:230 170 70;--snow-rgb:255,212,135;--gold-1:#fff0c4;--gold-2:#f2c878;--gold-3:#c9902f}
:root:is([data-accent=sk1ch],[data-accent=nikita],[data-accent=neko],[data-accent=alinochka]) body{background:radial-gradient(130% 60% at 50% -12%,rgb(var(--glow-rgb) / .26) 0%,rgb(var(--glow-rgb) / .07) 32%,#000 68%) fixed,#000}
.mavro-hero[data-wallpaper=sk1ch]::before{background:linear-gradient(90deg,#030a1ccc 0%,#030a1c73 40%,#030a1c14 75%,#0000 100%),linear-gradient(0deg,#030a1ca6,#0000 60%)}
.mavro-hero[data-wallpaper=nikita]::before{background:linear-gradient(90deg,#00161cc9 0%,#00161c70 40%,#00161c14 75%,#0000 100%),linear-gradient(0deg,#00161ca6,#0000 60%)}
.mavro-hero[data-wallpaper=neko]::before{background:linear-gradient(90deg,#1a0e05d1 0%,#1a0e0578 40%,#1a0e051a 75%,#0000 100%),linear-gradient(0deg,#1a0e05ad,#0000 60%)}
/* Алиночка: Paris at night - black and champagne gold */
.mavro-hero[data-wallpaper=alinochka]::before{background:linear-gradient(90deg,#0a0602db 0%,#0a060285 40%,#0a06021f 75%,#0000 100%),linear-gradient(0deg,#140c02b8,#0000 62%)}
:root[data-accent=alinochka] .mavro-hero{box-shadow:inset 0 0 0 1px rgb(242 200 120 / .38),inset 0 1px 0 rgb(255 236 190 / .45)}
:root[data-accent=alinochka] .mavro-hero .hero-title,:root[data-accent=alinochka] .mavro-hero .hero-value strong{background:linear-gradient(100deg,var(--gold-1) 0%,var(--gold-2) 55%,var(--gold-3) 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
:root[data-accent=alinochka] button.primary,:root[data-accent=alinochka] button.primary:hover:not(:disabled),:root[data-accent=alinochka] .page-heading>.actions button.primary,
:root[data-accent=alinochka] .tile-button.primary,:root[data-accent=alinochka] .mavro-hero:not(.running) .hero-control{background:linear-gradient(135deg,var(--gold-1) 0%,var(--gold-2) 48%,var(--gold-3) 100%);color:#1a1205;border-color:transparent;box-shadow:inset 0 1px 0 #fff8e080}
:root[data-accent=alinochka] button.primary:active:not(:disabled){filter:brightness(.9)}
:root[data-accent=alinochka] .switch[aria-checked=true]:before{background:linear-gradient(135deg,var(--gold-1),var(--gold-2) 55%,var(--gold-3))}
:root[data-accent=alinochka] .card-progress>i{background:linear-gradient(90deg,var(--gold-3),var(--gold-2),var(--gold-1))}
:root[data-accent=alinochka] .page-heading h1{background:linear-gradient(180deg,#fff 20%,var(--gold-2));-webkit-background-clip:text;background-clip:text;color:transparent}

/* ---------- «Париж»: blue-hour sky, pink sunset line, amber tower lights ---------- */
:root[data-accent=paris]{--glow-rgb:72 70 160;--snow-rgb:255,196,132;--dusk-1:#ffd29a;--dusk-2:#f4a964;--dusk-3:#e8879c}
:root[data-accent=paris] body{background:radial-gradient(130% 60% at 50% -12%,rgb(80 70 170 / .30) 0%,rgb(232 135 156 / .07) 30%,#000 66%) fixed,#000}
.mavro-hero[data-wallpaper=paris]::before{background:linear-gradient(90deg,#070a1fd6 0%,#070a1f80 38%,#070a1f14 72%,#0000 100%),linear-gradient(0deg,#0a0716b3,#0000 60%)}
:root[data-accent=paris] .mavro-hero{box-shadow:inset 0 0 0 1px rgb(244 169 100 / .30),inset 0 1px 0 rgb(255 210 154 / .35)}
:root[data-accent=paris] .mavro-hero .hero-value strong{background:linear-gradient(100deg,#fff 0%,var(--dusk-1) 45%,var(--dusk-2) 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
:root[data-accent=paris] button.primary,:root[data-accent=paris] button.primary:hover:not(:disabled),:root[data-accent=paris] .page-heading>.actions button.primary,
:root[data-accent=paris] .tile-button.primary,:root[data-accent=paris] .mavro-hero:not(.running) .hero-control{background:linear-gradient(135deg,var(--dusk-1) 0%,var(--dusk-2) 52%,var(--dusk-3) 100%);color:#1c0f08;border-color:transparent}
:root[data-accent=paris] button.primary:active:not(:disabled){filter:brightness(.9)}
:root[data-accent=paris] .card-progress>i{background:linear-gradient(90deg,var(--dusk-3),var(--dusk-2),var(--dusk-1))}

/* 28.11 topbar fade: the scrolled header was a hard 70 % black strip with a hairline (noir .topbar.is-scrolled).
   Now the bar stays transparent; a blurred gradient under it dissolves downwards — no edge, no line. */
.topbar.is-scrolled{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}
.topbar::before{content:"";position:absolute;left:0;right:0;top:0;bottom:-30px;z-index:-1;pointer-events:none;opacity:0;transition:opacity .25s;
  background:linear-gradient(180deg,rgba(0,0,0,.9) 0%,rgba(0,0,0,.66) 48%,rgba(0,0,0,0) 100%);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  -webkit-mask-image:linear-gradient(180deg,#000 50%,transparent 100%);mask-image:linear-gradient(180deg,#000 50%,transparent 100%)}
.topbar.is-scrolled::before{opacity:1}
/* 28.11 dock compacts on scroll (StriverAI-like): #navigation scales from its bottom centre, so the bottom edge stays
   put and nothing reflows; noir.js sets .sidebar.is-compact while scrolling down, removes it on any scroll up / at top */
#navigation{transform-origin:50% 100%;transition:transform .45s cubic-bezier(.22,1,.36,1)}
.sidebar.is-compact #navigation{transform:scale(.85)}
/* Bundle contents use the same model artwork and backdrop colours as purchased gifts. */
.purchase-bundle-label{margin:4px 0 6px;font-size:12px;font-weight:500;line-height:1.4;color:var(--muted,#aab1bd);overflow-wrap:anywhere}
.purchase-bundle{margin:0 16px 16px;padding:14px 0 0;border-top:1px solid #ffffff0d}
.purchase-bundle>summary{display:flex;align-items:center;gap:8px;min-height:30px;list-style:none;cursor:pointer;user-select:none;font-size:13px;font-weight:600}
.purchase-bundle>summary::-webkit-details-marker{display:none}
.bundle-summary-title{display:flex;align-items:center;gap:8px;min-width:0}
.bundle-summary-title>.icon{opacity:.6}
.bundle-gift-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:7px;background:#ffffff0a;color:var(--muted,#aab1bd);font-size:11px;font-variant-numeric:tabular-nums}
.bundle-chevron{display:inline-flex;margin-left:auto;color:var(--muted,#aab1bd);transition:transform .18s ease}
.purchase-bundle[open]>summary .bundle-chevron{transform:rotate(90deg)}
.bundle-gift-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-width:680px;list-style:none;margin:12px 0 0;padding:0}
.bundle-gift-card{min-width:0;margin:0;padding:0;overflow:hidden;border:1px solid #ffffff0a;border-radius:15px;background:#ffffff04}
.bundle-gift-link{display:flex;flex-direction:column;min-width:0;height:100%;padding:5px;color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
a.bundle-gift-link:hover{background:#ffffff05}
a.bundle-gift-link:focus-visible{outline:2px solid #ffffff80;outline-offset:-2px;border-radius:14px}
.bundle-gift-art.purchase-art{position:relative;width:100%;height:auto;aspect-ratio:1;min-height:0;border-radius:11px;box-shadow:inset 0 0 0 1px #ffffff09}
.bundle-gift-info{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;padding:8px 4px 6px}
.bundle-gift-name,.bundle-gift-model{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bundle-gift-name{font-size:12px;font-weight:650;line-height:1.35}
.bundle-gift-number{font-size:10px;font-variant-numeric:tabular-nums;color:var(--muted,#aab1bd);line-height:1.2}
.bundle-gift-model{margin-top:3px;font-size:11px;line-height:1.35;color:#dedee3}
.bundle-gift-traits{display:flex;flex-wrap:wrap;gap:4px;max-width:100%;margin-top:3px}
.bundle-gift-traits>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 5px;border-radius:5px;background:#ffffff07;color:var(--muted,#aab1bd);font-size:9px;line-height:1.25}
@media(min-width:700px){.purchase-bundle{margin:0 20px 20px;padding-top:16px}.bundle-gift-grid{gap:12px}.bundle-gift-link{padding:7px}.bundle-gift-info{padding:10px 7px 8px}.bundle-gift-name{font-size:14px}.bundle-gift-number{font-size:12px}.bundle-gift-model{font-size:13px}.bundle-gift-traits>span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.bundle-chevron{transition:none}}
.purchase-identity .purchase-transfer{display:inline-flex;align-self:start;align-items:center;width:fit-content;max-width:100%;margin-top:7px;padding:5px 9px;border-radius:10px;background:#ffffff08;color:var(--soft,#c7cdd7);font-size:11px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
.purchase-transfer[data-transfer-state=delivered],.purchase-transfer[data-transfer-state=transferred]{background:#7ee08a14;color:var(--live-ok,#7ee08a)}
.purchase-transfer[data-transfer-state=uncertain],.purchase-transfer[data-transfer-state=blocked],.purchase-transfer[data-transfer-state=needs_session],.purchase-transfer[data-transfer-state=needs_2fa],.purchase-transfer[data-transfer-state=waiting_balance],.purchase-transfer[data-transfer-state=fee_limit]{background:#ffd27a14;color:var(--live-warn,#ffd27a)}
.delete-selected-rules{display:inline-flex;align-items:center;gap:7px;color:var(--live-bad,#ff8f86)}
.delete-selected-rules:disabled{opacity:.4}
.subscription .card-delete{position:relative;right:auto;bottom:auto;z-index:4;display:grid;place-items:center;flex:none;box-sizing:border-box;width:36px;height:36px;min-width:36px;min-height:36px;padding:0;border:1px solid #ff8f861a;border-radius:10px;background:#ff8f860d;color:var(--live-bad,#ff8f86);line-height:0;cursor:pointer}
.subscription .card-delete>.icon{display:block;flex:none;width:18px;height:18px;margin:0;pointer-events:none}
.subscription .card-delete:hover,.subscription .card-delete:focus-visible{color:var(--live-bad,#ff8f86);background:#ff8f861a}
.subscription .card-delete:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.subscriptions-grid[data-layout=cards] .card-price-check{max-width:calc(100% - 42px)}
.subscriptions-grid[data-layout=cards] .card-delete{grid-column:2;grid-row:5;justify-self:end;align-self:center;margin-top:8px}
.subscriptions-grid[data-layout=cards] .subscription .card-foot .markets{grid-column:1;grid-row:5;align-self:center;min-width:0;margin-top:8px;padding-right:0}
.subscriptions-grid[data-layout=compact] .subscription{position:relative}
.subscriptions-grid[data-layout=compact] .card-edit{position:absolute;inset:0;width:auto;opacity:0;z-index:1}
.subscriptions-grid[data-layout=compact] .switch{position:relative;z-index:3}
.subscriptions-grid[data-layout=compact] .card-delete{position:relative;right:auto;bottom:auto;grid-column:3;grid-row:3;justify-self:end}
@media(min-width:1100px){.subscriptions-grid[data-layout=compact] .card-delete{grid-column:7;grid-row:1}}
.choice-popover.choice-backdrops .choice-options{grid-template-columns:repeat(4,minmax(0,1fr))}
.choice-backdrops .choice-option-label{min-width:0;max-width:100%;overflow-wrap:anywhere}
.choice-art-symbol img,.visual-symbol img{filter:brightness(0) invert(1)}
.choice-art-symbol,.visual-symbol{color:#fff}
button[data-kind=prices]>.icon,button[data-kind=sales]>.icon{color:#fff!important}
.purchase-card .purchase-identity .purchase-transfer{display:inline-flex;margin-top:8px;padding:3px 9px;border-radius:999px;font-size:12px;line-height:1.5;vertical-align:baseline}
.purchase-card .purchase-identity .purchase-transfer[data-transfer-state=delivered],.purchase-card .purchase-identity .purchase-transfer[data-transfer-state=transferred]{background:#ffd27a1c;color:#ffd27a}
.buyer-market-name>.icon{color:#fff}
@media(max-width:700px){.purchase-card .purchase-identity .purchase-transfer{margin-top:6px;font-size:11px}}
.reader-pool .pool-switch{justify-self:start;margin-top:6px;padding:8px 14px;border-radius:10px;border:1px solid #ffffff1f;background:#ffffff0d;color:var(--ink,#fff);font:600 12px/1.2 inherit;cursor:pointer}
.reader-pool .pool-switch:disabled{opacity:.55;cursor:default}
.reader-pool .pool-manual-note[data-ok=false]{color:var(--live-bad,#ff8f86)}
