/* ============ Shiny Living Dex Guide ============
   Palette: midnight cave + shiny-spark gold
   Type: Space Grotesk (display) / Karla (body) / IBM Plex Mono (data)
================================================== */

:root {
  --bg: #10121a;
  --panel: #181b27;
  --panel-2: #1e2231;
  --line: #2a2e40;
  --text: #e9eaf2;
  --muted: #8d93aa;
  --spark: #f3c94f;        /* the gold of a shiny sparkle */
  --spark-dim: #b99530;
  --action: #9aa4ff;       /* interactive violet */
  --caught: #63d68f;
  --danger: #e07070;
  --radius: 10px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Karla", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.5;
}
button { font: inherit; color: inherit; cursor: pointer; }
input, select { font: inherit; }
h1,h2,h3 { font-family: var(--font-display); letter-spacing: -0.01em; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(16,18,26,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 10px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.brand-spark { color: var(--spark); font-size: 20px; line-height: 1; }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 17px; white-space: nowrap; }
.brand-text em { font-style: normal; color: var(--spark); }
.views { display: flex; gap: 4px; margin-left: 8px; }
.view-tab {
  background: none; border: 1px solid transparent; border-radius: 999px;
  padding: 6px 14px; color: var(--muted); font-weight: 700;
}
.view-tab:hover { color: var(--text); }
.view-tab.is-active { color: var(--spark); border-color: var(--line); background: var(--panel); }
.progress { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.progress-spark { color: var(--spark); }
.progress-count { font-family: var(--font-mono); font-size: 13px; white-space: nowrap; }
.progress-bar { width: 110px; height: 6px; border-radius: 3px; background: var(--panel-2); overflow: hidden; }
.progress-fill { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--spark-dim), var(--spark)); transition: width .4s ease; }

.icon-btn {
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); flex: 0 0 auto;
}
.icon-btn:hover { color: var(--text); border-color: var(--muted); }
.drawer-toggle { display: none; }

/* ---------- shell ---------- */
.shell {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 320px 1fr;
  gap: 24px; padding: 20px;
  align-items: start;
}

/* ---------- rail ---------- */
.rail {
  position: sticky; top: 66px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; max-height: calc(100vh - 86px); overflow-y: auto;
}
.rail-head { display: flex; align-items: center; justify-content: space-between; }
.rail-head h2 { margin: 0; font-size: 17px; }
.drawer-close { display: none; }
.rail-sub { color: var(--muted); font-size: 13.5px; margin: 6px 0 16px; }
.rail-section { margin-top: 14px; }
.rail-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.rail-section-head h3 { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.rail-hint { font-size: 11.5px; color: var(--spark-dim); font-family: var(--font-mono); }

.preset-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.preset-btn {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 6px; font-size: 12.5px; font-weight: 700; color: var(--muted);
}
.preset-btn:hover { color: var(--text); border-color: var(--muted); }
.preset-btn.is-active { color: var(--spark); border-color: var(--spark-dim); }

.method-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.method-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 10px;
}
.method-item.is-off { opacity: 0.45; }
.method-rank { font-family: var(--font-mono); font-size: 12px; color: var(--spark); width: 20px; text-align: right; }
.method-item.is-off .method-rank { color: var(--muted); }
.method-label { min-width: 0; }
.method-label .m-name { display: block; font-size: 13px; font-weight: 700; line-height: 1.25; }
.method-label .m-console { display: block; font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.method-ctrls { display: flex; align-items: center; gap: 4px; }
.mini-btn {
  background: none; border: 1px solid var(--line); border-radius: 6px;
  width: 24px; height: 24px; line-height: 1; color: var(--muted); font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.mini-btn:hover:not(:disabled) { color: var(--text); border-color: var(--muted); }
.mini-btn:disabled { opacity: 0.3; cursor: default; }
.m-toggle { accent-color: var(--spark); width: 15px; height: 15px; cursor: pointer; }

/* ---------- main / toolbar ---------- */
.main { min-width: 0; }
.view { display: none; }
.view.is-active { display: block; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search-wrap { position: relative; flex: 1 1 260px; min-width: 220px; }
.search-ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
#searchInput {
  width: 100%;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px 10px 36px;
}
#searchInput:focus { outline: 2px solid var(--action); outline-offset: 1px; border-color: transparent; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters select {
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px;
}
.chk-filter { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; }
.chk-filter input { accent-color: var(--spark); }
.result-meta { color: var(--muted); font-size: 13px; margin: 12px 2px; font-family: var(--font-mono); }

/* ---------- grid & cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}
.card {
  position: relative;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 12px 14px; text-align: center;
  transition: border-color .15s ease, transform .15s ease;
  cursor: pointer;
}
.card:hover { border-color: var(--muted); transform: translateY(-2px); }
.card:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.card.is-caught { border-color: rgba(99,214,143,0.45); }
.card.is-caught::after {
  content: "✦ caught";
  position: absolute; left: 10px; top: 10px;
  font-family: var(--font-mono); font-size: 10px; color: var(--caught);
}
.catch-toggle {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--panel-2);
  color: var(--muted); font-size: 13px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.catch-toggle:hover { border-color: var(--spark-dim); color: var(--spark); }
.card.is-caught .catch-toggle { background: rgba(99,214,143,0.15); border-color: var(--caught); color: var(--caught); }
@keyframes spark-pop { 0% { transform: scale(1); } 40% { transform: scale(1.45) rotate(20deg); } 100% { transform: scale(1); } }
.catch-toggle.just-caught { animation: spark-pop .45s ease; }
@media (prefers-reduced-motion: reduce) {
  .catch-toggle.just-caught { animation: none; }
  .card:hover { transform: none; }
  html { scroll-behavior: auto; }
}

.card-sprite { width: 78px; height: 78px; object-fit: contain; image-rendering: pixelated; margin: 2px auto 4px; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.45)); }
.card-sprite.is-missing { visibility: hidden; }
.card-dex { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.card-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.2; margin: 2px 0; }
.card-form { display: inline-block; font-size: 11px; color: var(--action); border: 1px solid rgba(154,164,255,0.35); border-radius: 999px; padding: 0 8px; margin-bottom: 4px; }
.card-badges { display: flex; justify-content: center; gap: 6px; margin-top: 7px; min-height: 24px; flex-wrap: wrap; }

.badge {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  border-radius: 6px; padding: 3px 8px; white-space: nowrap;
  border: 1px solid var(--line); color: var(--muted); background: var(--panel-2);
}
.badge-best { color: #1a1405; background: linear-gradient(180deg, #f7d76d, #ecb92e); border-color: #a8842a; }
.badge-second { color: var(--spark); border-color: var(--spark-dim); background: rgba(243,201,79,0.08); }
.badge-none { color: var(--danger); border-color: rgba(224,112,112,0.4); background: rgba(224,112,112,0.07); font-family: var(--font-body); font-weight: 700; }
.badge-demo { color: var(--spark); border-color: var(--spark-dim); background: rgba(243,201,79,0.08); }

.empty { text-align: center; color: var(--muted); padding: 60px 20px; }
.empty-spark { font-size: 34px; color: var(--spark-dim); margin: 0 0 8px; }

/* ---------- methods view ---------- */
.methods-intro { max-width: 720px; }
.methods-intro h2 { font-size: 26px; margin: 6px 0 8px; }
.methods-intro p { color: var(--muted); }
.methods-intro em { color: var(--spark); font-style: normal; }
.nowrap { white-space: nowrap; }
.methods-table { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 30px; }
.mrow {
  display: grid; grid-template-columns: 44px 1.4fr 1fr; gap: 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; align-items: baseline;
}
.mrow.is-off { opacity: 0.5; }
.mrow-rank { font-family: var(--font-mono); color: var(--spark); font-size: 15px; }
.mrow-name { font-weight: 700; font-family: var(--font-display); }
.mrow-game { display: block; color: var(--muted); font-size: 13px; font-weight: 400; font-family: var(--font-body); }
.mrow-odds { font-family: var(--font-mono); font-size: 13px; color: var(--text); }
.mrow-note { display: block; color: var(--muted); font-size: 12.5px; font-family: var(--font-body); margin-top: 2px; }
.legend { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; max-width: 780px; }
.legend h3 { margin: 0 0 12px; font-size: 15px; }
.legend-list { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.legend-list > div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: baseline; }
.legend-list dt { margin: 0; }
.legend-list dd { margin: 0; color: var(--muted); font-size: 14px; }
.legend-list dd strong { color: var(--text); }
.legend-note { color: var(--spark-dim); font-size: 13px; margin: 14px 0 0; }

/* ---------- modal ---------- */
.modal-scrim[hidden], .drawer-scrim[hidden] { display: none; }
.modal-scrim {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(8,9,14,0.72);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 6vh 16px 16px;
  overflow-y: auto;
}
.modal {
  position: relative;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  width: 100%; max-width: 560px; padding: 24px;
}
.modal-close { position: absolute; right: 14px; top: 14px; }
.modal-hero { display: flex; gap: 18px; align-items: center; }
.modal-sprite { width: 110px; height: 110px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.5)); }
.modal-hero h2 { margin: 0; font-size: 24px; }
.modal-dex { font-family: var(--font-mono); color: var(--muted); font-size: 13px; }
.modal-catch {
  margin-top: 8px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 13.5px; font-weight: 700; color: var(--muted);
}
.modal-catch.is-caught { color: var(--caught); border-color: var(--caught); }
.modal-section-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 22px 0 8px; }
.hunt-row {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline;
  border-top: 1px solid var(--line); padding: 10px 2px;
}
.hunt-row.is-top { background: rgba(243,201,79,0.05); border-radius: 8px; border-top-color: transparent; padding: 12px 10px; }
.hunt-row.is-off { opacity: 0.42; }
.hunt-row .h-name { font-weight: 700; font-size: 14px; }
.hunt-row .h-game { color: var(--muted); font-size: 12.5px; display: block; }
.hunt-row .h-odds { font-family: var(--font-mono); color: var(--muted); font-size: 12px; display: block; margin-top: 2px; }
.hunt-row .h-flag { font-size: 12px; color: var(--spark-dim); display: block; margin-top: 2px; }
.hunt-none { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.modal-comments { background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; color: var(--text); font-size: 13.5px; }
.modal-comments::before { content: "Shoosh's note — "; color: var(--spark); font-weight: 700; }

.foot { max-width: 1400px; margin: 30px auto 0; padding: 18px 20px 34px; color: var(--muted); font-size: 12.5px; border-top: 1px solid var(--line); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .shell { grid-template-columns: 1fr; }
  .drawer-toggle { display: inline-flex; }
  .drawer-close { display: inline-flex; }
  .rail {
    position: fixed; inset: 0 auto 0 0; top: 0; z-index: 70;
    width: min(340px, 88vw); max-height: none; height: 100%;
    border-radius: 0; transform: translateX(-105%);
    transition: transform .25s ease;
  }
  .rail.is-open { transform: translateX(0); }
  @media (prefers-reduced-motion: reduce) { .rail { transition: none; } }
  .drawer-scrim { position: fixed; inset: 0; z-index: 65; background: rgba(8,9,14,0.6); }
  .progress-bar { display: none; }
  .views { margin-left: 0; }
}
@media (max-width: 560px) {
  .brand-text { display: none; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .mrow { grid-template-columns: 30px 1fr; }
  .mrow-odds { grid-column: 2; }
  .topbar-inner { gap: 10px; padding: 10px 12px; }
  .shell { padding: 14px 12px; }
}

/* ---------- richer text additions ---------- */
.h-desc { display: block; color: var(--text); font-size: 13px; margin: 6px 0 6px; max-width: 46ch; }
.hunt-row .h-odds em, .odds-line em { font-style: normal; color: var(--spark-dim); font-family: var(--font-body); font-weight: 700; }
.mrow-desc { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; max-width: 56ch; }
.mrow-odds { display: flex; flex-direction: column; gap: 6px; }
.odds-line { display: block; }
.odds-line em { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.legend-h-charm { margin-top: 20px; }
.legend-charm { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.hunt-row .h-flag strong { color: var(--spark); }

/* ---------- account & sync ---------- */
.account-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; color: var(--muted); font-weight: 700; font-size: 13px;
  max-width: 180px; flex: 0 0 auto;
}
.account-btn:hover { color: var(--text); border-color: var(--muted); }
.account-btn #accountLabel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sync-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: 0 0 auto; }
.sync-dot[data-status="saved"] { background: var(--caught); }
.sync-dot[data-status="saving"] { background: var(--spark); }
.sync-dot[data-status="error"] { background: var(--danger); }
.modal-auth { max-width: 420px; }
.modal-auth h2 { margin: 0 0 6px; font-size: 22px; }
.auth-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 16px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 16px; }
.auth-tab {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px; font-weight: 700; color: var(--muted); font-size: 13.5px;
}
.auth-tab.is-active { color: var(--spark); border-color: var(--spark-dim); }
.auth-field { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.auth-field input {
  display: block; width: 100%; margin-top: 5px;
  background: var(--panel-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
}
.auth-field input:focus { outline: 2px solid var(--action); outline-offset: 1px; border-color: transparent; }
.auth-submit {
  width: 100%; margin-top: 4px;
  background: linear-gradient(180deg, #f7d76d, #ecb92e); color: #1a1405;
  border: 1px solid #a8842a; border-radius: 8px; padding: 11px; font-weight: 700;
}
.auth-submit:disabled { opacity: 0.6; cursor: default; }
.auth-msg { color: var(--spark-dim); font-size: 13px; min-height: 1.2em; margin: 10px 0 0; }
@media (max-width: 560px) { .account-btn #accountLabel { display: none; } .account-btn { padding: 7px 10px; } }

/* ---------- random hunt, data buttons, counter ---------- */
.random-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(180deg, #f7d76d, #ecb92e); color: #1a1405;
  border: 1px solid #a8842a; border-radius: 999px;
  padding: 9px 16px; font-weight: 700; font-size: 13.5px;
}
.random-btn:hover { filter: brightness(1.06); }
.data-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.data-row .data-btn:last-child { grid-column: 1 / -1; }
.data-btn {
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 6px; font-size: 12.5px; font-weight: 700; color: var(--muted);
}
.data-btn:hover { color: var(--text); border-color: var(--muted); }

.card-counter {
  position: absolute; left: 10px; top: 10px;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--action);
}
.card.is-caught .card-counter { display: none; }

.badge-filtered { color: #10121a; background: linear-gradient(180deg, #b6befc, #8f9aff); border-color: #5a64c9; }

.counter { background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.counter-top { display: flex; align-items: center; gap: 14px; }
.counter-n { font-family: var(--font-mono); font-weight: 600; font-size: 34px; color: var(--spark); min-width: 2ch; }
@keyframes cnt-tick { 0% { transform: scale(1); } 35% { transform: scale(1.12); } 100% { transform: scale(1); } }
.counter-n.tick { animation: cnt-tick .18s ease; display: inline-block; }
@media (prefers-reduced-motion: reduce) { .counter-n.tick { animation: none; } }
.counter-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.07em; line-height: 1.3; }
.counter-ctrls { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.cnt-btn {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); font-family: var(--font-mono); font-weight: 600;
  padding: 10px 14px; font-size: 14px;
}
.cnt-btn:hover { border-color: var(--muted); }
.cnt-main {
  background: linear-gradient(180deg, #f7d76d, #ecb92e); color: #1a1405; border-color: #a8842a;
  font-size: 18px; padding: 12px 22px;
}
.cnt-main:hover { filter: brightness(1.06); }
.counter-odds { margin-top: 12px; font-size: 13px; color: var(--muted); }
.counter-odds label { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.counter-odds input {
  width: 78px; background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px;
  font-family: var(--font-mono);
}
.counter-chance { display: block; margin-top: 8px; color: var(--spark-dim); font-size: 13px; }
.counter-reset { background: none; border: none; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; margin-top: 12px; }
.counter-reset:hover { color: var(--danger); }
@media (max-width: 560px) {
  .counter-top { flex-wrap: wrap; }
  .counter-ctrls { margin-left: 0; width: 100%; }
  .cnt-main { flex: 1; }
}

/* ---------- hunts dashboard & picker ---------- */
.hunts-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.hunt-card {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 16px;
}
.hunt-card-sprite { width: 56px; height: 56px; object-fit: contain; image-rendering: pixelated; }
.hunt-card-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hunt-card-name {
  background: none; border: none; padding: 0; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--text);
}
.hunt-card-name:hover { color: var(--spark); }
.hunt-card-method { font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); }
.hunt-card-chance { font-size: 12.5px; color: var(--spark-dim); }
.hunt-card-ctrls { display: flex; align-items: center; gap: 14px; }
.hunt-card-n { font-family: var(--font-mono); font-weight: 600; font-size: 26px; color: var(--spark); }
.hunt-card-n.tick { animation: cnt-tick .18s ease; display: inline-block; }
.empty .random-btn { margin-top: 14px; }

.modal-picker { max-width: 460px; }
.modal-picker h2 { margin: 0 0 6px; font-size: 21px; }
.picker-options { display: flex; flex-direction: column; gap: 8px; }
.picker-opt {
  text-align: left; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; display: flex; flex-direction: column; gap: 3px;
}
.picker-opt:hover { border-color: var(--spark-dim); }
.picker-opt-title { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.picker-opt-desc { font-size: 12.5px; color: var(--muted); }

#cntPreset {
  display: block; width: 100%; margin-bottom: 10px;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font-size: 13px;
}
@media (max-width: 560px) {
  .hunt-card { grid-template-columns: 48px 1fr; }
  .hunt-card-ctrls { grid-column: 1 / -1; justify-content: space-between; }
}

/* ---------- final features ---------- */
.spark-burst { position: fixed; z-index: 90; pointer-events: none; }
.spark-burst span {
  position: absolute; left: 0; top: 0;
  color: var(--spark); font-size: 15px; line-height: 1;
  animation: burst-fly .75s ease-out forwards;
}
@keyframes burst-fly {
  0% { transform: translate(0, 0) scale(0.6); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1.15); opacity: 0; }
}
.bulk-btn.is-active { color: var(--spark); border-color: var(--spark-dim); background: rgba(243,201,79,0.08); }
.bulk-hint {
  margin: 12px 0 0; padding: 9px 14px; border-radius: 8px; font-size: 13px;
  color: var(--spark); background: rgba(243,201,79,0.07); border: 1px solid var(--spark-dim);
}
body.bulk-mode .card { cursor: cell; }
.caught-date { display: inline-block; margin-left: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--caught); }
.counter-tip { display: block; margin-top: 10px; font-size: 12px; color: var(--muted); }
.data-row .data-btn-wide { grid-column: 1 / -1; }
.data-row .data-btn:last-child { grid-column: auto; }
.data-row .data-btn-wide:last-child { grid-column: 1 / -1; }
