@import "https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Barlow+Condensed:wght@600;700&display=swap";:root{--bg:#111218;--surface:#1b1d26;--surface-2:#262936;--nav:#15161d;--border:#30333f;--text:#f2ecdf;--muted:#a8a293;--accent:#e2b04a;--accent-ink:#111218;--accent-soft:#3a3220;--good-bg:#2a2414;--bad:#e0574f;--bad-text:#f07a70;--bad-bg:#3a1a1c;--r:6px;--r-sm:5px;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:var(--bg);color:var(--text);-webkit-tap-highlight-color:transparent;font-family:Barlow,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{background:var(--bg);min-height:100%;margin:0}body{overscroll-behavior-y:none}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}h1,h2,h3,p{margin:0}.app{flex-direction:column;max-width:520px;min-height:100dvh;margin:0 auto;display:flex}.screen{padding:calc(16px + env(safe-area-inset-top)) 16px 96px;flex-direction:column;flex:1;gap:14px;display:flex}.nav{z-index:10;background:var(--nav);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom);grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.nav button{height:60px;color:var(--muted);background:0 0;border:0;font-size:14px}.nav button.on{color:var(--accent);font-weight:600}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);flex-direction:column;gap:12px;padding:16px;display:flex}.row{align-items:center;gap:8px;display:flex}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.col{flex-direction:column;gap:4px;display:flex}.grid2{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.grid3{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.muted{color:var(--muted)}.small{font-size:13px}.xsmall{font-size:12px}.eyebrow{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:12px;font-weight:500}.formula .eyebrow{color:var(--accent);font-weight:600}.title{font-size:20px;font-weight:600}.h2{font-size:16px;font-weight:600}.big{letter-spacing:.01em;font-family:Barlow Condensed,sans-serif;font-size:30px;font-weight:700;line-height:1.05}.huge{font-family:Barlow Condensed,sans-serif;font-size:44px;font-weight:700;line-height:1}.accent{color:var(--accent)}.tnum{font-variant-numeric:tabular-nums}.btn{border-radius:var(--r-sm);background:var(--surface-2);height:44px;color:var(--text);border:0;padding:0 14px;font-size:15px;font-weight:500}.btn.primary{background:var(--accent);color:var(--accent-ink);font-weight:600}.btn.ghost{border:1px solid var(--border);background:0 0}.btn.danger{background:var(--bad-bg);color:var(--bad-text)}.btn:disabled{opacity:.45}.icon-btn{width:44px;height:44px;padding:0;font-size:22px;font-weight:600}.seg{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-sm);gap:3px;padding:3px;display:flex}.seg button{height:44px;color:var(--text);white-space:nowrap;background:0 0;border:0;border-radius:4px;flex:1;padding:0 12px;font-size:14px}.seg button.on{background:var(--accent);color:var(--accent-ink);font-weight:600}.seg-sm button{flex:none;min-width:44px;height:44px;font-size:14px}.chip{background:var(--surface-2);min-width:44px;height:44px;color:var(--text);border:1px solid #0000;border-radius:4px;padding:0 12px;font-size:13px}.chip.on{background:var(--accent-soft);border-color:var(--accent)}.field{flex-direction:column;gap:4px;min-width:0;display:flex}.field label,.label{color:var(--muted);font-size:13px}.input-wrap{position:relative}input[type=text],input:not([type]),textarea,select{background:var(--bg);width:100%;height:48px;color:var(--text);border:1px solid var(--border);border-radius:var(--r-sm);padding:0 12px;font-size:18px;font-weight:600}input[type=time]{background:var(--bg);height:44px;color:var(--text);border:1px solid var(--border);border-radius:var(--r-sm);padding:0 10px;font-size:16px}textarea{resize:vertical;height:auto;min-height:88px;padding:10px 12px;font-size:15px;font-weight:400;line-height:1.4}input:focus,textarea:focus,select:focus{outline:2px solid var(--accent);outline-offset:-1px}.input-wrap input{padding-right:40px}.unit-suffix{color:var(--muted);pointer-events:none;font-size:13px;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.verdict{border-radius:var(--r-sm);border:1px solid;flex-direction:column;gap:4px;padding:12px 14px;display:flex}.verdict.good{background:var(--good-bg);border-color:var(--accent)}.verdict.good .verdict-title{color:var(--accent)}.verdict.bad{background:var(--bad-bg);border-color:var(--bad)}.verdict.bad .verdict-title{color:var(--bad-text)}.verdict-title{font-family:Barlow Condensed,sans-serif;font-size:22px;font-weight:700}.formula-row{flex-direction:column;gap:2px;font-size:14px;display:flex}.formula-row .muted{font-size:13px}.list-row{border-top:1px solid var(--border);flex-direction:column;gap:4px;padding:10px 0;display:flex}.empty{text-align:center;color:var(--muted);padding:24px 8px;font-size:14px;line-height:1.5}.sheet-backdrop{z-index:20;background:#0009;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--surface);border-top:1px solid var(--border);width:100%;max-width:520px;max-height:92dvh;padding:18px 16px calc(18px + env(safe-area-inset-bottom));border-radius:10px 10px 0 0;flex-direction:column;gap:14px;display:flex;overflow:auto}.play-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.play-head{gap:6px;min-width:0}.play-name{overflow-wrap:anywhere;line-height:1.2}.play-clock{font-family:Barlow Condensed,sans-serif;font-size:44px;font-weight:700;line-height:1}.play-nudges .btn{height:44px;padding:0 8px;font-size:14px}.play-pick{text-align:left;background:var(--surface-2);border-radius:var(--r-sm);width:100%;min-height:56px;color:var(--text);border:1px solid #0000;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.play-pick.on{border-color:var(--accent);background:var(--accent-soft)}.play-pick .play-title{font-size:15px;font-weight:600}.play-preview{max-height:150px;overflow:auto}.play-num{width:100%}.play-head-actions{flex:none;gap:6px}.play-switch{padding:0 10px}.play-nudges{grid-template-columns:1fr 1fr 1.5fr}.odds{flex-direction:column;gap:14px;display:flex}.odds .chip{min-height:44px}.odds-chips{gap:6px}.odds-chips .chip{padding:0 10px}.nowrap{white-space:nowrap}.odds-stepper{flex:none;align-items:center;gap:8px;display:flex}.odds-stepper output{text-align:center;white-space:nowrap;min-width:56px}.odds-stepper-suffix{color:var(--muted);font-size:16px}.odds-ref{flex-direction:column;display:flex}.odds-ref-row{border-top:1px solid var(--border);grid-template-columns:1.15fr .95fr 1.15fr .95fr;align-items:center;gap:6px;min-height:40px;padding:0 8px;font-size:15px;display:grid}.odds-ref-row span:not(:first-child){text-align:right}.odds-ref-head{border-top:0;min-height:28px}.odds-ref-head span{white-space:nowrap}.odds-ref-row.on{background:var(--accent-soft);border-radius:var(--r-sm);color:var(--accent);border-top-color:#0000;font-weight:600}.odds-ref-row.on+.odds-ref-row{border-top-color:#0000}.odds-grid-wrap{gap:8px}.odds-grid{grid-template-columns:repeat(13,minmax(0,1fr));gap:2px;display:grid}.odds-cell{aspect-ratio:1;background:var(--surface);min-width:0;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;border:0;border-radius:3px;justify-content:center;align-items:center;padding:0;font-family:Barlow Condensed,sans-serif;font-size:12px;font-weight:600;line-height:1;display:flex;overflow:hidden}.odds-cell small{opacity:.8;margin-top:3px;font-size:9px}.odds-cell.pair{background:var(--surface-2)}.odds-cell.in{background:var(--accent-soft);color:var(--text)}.odds-cell.sel{background:var(--accent);color:var(--accent-ink);font-weight:700}@media (width>=420px){.odds-cell{font-size:13px}.odds-cell small{font-size:10px}}.odds-pos{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.odds-pos .chip{white-space:nowrap;min-width:0;padding:0;font-size:13px}.back-link{height:44px;color:var(--accent);background:0 0;border:0;align-self:flex-start;padding:0 4px 0 0;font-size:15px;font-weight:500}.ellipsis{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.section-head{justify-content:space-between;align-items:center;gap:8px;min-height:44px;display:flex}.btn.sm{height:44px;padding:0 12px;font-size:14px}.chips{flex-wrap:wrap;gap:8px;display:flex}.chips .chip{height:44px}.seat-layout{width:100%;height:430px;position:relative}.seat-felt{background:var(--surface);border:2px solid var(--accent-soft);text-align:center;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex;position:absolute;inset:19% 23%}.seat{border-radius:var(--r-sm);background:var(--surface-2);border:1px solid var(--border);width:80px;min-height:62px;color:var(--text);text-align:center;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:6px 4px;font-size:14px;line-height:1.2;display:flex;position:absolute;transform:translate(-50%,-50%)}.seat>span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.seat>.seat-label{white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.15;display:-webkit-box}.seat-no{color:var(--muted);font-size:11px}.seat-label{font-weight:700}.seat-tag{color:var(--accent);font-size:12px}.seat.open{background:0 0;border-style:dashed}.seat.open .seat-plus{color:var(--accent);font-size:22px;font-weight:600;line-height:1}.seat.me{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.seat.me .seat-no{color:var(--accent-ink);opacity:.75}.seat.me .seat-label{font-size:16px}button.list-row{border:0;border-top:1px solid var(--border);width:100%;min-height:44px;color:var(--text);text-align:left;background:0 0;padding:10px 0}.list>.list-row:first-child{border-top:0;padding-top:2px}.list-row .line{justify-content:space-between;align-items:baseline;gap:10px;min-width:0;display:flex}.hand-text{overflow-wrap:anywhere;font-size:15px;line-height:1.35}.res-won{color:var(--accent);font-weight:600}.res-lost{color:var(--bad-text);font-weight:600}.res-folded{color:var(--muted)}.res-chopped{color:var(--text);font-weight:600}.msg-bad{color:var(--bad-text);font-size:13px}.file-input{display:none}
