:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f7f7f4;color:#333}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#f7f7f4}body.no-page-scroll{height:100vh;overflow:hidden}button,input{font:inherit}button{cursor:pointer;transition:transform .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease,opacity .18s ease;-webkit-tap-highlight-color:transparent}button:disabled{cursor:not-allowed;opacity:.55}button:not(:disabled):active{transform:scale(.985)}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#7b1f3d}.auth-panel{width:min(100%,420px);display:grid;gap:18px;color:#fff}.auth-logo{width:220px;margin:0 auto 8px}.segmented{display:grid;grid-template-columns:1fr 1fr;padding:4px;border:1px solid rgba(255,255,255,.32);border-radius:10px}.segmented button{min-height:44px;border:0;border-radius:8px;background:transparent;color:#fff}.segmented button.active{background:#fff;color:#7b1f3d}.form,.stack{display:grid;gap:16px}label{display:grid;gap:7px;font-weight:650}input{min-height:48px;border:1px solid #d6d6d2;border-radius:8px;padding:0 14px;background:#fff;color:#333}.primary-button,.inline-form button,.bet-controls button,.share-box button{min-height:48px;border:0;border-radius:8px;background:#8a978a;color:#fff;font-weight:750}.ios-primary-action{width:100%;min-height:54px;border:0;border-radius:8px;background:#8a978a;color:#fff;font-weight:850;letter-spacing:0;box-shadow:0 1px 8px #2d2d2814}.bottom-action{position:fixed;left:0;right:0;bottom:calc(114px + env(safe-area-inset-bottom));z-index:18;width:auto;max-width:none;margin:0;background:#c9d0c8;border-radius:0}.notice,.error,.success{border-radius:8px;padding:12px}.notice{background:#ffffff29}.error{background:#f2d7dd;color:#6c2335}.success{background:#dce5dc;color:#4d5d4d}.app-shell{min-height:100vh;padding-bottom:92px;background:#f7f7f4}.app-shell.without-tabbar{padding-bottom:24px}.app-header{position:sticky;top:0;z-index:10;min-height:64px;display:flex;align-items:center;justify-content:space-between;padding:env(safe-area-inset-top) 16px 0;background:#7b1f3d;color:#fff}.brand,.plain-button{border:0;background:transparent;color:inherit}.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px}.brand img{width:34px;height:34px;border-radius:8px}.plain-button{font-weight:700}.screen{width:min(100%,780px);margin:0 auto;padding:22px 16px 32px}.page-transition{animation:pageFadeIn .24s ease-out both;will-change:opacity}.page-title p{margin:0 0 3px;color:#747e74;font-weight:700}.page-title h1{margin:0;color:#333;font-size:31px;line-height:1.05}.hero-action,.menu-grid button,.action-panel,.empty-state,.game-row,.bet-card,.ranking-row,.share-box,.tutorial-card,details,.group-row{border:1px solid #e3e2de;border-radius:8px;background:#fff;box-shadow:0 1px 8px #2d2d280d;transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}.hero-action:active,.menu-grid button:active,.group-row:active,.bet-match-row:active,.ranking-row:active{transform:scale(.99);box-shadow:0 4px 14px #2d2d2814}.hero-action{display:grid;gap:3px;width:100%;padding:22px;text-align:left;background:#dce5dc;color:#556355}.hero-action strong{font-size:22px}.welcome-home{padding-bottom:24px}.welcome-panel{display:grid;gap:16px;padding:20px;border:1px solid #e3e2de;border-radius:8px;background:#e6eae5;box-shadow:0 1px 8px #2d2d280d}.welcome-panel .page-title{justify-self:stretch;text-align:left}.welcome-panel .welcome-intro{width:min(84%,320px);margin:0 auto;color:#747e74;line-height:1.45;text-align:left}.welcome-illustration{width:min(100%,230px);justify-self:center;margin-top:2px;margin-bottom:10px}.menu-grid{display:grid;grid-template-columns:1fr;gap:12px}.menu-grid button{min-height:84px;display:grid;gap:4px;align-content:center;padding:18px;text-align:left;color:#333}.menu-grid span{font-size:20px;font-weight:800}.menu-grid small,.muted{color:#747e74}.action-panel{display:grid;gap:14px;padding:16px}.inline-form{display:grid;grid-template-columns:1fr auto;gap:9px}.list,.ranking-list,.faq-list{display:grid;gap:10px}.groups-empty-page{min-height:calc(100dvh - 156px);padding-top:10px;grid-template-rows:auto 1fr;overflow:hidden}.groups-empty-page .list{display:none}.group-row{min-height:118px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 18px;color:#333;text-align:left}.group-row-main{display:flex;align-items:center;gap:14px;min-width:0}.group-row-icon{width:42px;height:42px;flex:0 0 42px;object-fit:contain}.group-row-text{display:grid;gap:9px;min-width:0}.group-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#333;font-size:22px;line-height:1.1}.group-row small{font-size:15px;color:#747e74}.chevron{color:#8a978a;font-size:30px}.empty-state{padding:24px;text-align:center}.empty-state h2{margin:0 0 8px}.groups-empty-state{width:min(80vw,335px,calc(100dvh - 324px));aspect-ratio:1 / 1;min-height:0;display:grid;place-items:center;align-content:center;gap:12px;margin-top:20px;margin-left:auto;margin-right:auto;padding:42px;border-radius:999px;background:#e6eae5}@media(max-height:720px){.groups-empty-state{margin-top:34px}}@media(max-height:640px){.groups-empty-state{margin-top:18px;padding:30px}}.groups-empty-state h2{margin:0;color:#333;font-size:22px}.groups-empty-state p{max-width:360px;margin:0;color:#747e74;line-height:1.45}.groups-empty-state small{max-width:320px;color:#869186;font-size:13px;line-height:1.35}.section{display:grid;gap:10px}.section h2{position:sticky;top:64px;z-index:3;margin:0;padding:11px 0;background:#f7f7f4;border-bottom:1px solid #e3e2de;font-size:18px}.schedule-switch{display:grid;grid-template-columns:1fr 1fr;gap:0;padding:4px;border:1px solid #e3e2de;border-radius:8px;background:#fff;box-shadow:0 1px 8px #2d2d280d}.schedule-switch button{min-height:44px;border:0;border-radius:6px;background:transparent;color:#747e74;font-weight:850}.schedule-switch button.active{background:#dce5dc;color:#556355}.game-row{display:grid;grid-template-columns:42px 30px 1fr auto;gap:10px;align-items:center;min-height:88px;padding:0 13px 0 0;overflow:hidden}.match-badge{width:36px;height:36px;display:grid;place-items:center;border-radius:999px;background:#dce5dc;color:#747e74;font-weight:800}.game-row .match-badge{width:42px;height:100%;align-self:stretch;border-radius:0;background:#8f9c8f;color:#fff}.teams-line{display:flex;gap:7px;align-items:center;min-width:0;font-size:16px;font-weight:400}.teams-line span{min-width:0;white-space:nowrap}.team-flag{width:22px;height:22px;flex:0 0 22px;border-radius:6px;filter:saturate(.65) brightness(.98);object-fit:cover;box-shadow:0 0 0 1px #2d2d2814}.dash{color:#8a978a}.small{font-size:12px}.final-score{color:#555;font-size:16px;font-weight:700;white-space:nowrap}.standings-table{overflow:hidden;border:1px solid #e3e2de;border-radius:8px;background:#fff;box-shadow:0 1px 8px #2d2d280d}.standings-row{display:grid;grid-template-columns:30px minmax(104px,1fr) repeat(8,minmax(22px,28px));gap:4px;align-items:center;min-height:42px;padding:7px 8px;border-top:1px solid #eeeeea;color:#555;font-size:12px;font-weight:750;text-align:center}.standings-row:first-child{border-top:0}.standings-header{min-height:36px;background:#f5f8f6;color:#747e74;font-size:11px;font-weight:900}.standings-row strong{width:26px;height:26px;display:grid;place-items:center;border-radius:999px;background:#dce5dc;color:#747e74;font-size:12px}.standing-team{min-width:0;overflow:hidden;white-space:nowrap;text-align:left;text-overflow:ellipsis;font-size:13px;font-weight:600}.score-summary{min-height:42px;display:grid;place-items:center;border-radius:8px;background:#dce5dc;color:#747e74;font-weight:850}.bet-card{overflow:hidden}.bet-card .game-row{border:0;border-radius:0;box-shadow:none}.bet-controls{display:grid;grid-template-columns:1fr auto 1fr auto;align-items:center;gap:10px;padding:0 13px 13px}.score-stepper{display:grid;grid-template-columns:34px 36px 34px;align-items:center;justify-content:center;gap:5px}.score-stepper button{width:34px;height:34px;border:0;border-radius:8px;background:#dce5dc;color:#555;font-weight:900}.score-stepper strong{text-align:center;color:#555;font-size:22px}.score-separator{color:#747e74;font-weight:900}.bet-match-row{width:100%;min-height:88px;display:grid;grid-template-columns:42px 30px 1fr auto;gap:10px;align-items:center;padding:0 13px 0 0;border:1px solid #e3e2de;border-radius:8px;background:#fff;color:#333;text-align:left;box-shadow:0 1px 8px #2d2d280d;transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease;overflow:hidden}.bet-match-row.locked{background:#f5f8f6;color:#7e8a7e}.bet-match-row.locked .match-badge{background:#dce5dc}.bet-match-row .match-badge{width:42px;height:100%;align-self:stretch;border-radius:0;background:#8f9c8f;color:#fff}.match-flag-stack{display:grid;gap:7px;justify-items:center}.match-flag-stack .team-flag{width:20px;height:20px;flex-basis:20px;border-radius:5px}.game-row .match-flag-stack{align-self:center;align-content:space-between;height:58px;padding:0}.game-row .match-flag-stack .team-flag{width:22px;height:22px;flex-basis:22px;border-radius:7px}.bet-match-main{min-width:0;display:grid;gap:5px}.bet-match-main .muted,.game-main .muted{margin-top:5px;color:#869186;font-size:14px;font-weight:300}.game-main .match-date-line{font-size:14px;font-weight:200}.game-main .match-city-line{font-size:13px;font-weight:100}.bet-score-display{min-width:72px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:5px;color:#555;font-size:16px;font-weight:700;text-align:center}.bet-score-display span{min-width:22px}.bet-score-display em{margin-left:2px;color:#747e74;font-size:15px;font-style:normal;font-weight:500}.score-modal{position:relative;width:min(100%,430px);display:grid;gap:22px;padding:24px 18px 20px;border-radius:10px;background:#fff;box-shadow:0 18px 40px #281e2338;animation:modalEnter .24s cubic-bezier(.2,.9,.2,1)}.score-modal-teams{display:grid;grid-template-columns:1fr auto 1fr;gap:18px;align-items:center;padding:16px 4px 8px;text-align:center}.score-modal-teams strong{color:#333;font-size:16px;font-weight:400;line-height:1.1}.score-modal-team{display:grid;justify-items:center;gap:10px;min-width:0}.modal-team-flag{width:42px;height:42px;border-radius:10px;filter:saturate(.65) brightness(.98);object-fit:cover;box-shadow:0 0 0 1px #2d2d2814}.score-modal-versus{color:#747e74;font-size:24px;font-weight:900}.score-picker-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:18px 0}.score-modal .score-stepper{grid-template-columns:40px 48px 40px}.score-modal .score-stepper button{width:40px;height:40px}.score-modal .score-stepper strong{color:#555;font-size:34px}.score-modal-dash{color:#747e74;font-size:28px;font-weight:900}.ranking-row{min-height:64px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;padding:13px}.ranking-row strong{width:34px;height:34px;display:grid;place-items:center;border-radius:999px;background:#dce5dc;color:#747e74}.ranking-row span{font-weight:800}.ranking-row em{color:#747e74;font-style:normal;font-weight:800}.share-box,.share-link-panel{display:grid;gap:8px;padding:14px}.bottom-share-box{margin-top:18px}.share-link-panel{border:1px solid #e3e2de;border-radius:8px;background:#f7f7f4}.share-link-panel span{color:#555;font-weight:800}.share-box code{overflow-wrap:anywhere;color:#747e74}.tutorial-track{display:grid;grid-auto-flow:column;grid-auto-columns:84%;gap:12px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x mandatory}.intro-answer{display:grid;gap:10px;padding:18px;border:1px solid #e3e2de;border-radius:8px;background:#e6eae5;box-shadow:0 1px 8px #2d2d280d}.intro-answer h2{margin:0;color:#333;font-size:20px;line-height:1.15}.intro-answer p{margin:0;color:#747e74;line-height:1.45}.tutorial-card{min-height:190px;padding:20px;scroll-snap-align:start}.tutorial-card span{width:38px;height:38px;display:grid;place-items:center;border-radius:999px;background:#7b1f3d;color:#fff;font-weight:900}.tutorial-card h2{margin:18px 0 8px}details{padding:15px}summary{cursor:pointer;font-weight:800}.loading-state{min-height:120px;display:grid;place-items:center;align-content:center;gap:12px;color:#747e74}.spinner{width:34px;height:34px;border-radius:999px;border:4px solid #dce5dc;border-top-color:#7b1f3d;animation:spin .8s linear infinite}.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:repeat(4,1fr);padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid #e3e2de}.tabbar button{min-height:48px;border:0;border-radius:8px;background:transparent;color:#747e74;font-weight:800}.tabbar button.active{background:#dce5dc;color:#556355}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:18px;background:#14121261;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:backdropEnter .2s ease}.join-modal{position:relative;width:min(100%,430px);display:grid;gap:20px;padding:24px 18px 20px;border-radius:10px;background:#fff;box-shadow:0 18px 40px #281e2338;animation:modalEnter .24s cubic-bezier(.2,.9,.2,1)}.modal-back-button{position:absolute;top:8px;left:8px;width:42px;height:42px;border:0;border-radius:999px;background:transparent;color:#555;font-size:34px;line-height:1}.modal-title{display:grid;gap:2px;padding-top:18px;text-align:center}.modal-title p{margin:0;color:#747e74;font-weight:750}.modal-title h2{margin:0;color:#333;font-size:28px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pageFadeIn{0%{opacity:0}to{opacity:1}}@keyframes backdropEnter{0%{opacity:0}to{opacity:1}}@keyframes modalEnter{0%{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}@media(min-width:700px){.menu-grid{grid-template-columns:1fr 1fr}.tutorial-track{grid-auto-columns:42%}}
