:root{color:#1d1d1f;font-synthesis:none;text-rendering:optimizelegibility;background:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html,body,#root{min-width:320px;min-height:100%;margin:0}body{margin:0}*{box-sizing:border-box}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default}.app{width:100%;max-width:480px;min-height:100vh;margin:0 auto;padding:24px 18px 40px}.header{padding:24px 4px 32px}.header h1,.subHeader h1,.tableHeader h1{margin:0;font-size:34px;line-height:1.05}.eyebrow{letter-spacing:.16em;opacity:.55;margin:0 0 6px;font-size:12px;font-weight:800}.subtitle{opacity:.55;margin:6px 0 0;font-size:18px}.homeContent,.formCard{flex-direction:column;gap:24px;display:flex}.newTableButton{color:#fff;background:#1d1d1f;border:0;border-radius:24px;justify-content:center;align-items:center;gap:14px;width:100%;min-height:110px;font-size:21px;font-weight:700;display:flex}.plus{font-size:34px;font-weight:400}.emptyState{text-align:center;background:#f3f3f5;border-radius:20px;padding:28px 20px}.emptyState h2{margin:0 0 8px;font-size:18px}.emptyState p{opacity:.6;margin:0;line-height:1.5}.subHeader{align-items:center;gap:16px;padding:12px 0 26px;display:flex}.backButton{background:#ededf0;border:0;border-radius:50%;flex-shrink:0;width:46px;height:46px;font-size:34px;line-height:1}label{flex-direction:column;gap:7px;font-size:14px;font-weight:650;display:flex}input{background:#fff;border:1px solid #d8d8dc;border-radius:14px;outline:none;width:100%;min-height:52px;padding:0 14px;font-size:17px}input:focus{border-color:#1d1d1f}.section{flex-direction:column;gap:12px;padding-top:8px;display:flex}.section h2{margin:0;font-size:18px}.sectionTitleRow,.stepperHeader{justify-content:space-between;align-items:center;gap:12px;display:flex}.stepperHeader span{opacity:.55;font-size:13px}.choiceGrid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.choice{background:#fff;border:1px solid #d8d8dc;border-radius:14px;min-height:52px;padding:8px 10px;font-weight:650}.choice.active{color:#fff;background:#1d1d1f;border-color:#1d1d1f}.segmented{background:#ededf0;border-radius:14px;grid-template-columns:1fr 1fr;padding:4px;display:grid}.segmented button{background:0 0;border:0;border-radius:11px;min-height:44px;font-weight:700}.segmented button.active{background:#fff}.primaryButton{color:#fff;background:#1d1d1f;border:0;border-radius:17px;width:100%;min-height:58px;margin-top:8px;font-size:17px;font-weight:750}.primaryButton:disabled{opacity:.35}.errorBox{background:#fff0f0;border-radius:14px;padding:14px 16px;font-size:14px;font-weight:650}.infoBox{background:#f3f3f5;border-radius:16px;flex-direction:column;gap:5px;padding:16px;display:flex}.infoBox span{opacity:.65;font-size:14px}.settingsList{flex-direction:column;gap:10px;display:flex}.gameSetting,.priceSettingRow{background:#fff;border:1px solid #e0e0e3;border-radius:16px;padding:14px 15px}.gameSettingTop,.priceSettingRow{justify-content:space-between;align-items:center;gap:14px;display:flex}.gameSettingTop>span,.priceSettingRow>span{font-weight:700}.disabledSetting{opacity:.62}.toggle{background:#d1d1d6;border:0;border-radius:999px;flex-shrink:0;width:50px;height:30px;padding:0;transition:all .2s;position:relative}.toggle span{background:#fff;border-radius:50%;width:24px;height:24px;transition:all .2s;position:absolute;top:3px;left:3px}.toggleOn{background:#1d1d1f}.toggleOn span{transform:translate(20px)}.priceLabel{border-top:1px solid #eeeeef;margin-top:14px;padding-top:12px}.priceInput{align-items:center;gap:8px;display:flex}.priceInput input{text-align:right;width:100px;min-height:42px}.priceInput span{font-weight:700}.priceSettingRow{min-height:70px}.hint{opacity:.58;margin:0;padding:0 2px;font-size:13px;line-height:1.45}.tableHeader{justify-content:space-between;align-items:flex-start;gap:14px;padding:14px 2px 28px;display:flex}.gameCounter{background:#f3f3f5;border-radius:14px;flex-shrink:0;padding:10px 12px}.gameCounter strong{font-size:20px}.gameCounter span{opacity:.55}.scoreGrid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.scoreCard{background:#fff;border:1px solid #e0e0e3;border-radius:20px;flex-direction:column;justify-content:space-between;min-height:130px;padding:16px;display:flex}.playerName{justify-content:space-between;align-items:center;gap:8px;font-weight:700;display:flex}.dealerIcon{font-size:20px}.score{font-size:25px}.positive{color:#15803d}.negative{color:#c62828}.bigGameButton{min-height:68px;margin-top:22px;font-size:19px}.secondaryActions{grid-template-columns:1fr 1fr;gap:10px;margin-top:22px;display:grid}.secondaryActions button{background:#fff;border:1px solid #d8d8dc;border-radius:14px;min-height:50px;font-weight:700}.secondaryActions button:disabled{opacity:.45}.gameTypeGrid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.gameTypeButton{background:#fff;border:1px solid #d8d8dc;border-radius:15px;min-height:54px;padding:10px;font-weight:700}.gameTypeButton.active{color:#fff;background:#1d1d1f;border-color:#1d1d1f}.playerResultList{flex-direction:column;gap:9px;display:flex}.playerResultRow{border:1px solid #e0e0e3;border-radius:15px;grid-template-columns:minmax(80px,1fr) 2fr;align-items:center;gap:10px;min-height:58px;padding:7px 8px 7px 14px;display:grid}.playerResultRow>strong{text-overflow:ellipsis;overflow:hidden}.resultSwitch{background:#ededf0;border-radius:11px;grid-template-columns:1fr 1fr;padding:3px;display:grid}.resultSwitch button{background:0 0;border:0;border-radius:9px;min-height:38px;padding:5px;font-size:12px;font-weight:750}.resultSwitch .winnerSelected{color:#166534;background:#dcfce7}.resultSwitch .loserSelected{color:#991b1b;background:#fee2e2}.textButton{opacity:.6;background:0 0;border:0;padding:0;font-size:13px;font-weight:700;text-decoration:underline}.threeChoices{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.smallChoice{background:#fff;border:1px solid #d8d8dc;border-radius:13px;min-height:48px;padding:6px;font-size:13px;font-weight:700}.smallChoice.active{color:#fff;background:#1d1d1f;border-color:#1d1d1f}.stepper{grid-template-columns:60px 1fr 60px;align-items:center;gap:10px;display:grid}.stepper button{background:#fff;border:1px solid #d8d8dc;border-radius:14px;height:52px;font-size:25px}.stepper button:disabled{opacity:.3}.stepper strong{background:#f3f3f5;border-radius:14px;justify-content:center;align-items:center;min-height:52px;font-size:22px;display:flex}.calculationCard{background:#f3f3f5;border-radius:20px;padding:18px}.calculationCard>span{opacity:.55;margin-bottom:3px;font-size:13px;font-weight:700;display:block}.calculationCard>strong{font-size:30px;display:block}.previewList{border-top:1px solid #d8d8dc;flex-direction:column;gap:8px;margin-top:18px;padding-top:15px;display:flex}.previewList>div{justify-content:space-between;gap:12px;display:flex}.previewHint{opacity:.55;margin:15px 0 0;font-size:13px}.saveGameButton{min-height:66px;font-size:19px}.lastGameCard{background:#f3f3f5;border-radius:15px;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:13px 14px;display:flex}.lastGameCard>div{flex-direction:column;gap:3px;display:flex}.lastGameCard span{opacity:.55;font-size:12px}.lastGameCard strong{font-size:14px}.lastGameCard button{background:#fff;border:0;border-radius:10px;flex-shrink:0;padding:8px 11px;font-size:12px;font-weight:750}.historyList{flex-direction:column;gap:14px;display:flex}.historyCard{background:#fff;border:1px solid #e0e0e3;border-radius:20px;padding:17px}.historyCardHeader{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.historyCardHeader h2{margin:3px 0 0;font-size:21px}.historyNumber{letter-spacing:.08em;text-transform:uppercase;opacity:.48;font-size:11px;font-weight:800}.historyValue{flex-shrink:0;font-size:19px}.historyTeams{border-top:1px solid #ededf0;flex-direction:column;gap:7px;margin-top:16px;padding-top:14px;display:flex}.historyTeamRow{justify-content:space-between;gap:14px;font-size:13px;display:flex}.historyTeamRow>span{opacity:.5}.historyTeamRow>strong{text-align:right}.detailChips{flex-wrap:wrap;gap:6px;margin-top:14px;display:flex}.detailChip{background:#f3f3f5;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:700}.historyChanges{background:#f7f7f8;border-radius:13px;flex-direction:column;gap:7px;margin-top:15px;padding:13px;display:flex}.historyChangeRow{justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.historyActions{grid-template-columns:1fr 1fr;gap:9px;margin-top:15px;display:grid}.outlineButton,.dangerButton{background:#fff;border-radius:12px;min-height:43px;font-size:13px;font-weight:750}.outlineButton{border:1px solid #d8d8dc}.dangerButton{color:#b91c1c;border:1px solid #fecaca}.emptyHistory{text-align:center;background:#f3f3f5;border-radius:20px;padding:34px 20px}.emptyHistory h2{margin:0 0 7px;font-size:19px}.emptyHistory p{opacity:.55;margin:0;line-height:1.5}.replacementNotice{background:#fff7df;border-radius:15px;flex-direction:column;gap:5px;padding:15px;display:flex}.replacementNotice span{opacity:.68;font-size:13px;line-height:1.45}.statsContent{flex-direction:column;gap:16px;display:flex}.statsCard{background:#fff;border:1px solid #e0e0e3;border-radius:20px;padding:18px}.statsCardHeader{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.statsCardHeader h2{margin:3px 0 0;font-size:22px}.statsLabel{letter-spacing:.1em;opacity:.48;font-size:11px;font-weight:800}.statsBigNumber{font-size:28px}.standingsList{flex-direction:column;gap:6px;display:flex}.standingRow{background:#f7f7f8;border-radius:13px;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:8px 10px;display:flex}.standingPlayer{align-items:center;gap:9px;min-width:0;display:flex}.rankNumber{opacity:.45;width:20px;font-size:13px;font-weight:800}.playerColorDot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.standingPlayer strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pieSection{flex-direction:column;align-items:center;gap:22px;display:flex}.pieChart{border-radius:50%;justify-content:center;align-items:center;width:190px;height:190px;display:flex}.pieCenter{background:#fff;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:105px;height:105px;display:flex}.pieCenter strong{font-size:29px}.pieCenter span{opacity:.5;margin-top:1px;font-size:12px}.pieLegend{flex-direction:column;gap:8px;width:100%;display:flex}.pieLegendRow{justify-content:space-between;align-items:center;gap:12px;min-height:34px;display:flex}.legendName{align-items:center;gap:9px;display:flex}.legendDot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.legendPercentage{opacity:.48;font-weight:500}.chartLegend{flex-wrap:wrap;gap:8px 14px;margin-bottom:12px;display:flex}.chartLegendItem{align-items:center;gap:6px;font-size:12px;font-weight:700;display:flex}.chartLineColor{border-radius:999px;width:18px;height:4px}.chartScroll{width:100%;overflow-x:auto}.scoreChart{width:100%;min-width:350px;height:auto;display:block;overflow:visible}.chartAxis{stroke:#d8d8dc;stroke-width:1px}.zeroLine{stroke:#9ca3af;stroke-width:1px;stroke-dasharray:4 4}.chartText{fill:#6b7280;font-size:10px}.chartHint{text-align:center;opacity:.48;margin:7px 0 0;font-size:11px}.homeSection{flex-direction:column;gap:11px;display:flex}.homeSectionHeader{justify-content:space-between;align-items:center;gap:12px;display:flex}.homeSectionHeader h2{margin:0;font-size:18px}.homeSectionHeader>span{opacity:.45;font-size:13px;font-weight:700}.homeLimitHint{text-align:center;opacity:.55;margin:-12px 0 0;font-size:12px;line-height:1.4}.homeEmptySection{text-align:center;opacity:.65;background:#f3f3f5;border-radius:16px;padding:20px;font-size:13px}.tableOverviewList,.archiveList{flex-direction:column;gap:10px;display:flex}.tableOverviewCard{width:100%;color:inherit;text-align:left;background:#fff;border:1px solid #e0e0e3;border-radius:18px;padding:16px}.tableOverviewHeader{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.tableOverviewHeader h3{margin:5px 0 0;font-size:19px}.tableOverviewHeader>strong{flex-shrink:0;font-size:15px}.statusBadge{color:#166534;text-transform:uppercase;letter-spacing:.05em;background:#dcfce7;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:800;display:inline-flex}.tableMiniPlayers{border-top:1px solid #ededf0;grid-template-columns:1fr 1fr;gap:7px 12px;margin-top:14px;padding-top:13px;display:grid}.tableMiniPlayers>span{justify-content:space-between;gap:7px;min-width:0;font-size:12px;display:flex}.archiveCard{background:#fff;border:1px solid #e0e0e3;border-radius:18px;align-items:stretch;display:flex;overflow:hidden}.archiveMain{min-width:0;color:inherit;text-align:left;background:0 0;border:0;flex:1;justify-content:space-between;align-items:center;gap:12px;padding:15px;display:flex}.archiveMain span{opacity:.48;font-size:11px;font-weight:700}.archiveMain h3{margin:3px 0 5px;font-size:18px}.archiveMain p{opacity:.65;margin:0;font-size:12px}.archiveArrow{flex-shrink:0;opacity:.35!important;font-size:28px!important;font-weight:400!important}.archiveDelete{color:#b91c1c;background:snow;border:0;border-left:1px solid #ededf0;width:70px;font-size:11px;font-weight:750}.homeBackLink{color:inherit;opacity:.55;background:0 0;border:0;margin:0 0 12px;padding:0;font-size:13px;font-weight:700;display:block}.finishBanner{background:#ecfdf5;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;padding:14px;display:flex}.finishBanner>div{flex-direction:column;gap:3px;display:flex}.finishBanner span{opacity:.65;font-size:12px}.finishBanner button{color:#fff;background:#166534;border:0;border-radius:11px;flex-shrink:0;min-height:40px;padding:0 11px;font-size:12px;font-weight:750}.tableBottomActions{border-top:1px solid #ededf0;flex-direction:column;gap:9px;margin-top:24px;padding-top:19px;display:flex}.finishTableButton,.deleteTableButton{background:#fff;border-radius:13px;width:100%;min-height:46px;font-size:13px;font-weight:750}.finishTableButton{border:1px solid #d8d8dc}.deleteTableButton{color:#b91c1c;border:1px solid #fecaca}.finalHero{text-align:center;background:#f3f3f5;border-radius:22px;flex-direction:column;align-items:center;margin-bottom:16px;padding:28px 18px;display:flex}.finalHero>span{letter-spacing:.12em;text-transform:uppercase;opacity:.48;margin-bottom:7px;font-size:11px;font-weight:800}.finalHero>strong{font-size:31px;line-height:1.1}.finalHero p{opacity:.55;margin:8px 0 0;font-size:13px}.finalActions{flex-direction:column;gap:9px;margin-top:18px;display:flex}.newTableButton:disabled{opacity:.35}
