:root {
  --bg: #f4f5f7; --card: #fff; --text: #14161a; --muted: #6b7280; --line: #e7e9ee;
  --accent: #1a73e8; --accent-text: #fff; --lv2: #b45309; --lv3: #be185d; --lv4: #15803d; --lv5: #7c3aed; --lv6: #0f766e; --ok: #15803d; --err: #b91c1c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115; --card: #1a1d23; --text: #eef0f3; --muted: #9aa1ad; --line: #2a2e36;
    --accent: #8ab4f8; --accent-text: #0f1115; --lv2: #fbbf24; --lv3: #f472b6; --lv4: #4ade80; --lv5: #a78bfa; --lv6: #2dd4bf; --ok: #4ade80; --err: #f87171;
  }
}
* { box-sizing: border-box; }
body { font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; margin: 0; background: var(--bg); color: var(--text); }
main { max-width: 560px; margin: 0 auto; padding: 20px 16px 40px; }
h1 { font-size: 28px; line-height: 1.15; margin: 4px 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 18px; margin: 28px 0 10px; }
a { color: var(--accent); }
.note { color: var(--muted); margin: 6px 0; font-size: 15px; }
.links { display: grid; gap: 8px; margin: 14px 0; }
.link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 500; }
.link::after { content: "↗"; color: var(--accent); }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 16px 0; }
.stat-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; } /* "35 of 50 coupons left" reads as one phrase */
.stat b { font-size: 32px; color: var(--ok); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); }
.stat.closed b { display: block; font-size: 20px; color: var(--text); margin-bottom: 4px; }
.bar { height: 8px; border-radius: 4px; background: var(--line); margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ok); border-radius: 4px; transition: width .3s; }
.msg:not(:empty) { color: var(--err); background: var(--card); border: 1px solid var(--err); border-radius: 12px; padding: 10px 14px; }
.msg.good { color: var(--ok); border-color: var(--ok); }
.list { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.list li { display: flex; align-items: center; gap: 10px; padding: 12px; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list li:target { scroll-margin-top: 40vh; } /* row you just unticked lands mid-screen */
.list li { flex-wrap: wrap; }
.list li > .code { flex: 1 1 auto; }
/* admin row numbers: fixed per row so hiding used rows keeps the real positions */
.numbered li::before { content: attr(data-n) "."; min-width: 2.2em; color: var(--muted);
  font: 500 13px ui-monospace, "SF Mono", Menlo, monospace; text-align: right; }
.hide-used li.used { display: none; }
.meta { margin: 0 0 16px; gap: 12px; }
.badge { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.badge.live { color: var(--ok); border-color: var(--ok); }
.badge.ended { color: var(--err); border-color: var(--err); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 16px; }
.tabs a { padding: 10px 14px; color: var(--muted); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current] { color: var(--text); border-bottom-color: var(--accent); }
.tabs + h2 { margin-top: 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.stats .stat { margin: 0; padding: 12px; }
.stats .stat b { display: block; font-size: 26px; }
.stats .stat span { font-size: 13px; }
.table-wrap { padding: 4px 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 6px; text-align: right; border-top: 1px solid var(--line); }
th { color: var(--muted); font-size: 13px; font-weight: 600; border-top: 0; }
th:first-child, td:first-child { text-align: left; overflow-wrap: anywhere; min-width: 5.5em; padding-left: 14px; }
#ref-url { margin: 0 0 12px; color: var(--muted); }
.list-head { margin: 28px 0 10px; }
.list-head h2 { margin: 0; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.toggle input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
/* admin rows: the button group moves below the code as one piece when the phone is too narrow */
.actions { display: flex; gap: 8px; margin-left: auto; }
.list .item { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.list input[type=checkbox]:not(:disabled) { cursor: pointer; }
input[type=checkbox] { width: 24px; height: 24px; flex: none; accent-color: var(--ok); margin: 0; }
.code { flex: 1; font: 500 13px ui-monospace, "SF Mono", Menlo, monospace; overflow-wrap: anywhere; }
.btn { flex: none; padding: 9px 14px; min-height: 40px; display: inline-flex; align-items: center; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--accent-text); font: 600 14px system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.btn.ghost, .list li.used .btn { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn.danger, .list li.used .btn.danger { background: transparent; color: var(--err); border: 1px solid var(--err); }
.btn.danger.armed, .list li.used .btn.danger.armed { background: var(--err); color: var(--bg); }
.list li.used { background: var(--bg); }
/* Redeem/Check already opened in this browser */
.list li .btn.seen { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.list li.used .code { color: var(--muted); text-decoration: line-through; }
a:focus-visible, input:focus-visible, button:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.undo { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 528px; margin: 0 auto; overflow: hidden;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px;
  background: var(--text); color: var(--bg); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.undo[hidden] { display: none; }
.undo span { flex: 1; min-width: 0; font-size: 13px; }
.undo .code { display: block; font-size: 13px; }
.undo .btn { background: var(--bg); color: var(--text); }
.undo i { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--ok); }
main { padding-bottom: 96px; } /* room so the undo bar never covers the last coupon */
.loading { color: var(--muted); padding: 40px 0; text-align: center; }
/* mailing-list signup */
.sub { margin-top: 24px; }
.sub h2 { margin: 0 0 12px; font-size: 17px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 22px; height: 22px; accent-color: var(--accent); }
.sub-msg { margin: 10px 0 0; font-size: 14px; color: var(--err); }
.sub-msg:empty { display: none; }
.sub-msg.ok { margin: 0; font-size: 15px; color: var(--ok); }

/* admin */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin: 12px 0; }
.field { display: block; margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.field[hidden], .field small[hidden] { display: none; }
.field input, .field textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: 400 16px system-ui, sans-serif;
  color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.field textarea { min-height: 96px; resize: vertical; }
.field small { display: block; font-weight: 400; color: var(--muted); margin-top: 4px; }
.status { border: 0; padding: 0; }
.status legend { padding: 0; margin-bottom: 6px; }
.status label { display: inline-flex; align-items: center; gap: 6px; margin: 0 16px 6px 0; font-weight: 400; font-size: 16px; }
.status input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
form.inline { display: inline; margin: 0; }
.list .sub-row { flex-direction: column; align-items: flex-start; gap: 2px; }
.sub-row b { font-weight: 600; overflow-wrap: anywhere; }
.sub-row small { color: var(--muted); font-size: 13px; }
th:last-child, td:last-child { padding-right: 14px; }
/* public top menu */
.top { display: flex; justify-content: flex-end; margin: 0 0 8px; }
.top .btn { min-height: 36px; padding: 7px 14px; font-size: 14px; }
.link.mail::after { content: "↓"; }
.link .ico { flex: none; display: grid; place-items: center; width: 24px; height: 24px; color: var(--accent); }
.link .ico svg { width: 22px; height: 22px; }
.link .txt { flex: 1; min-width: 0; }
.search { display: block; width: 100%; margin: 0 0 10px; padding: 10px 12px; font: 500 15px ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.list li.nomatch { display: none; }
/* tap to copy + snackbar */
#list .code { -webkit-user-select: none; user-select: none; cursor: pointer; border-radius: 6px; }
#list .code:active { background: var(--line); }
.toast { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 400px; margin: 0 auto; z-index: 10;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
  background: var(--text); color: var(--bg); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.toast[hidden] { display: none; }
.toast.show { animation: toast-in .25s ease-out; }
.undo:not([hidden]) + .toast { bottom: 88px; } /* sit above the undo bar */
.toast-ok { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #16a34a; color: #fff; }
.toast-ok svg { width: 18px; height: 18px; }
.toast-text { display: grid; min-width: 0; }
.toast-text b { font-size: 15px; }
.toast-text .code { font-size: 13px; opacity: .75; overflow-wrap: anywhere; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .toast.show { animation: none; } }
/* eye-catching Subscribe: warm gradient (white text stays readable on it) and a soft pulse a few times */
.btn.cta { --cta-bg: linear-gradient(135deg, #c2410c, #be185d); --cta-shadow: rgba(190, 24, 93, .35); --cta-ring: rgba(234, 88, 12, .55);
  background: var(--cta-bg); color: #fff; box-shadow: 0 4px 14px var(--cta-shadow); animation: cta-pulse 2s ease-out 1s 3; }
.btn.cta:hover { filter: brightness(1.08); }
.sub .btn.cta { min-height: 44px; padding: 10px 22px; font-size: 15px; animation: none; }
@keyframes cta-pulse {
  0% { box-shadow: 0 4px 14px var(--cta-shadow), 0 0 0 0 var(--cta-ring); }
  70% { box-shadow: 0 4px 14px var(--cta-shadow), 0 0 0 12px transparent; }
  100% { box-shadow: 0 4px 14px var(--cta-shadow), 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) { .btn.cta { animation: none; } }
.btn.cta { gap: 6px; } .btn.cta .i { width: 18px; height: 18px; flex: none; }
.toast-text { flex: 1; }
.toast .btn { flex: none; background: var(--bg); color: var(--text); white-space: nowrap; }
/* snackbar fits a 360px phone: code on one line next to the button */
.toast { gap: 10px; padding: 10px 10px 10px 12px; }
.toast-ok { width: 26px; height: 26px; }
.toast-ok svg { width: 15px; height: 15px; }
.toast-text .code { font-size: 12px; overflow-wrap: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast .btn { min-height: 36px; padding: 8px 12px; font-size: 13px; }
.toast-text .code { font-size: 11px; letter-spacing: -.01em; }
/* snackbar Go to Store: same eye-catching gradient as Subscribe, pulses right away */
.toast .btn.cta { --cta-bg: linear-gradient(135deg, #15803d, #0f766e); --cta-shadow: rgba(21, 128, 61, .35); --cta-ring: rgba(34, 197, 94, .55);
  background: var(--cta-bg); color: #fff; animation-delay: .3s; } /* Go to Store stays green */
@media (max-width: 380px) { #list .code { font-size: 12px; } } /* 23-char code + Redeem fit one line on 360px phones */
/* no blue tap flash on phones; a small press-in gives feedback instead */
* { -webkit-tap-highlight-color: transparent; }
.btn:active, .link:active { transform: scale(.97); }
/* event image under the title */
.event-img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 16px; margin: 4px 0 12px;
  background: var(--card); border: 1px solid var(--line); }
.file { display: block; margin-top: 8px; font: 400 14px system-ui, sans-serif; color: var(--muted); max-width: 100%; }
.field .toggle { margin: 4px 0; font-weight: 400; }
.field .toggle input { display: inline-block; width: 22px; height: 22px; margin: 0; padding: 0; }
.field .event-img { width: auto; max-width: 100%; max-height: 160px; margin: 8px 0; } /* admin: small preview */
/* signup popup from the top Subscribe button */
.pop { border: 0; padding: 0; background: transparent; width: min(440px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: visible; color: var(--text); }
.pop::backdrop { background: rgba(0, 0, 0, .55); }
.pop > form { margin: 0; padding: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.pop h2 { margin-top: 0; padding-right: 36px; }
.pop-x { position: absolute; top: 10px; right: 10px; z-index: 1; width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: var(--bg); color: var(--muted); font-size: 16px; cursor: pointer; }
.pop[open] { animation: pop-in .2s ease-out; }
@keyframes pop-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pop[open] { animation: none; } }
.pop .sub .btn.cta { display: flex; margin-left: auto; } /* popup: Subscribe on the right, like a dialog action */
.notes { padding: 12px 16px; margin: 0 0 14px; } .notes .note { margin: 4px 0; }
.copy { margin: 28px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
/* admin Check: colour changes on every click (data-level 1-6, set by the page script) */
.list li .btn.check[data-level] { background: color-mix(in srgb, var(--lv) 14%, transparent); color: var(--lv); border: 1px solid var(--lv); }
.btn.check[data-level="1"] { --lv: var(--accent); } .btn.check[data-level="2"] { --lv: var(--lv2); }
.btn.check[data-level="3"] { --lv: var(--lv3); } .btn.check[data-level="4"] { --lv: var(--lv4); }
.btn.check[data-level="5"] { --lv: var(--lv5); } .btn.check[data-level="6"] { --lv: var(--lv6); }
/* admin floating Add coupons button + its message */
.fabs { position: fixed; right: 20px; bottom: 20px; z-index: 5; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab { width: 56px; height: 56px; border: 0; border-radius: 50%;
  background: var(--accent); color: var(--accent-text); font: 400 32px/1 system-ui, sans-serif; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.fab[hidden] { display: none; }
.msg.float { position: fixed; left: 16px; right: 88px; bottom: 24px; max-width: 420px; margin: 0; z-index: 5; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
/* header like usawatchface.com: brand left, Subscribe right; Chakra Petch on brand and promo title only */
.top { justify-content: space-between; align-items: center; margin: 0 0 20px; padding: 2px 0 14px; border-bottom: 1px solid var(--line); }
.brand { display: grid; line-height: 1.15; color: var(--text); text-decoration: none; font-family: "Chakra Petch", system-ui, sans-serif; }
.brand b { font-size: 15px; font-weight: 600; letter-spacing: .32em; }
.brand small { font-size: 10px; font-weight: 600; letter-spacing: .32em; color: var(--muted); text-transform: uppercase; }
#hdr h1 { font-family: "Chakra Petch", system-ui, sans-serif; font-size: 32px; font-weight: 600; letter-spacing: .05em; }
/* admin charts (last 24 hours) */
:root { --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --so: #8a8984; }
@media (prefers-color-scheme: dark) { :root { --s1: #3987e5; --s2: #d95926; --s3: #199e70; --so: #8f8e88; } }
.chart-card h3 { margin: 0 0 8px; font-size: 15px; }
.chart { position: relative; }
.chart svg { display: block; }
/* plot scrolls sideways (swipe or trackpad) for events longer than 36 hours; the y-axis numbers stay put on top */
.chart-scroll { position: relative; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: thin; }
.chart .yaxis { position: absolute; left: 0; top: 0; background: var(--card); pointer-events: none; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { stroke: var(--muted); stroke-width: 1; opacity: .5; }
.chart .tick { fill: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.chart .mark.s1 { fill: var(--s1); }
.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.s1, .chart .dot.s1 { stroke: var(--s1); } .chart .line.s2, .chart .dot.s2 { stroke: var(--s2); }
.chart .line.s3, .chart .dot.s3 { stroke: var(--s3); } .chart .line.so, .chart .dot.so { stroke: var(--so); stroke-dasharray: 4 3; }
.chart .dot { fill: var(--card); stroke-width: 2.5; stroke-dasharray: none; }
.chart .cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart .tip { position: absolute; top: 0; pointer-events: none; background: var(--card); color: var(--text); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 10px; font-size: 13px; box-shadow: 0 6px 18px rgba(0,0,0,.18); white-space: nowrap; }
.chart .tip b { display: block; margin-bottom: 2px; }
.chart .tip strong { font-variant-numeric: tabular-nums; }
.key { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.key.s1 { background: var(--s1); } .key.s2 { background: var(--s2); } .key.s3 { background: var(--s3); } .key.so { background: var(--so); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
/* "online now" with a live dot */
.online { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.online i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 var(--ok); animation: online-pulse 2s ease-out infinite; }
.online.big { margin: 0 0 12px; font-size: 15px; }
.online.big b { color: var(--text); font-variant-numeric: tabular-nums; }
@keyframes online-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); } 100% { box-shadow: 0 0 0 8px transparent; } }
@media (prefers-reduced-motion: reduce) { .online i { animation: none; } }
.stat.out .stat-top b { color: var(--muted); }
tr.retired td { color: var(--muted); }
/* buy: the main button (green = store, like Go to Store); Telegram: a quiet text link under it */
.link.buy { position: relative; overflow: hidden; min-height: 62px; padding: 12px 12px 15px 14px; border: 0; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, #15803d, #0f766e); /* #15803d keeps white text above 4.5:1 */
  /* raised: darker bottom edge + glow, so it reads as something to press, not an info card */
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .22), 0 8px 20px rgba(22, 163, 74, .38); }
.link.buy:active { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .22), 0 3px 10px rgba(22, 163, 74, .3); }
/* the action itself, as a white pill on the right */
.link.buy::after { content: "Buy ›"; flex: none; padding: 9px 14px; border-radius: 999px; background: #fff; color: #15803d;
  font: 800 15px/1 system-ui, sans-serif; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
/* a light sweep every few seconds catches the eye */
.link.buy::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%);
  transform: translateX(-100%); animation: buy-shine 4s ease-in-out 1s infinite; }
@keyframes buy-shine { 0% { transform: translateX(-100%); } 30%, 100% { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .link.buy::before { animation: none; display: none; } }
.link.buy .ico { width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.link.buy .ico svg { width: 20px; height: 20px; }
.link.buy:hover { filter: brightness(1.06); }
.link.small { justify-content: flex-start; gap: 8px; padding: 6px 2px; background: none; border: 0; box-shadow: none;
  color: var(--muted); font-size: 14px; font-weight: 500; }
.link.small .txt { flex: none; }
.link.small .ico { width: 20px; height: 20px; }
.link.small .ico svg { width: 18px; height: 18px; }
.link.small::after { content: "→"; color: var(--muted); }
.nowrap { white-space: nowrap; }
.emo svg { display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -.18em; }
/* admin: event type pill (Coupon / Paid promo) */
.badge.kind { display: inline-flex; align-items: center; gap: 5px; flex: none; color: var(--kc); border-color: color-mix(in srgb, var(--kc) 45%, transparent);
  background: color-mix(in srgb, var(--kc) 10%, transparent); }
.badge.kind svg { width: 14px; height: 14px; }
.badge.kind.coupon { --kc: var(--accent); }
.badge.kind.paid { --kc: var(--lv2); }
.link.event .txt { display: grid; gap: 2px; }
.link.event small { font-size: 13px; font-weight: 400; color: var(--muted); }
.link.event .side { display: grid; justify-items: center; gap: 4px; flex: none; }
.link.event small.date { font-size: 11px; white-space: nowrap; }

/* Coupons held back until released */
.pop .toggle { white-space: normal; align-items: flex-start; margin: 4px 0 16px; }
.pop .toggle input { flex: none; }
.release p { margin: 0 0 8px; }
.release p.row { margin: 0; align-items: center; }
.release label { display: inline-flex; align-items: center; gap: 8px; }
.release input[type=number] { width: 5.5em; padding: 10px 12px; font: 400 16px system-ui, sans-serif; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.list li.held .code { color: var(--muted); }
.held-tag { font: 600 12px/1 system-ui, sans-serif; letter-spacing: 0; padding: 3px 6px; border-radius: 999px; border: 1px dashed var(--muted); color: var(--muted); vertical-align: middle; }

.fab.pill { width: auto; height: 48px; padding: 0 18px 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
  font: 600 16px/1 system-ui, sans-serif; background: var(--card); color: var(--text); border: 1px solid var(--line); }
.fab.pill[hidden] { display: none; }
.pop .release p { margin: 0 0 12px; }
.release .quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.release .chip { min-width: 48px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--text); font: 600 15px/1 system-ui, sans-serif; cursor: pointer; }
.release .chip:hover { border-color: var(--accent); }
h1.title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
