:where(.og-pokebonk) :where(*:not(svg, svg *)) { all: revert; }
.og-pokebonk {
  --bg: #0e1320;
  --bg2: #141b2b;
  --card: #1b2336;
  --card2: #232d44;
  --line: #2f3b56;
  --text: #f4f1e8;
  --muted: #a8b1c5;
  --yellow: #ffd23f;
  --coral: #ff6b57;
  --mint: #4ee0a8;
  --sky: #5ab8ff;
  --head: "Trebuchet MS", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
.og-pokebonk * { box-sizing: border-box; }
.og-pokebonk { -webkit-text-size-adjust: 100%; }
.og-pokebonk { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); }
.og-pokebonk a { color: var(--sky); }
.og-pokebonk a:hover { color: #9fd6ff; }
.og-pokebonk :focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.og-pokebonk .skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: #111; padding: 8px 12px; border-radius: 8px; z-index: 300; }
.og-pokebonk .skip:focus { left: 8px; }
.og-pokebonk .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.og-pokebonk .muted { color: var(--muted); }

/* header */
.og-pokebonk .top { display: flex; align-items: center; gap: 16px; height: 52px; padding: 0 16px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.og-pokebonk .brand { font: italic 900 22px/1 var(--head); color: var(--yellow); text-decoration: none; letter-spacing: -0.5px; text-shadow: 2px 2px 0 #b3301f; white-space: nowrap; }
.og-pokebonk .brand span { color: #fff; }
.og-pokebonk .top nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.og-pokebonk .top nav a { color: var(--text); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.og-pokebonk .top nav a:hover,
.og-pokebonk .top nav a[aria-current] { background: var(--card2); }
@media (max-width: 520px) {
  .og-pokebonk .top { gap: 8px; padding: 0 10px; }
  .og-pokebonk .brand { font-size: 19px; }
  .og-pokebonk .top nav a { padding: 6px 7px; font-size: 13px; }
  .og-pokebonk .top nav a[href="/yesterday/"] { display: none; }
}

/* text pages */
.og-pokebonk .doc { max-width: 820px; margin: 0 auto; padding: 24px 18px 40px; }
.og-pokebonk .doc h1 { font: 900 clamp(28px, 6vw, 40px)/1.15 var(--head); margin: 8px 0 12px; }
.og-pokebonk .doc h2 { font: 800 22px/1.25 var(--head); margin: 30px 0 8px; color: var(--yellow); }
.og-pokebonk .lede { font-size: 18px; color: #dfe4ee; }
.og-pokebonk .steps { padding-left: 20px; }
.og-pokebonk .steps li { margin: 6px 0; }
.og-pokebonk .note { color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 30px; }
.og-pokebonk .faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
.og-pokebonk .faq summary { cursor: pointer; font-weight: 700; }
.og-pokebonk .faq details p { margin: 8px 0 2px; color: #dfe4ee; }
.og-pokebonk .tbl { overflow-x: auto; }
.og-pokebonk table { border-collapse: collapse; width: 100%; font-size: 15px; }
.og-pokebonk th,
.og-pokebonk td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.og-pokebonk th { color: var(--muted); font-weight: 700; }
.og-pokebonk .foot { border-top: 1px solid var(--line); padding: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.og-pokebonk .foot .fine { max-width: 720px; margin: 8px auto 0; font-size: 12.5px; }

/* buttons */
.og-pokebonk .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 2px solid var(--line); background: var(--card2); color: var(--text); font: 700 16px/1.1 var(--head); text-decoration: none; cursor: pointer; }
.og-pokebonk .btn:hover { border-color: #4a5a80; color: var(--text); }
.og-pokebonk .btn.primary { background: var(--yellow); border-color: var(--yellow); color: #1b1300; box-shadow: 0 4px 0 #b88a00; }
.og-pokebonk .btn.primary:hover { background: #ffe06e; }
.og-pokebonk .btn.primary:active { transform: translateY(2px); box-shadow: 0 2px 0 #b88a00; }
.og-pokebonk .btn.big { width: 100%; min-height: 54px; font-size: 20px; }
.og-pokebonk .btn.ghost { background: transparent; width: 100%; }
.og-pokebonk .link { background: none; border: 0; color: var(--sky); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.og-pokebonk .row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.og-pokebonk .row .btn { flex: 1 1 130px; }

/* game stage */
.og-pokebonk .stage { position: relative; width: 100%; height: calc(100svh - 72px); min-height: 480px; max-height: 720px; background: #0b0f19; overflow: hidden; user-select: none; -webkit-user-select: none; }
@media (min-width: 900px) {
  .og-pokebonk .stage { height: clamp(520px, calc(100vh - 150px), 680px); }
}
.og-pokebonk .fan-note { margin: 0; padding: 8px 14px; background: var(--bg2); color: var(--muted); font-size: 12.5px; line-height: 1.4; text-align: center; }
.og-pokebonk .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
.og-pokebonk .menu,
.og-pokebonk .ov { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; background: radial-gradient(ellipse at center, rgba(8,11,22,0.35), rgba(8,11,22,0.75)); z-index: 5; }
.og-pokebonk .menu[hidden],
.og-pokebonk .ov[hidden],
.og-pokebonk .hud[hidden],
.og-pokebonk .bossbar[hidden] { display: none; }
.og-pokebonk .panel { width: min(500px, 100%); max-height: 100%; overflow-y: auto; background: rgba(20, 27, 43, 0.95); border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); text-align: center; }
.og-pokebonk .panel h2 { font: 900 24px/1.2 var(--head); margin: 2px 0 6px; }
.og-pokebonk .panel.small { width: auto; padding: 18px 26px; }
.og-pokebonk .logo { margin: 0; font: italic 900 clamp(34px, 9vw, 48px)/1 var(--head); color: var(--yellow); letter-spacing: -1px; text-shadow: 3px 3px 0 #b3301f, 0 0 24px rgba(255, 210, 63, 0.25); }
.og-pokebonk .logo span { color: #fff; font-size: 0.62em; letter-spacing: 0; text-shadow: 2px 2px 0 #b3301f; }
.og-pokebonk .sub { margin: 6px 0 10px; color: var(--muted); font-size: 14px; }
.og-pokebonk .daily-tag { margin: 0 0 8px; font: 800 14px/1.3 var(--head); color: var(--mint); text-transform: uppercase; letter-spacing: 0.6px; }
.og-pokebonk .today { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; text-align: left; }
.og-pokebonk .today-mon { width: 88px; height: 88px; image-rendering: pixelated; background: radial-gradient(circle, rgba(255,210,63,0.25), transparent 70%); border-radius: 50%; flex: none; }
.og-pokebonk .chips { display: grid; gap: 6px; flex: 1; }
.og-pokebonk .chip { background: var(--card2); border-radius: 10px; padding: 6px 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.og-pokebonk .chip span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; min-width: 48px; }
.og-pokebonk .chip b { font: 800 15px/1.2 var(--head); }
.og-pokebonk .chip small { flex-basis: 100%; color: #cdd5e4; font-size: 12.5px; line-height: 1.3; }
.og-pokebonk .mine { margin: 10px 0 6px; font-size: 14px; color: var(--muted); }
.og-pokebonk .mine b { color: var(--text); }
.og-pokebonk .next { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.og-pokebonk .panel .btn + .btn { margin-top: 8px; }
.og-pokebonk .board { margin-top: 10px; text-align: left; background: rgba(0,0,0,0.2); border-radius: 12px; padding: 8px 12px; }
.og-pokebonk .board h2 { font-size: 15px; margin: 0 0 4px; color: var(--yellow); }
.og-pokebonk .board h2 small { color: var(--muted); font-weight: 600; font-size: 12px; margin-left: 6px; }
.og-pokebonk .board p { margin: 4px 0; font-size: 14px; }
.og-pokebonk .lb { list-style: none; margin: 4px 0; padding: 0; font-size: 14px; }
.og-pokebonk .lb li { display: flex; gap: 8px; align-items: baseline; padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.og-pokebonk .lb li.me { color: var(--yellow); }
.og-pokebonk .lb .rk { width: 20px; color: var(--muted); text-align: right; }
.og-pokebonk .lb .nk { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.og-pokebonk .lb .st { color: var(--muted); font-size: 12.5px; }

/* free run picker */
.og-pokebonk .pick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.og-pokebonk .mon { min-width: 0; background: var(--card2); border: 2px solid transparent; border-radius: 12px; padding: 4px 2px 5px; color: var(--text); cursor: pointer; font: 700 11px/1.15 var(--head); min-height: 44px; overflow-wrap: anywhere; }
.og-pokebonk .mon img { width: 100%; max-width: 72px; height: auto; aspect-ratio: 1; image-rendering: pixelated; display: block; margin: -10% auto -8%; }
.og-pokebonk .mon.on { border-color: var(--yellow); background: #332d1a; }
.og-pokebonk .mon:disabled { cursor: not-allowed; color: var(--muted); font-weight: 600; font-size: 9.5px; }
.og-pokebonk .mon:disabled img { filter: brightness(0) opacity(0.45); }
.og-pokebonk .pick-info { font-size: 13.5px; margin: 8px 0; color: #dfe4ee; }
.og-pokebonk .arenas { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 12px; }
.og-pokebonk .arena { border: 2px solid transparent; border-radius: 999px; padding: 6px 12px; min-height: 36px; background: color-mix(in srgb, var(--g) 45%, #1b2336); color: #fff; font: 700 13px/1.1 var(--head); cursor: pointer; text-shadow: 0 1px 2px rgba(0,0,0,0.6); }
.og-pokebonk .arena.on { border-color: var(--yellow); }
.og-pokebonk .arena:disabled { background: var(--card); color: var(--muted); cursor: not-allowed; font-weight: 600; font-size: 12px; text-shadow: none; }
.og-pokebonk .mon span { display: block; overflow-wrap: normal; }
.og-pokebonk .mon:disabled span { overflow-wrap: anywhere; }
@media (max-width: 420px) { .og-pokebonk .pick { gap: 4px; } .og-pokebonk .mon { font-size: 9.5px; letter-spacing: -0.2px; } .og-pokebonk .mon:disabled { font-size: 9px; } }

/* HUD */
.og-pokebonk .hud { position: absolute; left: 0; right: 0; top: 0; z-index: 3; pointer-events: none; padding: max(6px, env(safe-area-inset-top)) 10px 0; }
.og-pokebonk .xp { height: 10px; background: rgba(5,8,18,0.7); border: 1px solid rgba(255,255,255,0.25); border-radius: 6px; overflow: hidden; }
.og-pokebonk .xp i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #5ab8ff, #8ff0ff); }
.og-pokebonk .hud-row { display: flex; align-items: center; gap: 10px; margin-top: 4px; font: 800 15px/1 var(--head); text-shadow: 0 1px 3px #000, 0 0 2px #000; }
.og-pokebonk .lvl { color: #8ff0ff; min-width: 52px; }
.og-pokebonk .timer { flex: 1; text-align: center; font-size: 24px; letter-spacing: 1px; }
.og-pokebonk .timer.warn { color: var(--coral); }
.og-pokebonk .kos { min-width: 60px; text-align: right; }
.og-pokebonk .hud-btns { display: flex; gap: 6px; pointer-events: auto; }
.og-pokebonk .hb { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.3); background: rgba(10,14,28,0.6); color: #fff; font: 800 16px/1 var(--head); cursor: pointer; }
.og-pokebonk .build { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; max-width: 60%; }
.og-pokebonk .slot { position: relative; width: 30px; height: 30px; border-radius: 8px; background: rgba(10,14,28,0.65); border: 2px solid var(--c); display: grid; place-items: center; font-size: 15px; }
.og-pokebonk .slot i { font-style: normal; }
.og-pokebonk .slot b { position: absolute; right: -4px; bottom: -5px; font: 900 10px/1 var(--head); background: #111827; color: #fff; border-radius: 6px; padding: 2px 3px; }
.og-pokebonk .bossbar { margin: 6px auto 0; width: min(420px, 80%); text-align: center; font: 800 13px/1.2 var(--head); text-shadow: 0 1px 3px #000; }
.og-pokebonk .bb { height: 9px; background: rgba(5,8,18,0.75); border: 1px solid rgba(255,255,255,0.3); border-radius: 6px; overflow: hidden; margin-top: 2px; }
.og-pokebonk .bb i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #ff4d5e, #ffa24d); }
.og-pokebonk .banner { position: absolute; left: 50%; top: 96px; transform: translate(-50%, -10px); z-index: 4; opacity: 0; pointer-events: none; background: rgba(10,14,28,0.85); border: 1px solid var(--line); color: #fff; padding: 8px 16px; border-radius: 12px; font: 800 16px/1.3 var(--head); text-align: center; max-width: 92%; transition: opacity 0.25s, transform 0.25s; }
.og-pokebonk .banner.show { opacity: 1; transform: translate(-50%, 0); }
.og-pokebonk .banner.boss { border-color: var(--coral); color: #ffd0c8; }
.og-pokebonk .banner.evo { border-color: var(--yellow); color: var(--yellow); }
.og-pokebonk .banner.tip { top: auto; bottom: max(24px, env(safe-area-inset-bottom)); font-size: 14px; font-weight: 700; }

/* level up */
.og-pokebonk .levelup { width: min(460px, 100%); }
.og-pokebonk .lv-title { color: var(--yellow); }
.og-pokebonk .cards { display: grid; gap: 8px; margin-top: 8px; }
.og-pokebonk .card { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; min-height: 64px; border-radius: 14px; border: 2px solid color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 14%, #1b2336); color: var(--text); cursor: pointer; font: inherit; }
.og-pokebonk .card:hover,
.og-pokebonk .card:focus-visible { border-color: var(--c); background: color-mix(in srgb, var(--c) 24%, #1b2336); }
.og-pokebonk .card > i { font-style: normal; font-size: 28px; width: 40px; text-align: center; flex: none; }
.og-pokebonk .ct { display: grid; flex: 1; }
.og-pokebonk .ct small { color: var(--c); font: 800 11px/1.2 var(--head); text-transform: uppercase; letter-spacing: 0.6px; }
.og-pokebonk .ct b { font: 800 17px/1.25 var(--head); }
.og-pokebonk .ct span { font-size: 13.5px; color: #d3dae7; line-height: 1.35; }
.og-pokebonk .card kbd { font: 700 12px/1 var(--head); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; }
@media (pointer: coarse) { .og-pokebonk .card kbd { display: none; } }

/* pause & results */
.og-pokebonk .build-list,
.og-pokebonk .panel ul.build { list-style: none; padding: 0; margin: 8px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; text-align: left; font-size: 14px; max-width: none; }
.og-pokebonk .panel ul.build li { background: var(--card2); border-radius: 8px; padding: 5px 8px; }
.og-pokebonk .panel ul.build i { font-style: normal; margin-right: 4px; }
.og-pokebonk .panel ul.build b { color: var(--muted); font-size: 12px; }
.og-pokebonk .toggles label { display: inline-flex; gap: 6px; align-items: center; min-height: 40px; padding: 0 8px; font-size: 14px; }
.og-pokebonk .toggles input { width: 18px; height: 18px; accent-color: var(--yellow); }
.og-pokebonk .res-title { color: #ffd0c8; }
.og-pokebonk .res-title.win { color: var(--yellow); }
.og-pokebonk .res-top { display: flex; align-items: center; justify-content: center; gap: 14px; }
.og-pokebonk .res-top img { width: 88px; height: 88px; image-rendering: pixelated; }
.og-pokebonk .score { margin: 0; font: 900 40px/1 var(--head); color: var(--yellow); }
.og-pokebonk .res-top p { margin: 2px 0; text-align: left; }
.og-pokebonk .res-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0; }
.og-pokebonk .res-stats .chip { flex-direction: column; align-items: center; padding: 6px 4px; }
.og-pokebonk .res-stats .chip span { min-width: 0; font-size: 11px; }
.og-pokebonk .unlock { background: #1f3a2c; border: 1px solid #2f6b4c; border-radius: 10px; padding: 8px; font-size: 14px; margin: 8px 0; }
.og-pokebonk .post { text-align: left; background: rgba(0,0,0,0.2); border-radius: 12px; padding: 8px 12px; margin: 8px 0; }
.og-pokebonk .post .rank { margin: 2px 0 4px; font-weight: 700; }
.og-pokebonk .nick label { font-size: 14px; font-weight: 700; }
.og-pokebonk .nick input { flex: 1 1 150px; min-height: 44px; border-radius: 10px; border: 2px solid var(--line); background: #0e1424; color: var(--text); padding: 0 12px; font-size: 16px; }
.og-pokebonk .share-preview { margin: 8px 0 0; padding: 8px 10px; background: #0e1424; border-radius: 10px; font: 13px/1.45 ui-monospace, Consolas, monospace; text-align: left; white-space: pre-wrap; color: #dfe4ee; }
.og-pokebonk .loading { margin: 0; font: 700 16px/1.3 var(--head); }

/* yesterday */
.og-pokebonk .y-setup { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.og-pokebonk .y-setup img { width: 88px; height: 88px; image-rendering: pixelated; flex: none; }
.og-pokebonk .y-setup ul { list-style: none; padding: 0; margin: 0; }
.og-pokebonk .y-table { margin-top: 14px; }
.og-pokebonk .y-table td:first-child { color: var(--muted); width: 32px; }

/* contact form */
.og-pokebonk form[data-feedback-form] { display: grid; gap: 12px; margin-top: 16px; }
.og-pokebonk .fb-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .og-pokebonk .fb-row { grid-template-columns: 1fr; } }
.og-pokebonk .fb-field { display: grid; gap: 4px; }
.og-pokebonk .fb-field label { font-weight: 700; font-size: 14px; }
.og-pokebonk .fb-hint { color: var(--muted); font-weight: 400; }
.og-pokebonk .fb-field input,
.og-pokebonk .fb-field textarea { width: 100%; min-height: 44px; border-radius: 10px; border: 2px solid var(--line); background: #0e1424; color: var(--text); padding: 8px 12px; font: 16px/1.4 var(--body); }
.og-pokebonk .fb-field textarea { min-height: 150px; resize: vertical; }
.og-pokebonk form[data-feedback-form] .btn { justify-self: start; }

@media (prefers-reduced-motion: reduce) {
  .og-pokebonk .banner { transition: none; }
  .og-pokebonk .btn.primary:active { transform: none; }
}
