.chess-play-rail{position:fixed;right:max(20px,calc((100vw - 1440px)/2));top:126px;width:240px;padding:22px;background:#fff;border:2px solid #e1e6ec;border-radius:24px;box-shadow:0 7px 0 #0d1f3c0c;z-index:5;text-align:center}
.chess-play-rail h2{font-size:24px;margin:4px 0 18px}.chess-play-mascot{width:112px;height:112px;object-fit:contain}.chess-play-actions{display:grid;gap:12px}.chess-play-actions button{width:100%;min-height:56px;font-size:17px;padding:10px}.chess-play-rail p{font-size:14px;line-height:1.5;margin:18px 0 0;color:#43546b}
@media(min-width:1100px){body>main{max-width:1100px;padding-right:285px}body>footer{padding-right:285px}.lesson{grid-template-columns:minmax(240px,1.1fr) minmax(180px,1fr);gap:22px}}
@media(min-width:1440px){body>main{max-width:1440px;padding-right:300px}.chess-play-rail{width:252px}.lesson{grid-template-columns:minmax(300px,1.2fr) minmax(240px,1fr);gap:28px}}
@media(max-width:1099px){.chess-play-rail{position:sticky;top:0;width:auto;margin:0;padding:10px 12px;border:0;border-bottom:2px solid #e1e6ec;border-radius:0;box-shadow:none;text-align:left;display:flex;align-items:center;gap:12px}.chess-play-rail .chess-play-mascot{width:48px;height:48px}.chess-play-rail h2,.chess-play-rail p{display:none}.chess-play-actions{display:flex;flex:1;gap:8px}.chess-play-actions button{width:auto;flex:1;min-height:48px;font-size:15px;padding:8px}.chess-play-rail{order:0}body{display:flex;flex-direction:column}body>header{order:-2}body>.chess-play-rail{order:-1}body>main{width:100%}}
@media(max-width:400px){.chess-play-rail .chess-play-mascot{display:none}.chess-play-actions button{font-size:14px}}
