/* Self-hosted Google Fonts (Archivo, JetBrains Mono) — no external CDN.
   Removes the third-party supply-chain + privacy dependency; see security audit M10. */
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(b2ae2ca293b6a49969f4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(784ec3dcea4a0db996f4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(577248e7dc1a9a584db2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(b2ae2ca293b6a49969f4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(784ec3dcea4a0db996f4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(577248e7dc1a9a584db2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(b2ae2ca293b6a49969f4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(784ec3dcea4a0db996f4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(577248e7dc1a9a584db2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(b2ae2ca293b6a49969f4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(784ec3dcea4a0db996f4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(577248e7dc1a9a584db2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(b2ae2ca293b6a49969f4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(784ec3dcea4a0db996f4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(577248e7dc1a9a584db2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(637f26e9c53403851a0e.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(2ee3d016144ac45fc2f3.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(10a25ef9bded5fe1da68.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(d9619108f594010cd168.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(cc283ca583f19d366ec6.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(46a60ae0a9bc7ea5c49d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(637f26e9c53403851a0e.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(2ee3d016144ac45fc2f3.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(10a25ef9bded5fe1da68.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(d9619108f594010cd168.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(cc283ca583f19d366ec6.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(46a60ae0a9bc7ea5c49d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(637f26e9c53403851a0e.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(2ee3d016144ac45fc2f3.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(10a25ef9bded5fe1da68.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(d9619108f594010cd168.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(cc283ca583f19d366ec6.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(46a60ae0a9bc7ea5c49d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(637f26e9c53403851a0e.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(2ee3d016144ac45fc2f3.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(10a25ef9bded5fe1da68.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(d9619108f594010cd168.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(cc283ca583f19d366ec6.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(46a60ae0a9bc7ea5c49d.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Design tokens shared with plo.gtolens.com (app/src/main/resources/static/css/app.css). */
:root {
  --bg-0: #121417;
  --bg-1: #16191e;
  --panel: #15181c;
  --panel-2: #1a1d22;
  --line: #23272e;
  --line-soft: #1f232a;

  --ink: #e7e9ec;
  --ink-dim: #aab2bc;
  --muted: #7e8893;

  --gold: #c4b04a;
  --gold-deep: #aa9436;
  --gold-glow: rgba(196, 176, 74, 0.16);

  /* actions: fold slate · check/call teal · bets light→deep gold · all-in copper */
  --c-fold: #4a5470;
  --c-check: #4a9d8e;
  --c-bet-1: #e0cf7a;
  --c-bet-2: #c4b04a;
  --c-bet-3: #a98f3a;
  --c-bet-4: #8c6f2c;
  --c-allin: #b8643a;

  --pos: #5cb6a4;
  --neg: #cc6b6b;

  /* 4-colour deck */
  --s-club: #4c945f;
  --s-diam: #3d77a8;
  --s-heart: #b9514e;
  --s-spade: #3a4049;

  --radius: 14px;
  --radius-s: 9px;
  --pad: clamp(14px, 4vw, 22px);

  --f-display: "Archivo", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.8);
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}

/* GTOLens NLH base layer — mobile-first, charcoal, gold/teal accents, mono data. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(1100px 640px at 50% -160px, #1b222a 0%, transparent 60%),
    var(--bg-0);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--gold-deep); color: #0a0f0c; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.page { padding: 14px var(--pad) calc(24px + var(--sab)); max-width: 1100px; margin: 0 auto; }
.screen { display: flex; flex-direction: column; gap: 14px; }

.h-display {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(22px, 6vw, 32px);
  line-height: 1.12;
  letter-spacing: .01em;
  margin: 6px 0 0;
}
.sub { color: var(--muted); font-size: 14px; margin: 0; max-width: 60ch; }
.group-h {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 4px 0 8px;
}
.hint { color: var(--muted); font-size: 13px; margin: 0; }
.error { color: var(--neg); font-size: 13px; margin: 0; }

.card {
  background: linear-gradient(170deg, var(--panel-2), var(--panel) 55%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: var(--gold);
  color: #181203;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 0 18px;
  min-height: 48px;
  cursor: pointer;
  transition: transform .12s, filter .15s;
  box-shadow: 0 6px 22px -8px rgba(227, 200, 120, .55);
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .5; cursor: default; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--gold-deep); }
.btn.wide { width: 100%; }

.iconbtn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink-dim);
  border-radius: 10px;
  min-height: 40px;
  min-width: 40px;
  padding: 0 12px;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}
.iconbtn:hover { border-color: var(--gold-deep); color: var(--ink); }
.iconbtn[aria-expanded="true"] { border-color: var(--gold); color: var(--gold); }

.seg {
  display: flex;
  flex-shrink: 0;
  gap: 4px;
  padding: 4px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-x: auto;
}
.seg button {
  flex: 1 0 auto;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-dim);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.seg button.on { background: var(--panel-2); color: var(--gold); box-shadow: inset 0 0 0 1px var(--line); }

input[type="number"], input[type="text"], input:not([type]), textarea {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--f-mono);
  font-size: 16px; /* ≥16px: no iOS zoom on focus */
}
input:focus, textarea:focus { border-color: var(--gold-deep); outline: none; }
[aria-invalid="true"] { border-color: var(--neg) !important; }
input[type="range"], input[type="checkbox"] { accent-color: var(--gold); }
input[type="checkbox"] { width: 20px; height: 20px; }

.cta-bar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: flex;
  gap: 10px;
  margin: 4px calc(-1 * var(--pad)) 0;
  padding: 12px var(--pad) calc(12px + var(--sab));
  background: linear-gradient(to top, var(--bg-0) 72%, transparent);
}
.cta-bar .btn { flex: 1; }

.desktop-only { display: none; }
@media (min-width: 900px) { .desktop-only { display: block; } }

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--gold);
  vertical-align: middle;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }


.topbar[data-v-a62d5b34] {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(10px + var(--sat)) var(--pad) 10px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand[data-v-a62d5b34] { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--ink); text-decoration: none;
}
.brand b[data-v-a62d5b34] { font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .04em;
}
.brand small[data-v-a62d5b34] { color: var(--gold); font-family: var(--f-display); font-size: 14px; font-weight: 700;
}
.chip-icon[data-v-a62d5b34] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--gold), var(--gold-deep));
  box-shadow: 0 4px 14px var(--gold-glow);
}
.chip-icon[data-v-a62d5b34]::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2b313a, #14161a 72%);
  box-shadow: inset 0 0 0 1.5px rgba(18, 20, 24, .6);
}
.chip-icon[data-v-a62d5b34]::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
}
.lang-wrap[data-v-a62d5b34] { position: relative;
}
.lang-scrim[data-v-a62d5b34] { position: fixed; inset: 0; z-index: 35;
}
.lang-menu[data-v-a62d5b34] {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  display: none;
  min-width: 170px;
  padding: 6px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow);
}
.lang-menu.open[data-v-a62d5b34] { display: block;
}
.lang-menu button[data-v-a62d5b34] {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 10px 12px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--ink-dim);
  font-size: 14px;
  cursor: pointer;
}
.lang-menu button[data-v-a62d5b34]:hover { background: var(--panel); color: var(--ink);
}
.lang-menu button[aria-current="true"][data-v-a62d5b34] { color: var(--gold);
}
.lang-menu button[aria-current="true"][data-v-a62d5b34]::after { content: "●"; font-size: 9px;
}


.stepper[data-v-2195c5ec] { display: flex; gap: 6px; max-width: 1100px; margin: 0 auto; padding: 10px var(--pad) 0;
}
.stepper button[data-v-2195c5ec] {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  min-width: 0;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.n[data-v-2195c5ec] {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--bg-1);
  font-family: var(--f-mono);
  font-size: 11px;
}
.done[data-v-2195c5ec] { color: var(--ink-dim);
}
.done .n[data-v-2195c5ec] { background: var(--c-check); color: #0d1512;
}
.on[data-v-2195c5ec] { color: var(--gold); border-color: var(--gold-deep);
}
.on .n[data-v-2195c5ec] { background: var(--gold); color: #181203;
}
.stepper button[data-v-2195c5ec]:disabled { opacity: .45; cursor: default;
}
@media (max-width: 460px) {
.l[data-v-2195c5ec] { display: none;
}
.on .l[data-v-2195c5ec] { display: inline; overflow: hidden; text-overflow: ellipsis;
}
.on[data-v-2195c5ec] { flex: 2.4 1 0;
}
}


.cc[data-v-943473de] {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 6px;
  color: #fff;
  font-family: var(--f-mono);
  line-height: 1;
  user-select: none;
}
.cc b[data-v-943473de] { font-weight: 800;
}
.cc i[data-v-943473de] { font-style: normal; font-size: .78em; opacity: .92;
}
.sm[data-v-943473de] { width: 22px; height: 28px; font-size: 12px; border-radius: 4px;
}
.md[data-v-943473de] { width: 32px; height: 42px; font-size: 16px;
}
.lg[data-v-943473de] { width: 46px; height: 60px; font-size: 21px; border-radius: 8px;
}
.s-club[data-v-943473de] { background: var(--s-club);
}
.s-diam[data-v-943473de] { background: var(--s-diam);
}
.s-heart[data-v-943473de] { background: var(--s-heart);
}
.s-spade[data-v-943473de] { background: var(--s-spade);
}
.empty[data-v-943473de] { background: transparent; border: 1.5px dashed var(--line);
}


.picker[data-v-2e115120] { display: flex; flex-direction: column; gap: 4px;
}
.prow[data-v-2e115120] { display: grid; grid-template-columns: repeat(13, 1fr); gap: 3px;
}
.pc[data-v-2e115120] {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-family: var(--f-mono);
  font-size: clamp(11px, 3.2vw, 15px);
  line-height: 1.05;
  opacity: .82;
  cursor: pointer;
  transition: transform .1s, opacity .1s, box-shadow .1s;
}
.pc b[data-v-2e115120] { font-weight: 800;
}
.pc i[data-v-2e115120] { font-style: normal; font-size: .8em;
}
.pc[data-v-2e115120]:hover { opacity: 1;
}
.pc.sel[data-v-2e115120] { opacity: 1; transform: translateY(-2px); box-shadow: 0 0 0 2px var(--gold), 0 0 12px var(--gold-glow);
}
.pc[data-v-2e115120]:disabled { opacity: .16; cursor: default;
}
.s-club[data-v-2e115120] { background: var(--s-club);
}
.s-diam[data-v-2e115120] { background: var(--s-diam);
}
.s-heart[data-v-2e115120] { background: var(--s-heart);
}
.s-spade[data-v-2e115120] { background: var(--s-spade);
}
.mark[data-v-2e115120] { position: absolute; left: 3px; right: 3px; bottom: 3px; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(0, 0, 0, .35);
}
.mark span[data-v-2e115120] { display: block; height: 100%; background: var(--gold);
}


.slots[data-v-781ec2ce] { display: flex; justify-content: center; gap: 18px;
}
.street[data-v-781ec2ce] { display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.street small[data-v-781ec2ce] { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.cards[data-v-781ec2ce] { display: flex; gap: 6px;
}
.tools[data-v-781ec2ce] { display: flex; gap: 10px;
}
.tools .btn[data-v-781ec2ce] { flex: 1; min-height: 44px;
}


.summary .line[data-v-145b0821] { display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.summary .line b[data-v-145b0821] { font-family: var(--f-display); font-size: 17px;
}
.summary .hint[data-v-145b0821] { margin-top: 6px; font-family: var(--f-mono);
}
.board[data-v-145b0821] { display: flex; gap: 4px;
}
.setup[data-v-145b0821], .problem[data-v-145b0821], .done[data-v-145b0821] { display: flex; flex-direction: column; gap: 10px; align-items: stretch;
}
.warn[data-v-145b0821] { color: var(--gold);
}
.adv summary[data-v-145b0821] { cursor: pointer; color: var(--ink-dim); font-size: 14px;
}
.adv label[data-v-145b0821] { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px;
}
.adv input[data-v-145b0821] { max-width: 100px;
}
.progress[data-v-145b0821] { display: flex; flex-direction: column; gap: 12px;
}
.status[data-v-145b0821] { display: flex; align-items: center; gap: 10px;
}
.bar[data-v-145b0821] { height: 8px; overflow: hidden; border-radius: 99px; background: var(--bg-1);
}
.bar span[data-v-145b0821] { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transition: width .4s;
}
.stats[data-v-145b0821] { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--ink-dim); font-family: var(--f-mono); font-size: 13px;
}
.done b[data-v-145b0821] { color: var(--c-check); font-family: var(--f-display); font-size: 17px;
}


.mini[data-v-7db1384c] { display: grid; grid-template-columns: repeat(13, 1fr); gap: 1px; width: 56px; aspect-ratio: 1;
}
.mini i[data-v-7db1384c] { background: var(--gold); border-radius: 1px;
}


.preset[data-v-35f25248] {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.preset[data-v-35f25248]:hover { border-color: var(--gold-deep);
}
.preset.on[data-v-35f25248] { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow);
}
.title[data-v-35f25248] { font-family: var(--f-display); font-weight: 800; font-size: 17px;
}
.meta[data-v-35f25248] { grid-column: 1; color: var(--muted); font-family: var(--f-mono); font-size: 12px;
}
.ranges[data-v-35f25248] { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 8px;
}
.rm[data-v-35f25248] { display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.rm small[data-v-35f25248] { color: var(--muted); font-family: var(--f-mono); font-size: 10px;
}


.sizes[data-v-4f819972] { display: flex; flex-direction: column; gap: 14px;
}
.grid[data-v-4f819972] { display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px 10px; align-items: start;
}
.colh[data-v-4f819972] { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.rowh[data-v-4f819972] { padding-top: 11px; font-weight: 700; font-size: 14px;
}
.cell[data-v-4f819972] { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-dim);
}
.check[data-v-4f819972] { display: flex; align-items: center; gap: 10px; font-size: 14px;
}
.donks[data-v-4f819972] { display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.help[data-v-4f819972] { color: var(--ink-dim); font-size: 13px;
}
.help summary[data-v-4f819972] { cursor: pointer; color: var(--gold); font-weight: 600;
}
.help ul[data-v-4f819972] { margin: 8px 0 0; padding-left: 18px;
}


.backdrop[data-v-d044359c] {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(6, 8, 10, .62);
}
.sheet[data-v-d044359c] {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 720px;
  max-height: 90dvh;
  background: var(--panel);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: var(--shadow);
}
.head[data-v-d044359c] { display: flex; align-items: center; gap: 10px; padding: 14px var(--pad) 10px; border-bottom: 1px solid var(--line-soft);
}
.head h2[data-v-d044359c] { flex: 1; margin: 0; font-family: var(--f-display); font-size: 17px; font-weight: 800;
}
.body[data-v-d044359c] { flex: 1; overflow-y: auto; padding: 14px var(--pad); display: flex; flex-direction: column; gap: 14px;
}
.foot[data-v-d044359c] { padding: 10px var(--pad) calc(12px + var(--sab)); border-top: 1px solid var(--line-soft);
}
@media (min-width: 900px) {
.backdrop[data-v-d044359c] { align-items: center;
}
.sheet[data-v-d044359c] { border-radius: 18px; border-bottom: 1px solid var(--line);
}
}
.sheet-enter-active[data-v-d044359c], .sheet-leave-active[data-v-d044359c] { transition: opacity .2s;
}
.sheet-enter-active .sheet[data-v-d044359c], .sheet-leave-active .sheet[data-v-d044359c] { transition: transform .22s cubic-bezier(.2, .7, .25, 1);
}
.sheet-enter-from[data-v-d044359c], .sheet-leave-to[data-v-d044359c] { opacity: 0;
}
.sheet-enter-from .sheet[data-v-d044359c], .sheet-leave-to .sheet[data-v-d044359c] { transform: translateY(40px);
}


.range-editor[data-v-ed01bce0] { display: flex; flex-direction: column; gap: 12px;
}
.grid[data-v-ed01bce0] {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  touch-action: none;
  user-select: none;
}
.c[data-v-ed01bce0] {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--panel);
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: clamp(7px, 2.2vw, 12px);
  font-weight: 700;
  cursor: pointer;
}
.c.on[data-v-ed01bce0] { color: #181203;
}
.row[data-v-ed01bce0] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.row .btn[data-v-ed01bce0] { flex: 1;
}
.weight[data-v-ed01bce0] { display: flex; align-items: center; gap: 8px; font-size: 14px;
}
.weight b[data-v-ed01bce0] { font-family: var(--f-mono); min-width: 4ch;
}
.count[data-v-ed01bce0] { color: var(--muted); font-family: var(--f-mono); font-size: 13px;
}
.text[data-v-ed01bce0] { display: flex; flex-direction: column; gap: 6px; font-size: 14px;
}


.form[data-v-add2d20e] { display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.form label[data-v-add2d20e] { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-dim);
}
.form .hint[data-v-add2d20e] { grid-column: 1 / -1;
}


.preset-grid[data-v-3965e7ac] { display: grid; gap: 10px; grid-template-columns: 1fr;
}
@media (min-width: 700px) {
.preset-grid[data-v-3965e7ac] { grid-template-columns: 1fr 1fr;
}
}
@media (min-width: 1000px) {
.preset-grid[data-v-3965e7ac] { grid-template-columns: repeat(4, 1fr);
}
}
.tree-hint[data-v-3965e7ac] { margin-top: 10px;
}
.custom[data-v-3965e7ac] { color: var(--gold);
}


.acts[data-v-88228c62] { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px;
}
.act[data-v-88228c62] {
  display: grid;
  grid-template-columns: 6px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 12px 0 0;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  cursor: pointer;
}
.act[data-v-88228c62]:hover { border-color: var(--c);
}
.act[data-v-88228c62]:disabled { opacity: .6; cursor: progress;
}
.sw[data-v-88228c62] { align-self: stretch; background: var(--c);
}
.nm[data-v-88228c62] { font-weight: 700; font-size: 14px;
}
.fr[data-v-88228c62] { color: var(--ink-dim); font-family: var(--f-mono); font-size: 13px;
}


.mix[data-v-3b3b6e58] { display: flex; height: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 99px; background: var(--bg-1);
}
.mix span[data-v-3b3b6e58] { height: 100%; transition: width .25s;
}


.wrap[data-v-29c9e69c] { overflow-x: auto;
}
table[data-v-29c9e69c] { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: 13px;
}
th[data-v-29c9e69c] { position: sticky; top: 0; padding: 6px 8px; background: var(--panel); color: var(--muted); font-size: 11px; font-weight: 600; text-align: right; white-space: nowrap;
}
th[data-v-29c9e69c]:first-child, td[data-v-29c9e69c]:first-child { text-align: left;
}
td[data-v-29c9e69c] { padding: 6px 8px; border-top: 1px solid var(--line-soft); text-align: right; white-space: nowrap;
}
.hand[data-v-29c9e69c] { display: flex; gap: 3px;
}
.sw[data-v-29c9e69c] { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px;
}


.wrap[data-v-94993980] { max-height: 60vh; overflow: auto; border: 1px solid var(--line); border-radius: 10px;
}
table[data-v-94993980] { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: 12.5px;
}
th[data-v-94993980] { position: sticky; top: 0; z-index: 1; background: var(--panel-2); text-align: right;
}
th button[data-v-94993980] { width: 100%; padding: 8px; border: 0; background: none; color: var(--muted); font-size: 11px; font-weight: 600; text-align: inherit; white-space: nowrap; cursor: pointer;
}
th[data-v-94993980]:first-child, td[data-v-94993980]:first-child { text-align: left;
}
td[data-v-94993980] { padding: 6px 8px; border-top: 1px solid var(--line-soft); text-align: right; white-space: nowrap;
}
tbody tr[data-v-94993980] { cursor: pointer;
}
tbody tr[data-v-94993980]:hover { background: var(--panel-2);
}
.hand[data-v-94993980] { font-weight: 700;
}
.sw[data-v-94993980] { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px;
}


.crumbs[data-v-f5456d70] { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none;
}
.crumb[data-v-f5456d70] {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--panel);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
}
.crumb small[data-v-f5456d70] { color: var(--muted); font-size: 11px;
}
.crumb.card[data-v-f5456d70] { padding: 0 5px;
}
.crumb[data-v-f5456d70]:disabled { border-color: var(--gold-deep); color: var(--gold); cursor: default;
}


.matrix[data-v-a6e168d2] {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line-soft);
}
.m[data-v-a6e168d2] {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--panel);
  color: #fff;
  font-family: var(--f-mono);
  font-size: clamp(7px, 2.3vw, 12px);
  cursor: pointer;
}
.fill[data-v-a6e168d2] { position: absolute; left: 0; right: 0; bottom: 0; height: var(--fill, 0); background: var(--bg, transparent);
}
.lbl[data-v-a6e168d2] { position: relative; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
}
.val[data-v-a6e168d2] { position: absolute; right: 2px; bottom: 1px; font-size: .78em; text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
}
.m.off[data-v-a6e168d2] { color: var(--muted); opacity: .4; cursor: default;
}


.info[data-v-40b9e2f6] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--ink-dim); font-size: 13px;
}
.info b[data-v-40b9e2f6] { color: var(--ink); font-family: var(--f-mono);
}
.board[data-v-40b9e2f6] { display: flex; gap: 4px;
}
.actor[data-v-40b9e2f6] { margin: 0; font-family: var(--f-display); font-size: 18px; font-weight: 800;
}
.layout[data-v-40b9e2f6] { display: grid; gap: 14px;
}
.col[data-v-40b9e2f6] { display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
@media (min-width: 900px) {
.layout[data-v-40b9e2f6] { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start;
}
}
.terminal[data-v-40b9e2f6] { display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.terminal p[data-v-40b9e2f6] { margin: 0;
}

