/* OMP deep-dive style page. Same palette as the videos (assets/style.css :root): deep purple, lime for the key item,
   lavender for the second voice, pink for bad news. Generated into the site by scripts/style_page.py. */
@font-face { font-family: "Anton"; src: url("fonts/Anton-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --deep: #0b0320; --deep2: #1a0748; --purple: #4a1aa3; --violet: #8f5cff; --lav: #cbb6ff;
  --lime: #C6F43E; --pink: #FF4D6D;
  --text: #f5f1ff; --muted: #bcb0de; --soft: #ddd4f6;
  --line: rgba(203, 182, 255, .14); --line2: rgba(203, 182, 255, .28);
  --card: #150a37; --r: 10px; --wrap: 1360px; --pad: clamp(16px, 4vw, 40px);
  --sans: "Inter", "PingFang TC", "Noto Sans TC", "Noto Sans CJK TC", "Microsoft JhengHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --picks-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; scroll-padding-bottom: calc(var(--picks-h) + 20px); }
body {
  margin: 0; background: var(--deep); color: var(--text); font: 400 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  padding-bottom: calc(var(--picks-h) + env(safe-area-inset-bottom));
}
button, input { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: var(--lav); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--deep); padding: 10px 14px;
  border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.noscript { max-width: 640px; margin: 40px auto; padding: 0 20px; color: var(--muted); }
svg { flex: none; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 520px at 88% -8%, rgba(143, 92, 255, .32), transparent 66%),
              radial-gradient(760px 520px at -6% 112%, rgba(74, 26, 163, .5), transparent 70%), var(--deep); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(203, 182, 255, .055) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(203, 182, 255, .055) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 92%); mask-image: linear-gradient(180deg, #000 10%, transparent 92%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>"); }
.hero-in { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(26px, 5vw, 60px) var(--pad) clamp(26px, 4vw, 48px); display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 1000px) { .hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }
body.no-reel .hero-in { grid-template-columns: minmax(0, 1fr); }

.tag { display: inline-flex; align-items: stretch; font: 700 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tag b { background: var(--lime); color: var(--deep); font: 400 15px/1 var(--display); letter-spacing: .05em; padding: 6px 9px 5px; }
.tag span { display: flex; align-items: center; background: rgba(26, 7, 72, .8); border: 1px solid rgba(143, 92, 255, .6);
  border-left: 0; padding: 5px 11px; color: var(--lav); }

h1 { margin: 30px 0 0; font: 400 clamp(56px, 7.3vw, 104px)/.95 var(--display); text-transform: uppercase; letter-spacing: .005em; white-space: nowrap; }
.circled { position: relative; display: inline-block; }
.circled svg { position: absolute; left: -9%; top: -17%; width: 118%; height: 134%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--lime); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s .35s cubic-bezier(.65, .05, .3, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.zh-title { margin: 16px 0 0; font: 700 clamp(20px, 2.3vw, 26px)/1.2 var(--sans); letter-spacing: .32em; color: var(--lav); }
.lede { margin: 18px 0 0; max-width: 34em; font-size: clamp(15px, 1.35vw, 17px); line-height: 1.6; color: var(--soft); }
.lede.zh { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 2px; }
.steps li { display: grid; grid-template-columns: 50px minmax(0, 1fr); column-gap: 8px; padding: 10px 0;
  border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .n { grid-row: 1 / span 3; font: 400 28px/1 var(--display); color: var(--lime); padding-top: 3px; }
.steps b { font-size: 16px; font-weight: 700; line-height: 1.3; }
.steps span { font-size: 14px; color: var(--soft); line-height: 1.45; }
.steps .zh { font-size: 13px; color: var(--muted); margin-top: 1px; }
@media (min-width: 640px) and (max-width: 999px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .steps li, .steps li:last-child { grid-template-columns: minmax(0, 1fr); border-bottom: 0; border-top: 2px solid var(--line2); }
  .steps .n { grid-row: auto; margin-bottom: 6px; }
}

/* reel */
.reel { min-width: 0; }
.reel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.reel-k { font: 400 16px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.reel-sub { font-size: 13px; color: var(--muted); }
.reel-sub a { color: var(--lav); text-decoration: none; border-bottom: 1px solid rgba(203, 182, 255, .4); }
.reel-sub a:hover { color: var(--text); border-color: var(--text); }
.player { position: relative; aspect-ratio: 16 / 9; background: #06020f; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.player::after { content: ""; position: absolute; inset: -9px; pointer-events: none; --c: var(--lime);
  background:
    linear-gradient(var(--c), var(--c)) left top / 22px 2px no-repeat, linear-gradient(var(--c), var(--c)) left top / 2px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 22px 2px no-repeat, linear-gradient(var(--c), var(--c)) right top / 2px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 22px 2px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 2px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 22px 2px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 2px 22px no-repeat; }
.player > iframe, .player > #yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.ph-play { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--lime); position: relative; }
.ph-play::after { content: ""; position: absolute; left: 25px; top: 19px; border-left: 20px solid var(--lime); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.now { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 16px; padding: 7px 8px 7px 14px;
  background: rgba(26, 7, 72, .55); border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }
.now-k { flex: none; font: 700 10.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.now-code { flex: none; font: 400 16px/1 var(--display); letter-spacing: .03em; background: var(--lime); color: var(--deep); padding: 5px 7px 4px; border-radius: 4px; }
.now-code.sec { background: transparent; color: var(--lime); border: 1px solid rgba(198, 244, 62, .6); }
.now-name { flex: 1 1 auto; min-width: 0; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.now-name b { color: var(--lime); font-weight: 600; }
.now-btn { flex: none; height: 34px; padding: 0 12px; border-radius: 7px; border: 1px solid var(--lime); background: var(--lime);
  color: var(--deep); font-weight: 700; font-size: 13px; cursor: pointer; }
.now-btn.on { background: rgba(198, 244, 62, .14); color: var(--lime); }
.now-btn.ghost { background: transparent; color: var(--text); border-color: var(--line2); font-weight: 600; }
.now-btn.ghost:hover { border-color: var(--lav); }

/* ------------------------------------------------------------------ filter bar */
.bar { position: sticky; top: 0; z-index: 40; background: rgba(11, 3, 32, .9); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.bar-row { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--pad); display: flex; align-items: center; gap: 12px; }
.bar-row.fams { padding-top: 0; }
.chips { flex: 1 1 auto; min-width: 0; display: flex; gap: 8px; overflow-x: auto; padding: 3px; margin: -3px;
  scrollbar-width: none; overscroll-behavior-x: contain; }
@media (max-width: 1099px) { .chips { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); padding-right: 24px; } }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 8px;
  border: 1px solid var(--line2); background: rgba(255, 255, 255, .02); color: var(--text); font-size: 13.5px; font-weight: 600;
  white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--lav); }
.chip small { font-size: 12px; font-weight: 500; color: var(--muted); }
.chip i { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--muted); background: rgba(203, 182, 255, .12);
  padding: 2px 6px; border-radius: 5px; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--deep); }
.chip[aria-pressed="true"] small, .chip[aria-pressed="true"] i { color: var(--deep); }
.chip[aria-pressed="true"] i { background: rgba(11, 3, 32, .14); }
.fams .chip { height: 32px; font-size: 13px; font-weight: 500; }
.fams .chip[aria-pressed="true"] { background: var(--lav); border-color: var(--lav); }
.shown { flex: none; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.search { flex: 0 0 280px; position: relative; display: block; }
.search svg { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; margin-top: -8px; fill: none;
  stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round; }
.search input { width: 100%; height: 36px; padding: 0 12px 0 34px; border-radius: 8px; border: 1px solid var(--line2);
  background: rgba(255, 255, 255, .05); color: var(--text); font-size: 14px; -webkit-appearance: none; appearance: none; }
.search input::placeholder { color: #9d90c4; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; cursor: pointer;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cbb6ff' stroke-width='2.6' stroke-linecap='round'><path d='M6 6l12 12M18 6L6 18'/></svg>") center / 14px no-repeat; }
.search input:focus { border-color: var(--lime); outline: none; box-shadow: 0 0 0 2px rgba(198, 244, 62, .25); }
@media (max-width: 999px) { .chip small { display: none; } }
@media (max-width: 699px) {
  .bar-row { gap: 8px; padding-top: 8px; padding-bottom: 8px; }
  .bar-row.fams { padding-top: 0; }
  .search { flex: 0 0 132px; }
  .search input { font-size: 16px; padding-right: 6px; }   /* 16px stops iOS zooming into the field */
  .search input:focus { position: relative; z-index: 2; }
  .chip { padding: 0 10px; }
  .shown { display: none; }
}

/* ------------------------------------------------------------------ grid */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 4px var(--pad) 56px; min-height: 100vh; outline: none; }
.sec { padding-top: 38px; }
.sec-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 18px; align-items: end;
  padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.sec-no { font: 400 48px/.86 var(--display); color: var(--lime); }
.sec-head h2 { margin: 0; font: 400 28px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; }
.sec-head h2 .zh { font: 700 15px/1 var(--sans); letter-spacing: .24em; color: var(--lav); margin-left: 12px; vertical-align: 3px; }
.sec-head p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }
.sec-count { font-size: 13px; color: var(--muted); white-space: nowrap; padding-bottom: 2px; }
.sec-count b { color: var(--text); font-weight: 600; }
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 292px), 1fr)); }
@media (max-width: 599px) {
  .sec { padding-top: 30px; }
  .sec-head { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; }
  .sec-no { font-size: 40px; grid-row: span 2; align-self: start; }
  .sec-head h2 { font-size: 24px; }
  .sec-head h2 .zh { display: block; margin: 6px 0 0; vertical-align: 0; }
  .sec-count { display: none; }
  .cards { gap: 16px; }
}

/* card */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: linear-gradient(180deg, #180b3f 0%, #120830 100%);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--line2); }
.card.picked { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime), 0 14px 34px -18px rgba(198, 244, 62, .45); }
.card.flash { animation: flash 1.4s ease-out; }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 3px var(--lime), 0 0 40px rgba(198, 244, 62, .5); } }
.mwrap { position: relative; aspect-ratio: 16 / 9; background: #0a0420; }
.media { position: absolute; inset: 0; overflow: hidden; cursor: pointer; }
.media:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.media video { opacity: 0; transition: opacity .18s; }
.card.is-playing .media video { opacity: 1; }
.play { position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%;
  background: rgba(11, 3, 32, .74); border: 1.5px solid rgba(198, 244, 62, .95); display: grid; place-items: center;
  transition: opacity .18s, transform .18s; }
.play svg { width: 18px; height: 18px; margin-left: 3px; fill: var(--lime); }
.card.is-playing .play { opacity: 0; transform: scale(.8); }
@media (hover: hover) and (pointer: fine) {
  .play { opacity: 0; }
  .media:hover .play, .media:focus-visible .play { opacity: 1; }
  .card.is-playing .media .play { opacity: 0; }
}
.len { position: absolute; right: 10px; top: 10px; font-size: 11.5px; font-weight: 600; line-height: 1; background: rgba(11, 3, 32, .78);
  padding: 5px 7px; border-radius: 5px; font-variant-numeric: tabular-nums; }
.prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .14); opacity: 0; transition: opacity .2s; }
.prog i { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); }
.card.is-playing .prog { opacity: 1; }
.spin { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid rgba(203, 182, 255, .3);
  border-top-color: var(--lime); opacity: 0; animation: spin .8s linear infinite; transition: opacity .2s; pointer-events: none; }
.card.is-loading .spin { opacity: 1; }
.card.is-loading .play { opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.snd { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 8px; border: 1px solid rgba(203, 182, 255, .4); background: rgba(11, 3, 32, .8); color: var(--text); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s; }
.snd:hover { border-color: var(--lav); }
.snd svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.snd .on { display: none; }
.snd[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--deep); }
.snd[aria-pressed="true"] .on { display: block; }
.snd[aria-pressed="true"] .off { display: none; }
.tick-badge { position: absolute; top: 10px; left: 10px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: var(--lime);
  color: var(--deep); display: grid; place-items: center; transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45); pointer-events: none; }
.tick-badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.card.picked .tick-badge { transform: scale(1); }

.body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.code { font: 400 17px/1 var(--display); letter-spacing: .035em; background: var(--lime); color: var(--deep); padding: 5px 8px 4px; border-radius: 4px; }
.kind { font-size: 10.5px; font-weight: 700; line-height: 1; letter-spacing: .13em; text-transform: uppercase; color: var(--lav);
  border: 1px solid rgba(203, 182, 255, .32); padding: 5px 7px; border-radius: 4px; }
.card h3 { margin: 2px 0 0; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
.what { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.use { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--soft); padding-left: 11px; border-left: 2px solid rgba(198, 244, 62, .6); }
.use-k { display: block; font-size: 10.5px; font-weight: 700; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 1px; }
.acts { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; }
.act, .pick { height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 11px; border-radius: 8px;
  border: 1px solid var(--line2); background: transparent; color: var(--text); font-size: 13.5px; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: background .15s, border-color .15s, color .15s; user-select: none; -webkit-user-select: none; }
.act:hover, .pick:hover { background: rgba(203, 182, 255, .08); border-color: rgba(203, 182, 255, .5); }
.act svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.act.inreel svg { fill: var(--lime); stroke: none; width: 12px; height: 12px; }
.act.inreel { color: var(--soft); }
.swap { display: inline-grid; }
.swap > * { grid-area: 1 / 1; text-align: center; }
.swap .b { visibility: hidden; }
.copied .swap .a, .card.picked .pick .swap .a { visibility: hidden; }
.copied .swap .b, .card.picked .pick .swap .b { visibility: visible; }
.act.copied { border-color: var(--lime); color: var(--lime); }
.pick { position: relative; flex: 1 1 auto; padding-left: 9px; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.pick .box { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid var(--lav); display: grid; place-items: center; color: transparent; }
.pick .box svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.pick:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 2px; }
.card.picked .pick { background: rgba(198, 244, 62, .13); border-color: var(--lime); color: var(--lime); }
.card.picked .pick .box { background: var(--lime); border-color: var(--lime); color: var(--deep); }

.empty-state { padding: 60px 0; text-align: center; color: var(--muted); }
.empty-state p { margin: 0 0 16px; font-size: 16px; }

.foot { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--pad) 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.foot p { margin: 0; }
.foot b { color: var(--soft); font-weight: 600; }

/* ------------------------------------------------------------------ picks bar */
.picks { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(20, 8, 52, .95);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line2);
  box-shadow: 0 -16px 36px -14px rgba(0, 0, 0, .7); padding-bottom: env(safe-area-inset-bottom); }
.picks-in { max-width: var(--wrap); margin: 0 auto; height: var(--picks-h); padding: 0 var(--pad); display: flex; align-items: center; gap: 14px; }
.picks-label { flex: none; display: flex; align-items: center; gap: 10px; font: 400 18px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.picks-label .cnt { min-width: 28px; height: 28px; padding: 0 7px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(203, 182, 255, .16); color: var(--lav); font: 700 13.5px/1 var(--sans); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.picks.has .picks-label .cnt { background: var(--lime); color: var(--deep); }
.picks-list { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.picks-list::-webkit-scrollbar { display: none; }
.picks-empty { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.picks-empty .zh { margin-left: 8px; color: #9d90c4; }
.pchip { flex: none; display: inline-flex; align-items: stretch; height: 34px; border-radius: 6px; background: rgba(198, 244, 62, .12);
  border: 1px solid rgba(198, 244, 62, .55); overflow: hidden; }
.pchip button { border: 0; background: none; cursor: pointer; }
.pchip .go { font: 400 16px/1 var(--display); letter-spacing: .035em; color: var(--lime); padding: 0 6px 0 10px; }
.pchip .x { width: 28px; color: var(--lav); font-size: 17px; line-height: 1; border-left: 1px solid rgba(198, 244, 62, .25); }
.pchip .x:hover { color: var(--text); background: rgba(255, 77, 109, .25); }
.pchip button:focus-visible { outline-offset: -2px; }
.picks-acts { flex: none; display: flex; gap: 8px; }
.btn { height: 42px; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.btn.lime { border: 1px solid var(--lime); background: var(--lime); color: var(--deep); }
.btn.lime:hover:not(:disabled) { filter: brightness(1.08); }
.btn.ghost { border: 1px solid var(--line2); background: transparent; color: var(--text); font-weight: 600; }
.btn.ghost:hover:not(:disabled) { border-color: var(--lav); }
.btn:disabled { opacity: .38; cursor: default; }
#clear svg { display: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 699px) {
  :root { --picks-h: 64px; }
  .picks-in { gap: 10px; }
  .picks-label .t { display: none; }
  .picks-empty .zh { display: none; }
  .picks:not(.has) .picks-acts { display: none; }
  .picks-list { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); padding-right: 16px; }
  .btn { height: 40px; padding: 0 13px; }
  #clear { width: 40px; padding: 0; display: grid; place-items: center; }
  #clear .lbl { display: none; }
  #clear svg { display: block; }
  .now { display: grid; grid-template-columns: auto auto minmax(0, 1fr); column-gap: 10px; row-gap: 8px; padding: 9px 10px 9px 14px; }
  .now-k { grid-column: 1; }
  .now-code { grid-column: 2; }
  .now-name { grid-column: 3; }
  .now:not(.has-opt) .now-name { white-space: normal; grid-column: 2 / 4; }
  .now-btn { grid-row: 2; justify-self: start; }
  #now-pick { grid-column: 1 / 3; }
  #now-find { grid-column: 3; }
}

.toast { position: fixed; left: 50%; bottom: calc(var(--picks-h) + env(safe-area-inset-bottom) + 14px); z-index: 60;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 12px;
  max-width: min(92vw, 560px); padding: 11px 14px 11px 16px; border-radius: 10px; background: #f5f1ff; color: var(--deep);
  font-size: 14px; font-weight: 600; box-shadow: 0 14px 40px rgba(0, 0, 0, .55); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .tx { min-width: 0; overflow-wrap: anywhere; }
.toast button { flex: none; height: 30px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--deep); background: var(--deep);
  color: var(--lime); font-weight: 700; font-size: 13px; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
  .circled path { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
