@charset "UTF-8";html,body,#root{margin:0;height:100%;overflow:hidden}body{font-family:Roboto,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.RED{background:#ff6565}.BLUE{background:#88b6ff}.ORANGE{background:#ffb732}.WHITE{background:#fff}.RED.foreground{color:#ff6565;background:#0000}.BLUE.foreground{color:#88b6ff;background:#0000}.ORANGE.foreground{color:#ffb732;background:#0000}.WHITE.foreground{color:#fff;background:#0000}.number-token,.port{width:20px;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;position:relative}@media screen and (min-width: 600px){.number-token,.port{font-size:1.3rem}}.MuiPaper-elevation3.number-token{background:#151313;color:#fff}.MuiPaper-elevation3.robber{background:#6b6b6b;position:absolute;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0;line-height:1}.tile{position:absolute;display:flex;justify-content:center;align-items:center;transform:scale(1.02)}.edge{position:absolute;display:flex;justify-content:center;height:8px}.road{position:absolute;border:1px solid #151313;width:100%;height:100%;border-radius:2px}@media screen and (min-width: 600px){.edge{height:12px}}.node{position:absolute;height:10px;width:10px;display:flex;justify-content:center;align-items:center}.settlement{width:80%;height:80%}.city{width:100%;height:100%}.settlement,.city{border-radius:4px;border:2px solid #151313}.BLUE.city{border:4px solid rgb(136,182.3076923077,255);background:#151313}.RED.city{border:4px solid #ff6565;background:#151313}.ORANGE.city{border:4px solid #ffb732;background:#151313}.WHITE.city{border:4px solid white;background:#151313}.pulse{cursor:pointer;position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%)}.pulse:after{content:"";position:absolute;left:0;top:0;display:block;width:100%;height:100%;background-color:#fff;border-radius:4px;box-shadow:0 0 8px #0000004d;animation:pulse-dot 1.25s cubic-bezier(.455,.03,.515,.955) -.4s infinite}@keyframes pulse-dot{0%{transform:scale(.8)}50%{transform:scale(1)}to{transform:scale(.8)}}.edge .pulse{width:90%;height:90%}.node .pulse{width:75%;height:75%}.number-token{--scale-factor: .65;--base-font-size: 100%;height:4ch;width:4ch;text-align:center;padding:5px;line-height:.8rem;position:relative;display:flex;flex-direction:column}.number-token .pips{font-size:calc(var(--base-font-size) * 60%)}.number-token.flashing{animation:number-token-pulse .5s ease-in-out infinite alternate;cursor:pointer}@keyframes number-token-pulse{0%{transform:scale(1);background:#151313;box-shadow:0 0 #90caf933}to{transform:scale(1.08);background:#353030;box-shadow:0 0 0 4px #90caf999}}@media (max-width: 600px){.number-token{--base-font-size: 75%}}.prompt{padding:0 4px!important;margin:0!important;height:auto!important;min-height:20px!important;width:100%;font-size:.7rem!important;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;line-height:1.2;overflow-x:auto;white-space:nowrap}@keyframes jump{0%{transform:translateY(0)}50%{transform:translateY(-10px)}to{transform:translateY(0)}}.resource-cards{display:flex;gap:6px;margin-bottom:10px}.resource-cards .resource-card-container.animate-jump{animation:jump .3s ease-in-out}.resource-cards.small{height:40px}.resource-cards.small .resource-card-container{width:25px;height:40px;display:flex;justify-content:center;align-items:center;border-radius:4px}.resource-cards.small .resource-card-container.wood-cards{background:#125d1c}.resource-cards.small .resource-card-container.brick-cards{background:#cc03009a}.resource-cards.small .resource-card-container.wheat-cards{background:#fac60cda}.resource-cards.small .resource-card-container.sheep-cards{background:#3d8d4e}.resource-cards.small .resource-card-container.ore-cards{background:#616166}.resource-cards.small .resource-card-container.dev-cards{background:purple}.resource-cards.small .resource-card-container .card-visual{width:100%;height:100%;background:transparent;color:#fff;border-radius:4px;text-shadow:0 1px 3px rgba(0,0,0,.8);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:.9rem;font-weight:800;position:relative}.resource-cards.small .resource-card-container .label{display:none}.resource-cards.small .resource-card-container .short-label{font-size:.7rem}.resource-cards.large{height:auto;align-items:flex-start;gap:12px}.resource-cards.large .resource-card-container{display:flex;flex-direction:column;align-items:center;width:60px}.resource-cards.large .resource-card-container .card-visual{width:60px;height:90px;border-radius:8px;color:#fff;background-color:transparent!important;background-image:none!important;position:relative;box-shadow:none;display:block}.resource-cards.large .resource-card-container.wood-cards .card-visual{background-color:#125d1c!important}.resource-cards.large .resource-card-container.brick-cards .card-visual{background-color:#cc03009a!important}.resource-cards.large .resource-card-container.wheat-cards .card-visual{background-color:#fac60cda!important}.resource-cards.large .resource-card-container.sheep-cards .card-visual{background-color:#3d8d4e!important}.resource-cards.large .resource-card-container.ore-cards .card-visual{background-color:#616166!important}.resource-cards.large .resource-card-container.dev-cards .card-visual{background-color:purple!important}.resource-cards.large .resource-card-container .card-visual .count{position:absolute;top:5px;left:8px;font-size:1.4rem;font-weight:800;text-shadow:1px 1px 2px rgba(0,0,0,.5)}.resource-cards.large .resource-card-container .card-visual .label{position:absolute;left:50%;bottom:6px;transform:translate(-50%);width:calc(100% - 12px);font-size:.72rem;font-weight:700;line-height:1.05;text-align:center;text-transform:capitalize;text-shadow:1px 1px 2px rgba(0,0,0,.6)}.resource-cards.large .resource-card-container .card-visual .short-label{display:none}.center-text{display:flex;justify-content:center;align-items:center}.player-state-box{padding:10px;max-width:600px;margin:0 auto;width:100%}.player-state-box .player-header{display:flex;flex-direction:column-reverse}.player-state-box .bot-name{font-weight:700;font-size:1.1rem;text-align:center;padding:4px 0;width:100%}.player-state-box .scores{display:flex;justify-content:space-between}.player-state-box .scores .num-knights,.player-state-box .scores .num-roads,.player-state-box .scores .victory-points{flex-direction:column;width:50px;height:40px;font-weight:700;font-size:1.05rem}.player-state-box .num-knights,.player-state-box .num-roads,.player-state-box .victory-points{flex-direction:column;width:50px;height:40px}.player-state-box .bold{font-weight:700}@media (max-width: 960px){.player-state-box{padding:4px 6px}.player-state-box .player-header{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}.player-state-box .resource-cards{gap:3px;margin-bottom:4px!important;margin-left:auto;justify-content:flex-end;flex-wrap:nowrap;width:50%;max-width:50%;overflow:hidden}.player-state-box .resource-cards.large{display:none!important}.player-state-box .resource-cards.small{display:flex!important;height:24px}.player-state-box .bot-name{padding:0!important;margin:0!important;width:auto;text-align:left;flex:1 1 50%;max-width:50%;min-width:0}.player-state-box .bot-name small{font-size:.65rem!important;display:block;line-height:1.05}.player-state-box .scores{gap:6px;display:flex;align-items:center}.player-state-box .scores .num-knights,.player-state-box .scores .num-roads,.player-state-box .scores .victory-points{width:36px;height:32px;font-size:.85rem;display:flex;flex-direction:column;justify-content:center;align-items:center}.player-state-box .resource-cards.small .resource-card-container{width:16px;height:24px;min-width:16px}.player-state-box .resource-cards.small .resource-card-container .card-visual{width:100%;height:100%;font-size:.72rem}.player-state-box .resource-cards.small .resource-card-container .card-visual .count{font-size:.72rem;top:3px;left:4px}.player-state-box .resource-cards.small .resource-card-container .short-label{font-size:.5rem}}.resource-selector .MuiPaper-root{background-color:#1a1a1a;color:#e0e0e0;border-radius:8px;border:1px solid #333;box-shadow:0 0 10px #0096ff0d}.resource-selector .MuiDialogTitle-root{text-align:center;background-color:#222;padding:12px 20px;font-size:1.1rem;font-weight:700;border-bottom:1px solid #333}.resource-selector .MuiDialogContent-root{padding:20px}.resource-selector .resource-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}@media (max-width: 600px){.resource-selector .resource-grid{grid-template-columns:1fr}}.resource-selector .resource-button{height:40px;font-size:.9rem;text-transform:none;background-color:#2a2a2a;border-radius:4px;transition:all .3s ease;border:1px solid #444;overflow:hidden;position:relative}.resource-selector .resource-button:hover,.resource-selector .resource-button:focus{background-color:#222}.resource-selector .resource-button .wood{color:#009b00}.resource-selector .resource-button .brick{color:red}.resource-selector .resource-button .wheat{color:#ba9202}.resource-selector .resource-button .sheep{color:#3eda58}.resource-selector .resource-button .ore{color:#b0b0b0}.resource-selector .resource-button .resource-name{font-weight:700}.resource-selector .resource-button .plus{color:#fff;margin:0 4px}.resource-selector .MuiDialogActions-root{background-color:#222;padding:12px 20px;border-top:1px solid #333}.resource-selector .cancel-button{color:#09f;font-weight:700}.resource-selector .cancel-button:hover{background-color:#0099ff1a}.state-summary{min-height:40px;height:auto;width:100%;max-width:600px;margin:0 auto;display:flex;padding:5px 10px;box-sizing:border-box;align-items:flex-start}.state-summary .open-drawer-btn{color:#fff;margin-right:10px}.actions-toolbar{height:auto;min-height:80px;width:100%;max-width:600px;margin-left:auto;margin-right:auto;padding:18px 340px 18px 18px;display:flex;justify-content:space-between;gap:22px;align-items:center;position:relative}.actions-toolbar .actions-toolbar-content{width:100%;display:flex;justify-content:space-between;gap:22px;align-items:center}.actions-toolbar .play-buttons-group{display:flex;gap:20px;align-items:center;flex-direction:row;flex-wrap:nowrap;width:auto;justify-content:center}.actions-toolbar button{min-width:110px;height:56px;padding:0 12px;flex:0 0 auto;font-weight:700;text-transform:uppercase;transition:all .3s ease;border-radius:8px;font-size:.95rem;line-height:1.05;text-align:center;white-space:normal;overflow:visible}.actions-toolbar button:hover{transform:translateY(-2px)}.actions-toolbar button:active{transform:translateY(1px)}.actions-toolbar button.MuiButton-containedPrimary{background:linear-gradient(45deg,#1e88e5 30%,#0d47a1 90%);box-shadow:0 3px 5px 2px #0d47a14d}.actions-toolbar button.MuiButton-containedPrimary:hover{box-shadow:0 6px 10px 4px #0d47a14d}.actions-toolbar button.MuiButton-containedSecondary{background:linear-gradient(45deg,#43a047 30%,#1b5e20 90%);box-shadow:0 3px 5px 2px #1b5e204d}.actions-toolbar button.MuiButton-containedSecondary:hover{box-shadow:0 6px 10px 4px #1b5e204d}.actions-toolbar .turn-action-btn{width:136px}.actions-toolbar .turn-action-wrapper{position:relative;display:flex;align-items:center;justify-content:center}.actions-toolbar .dice-roll-preview{min-width:116px;padding:10px;border-radius:12px;background:#12161bf0;border:1px solid rgba(255,255,255,.12);box-shadow:0 10px 24px #00000059;display:flex;flex-direction:column;gap:8px;align-items:center;z-index:5;pointer-events:none;animation:dice-float-up .45s ease-out forwards}.actions-toolbar .dice-roll-preview.roller-red{background:linear-gradient(180deg,#aa2020f5,#700f0ff0);border-color:#ffbebe52;box-shadow:0 10px 24px #700f0f61}.actions-toolbar .dice-roll-preview.roller-blue{background:linear-gradient(180deg,#1259b4f5,#0b3670f0);border-color:#aed4ff4d;box-shadow:0 10px 24px #0b367061}.actions-toolbar .dice-roll-preview.roller-orange{background:linear-gradient(180deg,#c87112f5,#844208f0);border-color:#ffdcaa52;box-shadow:0 10px 24px #8442085c}.actions-toolbar .dice-roll-preview.roller-white{background:linear-gradient(180deg,#e6eaeff7,#b6bec8f2);border-color:#ffffff7a;box-shadow:0 10px 24px #9198a052}.actions-toolbar .dice-roll-preview.roller-white .dice-roll-total{color:#111c28}.actions-toolbar .turn-action-wrapper .dice-roll-preview{position:absolute;left:50%;bottom:calc(100% + 10px);margin-left:-76px}.actions-toolbar>.dice-roll-preview{position:absolute;right:28px;bottom:calc(100% + 10px)}.actions-toolbar .dice-roll-total{position:static;width:100%;text-align:center;font-size:1.05rem;font-weight:900;color:#fff;line-height:1;letter-spacing:.01em;text-shadow:none}.actions-toolbar .dice-roll-values{display:flex;gap:8px;align-items:center;justify-content:center}.actions-toolbar .dice-roll-face{width:42px;height:42px;border-radius:10px;background:#fffffff5;position:relative;box-shadow:inset 0 -2px #0000001f}.actions-toolbar .dice-roll-pip{position:absolute;width:8px;height:8px;border-radius:50%;background:#111;transform:translate(-50%,-50%)}.actions-toolbar .dice-roll-pip.top-left{top:25%;left:25%}.actions-toolbar .dice-roll-pip.top-right{top:25%;left:75%}.actions-toolbar .dice-roll-pip.middle-left{top:50%;left:25%}.actions-toolbar .dice-roll-pip.middle-right{top:50%;left:75%}.actions-toolbar .dice-roll-pip.center{top:50%;left:50%}.actions-toolbar .dice-roll-pip.bottom-left{top:75%;left:25%}.actions-toolbar .dice-roll-pip.bottom-right{top:75%;left:75%}.state-summary .actions-toolbar .resource-cards.large{gap:10px}.state-summary .actions-toolbar .resource-cards.large .resource-card-container{width:68px}.state-summary .actions-toolbar .resource-cards.large .resource-card-container.dev-cards .card-visual{width:68px;height:110px;border-radius:8px}.state-summary .actions-toolbar .resource-cards.large .resource-card-container.dev-cards .card-visual .count{font-size:1.6rem;top:6px;left:8px}.state-summary .actions-toolbar .resource-cards.large .resource-card-container.dev-cards .card-visual .label{font-size:.8rem;bottom:8px}.state-summary .actions-toolbar .resource-cards.large .resource-card-container.dev-cards .card-visual .short-label{display:none}.actions-toolbar .confirm-btn{width:100%}.actions-toolbar .MuiButton-label{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:8px}.actions-toolbar .MuiButton-label .MuiButton-startIcon{margin:0}.actions-toolbar .right-drawer-inline{position:fixed;right:10px;bottom:10px;top:auto;transform:none;min-width:220px;max-width:300px;width:auto;background:linear-gradient(180deg,#ffffff08,#ffffff03);border:1px solid rgba(255,255,255,.06);padding:12px;border-radius:12px;color:#fff;box-shadow:0 12px 30px #00000073;display:flex;flex-direction:column;gap:12px;z-index:1200;align-items:stretch}@keyframes dice-float-up{0%{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.right-drawer-card{background:linear-gradient(180deg,#ffffff05,#ffffff03);border-radius:10px;border:1px solid rgba(255,255,255,.06);overflow:hidden;color:#fff}.right-drawer-card-header{padding:8px 12px;background:linear-gradient(90deg,#ffffff05,#ffffff03);border-bottom:1px solid rgba(255,255,255,.03)}.right-drawer-card-header h3{margin:0;font-size:.95rem;font-weight:700;letter-spacing:.6px}.right-drawer-card-body{padding:10px;display:flex;flex-direction:column;gap:12px}.right-drawer-card .MuiButton-root{width:100%!important;height:56px!important;min-width:0;border-radius:10px;font-weight:700;text-transform:uppercase}.action-popover{z-index:1400}.action-popover .MuiPaper-root{overflow-y:auto;max-height:min(320px,100vh - 120px);margin-bottom:10px;min-width:180px}.action-popover .MuiMenuItem-root{font-size:1rem;padding:10px 16px}@media (max-width: 960px){.actions-toolbar{min-height:43px!important;height:auto!important;padding:4px 6px!important;margin:0 auto!important;gap:0!important}.actions-toolbar:not(:empty){padding:4px 6px!important}.actions-toolbar .actions-toolbar-content.mobile-transparent{visibility:hidden;pointer-events:none}.actions-toolbar .play-buttons-group{gap:6px;flex-direction:row;align-items:center;justify-content:center;flex-wrap:nowrap;width:100%}.actions-toolbar button{height:35px!important;min-width:0!important;width:auto!important;font-size:.72rem!important;margin:0!important;flex:1 1 0!important;padding:0 4px!important;white-space:nowrap!important;line-height:1!important}.actions-toolbar .turn-action-btn{width:88px!important;flex:0 0 88px!important}.actions-toolbar .dice-roll-preview{min-width:90px;padding:8px;gap:6px}.actions-toolbar .turn-action-wrapper .dice-roll-preview{bottom:calc(100% + 6px);margin-left:-58px}.actions-toolbar>.dice-roll-preview{right:10px;bottom:calc(100% + 6px)}.actions-toolbar .dice-roll-total{font-size:.86rem}.actions-toolbar .dice-roll-values{gap:6px}.actions-toolbar .dice-roll-face{width:30px;height:30px;border-radius:8px}.actions-toolbar .dice-roll-pip{width:6px;height:6px}.actions-toolbar .MuiButton-startIcon{margin-right:4px!important;margin-left:0!important}.actions-toolbar .MuiButton-startIcon svg,.actions-toolbar .MuiButton-startIcon img{width:18px!important;height:18px!important;font-size:18px!important}.state-summary .actions-toolbar .resource-cards.large .resource-card-container{width:48px}.state-summary .actions-toolbar .resource-cards.large .resource-card-container.dev-cards .card-visual{width:48px;height:78px}.state-summary .actions-toolbar .resource-cards.large .resource-card-container .card-visual .count{font-size:1.1rem;top:4px;left:6px}.state-summary .actions-toolbar .resource-cards.large .resource-card-container .card-visual .label{font-size:.7rem;bottom:6px}.actions-toolbar .right-drawer-inline{display:none!important}.actions-toolbar .right-drawer-card{background:transparent;border:0;box-shadow:none;border-radius:0}.actions-toolbar .right-drawer-card-body{padding:0}.actions-toolbar .right-drawer-card .MuiButton-root{height:44px!important}.actions-toolbar .prompt{padding:0!important;margin:0!important;min-height:0!important}.actions-toolbar .action-popover .MuiPaper-root{min-width:140px}.actions-toolbar .action-popover .MuiMenuItem-root{font-size:.95rem;padding:8px 12px}.action-popover .MuiPaper-root{max-height:min(260px,100vh - 80px)}}.MuiToolbar-root{background:#030000}h6.MuiTypography-h6{font-family:Bungee Inline,sans-serif}.game-analysis-panel{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}.game-analysis-panel .right-drawer-card-body{padding:0}.winner-modal-paper{background:linear-gradient(180deg,#0e1218fa,#090d12fa)!important;color:#fff!important;border:1px solid rgba(255,255,255,.08);border-radius:18px!important;box-shadow:0 28px 80px #00000073!important}.winner-modal-content{padding:24px 24px 18px!important;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.winner-modal-icon{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.8rem;color:#ffd54f;background:radial-gradient(circle at 30% 30%,#ffd54f4d,#ffd54f14)}.winner-modal-title{font-size:.82rem;letter-spacing:.18em;text-transform:uppercase;color:#ffffffa6}.winner-modal-name{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:1.55rem;font-weight:700}.winner-modal-color{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;background:#ffffff14}.winner-modal-color.red{color:#ff6565}.winner-modal-color.blue{color:#88b6ff}.winner-modal-color.orange{color:#ffb732}.winner-modal-color.white{color:#fff}.winner-modal-stats{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:8px}.winner-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:78px;border-radius:14px;background:#ffffff0a;border:1px solid rgba(255,255,255,.06)}.winner-stat strong{font-size:1.35rem;line-height:1}.winner-stat span{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:#ffffffa8}.winner-modal-actions{padding:0 24px 20px!important;justify-content:center!important;gap:8px}@media (max-width: 960px){.winner-modal-content{padding:20px 16px 14px!important}.winner-modal-name{font-size:1.28rem}.winner-modal-stats{gap:8px}.winner-stat{min-height:66px}.winner-stat strong{font-size:1.1rem}.winner-stat span{font-size:.62rem}.winner-modal-actions{padding:0 16px 16px!important}}@media (min-width: 600px){#root .snackbar-container{display:none}}#root .snackbar-container{z-index:1200;left:50%!important;bottom:0;transform:translate(-50%);max-width:600px;width:100%}#root .snackbar-container .MuiCollapse-container{padding:0 10px;width:100%}#root .snackbar-container .MuiCollapse-container .MuiCollapse-wrapper{margin-top:10px;margin-bottom:10px;height:60px;padding:0}#root .snackbar-container .MuiCollapse-container .MuiCollapse-wrapper>div>div{height:100%}#root .snackbar-container .MuiCollapse-container .MuiCollapse-wrapper>div>div>div{height:100%}main{background:radial-gradient(circle at top,rgba(41,107,198,.16),transparent 34%),linear-gradient(180deg,#06090d,#10161d 52%,#0c1218);color:#fff;height:100%;display:flex;flex-direction:column}main .logo{margin:5px 20px 0;text-align:center}main .loader{display:flex;justify-content:center;align-items:center}main .board-container,main .loader{height:100%;width:100%;display:flex;justify-content:center;align-items:center}@media (min-width: 960px){main{padding-left:280px}main .board-container{margin-right:0}}@media (min-width: 1280px){main{padding-left:0}main .board-container{margin-left:140px}}@media (max-width: 960px){main{padding-left:0!important}main .board-container{margin-right:0!important;margin-left:0!important}.desktop-layout{display:none!important}.mobile-layout{display:flex;flex-direction:column;height:100%;width:100%;overflow:hidden}.mobile-layout .mobile-top-half{flex:1;height:65%;position:relative;display:flex;flex-direction:column}.mobile-layout .mobile-top-half .logo{position:relative;height:35px;display:flex;align-items:center;justify-content:center;margin:0;padding:0;z-index:100;text-shadow:0 0 4px black;font-size:1.4rem;line-height:1}.mobile-layout .mobile-top-half .zoomable-wrapper{flex:1;position:relative;overflow:hidden;margin-top:0}.mobile-layout .mobile-top-half .board-container{position:absolute;width:100%;height:100%!important;top:0!important;left:0!important;z-index:1;align-items:flex-start!important}.mobile-layout .state-summary{position:absolute;top:40px;width:100%;z-index:200;pointer-events:none;display:flex;justify-content:center}.mobile-layout .state-summary .resource-cards.large,.mobile-layout .state-summary .open-drawer-btn{display:none}.mobile-layout .state-summary>*{pointer-events:auto}.mobile-layout .mobile-bottom-half{flex:1;height:35%;display:flex;flex-direction:column;background:radial-gradient(circle at top,rgba(41,107,198,.16),transparent 34%),linear-gradient(180deg,#06090d,#10161d 52%,#0c1218);border-top:1px solid rgba(255,255,255,.12)}.mobile-layout .mobile-bottom-half .actions-toolbar{position:relative;width:100%;z-index:10;pointer-events:auto;bottom:auto;left:auto}.mobile-layout .mobile-bottom-half .mobile-drawers-row{flex:1;display:flex;flex-direction:row;overflow:hidden;min-height:0;border-bottom:1px solid rgba(255,255,255,.12)}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content{flex:1 1 50%;display:flex;flex-direction:column;min-height:0;overflow:hidden;border-right:1px solid rgba(255,255,255,.12)}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content .mobile-left-top{flex:0 0 auto;padding:2px 6px 0;display:flex;flex-direction:column;gap:4px}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content .mobile-left-top.collapsed .mobile-player-panel{max-height:0;opacity:0;margin-top:0}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content .mobile-player-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 8px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:#ffffff0f;color:#fff;font:inherit;font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;line-height:1}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content .mobile-player-toggle-icon{transition:transform .2s ease}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content .mobile-player-toggle-icon.open{transform:rotate(180deg)}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content .mobile-player-panel{overflow:hidden;max-height:420px;opacity:1;transition:max-height .22s ease,opacity .18s ease,margin-top .18s ease}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content .mobile-left-bottom{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:6px;box-sizing:border-box}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content .mobile-left-bottom .log{flex:1 1 auto;min-height:0}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-right-drawer-content{flex:1 1 50%;overflow-y:auto;background:radial-gradient(circle at top,rgba(41,107,198,.16),transparent 34%),linear-gradient(180deg,#06090d,#10161d 52%,#0c1218);padding:2px 4px;-webkit-overflow-scrolling:touch}.mobile-layout .mobile-bottom-half .mobile-action-log{flex:1;min-height:100px;background-color:#0003;padding:5px;overflow:hidden;display:flex;flex-direction:column}.mobile-layout .mobile-bottom-half .mobile-action-log .log{flex:1;height:100%;overflow-y:auto}.mobile-layout .mobile-bottom-half .watch-replay-button{font-size:.65rem}}.mobile-explanation-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:radial-gradient(circle at top,rgba(41,107,198,.16),transparent 34%),linear-gradient(180deg,#06090d,#10161d 52%,#0c1218);z-index:500;display:flex;flex-direction:column;border-top:2px solid rgb(136,182.3076923077,255);animation:slideUp .28s ease-out;padding:8px;box-sizing:border-box}.mobile-explanation-overlay .overlay-header{display:flex;justify-content:space-between;align-items:center;padding:6px 8px;background:#0000001f;border-radius:6px;margin-bottom:8px;font-weight:700}.mobile-explanation-overlay .overlay-content{padding:8px;overflow-y:auto;font-size:.95rem;line-height:1.5;color:#fff;flex:1}@keyframes slideUp{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.left-drawer .log.explain-mode-active .action.clickable,.log.explain-mode-active .action.clickable{cursor:pointer}.game-screen-main,.game-screen-main .right-drawer .MuiDrawer-paper{background:radial-gradient(circle at top,rgba(41,107,198,.16),transparent 34%),linear-gradient(180deg,#06090d,#10161d 52%,#0c1218)}@media (max-width: 960px){.hide-on-mobile{display:none!important}}.left-drawer .MuiDrawer-paper{width:280px;background:#151313}.left-drawer .MuiDivider-root{background:#000c}.left-drawer .player-section .player-state-box{box-shadow:inset 0 0 0 1px #ffffff2e;border-radius:8px}.left-drawer .MuiDrawer-paperAnchorDockedLeft{border-color:#000c}.left-drawer .log{overflow-y:auto;font-size:.8rem;display:flex;flex-direction:column-reverse;scrollbar-width:thin;scrollbar-color:#454545 #151313}.left-drawer .log .action{padding:10px;font-weight:700}.left-drawer .log .action.RED{color:#ff6565}.left-drawer .log .action.BLUE{color:#88b6ff}.left-drawer .log .action.ORANGE{color:#ffb732}.left-drawer .log .action.WHITE{color:#fff;text-shadow:0 0 2px black}.right-drawer .drawer-content{padding:10px;display:flex;flex-direction:column;gap:10px;min-height:0}.right-drawer .MuiDrawer-paper{width:400px;background:#151313;color:#fff}.right-drawer .MuiDivider-root{background:#000c}.right-drawer .right-drawer-card{display:flex;flex-direction:column;height:100%}.right-drawer .right-drawer-card-header{padding:6px 0}.right-drawer .right-drawer-card-body{display:flex;flex-direction:column;gap:12px;flex:1 1 auto;min-height:0}.right-drawer .right-drawer-card .analysis-primary-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.right-drawer .right-drawer-card .analysis-primary-actions .MuiButton-root{height:44px;font-weight:700}.right-drawer .right-drawer-card .explanation-panel{flex:1 1 auto;min-height:0;overflow-y:auto;padding:8px;background:#ffffff05;border-radius:6px;box-sizing:border-box}.right-drawer .right-drawer-card .explain-section .explain-toggle-btn{text-transform:none;border-style:dashed}.right-drawer .right-drawer-card .explain-section .explain-hint{margin-top:6px;font-size:.78rem;color:#ffffffb3;text-align:center;font-style:italic}.right-drawer .right-drawer-card .explain-controls{display:flex;align-items:center;gap:8px}.right-drawer .right-drawer-card .analysis-results-area{flex:1 1 auto;min-height:0;overflow-y:auto}.right-drawer .right-drawer-card .analysis-results-area .llm-response-container{background:#ffffff05;border-radius:8px;padding:12px;border-left:3px solid rgb(136,182.3076923077,255)}.right-drawer .right-drawer-card .analysis-results-area .llm-response-container .llm-header{font-size:.75rem;text-transform:uppercase;color:#88b6ff;margin-bottom:6px;font-weight:700}.right-drawer .right-drawer-card .analysis-results-area .llm-response-container .llm-text{font-size:.9rem;line-height:1.45;color:#eee;white-space:pre-wrap}.right-drawer .right-drawer-card .watch-replay-button,.right-drawer .right-drawer-card .explain-move-button{width:100%;border-radius:8px;font-size:.74rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.right-drawer .right-drawer-card .watch-replay-button{height:40px}.right-drawer .right-drawer-card .explain-move-button{height:48px}.right-drawer .right-drawer-card .explain-move-button.active{background:linear-gradient(180deg,#43a047,#2e7d32);color:#fff;border:none;box-shadow:0 6px 18px #2e7d322e}.right-drawer .right-drawer-card .llm-output-card{margin-top:8px;padding:14px;background:linear-gradient(180deg,#14181cd9,#0e1012b8);border-radius:10px;border:1px solid rgba(255,255,255,.06);box-shadow:0 8px 28px #0009;color:#fff;display:flex;flex-direction:column;gap:10px;overflow:hidden}.right-drawer .right-drawer-card .llm-output-card .llm-header{display:flex;align-items:center;gap:10px;font-weight:800;color:#88b6ff;text-transform:uppercase;font-size:.85rem;letter-spacing:.6px}.right-drawer .right-drawer-card .llm-output-card .llm-header:before{content:"🤖";display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:linear-gradient(180deg,#ffffff0a,#ffffff05);box-shadow:inset 0 -2px #00000026;font-size:1.1rem}.right-drawer .right-drawer-card .llm-output-card .llm-body{background:#0000001f;padding:10px 12px;border-radius:6px;font-size:.98rem;line-height:1.5;color:#e6eef8;white-space:pre-wrap;overflow:auto;max-height:60vh}.right-drawer .right-drawer-card .llm-output-card .MuiButton-root{align-self:flex-end;color:#88b6ff;background:transparent;min-width:0;padding:6px 10px;font-weight:800}.right-drawer .right-drawer-card .llm-output-card .MuiButton-root:hover{background:#ffffff05}.right-drawer .right-drawer-card .llm-explain-hint{padding:12px;background:#ffffff05;border-radius:8px;border:1px solid rgba(255,255,255,.03);color:#ffffffe6;text-align:center;font-weight:700;font-size:.95rem;display:flex;align-items:center;justify-content:center;min-height:48px}.analysis-container{display:flex;flex-direction:column;height:100%;gap:12px;padding:8px;box-sizing:border-box;min-height:0}.analysis-container .analysis-actions-stack{display:flex;flex-direction:column;gap:10px}.analysis-container .analysis-actions-stack .primary-analysis-btn{height:48px;font-weight:800;letter-spacing:.6px;border-radius:8px;background:linear-gradient(180deg,#1565c0,#0d47a1);color:#fff}.analysis-container .analysis-actions-stack .primary-analysis-btn:hover{filter:brightness(.95)}.analysis-container .analysis-actions-stack .explain-btn{height:48px;font-weight:800;letter-spacing:.6px;border-radius:8px;text-transform:uppercase}.analysis-container .analysis-actions-stack .explain-btn.active{background:linear-gradient(180deg,#f57c00,#ef6c00);color:#fff;border:none}.analysis-container .explanation-results-area{flex:1 1 auto;min-height:0;overflow-y:auto;padding:10px;background:#ffffff05;border-radius:8px}.analysis-container .explanation-results-area .explain-instruction{color:#ffffffb8;text-align:center;font-style:italic;font-size:.88rem;margin-top:20px}.analysis-container .explanation-results-area .llm-output-card{display:flex;flex-direction:column;gap:8px;background:#00000026;padding:12px;border-radius:8px;border-left:4px solid rgb(136,182.3076923077,255)}.analysis-container .explanation-results-area .llm-output-card .llm-header{font-size:.75rem;color:#88b6ff;font-weight:800;text-transform:uppercase}.analysis-container .explanation-results-area .llm-output-card .llm-body{color:#eee;font-size:.95rem;line-height:1.45;white-space:pre-wrap}@media (max-width: 960px){.watch-replay-button,.explain-move-button,.analysis-button.MuiButton-root{font-size:.5rem!important;line-height:1.05!important;padding:4px 6px!important;text-transform:uppercase;font-weight:700;letter-spacing:.02em!important}.watch-replay-button .MuiButton-startIcon,.explain-move-button .MuiButton-startIcon,.analysis-button .MuiButton-startIcon{font-size:1.05rem!important;margin-right:8px!important;display:inline-flex;align-items:center;justify-content:center}.watch-replay-button .MuiButton-label,.explain-move-button .MuiButton-label,.analysis-button .MuiButton-label{align-items:center!important;gap:8px!important}.right-drawer .drawer-content,.right-drawer .right-drawer-card-body{gap:8px}.right-drawer .right-drawer-card .watch-replay-button{margin-top:0!important}.right-drawer .right-drawer-card .llm-output-card{padding:10px}.right-drawer .right-drawer-card .llm-output-card .llm-header{font-size:.82rem}.right-drawer .right-drawer-card .llm-output-card .llm-body{font-size:.92rem;max-height:28vh;padding:8px}.right-drawer .right-drawer-card .llm-output-card .MuiButton-root{padding:6px 8px;font-size:.85rem}.right-drawer .right-drawer-card .llm-explain-hint{font-size:.9rem;padding:10px;min-height:44px}.mobile-right-drawer-content{padding:6px;box-sizing:border-box}.mobile-right-drawer-content .llm-output-card{width:100%;box-sizing:border-box;padding:10px;max-height:30vh;overflow:auto;margin:0}.mobile-right-drawer-content .llm-output-card .llm-header{font-size:.82rem;gap:8px}.mobile-right-drawer-content .llm-output-card .llm-body{font-size:.92rem;max-height:26vh;padding:8px}.mobile-right-drawer-content .llm-output-card .MuiButton-root{padding:6px 8px;font-size:.85rem}}.analysis-box{padding:0;background:transparent}.analysis-box .analysis-header{display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:10px}.analysis-box .analysis-button-row{width:100%;padding:0;box-sizing:border-box;display:flex;gap:8px}.analysis-box .analysis-button-row>*{flex:1 1 0;min-width:0}.analysis-box h3{margin:0;text-align:center;font-size:1.05rem;letter-spacing:.01em}.analysis-box .analysis-button.MuiButton-root{min-height:36px;border-radius:10px;font-size:.74rem;font-weight:800;letter-spacing:.04em;background:linear-gradient(180deg,#2674d9,#114ea5);box-shadow:0 8px 18px #114ea533}.analysis-box .analysis-button.MuiButton-root:hover{background:linear-gradient(180deg,#2c7be3,#1558b7)}.analysis-box .loading-indicator{text-align:center;padding:18px 14px;border-radius:12px;background:#ffffff08;color:#ffffffbd;display:flex;align-items:center;gap:8px;justify-content:center}.analysis-box .error-message{padding:10px 12px;border-radius:10px;text-align:center;font-size:.82rem;line-height:1.35;color:#ffb3ae;background:#be281e24;border:1px solid rgba(255,130,120,.18)}.analysis-box .probability-bars{display:flex;flex-direction:column;gap:8px}.analysis-box .probability-bars .probability-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:#ffffff09;border:1px solid rgba(255,255,255,.05)}.analysis-box .probability-bars .probability-row.red{color:#ff6565}.analysis-box .probability-bars .probability-row.blue{color:#88b6ff}.analysis-box .probability-bars .probability-row.white{color:#fff}.analysis-box .probability-bars .probability-row.orange{color:#ffb732}.analysis-box .probability-bars .probability-row .player-color{min-width:82px;display:inline-flex;align-items:center;gap:8px;font-weight:700}.analysis-box .probability-bars .probability-row .player-dot{width:10px;height:10px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px #ffffff0a}.analysis-box .probability-bars .probability-row .player-color-label{color:#ffffffeb}.analysis-box .probability-bars .probability-row .probability-bar{flex-grow:1;height:12px;margin:0 4px;background:#ffffff14;border-radius:999px;overflow:hidden;position:relative}.analysis-box .probability-bars .probability-row .probability-bar .bar-fill{position:absolute;height:100%;left:0;top:0;background-color:currentColor;opacity:.85;border-radius:999px;box-shadow:0 0 18px #ffffff0f;transition:width .35s ease}.analysis-box .probability-bars .probability-row .probability-value{font-weight:800;min-width:54px;text-align:right;color:#fffffff2}.watch-replay-button.analysis-button.MuiButton-root{min-height:36px;border-radius:10px;font-size:.74rem;font-weight:800;letter-spacing:.04em;background:linear-gradient(180deg,#2674d9,#114ea5);box-shadow:0 8px 18px #114ea533}.watch-replay-button.analysis-button.MuiButton-root:hover{background:linear-gradient(180deg,#2c7be3,#1558b7)}@media (max-width: 960px){.analysis-box h3{font-size:.9rem;margin:2px 0}.analysis-box .analysis-header{gap:6px;margin-bottom:8px}.analysis-box .analysis-button-row{padding:0 2px;gap:4px}.analysis-box .analysis-button.MuiButton-root{min-height:28px;border-radius:8px;box-shadow:none;font-size:.5rem;padding:2px 3px;letter-spacing:.02em;white-space:nowrap;line-height:1}.analysis-box .loading-indicator{padding:4px;font-size:.8rem}.analysis-box .probability-bars{gap:4px}.analysis-box .probability-bars .probability-row{gap:4px;padding:5px 6px;font-size:.7rem;border-radius:10px}.analysis-box .probability-bars .probability-row .player-color{min-width:42px;gap:4px}.analysis-box .probability-bars .probability-row .player-dot{width:6px;height:6px}.analysis-box .probability-bars .probability-row .probability-bar{height:8px;margin:0 2px}.analysis-box .probability-bars .probability-row .probability-value{min-width:28px;font-size:.62rem}.analysis-box .analysis-button-row .MuiButton-root{font-size:.5rem;min-width:0;padding-left:3px;padding-right:3px}.watch-replay-button.analysis-button.MuiButton-root{min-height:28px;border-radius:8px;box-shadow:none;font-size:.5rem;padding:2px 3px;letter-spacing:.02em;white-space:nowrap;line-height:1}}.player-stats .player-section .player-state-box{box-shadow:inset 0 0 0 1px #ffffff2e;border-radius:8px}.player-stats .MuiDivider-root{background:#000c}.log{overflow-y:auto;font-size:.8rem;display:flex;flex-direction:column-reverse;scrollbar-width:thin;scrollbar-color:#454545 #151313}.log .action{padding:10px;font-weight:700;display:flex;align-items:center;gap:8px}.log .action.RED{color:#ff6565}.log .action.BLUE{color:#88b6ff}.log .action.ORANGE{color:#ffb732}.log .action.WHITE{color:#fff;text-shadow:0 0 2px black}.log.explain-mode-active .action.clickable{cursor:pointer}@media (max-width: 960px){.log{font-size:.5rem}.log .action{gap:4px;padding:3px 5px}.log.explain-mode-active .action.clickable{cursor:pointer}}.home-page{height:100%;padding:24px;box-sizing:border-box;background:radial-gradient(circle at top,rgba(57,125,234,.16),transparent 32%),radial-gradient(circle at bottom right,rgba(255,255,255,.05),transparent 28%),linear-gradient(180deg,#050709,#10161c 55%,#0d1318);display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;overflow-y:auto}.home-page h1{color:#f4f7fa;font-family:Trebuchet MS,Segoe UI,sans-serif;font-size:2.1rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;margin-bottom:18px}.home-page .switchable{width:min(100%,680px);min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:stretch}.home-page .setup-card{width:100%;background:linear-gradient(180deg,#0f151bf5,#0c1117f0);border:1px solid rgba(255,255,255,.1);border-radius:22px;padding:22px 22px 20px;box-shadow:0 24px 60px #00000057,inset 0 1px #ffffff0a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.home-page .control-group{margin-bottom:18px}.home-page .control-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.home-page .compact-control{margin-bottom:0}.home-page .control-header{display:flex;justify-content:space-between;align-items:center;color:#f5f7fa;margin-bottom:10px;min-height:24px;font-size:.92rem;letter-spacing:.01em}.home-page .control-header strong{font-size:.82rem;letter-spacing:.08em;line-height:1;color:#8fbeff;text-transform:uppercase}.home-page .map-template-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.home-page .MuiButton-root.choice-button,.home-page .MuiButton-root.add-player-btn,.home-page .MuiButton-root.auto-btn,.home-page .MuiButton-root.start-btn{color:#fff;background:linear-gradient(180deg,#1c2733,#141d26);border:1px solid rgba(255,255,255,.08);border-radius:12px;box-shadow:none;transition:transform .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease}.home-page .MuiButton-root.choice-button:hover,.home-page .MuiButton-root.add-player-btn:hover,.home-page .MuiButton-root.auto-btn:hover,.home-page .MuiButton-root.start-btn:hover{background:linear-gradient(180deg,#222f3c,#18232d);border-color:#ffffff24;box-shadow:0 10px 24px #0000002e;transform:translateY(-1px)}.home-page .MuiButton-root.choice-button.selected{background:linear-gradient(180deg,#2c74d8,#1955a9);border-color:#8cbaff85;box-shadow:0 12px 28px #114ca03d}.home-page .MuiButton-root.choice-button.selected:hover{background:linear-gradient(180deg,#337be0,#1c5bb6)}.home-page .players-list{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}.home-page .players-heading{display:inline-flex;align-items:baseline;gap:6px}.home-page .players-hint{color:#ffffff75;font-size:.7rem;font-weight:400;letter-spacing:.03em;text-transform:uppercase}.home-page .players-alert{margin-bottom:10px}.home-page .player-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"meta remove" "select select";gap:8px;align-items:start;padding:8px 10px;border-radius:14px;background:#ffffff08;border:1px solid rgba(255,255,255,.06)}.home-page .player-meta{grid-area:meta;display:flex;flex-direction:column;gap:3px}.home-page .player-label{color:#fff;font-size:.88rem;font-weight:600}.home-page .player-color-chip{display:inline-flex;align-items:center;width:fit-content;padding:2px 7px;border-radius:999px;font-size:.65rem;font-weight:700;letter-spacing:.05em;color:#ffffffeb;background:#ffffff1a}.home-page .player-color-chip.red{background:#fe040038;color:#ff8a86}.home-page .player-color-chip.blue{background:#2278ff38;color:#8cb7ff}.home-page .player-color-chip.orange{background:#ffa5003d;color:#ffd18a}.home-page .player-color-chip.white{background:#ffffff29;color:#ffffffe0}.home-page .MuiInputBase-root{color:#fff;background:#ffffff0d;border-radius:12px}.home-page .player-select{grid-area:select;width:100%}.home-page .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline{border-color:#ffffff1a}.home-page .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline{border-color:#ffffff2e}.home-page .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline{border-color:#76adffb3}.home-page .MuiSvgIcon-root,.home-page .MuiSlider-root{color:#88b6ff}.home-page .MuiSlider-rail{opacity:1;background-color:#ffffff1f}.home-page .MuiSlider-track{border:0}.home-page .MuiSlider-thumb{box-shadow:0 0 0 6px #2278ff24}.home-page .switch-control{display:flex;flex-direction:column}.home-page .switch-header{align-items:center}.home-page .switch-label-row{display:inline-flex;align-items:center;gap:4px;min-width:0}.home-page .switch-status{display:inline-flex;align-items:center;justify-content:center;min-width:42px;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;color:#8fbeff}.home-page .inline-title{display:inline-flex;align-items:center;gap:4px;line-height:1}.home-page .MuiIconButton-root.help-button{color:#ffffff85;padding:0;font-size:.95rem;line-height:1;margin-bottom:0}.home-page .MuiIconButton-root.help-button:hover{color:#ffffffd1;background:transparent}.home-page .MuiCheckbox-root.inline-switch{margin-left:-6px;padding:0}.home-page .MuiCheckbox-root.inline-switch.Mui-disabled{color:#ffffff38}.home-page .familiarity-select{width:auto;flex:1 1 0;min-width:0}.home-page .familiarity-header{justify-content:flex-start;align-items:center;gap:8px;margin-bottom:0}.home-page .familiarity-header>span{flex:0 0 auto;min-width:0}.home-page .control-footnote{margin-top:6px;color:#ffffff73;font-size:.68rem}.home-page .player-select-menu{margin-top:4px;max-width:min(320px,100vw - 24px)}.home-page .player-select-menu .MuiMenu-list{padding-top:0;padding-bottom:0}.home-page .MuiSlider-mark{background-color:#fff3}.home-page .MuiButton-root.remove-player-btn{grid-area:remove;justify-self:end;align-self:start;color:#ffffffbf;min-width:0;margin-bottom:0;padding:4px 6px;border-radius:10px;text-transform:uppercase;letter-spacing:.06em;font-size:.64rem;line-height:1}.home-page .MuiButton-root.remove-player-btn.Mui-disabled{color:#ffffff4d}.home-page .add-player-btn,.home-page .start-btn{width:100%;margin-bottom:0}.home-page .primary-actions{display:flex;flex-direction:column}.home-page .start-btn{height:44px;font-size:.9rem;margin-top:8px;letter-spacing:.12em;text-transform:uppercase}.home-page .auto-btn{min-height:40px;letter-spacing:.1em;text-transform:uppercase;width:auto;min-width:86px;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .2s ease,transform .2s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease}.home-page .auto-hover-anchor{position:fixed;left:0;bottom:0;width:132px;height:92px;display:flex;align-items:flex-end;justify-content:flex-start;padding:0 0 18px 18px;box-sizing:border-box;z-index:20}.home-page .auto-hover-anchor:hover .auto-btn,.home-page .auto-hover-anchor:focus-within .auto-btn{opacity:.88;transform:translateY(0);pointer-events:auto}@media (max-width: 600px){.home-page{min-height:100dvh;justify-content:flex-start;align-items:stretch;padding:12px 12px 20px;-webkit-overflow-scrolling:touch}.home-page h1{font-size:1.65rem;margin:0 0 12px;text-align:center;letter-spacing:.14em}.home-page .switchable{width:100%;justify-content:flex-start}.home-page .setup-card{padding:14px;border-radius:16px}.home-page .control-group{margin-bottom:12px}.home-page .control-header{align-items:flex-start;gap:8px;margin-bottom:6px}.home-page .control-header strong{font-size:.82rem}.home-page .map-template-buttons{grid-template-columns:1fr}.home-page .control-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-page .map-template-buttons{gap:6px}.home-page .MuiButton-root.choice-button{margin-bottom:0;min-height:36px;font-size:.82rem;padding-top:8px;padding-bottom:8px}.home-page .compact-control{margin-bottom:0}.home-page .players-heading{flex-direction:column;align-items:flex-start;gap:2px}.home-page .players-hint{font-size:.68rem}.home-page .players-list{gap:10px}.home-page .player-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"meta remove" "select select";gap:8px;padding:8px 9px}.home-page .switch-control{grid-column:auto}.home-page .switch-control .control-header{align-items:center;margin-bottom:0}.home-page .switch-label-row{gap:2px;width:100%;justify-content:space-between}.home-page .MuiCheckbox-root.inline-switch{margin-left:0}.home-page .switch-status{min-width:36px;font-size:.72rem}.home-page .MuiInputBase-root{min-height:40px}.home-page .player-select-menu{max-height:min(40vh,280px)}.home-page .player-select-menu .MuiMenuItem-root{min-height:40px;font-size:.86rem}.home-page .familiarity-header{align-items:center}.home-page .familiarity-control{grid-column:1/-1}.home-page .familiarity-select{width:auto;flex:1 1 0;min-width:0}.home-page .MuiButton-root.remove-player-btn,.home-page .MuiButton-root.add-player-btn,.home-page .MuiButton-root.start-btn{min-height:38px;font-size:.82rem}.home-page .remove-player-btn{min-height:0!important;font-size:.58rem!important;padding:3px 5px!important}}@media (max-width: 600px),(hover: none){.home-page .auto-hover-anchor{display:none}}*{box-sizing:border-box}.logo{font-family:Bungee Inline,sans-serif}.replay-screen-main{background:radial-gradient(circle at top,rgba(41,107,198,.16),transparent 34%),linear-gradient(180deg,#06090d,#10161d 52%,#0c1218);color:#fff;height:100%;display:flex;flex-direction:column;position:relative}.replay-screen-main .hidden-admin-button{position:fixed;left:10px;bottom:10px;z-index:1400;border:0;border-radius:999px;padding:4px 8px;background:transparent;color:transparent;font-size:.58rem;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;opacity:.02;transition:opacity .15s ease,background-color .15s ease,color .15s ease}.replay-screen-main .hidden-admin-button:hover,.replay-screen-main .hidden-admin-button:focus-visible{opacity:.82;color:#ffffffb8;background:#ffffff1a;outline:none}.replay-screen-main .logo{margin:5px 20px 0;text-align:center}.replay-screen-main .loader{display:flex;justify-content:center;align-items:center}.replay-screen-main .board-container,.replay-screen-main .loader{height:100%;width:100%;display:flex;justify-content:center;align-items:center}.board-container .react-transform-wrapper,.board-container .react-transform-component,.board-container .react-transform-component .react-transform-element{height:100%;width:100%}.board-container .board{position:relative;opacity:0;height:100%;width:100%}.board-container .board.show{opacity:1}.desktop-layout{height:100%;width:100%;display:flex;flex-direction:column;flex:1}.mobile-layout{display:none}.replay-right-actions{display:flex;flex-direction:column;gap:10px}@media (min-width: 960px){.replay-screen-main{padding-left:280px}.replay-screen-main .board-container{margin-right:0}}@media (min-width: 1280px){.replay-screen-main{padding-left:0}.replay-screen-main .board-container{margin-left:140px}}@media (max-width: 960px){.replay-screen-main{padding-left:0!important}.replay-screen-main .board-container{margin-right:0!important;margin-left:0!important}.replay-screen-main .hidden-admin-button{left:8px;bottom:8px;padding:3px 7px;font-size:.52rem}.desktop-layout{display:none!important}.mobile-layout{display:flex;flex-direction:column;height:100%;width:100%;overflow:hidden}.mobile-layout .mobile-top-half{flex:1;height:65%;position:relative;display:flex;flex-direction:column}.mobile-layout .mobile-top-half .logo{position:relative;height:35px;display:flex;align-items:center;justify-content:center;margin:0;padding:0;z-index:100;text-shadow:0 0 4px black;font-size:1.4rem;line-height:1}.mobile-layout .mobile-top-half .zoomable-wrapper{flex:1;position:relative;overflow:hidden;margin-top:0}.mobile-layout .mobile-top-half .board-container{position:absolute;width:100%;height:100%!important;top:0!important;left:0!important;z-index:1;align-items:flex-start!important}.mobile-layout .mobile-bottom-half{flex:1;height:35%;display:flex;flex-direction:column;background:radial-gradient(circle at top,rgba(41,107,198,.16),transparent 34%),linear-gradient(180deg,#06090d,#10161d 52%,#0c1218);border-top:1px solid rgba(255,255,255,.12)}.mobile-layout .mobile-bottom-half .mobile-replay-controls{padding:4px;border-bottom:1px solid rgba(255,255,255,.12)}.mobile-layout .mobile-bottom-half .mobile-replay-controls .replay-box{gap:4px}.mobile-layout .mobile-bottom-half .mobile-replay-controls .replay-box h3{margin:0;font-size:.95rem;text-align:center}.mobile-layout .mobile-bottom-half .mobile-replay-controls .replay-box .button-container{gap:4px}.mobile-layout .mobile-bottom-half .mobile-replay-controls .replay-box .button-container button{flex:1;min-width:0;font-size:.7rem}.mobile-layout .mobile-bottom-half .mobile-drawers-row{flex:1;display:flex;flex-direction:row;overflow:hidden;min-height:0;border-bottom:1px solid rgba(255,255,255,.12)}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content{flex:1 1 50%;display:flex;flex-direction:column;overflow:hidden;border-right:1px solid rgba(255,255,255,.12)}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content .mobile-left-top{flex:0 0 auto;padding:2px 6px 0;display:flex;flex-direction:column;gap:4px}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content .mobile-left-top.collapsed .mobile-player-panel{max-height:0;opacity:0;margin-top:0}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content .mobile-player-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 8px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:#ffffff0f;color:#fff;font:inherit;font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;line-height:1}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content .mobile-player-toggle-icon{transition:transform .2s ease}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content .mobile-player-toggle-icon.open{transform:rotate(180deg)}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content .mobile-player-panel{overflow:hidden;max-height:420px;opacity:1;transition:max-height .22s ease,opacity .18s ease,margin-top .18s ease}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-left-drawer-content .mobile-left-bottom{flex:1 1 auto;min-height:0;overflow-y:auto;padding:6px;-webkit-overflow-scrolling:touch}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-right-drawer-content{flex:1 1 50%;overflow-y:auto;background:radial-gradient(circle at top,rgba(41,107,198,.16),transparent 34%),linear-gradient(180deg,#06090d,#10161d 52%,#0c1218);padding:6px;-webkit-overflow-scrolling:touch}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-right-drawer-content .right-drawer-card-body{gap:4px!important}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-right-drawer-content .replay-right-actions.mobile{gap:2px;margin-top:-2px}.mobile-layout .mobile-bottom-half .mobile-drawers-row .mobile-right-drawer-content .replay-right-actions.mobile .MuiButton-root{min-height:30px;height:30px;padding-top:0;padding-bottom:0;font-size:.55rem}.mobile-layout .mobile-bottom-half .mobile-action-log{flex:1;min-height:100px;background-color:#0003;padding:5px;overflow:hidden;display:flex;flex-direction:column}.mobile-layout .mobile-bottom-half .mobile-action-log .log{flex:1;height:100%;overflow-y:auto}}.replay-box{display:flex;flex-direction:column;gap:10px}.replay-box h3{margin:0 0 .25rem}.replay-box .move-summary{font-size:1rem}.replay-box .button-container{display:flex;gap:10px}.replay-box .replay-nav-button.Mui-disabled{background-color:#ffffff3d;color:#ffffffb3;opacity:1}.replay-box.compact{gap:6px}.replay-box.compact h3{margin:0;line-height:1.1}.replay-box.compact .move-summary{font-size:.9rem;line-height:1.1}.replay-box.compact .move-slider{margin:0;padding:2px 0}.replay-box.compact .numeric-textfield .MuiInputLabel-root{font-size:.85rem}.replay-box.compact .numeric-textfield .MuiInputBase-input{padding-top:8px;padding-bottom:8px}.replay-box.compact .button-container{gap:6px}.replay-box.compact .replay-nav-button{min-height:32px;padding-top:4px;padding-bottom:4px;font-size:.8rem}.numeric-textfield .MuiOutlinedInput-root fieldset{border-color:#1976d2}.numeric-textfield .MuiInputLabel-root,.numeric-textfield .MuiInputBase-input{color:#1976d2;font-weight:600}.admin-page{min-height:100vh;padding:24px;background:radial-gradient(circle at top left,rgba(57,125,234,.16),transparent 28%),radial-gradient(circle at bottom right,rgba(65,184,131,.1),transparent 25%),linear-gradient(180deg,#050709,#10161c 55%,#0d1318);color:#f4f7fa}.admin-shell{width:min(100%,980px);margin:0 auto;display:flex;flex-direction:column;gap:16px}.admin-header{display:flex;justify-content:space-between;align-items:end;gap:16px}.admin-header h1{margin:0 0 6px;font-size:2rem;letter-spacing:.08em;text-transform:uppercase}.admin-header p{margin:0;color:#ffffff9e}.admin-actions{display:flex;gap:10px}.admin-card{background:linear-gradient(180deg,#0f151bf5,#0c1117f0);border:1px solid rgba(255,255,255,.1);border-radius:22px;padding:18px;box-shadow:0 24px 60px #00000057,inset 0 1px #ffffff0a}.admin-loading,.admin-empty{min-height:240px;display:flex;align-items:center;justify-content:center;color:#ffffffb8}.admin-table-wrap{overflow-x:auto}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:12px 14px;text-align:left;border-bottom:1px solid rgba(255,255,255,.08)}.admin-table th{color:#8fbeff;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}.admin-table td{color:#f4f7fa;font-size:.92rem}.admin-table tbody tr:hover{background:#ffffff08}@media (max-width: 600px){.admin-page{padding:12px}.admin-header{flex-direction:column;align-items:stretch}.admin-actions{width:100%}.admin-actions .MuiButton-root{flex:1 1 0}}
