.chess-page{width:min(1220px,calc(100% - 32px));margin:2rem auto 4rem;color:#eaf7ff}.chess-hero,.chess-gate,.chess-stage,.chess-panel,.chess-rules,.chess-promo{border:1px solid #265c82;border-radius:24px;background:linear-gradient(140deg,#0b1932,#102a4a);box-shadow:0 18px 55px #0005}.chess-hero,.chess-promo{display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:clamp(25px,4vw,52px);gap:22px}.chess-hero h1{color:#fff;font-size:clamp(2.4rem,5vw,4.5rem);line-height:1.05}.chess-hero img,.chess-promo img{width:100%;max-height:310px}.chess-page a{color:#6de7ff}.chess-gate,.chess-rules{padding:clamp(24px,4vw,45px);margin-top:20px}.chess-button,.chess-actions button,.chess-promotion button{display:inline-block;background:#1c8ed1;border:1px solid #6ae7ff;border-radius:12px;color:white!important;padding:.8rem 1.2rem;font:inherit;font-weight:700;cursor:pointer;text-decoration:none}.chess-arena{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,.7fr);gap:20px;margin-top:20px}.chess-stage,.chess-panel{padding:clamp(16px,3vw,28px)}.chess-players{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:#b4ddf3}.chess-status{min-height:1.5em;color:#e3f8ff}.chess-board{display:grid;grid-template-columns:repeat(8,1fr);aspect-ratio:1;width:100%;max-width:680px;margin:auto;border:6px solid #233f5b;border-radius:9px;overflow:hidden;box-shadow:0 0 28px #40c9ff22}.chess-square{position:relative;border:0;border-radius:0;display:grid;place-items:center;padding:0;font-family:'Segoe UI Symbol','DejaVu Sans',sans-serif;font-size:clamp(24px,5vw,58px);line-height:1;cursor:pointer}.chess-square.light{background:#d8d1be}.chess-square.dark{background:#56809a}.chess-square.white-piece{color:#fff;text-shadow:0 1px 2px #000,0 0 3px #000}.chess-square.black-piece{color:#13273b;text-shadow:0 1px 2px #ffffffa0}.chess-square.selected{box-shadow:inset 0 0 0 5px #ffe16f}.chess-square.legal:after{content:'';position:absolute;width:24%;height:24%;background:#21d5dacc;border-radius:50%}.chess-square.legal.occupied:after{width:80%;height:80%;background:transparent;border:4px solid #f6dd70}.chess-square:focus-visible{outline:4px solid #ffdf72;outline-offset:-4px;z-index:1}.chess-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.chess-actions button:disabled{opacity:.5;cursor:not-allowed}.chess-promotion{margin-top:14px;padding:12px;border:1px solid #66dbf6;border-radius:12px}.chess-promotion[hidden]{display:none}.chess-promotion button{margin:3px}.chess-moves{max-height:280px;overflow:auto;color:#d1edff;columns:2;padding-left:1.4rem}.chess-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.chess-rule-grid article{padding:16px;border:1px solid #294e70;border-radius:16px;background:#0a1d36}.chess-rule-grid h3,.chess-panel h2{color:#fff}.chess-small{font-size:.85rem;color:#b8d0e0}.chess-promo h2{color:white}@media(max-width:760px){.chess-hero,.chess-arena,.chess-promo{grid-template-columns:1fr}.chess-hero img{max-height:200px}.chess-rule-grid{grid-template-columns:1fr 1fr}}@media(max-width:430px){.chess-rule-grid{grid-template-columns:1fr}.chess-square{font-size:clamp(23px,8vw,36px)}}
