/* Financial Alias 12.2 — Approved Linear × Casual Game concept.
   Presentation-only overrides; the Firebase and game engines are not modified. */
:root{--concept-text:#131820;--concept-grey:#868e99;--concept-border:#e5e8ed;--concept-green:#19624d;--concept-softgreen:#e5f4ec;--concept-red:#963e38;--concept-softred:#fff0ef;color-scheme:light;background:#fff!important;color:var(--concept-text)!important}
html,body{background:#fff!important;color:var(--concept-text);-webkit-font-smoothing:antialiased}
main.wrap{max-width:1030px!important;padding:0 24px 74px!important}
.top,main.wrap>header{background:#fff!important;border-bottom:1px solid var(--concept-border)!important;padding:21px 0!important;margin-bottom:28px!important}
.top .brand{gap:12px!important;text-decoration:none!important}
.brand-icon,header .brand-logo{transform:none!important;border-radius:12px!important;width:45px!important;height:45px!important;min-width:45px!important;background:#141923!important;color:#fff!important;font-size:29px!important;box-shadow:0 2px 4px #10182815!important}
.brand-dot{color:#56bb92!important}
.brand-type strong{font-size:17px!important;letter-spacing:-.035em!important;color:#151515!important;font-weight:800!important}
.brand-type small{font-size:11px!important;color:#9499a3!important;letter-spacing:0}
.nav-pill,main.wrap>header>a:not(.brand-home){border:1px solid var(--concept-border)!important;background:#fff!important;border-radius:11px!important;color:#2e343b!important;min-height:46px!important;padding:11px 15px!important;text-decoration:none!important;font-weight:700!important;font-size:13px!important}
.nav-pill:hover{background:#f7f8f9!important}
.btn{border-radius:10px!important;font-weight:700!important;border:1px solid #dfe4e9!important;background:#fff!important;color:#3c4450!important;box-shadow:none!important}
.btn.primary{background:var(--concept-green)!important;border-color:var(--concept-green)!important;color:#fff!important}
.btn.primary:hover:not(:disabled){background:#124b3c!important;border-color:#124b3c!important}
.field{border-color:#e0e3e8!important;border-radius:10px!important}
.card{border:1px solid #e5e9ed!important;border-radius:14px!important;box-shadow:none!important;background:#fff!important}
.guest-resume, .cloud-drawer, .game-cloud{background:#fff!important;border:1px solid var(--concept-border)!important;border-radius:13px!important;box-shadow:none!important}
.guest-resume{margin:12px 0 30px!important}
.guest-resume>summary{min-height:65px!important;padding:17px 20px!important;color:#263240!important;font-weight:700!important;font-size:16px!important}
/* Setup: exact content architecture of the approved mockup */
#setup{max-width:930px!important;margin:auto!important;padding-bottom:10px!important}
#setup .setup-compact-title{font-size:clamp(35px,5vw,49px)!important;line-height:1.13!important;letter-spacing:-.05em!important;font-style:normal!important;color:#101418!important;font-weight:815!important;margin:20px 0 26px!important}
#setup .wizard-nav{display:flex!important;align-items:center!important;gap:0!important;border:0!important;border-bottom:1px solid var(--concept-border)!important;margin:0 0 27px!important;padding:0 0 20px!important;overflow:visible!important}
#setup .wizard-tab{flex:1 1 0!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;color:#9398a2!important;background:transparent!important;border:0!important;border-radius:0!important;padding:5px 7px!important;min-height:55px!important;min-width:0!important;font-size:13px!important;line-height:1.25!important;text-align:left!important;white-space:normal!important;font-weight:675!important;box-shadow:none!important}
#setup .wizard-tab.selected{background:transparent!important;color:#22272f!important;border:0!important}
#setup .wizard-tab .wizard-index{display:grid!important;place-items:center!important;flex:0 0 35px!important;width:35px!important;height:35px!important;border-radius:50%!important;background:#f1f2f5!important;color:#9a9fa8!important;font-size:14px!important;letter-spacing:0!important;font-weight:800!important;opacity:1!important}
#setup .wizard-tab.selected .wizard-index{background:#1b654f!important;color:#fff!important}
#setup .wizard-heading{margin:0 0 14px!important}
#setup .wizard-heading .step-kicker{display:none!important}
#setup .wizard-heading h2{font-size:clamp(25px,3.7vw,32px)!important;margin:0!important;color:#11161a!important;letter-spacing:-.042em!important;font-weight:785!important}
#setup .wizard-heading p{font-size:15px!important;color:#9299a3!important;margin:9px 0 13px!important;line-height:1.5!important}
#setup #wizardStep1>.card{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
#setup #wizardStep1 .sectionHead{margin:0 0 12px!important;min-height:22px!important}
#setup #wizardStep1 #selectedCount{background:transparent!important;border:0!important;color:#99a1aa!important;font-size:11px!important;font-weight:600!important;padding:0!important}
#setup #wizardStep1 .chips{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:7px!important;margin:7px 0 18px!important;padding:0!important}
#setup .chips .btn{min-height:40px!important;padding:9px 13px!important;font-size:12px!important;white-space:nowrap!important;border:1px solid #e7e9ee!important;border-radius:10px!important;background:#fafbfc!important;color:#606b79!important;font-weight:700!important}
#setup #presetFinance{background:#e4f3ec!important;color:#176047!important;border-color:#e4f3ec!important}
#setup #wizardStep1 .eyebrow{color:#9ba3ae!important;font-size:10px!important;letter-spacing:.13em!important;margin:15px 0 10px!important}
#setup #wizardStep1 .categories{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0 0 16px!important}
#setup #wizardStep1 .category{position:relative;display:grid!important;grid-template-columns:42px minmax(0,1fr) 19px!important;grid-template-rows:1fr!important;column-gap:12px!important;min-height:84px!important;padding:12px!important;border-radius:14px!important;border:1px solid #e8ebef!important;background:#fff!important;box-shadow:0 1px 2px #151a2510!important;align-items:center!important;align-content:center!important;user-select:none}
#setup #wizardStep1 .category:has(input:checked){border-color:#1d7257!important;background:#f7fcf9!important;box-shadow:0 0 0 1px #1d7257!important}
#setup .category .concept-category-icon{grid-column:1!important;grid-row:1!important;display:flex;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;border-radius:12px;background:#e8f7ef;color:#258b63;font-size:22px;font-weight:750;font-family:inherit}
#setup .category[data-kind=budget] .concept-category-icon,#setup .category[data-kind=accounting] .concept-category-icon{background:#f3edff;color:#8d5be4}
#setup .category[data-kind=invest] .concept-category-icon{background:#fff0e7;color:#ed7b32}
#setup .category[data-kind=engineering] .concept-category-icon,#setup .category[data-kind=tech] .concept-category-icon{background:#eaf1ff;color:#417dcf}
#setup .category[data-kind=economy] .concept-category-icon{background:#ffedf3;color:#e96884}
#setup .category[data-kind=food] .concept-category-icon,#setup .category[data-kind=culture] .concept-category-icon{background:#fff4e1;color:#d59618}
#setup .category[data-kind=nature] .concept-category-icon,#setup .category[data-kind=travel] .concept-category-icon{background:#e4f6f4;color:#2ba8a2}
#setup #wizardStep1 .category>div{grid-column:2!important;grid-row:1!important;min-width:0!important}
#setup #wizardStep1 .category .catname{display:block;color:#191c22!important;font-size:14px!important;font-weight:760!important;line-height:1.26!important;letter-spacing:-.02em!important}
#setup #wizardStep1 .category .catdesc{display:none!important}
#setup #wizardStep1 .category .catcount{position:absolute;left:66px;bottom:13px;grid-column:auto!important;grid-row:auto!important;color:#8c949e!important;font-size:11px!important;font-weight:550!important;margin:0!important;letter-spacing:0!important}
#setup #wizardStep1 .category>div{padding-bottom:15px!important}
#setup #wizardStep1 .category input{appearance:none;-webkit-appearance:none;grid-column:3!important;grid-row:1!important;width:20px!important;height:20px!important;border:1.5px solid #cdd3da!important;border-radius:6px!important;background:#fff!important;margin:0!important;position:relative;cursor:pointer}
#setup #wizardStep1 .category input:checked{background:#1b654f!important;border-color:#1b654f!important}
#setup #wizardStep1 .category input:checked::after{content:'✓';color:#fff;font-size:14px;line-height:18px;display:block;text-align:center;font-weight:900}
#setup .wizard-actions{border:0!important;margin:6px 0 0!important;padding:0 0 16px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;background:transparent!important;position:static!important}
#setup .wizard-footnote{font-size:12px!important;color:#9ca3ad!important}
#setup #wizardStep1 .wizard-actions{justify-content:flex-end!important}
#setup #wizardStep1 #wizardNext1{width:100%!important;font-size:16px!important;font-weight:740!important;min-height:58px!important;border-radius:13px!important;background:#185642!important;color:#fff!important;border-color:#185642!important}
#setup #wizardStep1 .wizard-footnote{display:none!important}
#setup .wizard-actions .btn.primary,#setup .launch-button{background:#185642!important;color:#fff!important;border-color:#185642!important;border-radius:12px!important;min-height:52px!important}
#setup .difficulty-option:has(input:checked){background:#f4faf6!important;border-color:#7eaa92!important}
#setup .ratio-panel{background:#fff!important;border-color:#e5e9ed!important}
/* Actual game screen matching approved composition, not dark v12.1 variant. */
body.alias11-playing,body.alias11-focus{background:#fff!important;color:#15181e!important}
body.alias11-playing main.wrap{padding:0 max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))!important;max-width:none!important}
body.alias11-playing main.wrap>.top,body.alias11-playing main.wrap>.guest-resume,body.alias11-playing main.wrap>.game-cloud,body.alias11-playing main.wrap>.cloud-feedback{display:none!important}
#play,body.alias11-playing #play{background:#fff!important;color:#15181e!important;box-shadow:none!important;border:0!important;border-radius:0!important;max-width:850px!important;margin:0 auto!important;padding:16px 0 18px!important;display:flex!important;flex-direction:column!important;gap:0!important;min-height:100dvh!important;isolation:auto!important;overflow:visible!important}
#play.hidden{display:none!important}
#play .v11-game-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:0 0 18px!important;border-bottom:1px solid #e5e8eb!important;min-height:63px!important;flex-shrink:0!important;color:#1c2227!important;letter-spacing:0!important}
#play .v11-game-top .game-identity{display:flex;align-items:center;gap:10px;min-width:0}
#play .game-brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#151923;color:#fff;font-size:23px;font-weight:850;letter-spacing:-.08em;flex:none}
#play .game-brand-mark span{color:#56bb92}
#play .game-identity strong{display:block!important;font-size:15px!important;line-height:1.13!important;color:#17191e!important;letter-spacing:-.03em!important}
#play .game-identity small{display:block;font-size:10px;color:#969da6;margin-top:4px;white-space:nowrap}
#play .game-header-actions{display:flex;gap:7px;align-items:center;flex-shrink:0}
#play .game-header-actions button,#play .v11-fullscreen{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:9px 13px!important;min-height:43px!important;min-width:0!important;font-size:12px!important;font-weight:700!important;letter-spacing:0!important;white-space:nowrap!important;line-height:1.2!important;border:1px solid #dce2e8!important;border-radius:10px!important;background:#fff!important;color:#283039!important;position:relative!important;z-index:6!important;touch-action:manipulation!important;text-decoration:none!important}
#play .game-header-actions button:active{background:#f1f6f4!important}
#play .game-breadcrumb{font-size:11px;letter-spacing:.095em;color:#979da7;font-weight:790;margin:23px 0 12px}
#play .stats,body.alias11-playing #play .stats{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;display:flex!important;align-items:start!important;justify-content:flex-start!important;padding:0!important;min-height:0!important;gap:0!important;margin:0!important;flex-shrink:0!important}
#play #playingTeam,body.alias11-playing #play #playingTeam{color:#11171d!important;font-size:clamp(22px,3vw,29px)!important;font-weight:800!important;letter-spacing:-.055em!important;text-transform:none!important;line-height:1.2!important}
#play #turnStats,body.alias11-playing #play #turnStats{color:#929aa4!important;font-size:12px!important;font-weight:580!important;margin:7px 0 0!important}
#play #deckRemaining,body.alias11-playing #play #deckRemaining{background:transparent!important;border:0!important;padding:0!important;margin:0!important;font-size:0!important;color:transparent!important}
#play .fair-notice:not(.on){display:none!important}
#play .fair-notice.on{font-size:11px!important;padding:6px!important;margin-top:6px!important}
#play #timer,body.alias11-playing #play #timer{color:#12151b!important;text-shadow:none!important;font-weight:810!important;font-size:clamp(78px,11.5dvh,118px)!important;letter-spacing:-.09em!important;line-height:1.08!important;margin:32px auto 12px!important;text-align:center!important;min-height:auto!important}
#play #timer.low,body.alias11-playing #play #timer.low{color:#bd4138!important;animation:none!important}
#play #timerMeter{height:6px!important;min-height:6px!important;background:#eef0f2!important;border-radius:99px!important;margin:0!important;overflow:hidden!important;flex-shrink:0!important}
#play #timerBar{background:#20242a!important;transition:width .1s linear!important}
#play #timerMeter.low #timerBar{background:#b9433a!important}
#play .wordcard,body.alias11-playing #play .wordcard{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:15px!important;flex:1 1 auto!important;min-height:clamp(210px,34dvh,350px)!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;padding:30px 10px!important;margin:0!important;overflow:visible!important}
#play .wordcard::before{display:none!important}
#play .game-category{display:inline-flex;align-items:center;justify-content:center;max-width:85%;text-align:center;background:#e6f6ee;color:#146a4d;border-radius:12px;padding:8px 13px;font-weight:750;font-size:12px;letter-spacing:0;line-height:1.25}
#play .wordcard h2,body.alias11-playing #play .wordcard h2{font-size:clamp(42px,9vw,77px)!important;font-weight:820!important;letter-spacing:-.075em!important;line-height:1.06!important;margin:0!important;color:#111417!important;text-shadow:none!important;overflow-wrap:anywhere!important;hyphens:auto!important}
#play .actions,body.alias11-playing #play .actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;flex-shrink:0!important;margin:0!important}
#play .actions .btn,body.alias11-playing #play .actions .btn{display:flex!important;flex-direction:row!important;min-height:84px!important;gap:3px!important;padding:12px!important;border-radius:15px!important;font-size:clamp(14px,3.7vw,18px)!important;font-weight:790!important;line-height:1.2!important;box-shadow:none!important;white-space:nowrap!important}
#play #correct,body.alias11-playing #play #correct{background:#216b50!important;border:1px solid #216b50!important;color:#fff!important}
#play #skip,body.alias11-playing #play #skip{background:#fff0ef!important;border:1px solid #f1d1ce!important;color:#9d4640!important}
#play .actions button:active{transform:scale(.985)!important}
#play .hint.center,#play .alias10-tools,#play .scoregrid,#play .progressrow{display:none!important}
#play .undo-row{display:flex!important;justify-content:center!important;margin:16px 0 0!important;flex-shrink:0!important}
#play .undo-row #undoPlay{background:transparent!important;color:#939aa3!important;border:0!important;text-decoration:none!important;min-height:44px!important;padding:9px!important;font-size:12px!important;font-weight:650!important}
#play .undo-row #undoPlay:disabled{opacity:.45!important}
#play .center.spaced{display:none!important}
#play.alias10-correct .wordcard,#play.alias10-skip .wordcard{animation:none!important}
body.alias11-focus #play{background:#fff!important;color:#171717!important;height:100dvh!important;min-height:0!important;max-width:none!important;padding:calc(8px + env(safe-area-inset-top)) calc(15px + env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) calc(15px + env(safe-area-inset-left))!important;overflow-y:auto!important}
body.alias11-focus #play .wordcard{background:#fff!important;min-height:clamp(155px,25dvh,310px)!important;flex:1!important}
body.alias11-focus #play .game-brand-mark{width:38px;height:38px}
/* Other screens & admin share crisp white product appearance */
#between,#turnEnd,#overtime,#paused,#finish{max-width:760px!important;margin:25px auto!important}
#between .card,#turnEnd .card,#finish .card{border-radius:13px!important;border-color:#e6eaed!important;background:#fff!important}
#between .btn.primary,#turnEnd .btn.primary,#paused .btn.primary,#finish .btn.primary{background:#19624d!important;color:#fff!important;border-color:#19624d!important;border-radius:12px!important}
body:has(#adminContent){background:#fff!important}
body:has(#adminContent) main.wrap{max-width:1150px!important;padding:17px 23px 70px!important;background:#fff!important}
body:has(#adminContent) main.wrap>header{margin:0 0 30px!important;padding:11px 0 18px!important}
body:has(#adminContent) h1{color:#131820!important;font-size:clamp(38px,5vw,58px)!important;font-weight:800!important;letter-spacing:-.05em!important}
body:has(#adminContent) h2{color:#1e252d!important}
body:has(#adminContent) .card{border:1px solid #e4e8ec!important;border-radius:13px!important;box-shadow:none!important;background:#fff!important}
body:has(#adminContent) .metric,body:has(#adminContent) .stat-metric{background:#fff!important;border-color:#e6eaed!important;border-radius:12px!important}
body:has(#adminContent) .admin-tabs{border-bottom:1px solid #e8ebef!important;gap:6px!important;padding:0 0 9px!important}
body:has(#adminContent) .admin-tabs .btn{background:transparent!important;border:0!important;color:#747c88!important;border-radius:9px!important}
body:has(#adminContent) .admin-tabs .btn[aria-selected=true]{background:#19624d!important;color:#fff!important}
body:has(#adminContent) .stat-bar{background:#24785d!important}
body:has(#adminContent) .field{border-color:#dfe5e8!important}
/* Phone & short screen refinements */
@media(max-width:700px){
 main.wrap{padding:0 17px 55px!important}
 .top,main.wrap>header{padding:16px 0!important;margin-bottom:19px!important}
 .brand-icon,header .brand-logo{width:39px!important;height:39px!important;min-width:39px!important;font-size:25px!important}
 .brand-type strong{font-size:15px!important}
 .brand-type small{font-size:10px!important}
 .nav-pill{min-height:43px!important;font-size:12px!important;padding:9px 12px!important}
 .guest-resume{margin-bottom:23px!important}
 .guest-resume>summary{font-size:14px!important;min-height:59px!important;padding:14px 13px!important}
 #setup .setup-compact-title{font-size:36px!important;margin:15px 0 19px!important}
 #setup .wizard-nav{margin:0 0 21px!important;padding:0 0 15px!important}
 #setup .wizard-tab{font-size:11px!important;gap:6px!important;padding:4px 3px!important;min-height:43px!important}
 #setup .wizard-tab .wizard-index{flex:0 0 30px!important;width:30px!important;height:30px!important;font-size:12px!important}
 #setup .wizard-heading h2{font-size:26px!important}
 #setup .wizard-heading p{font-size:13px!important;margin:7px 0 9px!important}
 #setup #wizardStep1 .chips{overflow:visible!important;flex-wrap:wrap!important;gap:7px!important;margin:6px 0 12px!important}
 #setup .chips .btn{font-size:11px!important;min-height:36px!important;padding:7px 10px!important}
 #setup #wizardStep1 .categories{gap:8px!important}
 #setup #wizardStep1 .category{grid-template-columns:32px minmax(0,1fr) 16px!important;column-gap:7px!important;min-height:83px!important;padding:8px!important;border-radius:11px!important}
 #setup .category .concept-category-icon{width:32px!important;height:32px!important;min-width:32px!important;font-size:18px!important;border-radius:9px!important}
 #setup #wizardStep1 .category .catname{font-size:11px!important;line-height:1.22!important}
 #setup #wizardStep1 .category .catcount{left:47px!important;bottom:12px!important;font-size:10px!important}
 #setup #wizardStep1 .category input{width:16px!important;height:16px!important;border-radius:5px!important}
 #setup #wizardStep1 .category input:checked::after{font-size:11px!important;line-height:14px!important}
 #setup #wizardStep1 .category>div{padding-bottom:17px!important}
 #setup #wizardStep1 #wizardNext1{min-height:54px!important;font-size:15px!important}
 body.alias11-playing main.wrap{padding:0 max(14px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))!important}
 #play,body.alias11-playing #play{min-height:100dvh!important;padding:9px 0 14px!important;gap:0!important}
 #play .v11-game-top{min-height:57px!important;padding:0 0 12px!important;gap:6px!important}
 #play .game-brand-mark{width:35px!important;height:35px!important;font-size:22px!important;border-radius:9px!important}
 #play .game-identity{gap:7px!important}
 #play .game-identity strong{font-size:13px!important}
 #play .game-identity small{font-size:9px!important}
 #play .game-header-actions{gap:5px!important}
 #play .game-header-actions button,#play .v11-fullscreen{min-height:43px!important;min-width:0!important;font-size:11px!important;border-radius:9px!important;padding:7px 9px!important}
 #play .game-breadcrumb{margin:20px 0 13px!important;font-size:10px!important}
 #play #playingTeam,body.alias11-playing #play #playingTeam{font-size:22px!important}
 #play #turnStats,body.alias11-playing #play #turnStats{font-size:12px!important;margin:5px 0 0!important}
 #play #timer,body.alias11-playing #play #timer{font-size:clamp(73px,12.8dvh,106px)!important;margin:24px auto 12px!important}
 #play .wordcard,body.alias11-playing #play .wordcard{min-height:clamp(210px,32dvh,360px)!important;padding:20px 6px!important;gap:17px!important}
 #play .wordcard h2,body.alias11-playing #play .wordcard h2{font-size:clamp(39px,11vw,59px)!important;letter-spacing:-.063em!important}
 #play .game-category{font-size:11px!important;padding:8px 11px!important}
 #play .actions .btn,body.alias11-playing #play .actions .btn{min-height:78px!important;font-size:clamp(13px,3.6vw,16px)!important;border-radius:12px!important;padding:10px 5px!important}
 #play .undo-row{margin:10px 0 0!important}
 body.alias11-focus #play{min-height:0!important;height:100dvh!important;padding:calc(8px + env(safe-area-inset-top)) calc(14px + env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) calc(14px + env(safe-area-inset-left))!important}
 body:has(#adminContent) main.wrap{padding:12px 16px 50px!important}
}
@media(max-width:375px){#play .game-identity small{display:none!important}#play .game-header-actions button{padding:7px 8px!important;font-size:10px!important}#play #playingTeam{font-size:20px!important}#setup #wizardStep1 .category .catname{font-size:10.5px!important}#setup #wizardStep1 .category .catcount{font-size:9px!important}}
@media(max-height:730px){#play #timer,body.alias11-playing #play #timer{font-size:clamp(58px,10dvh,75px)!important;margin:15px auto 6px!important}#play .wordcard,body.alias11-playing #play .wordcard{min-height:145px!important;padding:12px 6px!important}#play .actions .btn,body.alias11-playing #play .actions .btn{min-height:65px!important}#play .game-breadcrumb{margin:10px 0!important}}
@media(prefers-reduced-motion:reduce){#play *{animation:none!important;transition:none!important}}

.top .brand{border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}
#play .game-header-actions button,#play .v11-fullscreen{min-height:46px!important}

/* 12.3: the undo action should be immediately visible and easy to tap.
   Overrides older transparent/text-link variants, including fullscreen mode. */
#play .undo-row, body.alias11-playing #play .undo-row {
  display:flex!important; justify-content:center!important; margin:12px 0 0!important;
}
#play .undo-row #undoPlay,
#overtime .undo-row .undo-button,
#turnEnd .undo-row .undo-button,
#finish .undo-row .undo-button {
  display:inline-flex!important; align-items:center!important; justify-content:center!important;
  width:auto!important; max-width:100%!important; min-width:min(100%, 270px)!important;
  min-height:52px!important; padding:12px 18px!important;
  background:#edf5f1!important; border:1.5px solid #a2c4b4!important;
  border-radius:13px!important; color:#205f49!important;
  font-size:14px!important; font-weight:750!important; line-height:1.2!important;
  text-align:center!important; letter-spacing:0!important;
  box-shadow:0 1px 2px rgba(15,55,39,.05)!important;
  text-decoration:none!important; touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
#play .undo-row #undoPlay:not(:disabled):active,
#overtime .undo-row .undo-button:not(:disabled):active,
#turnEnd .undo-row .undo-button:not(:disabled):active,
#finish .undo-row .undo-button:not(:disabled):active {background:#deede5!important; transform:scale(.99)}
#play .undo-row #undoPlay:disabled,
#overtime .undo-row .undo-button:disabled,
#turnEnd .undo-row .undo-button:disabled,
#finish .undo-row .undo-button:disabled {
  opacity:1!important; background:#f6f7f7!important; border-color:#d9dfdc!important;
  color:#89948e!important; box-shadow:none!important; cursor:not-allowed;
}
#play .undo-row #undoPlay:focus-visible,
#overtime .undo-row .undo-button:focus-visible,
#turnEnd .undo-row .undo-button:focus-visible,
#finish .undo-row .undo-button:focus-visible {outline:3px solid #81b9a2!important;outline-offset:3px!important}
@media(max-width:650px){#play .undo-row #undoPlay{min-height:54px!important;font-size:14px!important;padding:12px 16px!important}}
