/* CEO Insider View. Black theme, Apple-style materials and motion.
   Motion only animates transform and opacity, so it stays smooth on phones. */
:root {
  --bg: #000;
  --surface: #0f0f11;          /* rows and panels */
  --surface-2: #1c1c1e;        /* raised: sheet, expanded rows */
  --surface-3: #2c2c2e;        /* chips, controls */
  --line: #232326;
  --line-2: #38383a;
  --text: #f5f5f7;
  --text-2: #c7c7cc;
  --muted: #8e8e93;            /* 6.3:1 on black */
  --accent: #ff9f0a;           /* the one colour for things you can tap */
  --accent-soft: rgba(255, 159, 10, .14);
  --green: #30d158;
  --red: #ff453a;
  --blue: #64b5ff;
  --violet: #bf9bff;
  --dem: #64a8ff;
  --rep: #ff7a70;
  --r: 14px;
  --r-sm: 10px;
  --ease: cubic-bezier(.32, .72, 0, 1);  /* Apple's sheet curve */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 100%/1.5 var(--font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; padding-bottom: env(safe-area-inset-bottom); }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }

/* Press feedback happens on pointer-down, instantly */
.press, .chip, .seg__btn, .more, .icon-btn, .btn, .star, .row__head { transition: transform .1s ease-out, background-color .15s; }
.press:active, .chip:active, .more:active, .icon-btn:active, .btn:active, .star:active { transform: scale(.96); }

/* ---------- translucent header: content scrolls underneath ---------- */
.bar { position: sticky; top: 0; z-index: 30; background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
.bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -16px; height: 16px; pointer-events: none; background: linear-gradient(rgba(0,0,0,.55), transparent); }
.bar__row { max-width: 920px; margin: 0 auto; padding: 12px 16px 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { font: 700 1.125rem/1.2 var(--font-display); letter-spacing: -.02em; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 18px; height: 18px; border-radius: 5px; background: conic-gradient(from 200deg, var(--accent), #ffd60a, var(--accent)); }
.live { white-space: nowrap; flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .8125rem; color: var(--text-2); min-height: 32px; }
.live__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.live.is-on .live__dot { background: var(--green); }
.live__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); opacity: 0; }
.live.ping .live__dot::after { animation: ping .9s var(--ease) 1; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }

/* ticker tape: scrolled by app.js so it can also be swiped; pauses on hover, touch and keyboard focus.
   The play/pause button exists only for people with Reduce Motion on (added by app.js). */
.tape-wrap { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tape { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; background: rgba(15, 15, 17, .6); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tape::-webkit-scrollbar { display: none; }
.tape__track { display: flex; width: max-content; }
.tape-wrap.has-btn .tape__track { padding-right: 48px; }
.tape__btn { position: absolute; right: 0; top: 0; bottom: 0; width: 48px; display: grid; place-items: center; border: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0), var(--bg, #000) 30%); color: var(--text-2); padding: 0 0 0 8px; }
.tape__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.tape__btn:hover { color: var(--text); }
.tick { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 16px; font-size: .8125rem; white-space: nowrap; border: 0; background: none; color: var(--text-2); }
.tick b { color: var(--text); font-weight: 700; }
.tick .up { color: var(--green); } .tick .dn { color: var(--red); }
.tick:hover b { color: var(--accent); }

/* segmented control with a sliding thumb */
.seg { position: relative; max-width: 888px; margin: 8px auto 10px; display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border-radius: 11px; padding: 3px; width: calc(100% - 32px); }
.seg__btn { position: relative; z-index: 1; border: 0; background: none; padding: 8px 10px; min-height: 36px; border-radius: 8px; font-size: .9375rem; font-weight: 600; color: var(--muted); }
.seg__btn.is-on { color: var(--text); }
.seg__thumb { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 8px; background: var(--surface-3); box-shadow: 0 1px 4px rgba(0,0,0,.5); transition: transform .35s var(--ease); }
.seg[data-on="congress"] .seg__thumb { transform: translateX(100%); }

/* ---------- views ---------- */
.view { max-width: 920px; margin: 0 auto; padding: 14px 16px 64px; display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.view.enter { animation: viewIn .35s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } }
.lede { color: var(--text-2); font-size: .9375rem; max-width: 64ch; }
.summary { font-size: .9375rem; color: var(--muted); }
.summary b { color: var(--text); font: 700 1.0625rem var(--font-display); letter-spacing: -.01em; }
.summary__note { display: block; margin-top: 4px; font-size: .8125rem; color: var(--text-2); }

.tools { display: flex; gap: 8px; }
.search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; background: var(--surface-2); border-radius: var(--r-sm); padding: 0 12px; min-height: 44px; }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 1rem; padding: 10px 0; }
.search input::placeholder { color: var(--muted); }
.select { background: var(--surface-2); border: 0; border-radius: var(--r-sm); padding: 0 12px; min-height: 44px; font-size: .9375rem; color: var(--text); max-width: 46%; }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -2px -16px 0; padding: 2px 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); border-radius: 999px; padding: 0 14px; min-height: 36px; font-size: .875rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.chip.is-on { background: var(--text); border-color: var(--text); color: #000; }
.chip .n { font-weight: 500; opacity: .7; }
.chip--bell svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- rows ---------- */
.list { display: grid; gap: 8px; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: .8125rem; font-weight: 700; padding: 6px 2px 0; }
.divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,159,10,.5), transparent); }
.divider--old { color: var(--muted); }
.divider--old::after { background: var(--line); }

.row { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.row.is-open { background: var(--surface-2); border-color: var(--line-2); }
.row.fresh::before { content: ""; position: absolute; inset: 0; background: var(--accent-soft); pointer-events: none; animation: fresh 2.6s ease-out forwards; }
@keyframes fresh { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }
.row.is-new .row__time::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 1px; }

.row__head { width: 100%; display: flex; gap: 12px; align-items: center; padding: 12px 16px; background: none; border: 0; text-align: left; min-height: 68px; }
/* flex, not a fixed grid: insider rows have 2 parts, Congress rows 3 (initials, name, bought/sold) */
.row__head > .row__main { flex: 1 1 auto; min-width: 0; }
.row__head > .row__right, .row__head > .cav { flex: none; }
.row__head:active { background: rgba(255,255,255,.03); }
.row__main { min-width: 0; }
.row__l1 { display: flex; align-items: center; gap: 8px; min-width: 0; }
.row__co { font-weight: 700; font-size: 1rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tk { flex: none; font-size: .75rem; font-weight: 700; letter-spacing: .02em; color: var(--text); background: var(--surface-3); border-radius: 6px; padding: 2px 6px; }
.q { flex: none; font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.row__l2 { color: var(--muted); font-size: .8125rem; margin-top: 2px; display: flex; flex-wrap: wrap; gap: 2px 8px; }
.row__right { text-align: right; display: grid; justify-items: end; gap: 2px; }
.row__right .q { font-size: .75rem; }
.q--muted { color: var(--muted); font-weight: 500; }
.star { color: var(--accent); font-size: .8125rem; flex: none; }
.row__amt { font: 700 1.0625rem var(--font-display); letter-spacing: -.02em; white-space: nowrap; }
.row__stake { font-size: .75rem; color: var(--green); font-weight: 600; white-space: nowrap; }
.row__stake.plan { color: var(--muted); }
.star { position: absolute; top: 6px; right: 6px; }

/* expanding body: animates height without JS measuring */
.row__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s var(--ease); }
.row.is-open .row__body { grid-template-rows: 1fr; }
.row__inner { overflow: hidden; min-height: 0; }
.row__pad { padding: 0 14px 16px; display: grid; gap: 14px; opacity: 0; transform: translateY(-4px); transition: opacity .25s ease .05s, transform .38s var(--ease); }
.row.is-open .row__pad { opacity: 1; transform: none; }

.headline { font-size: .9375rem; color: var(--text-2); }
.headline strong { color: var(--text); }
.av { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--av, #3a3a3c); color: #fff; font-size: .6875rem; font-weight: 800; letter-spacing: .02em; margin-right: 8px; vertical-align: -7px; flex: none; }

.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 640px) { .kv { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kv > div { background: var(--surface); padding: 10px 12px; min-width: 0; }
.row.is-open .kv > div { background: #141416; }
.kv dt, .kv .k { font-size: .75rem; color: var(--muted); font-weight: 600; }
.kv dd, .kv .v { margin: 2px 0 0; font: 700 1rem var(--font-display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.kv small { display: block; font: 500 .75rem var(--font); color: var(--muted); letter-spacing: 0; margin-top: 1px; }
dl.kv { margin: 0; }
.pos { color: var(--green); } .neg { color: var(--red); }

.pv { display: grid; gap: 8px; }
.pv__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.pv__price { font: 800 1.5rem/1.1 var(--font-display); letter-spacing: -.03em; }
.pv__chg { font-weight: 700; font-size: .9375rem; }
.pv__sub { flex-basis: 100%; font-size: .75rem; color: var(--muted); }
.pv__plot { position: relative; display: block; width: 100%; height: 150px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: #0b0b0c; cursor: pointer; }
.pv__area { position: absolute; left: 10px; right: 58px; top: 10px; bottom: 26px; display: block; }
.pv__area svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pv__grid { stroke: #232326; stroke-width: 1; vector-effect: non-scaling-stroke; }
.pv__line { fill: none; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pv__line.up { stroke: var(--green); } .pv__line.dn { stroke: var(--red); }
.pv__s0.up { stop-color: rgba(48, 209, 88, .28); } .pv__s1.up { stop-color: rgba(48, 209, 88, 0); }
.pv__s0.dn { stop-color: rgba(255, 69, 58, .24); } .pv__s1.dn { stop-color: rgba(255, 69, 58, 0); }
.pv__paid { stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.pv__y { position: absolute; left: calc(100% + 8px); transform: translateY(-50%); font-size: .6875rem; color: var(--muted); white-space: nowrap; }
.pv__x { position: absolute; top: calc(100% + 6px); transform: translateX(-50%); font-size: .6875rem; color: var(--muted); white-space: nowrap; }
.pv__x--0 { transform: none; } .pv__x--2 { transform: translateX(-100%); }
.pv__mk { position: absolute; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%); border: 2px solid #0b0b0c; }
.pv__mk--this { width: 13px; height: 13px; background: var(--accent); z-index: 1; box-shadow: 0 0 0 4px rgba(255, 159, 10, .25); }
.pv__mk--other { background: var(--blue); }
.pv__legend, .legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .75rem; color: var(--text-2); }
.legend:empty, .pv__legend:empty { display: none; }
.lg { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.lg--this { background: var(--accent); } .lg--other { background: var(--blue); }
.lg--paid { width: 14px; height: 0; border-radius: 0; border-top: 2px dashed var(--accent); vertical-align: 3px; }
.lg__hint { flex-basis: 100%; color: var(--muted); }
.pv__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 760px) { .pv__plot { height: 180px; } }
.btn { border: 0; border-radius: var(--r-sm); padding: 0 16px; min-height: 44px; font-weight: 700; font-size: .9375rem; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn--fill { background: var(--accent); color: #000; }
.btn--soft { background: var(--surface-3); color: var(--text); }

/* nested "Know more" */
.more-d { border-top: 1px solid var(--line-2); }
.more-d > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: 700; color: var(--accent); cursor: pointer; }
.more-d > summary::-webkit-details-marker { display: none; }
.more-d > summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform .3s var(--ease); }
.more-d[open] > summary svg { transform: rotate(180deg); }
.more-d__body { display: grid; gap: 16px; padding-bottom: 4px; animation: viewIn .3s var(--ease); }
.sub-h { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.score-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.score-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.pts { font: 700 .875rem var(--font-display); text-align: right; color: var(--text); padding-top: 1px; }
.pts.zero { color: var(--muted); } .pts.minus { color: var(--red); } .pts.good { color: var(--green); }
.why__t { font-weight: 600; font-size: .9375rem; }
.why__how { font-size: .8125rem; color: var(--text-2); margin-top: 2px; }
.why__src { font-size: .8125rem; margin-top: 2px; color: var(--muted); }
.src { color: var(--accent); text-decoration: none; margin-right: 10px; display: inline-block; padding: 4px 0; }
.src:hover { text-decoration: underline; }
.hist { display: grid; gap: 6px; }
.hist__r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: .875rem; padding: 8px 10px; background: #141416; border-radius: 8px; }
.pill { font-size: .6875rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 6px; padding: 2px 7px; }
.pill--buy { background: rgba(48, 209, 88, .14); color: var(--green); }
.pill--sell { background: rgba(255, 69, 58, .14); color: var(--red); }
.badge { font-size: .6875rem; font-weight: 700; border-radius: 6px; padding: 2px 7px; background: var(--surface-3); color: var(--text-2); white-space: nowrap; }
.badge--sec { background: rgba(48, 209, 88, .12); color: var(--green); }
.badge--plan { background: rgba(191, 155, 255, .14); color: var(--violet); }
.fine { font-size: .8125rem; color: var(--muted); }

.more { justify-self: center; border: 1px solid var(--line-2); background: none; border-radius: 999px; padding: 0 20px; min-height: 44px; font-weight: 600; color: var(--text-2); }
.empty { color: var(--muted); text-align: center; padding: 32px 12px; border: 1px dashed var(--line-2); border-radius: var(--r); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 12px; }
.panel:empty { display: none; }
.panel h2 { font: 700 1.125rem var(--font-display); letter-spacing: -.02em; }
.big { font: 800 2rem/1.1 var(--font-display); letter-spacing: -.03em; }
.bars { display: grid; gap: 8px; }
.bar-r { display: grid; grid-template-columns: 92px minmax(0, 1fr) 64px; gap: 10px; align-items: center; font-size: .8125rem; }
.bar-t { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.bar-t > span { display: block; height: 100%; border-radius: 4px; transform-origin: left; animation: grow .8s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }

.about { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.about > summary { list-style: none; padding: 14px 16px; font-weight: 600; cursor: pointer; min-height: 48px; color: var(--text-2); }
.about > summary::-webkit-details-marker { display: none; }
.about__body { padding: 0 16px 16px; display: grid; gap: 10px; font-size: .9375rem; color: var(--text-2); }
.legal { font-size: .8125rem; color: var(--muted); }

/* Congress */
.cav { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 800; font-size: .8125rem; flex: none; }
.cav--D { background: rgba(100, 168, 255, .16); color: var(--dem); }
.cav--R { background: rgba(255, 122, 112, .16); color: var(--rep); }
.cav--I { background: var(--surface-3); color: var(--text-2); }
.people { display: grid; gap: 6px; }

/* ---------- bottom sheet ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; }
.scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 760px; max-height: 92vh; display: flex; flex-direction: column; background: rgba(28, 28, 30, .92); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%); border-radius: 18px 18px 0 0; border: 1px solid rgba(255,255,255,.08); border-bottom: 0; box-shadow: 0 -20px 60px rgba(0,0,0,.6); transform: translateY(100%); will-change: transform; }
.sheet__grab { touch-action: none; cursor: grab; padding: 8px 16px 8px; }
.sheet__grab:active { cursor: grabbing; }
.sheet__handle { display: block; width: 38px; height: 5px; border-radius: 3px; background: #545458; margin: 0 auto 10px; }
.sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sheet__head h2 { font: 700 1.25rem var(--font-display); letter-spacing: -.02em; }
.sheet__head p { color: var(--muted); font-size: .875rem; margin-top: 2px; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-3); display: grid; place-items: center; flex: none; }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: var(--text-2); stroke-width: 2.4; stroke-linecap: round; }
.sheet__body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 12px; grid-auto-rows: max-content; }  /* rows keep their height and the sheet scrolls; without this a tall sheet squeezed the chart under the legend */
.readout { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-height: 40px; color: var(--muted); font-size: .875rem; }
.readout__p { font: 800 1.875rem var(--font-display); letter-spacing: -.03em; color: var(--text); }
.readout__b { flex-basis: 100%; color: var(--text-2); font-size: .8125rem; line-height: 1.5; }
.readout__b:empty { display: none; }
.chart { background: #0b0b0c; border-radius: var(--r); border: 1px solid var(--line); padding: 4px; min-height: 200px; }
.chart svg { display: block; width: 100%; height: auto; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ranges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ranges .chip { justify-content: center; }
.note { font-size: .8125rem; color: var(--muted); }
.note:empty { display: none; }
.pc-grid { stroke: #1f1f22; } .pc-axis { fill: var(--muted); font: 11px var(--font); }
.pc-line { fill: none; stroke-width: 2.2; stroke-linejoin: round; } .pc-line.up { stroke: var(--green); } .pc-line.dn { stroke: var(--red); }
.pc-s0.up { stop-color: rgba(48, 209, 88, .25); } .pc-s1.up { stop-color: rgba(48, 209, 88, 0); }
.pc-s0.dn { stop-color: rgba(255, 69, 58, .22); } .pc-s1.dn { stop-color: rgba(255, 69, 58, 0); }
.pc-area { fill: url(#pcg); }
.pc-in { opacity: 0; transition: opacity .35s ease .5s; } svg.is-drawn .pc-in { opacity: 1; }
.pc-mk { fill: var(--blue); stroke: #000; stroke-width: 2; }
.pc-sel { fill: var(--accent); stroke: #fff; stroke-width: 2.5; } .pc-halo { fill: rgba(255, 159, 10, .25); }
.pc-tag { fill: var(--accent); } .pc-tagtxt { fill: #000; font: 700 12px var(--font); }
.pc-stem, .pc-paid { stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 4 4; }
.pc-paidtag { fill: var(--accent); } .pc-paidtxt { fill: #000; font: 700 11px var(--font); }
.pc-cur { transition: transform .1s ease-out, opacity .2s; } .pc-cross { stroke: #8e8e93; stroke-dasharray: 3 3; } .pc-dot { fill: var(--text); stroke: #000; stroke-width: 2.5; }

.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 80; transform: translateX(-50%); background: rgba(44, 44, 46, .92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 10px 18px; font-size: .875rem; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: toastIn .4s var(--ease); max-width: calc(100% - 32px); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .bar { background: #000; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .sheet { background: var(--surface-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: #555; --line-2: #777; --muted: #b0b0b5; }
}
@media (min-width: 760px) {
  .lede { font-size: 1rem; }
  .row__head { padding: 14px 18px; }
  .row__pad { padding: 0 18px 18px; }
}
