.lobby-join-row{justify-items:center;gap:.9rem;display:grid}.app-shell--phone .lobby section,.app-shell--landscape .lobby section{gap:.75rem!important}.app-shell--phone .lobby-times{grid-template-columns:repeat(4,minmax(0,1fr));place-self:stretch stretch;display:grid!important}.app-shell--phone .lobby-times>button,.app-shell--phone .lobby-custom>button{white-space:nowrap;padding-inline:.25rem!important}.app-shell--phone .lobby-custom{display:contents!important}.app-shell--phone .lobby-custom>label{grid-column:span 2;justify-content:center}.app-shell--phone .lobby-submit,.app-shell--landscape .lobby-submit{justify-self:stretch}.app-shell--phone .lobby-join{padding:1rem!important}.app-shell--phone .lobby-join-row,.app-shell--landscape .lobby-join-row{justify-content:center;align-items:flex-end;gap:.75rem;display:flex}.app-shell--phone .lobby-join-row input,.app-shell--landscape .lobby-join-row input{max-width:100%;min-height:52px;width:7.5em!important}.app-shell--phone .lobby-join-row button,.app-shell--landscape .lobby-join-row button{min-width:5rem;min-height:52px}.app-shell--landscape .lobby{grid-template-columns:minmax(0,3fr) minmax(0,2fr);max-width:52rem!important}.app-shell--landscape .lobby h1{grid-column:1/-1}.app-shell--landscape .lobby-join{align-self:start;margin-top:0!important;padding:1rem!important}.app-shell--landscape .lobby-join-row{flex-direction:column;align-items:center}.app-shell--landscape .lobby-create h2{display:none}.app-shell--landscape .lobby .choice-row>button,.app-shell--landscape .lobby-times button{white-space:nowrap}.app-shell--landscape .home-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem!important}.import{min-width:0}.app-shell--phone .import>p,.app-shell--landscape .import>p{margin-block:0 .5rem}.app-shell--phone .import-tabs,.app-shell--landscape .import-tabs{margin-bottom:1rem!important}.app-shell--phone .import-tabs>button,.app-shell--landscape .import-tabs>button{flex:1 1 0}.app-shell--phone .import-drop,.app-shell--landscape .import-drop{margin-bottom:1rem!important;padding:1.25rem 1rem!important}.app-shell--phone .import-paste,.app-shell--landscape .import-paste{flex-direction:column}.app-shell--phone .import-paste textarea,.app-shell--landscape .import-paste textarea{width:100%;flex:none!important;height:7rem!important;overflow:auto!important}.app-shell--phone .chesscom-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem!important;display:grid!important}.app-shell--phone .chesscom-filters select{width:100%;min-width:0}.app-shell--phone .chesscom-elo{grid-column:1/-1;min-width:0!important}.app-shell--phone .chesscom-game{flex-direction:column;min-height:56px;align-items:stretch!important;gap:.25rem!important}.app-shell--phone .chesscom-meta{flex-wrap:wrap;row-gap:0;column-gap:.75rem!important}@media (pointer:coarse){.chesscom-elo .dual-range{height:44px;margin-inline:.25rem}.chesscom-elo .dual-range input[type=range]{height:44px}.chesscom-elo .dual-range input[type=range]::-webkit-slider-runnable-track{height:44px}.chesscom-elo .dual-range input[type=range]::-webkit-slider-thumb{width:28px;height:28px;margin-top:8px}.chesscom-elo .dual-range input[type=range]::-moz-range-thumb{width:28px;height:28px}}.app-shell{height:100dvh;display:grid}.app-shell--desktop{grid-template-columns:auto 1fr}.app-main{min-width:0;min-height:0;display:grid;overflow:auto}.sidebar{background:var(--panel);flex-direction:column;gap:.25rem;min-width:13rem;height:100%;min-height:0;padding:1rem .5rem;display:flex}.sidebar-brand{padding:.5rem;font-size:1.35rem;font-weight:800}.sidebar-item{color:var(--text);text-align:left;background:0 0;border:none;border-radius:6px;padding:.75rem 1rem;font-weight:600;display:block}button.sidebar-item{cursor:pointer;font-size:1rem}.sidebar-item--active{background:var(--panel-raised)}.sidebar-item--feedback{color:var(--text-muted);margin-top:auto}.sidebar-icon{display:none}@media (pointer:coarse) and (width<=1240px){.app-shell--desktop .sidebar{min-width:0;width:calc(4.5rem + env(safe-area-inset-left));padding-left:calc(.5rem + env(safe-area-inset-left));align-items:stretch}.app-shell--desktop .sidebar-brand{display:none}.app-shell--desktop .sidebar-item{justify-content:center;align-items:center;min-height:48px;padding:0;display:flex}.app-shell--desktop .sidebar-icon{display:flex}.app-shell--desktop .sidebar-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}.app-shell--phone,.app-shell--landscape{padding:env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left)}.app-shell--phone{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr)}.app-shell--landscape{grid-template-rows:minmax(0,1fr);grid-template-columns:auto minmax(0,1fr);padding-left:0}.app-shell--phone .app-main,.app-shell--landscape .app-main{overscroll-behavior:contain}.app-shell--immersive{padding-left:env(safe-area-inset-left);padding-bottom:env(safe-area-inset-bottom);grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.app-shell--immersive .app-main{flex-direction:column;display:flex;overflow:hidden}.app-shell--immersive .app-main>*{flex:1 1 0;min-height:0}.nav-tabs{background:var(--panel);display:flex}.nav-tabs--bar{padding-bottom:env(safe-area-inset-bottom);border-top:1px solid #ffffff14}.nav-tabs--rail{padding-left:env(safe-area-inset-left);border-right:1px solid #ffffff14;flex-direction:column;justify-content:center;gap:.25rem}.nav-tab{min-height:56px;color:var(--text-muted);-webkit-tap-highlight-color:transparent;flex-direction:column;justify-content:center;align-items:center;gap:.15rem;font-size:.75rem;font-weight:600;display:flex}.nav-tabs--bar .nav-tab{flex:1 1 0}.nav-tabs--rail .nav-tab{width:4.5rem}.nav-tab--active{color:var(--primary)}.app-shell--phone .page,.app-shell--landscape .page{align-content:start;padding:1rem!important}.app-shell--phone .page .choice-row,.app-shell--landscape .page .choice-row{place-self:stretch stretch;flex-wrap:nowrap!important}.app-shell--phone .page .choice-row>button,.app-shell--landscape .page .choice-row>button{flex:auto;padding:.75rem .4rem!important;font-size:.95rem!important}.app-shell--phone .page h1,.app-shell--landscape .page h1{font-size:1.5rem;margin-top:0!important}.more{place-self:start center;gap:.75rem;width:100%;max-width:30rem;padding:1rem;display:grid}.more h1{text-align:center;margin:0;font-size:1.5rem}.more-list{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.more-item{background:var(--panel);width:100%;min-height:56px;color:var(--text);font:inherit;text-align:left;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:.9rem;padding:0 1rem;font-weight:600;display:flex}:root{--app-bg:#302e2b;--panel:#262421;--panel-raised:#3d3a37;--primary:#81b64c;--text:#e8e6e3;--text-muted:#a09a94;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--app-bg);color:var(--text);margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}.text-link{color:var(--primary);text-decoration:underline}.game-container{grid-template-columns:1fr 280px;gap:1rem;width:100%;min-width:0;height:100%;min-height:0;padding:1rem;display:grid}.game-container>*{min-width:0;min-height:0}.analyze-container{grid-template-columns:1fr 420px}.board-frame{justify-content:center;align-items:center;width:100%;min-width:0;height:100%;min-height:0;display:flex;container-type:size}.board-square{flex-direction:column;width:100cqmin;height:100cqmin;display:flex}.board-square-row{flex:auto;min-width:0;min-height:0;position:relative}.board-square--with-eval-bar{width:calc(min(100cqh,100cqw - 3.25rem) + 3.25rem);height:min(100cqh,100cqw - 3.25rem)}.board-square--with-player-bars{width:min(100cqw,100cqh - 3rem);height:calc(min(100cqw,100cqh - 3rem) + 3rem)}.board-square--with-eval-bar.board-square--with-player-bars{width:calc(min(100cqh - 3rem,100cqw - 3.25rem) + 3.25rem);height:calc(min(100cqh - 3rem,100cqw - 3.25rem) + 3rem)}.dual-range{height:1.4rem;position:relative}.dual-range-track{background:var(--panel);pointer-events:none;border-radius:2px;height:4px;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.dual-range-fill{background:var(--primary);pointer-events:none;border-radius:2px;height:4px;position:absolute;top:50%;transform:translateY(-50%)}.dual-range input[type=range]{pointer-events:none;appearance:none;background:0 0;width:100%;height:15px;margin:0;position:absolute;top:50%;left:0;transform:translateY(-50%)}.dual-range input[type=range]:first-of-type{z-index:1}.dual-range input[type=range]:nth-of-type(2){z-index:2}.dual-range input[type=range]::-webkit-slider-runnable-track{-webkit-appearance:none;background:0 0;height:15px}.dual-range input[type=range]::-moz-range-track{background:0 0;height:15px}.dual-range input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;pointer-events:auto;background:var(--primary);border:2px solid var(--panel);cursor:pointer;border-radius:50%;width:15px;height:15px;margin-top:0}.dual-range input[type=range]::-moz-range-thumb{pointer-events:auto;background:var(--primary);border:2px solid var(--panel);cursor:pointer;border-radius:50%;width:15px;height:15px}.app-main{container:layout/inline-size}@media (pointer:coarse) and (orientation:landscape) and (width>=960px) and (height>=600px){.app-shell--desktop .app-main{container-name:touch-layout}}@media (pointer:coarse){html,body{overscroll-behavior-y:none}button,select,input:not([type=radio]):not([type=range]):not([type=checkbox]){min-height:44px}button{touch-action:manipulation;min-width:44px}.move-list-scroll li{align-items:center}input,select,textarea{font-size:max(16px,1em)!important}input.room-code-input{font-size:1.5rem!important}}@container layout (width<=1024px){.game-container{grid-template-columns:1fr;align-self:start;gap:1rem;height:auto;padding:1rem;flex:none!important}.board-frame{height:auto;container-type:inline-size}.board-square{aspect-ratio:1;width:min(100%,100dvh - 2rem);height:auto}.board-square--with-eval-bar{width:calc(min(100cqw - 3.25rem,100dvh - 2rem) + 3.25rem);height:min(100cqw - 3.25rem,100dvh - 2rem)}.board-square--with-player-bars{width:min(100cqw,100dvh - 5rem);height:calc(min(100cqw,100dvh - 5rem) + 3rem)}.board-square--with-eval-bar.board-square--with-player-bars{width:calc(min(100cqw - 3.25rem,100dvh - 5rem) + 3.25rem);height:calc(min(100cqw - 3.25rem,100dvh - 5rem) + 3rem)}.move-list-scroll{max-height:14rem}}
