/* After Dark Studios v190 - Free Chess Online; black pieces + container-safe tablet sizing */
.free-chess-main-v176{padding-bottom:3rem}
.free-chess-hero-v176{text-align:center;padding-top:clamp(2.25rem,6vw,4.6rem);padding-bottom:1rem}
.free-chess-hero-v176 .kicker{display:inline-block;margin-bottom:.55rem;color:var(--blue2);font-size:.78rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.free-chess-hero-v176 h1{margin:.1rem 0 .7rem;font-size:clamp(2.65rem,7vw,5.2rem);line-height:.96;letter-spacing:-.045em}
.free-chess-hero-v176 .lead{max-width:820px;margin:0 auto;color:var(--soft)}
.free-chess-game-shell-v176{max-width:1080px;margin:0 auto;padding:clamp(1rem,2vw,1.5rem)!important;background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025))!important}
.free-chess-topline-v176{display:flex;align-items:center;justify-content:space-between;gap:.85rem;flex-wrap:wrap;margin-bottom:1rem}
.free-chess-status-v176{min-height:1.7em;color:#fff;font-size:1rem;font-weight:800;letter-spacing:.015em}
.free-chess-badge-v176{display:inline-flex;align-items:center;border:1px solid rgba(var(--accent2-rgb),.28);border-radius:999px;padding:.38rem .65rem;color:var(--blue2);background:rgba(var(--accent-rgb),.08);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.free-chess-board-wrap-v176{display:grid;place-items:center;min-width:0;max-width:100%;box-sizing:border-box;padding:clamp(.5rem,1.5vw,1rem);border:1px solid rgba(var(--accent2-rgb),.16);border-radius:1.25rem;background:radial-gradient(circle at 50% 45%,rgba(var(--accent-rgb),.13),transparent 58%),#030713;box-shadow:inset 0 0 3rem rgba(0,0,0,.32)}
.free-chess-board-v176{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(8,minmax(0,1fr));box-sizing:border-box;width:min(100%,660px);max-width:100%;height:auto;aspect-ratio:1/1;border:1px solid rgba(167,239,255,.44);border-radius:.55rem;overflow:hidden;box-shadow:0 1.15rem 3rem rgba(0,0,0,.48),0 0 2.3rem rgba(var(--accent-rgb),.13);background:#02050a}
.free-chess-board-v176{position:relative;isolation:isolate}
.free-chess-board-v176::after{content:"";position:absolute;left:9%;right:9%;top:15%;bottom:15%;pointer-events:none;z-index:1;background:url('/assets/images/warriorchess/warriorchess_logo.png') center/52% auto no-repeat;opacity:.065;filter:grayscale(1) brightness(1.9) saturate(.25)}
.chess-square-v176{position:relative;display:grid;place-items:center;border:0;border-radius:0;appearance:none;min-width:0;min-height:0;width:100%;height:100%;aspect-ratio:1/1;padding:0;overflow:hidden;cursor:pointer;color:inherit;font:inherit;outline:none}
.chess-square-v176.light{background:linear-gradient(145deg,#163650,#10283d)}
.chess-square-v176.dark{background:linear-gradient(145deg,#08131f,#050b13)}
.chess-square-v176.last{box-shadow:inset 0 0 0 999px rgba(53,175,255,.12)}
.chess-square-v176.selected{box-shadow:inset 0 0 0 3px #65eaff,inset 0 0 22px rgba(73,222,255,.35);z-index:2}
.chess-square-v176.check{box-shadow:inset 0 0 0 3px rgba(255,80,110,.95),inset 0 0 26px rgba(255,45,83,.45);z-index:2}
.chess-square-v176:focus-visible{box-shadow:inset 0 0 0 3px #fff;z-index:3}
.chess-piece-v176{position:relative;z-index:2;display:block;font-family:"Segoe UI Symbol","Noto Sans Symbols 2","DejaVu Sans",serif;font-size:clamp(1.85rem,7.2vw,4.3rem);line-height:1;transform:translateY(-1%);user-select:none;pointer-events:none}
.chess-piece-v176.white{color:#f8fcff;text-shadow:0 2px 2px rgba(0,0,0,.85),0 0 12px rgba(138,234,255,.45)}
.chess-piece-v176.black{color:#101820;-webkit-text-stroke:.8px rgba(225,244,255,.68);text-shadow:0 2px 2px rgba(0,0,0,.98),0 0 8px rgba(138,220,255,.28)}
.chess-target-v176{position:absolute;z-index:3;width:21%;aspect-ratio:1;border-radius:50%;background:#70efff;box-shadow:0 0 12px rgba(89,230,255,.85);pointer-events:none}
.chess-square-v176:has(.chess-piece-v176) .chess-target-v176{width:72%;background:transparent;border:3px solid rgba(112,239,255,.92);box-sizing:border-box}
.chess-file-v176,.chess-rank-v176{position:absolute;z-index:4;color:rgba(255,255,255,.52);font-size:clamp(.48rem,1.2vw,.68rem);font-weight:800;pointer-events:none}
.chess-file-v176{right:.24rem;bottom:.16rem}.chess-rank-v176{left:.22rem;top:.14rem}
.free-chess-controls-v176{display:flex;justify-content:center;gap:.7rem;flex-wrap:wrap;margin-top:1rem}
.free-chess-controls-v176 .button{min-width:9rem;margin:0}
.free-chess-controls-v176 .button:disabled{opacity:.4;cursor:not-allowed;transform:none}
.free-chess-note-v176{text-align:center;color:var(--muted);font-size:.9rem;margin:.85rem auto 0;max-width:760px}
.free-chess-info-grid-v176{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;max-width:1180px;margin:0 auto}
.free-chess-info-grid-v176 .card{height:100%}.free-chess-info-grid-v176 h2{margin:.2rem 0 .65rem;font-size:clamp(1.3rem,2.4vw,2rem)}.free-chess-info-grid-v176 p{color:var(--soft);margin-bottom:0}
.free-chess-faq-v176{max-width:980px;margin:0 auto}.free-chess-faq-v176 details{border-top:1px solid var(--line);padding:.85rem 0}.free-chess-faq-v176 details:first-of-type{border-top:0}.free-chess-faq-v176 summary{cursor:pointer;font-weight:850;color:#fff}.free-chess-faq-v176 details p{color:var(--soft);margin:.55rem 0 0}
.free-chess-warrior-v176{position:relative;overflow:hidden;max-width:1180px;margin:0 auto;padding:clamp(1.2rem,3vw,2rem)!important;background:linear-gradient(90deg,rgba(1,6,16,.94),rgba(2,9,22,.82)),url('/assets/images/warriorchess/warriorchess_banner.jpg') center/cover!important}
.free-chess-warrior-v176:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 35%,rgba(var(--accent-rgb),.18),transparent 40%);pointer-events:none}
.free-chess-warrior-copy-v176{position:relative;z-index:2;max-width:700px}.free-chess-warrior-v176 h2{font-size:clamp(1.8rem,4vw,3.2rem);margin:.15rem 0 .55rem}.free-chess-warrior-v176 p{color:#d8e7f3}.free-chess-warrior-v176 .button{margin-top:.55rem}
.free-chess-cta-v176{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;background:linear-gradient(135deg,rgba(var(--accent-rgb),.13),rgba(var(--violet-rgb),.08))!important}.free-chess-cta-v176 h2{margin:.12rem 0 .25rem;font-size:clamp(1.45rem,3vw,2.3rem)}.free-chess-cta-v176 p{margin:0;color:var(--soft);max-width:760px}.free-chess-cta-v176 .button{margin:0}
/* Hub card */
.play-grid-four-v176{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.chess-hub-media-v176{background:radial-gradient(circle at 50% 40%,rgba(47,180,255,.18),transparent 58%),linear-gradient(145deg,#07111f,#02050a)!important}
.chess-hub-art-v176{position:absolute;inset:0;display:grid;place-items:center;padding:7%}
.chess-hub-board-v176{width:min(54%,15rem);aspect-ratio:1;display:grid;grid-template-columns:repeat(4,1fr);transform:rotate(-5deg);border:1px solid rgba(111,235,255,.5);box-shadow:0 1rem 2.4rem rgba(0,0,0,.5),0 0 2rem rgba(54,193,255,.16)}
.chess-hub-board-v176 span{display:grid;place-items:center;font-family:"Segoe UI Symbol","DejaVu Sans",serif;font-size:clamp(1.2rem,3vw,2.3rem);line-height:1}.chess-hub-board-v176 span:nth-child(odd){background:#12324b}.chess-hub-board-v176 span:nth-child(even){background:#07101b}.chess-hub-board-v176 span:nth-child(-n+4){color:#101820;-webkit-text-stroke:.65px rgba(225,244,255,.66);text-shadow:0 0 8px rgba(138,220,255,.24)}.chess-hub-board-v176 span:nth-last-child(-n+4){color:#fff;text-shadow:0 0 10px rgba(97,226,255,.4)}
.chess-hub-title-v176{position:absolute;left:1rem;right:1rem;bottom:.72rem;text-align:center;color:#fff;font-weight:900;font-size:clamp(1.08rem,2.4vw,1.5rem);letter-spacing:.04em;text-shadow:0 2px 13px rgba(0,0,0,.9)}
@media(max-width:860px){.play-grid-four-v176{grid-template-columns:1fr!important}.free-chess-info-grid-v176{grid-template-columns:1fr}.free-chess-cta-v176{align-items:stretch}.free-chess-cta-v176 .button{width:100%;text-align:center}}
@media(max-width:580px){.free-chess-game-shell-v176{padding:.7rem!important}.free-chess-board-wrap-v176{padding:.35rem}.free-chess-board-v176{width:min(100%,660px);height:auto;aspect-ratio:1/1}.free-chess-controls-v176{display:grid;grid-template-columns:1fr 1fr}.free-chess-controls-v176 .button{min-width:0;width:100%}}

/* v190: keep the board inside the card on iPad/tablet portrait layouts. */
@media(orientation:portrait) and (min-width:581px) and (max-width:1024px){.free-chess-game-shell-v176{padding:.8rem!important}.free-chess-board-wrap-v176{padding:.4rem}.free-chess-board-v176{width:min(100%,660px);max-width:100%;height:auto;aspect-ratio:1/1}}

/* v184: end-of-game splash, aligned with Spider/Mahjong modal language. */
.free-chess-result-v184{position:fixed;inset:0;z-index:12920;display:grid;place-items:center;padding:1rem;background:radial-gradient(circle at 50% 42%,rgba(29,140,255,.16),transparent 34%),rgba(1,5,13,.89);backdrop-filter:blur(10px)}
.free-chess-result-v184[hidden]{display:none}
.free-chess-result-card-v184{width:min(560px,94vw);padding:clamp(1.25rem,4vw,2rem);text-align:center;border:1px solid rgba(110,233,255,.35);border-radius:1.25rem;background:radial-gradient(circle at 50% 0,rgba(29,140,255,.2),transparent 38%),linear-gradient(160deg,#081b32,#030a16);box-shadow:0 30px 100px rgba(0,0,0,.62),0 0 60px rgba(29,140,255,.16)}
.free-chess-result-card-v184>img{display:block;width:min(320px,68vw);max-height:110px;object-fit:contain;margin:0 auto .55rem;filter:drop-shadow(0 0 18px rgba(29,140,255,.22))}
.free-chess-result-kicker-v184{display:inline-block;color:var(--blue2,#6ee9ff);font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.free-chess-result-card-v184 h2{font-size:clamp(2rem,6vw,4rem);line-height:1.02;margin:.5rem 0 .65rem}
.free-chess-result-copy-v184{color:#a8bfd7;margin:.15rem auto 1rem;max-width:31rem}
.free-chess-result-actions-v184{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;margin-top:.9rem}
.free-chess-result-actions-v184 .button{display:block;width:100%;margin:0}
.free-chess-result-actions-v184 .free-chess-result-warrior-v184{grid-column:1/-1}
.free-chess-result-v184.is-loss-v184 .free-chess-result-card-v184{border-color:rgba(255,88,207,.32);box-shadow:0 30px 100px rgba(0,0,0,.62),0 0 60px rgba(255,62,199,.12)}
.free-chess-result-v184.is-draw-v184 .free-chess-result-card-v184{border-color:rgba(255,212,124,.3)}
@media(max-width:900px){.free-chess-board-v176::after{background-size:58% auto;opacity:.068}}
@media(max-width:580px){.free-chess-board-v176::after{left:5%;right:5%;top:13%;bottom:13%;background-size:66% auto;opacity:.062}.free-chess-result-actions-v184{grid-template-columns:1fr}.free-chess-result-actions-v184 .free-chess-result-warrior-v184{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.chess-square-v176,.chess-piece-v176{transition:none!important}}

/* v178 Warrior Chess branded hero */
.free-chess-branded-hero-v178{position:relative;overflow:hidden;max-width:1180px;margin:1.25rem auto 0;padding:clamp(2rem,5vw,4rem) clamp(1rem,4vw,3rem)!important;border:1px solid rgba(var(--accent2-rgb),.16);border-radius:1.35rem;background:linear-gradient(180deg,rgba(2,7,16,.42),rgba(2,7,16,.9)),linear-gradient(90deg,rgba(0,0,0,.28),rgba(0,0,0,.05)),url('/assets/images/warriorchess/warriorchess_shot10.jpg') center 42%/cover no-repeat;box-shadow:0 1.2rem 3.4rem rgba(0,0,0,.32)}
.free-chess-branded-hero-v178:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 30%,rgba(var(--accent-rgb),.12),transparent 46%);pointer-events:none}
.free-chess-branded-hero-v178>*{position:relative;z-index:1}
.free-chess-hero-logo-v178{display:block;width:min(72%,34rem);height:auto;max-height:12rem;object-fit:contain;margin:0 auto 1rem;filter:drop-shadow(0 .7rem 1.4rem rgba(0,0,0,.6))}
@media(max-width:580px){.free-chess-branded-hero-v178{margin-top:.65rem;border-radius:1rem}.free-chess-hero-logo-v178{width:min(86%,27rem)}}


/* v188: compact Chess page sections — remove inherited large section bottom padding. */
.free-chess-main-v176 > .section.tight{padding-top:0!important;padding-bottom:0!important}
.free-chess-main-v176 > .free-chess-branded-hero-v178 + .section.tight{margin-top:1rem}
.free-chess-main-v176 > .section.tight + .section.tight{margin-top:1rem}
.free-chess-main-v176 > .section.tight .game-activity-v139{margin-top:.55rem;margin-bottom:0}
@media(max-width:580px){.free-chess-main-v176 > .free-chess-branded-hero-v178 + .section.tight,.free-chess-main-v176 > .section.tight + .section.tight{margin-top:.7rem}}


/* v189: let the player see the final checkmate/stalemate position before the result panel. */
.free-chess-board-wrap-v176{position:relative}
.free-chess-board-wrap-v176.is-end-flourish-v189::after{content:"";position:absolute;inset:clamp(.25rem,1vw,.7rem);z-index:8;pointer-events:none;border-radius:.8rem;opacity:0;border:1px solid color-mix(in srgb,var(--chess-finish-a,#6ee9ff) 64%,transparent);box-shadow:inset 0 0 44px color-mix(in srgb,var(--chess-finish-a,#6ee9ff) 20%,transparent),0 0 44px color-mix(in srgb,var(--chess-finish-b,#1d8cff) 24%,transparent);animation:chessFinishFrameV189 2.45s cubic-bezier(.15,.75,.18,1) forwards}
.free-chess-board-wrap-v176.is-win-v189{--chess-finish-a:#8fffd3;--chess-finish-b:#48c7ff}
.free-chess-board-wrap-v176.is-loss-v189{--chess-finish-a:#ff78d8;--chess-finish-b:#ff496e}
.free-chess-board-wrap-v176.is-draw-v189{--chess-finish-a:#ffd77a;--chess-finish-b:#8ccaff}
.free-chess-board-v176.is-end-v189{animation:chessFinishBoardV189 2.55s cubic-bezier(.16,.78,.18,1) both}
.free-chess-board-v176.is-win-v189{--chess-board-flare:rgba(90,235,255,.42)}
.free-chess-board-v176.is-loss-v189{--chess-board-flare:rgba(255,72,158,.36)}
.free-chess-board-v176.is-draw-v189{--chess-board-flare:rgba(255,207,111,.30)}
.free-chess-board-v176.is-end-v189 .chess-square-v176.check{animation:chessMateKingV189 1.12s ease-in-out 2}
.free-chess-board-v176.is-end-v189 .chess-square-v176.last{animation:chessMateLastMoveV189 1.8s ease-out both}
.free-chess-flourish-v189{position:fixed;inset:0;z-index:12910;overflow:hidden;pointer-events:none;contain:layout style paint;--chess-flourish-a:#8fffd3;--chess-flourish-b:#48c7ff}
.free-chess-flourish-v189.is-loss-v189{--chess-flourish-a:#ff78d8;--chess-flourish-b:#ff496e}
.free-chess-flourish-v189.is-draw-v189{--chess-flourish-a:#ffd77a;--chess-flourish-b:#8ccaff}
.free-chess-flourish-particle-v189{position:absolute;display:grid;place-items:center;width:1.25rem;height:1.25rem;color:var(--chess-flourish-a);font-size:clamp(.68rem,1.5vw,1.12rem);font-weight:900;text-shadow:0 0 12px var(--chess-flourish-a),0 0 28px color-mix(in srgb,var(--chess-flourish-b) 70%,transparent);opacity:0;will-change:transform,opacity,filter}
.free-chess-result-card-v184{will-change:transform,opacity,filter}
@keyframes chessFinishFrameV189{0%{opacity:0;transform:scale(.985)}18%{opacity:.9}55%{opacity:.52;transform:scale(1.012)}100%{opacity:0;transform:scale(1.035)}}
@keyframes chessFinishBoardV189{0%{filter:none;box-shadow:0 1.15rem 3rem rgba(0,0,0,.48),0 0 2.3rem rgba(var(--accent-rgb),.13)}25%{filter:brightness(1.12) saturate(1.08);box-shadow:0 1.15rem 3rem rgba(0,0,0,.48),0 0 3.4rem var(--chess-board-flare)}62%{filter:brightness(1.035) saturate(1.04);box-shadow:0 1.15rem 3rem rgba(0,0,0,.48),0 0 2.7rem var(--chess-board-flare)}100%{filter:none;box-shadow:0 1.15rem 3rem rgba(0,0,0,.48),0 0 2.3rem rgba(var(--accent-rgb),.13)}}
@keyframes chessMateKingV189{0%,100%{filter:brightness(1);transform:none}50%{filter:brightness(1.65);transform:scale(1.055);box-shadow:inset 0 0 0 3px rgba(255,95,125,.98),inset 0 0 40px rgba(255,48,90,.62)}}
@keyframes chessMateLastMoveV189{0%{filter:brightness(1)}35%{filter:brightness(1.34)}100%{filter:brightness(1)}}
@media(prefers-reduced-motion:reduce){.free-chess-board-wrap-v176.is-end-flourish-v189::after,.free-chess-board-v176.is-end-v189,.free-chess-board-v176.is-end-v189 .chess-square-v176.check,.free-chess-board-v176.is-end-v189 .chess-square-v176.last{animation:none!important}.free-chess-board-wrap-v176.is-end-flourish-v189::after{opacity:.45}}


/* v191 mobile/readability hotfix: stronger side contrast and a stationary live board card. */
.free-chess-game-shell-v176.card{transition:border-color .18s ease,box-shadow .18s ease!important;transform:none!important}
.free-chess-game-shell-v176.card:hover,.free-chess-game-shell-v176.card:focus-within,.free-chess-game-shell-v176.card:active{transform:none!important}
.chess-piece-v176.white{color:#fffdf2;-webkit-text-stroke:1px rgba(2,10,18,.96);text-shadow:0 2px 2px rgba(0,0,0,.95),0 0 10px rgba(255,255,255,.34)}
.chess-piece-v176.black{color:#071018;-webkit-text-stroke:1.25px rgba(117,231,255,.92);text-shadow:0 2px 2px rgba(0,0,0,1),0 0 10px rgba(48,198,255,.52)}
@media(max-width:580px){.chess-piece-v176.white{-webkit-text-stroke:.85px rgba(2,10,18,.98)}.chess-piece-v176.black{-webkit-text-stroke:1.15px rgba(117,231,255,.96)}}


/* v192: short Android landscape screens (e.g. Samsung A17). Constrain the
   square board by available viewport height as well as width. */
@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){
  .free-chess-game-shell-v176{padding:.35rem!important;max-width:100%!important}
  .free-chess-topline-v176{margin-bottom:.25rem!important;gap:.35rem!important}
  .free-chess-board-wrap-v176{width:100%;max-width:100%;padding:.22rem!important}
  .free-chess-board-v176{width:min(100%,calc(100vh - 9rem),660px)!important;max-width:100%!important;height:auto!important;aspect-ratio:1/1}
  .free-chess-controls-v176{margin-top:.3rem!important;gap:.3rem!important}
  .free-chess-controls-v176 .button{min-height:36px!important;padding:.45rem .7rem!important}
  .free-chess-note-v176{margin:.25rem 0 0!important;font-size:.72rem!important}
}
@supports(height:100svh){
  @media(orientation:landscape) and (max-height:600px) and (pointer:coarse){
    .free-chess-board-v176{width:min(100%,calc(100svh - 9rem),660px)!important}
  }
}

/* v193: game-first layout. The board now appears before the large branded hero so
   players who chose Chess can start immediately; all existing copy remains below. */
.free-chess-main-v176{display:flex;flex-direction:column}
.free-chess-main-v176>section{order:4}
.free-chess-main-v176>#play{order:1;margin-top:clamp(.55rem,1.5vw,.9rem)!important}
.free-chess-main-v176>.free-chess-hero-v176{order:2}

/* v194: compact title-first layout matching the other free games. Keep the existing
   wording, but reduce the branded header to a small identity band and put the board
   immediately below it. */
.free-chess-main-v176{display:flex;flex-direction:column}
.free-chess-main-v176>section{order:4}
.free-chess-main-v176>.free-chess-hero-v176{order:1;margin:.35rem auto 0!important;padding:clamp(.55rem,1.35vw,.9rem) clamp(.75rem,3vw,2rem)!important;min-height:0!important;max-width:1180px!important;width:calc(100% - clamp(1rem,4vw,2.4rem))!important}
.free-chess-main-v176>#play{order:2;margin-top:.35rem!important}
.free-chess-branded-hero-v178{background-position:center 42%!important;border-radius:.9rem!important}.free-chess-branded-hero-v178:before{content:'';position:absolute;inset:0;background:rgba(2,7,16,.45);pointer-events:none}.free-chess-hero-v176>*{position:relative;z-index:1}
.free-chess-hero-logo-v178{width:min(190px,34vw)!important;max-height:56px!important;margin:0 auto .12rem!important;object-fit:contain!important}.free-chess-hero-v176 .kicker{font-size:.64rem!important;letter-spacing:.11em!important;margin-bottom:.1rem!important}.free-chess-hero-v176 h1{margin:.05rem 0 .18rem!important;font-size:clamp(1.5rem,3vw,2.35rem)!important;line-height:1!important}.free-chess-hero-v176 .lead{font-size:clamp(.76rem,1.4vw,.94rem)!important;line-height:1.28!important;max-width:760px!important}
.free-chess-game-shell-v176{padding:clamp(.55rem,1.25vw,.9rem)!important}.free-chess-topline-v176{margin-bottom:.4rem!important;gap:.4rem!important}.free-chess-status-v176{min-height:1.2em!important;font-size:.9rem!important}.free-chess-badge-v176{padding:.28rem .5rem!important;font-size:.66rem!important}.free-chess-board-wrap-v176{padding:clamp(.3rem,.8vw,.55rem)!important}.free-chess-controls-v176{margin-top:.4rem!important;gap:.35rem!important}.free-chess-controls-v176 .button{min-height:36px!important;padding:.42rem .68rem!important}.free-chess-note-v176{margin:.28rem 0 0!important;font-size:.75rem!important}
@media(max-width:620px){.free-chess-main-v176>.free-chess-hero-v176{padding:.42rem .6rem!important}.free-chess-hero-logo-v178{width:min(145px,40vw)!important;max-height:42px!important}.free-chess-hero-v176 h1{font-size:clamp(1.25rem,5.8vw,1.65rem)!important}.free-chess-hero-v176 .lead{font-size:.73rem!important}.free-chess-main-v176>#play{margin-top:.25rem!important}}



/* v195: compact title and controls so the board remains the focus, matching the other games. */
.free-chess-main-v176>.free-chess-hero-v176{margin:.18rem auto 0!important;padding:.34rem clamp(.6rem,2vw,1.2rem)!important;text-align:center!important}.free-chess-hero-logo-v178{width:min(130px,26vw)!important;height:auto!important;max-height:44px!important;margin:0 auto .06rem!important;object-fit:contain!important}.free-chess-hero-v176 .kicker{font-size:.56rem!important;line-height:1!important}.free-chess-hero-v176 h1{margin:.04rem 0 .1rem!important;font-size:clamp(1.35rem,2.5vw,1.9rem)!important;line-height:1!important}.free-chess-hero-v176 .lead{margin:.06rem auto!important;font-size:.74rem!important;line-height:1.18!important;max-width:740px!important}.free-chess-main-v176>#play{margin-top:.16rem!important}.free-chess-game-shell-v176{padding:.48rem!important}.free-chess-topline-v176{display:flex!important;align-items:center!important;justify-content:center!important;gap:.42rem!important;margin-bottom:.22rem!important}.free-chess-status-v176{min-height:0!important;font-size:.76rem!important}.free-chess-badge-v176{padding:.18rem .4rem!important;font-size:.58rem!important;border-radius:999px!important}.free-chess-board-wrap-v176{padding:.24rem!important}.free-chess-controls-v176{display:flex!important;align-items:center!important;justify-content:center!important;gap:.3rem!important;margin-top:.24rem!important}.free-chess-controls-v176 .button{min-height:31px!important;padding:.32rem .62rem!important;font-size:.72rem!important}.free-chess-note-v176{margin:.12rem 0 0!important;font-size:.66rem!important;text-align:center!important}.game-activity-v139{margin-top:.3rem!important}.game-storage-notice-v130{margin-top:.28rem!important;padding:.42rem .55rem!important;font-size:.66rem!important;line-height:1.25!important}
@media(max-width:620px){.free-chess-main-v176>.free-chess-hero-v176{padding:.28rem .5rem!important}.free-chess-hero-logo-v178{width:min(110px,32vw)!important;height:auto!important;max-height:36px!important}.free-chess-hero-v176 h1{font-size:1.28rem!important}.free-chess-hero-v176 .lead{font-size:.68rem!important}}

/* v196: standardised game-page chrome. Match the other free games: centred compact
   identity, stable board, and one compact primary control row. */
.free-chess-main-v176>.free-chess-hero-v176{display:block!important;text-align:center!important;margin-left:auto!important;margin-right:auto!important}.free-chess-main-v176>.free-chess-hero-v176>*{margin-left:auto!important;margin-right:auto!important;text-align:center!important}.free-chess-topline-v176{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:.28rem!important;text-align:center!important}.free-chess-controls-v176{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:.22rem!important;width:100%!important;margin:.2rem auto 0!important}.free-chess-controls-v176 .button{min-width:0!important;min-height:30px!important;margin:0!important;padding:.28rem .5rem!important;font-size:.68rem!important;white-space:nowrap!important}.free-chess-note-v176{text-align:center!important;margin:.08rem 0 0!important}
@media(max-width:430px){.free-chess-controls-v176{flex-wrap:wrap!important}.free-chess-controls-v176 .button{flex:1 1 calc(33.333% - .22rem)!important}}



/* v197: balance the Chess page against the other games. The branded header is a
   compact identity strip, all game logos share one footprint, and the board is the
   dominant element on desktop/tablet. */
.free-chess-main-v176>.free-chess-hero-v176{max-width:900px!important;width:calc(100% - clamp(.8rem,2vw,1.4rem))!important;margin:.12rem auto 0!important;padding:.22rem clamp(.55rem,1.5vw,.9rem)!important;border-radius:.72rem!important;min-height:0!important}
.free-chess-branded-hero-v178{background:linear-gradient(180deg,rgba(2,7,16,.60),rgba(2,7,16,.90)),linear-gradient(90deg,rgba(0,0,0,.24),rgba(0,0,0,.08)),url('/assets/images/warriorchess/warriorchess_shot10.jpg') center 42%/cover no-repeat!important;box-shadow:0 .55rem 1.6rem rgba(0,0,0,.24)!important}
.free-chess-hero-logo-v178{display:block!important;width:160px!important;height:54px!important;max-width:42vw!important;max-height:54px!important;object-fit:contain!important;margin:0 auto .04rem!important}
.free-chess-hero-v176 .kicker{margin-bottom:.02rem!important}.free-chess-hero-v176 h1{margin:.02rem 0 .07rem!important}.free-chess-hero-v176 .lead{margin:.02rem auto!important;line-height:1.12!important}
.free-chess-main-v176>#play{margin-top:.12rem!important}.free-chess-game-shell-v176{max-width:920px!important}
.free-chess-board-v176{width:min(100%,760px)!important}
@media(max-width:900px){.free-chess-board-v176{width:min(100%,720px)!important}}
@media(max-width:620px){.free-chess-main-v176>.free-chess-hero-v176{padding:.18rem .45rem!important}.free-chess-hero-logo-v178{width:140px!important;height:44px!important;max-width:46vw!important;max-height:44px!important}.free-chess-hero-v176 .lead{line-height:1.08!important}}
@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){.free-chess-board-v176{width:min(100%,calc(100vh - 6.25rem),720px)!important}}
@supports(height:100svh){@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){.free-chess-board-v176{width:min(100%,calc(100svh - 6.25rem),720px)!important}}}

/* v198: give the Chess play section an explicit width. Because main is a flex column,
   the inherited auto side margins could otherwise make #play shrink to its content. */
.free-chess-main-v176>#play{width:min(100%,960px)!important;max-width:960px!important;margin-left:auto!important;margin-right:auto!important;padding-left:clamp(.4rem,1vw,.7rem)!important;padding-right:clamp(.4rem,1vw,.7rem)!important}
.free-chess-game-shell-v176{width:100%!important;max-width:920px!important;margin-left:auto!important;margin-right:auto!important}
.free-chess-board-wrap-v176{width:100%!important}
.free-chess-board-v176{width:min(100%,760px)!important}
@media(max-width:900px){.free-chess-board-v176{width:min(100%,720px)!important}}
@media(max-width:620px){.free-chess-main-v176>#play{padding-left:.35rem!important;padding-right:.35rem!important}}
@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){.free-chess-board-v176{width:min(100%,calc(100vh - 6.25rem),720px)!important}}
@supports(height:100svh){@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){.free-chess-board-v176{width:min(100%,calc(100svh - 6.25rem),720px)!important}}}

/* v199/v10: rebalance Warrior Chess after the v9 enlargement. Keep the board
   prominent but not oversized, keep the photographic identity strip compact,
   move game actions above the board, and match the shared readable logo size. */
.free-chess-main-v176>.free-chess-hero-v176{max-width:720px!important;width:calc(100% - clamp(.8rem,2vw,1.4rem))!important;margin:.12rem auto 0!important;padding:.16rem clamp(.45rem,1.2vw,.72rem)!important;min-height:0!important}
.free-chess-branded-hero-v178{background-position:center 44%!important;box-shadow:0 .4rem 1.25rem rgba(0,0,0,.22)!important}
.free-chess-hero-logo-v178{display:block!important;width:260px!important;height:96px!important;max-width:72vw!important;max-height:96px!important;object-fit:contain!important;margin:.02rem auto .06rem!important}
.free-chess-main-v176>#play{width:min(100%,860px)!important;max-width:860px!important}
.free-chess-game-shell-v176{display:flex!important;flex-direction:column!important;width:100%!important;max-width:820px!important;margin-left:auto!important;margin-right:auto!important}
.free-chess-controls-v176{order:1!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:nowrap!important;gap:.3rem!important;width:100%!important;margin:0 auto .18rem!important}
.free-chess-topline-v176{order:2!important;width:100%!important;justify-content:center!important;text-align:center!important;margin:.02rem 0 .08rem!important}
.free-chess-note-v176{order:3!important;display:block!important;width:100%!important;max-width:none!important;text-align:center!important;margin:.02rem auto .14rem!important}
.free-chess-board-wrap-v176{order:4!important;width:100%!important}
.free-chess-board-v176{width:min(100%,680px)!important;height:auto!important;aspect-ratio:1/1!important}
@media(max-width:900px){.free-chess-board-v176{width:min(100%,640px)!important}}
@media(max-width:620px){.free-chess-hero-logo-v178{width:220px!important;height:78px!important;max-width:72vw!important;max-height:78px!important}.free-chess-main-v176>#play{padding-left:.35rem!important;padding-right:.35rem!important}.free-chess-board-v176{width:100%!important}.free-chess-controls-v176{flex-wrap:wrap!important}}
@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){.free-chess-board-v176{width:min(100%,calc(100vh - 8rem),620px)!important}}
@supports(height:100svh){@media(orientation:landscape) and (max-height:600px) and (pointer:coarse){.free-chess-board-v176{width:min(100%,calc(100svh - 8rem),620px)!important}}}
