/* Deal Drop on nathanbaker.lol: the site's look (night background, Krona One titles, Geist Mono text, pale blue for
   "chosen / the way on"), with one warm accent for Food and the site's pale blue for Fun. Layout: a two-door chooser
   leading to one list per side, a control strip, and cards that open for details. */
:root {
  --bg: #030306;
  --panel: rgb(238 236 230 / .035);
  --panel-2: rgb(238 236 230 / .06);
  --ink: rgb(238 236 230 / .95);
  --ink-2: rgb(238 236 230 / .76);
  --ink-3: rgb(238 236 230 / .56);
  --ink-4: rgb(238 236 230 / .34);
  --line: rgb(238 236 230 / .1);
  --line-2: rgb(238 236 230 / .18);
  --act: rgb(205 222 255);
  --act-line: rgb(190 210 255 / .6);
  --act-fill: rgb(150 180 255 / .14);
  --act-glow: rgb(150 180 255 / .3);
  --food: rgb(255 190 120);
  --food-line: rgb(255 190 120 / .5);
  --food-fill: rgb(255 170 90 / .12);
  --free: rgb(130 232 170);   --free-fill: rgb(90 210 140 / .13);
  --bogo: rgb(196 170 255);   --bogo-fill: rgb(160 130 255 / .15);
  --hot: rgb(255 138 150);    --hot-fill: rgb(255 100 120 / .13);
  --limited: rgb(255 208 110); --limited-fill: rgb(255 190 80 / .12);
  --value: rgb(238 236 230 / .7); --value-fill: rgb(238 236 230 / .07);
  --display: "Krona One", "Michroma", "Arial Black", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --r: 12px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 400 13px/1.55 var(--mono); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  background-image: radial-gradient(120% 60% at 50% -10%, rgb(150 180 255 / .07), transparent 60%);
  background-attachment: fixed;
}
body.food-mode { background-image: radial-gradient(120% 60% at 50% -10%, rgb(255 170 90 / .07), transparent 60%); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--act); text-decoration: underline; text-decoration-color: var(--act-line); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--act-line); outline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 6; padding-top: env(safe-area-inset-top, 0px); background: rgb(3 3 6 / .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 14px; min-height: 58px; padding-block: 8px; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-3); text-decoration: none; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 2px; transition: color .3s var(--ease); }
.back:hover { color: var(--ink); }
.back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.brand { border: 0; background: none; padding: 4px 0; font-family: var(--display); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.mode { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; gap: 2px; }
.mode button { border: 1px solid transparent; background: none; border-radius: 999px; padding: 5px 13px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); transition: color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease); }
.mode button:hover { color: var(--ink); }
.mode button[aria-pressed="true"][data-mode="food"] { color: #fff; border-color: var(--food-line); background: var(--food-fill); box-shadow: 0 0 18px rgb(255 170 90 / .25); }
.mode button[aria-pressed="true"][data-mode="fun"] { color: #fff; border-color: var(--act-line); background: var(--act-fill); box-shadow: 0 0 18px var(--act-glow); }
.sp { flex: 1; }
.fresh { font-size: 11.5px; color: var(--ink-3); display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.fresh .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--free); box-shadow: 0 0 8px var(--free); }
@media (max-width: 680px) { .fresh { display: none; } .bar { gap: 10px; } .back span { display: none; } }
@media (max-width: 380px) { .brand { font-size: 12px; letter-spacing: .1em; } .mode button { padding: 5px 10px; } }

/* ---------- chooser ---------- */
.home { padding-block: clamp(28px, 7vw, 76px) 48px; display: flex; flex-direction: column; gap: 30px; }
.home h1 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 4.2vw, 40px); line-height: 1.15; letter-spacing: .04em; margin: 0; text-wrap: balance; text-transform: uppercase; }
.lede { margin: 12px 0 0; color: var(--ink-2); max-width: 58ch; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 700px) { .doors { grid-template-columns: 1fr; } }
.door { position: relative; text-align: left; border: 1px solid var(--line); background: var(--panel); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 270px; overflow: hidden; color: var(--ink); transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
.door::after { content: ""; position: absolute; inset: auto -20% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; opacity: .0; transition: opacity .5s var(--ease); pointer-events: none; }
.door.food::after { background: radial-gradient(closest-side, rgb(255 170 90 / .22), transparent); }
.door.fun::after { background: radial-gradient(closest-side, rgb(150 180 255 / .22), transparent); }
.door:hover { transform: translateY(-2px); }
.door:hover::after { opacity: 1; }
.door.food:hover { border-color: var(--food-line); box-shadow: 0 0 40px rgb(255 170 90 / .12); }
.door.fun:hover { border-color: var(--act-line); box-shadow: 0 0 40px rgb(150 180 255 / .12); }
.art { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; border: 1px solid var(--line); }
.art svg { width: 38px; height: 38px; stroke-width: 1.3; }
.door.food .art { color: var(--food); background: var(--food-fill); border-color: rgb(255 190 120 / .25); }
.door.fun .art { color: var(--act); background: var(--act-fill); border-color: rgb(190 210 255 / .25); }
.door h2 { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: .12em; line-height: 1; margin: 4px 0 0; text-transform: uppercase; }
.door p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.go { position: absolute; top: 24px; right: 24px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink-2); transition: all .3s var(--ease); }
.door.food:hover .go { border-color: var(--food-line); color: var(--food); }
.door.fun:hover .go { border-color: var(--act-line); color: var(--act); }
.stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.stat { font-size: 11px; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 6px; }
.stat svg { width: 13px; height: 13px; }
.teaser { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; min-width: 0; background: rgb(0 0 0 / .25); }
.teaser .tx { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.teaser b { color: var(--ink); font-weight: 500; }

/* ---------- controls ---------- */
.controls { padding-block: 18px 4px; display: flex; flex-direction: column; gap: 10px; }
.crow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.field { height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: rgb(0 0 0 / .3); display: flex; align-items: center; color: var(--ink-3); }
.search { flex: 1 1 220px; min-width: 0; gap: 8px; padding: 0 12px; }
.search input, .zip input { border: 0; background: transparent; height: 100%; color: var(--ink); min-width: 0; }
.search input { flex: 1; }
.search input::placeholder, .zip input::placeholder { color: var(--ink-4); }
.search input:focus, .zip input:focus { outline: none; }
.field:focus-within { border-color: var(--act-line); }
.zip { overflow: hidden; }
.zip svg { margin-left: 10px; }
.zip input { width: 70px; padding: 0 6px; letter-spacing: .08em; }
.zip button, .ctl { border: 0; border-left: 1px solid var(--line-2); height: 100%; padding: 0 12px; background: var(--panel-2); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.zip button:hover { color: #fff; background: var(--act-fill); }
select.sel { height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: rgb(0 0 0 / .3); padding: 0 10px; min-width: 0; color: var(--ink-2); font-size: 12px; }
select.sel option { background: #101016; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 7px; color: var(--ink-2); transition: all .25s var(--ease); }
.chip:hover { color: var(--ink); border-color: rgb(238 236 230 / .3); }
.chip .sw { width: 7px; height: 7px; border-radius: 50%; }
.chip .n { font-size: 10.5px; letter-spacing: 0; color: var(--ink-4); }
.chip svg { width: 15px; height: 15px; }
.chip[aria-pressed="true"] { color: #fff; border-color: var(--act-line); background: var(--act-fill); }
.food-mode .chip[aria-pressed="true"] { border-color: var(--food-line); background: var(--food-fill); }
.chip[aria-pressed="true"] .n { color: inherit; opacity: .7; }
.hint { font-size: 11.5px; color: var(--ink-3); }

/* ---------- ZIP gate ---------- */
.gate { margin: clamp(24px, 7vw, 72px) auto 48px; max-width: 520px; border: 1px solid var(--line); background: var(--panel); border-radius: 18px; padding: 30px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.gate h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; text-wrap: balance; }
.gate p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.gico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: var(--food); background: var(--food-fill); border: 1px solid rgb(255 190 120 / .25); }
.gico svg { width: 30px; height: 30px; }
.zip.big { height: 48px; width: 100%; max-width: 340px; }
.zip.big input { flex: 1; width: auto; font-size: 17px; }
.zip.big button { color: #fff; border-left-color: var(--food-line); background: var(--food-fill); padding: 0 18px; }
.zip.big button:hover { background: rgb(255 170 90 / .22); }
.linkbtn { border: 0; background: none; padding: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.linkbtn:hover { color: var(--ink); }

/* ---------- lists ---------- */
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 20px 0 12px; flex-wrap: wrap; }
.head h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 12px; align-items: start; }
.grid.wide { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
@media (max-width: 460px) { .grid, .grid.wide { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-width: 0; transition: border-color .3s var(--ease); }
.card:hover { border-color: var(--line-2); }
.card .main { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; padding: 14px; align-items: start; }
.tile { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-size: 15px; line-height: 1; letter-spacing: -.02em; }
.tile svg { width: 22px; height: 22px; }
.who { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bn { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 6px; min-width: 0; }
.bn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn svg { width: 13px; height: 13px; }
.tt { margin: 0; font-weight: 500; font-size: 14px; line-height: 1.35; color: var(--ink); text-wrap: balance; overflow-wrap: anywhere; }
.meta { display: flex; flex-wrap: wrap; gap: 3px 10px; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.meta .urgent { color: var(--hot); }
.badge { min-width: 64px; padding: 8px 9px; border-radius: 10px; text-align: center; font-family: var(--display); font-size: 14px; line-height: 1; letter-spacing: .02em; white-space: nowrap; border: 1px solid transparent; }
.badge small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; margin-top: 5px; opacity: .8; }
.k-free { background: var(--free-fill); color: var(--free); border-color: rgb(130 232 170 / .22); text-shadow: 0 0 12px rgb(130 232 170 / .4); }
.k-bogo { background: var(--bogo-fill); color: var(--bogo); border-color: rgb(196 170 255 / .24); text-shadow: 0 0 12px rgb(196 170 255 / .4); }
.k-hot { background: var(--hot-fill); color: var(--hot); border-color: rgb(255 138 150 / .24); text-shadow: 0 0 12px rgb(255 138 150 / .4); }
.k-limited { background: var(--limited-fill); color: var(--limited); border-color: rgb(255 208 110 / .22); text-shadow: 0 0 12px rgb(255 208 110 / .35); }
.k-value { background: var(--value-fill); color: var(--value); border-color: var(--line); }
.sw.k-free { background: var(--free); } .sw.k-bogo { background: var(--bogo); } .sw.k-hot { background: var(--hot); } .sw.k-limited { background: var(--limited); }
.card .foot { display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--line); padding: 4px 8px 4px 14px; }
.more { border: 0; background: none; padding: 7px 0; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 5px; color: var(--ink-2); }
.more:hover { color: var(--ink); }
.more svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.more[aria-expanded="true"] svg { transform: rotate(180deg); }
.ico { width: 34px; height: 34px; border-radius: 9px; border: 0; background: none; display: grid; place-items: center; color: var(--ink-4); }
.ico:hover { background: var(--panel-2); color: var(--ink-2); }
.ico svg { width: 17px; height: 17px; }
.ico[aria-pressed="true"] { color: var(--limited); }
.ico[aria-pressed="true"] svg { fill: currentColor; }
.detail { padding: 2px 14px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; }
.detail p { margin: 0; color: var(--ink-2); max-width: 62ch; }
.drow { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.code { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; border: 1px dashed var(--line-2); border-radius: 8px; padding: 5px 10px; background: none; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.code:hover { border-color: var(--act-line); }
.code svg { width: 13px; height: 13px; }
.price { font-variant-numeric: tabular-nums; color: var(--ink); }
.price s { color: var(--ink-4); margin-left: 6px; }
a.lk { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.btn { border: 1px solid var(--line-2); background: none; border-radius: 9px; padding: 6px 11px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.btn:hover { color: #fff; border-color: var(--act-line); background: var(--act-fill); }
.card.used { opacity: .5; }

/* products */
.ptag { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
@media (max-width: 460px) { .pmain { grid-template-columns: 46px minmax(0, 1fr) !important; } .pmain .ptag { grid-column: 2; flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; text-align: left; } }
.ptag .now { font-family: var(--display); font-size: 17px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.ptag .now.sale { color: var(--hot); text-shadow: 0 0 12px rgb(255 138 150 / .35); }
.ptag .was { font-size: 11px; color: var(--ink-4); text-decoration: line-through; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; white-space: nowrap; border: 1px solid currentColor; }
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.s0 { color: var(--free); } .s1 { color: var(--hot); } .s2 { color: var(--limited); } .s3 { color: var(--ink-3); }
.ex { color: var(--ink-3); border-style: dashed; }
.spark { width: 100%; height: 60px; }
.hist { overflow-x: auto; }
.hist table { border-collapse: collapse; width: 100%; min-width: 300px; font-size: 12px; }
.hist th { text-align: left; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; padding: 6px; border-bottom: 1px solid var(--line); }
.hist td { padding: 7px 6px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.hist td.n, .hist th.n { text-align: right; }

.empty { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 30px 18px; text-align: center; color: var(--ink-3); grid-column: 1 / -1; }
.empty b { display: block; color: var(--ink); font-weight: 500; font-size: 14px; margin-bottom: 4px; }
.note { border: 1px solid rgb(190 210 255 / .22); background: var(--act-fill); border-radius: 12px; padding: 10px 14px; font-size: 12px; color: var(--ink-2); margin-bottom: 12px; }
.skel { height: 128px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(90deg, var(--panel), var(--panel-2), var(--panel)); background-size: 200% 100%; animation: sh 1.4s linear infinite; }
@keyframes sh { to { background-position: -200% 0; } }
footer { padding-block: 30px calc(44px + env(safe-area-inset-bottom, 0px)); font-size: 11.5px; color: var(--ink-3); max-width: 72ch; }
footer b { color: var(--ink-2); font-weight: 500; }
.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); opacity: 0; background: rgb(20 20 28 / .92); border: 1px solid var(--line-2); color: var(--ink); padding: 9px 16px; border-radius: 10px; font-size: 12px; letter-spacing: .04em; transition: all .2s var(--ease); pointer-events: none; z-index: 20; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- editing the watch list ---------- */
.head .hl { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; min-width: 0; }
.head { align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 6px; transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease); }
.btn svg { width: 14px; height: 14px; }
.btn.solid { color: #fff; border-color: var(--act-line); background: var(--act-fill); padding: 8px 14px; }
.btn.solid:hover:not(:disabled) { background: rgb(150 180 255 / .24); border-color: var(--act); box-shadow: 0 0 22px var(--act-glow); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.sm { padding: 5px 9px; font-size: 10px; }
.btn.quiet { border-color: transparent; color: var(--ink-3); }
.btn.quiet:hover { color: var(--hot); border-color: rgb(255 138 150 / .4); background: var(--hot-fill); }
.btn.danger { color: var(--hot); border-color: rgb(255 138 150 / .45); }
.btn.danger:hover { color: #fff; border-color: var(--hot); background: var(--hot-fill); }
.card .foot { flex-wrap: wrap; row-gap: 2px; }
.confirm { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
.ask { font-size: 11.5px; color: var(--ink-2); margin-right: 2px; }
@media (max-width: 460px) { .confirm { flex-basis: 100%; padding: 2px 0 6px; } }
.note.warn { border-color: rgb(255 208 110 / .35); background: var(--limited-fill); }
.add { margin-top: 12px; width: 100%; border: 1px dashed var(--line-2); background: none; border-radius: var(--r); padding: 15px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--act); display: flex; align-items: center; justify-content: center; gap: 8px; transition: border-color .25s var(--ease), background .25s var(--ease); }
.add svg { width: 15px; height: 15px; }
.add:hover { border-color: var(--act-line); background: var(--act-fill); }
.panel { border: 1px solid var(--act-line); background: rgb(150 180 255 / .05); border-radius: 14px; padding: 18px; margin-bottom: 14px; box-shadow: 0 0 40px rgb(150 180 255 / .07); scroll-margin: 90px; }
.panel h4 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.panel p { margin: 0 0 10px; color: var(--ink-2); max-width: 70ch; }
.panel .hint { margin: 10px 0 0; }
.steps { margin: 0 0 14px; padding-left: 20px; color: var(--ink-2); display: flex; flex-direction: column; gap: 6px; max-width: 72ch; }
.steps b { color: var(--ink); font-weight: 500; }
.keyrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.kin { flex: 1 1 260px; min-width: 0; padding: 0 12px; color: var(--ink); font-family: var(--mono); letter-spacing: .04em; }
.kin:focus { outline: none; border-color: var(--act-line); }
.panel .err, .factions .err { color: var(--hot); font-size: 12px; margin: 10px 0 0; }
.wform { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.wform h4 { grid-column: 1 / -1; margin: 0; }
.fld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fld label { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.fld .opt { letter-spacing: .04em; text-transform: none; color: var(--ink-4); margin-left: 4px; }
.fld input, .fld select { height: 40px; border: 1px solid var(--line-2); border-radius: 10px; background: rgb(0 0 0 / .35); padding: 0 11px; width: 100%; color: var(--ink); font-size: 13px; }
.fld input::placeholder { color: var(--ink-4); }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--act-line); box-shadow: 0 0 0 3px rgb(150 180 255 / .12); }
.fld select option { background: #101016; }
.w6 { grid-column: 1 / -1; } .w4 { grid-column: span 4; } .w2 { grid-column: span 2; }
.fnote { grid-column: 1 / -1; margin: 0 !important; font-size: 11.5px; color: var(--ink-3) !important; }
.factions { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.factions .err { margin: 0 auto 0 0; }
@media (max-width: 640px) { .wform { grid-template-columns: repeat(2, minmax(0, 1fr)); } .w4 { grid-column: 1 / -1; } .w2 { grid-column: span 1; } .panel { padding: 16px 14px; } }
.editline { display: block; margin-top: 10px; color: var(--ink-3); }
.editline .linkbtn { padding: 0 2px; }
.panel .newdev { margin-top: 12px; padding-left: 0; }
.bigcode { font-family: var(--display); font-size: 30px; letter-spacing: .14em; color: #fff !important; text-shadow: 0 0 22px var(--act-glow); margin: 6px 0 12px !important; }
