:root{--fs-safe-t:max(4px, env(safe-area-inset-top));--fs-safe-r:max(4px, env(safe-area-inset-right));--fs-safe-b:max(4px, env(safe-area-inset-bottom));--fs-safe-l:max(4px, env(safe-area-inset-left));--fs-ui-gap:4px;--fs-touch:38px}html.fs-ios-native{--fs-safe-b:4px}#app,body,html{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important}body,html{overflow:hidden!important}#app{box-sizing:border-box!important;padding:var(--fs-safe-t) var(--fs-safe-r) var(--fs-safe-b) var(--fs-safe-l)!important}#board,.center,.controls-card,.firestorm-banner-wrap,.player-tile,.race-info-card,.summary-card{min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;box-sizing:border-box!important}button,input,select,textarea{box-sizing:border-box}.player-rotator{position:absolute;inset:0;z-index:2;transform:rotate(var(--rot,0deg));transform-origin:center;transition:transform .18s;pointer-events:none}.player-rotator>.player-content{z-index:auto;transform:none!important;transition:none!important}.player-rotator>.edit-btn,.player-rotator>.rotate-btn{pointer-events:auto}@media (orientation:landscape) and (max-height:600px){:root{--fs-ui-gap:3px;--fs-touch:34px}#board{grid-template-columns:clamp(168px,min(22vw,calc((100dvh - var(--fs-safe-t) - var(--fs-safe-b) - var(--fs-ui-gap))/ 2)),212px) var(--fs-ui-gap) minmax(0,1fr) var(--fs-ui-gap) clamp(168px,min(22vw,calc((100dvh - var(--fs-safe-t) - var(--fs-safe-b) - var(--fs-ui-gap))/ 2)),212px)!important;grid-template-rows:minmax(0,1fr) var(--fs-ui-gap) minmax(0,1fr)!important}.center{gap:var(--fs-ui-gap)!important;grid-template-rows:78px 64px minmax(118px,1.3fr) minmax(102px,.9fr)!important}.top-controls{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:3px!important;padding:3px!important;overflow:hidden!important}.top-controls .home-action{min-width:0!important;min-height:0!important;height:auto!important;padding:3px 4px!important;border-radius:9px!important;font-size:clamp(10px,2.8vh,13px)!important;line-height:1!important;letter-spacing:.015em!important;white-space:normal!important;overflow:hidden!important}.top-controls .home-action::after{margin-top:2px!important;font-size:clamp(6.5px,1.65vh,8px)!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.race-info-card{padding:2px 5px!important;border-radius:10px!important;overflow:hidden!important}.timer-only-card .timer-panel-main{height:100%!important;min-height:0!important;padding:3px 5px!important;box-sizing:border-box!important}.timer-panel .master-label{font-size:9px!important;line-height:1.08!important}.timer-panel .master-time{font-size:clamp(30px,8vh,36px)!important;line-height:.9!important;white-space:nowrap!important}.timer-panel .master-state{font-size:9px!important;line-height:1.15!important;padding-bottom:1px!important}.round-inline{font-size:clamp(9px,2.35vh,12px)!important}.firestorm-banner-wrap{display:block!important;position:relative!important;border-radius:10px!important;overflow:hidden!important}.firestorm-banner-wrap>.firestorm-banner-link{width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;border-radius:10px!important;border-bottom:1px solid rgba(255,104,32,.38)!important}.firestorm-banner-link img{object-fit:cover!important;object-position:center 44%!important;width:100%!important;height:100%!important;transform:scale(1.055)!important}.firestorm-version-control{position:absolute!important;z-index:7!important;right:5px!important;bottom:5px!important;font-size:7.5px!important;min-height:18px!important;margin:0!important;padding:2px 6px!important}.summary-card{padding:3px 5px!important;border-radius:10px!important;overflow:hidden!important}.summary-title{font-size:clamp(15px,3.8vh,20px)!important;line-height:1!important;margin:0 0 2px!important}.summary-heading-row{min-height:0!important;margin:0!important}.score-table{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}.score-table td,.score-table th{min-width:0!important;padding:2px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1!important}.score-table th{font-size:clamp(7.5px,1.9vh,9px)!important}.score-table td{font-size:clamp(12px,3.35vh,17px)!important}.score-table td:first-child,.score-table th:first-child{width:28%!important}.score-table td:nth-child(2),.score-table th:nth-child(2){width:22%!important}.score-table td:nth-child(3),.score-table th:nth-child(3){width:13%!important}.score-table td:nth-child(4),.score-table td:nth-child(5),.score-table th:nth-child(4),.score-table th:nth-child(5){width:12%!important}.score-table td:nth-child(6),.score-table th:nth-child(6){width:13%!important}.game-challenge-button{min-height:24px!important;padding:3px 6px!important;font-size:8px!important;margin-top:3px!important}.player-tile{border-radius:10px!important;border-width:2px!important;overflow:hidden!important}.player-tile:before{inset:5px!important;border-radius:8px!important}.player-content{padding:7px!important;gap:1px!important;justify-content:center!important;overflow:hidden!important}.player-name{font-size:clamp(22px,6.6vh,33px)!important;line-height:.95!important;max-width:92%!important}.tap{font-size:clamp(7.5px,1.95vh,10px)!important;margin-top:2px!important;line-height:1!important}.player-tile.finished .tile-time,.tile-time{font-size:clamp(27px,7.8vh,36px)!important;margin-top:2px!important;line-height:.9!important}.state-ring{display:none!important}.tile-score-box{width:90%!important;margin-top:3px!important;padding:3px 0!important}.tile-score-label{font-size:clamp(7.5px,1.8vh,9px)!important;line-height:1!important}.tile-score{font-size:clamp(29px,8.8vh,40px)!important;line-height:.9!important}.tile-stats{width:88%!important;margin-top:3px!important;padding-top:3px!important;font-size:clamp(8.5px,2.2vh,11px)!important;line-height:1!important;row-gap:1px!important}.player-rotator>.edit-btn,.player-rotator>.rotate-btn{top:50%!important;bottom:auto!important;width:38px!important;height:38px!important;border-radius:10px!important;font-size:20px!important;transform:translateY(-50%)!important}.player-rotator>.edit-btn.pressed,.player-rotator>.rotate-btn.pressed{transform:translateY(-50%) scale(.96)!important}.player-rotator>.edit-btn{right:6px!important}.player-rotator>.rotate-btn{left:6px!important}.player-tile.inactive .player-content{justify-content:center!important;gap:1px!important;padding:7px!important}.player-tile.inactive .player-name{font-size:clamp(22px,6.6vh,33px)!important;line-height:.95!important;max-width:92%!important}.player-tile.inactive .tap{display:block!important;color:var(--ember)!important;font-size:clamp(7.5px,1.95vh,10px)!important;margin-top:2px!important;line-height:1!important}.player-tile.inactive .tile-time{display:block!important;color:#786b5e!important;text-shadow:0 2px 0 #000!important;font-size:clamp(27px,7.8vh,36px)!important;margin-top:2px!important;line-height:.9!important}.player-tile.inactive .tile-score-box{width:90%!important;margin-top:3px!important;padding:3px 0!important;opacity:1!important}.player-tile.inactive .tile-score-label{color:inherit!important;font-size:clamp(7.5px,1.8vh,9px)!important;line-height:1!important}.player-tile.inactive .tile-score{font-size:clamp(29px,8.8vh,40px)!important;line-height:.9!important}.player-tile.inactive .state-ring{display:none!important}.player-tile.inactive .tile-stats{width:88%!important;margin-top:3px!important;padding-top:3px!important;font-size:clamp(8.5px,2.2vh,11px)!important;line-height:1!important;row-gap:1px!important}.modal.show:not(.sequential-stage-modal){padding:max(4px,env(safe-area-inset-top)) max(4px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left))!important;overflow:auto!important;align-items:center!important;justify-content:center!important}.modal.show:not(.sequential-stage-modal)>.first-run-card,.modal.show:not(.sequential-stage-modal)>.game-challenge-card,.modal.show:not(.sequential-stage-modal)>.modal-card,.modal.show:not(.sequential-stage-modal)>.play-launch-shell,.modal.show:not(.sequential-stage-modal)>.smart-setup-shell,.modal.show:not(.sequential-stage-modal)>.solo-challenge-card,.modal.show:not(.sequential-stage-modal)>.start-here-shell{width:min(100%,760px)!important;max-width:100%!important;max-height:calc(100vh - 8px)!important;min-width:0!important;min-height:0!important;overflow:auto!important;margin:0!important;border-radius:12px!important}.modal-card input,.modal-card select,.modal-card textarea{font-size:16px!important;max-width:100%!important}}@media (orientation:landscape) and (max-height:380px){.center{grid-template-rows:64px 42px minmax(68px,1fr) minmax(64px,.84fr)!important}.top-controls .home-action{font-size:10px!important;padding:2px 3px!important}.top-controls .home-action::after{font-size:6px!important}.timer-panel .master-time{font-size:30px!important}.player-name{font-size:17px!important}.player-tile.finished .tile-time,.tile-time{font-size:22px!important}.tile-score{font-size:23px!important}.edit-btn,.rotate-btn{width:27px!important;height:27px!important;font-size:14px!important}}@media (orientation:landscape) and (min-height:601px) and (max-width:1400px){#board{grid-template-columns:minmax(160px,.92fr) clamp(6px,.7vw,10px) minmax(0,2.55fr) clamp(6px,.7vw,10px) minmax(160px,.92fr)!important}.center{gap:clamp(6px,.65vw,10px)!important;grid-template-rows:auto auto minmax(120px,.9fr) minmax(120px,1fr)!important}.top-controls{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(48px,1fr))!important}.top-controls .home-action{font-size:clamp(13px,1.65vw,18px)!important}.top-controls .home-action::after{font-size:clamp(8px,1vw,11px)!important}.score-table{table-layout:fixed!important}}@media (min-width:1401px) and (orientation:landscape){#app{padding:clamp(8px,1vw,16px)!important}#board{max-width:1800px!important;margin:0 auto!important;grid-template-columns:minmax(220px,1fr) clamp(10px,.8vw,14px) minmax(620px,2.35fr) clamp(10px,.8vw,14px) minmax(220px,1fr)!important}.center{gap:clamp(8px,.8vw,13px)!important}.top-controls{grid-template-columns:repeat(4,minmax(0,1fr))!important}}@media (orientation:portrait){#rotateWarning{display:flex!important}}html.fs-android-installed #app,html.fs-android-installed .modal,html.fs-android-installed .play-launch-modal,html.fs-android-installed .sequential-stage-modal{padding-left:var(--fs-safe-l)!important;padding-right:var(--fs-safe-r)!important}.summary-card{overflow-x:hidden!important;overflow-y:auto!important}.summary-card .score-table{width:100%!important;max-width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}.summary-card .score-table td,.summary-card .score-table th{min-width:0!important;padding:2px 1px!important;line-height:1.15!important;letter-spacing:0!important;font-variant-numeric:tabular-nums!important}.summary-card .score-table th{font-size:var(--fs-score-heading-size,9px)!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.summary-card .score-table td{font-size:var(--fs-score-number-size,14px)!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}.summary-card .score-table .name-cell{font-size:var(--fs-score-name-size,14px)!important;overflow:hidden!important;text-overflow:ellipsis!important}.summary-card .score-table .rank{font-size:inherit!important;margin-right:2px!important}.summary-card .score-table :is(th,td):first-child{width:34%!important}.summary-card .score-table :is(th,td):nth-child(2){width:25%!important}.summary-card .score-table :is(th,td):nth-child(3){width:17%!important}.summary-card .score-table :is(th,td):nth-child(4){width:24%!important}#board.handicap-on .summary-card .score-table :is(th,td):first-child{width:26%!important}#board.handicap-on .summary-card .score-table :is(th,td):nth-child(2){width:18%!important}#board.handicap-on .summary-card .score-table :is(th,td):nth-child(3){width:12%!important}#board.handicap-on .summary-card .score-table :is(th,td):nth-child(4){width:15%!important}#board.handicap-on .summary-card .score-table :is(th,td):nth-child(5){width:12%!important}#board.handicap-on .summary-card .score-table :is(th,td):nth-child(6){width:17%!important}#app .top-controls .home-action::after{content:none!important;display:none!important}@media(orientation:landscape) and (max-height:600px){#app .center{grid-template-rows:68px 54px minmax(60px,1fr) minmax(124px,auto)!important}}#playersModal.modal.show{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;box-sizing:border-box!important;padding:max(6px,env(safe-area-inset-top)) max(8px,var(--fs-safe-r)) max(6px,env(safe-area-inset-bottom)) max(8px,var(--fs-safe-l))!important}#playersModal .setup-card{width:min(980px,100%)!important;height:min(720px,100%)!important;max-height:100%!important;display:flex!important;min-height:0!important;overflow:hidden!important}#playersModal .setup-topbar{position:relative;z-index:10;align-items:center;padding:6px 10px;gap:8px;background:#080808}#playersModal .setup-top-actions{gap:5px}#playersModal .setup-top-actions button{min-height:34px;min-width:70px;padding:6px 10px!important;font-size:11px!important;letter-spacing:0}#playersModal .setup-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain}#playersModal .setup-options-row{grid-template-columns:1fr!important}#playersModal .settings-player-name{font-size:14px;color:#ffe0b7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#playersModal .setup-card .edit-row-wrap{grid-template-columns:minmax(100px,1fr) minmax(120px,1fr) minmax(80px,.65fr) minmax(90px,.7fr)!important}html.fs-native #app .firestorm-banner-link{pointer-events:none}.play-countdown-choice{display:flex;align-items:center;gap:9px;margin:0 0 8px}.play-countdown-choice>span{font-size:12px;color:#e3b98d}.play-countdown-choice .play-session-segmented{flex:1}.play-countdown-choice button{min-height:32px!important;font-size:11px!important;padding:5px!important}#smartCubeModal .sequential-stage.review-mode .sequential-header{flex:0 0 76px!important;justify-content:center!important;padding:2px 8px!important}#smartCubeModal .sequential-stage.review-mode .sequential-body{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;padding:4px!important}#smartCubeModal .sequential-stage.review-mode .sequential-player-panel{display:none!important}#smartCubeModal .sequential-stage.review-mode .sequential-work-panel{grid-column:1!important;min-width:0!important;min-height:0!important;padding:5px!important;background:#070707!important}#smartCubeModal .review-mode #reviewStage.active{display:flex!important;flex-direction:column!important;gap:5px!important;padding:0!important;min-height:0!important;overflow:hidden!important}#smartCubeModal .review-mode #roundResultHero{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important;margin:0!important;padding:2px 5px!important;border:0!important;background:0 0!important;width:100%!important}#smartCubeModal .review-mode #roundResultWinner{font-size:20px!important;line-height:1.1!important;margin:0!important;white-space:normal!important}#smartCubeModal .review-mode #roundReviewWinner{font-size:11px!important;line-height:1.1!important;margin:0!important;color:#d1b694!important}#smartCubeModal .review-mode #roundResultSub[hidden]{display:none!important}#smartCubeModal .review-mode #roundReviewList{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow:auto!important;display:grid!important;grid-auto-rows:max-content!important;align-content:start!important;gap:4px!important;width:100%!important;margin:0!important;padding:0!important}#smartCubeModal .review-mode .compact-review-row{display:grid!important;grid-template-columns:minmax(95px,1.4fr) 54px 42px 48px repeat(4,minmax(43px,.65fr)) 104px!important;gap:5px!important;min-width:620px!important;margin:0!important;align-items:center!important;border-radius:8px!important;background:#0b0b0b!important}#smartCubeModal .review-mode .compact-review-row>div{min-width:0!important;grid-column:auto!important;grid-row:auto!important;text-align:center}#smartCubeModal .review-mode .review-player{text-align:left!important}#smartCubeModal .review-mode .review-player strong{display:block;font-size:14px!important;color:#ffc27d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#smartCubeModal .review-mode .compact-review-row small{display:block;font-size:9px!important;line-height:1.1;color:#c1ad99;margin:0!important}#smartCubeModal .review-mode .review-metric b{display:block;font-size:16px!important;line-height:1.1;color:#fff0db}#smartCubeModal .review-mode .review-phase b{display:block;font-size:12px!important;color:#f9dfbd}#smartCubeModal .review-mode .review-row-actions{display:flex!important;flex-direction:row!important;gap:4px!important;justify-content:flex-end!important}#smartCubeModal .review-mode .review-row-actions button{min-width:0!important;min-height:30px!important;padding:4px 8px!important;font-size:11px!important;border-radius:7px!important}#smartCubeModal .review-mode #reviewStage .review-actions{flex:0 0 auto!important;display:flex!important;gap:5px!important;flex-wrap:wrap!important;margin:0!important;padding:2px!important;justify-content:flex-end!important}#smartCubeModal .review-mode .review-actions button{min-height:32px!important;padding:5px 10px!important;font-size:11px!important;margin:0!important}#smartCubeModal .review-mode .sequential-footer{flex:0 0 36px!important;min-height:36px!important;padding:3px 6px!important}@media(orientation:landscape) and (max-height:360px){#app .center{grid-template-rows:60px 44px minmax(44px,1fr) minmax(112px,auto)!important}#smartCubeModal .sequential-stage.review-mode .sequential-header{height:60px!important;min-height:60px!important;flex-basis:60px!important}#smartCubeModal .sequential-stage.review-mode .sequential-banner{height:54px!important;max-height:54px!important}#smartCubeModal .review-mode .compact-review-row{min-height:36px!important;padding:3px 6px!important}#smartCubeModal .review-mode .review-metric b{font-size:14px!important}}#smartCubeModal .sequential-stage.review-mode{display:flex!important;flex-direction:column!important;grid-template:none!important}#smartCubeModal .sequential-stage.review-mode .sequential-header{flex:0 0 68px!important;height:68px!important;min-height:68px!important}#smartCubeModal .sequential-stage.review-mode .sequential-banner{width:min(480px,75vw)!important;max-width:75vw!important;object-fit:contain!important;height:64px!important;max-height:64px!important}#smartCubeModal .sequential-stage.review-mode .sequential-body{flex:1 1 auto!important;min-height:0!important}#smartCubeModal .review-mode .compact-review-row{min-height:40px!important;padding:3px 7px!important}#smartCubeModal .review-mode .review-phase b,#smartCubeModal .review-mode .review-phase small{line-height:1!important}#smartCubeModal .review-mode .review-phase span{display:block;color:#cbb79e;font-size:8px!important;line-height:1!important}#smartCubeModal .review-mode #roundResultHero{min-height:26px!important}#smartCubeModal .review-mode .sequential-footer button{min-height:26px!important;font-size:10px!important;padding:4px 8px!important}@media(orientation:landscape) and (max-height:360px){#smartCubeModal .sequential-stage.review-mode .sequential-header{height:54px!important;min-height:54px!important;flex-basis:54px!important}#smartCubeModal .sequential-stage.review-mode .sequential-banner{height:50px!important;max-height:50px!important}}#smartSetupModal.show{padding:max(6px,env(safe-area-inset-top)) max(28px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(28px,env(safe-area-inset-left))!important}#smartSetupModal>.smart-setup-shell{--dialog-max:940px;max-height:100%!important;background:#050505;padding:12px;overflow-y:auto!important}#smartSetupModal .smart-setup-foot{margin-top:5px;font-size:11px;text-align:left}#smartSetupModal .smart-setup-foot summary{min-height:28px;padding:5px 0;cursor:pointer;color:#c6a078}#smartSetupModal .smart-setup-foot p{margin:3px 0;line-height:1.35}@media(orientation:landscape) and (max-height:600px){html.fs-ios-native #smartSetupModal.show{padding-inline:max(62px,env(safe-area-inset-left)) max(62px,env(safe-area-inset-right))!important}#smartSetupModal>.smart-setup-shell{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);grid-template-areas:'brand progress' 'copy copy' 'live orientation' 'status actions' 'foot foot';gap:6px 12px;padding:8px 12px}#smartSetupModal .smart-setup-brand{grid-area:brand;width:min(330px,100%);height:54px;margin:0;object-position:left center}#smartSetupModal .smart-setup-progress{grid-area:progress;margin:0;gap:8px;font-size:11px;letter-spacing:.04em}#smartSetupModal .smart-setup-copy{grid-area:copy;text-align:left}#smartSetupModal .smart-setup-copy>span{display:none}#smartSetupModal .smart-setup-copy h2{font-size:23px;margin:0 0 4px;line-height:1.1}#smartSetupModal .smart-setup-copy p{max-width:none;font-size:13px;line-height:1.3}#smartSetupModal .smart-setup-live{grid-area:live;grid-template-columns:85px minmax(0,1fr);gap:6px;margin:0;padding:6px;max-width:none;width:100%;min-width:0}#smartSetupModal .smart-setup-cube-visual{width:80px;height:76px;transform:scale(.65);transform-origin:center}#smartSetupModal .smart-setup-live-copy small,#smartSetupModal .smart-setup-live-copy>span{display:none}#smartSetupModal .smart-setup-live-copy>strong{font-size:13px;margin:0 0 6px;white-space:normal;overflow-wrap:anywhere}#smartSetupModal .smart-setup-state-row{gap:4px}#smartSetupModal .smart-setup-state-badge{font-size:10px;letter-spacing:0;padding:4px 6px}#smartSetupModal .smart-setup-orientation{grid-area:orientation;grid-template-columns:1fr auto 1fr;gap:6px;width:100%;max-width:none;margin:0;padding:8px}#smartSetupModal .smart-setup-orientation[hidden]{display:none}#smartSetupModal .smart-setup-orientation strong{font-size:18px}#smartSetupModal .smart-setup-orientation span{font-size:10px}#smartSetupModal .smart-setup-status{grid-area:status;margin:0;padding:6px;min-height:42px;font-size:12px}#smartSetupModal .smart-setup-actions{grid-area:actions;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin:0;align-self:stretch}#smartSetupModal .smart-setup-actions button{min-height:42px;padding:6px 12px;font-size:13px}#smartSetupModal .smart-setup-foot{grid-area:foot;margin:0}}