@font-face{font-family:Barlow Semi Condensed;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/9c7c506f9df66edc-s.p.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}@font-face{font-family:Barlow Semi Condensed;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/2d08189da4797f3f-s.p.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}@font-face{font-family:Barlow Semi Condensed;font-style:normal;font-weight:400;font-display:swap;src:url(/_next/static/media/a13ffa50c0e6dcb7-s.p.woff2) format("woff2");unicode-range:u+00??,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}@font-face{font-family:Barlow Semi Condensed;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/46f2c2342f85e478-s.p.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}@font-face{font-family:Barlow Semi Condensed;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/6d07ee9160e6fd52-s.p.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}@font-face{font-family:Barlow Semi Condensed;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/b4796fdbb42263df-s.p.woff2) format("woff2");unicode-range:u+00??,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}@font-face{font-family:Barlow Semi Condensed;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/d294f1e349318783-s.p.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}@font-face{font-family:Barlow Semi Condensed;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/c465e14413247d80-s.p.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}@font-face{font-family:Barlow Semi Condensed;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/52f8cf394b3641e4-s.p.woff2) format("woff2");unicode-range:u+00??,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}@font-face{font-family:Barlow Semi Condensed;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/fa64e74b88370ed1-s.p.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}@font-face{font-family:Barlow Semi Condensed;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/6b99d524c7bef2f7-s.p.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}@font-face{font-family:Barlow Semi Condensed;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/2afc1581e19cce3f-s.p.woff2) format("woff2");unicode-range:u+00??,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}@font-face{font-family:Barlow Semi Condensed;font-style:normal;font-weight:800;font-display:swap;src:url(/_next/static/media/943b7ce34d516160-s.p.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}@font-face{font-family:Barlow Semi Condensed;font-style:normal;font-weight:800;font-display:swap;src:url(/_next/static/media/26e7489ae3006ea1-s.p.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}@font-face{font-family:Barlow Semi Condensed;font-style:normal;font-weight:800;font-display:swap;src:url(/_next/static/media/b8f40afd9984b39c-s.p.woff2) format("woff2");unicode-range:u+00??,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}@font-face{font-family:Barlow Semi Condensed Fallback;src:local("Arial");ascent-override:115.49%;descent-override:23.10%;line-gap-override:0.00%;size-adjust:86.59%}.__className_0d74c4{font-family:Barlow Semi Condensed,Barlow Semi Condensed Fallback;font-style:normal}*,:after,:before{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}button,input,select,textarea{font:inherit}button{color:inherit;background:transparent;border:none;padding:0;appearance:none;-webkit-appearance:none;-moz-appearance:none}:root{--color-bg:#f2e6dc;--color-bg-strong:#eee4da;--color-card:#fffaf7;--color-card-soft:#fff9f5;--color-text:#38322e;--color-heading:#050505;--color-text-strong:#333;--color-subtext:#70655c;--color-muted:#a3988f;--color-border:#e8bd94;--color-border-control:#d8c9b7;--color-border-focus:#f2bc95;--color-border-soft:#e3e0dd;--color-brand:#93653f;--color-brand-dark:#7f5635;--color-accent:#f1a625;--color-success:#4caf67;--color-danger:#bb6250;--color-danger-strong:#ff666b;--color-action-soft:#efe4cf;--color-action-text:#7e5b38;--color-white:#fff;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:38px;--radius-xs:4px;--radius-sm:8px;--radius-md:12px;--radius-lg:18px;--radius-xl:22px;--radius-pill:999px;--radius-round:50%;--shadow-card:0 2px 8px rgba(0,0,0,0.05);--shadow-nav:0 -4px 8px rgba(0,0,0,0.08);--shadow-sticky:2px 0 2px rgba(0,0,0,0.11);--font-main:var(--font-barlow),"Barlow",Arial,sans-serif;--font-display:var(--font-main);--font-ui:var(--font-main);--font-mono:Georgia,serif;--bg:var(--color-bg);--paper:var(--color-card);--paper-strong:var(--color-card);--header:var(--color-brand);--header-dark:var(--color-brand-dark);--ink:var(--color-text);--ink-soft:var(--color-subtext);--line:rgba(113,79,44,0.18);--accent:#2f7d4c;--accent-soft:#e8f1df;--danger:var(--color-danger);--gold:#dcae3a;--shadow:var(--shadow-card);--r:var(--radius-xl);--rs:var(--radius-md)}.theme-light{--bg:#f7efde}#root,body,html{height:100%}body{color:var(--color-text);background:var(--color-bg);font-family:var(--font-main);-webkit-font-smoothing:antialiased}h1,h2,h3,strong{font-weight:700}.app-shell{position:relative;min-height:100%;max-width:430px;margin:0 auto;background:transparent}.app-shell.screen-game,.app-shell.screen-history,.app-shell.screen-setup{max-width:600px;min-height:100%;background:var(--color-bg)}.screen{min-height:100%;overflow-y:auto;padding-bottom:88px}.screen-inner{padding:16px}.history-detail-screen,.history-screen,.home-screen,.score-entry-screen{min-height:852px;overflow-x:hidden;background:var(--color-bg);font-family:var(--font-main)}.history-detail-screen,.history-screen,.home-screen{padding-bottom:72px}.score-grid-wrap{overflow-x:auto;padding-bottom:var(--space-1)}.score-grid{display:grid;grid-gap:10px 12px;gap:10px 12px;align-items:center}.score-grid-sticky{position:-webkit-sticky;position:sticky;left:0;z-index:2;background:rgba(255,252,244,.98);box-shadow:10px 0 12px -14px rgba(93,65,40,.65)}.score-board-scroll{overflow-y:hidden}.grid-spacer{width:8px}.score-grid-sticky-header{z-index:3}.score-grid-header{color:#705233;font-size:16px;font-weight:700;text-align:center}.player-header{display:flex;flex-direction:column;gap:6px;align-items:center}.score-grid-label,.score-grid-total{color:#6e4f2f;font-size:16px;font-weight:700;padding:var(--space-2) 0}.score-grid-cell{display:flex;justify-content:center;padding:0 4px}.score-grid-winner{display:flex;align-items:center;justify-content:center;gap:var(--space-2);color:#7a552d;font-size:24px}@media (max-width:420px){.score-grid{grid-template-columns:minmax(92px,1fr) repeat(auto-fit,minmax(70px,1fr))}}.btn,.filter-button,.picker-close-btn,.score-back-btn,.score-close-btn,.score-menu-btn,.setup-back-btn,.setup-circle-btn{display:grid;place-items:center;border:0;cursor:pointer}.btn,.picker-close-btn,.score-back-btn,.score-close-btn,.score-menu-btn,.setup-back-btn,.setup-circle-btn{border-radius:var(--radius-round)}.score-back-btn,.score-menu-btn{width:44px;height:44px}.score-back-btn{background:var(--color-card);color:var(--color-brand)}.score-menu-btn{justify-self:end;background:transparent;color:var(--color-card)}.score-back-btn svg,.score-menu-btn svg{width:27px;height:27px;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.score-back-btn svg{fill:none;stroke:currentColor}.score-menu-btn svg{fill:currentColor;stroke:none}.score-close-btn,.setup-back-btn{width:48px;height:48px;background:var(--color-card);color:var(--color-brand)}.picker-close-btn,.score-close-btn{justify-self:end}.picker-close-btn svg,.score-close-btn svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}.setup-back-btn svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.setup-circle-btn{width:24px;height:24px;flex:0 0 24px;color:var(--color-white);background-color:transparent}.setup-circle-btn.add{background:var(--color-success)}.setup-circle-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round}.btn-primary,.player-picker-submit,.score-save-btn,.setup-start-btn{border:0;cursor:pointer;font-weight:700}.btn-primary{width:100%;border-radius:14px;padding:var(--space-4) var(--space-lg,18px);background:linear-gradient(180deg,#3f9361,#2f7d4c);color:#fff8ec;font-size:20px;box-shadow:0 10px 18px rgba(47,125,76,.22)}.secondary-mini{padding:0 var(--space-4);border:1px solid #dbc7ae;border-radius:var(--radius-md);background:linear-gradient(180deg,#fffef8,var(--color-action-soft));color:var(--color-action-text);font-size:16px;font-weight:700;white-space:nowrap;cursor:pointer}.empty-state{color:var(--color-subtext);font-size:15px;line-height:1.4}.game-card{width:100%;min-height:104px;display:grid;grid-template-columns:80px minmax(0,1fr);grid-gap:var(--space-4);gap:var(--space-4);align-items:center;border:0;border-radius:var(--radius-md);background:var(--color-card-soft);box-shadow:var(--shadow-card);color:inherit;cursor:pointer;padding:var(--space-3) var(--space-4) var(--space-3) var(--space-3);text-align:left}.game-card--history{grid-template-columns:80px minmax(0,1fr);padding-right:var(--space-2)}.game-card-thumb{width:80px;height:80px;display:grid;place-items:center;justify-self:start;border-radius:var(--radius-xs);overflow:hidden;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}.game-card-thumb img{display:block;width:100%;height:100%;object-fit:cover}.game-card-thumb span{color:rgba(255,252,244,.95);font-size:18px;line-height:20px;font-weight:700;letter-spacing:1px;text-shadow:0 2px 8px rgba(0,0,0,.28)}.game-card-info{min-width:0;align-self:center;display:flex;flex-direction:column;gap:var(--space-1)}.game-card-info h2{display:-webkit-box;max-height:40px;overflow:hidden;color:var(--color-text);font-size:18px;line-height:20px;font-weight:700;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.game-card-info p{color:var(--color-subtext);font-size:14px;line-height:15px;font-weight:400}.game-card--history .game-card-info{gap:4px}.game-card--history .game-card-info p,.game-card--history .history-winner-line{line-height:15px}.game-card-skeleton{grid-template-columns:80px minmax(0,1fr);cursor:default;pointer-events:none}.game-card-skeleton .game-card-thumb,.game-card-skeleton-line{background:linear-gradient(90deg,var(--color-card-soft) 0,#f7ede5 45%,var(--color-card-soft) 90%);background-size:220% 100%;animation:game-card-skeleton-pulse 1.4s ease-in-out infinite}.game-card-skeleton .game-card-info{gap:var(--space-2)}.game-card-skeleton-line{display:block;width:72%;height:15px;border-radius:var(--radius-pill)}.game-card-skeleton-line.title{width:84%;height:20px}.game-card-skeleton-line.short{width:48%}@keyframes game-card-skeleton-pulse{0%{background-position:120% 0}to{background-position:-120% 0}}.loading-shell{position:relative}.loading-overlay{position:fixed;inset:0;z-index:40;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3);background:rgba(242,230,220,.7);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.loading-overlay.inline{position:absolute;border-radius:var(--radius-lg)}.loading-overlay-spinner{width:28px;height:28px;border:3px solid rgba(140,97,59,.2);border-top:3px solid var(--color-brand);border-radius:999px;animation:loading-overlay-spin .7s linear infinite}.loading-overlay-text{color:var(--color-text-strong);font-size:14px;line-height:1.2;font-weight:700}@keyframes loading-overlay-spin{to{transform:rotate(1turn)}}.confirm-backdrop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:var(--space-5);background:rgba(0,0,0,.32)}.confirm-dialog{width:min(345px,100%);border-radius:var(--radius-lg);background:var(--color-card);box-shadow:0 18px 48px rgba(0,0,0,.18);padding:var(--space-5)}.confirm-dialog h2{color:var(--color-text);font-size:22px;line-height:1.15}.confirm-dialog p{margin-top:var(--space-3);color:var(--color-subtext);font-size:16px;line-height:1.35}.confirm-subtext{color:var(--color-muted)!important;font-size:14px!important}.confirm-actions{display:grid;grid-template-columns:1fr 1fr;grid-gap:var(--space-3);gap:var(--space-3);margin-top:var(--space-5)}.confirm-danger,.confirm-secondary{min-height:44px;border:0;border-radius:var(--radius-md);cursor:pointer;font-weight:700}.confirm-secondary{background:var(--color-action-soft);color:var(--color-action-text)}.confirm-danger{background:var(--color-danger);color:var(--color-white)}.confirm-danger:disabled,.confirm-secondary:disabled{cursor:not-allowed;opacity:.7}.bottom-nav{position:fixed;left:50%;bottom:0;z-index:20;width:min(430px,100vw);transform:translateX(-50%);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:0;gap:0;background:var(--color-white);padding:10px 18px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -10px 28px rgba(93,65,40,.14);touch-action:manipulation}.bottom-nav:before{content:none}.bottom-nav-item{display:flex;flex-direction:column;align-items:center;gap:var(--space-1);border:0;border-radius:0;background:transparent;color:rgba(0,0,0,.58);font-size:13px;font-weight:400;padding:6px 8px 0;cursor:pointer;-moz-user-select:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;text-decoration:none}.bottom-nav-item:active{transform:translateY(1px)}.bottom-nav-item span{width:28px;height:28px;display:grid;place-items:center;pointer-events:none}.bottom-nav-item svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.bottom-nav-item:first-child svg{fill:currentColor;stroke:none}.bottom-nav-item.active{background:transparent;color:var(--color-brand)}.app-shell.screen-history .bottom-nav,.app-shell.screen-setup .bottom-nav{width:min(600px,100vw);height:calc(56px + env(safe-area-inset-bottom));padding:0 0 env(safe-area-inset-bottom);background:var(--color-white);box-shadow:var(--shadow-nav)}.app-shell.screen-history .bottom-nav:before,.app-shell.screen-setup .bottom-nav:before{top:0;width:33.333%;height:2px;transform:none;opacity:0}.app-shell.screen-setup .bottom-nav:before{left:0}.app-shell.screen-history .bottom-nav:before{left:33.333%}.app-shell.screen-history .bottom-nav-item,.app-shell.screen-setup .bottom-nav-item{height:56px;justify-content:center;gap:2px;padding:8px 4px 6px;color:var(--color-subtext);font-size:12px;line-height:14px}.app-shell.screen-history .bottom-nav-item span,.app-shell.screen-setup .bottom-nav-item span{width:24px;height:24px}.app-shell.screen-history .bottom-nav-item svg,.app-shell.screen-setup .bottom-nav-item svg{width:22px;height:22px;stroke-width:1.7}.app-shell.screen-history .bottom-nav-item.active,.app-shell.screen-setup .bottom-nav-item.active{color:var(--color-brand);border-top:2px solid var(--color-brand);padding-top:6px}.home-search-panel{display:flex;flex-direction:column;gap:var(--space-3)}.search-bar{position:relative;height:48px;display:grid;grid-template-columns:52px 1fr 1px 56px;align-items:center;background:var(--color-card);border-radius:var(--radius-md);overflow:hidden}.search-bar input{min-width:0;padding-right:38px;border:0;outline:0;background:transparent;color:var(--color-text);font-size:20px;font-weight:400}.search-bar--plain{grid-template-columns:40px minmax(0,1fr)}.search-clear-button{position:absolute;right:10px;z-index:1;width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:var(--radius-round);color:#000;opacity:1}.search-clear-button--with-filter{right:60px}.search-clear-button:focus-visible,.search-clear-button:hover{opacity:.9;background:rgba(23,17,13,.06)}.search-bar input::placeholder{color:rgba(23,17,13,.4)}.filter-button,.search-icon{display:grid;place-items:center}.search-icon{color:rgba(23,17,13,.42)}.search-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.search-divider{width:1px;height:56px;background:rgba(23,17,13,.12)}.filter-button{width:56px;height:56px;background:transparent;color:#282828}.filter-button svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linejoin:round}.filter-button.active{color:var(--color-brand)}.filter-panel{gap:var(--space-3);border:1px solid rgba(167,125,79,.12);border-radius:var(--radius-lg);background:rgba(255,250,247,.92);padding:var(--space-3)}.filter-field,.filter-panel{display:flex;flex-direction:column}.filter-field{gap:var(--space-2)}.filter-field span,.filter-label{color:var(--color-subtext);font-size:13px;font-weight:700}.filter-field select{width:100%;border:1px solid var(--color-border-control);border-radius:var(--radius-md);outline:0;background:var(--color-white);color:var(--color-text);padding:var(--space-3) 14px;font-size:15px}.history-content .home-search-panel,.home-screen .home-search-panel{gap:var(--space-3)}.history-content .search-bar,.home-screen .search-bar{height:48px;grid-template-columns:40px minmax(0,1fr) 1px 55px;border-radius:var(--radius-md);background:var(--color-card-soft);box-shadow:var(--shadow-card)}.history-content .search-bar input,.home-screen .search-bar input{height:48px;color:var(--color-text);font-size:18px;line-height:20px;font-weight:400}.history-content .search-bar input::placeholder,.home-screen .search-bar input::placeholder{color:var(--color-muted);opacity:1}.history-content .search-icon svg,.home-screen .search-icon svg{width:24px;height:24px;stroke:var(--color-muted);stroke-width:1.5}.history-content .search-divider,.home-screen .search-divider{height:48px;background:var(--color-border-soft)}.history-content .filter-button,.home-screen .filter-button{width:56px;height:48px;color:var(--color-text)}.history-content .filter-button svg,.home-screen .filter-button svg{width:24px;height:24px;stroke-width:1.8}.history-filter-panel,.home-screen .filter-panel{border-radius:var(--radius-md);background:var(--color-card-soft);box-shadow:var(--shadow-card)}.toast{position:fixed;left:50%;bottom:calc(82px + env(safe-area-inset-bottom));z-index:100;max-width:min(345px,calc(100vw - 32px));transform:translate(-50%,12px);border-radius:var(--radius-pill);background:rgba(56,50,46,.94);color:var(--color-white);padding:10px var(--space-4);font-size:14px;font-weight:700;opacity:0;pointer-events:none;transition:opacity .16s ease,transform .16s ease}.toast.show{transform:translate(-50%);opacity:1}.login-screen .login-content{display:flex;flex-direction:column;justify-content:center;min-height:calc(100vh - 120px)}.login-card{padding:18px 16px;display:grid;grid-gap:16px;gap:16px}.login-card.forgot{gap:32px}.login-card h1{color:var(--color-text-strong);font-weight:600;font-size:28px;letter-spacing:16%;text-transform:uppercase;text-align:center}.login-form{display:grid;grid-gap:16px;gap:16px}.login-form input{min-height:48px;border-radius:var(--radius-md);border:1px solid var(--color-border-focus);background:var(--color-card);color:var(--color-text);padding:0 12px;font-size:15px}.input-with-icon{position:relative;display:block}.input-with-icon input{width:100%;padding-left:52px;padding-right:16px}.input-icon{position:absolute;top:50%;width:24px;height:24px;transform:translateY(-50%);pointer-events:none}.input-icon.left{left:16px}.input-icon svg{width:100%;height:100%}.input-icon-btn{position:absolute;top:50%;right:10px;width:26px;height:26px;transform:translateY(-50%);border:0;border-radius:999px;background:transparent;color:#8b7a63;display:grid;place-items:center;cursor:pointer}.input-icon-btn svg{width:18px;height:18px}.login-submit-btn{margin-top:4px}.forgot-link-btn{justify-self:center;width:-moz-fit-content;width:fit-content;padding:0;border:0;background:transparent;color:var(--color-brand);font-size:16px;text-decoration:underline;cursor:pointer}.forgot-back-btn{justify-self:start}.txt-forgot{color:var(--color-text);font-size:16px;text-align:center}.history-brandbar,.history-detail-header,.home-header,.score-entry-screen .score-topbar{height:56px;min-height:56px;background:var(--color-brand);color:var(--color-white);box-shadow:0 2px 2px rgba(105,105,105,.08)}.history-brandbar,.home-header{display:grid;place-items:center}.home-header{padding:0 48px;text-align:center}.home-logo{color:var(--color-white);font-size:24px;line-height:20px;font-weight:700;letter-spacing:2px}.home-content,.home-game-list,.home-game-section{display:flex;flex-direction:column;gap:var(--space-3)}.home-screen .home-content{padding:var(--space-3) var(--space-4) var(--space-4)}.home-empty-state{gap:14px;align-items:stretch}.genre-filter,.home-empty-state{display:flex;flex-direction:column}.genre-chip-list,.genre-filter{gap:var(--space-2)}.genre-chip-list{display:flex;flex-wrap:wrap}.genre-chip{border:1px solid rgba(93,65,40,.18);border-radius:var(--radius-pill);background:rgba(255,250,240,.9);color:var(--color-text);padding:var(--space-2) 11px;font-size:13px;font-weight:700;cursor:pointer}.genre-chip.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.picker-topbar,.setup-topbar{min-height:56px;display:grid;align-items:center;background:var(--color-brand);color:var(--color-white);padding:0 var(--space-2)}.setup-topbar{grid-template-columns:44px minmax(0,1fr) 44px}.picker-topbar{grid-template-columns:64px 1fr 64px}.picker-topbar h1,.setup-topbar h1{grid-column:2;color:var(--color-white);font-size:18px;line-height:1.15;font-weight:700;text-align:center}.picker-topbar h1{font-size:20px;line-height:1.1}.setup-topbar .setup-back-btn{width:40px;height:40px;justify-self:start;border-radius:var(--radius-pill);background:transparent;color:var(--color-white)}.setup-topbar .setup-back-btn svg{width:26px;height:26px;stroke-width:2.2}.setup-flow{gap:var(--space-5)}.player-picker-list,.setup-flow,.setup-row-list,.setup-section{display:flex;flex-direction:column}.player-picker-list,.setup-row-list,.setup-section{gap:var(--space-2)}.setup-section h2{padding-left:var(--space-4);color:#737882;font-size:14px;line-height:1;font-weight:600;text-transform:uppercase}.player-picker-row,.setup-date-row,.setup-player-row{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);border:0;border-radius:var(--radius-md);background:var(--color-card);color:var(--color-text-strong);padding:0 var(--space-4);text-align:left}.setup-player-row[disabled]{background:#E3E0DD;img{filter:grayscale(1)}}.setup-player-row-left{display:flex;align-items:center;gap:12px;img{border-radius:1000px}}.player-picker-row span,.setup-date-row span,.setup-player-row span{color:var(--color-text-strong);font-size:16px;line-height:1.15;font-weight:600}.setup-circle-btn.add{color:var(--color-white)}.player-picker-row,.setup-player-row.add{cursor:pointer}.player-picker-row.disabled{background:#E3E0DD}.setup-date-row{position:relative}.setup-date-button{position:relative;width:24px;height:24px;display:grid;place-items:center;color:var(--color-text-strong);cursor:pointer}.setup-date-button svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.setup-date-button input{position:absolute;inset:0;cursor:pointer;opacity:0}.setup-start-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin-top:16px;border-radius:12px;background:var(--color-brand);color:var(--color-card);font-size:18px;font-weight:700}.player-picker-content{padding:12px 16px;display:grid;grid-gap:12px;gap:12px}.player-picker-row input{width:17px;height:17px;flex:0 0 17px;accent-color:var(--color-brand);cursor:pointer}.player-picker-row.selected{display:none}.player-picker-footer{position:fixed;left:50%;bottom:0;z-index:30;width:min(430px,100vw);transform:translateX(-50%);background:rgba(255,250,247,.94);padding:var(--space-3) var(--space-4);box-shadow:0 -4px 8px 0 rgba(0,0,0,.08)}.player-picker-submit{width:100%;min-height:48px;border-radius:12px;background:var(--color-brand);color:var(--color-card);font-size:18px;font-weight:700}.score-screen{padding-bottom:34px}.score-entry-header,.score-topbar{background:var(--color-brand)}.score-entry-topbar .home-logo{grid-column:2}.score-entry-spacer{width:40px;height:40px}.score-content{display:flex;flex-direction:column;gap:var(--space-6)}.score-box{width:100%;max-width:88px;border:1px solid var(--color-border-control);border-radius:var(--radius-md);outline:0;background:var(--color-white);color:var(--color-text);box-shadow:inset 0 1px 0 rgba(255,255,255,.7);padding:10px var(--space-2);font-size:22px;text-align:center}.score-board-scroll{overflow-x:auto;padding:0;scrollbar-width:none}.score-board-scroll::-webkit-scrollbar{display:none}.score-screen .score-entry-grid{display:grid;grid-gap:0;gap:0;align-items:stretch}.score-screen .score-grid-header,.score-screen .score-grid-label,.score-screen .score-grid-total,.score-screen .score-grid-winner{color:var(--color-text-strong);font-weight:700}.score-screen .score-grid-header{height:40px;display:flex;align-items:center;justify-content:center;font-size:16px;text-align:center}.score-screen .score-grid-sticky-header{z-index:5}.score-screen .player-header{flex-direction:row;gap:0}.score-screen .score-grid-label,.score-screen .score-grid-total{min-height:80px;display:flex;align-items:center;padding:0 var(--space-2) 0 var(--space-4);font-size:16px;line-height:1.18}.score-screen .score-grid-cell{height:46px;place-items:center}.score-screen .score-box{width:100%;max-width:112px;height:50px;display:block;border:2px solid var(--color-border);border-radius:var(--radius-lg);background:var(--color-card);box-shadow:none;font-size:22px;line-height:50px;font-weight:700;padding:0}.score-screen .score-grid-total,.score-screen .score-grid-winner{border-top:2px solid var(--color-border);border-bottom:2px solid var(--color-border)}.score-screen .score-grid-winner{height:46px;display:grid;place-items:center;padding:0 10px;font-size:18px;line-height:50px}.score-screen .score-grid-winner strong{width:100%;max-width:112px;display:block;text-align:center}.score-scroll-indicator{height:18px;padding:0 var(--space-6)}.score-scroll-indicator span{display:block;width:188px;height:18px;border-radius:var(--radius-pill);background:#d1b79f}.winner-only-list,.winner-picker-card{display:flex;flex-direction:column;gap:var(--space-3);margin:var(--space-4) var(--space-5) 0;border-radius:var(--radius-lg);background:var(--color-card);color:var(--color-text-strong);box-shadow:var(--shadow-card);padding:var(--space-4)}.winner-picker-row{min-height:58px;display:grid;grid-template-columns:minmax(0,1fr) 32px;align-items:center;border-bottom:1px solid rgba(93,65,40,.12);font-size:18px;font-weight:700}.winner-picker-row:last-child{border-bottom:0}.winner-picker-row input{width:24px;height:24px;accent-color:var(--color-brand);justify-self:end}.winner-only-player{min-height:74px;display:grid;grid-template-rows:minmax(24px,auto) 32px;place-items:center;border-bottom:1px solid rgba(93,65,40,.12);text-align:center}.winner-only-player:last-child{border-bottom:0}.winner-only-player span{color:var(--color-text-strong);font-size:18px;font-weight:700}.winner-only-crown-row{height:32px;display:grid;place-items:center}.match-description{min-height:80px;margin:0 var(--space-5);border:0;border-radius:var(--radius-xl);outline:0;background:var(--color-card);color:var(--color-text-strong);font-size:22px;line-height:1.3;padding:28px var(--space-6);resize:vertical}.match-description::placeholder{color:rgba(0,0,0,.35)}.score-save-btn{min-height:50px;margin:6px var(--space-5) 0;border-radius:20px;background:var(--color-brand);color:var(--color-card);font-size:16px;font-weight:700}.score-entry-screen .score-content{gap:var(--space-4);padding-bottom:var(--space-4)}.score-entry-screen .score-close-btn{justify-self:end}.score-entry-screen .score-close-btn svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.score-entry-screen .score-board,.score-entry-screen .score-board-scroll,.score-entry-screen .score-grid-sticky{background:var(--color-bg)}.score-entry-screen .score-board{padding:0}.score-entry-screen .score-entry-grid{gap:0}.score-entry-screen .score-grid-header{min-height:56px;color:var(--color-text-strong);font-size:16px;line-height:1.15;font-weight:700;padding:0 var(--space-2)}.score-entry-screen .score-grid-sticky-header{min-height:56px}.score-entry-screen .score-grid-sticky{box-shadow:var(--shadow-sticky)}.score-entry-screen .score-grid-label{min-height:60px;color:var(--color-text);display:flex;align-items:center;font-size:14px;line-height:1.15;font-weight:700;padding:0 16px}.score-entry-screen .score-grid-label.total-score-only{min-height:48px;border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border)}.score-entry-screen .score-grid-cell{box-sizing:content-box;min-height:60px;align-items:center;justify-items:stretch;padding:var(--space-1)}.score-entry-screen .score-grid-cell.total-score-only{min-height:48px;border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border)}.score-entry-screen .score-box{width:100%;max-width:none;height:48px;border:1px solid var(--color-border-focus);border-radius:var(--radius-md);background:var(--color-card);color:var(--color-text);font-size:16px;line-height:19px;font-weight:700;padding:0 var(--space-2);box-sizing:border-box}.score-entry-screen .score-box.score-box-text{font-size:15px;line-height:1.25}.score-entry-screen .score-box:focus{outline:2px solid var(--color-border-focus);outline-offset:0}.score-entry-screen .score-grid-total,.score-entry-screen .score-grid-winner{min-height:48px;height:48px}.score-entry-screen .grid-spacer.border,.score-entry-screen .score-grid-total,.score-entry-screen .score-grid-winner{border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border)}.score-entry-screen .score-grid-total{color:var(--color-text);font-size:17px;line-height:1.15;font-weight:700;padding-left:var(--space-5)}.score-entry-screen .score-grid-winner{color:var(--color-text);font-size:18px;line-height:20px;font-weight:700;padding:0 6px}.score-entry-screen .score-grid-winner strong{width:100%;text-align:center}.score-entry-screen .score-scroll-indicator{height:4px;margin-top:-4px;padding:0 var(--space-4)}.score-entry-screen .score-scroll-indicator span{width:116px;height:2px;margin:0 auto;background:var(--color-brand)}.score-entry-screen .match-description{min-height:80px;margin:0 var(--space-4);border-radius:var(--radius-md);background:var(--color-card-soft);color:var(--color-text);font-size:16px;line-height:19px;font-weight:400;padding:var(--space-3) var(--space-4)}.score-entry-screen .match-description::placeholder{color:var(--color-muted);opacity:1}.score-entry-screen .score-save-btn{min-height:48px;margin:0 var(--space-4);border-radius:var(--radius-md);background:var(--color-brand);color:var(--color-white);font-size:18px;line-height:20px;font-weight:700;box-shadow:var(--shadow-card)}.history-screen{background:var(--color-bg)}.history-phone-header{height:56px;background:var(--color-brand);color:var(--color-white)}.history-content{padding:var(--space-3) var(--space-4) var(--space-4)}.history-content,.history-list{display:flex;flex-direction:column;gap:var(--space-3)}.history-winner-line{color:var(--color-subtext);font-size:14px;line-height:20px}.history-winner-line img{display:block;top:1px;position:relative}.history-winner-line{display:flex;align-items:center;gap:var(--space-1)}.history-winner-line span:first-child{width:24px;color:var(--color-accent);font-size:24px;line-height:14px}.history-winner-line strong{color:var(--color-text);font-weight:700}.history-game-name{margin-top:var(--space-1);overflow:hidden;color:var(--color-muted);font-size:12px;line-height:14px;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.history-empty-state{display:flex;flex-direction:column;gap:var(--space-3)}.history-empty-state h2{color:var(--color-text);font-size:18px;line-height:1.2}.history-empty-state p{color:var(--color-subtext);font-size:15px;line-height:1.35}.history-clear-btn,.history-empty-btn{margin:0}.history-detail-screen{background:var(--color-bg);padding-bottom:0}.history-detail-topbar{height:100%;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;padding:0 var(--space-2)}.history-detail-topbar .home-logo{justify-self:center;text-align:center}.history-detail-topbar .score-back-btn,.history-detail-topbar .score-menu-btn,.score-entry-screen .score-close-btn{width:40px;height:40px;display:grid;place-items:center;border-radius:var(--radius-pill);background:transparent;color:var(--color-white)}.history-detail-topbar .score-back-btn{justify-self:start}.history-detail-topbar .score-menu-btn{justify-self:end}.history-detail-topbar .score-back-btn svg,.history-detail-topbar .score-menu-btn svg,.score-entry-screen .score-close-btn svg{stroke-width:2.2}.history-detail-topbar .score-back-btn svg{width:26px;height:26px}.history-detail-topbar .score-menu-btn svg,.score-entry-screen .score-close-btn svg{width:24px;height:24px}.detail-action-menu{position:fixed;top:56px;left:50%;z-index:75;width:min(600px,100vw);transform:translateX(-50%);background:var(--color-card);box-shadow:0 2px 0 rgba(0,0,0,.08)}.detail-action-item{width:100%;min-height:96px;display:grid;grid-template-columns:58px 1fr;align-items:center;border:0;border-bottom:1px solid rgba(0,0,0,.08);background:inherit;color:var(--color-text-strong);padding:0 var(--space-5);font-size:24px;line-height:1.2;cursor:pointer}.detail-action-icon{width:32px;height:32px;display:grid;place-items:center;color:var(--color-brand)}.detail-action-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.5}.detail-menu-dismiss{position:fixed;top:248px;left:50%;z-index:70;width:min(600px,100vw);height:calc(100vh - 248px);transform:translateX(-50%);border:0;background:rgba(0,0,0,.32)}.detail-content{transition:filter .14s ease,opacity .14s ease}.detail-content.dimmed{pointer-events:none}.match-summary-strip{display:grid;grid-template-columns:64px 1fr;align-items:center;border-bottom:1.5px solid var(--color-border);background:var(--color-card);padding:12px}.detail-thumb{width:48px;height:48px}.detail-thumb img{border-radius:4px}.match-summary-strip h2{color:var(--color-heading);font-size:18px;line-height:1.15;font-weight:700}.match-summary-strip p{margin-top:6px;color:rgba(0,0,0,.58);font-size:16px}.history-detail-note{min-height:80px;margin:16px 16px 100px;border-radius:var(--radius-md);background:var(--color-card);padding:8px 16px;font-size:16px;line-height:1.35;border:1px solid var(--color-border-focus)}.history-winner-only-card{margin-top:26px}.history-detail-loading{padding:var(--space-3) var(--space-4);color:var(--color-subtext);font-size:14px;line-height:15px}.history-score-board,.scoreboard{--cell-h:60px;--header-h:56px;--total-h:60px}.history-score-board,.history-score-board .score-board-scroll,.history-score-board .score-grid-sticky,.scoreboard{background:var(--color-bg-strong)}.history-score-board .score-grid-label.total-score-only{min-height:48px;border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border)}.history-score-board .score-board-scroll{overflow-x:auto;overflow-y:hidden}.history-score-board .score-entry-grid{gap:0}.scoreboard-cell{display:grid;place-items:center}.history-score-board .score-grid-header{color:var(--color-text-strong);font-size:16px;padding:0 var(--space-2)}.history-score-board .score-grid-sticky{box-shadow:var(--shadow-sticky)}.history-score-board .score-grid-label{min-height:var(--cell-h);display:flex;align-items:center;padding:0 16px;font-size:14px;line-height:1.15}.history-score-board .score-grid-cell{min-height:var(--cell-h);align-items:center;justify-items:stretch}.history-score-board .readonly-score-box,.score-box{background:var(--color-card);border-radius:var(--radius-md);border:1px solid var(--color-border-focus);padding:var(--space-2);font-weight:700}.history-score-board .readonly-score-box{width:100%!important;min-width:100%;max-width:none!important;justify-self:stretch;box-sizing:border-box;padding:0;height:48px;display:grid;place-items:center;font-size:16px;font-weight:600;text-align:center}.history-score-board .readonly-score-box.text{font-size:15px;line-height:1.25}.grid-spacer.border,.history-score-board .score-grid-total,.history-score-board .score-grid-winner{min-height:48px;border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border)}.history-score-board .score-grid-total{padding-left:var(--space-5);font-size:17px}.history-score-board .score-grid-winner{padding:0 6px}.history-score-board .winning-total{position:relative;width:74px!important;height:48px;display:grid!important;place-items:center;background:transparent;z-index:0}.history-score-board .winning-total:before{content:"";z-index:-1;position:absolute;left:50%;bottom:5px;width:45px;height:36px;transform:translateX(-50%);background-image:url(/crown.svg);background-position:bottom;background-repeat:no-repeat;background-size:contain}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.stack-sm{gap:var(--space-2)}.stack-md,.stack-sm{display:flex;flex-direction:column}.stack-md{gap:var(--space-3)}