.chess-shell{background:#eef2f6;min-height:calc(100vh - 78px);padding:10px 14px 28px}.chess-heading{align-items:center;gap:18px;max-width:1050px;height:42px;margin:0 auto 10px;display:flex}.chess-back{color:#53647b;align-items:center;gap:6px;font-size:13px;font-weight:900;display:inline-flex}.chess-heading h1{color:#26364d;align-items:center;gap:7px;margin:0;font-size:22px;display:flex}.chess-heading h1 span{color:#5d59c8;font-size:25px}.chess-turn{color:#386b50;background:#e0f2e8;border-radius:999px;align-items:center;gap:6px;margin-left:auto;padding:7px 11px;font-size:11px;font-weight:900;display:flex}.chess-layout{grid-template-columns:minmax(0,calc(100vh - 182px)) 250px;align-items:center;gap:18px;max-width:1050px;margin:0 auto;display:grid}.chess-board-card,.chess-panel{background:#fff;border:1px solid #dce3ec;border-radius:12px;padding:12px;box-shadow:0 8px 24px #26364d12}.chess-player{color:#2c3a50;align-items:center;gap:9px;margin-bottom:8px;display:flex}.chess-player small{color:#7d8897;margin-top:2px;font-size:11px;display:block}.chess-avatar{background:#e8edff;border-radius:9px;place-items:center;width:29px;height:29px;font-size:17px;display:grid}.chess-side-label{color:#68738a;background:#f2f4fa;border-radius:999px;margin-left:auto;padding:4px 8px;font-size:10px;font-weight:900}.chess-you{margin:8px 0 0}.chess-you .chess-avatar{background:#fff0cf}.chess-board{aspect-ratio:1;background:#614b45;border:5px solid #614b45;border-radius:7px;grid-template-columns:repeat(8,1fr);display:grid;overflow:hidden;box-shadow:0 8px 17px #463b3a33}.chess-square{aspect-ratio:1;cursor:pointer;border:0;place-items:center;min-width:0;font-family:Georgia,serif;font-size:clamp(29px,5.3vw,57px);line-height:1;display:grid;position:relative}.chess-square.light{background:#f6dfb8}.chess-square.dark{background:#b87c5f}.chess-square>span{filter:drop-shadow(1px 3px 1px #2f241c4d)}.chess-square.light>span{color:#fffdf7;text-shadow:0 2px #6c5145,1px 0 #6c5145,-1px 0 #6c5145}.chess-square.dark>span{color:#43312c;text-shadow:0 1px #fff8e5}.chess-square.selected{box-shadow:inset 0 0 0 4px #ffd34e}.chess-square.target:after{content:"";background:#f8c740cc;border-radius:50%;width:23%;height:23%;position:absolute}.chess-square.target:has(>span:not(:empty)):after{background:0 0;border:4px solid #f8c740cc;width:84%;height:84%}.chess-square i,.chess-square em{color:#6c5145;font:900 9px Nunito,sans-serif;position:absolute}.chess-square i{top:2px;left:3px}.chess-square em{bottom:1px;right:3px}.chess-panel{flex-direction:column;gap:13px;display:flex}.chess-status{color:#2e6b4a;background:#eef8f2;border-radius:10px;align-items:flex-start;gap:8px;padding:11px;font-size:13px;line-height:1.35;display:flex}.status-dot{background:#46b77b;border-radius:50%;flex:none;width:8px;height:8px;margin-top:4px}.status-dot.thinking{background:#f4a640;animation:1s infinite chess-pulse}.chess-tip{color:#6c561e;background:#fff6df;border-radius:10px;gap:9px;padding:11px;font-size:13px;line-height:1.35;display:flex}.chess-tip span{font-size:20px}.chess-tip p,.chess-mode p{color:#81734f;margin:4px 0 0;font-size:11px}.chess-reset{color:#fff;cursor:pointer;background:#5d59c8;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:10px 12px;font:900 13px Nunito,sans-serif;display:flex}.chess-reset:hover{background:#4c47b0}.chess-mode{color:#536078;border-top:1px solid #edf0f6;gap:9px;padding-top:5px;display:flex}.chess-mode>span{font-size:21px}.chess-mode p{color:#8991a0}@keyframes chess-pulse{50%{opacity:.35}}@media (max-width:820px){.chess-layout{grid-template-columns:minmax(0,1fr);gap:10px}.chess-panel{order:2}.chess-shell{padding:8px 8px 20px}.chess-heading{margin-bottom:6px}.chess-heading h1{font-size:18px}.chess-board-card{padding:8px}.chess-square{font-size:clamp(25px,10vw,50px)}.chess-panel{grid-template-columns:1fr 1fr;gap:8px;display:grid}.chess-status,.chess-tip,.chess-reset,.chess-mode{min-width:0}.chess-mode{grid-column:1/-1}}
.chess-square.light{background:#f3f3f1}.chess-square.dark{background:#659d42}.chess-square .piece-white{color:#f7c927;text-shadow:0 2px #7d6410,1px 0 #7d6410,-1px 0 #7d6410}.chess-square .piece-black{color:#424242;text-shadow:0 2px #1f1f1f,1px 0 #1f1f1f,-1px 0 #1f1f1f}.chess-shell:not(.chess-choice-shell) .chess-you{padding-bottom:54px;position:relative}.chess-shell:not(.chess-choice-shell) .chess-you:after{content:"●  Your turn";color:#5d4510;letter-spacing:.01em;background:#ffd866;border-bottom:5px solid #dba92d;border-radius:15px;justify-content:center;align-items:center;min-height:38px;font-size:17px;font-weight:900;display:flex;position:absolute;bottom:14px;left:16px;right:16px;box-shadow:0 4px #dba92d}.chess-shell:not(.chess-choice-shell) .chess-you:before{content:"";background:#ffd34f;border-radius:20px 0 0 20px;width:7px;position:absolute;top:0;bottom:0;left:0}.chess-shell:not(.chess-choice-shell) .chess-square .piece-white{filter:drop-shadow(0 3px 1px #815f00)saturate(1.35);color:#ffd42a!important;text-shadow:0 2px #8d6d00,1px 0 #8d6d00,-1px 0 #8d6d00!important}.chess-shell:not(.chess-choice-shell) .chess-square .piece-black{color:#3e3e3e!important;text-shadow:0 2px #191919,1px 0 #191919,-1px 0 #191919!important}.chess-shell:not(.chess-choice-shell) .chess-square.engine-move{box-shadow:inset 0 0 0 5px #ffbd32,inset 0 0 22px #ffd84d99}.chess-shell:not(.chess-choice-shell) .chess-square.engine-move:before{content:"";background:#ffd84d33;animation:1.2s ease-in-out 2 chess-move-pulse;position:absolute;inset:0}.captured-tray{background:#eef2f6;border-radius:9px;flex-wrap:wrap;align-items:center;gap:1px;width:100%;min-height:26px;padding:4px 6px;display:flex}.captured-tray:empty{display:none}.captured-tray span{font-family:Georgia,serif;font-size:20px;line-height:1}.captured-tray .piece-white{color:#ffd42a;text-shadow:0 1px #8d6d00}.captured-tray .piece-black{color:#3e3e3e;text-shadow:0 1px #191919}.kidobot-mark{background:linear-gradient(135deg,#d9f8ff,#c9d8ff);border:2px solid #fff}.guest-avatar img{object-fit:cover;width:100%;height:100%}@keyframes chess-move-pulse{50%{opacity:.25}}
.chess-choice-shell{place-items:center;min-height:calc(100vh - 78px);display:grid}.chess-layout{grid-template-columns:minmax(0,1fr) 310px;gap:28px;max-width:1400px}.chess-board-card{justify-self:center;width:min(100%,100vh - 160px)}.chess-panel{align-self:center}.chess-shell:not(.chess-choice-shell)>.chess-heading{display:none}.chess-shell:not(.chess-choice-shell)>.chess-layout{min-height:calc(100vh - 100px)}.chess-shell:not(.chess-choice-shell){isolation:isolate;background-color:#72c4d9;background-image:radial-gradient(circle at 9% 18%,#ffffff30 0 7%,#0000 7.4%),radial-gradient(circle at 86% 11%,#fff7bd38 0 8%,#0000 8.4%),radial-gradient(at 9% 88%,#55addb80 0 23%,#0000 52%),radial-gradient(at 91% 80%,#8bc84f99 0 25%,#0000 55%),linear-gradient(115deg,#55a9d8 0%,#70c8df 46%,#8bcf78 100%);background-repeat:no-repeat;background-size:auto,auto,auto,auto,100% 100%;padding:18px 24px;position:relative;overflow:hidden}.chess-shell:not(.chess-choice-shell):before,.chess-shell:not(.chess-choice-shell):after{content:"";z-index:-1;pointer-events:none;filter:blur(1px);opacity:.5;border-radius:50%;position:absolute}.chess-shell:not(.chess-choice-shell):before{background:#b5edc0;width:clamp(180px,24vw,360px);height:clamp(90px,12vw,190px);bottom:-3vw;left:-5vw;transform:rotate(-13deg)}.chess-shell:not(.chess-choice-shell):after{background:#a9e4eb;width:clamp(220px,28vw,430px);height:clamp(110px,14vw,220px);top:-5vw;right:-7vw;transform:rotate(16deg)}.chess-shell:not(.chess-choice-shell)>.chess-layout{z-index:1;grid-template-columns:230px minmax(580px,calc(100vh - 120px)) 320px;justify-content:center;align-items:center;gap:24px;width:min(1520px,100%);position:relative}.chess-shell:not(.chess-choice-shell) .chess-board-card{justify-self:center;width:min(100%,100vh - 120px);padding:5px}.chess-player-rail{align-self:center;gap:18px;display:grid}.chess-shell:not(.chess-choice-shell) .chess-player{background:linear-gradient(150deg,#fffffffa,#f5f8ffed);border:2px solid #fff;border-radius:24px;grid-template-rows:48px 28px 24px;grid-template-columns:48px minmax(0,1fr);align-items:center;column-gap:11px;width:100%;min-height:154px;margin:0;padding:17px 15px 12px;transition:border-color .2s,box-shadow .2s,transform .2s;display:grid;position:relative;box-shadow:0 12px 26px #22435b29}.chess-shell:not(.chess-choice-shell) .chess-player:not(.chess-you){order:1}.chess-shell:not(.chess-choice-shell) .chess-player.chess-you{order:2}.chess-shell:not(.chess-choice-shell) .chess-player.is-active{border-color:#ffd45b;transform:translateY(-2px);box-shadow:0 14px 30px #22435b33,0 0 0 4px #ffd45b55}.chess-shell:not(.chess-choice-shell) .chess-player .chess-avatar{border-radius:16px;grid-row:1;width:48px;height:48px;overflow:hidden}.chess-shell:not(.chess-choice-shell) .chess-player-copy{min-width:0}.chess-shell:not(.chess-choice-shell) .chess-player strong{color:#26364d;text-overflow:ellipsis;white-space:nowrap;font-size:15px;display:block;overflow:hidden}.chess-shell:not(.chess-choice-shell) .chess-player small{white-space:nowrap;font-size:10px}.chess-shell:not(.chess-choice-shell) .chess-side-label{grid-area:2/2;justify-self:start;margin:0;padding:5px 10px;font-size:10px}.chess-shell:not(.chess-choice-shell) .chess-side-label.white-side{color:#86631b;background:#fff1c7}.chess-shell:not(.chess-choice-shell) .chess-side-label.black-side{color:#40506b;background:#e8edf7}.chess-shell:not(.chess-choice-shell) .captured-tray{background:#eaf0f6;border-radius:8px;grid-area:3/1/auto/-1;width:100%;min-height:24px;padding:3px 6px;overflow:hidden}.chess-shell:not(.chess-choice-shell) .chess-player-turn{color:#77570a;text-align:center;opacity:0;background:#ffd45b;border-radius:999px;min-width:98px;height:22px;padding:4px 8px;font-size:9px;font-weight:900;line-height:14px;transition:opacity .2s,transform .2s;position:absolute;top:-11px;right:13px;transform:translateY(3px)}.chess-shell:not(.chess-choice-shell) .chess-player-turn.visible{opacity:1;transform:none}.turn-pulse{vertical-align:1px;background:#fff;border-radius:50%;width:6px;height:6px;margin-right:4px;animation:1.2s infinite chess-pulse;display:inline-block}.chess-shell:not(.chess-choice-shell) .chess-board{grid-area:1/2;justify-self:center;width:100%}.chess-shell:not(.chess-choice-shell) .chess-panel{background:#fffffff2;border:2px solid #fff;border-radius:22px;grid-area:1/3/span 2;width:100%;position:relative;box-shadow:0 14px 32px #22435b29}.chess-left-overlay{z-index:8;text-align:center;color:#26364d;background:#fffffff7;border-radius:20px;align-content:center;place-items:center;gap:10px;padding:18px;display:grid;position:absolute;inset:0}.chess-left-overlay strong{color:#5b50c4;max-width:100%;font-size:clamp(20px,2vw,30px);line-height:1.12}.chess-left-overlay p{color:#66738b;margin:0;font-size:13px}.chess-left-overlay>div{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.chess-left-overlay .chess-nav-button,.chess-left-overlay .chess-invite-button{min-width:115px;padding:9px 12px;font-size:12px;text-decoration:none}.chess-shell:not(.chess-choice-shell) .chess-square.light{background:#f5f5f3!important}.chess-shell:not(.chess-choice-shell) .chess-square.dark{background:#659d42!important}.chess-shell:not(.chess-choice-shell) .chess-square .piece-white{color:#ffd42a!important;text-shadow:0 2px #8d6d00,1px 0 #8d6d00,-1px 0 #8d6d00!important}.chess-shell:not(.chess-choice-shell) .chess-square .piece-black{color:#3e3e3e!important;text-shadow:0 2px #191919,1px 0 #191919,-1px 0 #191919!important}@media (max-width:1100px){.chess-shell:not(.chess-choice-shell)>.chess-layout{grid-template-columns:minmax(0,calc(100vh - 150px)) 270px;gap:14px}.chess-shell:not(.chess-choice-shell) .chess-player-rail{display:none}.chess-shell:not(.chess-choice-shell) .chess-board{grid-area:1/1}.chess-shell:not(.chess-choice-shell) .chess-panel{grid-area:1/2}}@media (max-width:720px){.chess-shell:not(.chess-choice-shell){padding:8px}.chess-shell:not(.chess-choice-shell)>.chess-layout{grid-template-columns:1fr;min-height:0;display:grid}.chess-shell:not(.chess-choice-shell) .chess-player-rail{grid-area:1/1;grid-template-columns:1fr 1fr;gap:8px;display:grid}.chess-shell:not(.chess-choice-shell) .chess-player{border-radius:18px;grid-template-rows:36px 24px 21px;grid-template-columns:36px minmax(0,1fr);min-height:125px;padding:12px 10px}.chess-shell:not(.chess-choice-shell) .chess-player .chess-avatar{border-radius:12px;width:36px;height:36px}.chess-shell:not(.chess-choice-shell) .chess-player strong{font-size:12px}.chess-shell:not(.chess-choice-shell) .chess-player small{font-size:9px}.chess-shell:not(.chess-choice-shell) .chess-board-card{grid-area:2/1;width:100%}.chess-shell:not(.chess-choice-shell) .chess-board{width:100%}.chess-shell:not(.chess-choice-shell) .chess-panel{grid-area:3/1;grid-template-columns:1fr 1fr;display:grid}.chess-shell:not(.chess-choice-shell) .chess-mode{grid-column:1/-1}}.chess-choice{background:#fff;border:1px solid #dce3ec;border-radius:28px;width:min(760px,100%);padding:34px;box-shadow:0 18px 50px #26364d18}.chess-choice h1{color:#26364d;margin:25px 0 5px;font-size:clamp(34px,5vw,52px)}.chess-choice h1 span{color:#5d59c8}.chess-choice>p{color:#748197;margin:0;font-size:17px}.chess-choice-grid{grid-template-columns:1fr 1fr;gap:16px;margin-top:28px;display:grid}.chess-choice-grid button{text-align:left;color:#293b55;cursor:pointer;background:#f5f7ff;border:2px solid #e1e6ff;border-radius:20px;flex-direction:column;align-items:flex-start;gap:8px;padding:22px;display:flex}.chess-choice-grid button:hover{border-color:#7772dc;transform:translateY(-2px)}.chess-choice-grid span{font-size:42px}.chess-choice-grid strong{font-size:18px}.chess-choice-grid small{color:#748197;font-size:13px;line-height:1.4}.friend-lobby{gap:15px;margin-top:25px;display:grid}.friend-person,.friend-link-card{background:#f5f7fb;border-radius:16px;align-items:center;gap:13px;padding:16px;display:flex}.friend-avatar{background:#fff0cf;border-radius:15px;place-items:center;width:48px;height:48px;font-size:27px;display:grid;overflow:hidden}.friend-avatar img{object-fit:cover;width:100%;height:100%}.friend-person small{color:#7a8798;margin-top:3px;font-size:12px;display:block}.friend-link-card{align-items:stretch;display:grid}.friend-link-card input{color:#68758a;background:#fff;border:1px solid #d8dfeb;border-radius:9px;width:100%;padding:11px}.friend-link-card p{color:#6a7890;margin:0;font-size:13px}.friend-link-card .chess-reset{width:max-content}@media (max-width:620px){.chess-choice{padding:22px}.chess-choice-grid{grid-template-columns:1fr}.friend-link-card .chess-reset{width:100%}}.chess-player-picker{gap:7px;margin-top:22px;display:grid;position:relative}.chess-picker-label{color:#68758a;font-size:12px;font-weight:900}.chess-picker-trigger{color:#293b55;width:100%;font:inherit;text-align:left;cursor:pointer;background:#fff;border:2px solid #dce3ec;border-radius:13px;justify-content:space-between;align-items:center;padding:13px 15px;display:flex}.chess-picker-menu{z-index:3;background:#fff;border:1px solid #dce3ec;border-radius:13px;padding:6px;position:absolute;top:65px;left:0;right:0;box-shadow:0 12px 28px #26364d22}.chess-picker-menu button{color:#293b55;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;justify-content:space-between;align-items:center;padding:10px 11px;display:flex}.chess-picker-menu button:hover,.chess-picker-menu button[aria-selected=true]{color:#5149b6;background:#f0efff}.friend-link-actions{flex-wrap:wrap;gap:9px;display:flex}.chess-share-button{background:#25a366!important;box-shadow:0 3px #177447!important}.friend-challenge{background:#fff;border:1px solid #dfe5ee;border-radius:20px;align-items:center;gap:16px;padding:20px;display:flex;box-shadow:0 8px 22px #26364d12}.friend-challenge-avatar{background:#f0efff;border-radius:22px;width:72px;height:72px}.friend-challenge-kicker{color:#6b62bd;letter-spacing:.08em;margin-bottom:4px;font-size:10px;font-weight:900;display:block}.friend-challenge strong{color:#283a56;font-size:22px;display:block}.friend-challenge small{color:#6e7188;margin-top:4px;font-size:13px;display:block}.friend-accept-button{min-width:220px;margin:0 auto;background:#ef5b86!important;width:max-content!important;box-shadow:0 4px #c63d68!important}.friend-link-card>p:first-of-type{line-height:1.45}.chess-choice-grid>button{background:linear-gradient(145deg,#f8f9ff,#eef1ff);border:3px solid #dfe4ff;min-height:220px;transition:transform .18s,box-shadow .18s,border-color .18s;position:relative;overflow:hidden;box-shadow:0 7px #d9ddf5}.chess-choice-grid>button:first-child{background:linear-gradient(145deg,#f7f6ff,#e8e7ff);border-color:#8179e8;box-shadow:0 7px #c8c3f0}.chess-choice-grid>button:hover{border-color:#625bd1;transform:translateY(-3px);box-shadow:0 10px #cbc8f3}.chess-choice-grid>button>strong{font-size:21px}.chess-choice-grid>button>small{max-width:260px;font-size:14px}.chess-choice-grid>button>.choice-art{background:#fff;border-radius:27px;place-items:center;width:94px;height:94px;margin:-3px 0 3px;display:grid;box-shadow:0 5px 12px #3344771c}.chess-choice-grid>button>.choice-art-bot{background:linear-gradient(145deg,#e5faff,#e6e0ff)}.chess-choice-grid>button>.choice-art-bot .chess-kidobot{zoom:1.05;animation:none}.chess-choice-grid>button>.choice-art-friend{background:linear-gradient(145deg,#fff1c7,#ffe0ec)}.chess-choice-grid>button>.choice-art-friend img{content:none;object-fit:contain;width:100%;height:100%}.chess-choice-grid>button>.choice-art>img{display:block}.chess-picker-trigger{gap:12px;width:min(100%,520px)}.chess-picker-selected,.chess-picker-option{align-items:center;gap:11px;min-width:0;display:flex}.chess-picker-selected strong,.chess-picker-option strong{text-overflow:ellipsis;white-space:nowrap;font-size:16px;overflow:hidden}.chess-picker-menu{width:min(100%,520px);max-height:280px;right:auto;overflow:auto}.chess-picker-menu button{gap:12px}.chess-picker-menu button>svg{color:#5d59c8;flex:none}.chess-picker-selected img,.chess-picker-selected>span,.chess-picker-option img,.chess-picker-option>span{color:#77570a;background:#ffe8a8;border-radius:12px;flex:none;place-items:center;width:38px;height:38px;font-size:16px;font-weight:900;display:grid;overflow:hidden}.chess-picker-selected img,.chess-picker-option img{object-fit:cover}.chess-picker-selected img,.chess-picker-selected>span,.chess-picker-option img,.chess-picker-option>span{border:3px solid #fff;border-radius:50%;box-shadow:0 2px #d4d9ef}.friend-avatar{border:4px solid #fff;border-radius:50%;box-shadow:0 4px #e8d497}.friend-avatar img{border-radius:50%}.chess-shell:not(.chess-choice-shell) .guest-avatar{border:4px solid #fff;border-radius:50%;overflow:hidden;box-shadow:0 5px #d2a954}.chess-shell:not(.chess-choice-shell) .guest-avatar img{border-radius:50%}.chess-choice-grid>button>.choice-art{border:4px solid #fff;border-radius:50%;box-shadow:0 5px #d9dced}.chess-player-picker{max-width:430px}.chess-picker-label{font-size:0}.chess-picker-label:after{content:"Who's going to play?";font-size:12px}.chess-picker-trigger,.chess-picker-menu{max-width:430px}.chess-choice-grid>button>.choice-art{overflow:hidden}.chess-choice-grid>button>.choice-art-bot .chess-kidobot{transform-origin:50%;transform:scale(.72)}.friend-lobby{width:min(100%,620px);margin-left:auto;margin-right:auto}.friend-challenge{text-align:left;grid-template-rows:auto auto;grid-template-columns:64px minmax(0,1fr);align-items:center;column-gap:14px;min-height:0;padding:14px 18px 16px;display:grid;position:relative;overflow:hidden}.friend-challenge:after{content:"";pointer-events:none;background:0 0;grid-area:1/1/auto/-1;width:112px;height:112px;margin:0 auto 3px;display:block;position:static;transform:none}.friend-challenge>div{z-index:1;position:relative}.friend-challenge-avatar{grid-area:2/1;width:58px;height:58px}.friend-challenge>div:not(.friend-avatar){flex-direction:column;grid-area:2/2;align-items:flex-start;display:flex}.friend-challenge-kicker{margin-top:0}.friend-challenge strong{font-size:23px}.friend-challenge small{font-size:13px}.friend-accept-button{width:min(100%,620px);margin-left:auto;margin-right:auto}.chess-choice-grid>button>.choice-art{width:112px;height:112px;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important}.chess-choice-grid>button>.choice-art-friend img{border-radius:0}.chess-choice-grid>button>.choice-art-bot .chess-kidobot{transform:scale(.88)}@media (max-width:620px){.chess-choice{border-radius:22px;padding:18px}.chess-choice h1{margin:18px 0 4px;font-size:clamp(29px,9vw,40px);line-height:1.05}.chess-choice>p{font-size:14px;line-height:1.4}.chess-choice-grid{gap:10px;margin-top:20px}.chess-choice-grid>button{border-radius:17px;min-height:178px;padding:15px}.chess-choice-grid>button>.choice-art{border-radius:50%;width:65px;height:65px}.chess-choice-grid>button>.choice-art-bot .chess-kidobot{zoom:.72}.chess-choice-grid>button>strong{font-size:16px}.chess-choice-grid>button>small{font-size:11px;line-height:1.3}.friend-lobby{gap:10px;margin-top:18px}.friend-challenge{grid-template-columns:48px minmax(0,1fr);column-gap:10px;padding:10px 12px 12px}.friend-challenge:after{width:82px;height:82px;margin-bottom:1px}.friend-challenge-avatar{border-width:3px;width:46px;height:46px}.friend-challenge-kicker{font-size:8px}.friend-challenge strong{font-size:18px}.friend-challenge small{font-size:11px;line-height:1.3}.friend-accept-button{min-height:48px;padding:10px;font-size:13px}.friend-link-card{padding:13px}.friend-link-actions{gap:7px}.friend-link-actions .chess-reset{flex:1;padding:9px 8px;font-size:11px;width:auto!important}.chess-choice-grid>button>.choice-art{width:82px;height:82px;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important}.chess-choice-grid>button>.choice-art-friend img{border-radius:0}}.chess-choice-grid>button.chess-coming-soon-card{cursor:not-allowed;filter:grayscale(.18);opacity:.68;box-shadow:0 7px #d9ddf5}.chess-choice-grid>button.chess-coming-soon-card:hover{border-color:#dfe4ff;transform:none;box-shadow:0 7px #d9ddf5}.coming-soon-badge{color:#5d59c8;vertical-align:middle;background:#e8e6ff;border-radius:999px;margin-left:7px;padding:4px 7px;font-size:10px;font-style:normal;display:inline-block}.chess-choice-grid>button.chess-coming-soon-card{overflow:hidden}.chess-choice-grid>button.chess-coming-soon-card:before{content:"🔒  COMING SOON";z-index:2;color:#fff;letter-spacing:.08em;background:linear-gradient(135deg,#6a5bd4,#ef5b86);padding:7px 44px;font-size:10px;font-weight:1000;position:absolute;top:18px;right:-42px;transform:rotate(35deg);box-shadow:0 4px 10px #40378a33}.chess-choice-grid>button.chess-coming-soon-card:after{content:"";pointer-events:none;background:repeating-linear-gradient(135deg,#fff0 0 15px,#ffffff24 15px 17px);position:absolute;inset:0}.chess-choice-grid>button>.choice-art-friend img{content:url(/chess-friend-challenge-v1.webp)}.friend-challenge:after{background:url(/chess-friend-challenge-hero-v1.webp) 50%/contain no-repeat}.chess-choice-grid>button:nth-child(2){background:linear-gradient(145deg,#fff7e5 0%,#ffeaf3 52%,#eee9ff 100%);border-color:#f3a4c0;box-shadow:0 7px #e5c8dc}.chess-choice-grid>button:nth-child(2):hover{border-color:#ef6f9d;box-shadow:0 10px #e1b5d0}.chess-waiting-shell{place-items:center;min-height:calc(100vh - 100px);display:grid;padding:32px 20px!important}.chess-waiting-card{color:#26364d;background:linear-gradient(145deg,#fffefa 0%,#f7f5ff 100%);border:2px solid #fff;border-radius:30px;width:min(680px,100%);padding:30px 34px 34px;box-shadow:0 22px 50px #22435b2e}.friend-finished-board{position:relative;overflow:hidden}.friend-win-banner{z-index:2;text-align:center;color:#633b13;background:linear-gradient(135deg,#fff7c9,#ffd66f);border:3px solid #ffd45d;border-radius:22px;width:min(92%,620px);padding:16px 20px;animation:1s ease-in-out infinite friend-win-flash;position:absolute;top:14px;left:50%;transform:translate(-50%);box-shadow:0 10px 24px #553c2940}.friend-win-banner strong{font-size:clamp(20px,3vw,32px);display:block}.friend-win-banner>span:not(.friend-win-confetti){margin:3px 0 10px;display:block}.friend-win-banner button{margin:0 4px}.friend-win-confetti{letter-spacing:6px;font-size:20px;display:block}@keyframes friend-win-flash{50%{transform:translate(-50%)scale(1.03);box-shadow:0 0 30px #ffd45d}}.chess-waiting-card .chess-back{color:#586b8a;align-items:center;gap:8px;margin-bottom:30px;font-size:14px;font-weight:800;text-decoration:none;display:inline-flex}.friend-finished-board .chess-board{padding-top:0}.friend-finished-board .friend-win-banner{border-width:4px;width:min(82%,560px);padding:24px 26px;top:50%;transform:translate(-50%,-50%);box-shadow:0 16px 36px #553c2955}.friend-finished-board .friend-win-banner strong{font-size:clamp(24px,4vw,42px);line-height:1.15}.friend-finished-board .friend-win-banner{white-space:nowrap;width:max-content;max-width:90%;padding:18px 28px}.friend-finished-board .friend-win-banner strong{font-size:clamp(18px,2.5vw,30px)}.friend-finished-board .friend-win-banner{animation:1s ease-in-out infinite friend-win-center}@keyframes friend-win-center{50%{transform:translate(-50%,-50%)scale(1.04);box-shadow:0 0 34px #ffd45d}}.chess-waiting-kicker{color:#6257d2;letter-spacing:.12em;align-items:center;gap:9px;font-size:12px;font-weight:900;display:flex}.chess-waiting-dot{background:#f3b83f;border-radius:50%;width:10px;height:10px;box-shadow:0 0 0 5px #f3b83f24}.chess-waiting-card h1{color:#26364d;letter-spacing:-.04em;margin:14px 0 8px;font-size:clamp(30px,5vw,48px)}.chess-waiting-lead{color:#71809a;max-width:560px;margin:0;font-size:17px;line-height:1.55}.chess-waiting-players{grid-template-columns:1fr 42px 1fr;align-items:center;gap:10px;margin:30px 0 22px;display:grid}.chess-waiting-player{background:#fff;border:2px solid #e4e7f3;border-radius:18px;align-items:center;gap:12px;min-height:76px;padding:13px 14px;display:flex;box-shadow:0 7px 16px #33415c12}.chess-waiting-player.is-ready{border-color:#bfc5f6}.chess-waiting-avatar{color:#fff;background:#665bd2;border-radius:14px;flex:none;place-items:center;width:43px;height:43px;font-size:24px;display:grid}.chess-waiting-avatar.waiting-avatar{color:#8f9ab0;background:#eef1f8;font-size:22px}.chess-waiting-player span:not(.chess-waiting-avatar){gap:4px;min-width:0;display:grid}.chess-waiting-player strong{color:#34435e;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.chess-waiting-player small{color:#8490a6;font-size:11px}.chess-waiting-player b{color:#6a61d5;margin-left:auto;font-size:18px}.chess-waiting-connector{color:#a3acc0;text-align:center;font-size:11px;font-weight:900}.chess-waiting-note{color:#75643c;background:#fff5c9;border:1px solid #f3d873;border-radius:15px;align-items:center;gap:10px;padding:13px 15px;font-size:13px;line-height:1.45;display:flex}.chess-waiting-note span:first-child{font-size:20px}.chess-waiting-action{color:#fff;background:#6257d2;border-radius:13px;margin-top:24px;padding:12px 18px;font-size:14px;font-weight:900;text-decoration:none;display:inline-flex;box-shadow:0 4px #443ca9}@media (max-width:600px){.chess-waiting-card{border-radius:24px;padding:22px 18px 24px}.chess-waiting-players{grid-template-columns:1fr;gap:8px}.chess-waiting-connector{display:none}.chess-waiting-lead{font-size:15px}}.chess-panel .friend-check-alert{color:#522000;background:#fff0cc;border:2px solid #aa3b0a;border-radius:12px;padding:.8rem 1rem}.friend-check-alert strong{font-size:1.45rem;display:block}@media (prefers-reduced-motion:no-preference){.friend-check-alert{animation:1.2s ease-in-out infinite friend-check-pulse}@keyframes friend-check-pulse{50%{background-color:#ffd682;box-shadow:0 0 0 5px #bf560047}}}@media (prefers-reduced-motion:reduce){.friend-check-alert{background:#ffd682;box-shadow:0 0 0 5px #bf560047}}.edubot-chess-game.edubot-in-check .chess-status{color:#7b2500;background:#fff0cc;border:2px solid #d66a1f;animation:1s ease-in-out infinite edubot-check-flash}.edubot-chess-game.edubot-game-over .chess-status{color:#3b4c86;background:#eef0ff;border:2px solid #aaa6ef}.edubot-chess-game.edubot-game-over .chess-game-over{pointer-events:none;background:#10253c29}.edubot-chess-game.edubot-game-over .chess-result-card{display:none}.edubot-chess-game.edubot-game-over .chess-board{pointer-events:none}.edubot-chess-game.edubot-game-over .chess-tip{display:none}.edubot-chess-game.edubot-game-over .chess-status strong{font-size:0}.edubot-chess-game.edubot-result-loss .chess-status strong:after{content:"Game over — KidoBot won this round.";font-size:13px}.edubot-chess-game.edubot-result-win .chess-status strong:after{content:"Game over — you won this round!";font-size:13px}.edubot-chess-game.edubot-result-draw .chess-status strong:after{content:"Game over — the game ended in a draw.";font-size:13px}.edubot-chess-game.edubot-game-over .chess-status strong:after{font-weight:1000}.edubot-chess-game .chess-tip,.edubot-chess-game .chess-invite-note{display:none}.edubot-chess-game .chess-invite-button{font-size:0}.edubot-chess-game .chess-invite-button:after{content:"Invite a friend";font-size:13px}@keyframes edubot-check-flash{50%{background:#ffd682;box-shadow:0 0 0 6px #d66a1f40}}@media (prefers-reduced-motion:reduce){.edubot-chess-game.edubot-in-check .chess-status{background:#ffd682;animation:none;box-shadow:0 0 0 6px #d66a1f40}}.chess-choice-grid>button>.metric-count{z-index:1;color:#6a61d5;white-space:nowrap;align-items:center;gap:4px;font-size:12px;display:inline-flex;position:absolute;top:16px;right:16px}.chess-choice-grid>button>.metric-count svg{color:#6a61d5}
.chess-kidobot{zoom:.56;filter:drop-shadow(0 5px 7px #2c225b35);transform-origin:50% 100%;flex:none;width:58px;height:64px;animation:4.2s ease-in-out infinite buddy-float;position:relative}.chess-kidobot .buddy-shadow{background:#44386824;border-radius:50%;height:12px;animation:4.2s ease-in-out infinite buddy-shadow;position:absolute;bottom:1px;left:17px;right:11px}.chess-kidobot .buddy-book{width:74px;height:61px;position:absolute;top:31px;left:10px}.chess-kidobot .buddy-page{background:linear-gradient(160deg,#8a72f0,#684bd5);border:3px solid #263238;width:39px;height:58px;position:absolute;top:0}.chess-kidobot .buddy-page-left{border-radius:22px 8px 10px 25px;left:0;transform:skewY(8deg)rotate(-4deg)}.chess-kidobot .buddy-page-right{background:linear-gradient(160deg,#34bdb0,#168f8c);border-radius:8px 22px 25px 10px;right:0;transform:skewY(-8deg)rotate(4deg)}.chess-kidobot .buddy-page:after{content:"";background:#fff9;border-radius:999px;height:3px;position:absolute;inset:8px 7px auto;box-shadow:0 9px #fff6,0 18px #fff5}.chess-kidobot .buddy-face{z-index:2;justify-content:center;gap:13px;width:50px;height:31px;display:flex;position:absolute;top:17px;left:13px}.chess-kidobot .buddy-eye{transform-origin:50%;background:#172342;border-radius:50%;width:8px;height:11px;animation:4.8s infinite buddy-blink}.chess-kidobot .buddy-eye:after{content:"";background:#fff;border-radius:50%;width:3px;height:3px;margin:2px 0 0 2px;display:block}.chess-kidobot .buddy-mouth{border:3px solid #172342;border-top:0;border-radius:0 0 14px 14px;width:17px;height:8px;animation:6s ease-in-out infinite buddy-smile;position:absolute;top:16px;left:17px}.chess-kidobot .buddy-star{z-index:4;color:#ffd54f;text-shadow:-1px 0 #263238,0 1px #263238,1px 0 #263238,0 -1px #263238;font-size:16px;position:absolute;bottom:-6px;left:31px;transform:rotate(-8deg)}.chess-kidobot .buddy-antenna{z-index:0;background:#263238;border-radius:999px;width:5px;height:27px;position:absolute;top:8px;left:42px;transform:rotate(5deg)}.chess-kidobot .buddy-antenna span{background:#ffd54f;border:3px solid #263238;border-radius:45% 55% 48% 52%;width:15px;height:15px;animation:2.2s ease-in-out infinite buddy-light;position:absolute;top:-8px;left:-5px}.chess-kidobot .buddy-arm{z-index:0;background:#263238;border-radius:999px;width:24px;height:8px;position:absolute;top:60px}.chess-kidobot .buddy-arm i{background:#ff8a65;border:3px solid #263238;border-radius:50%;width:12px;height:12px;position:absolute;top:-2px}.chess-kidobot .buddy-arm-left{left:-1px;transform:rotate(-27deg)}.chess-kidobot .buddy-arm-left i{left:-6px}.chess-kidobot .buddy-arm-right{transform-origin:0;animation:2.8s ease-in-out infinite buddy-wave;right:-2px;transform:rotate(-35deg)}.chess-kidobot .buddy-arm-right i{right:-6px}
.chess-shell.kido-thinking:not(.chess-choice-shell) .chess-you:after{content:"●  KidoBot is thinking";color:#fff;background:#7a6be5;border-bottom-color:#5546b7;box-shadow:0 4px #5546b7}.chess-shell.kido-thinking:not(.chess-choice-shell) .chess-you:before{background:#aaa2f4}.chess-shell:not(.chess-choice-shell) .chess-player:first-child{padding-bottom:54px;position:relative}.chess-shell.kido-thinking:not(.chess-choice-shell) .chess-player:first-child:after{content:"●  KidoBot's turn";color:#fff;background:#7a6be5;border-bottom:5px solid #5546b7;border-radius:15px;justify-content:center;align-items:center;min-height:38px;font-size:16px;font-weight:900;display:flex;position:absolute;bottom:14px;left:16px;right:16px;box-shadow:0 4px #5546b7}
.chess-shell:not(.chess-choice-shell) .chess-panel .chess-status{display:none}.chess-shell:not(.chess-choice-shell) .chess-panel{background:linear-gradient(160deg,#fffdf7,#f4f1ff);border:3px solid #fff;padding:20px;position:relative;box-shadow:0 16px 30px #31506c35}.chess-helper-sound{z-index:2;position:absolute;top:4px;right:16px}.chess-helper-sound .sound-toggle{color:#5145aa;cursor:pointer;background:#e5e2ff;border:0;border-radius:999px;justify-content:center;align-items:center;gap:5px;width:auto;height:32px;padding:0 10px;font:900 11px Nunito,sans-serif;display:flex}.chess-helper-sound .sound-toggle:before{content:"Listen"}.chess-helper-sound .sound-toggle.is-on{color:#fff;background:#645bd2}.chess-helper-sound .sound-toggle svg{width:17px;height:17px}.chess-helper-sound .sound-toggle:after{content:none}.chess-shell:not(.chess-choice-shell) .chess-panel:before{content:"Chess helper";color:#5d59c8;padding:3px 4px;font-size:19px;font-weight:900;display:block}.chess-shell:not(.chess-choice-shell) .chess-tip{background:#fff2bd;border:2px solid #ffe08a;border-radius:19px;padding:17px;box-shadow:0 5px #e9c867}.chess-shell:not(.chess-choice-shell) .chess-tip span{font-size:28px}.chess-shell:not(.chess-choice-shell) .chess-tip strong{color:#684b16;font-size:17px}.chess-shell:not(.chess-choice-shell) .chess-tip p{color:#806b37;font-size:13px;line-height:1.45}.chess-shell:not(.chess-choice-shell) .chess-reset{background:#645bd2;border-radius:16px;min-height:50px;font-size:15px;box-shadow:0 5px #443aa5}.chess-shell:not(.chess-choice-shell) .chess-reset:active{transform:translateY(3px);box-shadow:0 2px #443aa5}.chess-shell:not(.chess-choice-shell) .chess-mode{border-top:2px dashed #dcd9ef;padding:14px 4px 2px}.chess-shell:not(.chess-choice-shell) .chess-mode>span{background:#e5e2ff;border-radius:12px;place-items:center;width:38px;height:38px;font-size:22px;display:grid}.chess-shell:not(.chess-choice-shell) .chess-mode strong{color:#4e5680;font-size:16px}.chess-shell:not(.chess-choice-shell) .chess-mode p{color:#7c86a0;line-height:1.4}.chess-page-sound .sound-toggle:after{content:none}.chess-page-sound .sound-toggle{height:48px;padding:0;border-radius:50%!important;width:48px!important}@media (max-width:900px){.chess-page-sound{z-index:100;top:auto;bottom:24px;right:24px}}.chess-shell:not(.chess-choice-shell) .chess-panel-actions{grid-template-columns:1fr 1fr;align-items:stretch}.chess-shell:not(.chess-choice-shell) .chess-panel-actions .chess-invite-note{grid-column:1/-1}.chess-page-sound{z-index:20;position:fixed;bottom:clamp(12px,2vw,28px);right:clamp(12px,2vw,28px)}.chess-page-sound .sound-toggle{color:#5145aa;cursor:pointer;background:#fff;border:2px solid #d9d1ff;border-radius:50%;place-items:center;width:48px;height:48px;display:grid;box-shadow:0 5px #c2b9ed}.chess-page-sound .sound-toggle.is-on{color:#fff;background:#645bd2;border-color:#645bd2;box-shadow:0 5px #443aa5}.chess-page-sound .sound-toggle:active{transform:translateY(3px);box-shadow:0 2px #443aa5}
.chess-shell .chess-square>span{pointer-events:none;place-items:center;width:100%;height:100%;display:grid;filter:none!important}.chess-shell .chess-square .chess-piece-art{object-fit:contain;filter:drop-shadow(0 3px 2px #17271740);-webkit-user-select:none;user-select:none;width:90%;height:90%;display:block}.chess-shell .captured-tray>span{flex:none;width:20px;height:24px;display:block}.chess-shell .captured-tray .chess-piece-art{object-fit:contain;width:100%;height:100%}.chess-shell .friend-player-avatar{position:relative}.chess-shell .friend-player-avatar>img{object-fit:cover;border-radius:50%;width:100%;height:100%}.chess-shell .friend-online-dot{background:#35c978;border:3px solid #fff;border-radius:50%;width:14px;height:14px;animation:1.35s ease-in-out infinite friend-online-pulse;position:absolute;bottom:-2px;right:-2px;box-shadow:0 1px 4px #1e754955}.chess-shell .friend-online-dot.offline{background:#e05252;animation:none;box-shadow:0 1px 4px #8e252555}@keyframes friend-online-pulse{0%,to{opacity:1;box-shadow:0 1px 4px #1e754955}50%{opacity:.48;box-shadow:0 0 0 5px #35c97838,0 1px 5px #1e754955}}@media (prefers-reduced-motion:reduce){.chess-shell .friend-online-dot{animation:none}}.chess-board-card{position:relative}.chess-panel-actions{border-bottom:1px dashed #d9d3ef;gap:8px;padding-bottom:3px;display:grid}.chess-nav-button,.chess-invite-button{text-align:center;cursor:pointer;border-radius:11px;justify-content:center;align-items:center;min-height:42px;padding:9px 12px;font:900 13px Nunito,sans-serif;display:flex}.chess-nav-button{color:#5145aa;background:#f0edff;border:1px solid #d9d1ff}.chess-nav-button:hover{background:#e5e0ff}.chess-invite-button{color:#fff;background:#ef5b86;border:0;box-shadow:0 3px #c83d68}.chess-invite-button:hover{background:#e74d7b}.chess-invite-note{color:#7f7898;text-align:center;font-size:10px}.chess-game-over{z-index:5;background:#10253bcc;border-radius:3px;place-items:center;animation:.32s ease-out both chess-result-in;display:grid;position:absolute;inset:5px;overflow:hidden}.chess-game-over-loss{background:#152236d9}.chess-game-over-draw{background:#29354bd9}.chess-game-over-win{background:radial-gradient(circle at 50% 45%,#fff4a9e8 0,#ffd34fcf 23%,#6f55d8dd 70%)}.chess-result-card{z-index:3;text-align:center;color:#203957;background:#fffdf4;border:4px solid #fff;border-radius:27px;width:min(390px,84%);padding:25px 25px 22px;animation:.45s ease-out .1s both chess-result-card-in;position:relative;box-shadow:0 18px 50px #071b35aa}.chess-game-over-loss .chess-result-card{border-color:#b8d5ef}.chess-game-over-win .chess-result-card{border-color:#ffd04f}.chess-result-kicker{color:#81630b;letter-spacing:.18em;font-size:12px;font-weight:1000}.chess-game-over-loss .chess-result-kicker{color:#3b6d98}.chess-result-card h2{margin:5px 0 7px;font-size:clamp(30px,4vw,46px);line-height:1}.chess-result-card p{color:#64758c;margin:0 auto 16px;font-size:14px;line-height:1.4}.chess-result-card .chess-reset{background:#6555d8;width:max-content;margin:auto}.chess-result-rocket{z-index:2;filter:drop-shadow(0 8px 4px #5531a755);font-size:clamp(46px,8vw,88px);animation:1.8s ease-in-out infinite chess-rocket-float;position:absolute;top:10%;right:12%;transform:rotate(-16deg)}.chess-result-sparkles{z-index:1;color:#fff7a8;letter-spacing:15px;text-shadow:0 0 16px #fff;font-size:clamp(22px,4vw,42px);animation:1.2s ease-in-out infinite chess-sparkle;position:absolute;top:13%;left:11%}.chess-confetti{z-index:4;pointer-events:none;position:absolute;inset:0;overflow:hidden}.chess-confetti i{--confetti-delay:0s;--confetti-x:0px;--confetti-r:0deg;opacity:0;width:10px;height:18px;animation:chess-confetti-fall 2.4s var(--confetti-delay) ease-out forwards;background:#ff5f8a;border-radius:3px;position:absolute;top:39%;left:50%}.chess-confetti i:nth-child(3n){background:#55c9e8}.chess-confetti i:nth-child(3n+1){background:#ffd54f}.chess-confetti i:nth-child(4n){border-radius:50%;width:7px;height:7px}@keyframes chess-result-in{0%{opacity:0}to{opacity:1}}@keyframes chess-result-card-in{0%{opacity:0;transform:scale(.82)translateY(18px)}to{opacity:1;transform:none}}@keyframes chess-rocket-float{50%{transform:rotate(-8deg)translate(8px,-8px)}}@keyframes chess-sparkle{50%{opacity:.55;transform:scale(1.18)}}@keyframes chess-confetti-fall{0%{opacity:0;transform:translate(-50%,-20px)rotate(0)scale(.5)}12%{opacity:1}to{opacity:0;transform:translate(calc(-50% + var(--confetti-x)),220px) rotate(var(--confetti-r)) scale(1)}}@media (prefers-reduced-motion:reduce){.chess-game-over *{animation:none!important}.chess-game-over{opacity:1}}.chess-shell:not(.chess-choice-shell) .chess-player-rail{grid-template-rows:1fr 1fr;align-self:stretch;gap:0;height:min(100vh - 120px,100%)}.chess-shell:not(.chess-choice-shell) .chess-player{height:250px;min-height:250px;box-shadow:none;text-align:center;background:0 0;border:0;border-radius:0;flex-direction:column;justify-content:center;align-self:center;gap:7px;padding:12px 8px;transition:none;display:flex;transform:none}.chess-shell:not(.chess-choice-shell) .chess-player.is-active{box-shadow:none;border:0;transform:none}.chess-shell:not(.chess-choice-shell) .chess-player .chess-avatar{filter:drop-shadow(0 8px 5px #244a652b);background:0 0;border:0;border-radius:0;width:110px;height:110px;overflow:visible}.chess-shell:not(.chess-choice-shell) .guest-avatar img{object-fit:contain;border-radius:28px}.chess-shell:not(.chess-choice-shell) .chess-player .chess-kidobot{zoom:1;width:100px;height:110px;animation:none}.chess-shell:not(.chess-choice-shell) .chess-player-copy{width:100%}.chess-shell:not(.chess-choice-shell) .chess-player strong{color:#183e60;font-size:21px;line-height:1.2}.chess-shell:not(.chess-choice-shell) .chess-player small{color:#254e69;font-size:11px;line-height:1.5}.chess-shell:not(.chess-choice-shell) .chess-side-label{display:none}.chess-shell:not(.chess-choice-shell) .chess-player-turn{color:#284762;opacity:1;background:#ffffff61;border-radius:12px;justify-content:center;align-items:center;width:150px;height:29px;min-height:29px;margin:0;padding:5px 10px;font-size:11px;line-height:19px;transition:background .2s;display:flex;position:static;transform:none}.chess-shell:not(.chess-choice-shell) .captured-tray{background:0 0;flex-wrap:nowrap;order:5;justify-content:center;width:170px;height:24px;min-height:24px;padding:0;display:flex;overflow:hidden}.chess-shell:not(.chess-choice-shell) .captured-tray span{flex-shrink:1;font-size:16px}.chess-shell:not(.chess-choice-shell) .chess-panel{grid-row:1}.chess-shell:not(.chess-choice-shell) .chess-player:before,.chess-shell:not(.chess-choice-shell) .chess-player:after{content:none!important;display:none!important}.chess-shell:not(.chess-choice-shell) .chess-player-turn{border-radius:14px;width:170px;height:38px;min-height:38px;margin-top:5px;font-size:15px;font-weight:900;display:flex!important;position:static!important}.chess-shell:not(.chess-choice-shell) .chess-player-turn.visible{color:#5d4510;background:#ffd866;box-shadow:0 4px #dba92d}@media (max-width:1100px) and (min-width:721px){.chess-shell:not(.chess-choice-shell)>.chess-layout{grid-template-columns:160px minmax(0,1fr);gap:14px}.chess-shell:not(.chess-choice-shell) .chess-player-rail{grid-area:1/1;height:100%;display:grid}.chess-shell:not(.chess-choice-shell) .chess-board-card{grid-area:1/2}.chess-shell:not(.chess-choice-shell) .chess-panel{grid-area:2/1/auto/-1}.chess-shell:not(.chess-choice-shell) .chess-player{height:220px;min-height:220px}}@media (max-width:720px){.chess-shell:not(.chess-choice-shell) .chess-player-rail{grid-template-rows:1fr;grid-template-columns:1fr 1fr;gap:8px;height:auto}.chess-shell:not(.chess-choice-shell) .chess-player{gap:4px;height:190px;min-height:190px;padding:8px}.chess-shell:not(.chess-choice-shell) .chess-player .chess-avatar{width:80px;height:85px}.chess-shell:not(.chess-choice-shell) .chess-player .chess-kidobot{transform-origin:top;transform:scale(.78)}.chess-shell:not(.chess-choice-shell) .chess-player strong{font-size:16px}.chess-shell:not(.chess-choice-shell) .chess-player small{font-size:9px}.chess-shell:not(.chess-choice-shell) .chess-panel{grid-row:3}}@media (prefers-reduced-motion:reduce){.chess-player *,.chess-player :after{transition:none!important;animation:none!important}}
.chess-shell:not(.chess-choice-shell) .chess-panel .chess-status{display:none!important}.chess-shell:not(.chess-choice-shell) .chess-player:before,.chess-shell:not(.chess-choice-shell) .chess-player:after{content:none!important;display:none!important}.chess-shell:not(.chess-choice-shell) .chess-player-turn{border-radius:14px;width:170px;height:38px;min-height:38px;margin-top:5px;font-size:15px;font-weight:900;display:flex!important;position:static!important}.chess-shell:not(.chess-choice-shell) .chess-player-turn.visible{color:#5d4510;background:#ffd866;box-shadow:0 4px #dba92d}.chess-shell:not(.chess-choice-shell) .guest-avatar{box-shadow:none!important}.chess-shell:not(.chess-choice-shell) .guest-avatar img{border-radius:50%}@media (max-width:720px){.chess-shell:not(.chess-choice-shell){padding:6px 6px 14px}.chess-shell:not(.chess-choice-shell)>.chess-layout,.chess-shell:not(.chess-choice-shell) .chess-player-rail{gap:6px}.chess-shell:not(.chess-choice-shell) .chess-player{gap:3px;height:142px;min-height:142px;padding:6px}.chess-shell:not(.chess-choice-shell) .chess-player .chess-avatar{width:64px;height:68px}.chess-shell:not(.chess-choice-shell) .chess-player .chess-kidobot{transform-origin:top;transform:scale(.64)}.chess-shell:not(.chess-choice-shell) .chess-player strong{font-size:14px}.chess-shell:not(.chess-choice-shell) .chess-player small{font-size:8px}.chess-shell:not(.chess-choice-shell) .chess-player-turn{width:142px;height:32px;min-height:32px;margin-top:2px;font-size:13px}.chess-shell:not(.chess-choice-shell) .chess-board-card{padding:3px}.chess-shell:not(.chess-choice-shell) .chess-panel{gap:8px;padding:12px}.chess-shell:not(.chess-choice-shell) .chess-panel:before{padding:0 2px;font-size:16px}.chess-shell:not(.chess-choice-shell) .chess-tip{border-radius:14px;padding:10px}.chess-shell:not(.chess-choice-shell) .chess-tip span{font-size:22px}.chess-shell:not(.chess-choice-shell) .chess-tip strong{font-size:14px}.chess-shell:not(.chess-choice-shell) .chess-tip p{font-size:11px}.chess-shell:not(.chess-choice-shell) .chess-reset{border-radius:12px;min-height:42px;padding:8px 10px;font-size:13px}.chess-shell:not(.chess-choice-shell) .chess-mode{padding:9px 2px 0}.chess-shell:not(.chess-choice-shell) .chess-mode>span{width:30px;height:30px;font-size:18px}.chess-shell:not(.chess-choice-shell) .chess-mode strong{font-size:14px}.chess-shell:not(.chess-choice-shell) .chess-mode p{font-size:10px}}.chess-shell.edubot-chess-game .chess-panel .chess-status{display:flex!important}@media (max-width:900px){.chess-shell:not(.chess-choice-shell){padding:16px 8px 18px;overflow-x:hidden}.chess-shell:not(.chess-choice-shell)>.chess-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:10px;width:100%;min-height:0;display:grid}.chess-shell:not(.chess-choice-shell) .chess-player-rail{grid-area:1/1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;width:100%;height:auto;display:grid}.chess-shell:not(.chess-choice-shell) .chess-player{width:100%;min-width:0;height:154px;min-height:154px;box-shadow:none;text-align:center;background:0 0;border:0;border-radius:0;justify-content:flex-start;gap:3px;padding:6px;position:relative;overflow:visible;transform:none!important}.chess-shell:not(.chess-choice-shell) .guest-avatar{box-shadow:none!important}.chess-shell:not(.chess-choice-shell) .chess-player .chess-avatar{width:72px;height:72px;margin-inline:auto}.chess-shell:not(.chess-choice-shell) .chess-player .chess-kidobot{transform-origin:50%;transform:translate(-4px,-10px)scale(.8)}.chess-shell:not(.chess-choice-shell) .chess-player strong{max-width:100%;font-size:14px;line-height:1.15}.chess-shell:not(.chess-choice-shell) .chess-player small{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.chess-shell:not(.chess-choice-shell) .chess-player-turn{white-space:nowrap;width:min(142px,100%);max-width:100%;height:34px;min-height:34px;margin:auto auto 0;padding-inline:6px;font-size:12px;position:static!important;transform:none!important}.chess-shell:not(.chess-choice-shell) .chess-board-card{border-radius:16px;grid-area:2/1;width:100%;min-width:0;margin-top:16px;padding:5px;box-shadow:0 10px 22px #22435b26}.chess-shell:not(.chess-choice-shell) .chess-board{width:100%;min-width:0}.chess-shell:not(.chess-choice-shell) .chess-panel{border-radius:0;flex-direction:column;grid-area:3/1;align-items:stretch;gap:8px;width:calc(100% + 16px);min-width:0;margin-left:-8px;padding:12px;display:flex}.chess-shell:not(.chess-choice-shell) .chess-invite-note{display:none}.chess-shell:not(.chess-choice-shell) .chess-panel .chess-tip,.chess-shell:not(.chess-choice-shell) .chess-panel .chess-panel-actions,.chess-shell:not(.chess-choice-shell) .chess-panel>.chess-reset,.chess-shell:not(.chess-choice-shell) .chess-panel .chess-mode{box-sizing:border-box;width:100%;min-width:0}.chess-shell:not(.chess-choice-shell) .chess-panel .chess-tip{align-items:flex-start;display:flex}.chess-shell:not(.chess-choice-shell) .chess-reset{min-width:0;min-height:42px;padding:8px 10px;font-size:13px}}
