/* Original AnnaSchach artwork: one asset per board, proportions preserved. */
.textured-board{background-size:100% 100%;background-position:center;isolation:isolate}.textured-board>.square,.textured-board>.preview-cell,.textured-board>.square.dark,.textured-board>.preview-cell.dark{background:transparent}.textured-board>.last{box-shadow:inset 0 0 0 100px #f7d26744}.textured-board>.selected{box-shadow:inset 0 0 0 100px #a1dafa77}.textured-board>.check{box-shadow:inset 0 0 0 100px #dc294f77}.textured-board>.legal:after{z-index:3}.textured-board .coordinate{color:white;text-shadow:0 1px 3px #000,0 0 3px #000;font-size:11px}.square>img:not(.royal),.preview-cell>img:not(.royal){position:absolute;width:92%;height:94%;inset:3% 4%;object-fit:contain;filter:drop-shadow(0 2px 1px #0008)}.square>img[data-piece=p]:not(.royal),.preview-cell>img[data-piece=p]:not(.royal){height:78%;top:17%}.world-card{isolation:isolate;background:var(--card-bg)}.world-card:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0b1629ee,#0b162922),var(--card-art) center/cover;opacity:.85}.world-card img{height:175px;width:105px;object-fit:contain;object-position:bottom;filter:drop-shadow(0 6px 8px #000);opacity:1}.world-card small,.world-card strong,.world-card span{position:relative;z-index:1}.arena-scene{isolation:isolate;position:relative}.arena-scene:before{content:'';position:absolute;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(135deg,#0b142be8,#0b142bd4),var(--world-art) center/cover;opacity:.55;border-radius:inherit}.board-frame{border:2px solid var(--board-edge);box-shadow:0 16px 45px #0006,inset 0 0 0 2px #0006}.textured-board .square.check{background:#ff366055}.preview-board{box-shadow:0 14px 30px #0006;border:5px solid var(--board-edge)}[data-world=volcanic] .board-frame{box-shadow:0 0 26px #e4683028,0 16px 45px #0008}[data-world=druid] .board-frame{border-radius:12px;border-color:#607d43}[data-world=cyberpunk] .board-frame{border-color:#49ced6;box-shadow:0 0 18px #36e6de22}[data-world=ice] .board-frame{border-color:#bee6f6;box-shadow:0 0 23px #a4e4ff33}.motion-piece img:not(.royal){width:92%;height:94%;inset:3% 4%;object-fit:contain}
/* Puzzle Worlds: a journey with a chess board at its centre. */
.quest-masthead{display:grid;grid-template-columns:1.5fr .65fr;align-items:center;background:radial-gradient(ellipse at 80% 50%,#27634a66,transparent 65%),linear-gradient(120deg,#112c2c,#101927);border:1px solid #456452;border-radius:16px;padding:38px 48px;overflow:hidden;position:relative}.quest-masthead h2,.tournament-banner h2{font:42px/1.2 Georgia,serif;max-width:660px;margin:16px 0}.quest-masthead p{max-width:520px;font-size:16px;line-height:1.7}.quest-masthead .primary{width:auto;min-width:260px}.quest-figure{height:290px;display:flex;align-items:center;justify-content:center}.quest-figure img{height:100%;max-width:100%;object-fit:contain;filter:drop-shadow(0 10px 24px #79ae4644)}.progress-strip{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid #314057;border-radius:12px;background:#111e2ecc;margin:20px 0 38px;padding:20px;gap:15px}.progress-strip>div{display:grid;gap:7px;border-right:1px solid #314057;padding-left:15px}.progress-strip>div:last-child{border:0}.progress-strip strong{font:30px Georgia,serif;color:#e9c990}.progress-strip span{font-size:13px;color:var(--muted)}.journey-map{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.journey-world{display:flex;flex-direction:column;gap:18px;background-size:cover;background-position:center;text-align:left;border:1px solid #586b4e;padding:25px 22px;border-radius:12px;min-height:230px;color:#edf0e5}.journey-world:disabled{filter:saturate(.45);opacity:.65}.journey-world small{font-size:11px;letter-spacing:1.3px;color:#c4d1b2}.journey-world strong{font:27px/1.2 Georgia,serif}.journey-world span{font-size:14px;margin-top:auto}.journey-world progress{width:100%;height:5px;accent-color:#c7d08c}.puzzle-modes{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:24px 0}.puzzle-modes button{display:grid;gap:12px;text-align:left;border:1px solid #344966;background:linear-gradient(120deg,#1e3046,#132036);border-radius:12px;padding:24px;color:#e4e9ef}.puzzle-modes strong{font:25px Georgia,serif;color:#e8cea0}.puzzle-modes span{font-size:14px;color:#a7b8cf}.quest-columns{display:grid;grid-template-columns:1fr 1fr;gap:30px}.quest-columns .section-heading{margin-top:16px}.quest-columns .section-heading h2{font-size:25px}.quest-columns .section-heading span{font-size:12px;max-width:160px;text-align:right}.daily-quest{display:grid;grid-template-columns:1fr auto;gap:9px;padding:21px 0;border-bottom:1px solid #31415a;align-items:center}.daily-quest strong{font-size:16px;font-weight:500}.daily-quest small{grid-row:2;font-size:13px;color:#a7bbca}.daily-quest button{grid-row:1/3;grid-column:2}.reward-card{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:13px;padding:18px;border:1px solid #3d4a5d;background:#152233;border-radius:10px;margin-bottom:12px}.reward-icon{font-size:31px;color:#e3be75}.reward-card>div{display:grid;gap:8px}.reward-card strong{font-size:15px}.reward-card small{font-size:12px;line-height:1.55;color:var(--muted)}.reward-card button{font-size:12px;padding:9px 12px;min-width:70px}.reward-card button:disabled{opacity:.5}.puzzle-feedback{min-height:65px;line-height:1.6;color:#dcead3;font-size:15px}.session-stats{padding:14px 0;font-size:18px;color:#e8c887}.puzzle-active .workspace{grid-template-columns:250px minmax(330px,650px) 270px;gap:22px}.puzzle-active .left-panel{display:block!important}.puzzle-active .right-panel{display:block}.puzzle-active .game-actions,.puzzle-active .export-actions,.puzzle-active #rematch,.puzzle-active #finishedReplay,.puzzle-active .style-peek,.puzzle-active #worldPuzzleControls[data-mode=mistakes] select,.puzzle-active #worldPuzzleControls[data-mode=mistakes] label,.puzzle-active #focusMode{display:none!important}.puzzle-active .board-tools #undo{display:none}.puzzle-active .player-strip{display:none}.puzzle-active .notation #moves{height:190px}.puzzle-active #worldPuzzleControls select{font-size:14px;padding:10px}.puzzle-active .board-column{padding:0}.puzzle-active .left-panel h2{font-size:24px}.puzzle-active #worldPuzzleControls>a:first-child{display:block;padding:0 0 22px}
/* Analysis shares the live board, history, import and navigation. */
body[data-page=analysis] .workspace{grid-template-columns:minmax(340px,min(72svh,720px)) minmax(280px,370px);gap:28px;justify-content:center}body[data-page=analysis] .workspace>.left-panel{display:none}body[data-page=analysis] .workspace>.right-panel{display:block}body[data-page=analysis] .right-panel>.status-card,body[data-page=analysis] .game-actions,body[data-page=analysis] .export-actions,body[data-page=analysis] .material,body[data-page=analysis] .finished-replay,body[data-page=analysis] #rematch,body[data-page=analysis] .player-strip,body[data-page=analysis] #focusMode{display:none!important}body[data-page=analysis] .board-column{align-self:start;padding:0 0 0 22px;position:sticky;top:15px}body[data-page=analysis] .board-frame{position:relative}body[data-page=analysis] .notation{margin-top:20px}body[data-page=analysis] .notation #moves{height:160px}#analysisControls h2{font-size:27px;margin-top:10px}#analysisControls textarea{min-height:55px;height:65px;font-size:13px}#analysisControls .divider{margin:15px 0}#analysisControls .quiet{padding:8px}#analysisControls label{margin-top:14px}#analysisControls .evaluation{font:23px Georgia,serif;min-height:30px;color:#eed8b1;background:none;border:0;padding:9px 0}.stockfish-tools{border-top:1px solid #344258;padding-top:14px}.engine-line{display:grid;width:100%;gap:9px;border:1px solid #31445f;border-radius:6px;padding:12px;text-align:left;background:#142236;color:#dce7f4;margin:9px 0}.engine-line strong{font-size:14px;color:#e1c996}.engine-line span{font-size:13px;line-height:1.7}.analysis-report{margin:35px 0;border-top:1px solid #344359}.evaluation-graph{position:relative;border:1px solid #304258;background:linear-gradient(#20334c,#101d2e);border-radius:10px;overflow:hidden}.evaluation-graph svg{display:block;width:100%;height:160px;cursor:crosshair}.evaluation-graph input{display:block;width:100%;margin:0;accent-color:#d4b474}.turning-points{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}.turning-point{display:flex;flex-direction:column;gap:10px;border:1px solid #805243;border-left:3px solid #f1ab62;background:#251f25;color:#ead5b8;border-radius:8px;text-align:left;padding:17px}.turning-point.blunder{border-color:#9a5362}.turning-point span,.turning-point small{font-size:13px}.eval-bar{position:absolute;left:-28px;top:0;width:14px;height:100%;background:#102033;border:1px solid #52617b;border-radius:4px;overflow:hidden;display:flex;align-items:flex-end}.eval-bar>div{height:50%;width:100%;background:#e6e4d5;transition:height .35s}.eval-bar span{position:absolute;top:50%;left:1px;font-size:9px;writing-mode:vertical-rl;color:#b68226;font-weight:bold}.stockfish-tools .primary{margin-top:15px}
/* Events and the local tournament hall, without invented live activity. */
.tournament-banner{position:relative;display:grid;grid-template-columns:1.5fr .6fr;gap:40px;align-items:center;padding:42px 48px;background:radial-gradient(ellipse at 80% 55%,#317dac45,transparent 60%),linear-gradient(135deg,#222d3d,#111822);border:1px solid #7c6741;border-radius:14px}.tournament-banner p{font-size:16px;line-height:1.7;max-width:570px;color:#bfc5ce}.tournament-banner .primary{width:auto}.tournament-banner img{width:100%;max-height:310px;object-fit:contain;filter:drop-shadow(0 0 30px #4b9fc855)}.tournament-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.tournament-card{position:relative;overflow:hidden;isolation:isolate;background:#142032;border:1px solid #405066;border-radius:12px;padding:28px;display:flex;flex-direction:column;min-height:340px}.tournament-card:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(#0b142b55,#101b2b 85%),var(--event-art) center/cover;opacity:.65}.event-type{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;color:#ddd0b2}.tournament-card h3{font:30px/1.2 Georgia,serif;margin:18px 0}.tournament-card p{font-size:14px}.tournament-card .secondary{margin-top:auto}.event-state{font-size:13px;color:#c9ae7f;letter-spacing:.2px}.tournament-card .subtle{line-height:1.7;margin:18px 0 25px}.prize-showcase{padding:23px;border:1px solid #786746;border-radius:10px;color:#e7ca94;background:linear-gradient(110deg,#3f3327,#1a2738);font-size:18px}.hall-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin:25px 0}.hall-columns h3{font-size:18px}.hall-columns p{font-size:14px}#tournamentHall{margin:28px 0;padding:30px;border:1px solid #56627a;background:#111d2f;border-radius:14px}.cup-form{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:25px 0}.cup-form label{font-size:14px}.cup-form input{margin-top:9px}.standings{width:100%;border-collapse:collapse;margin:25px 0}.standings th,.standings td{text-align:left;padding:14px;border-bottom:1px solid #34435a;font-size:15px}.standings th{color:#9cafc6;font-weight:400}.cup-rounds{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.cup-rounds>div{padding:17px;background:#1b2c42;border-radius:8px}.cup-rounds p,.cup-rounds a{font-size:13px}.podium{display:flex;justify-content:center;align-items:flex-end;gap:20px;padding:35px 20px}.podium-place{display:flex;flex-direction:column;align-items:center;gap:16px;width:27%;min-height:170px;padding:20px 12px;background:linear-gradient(#444c5966,#202b3e);border:1px solid #58637d;border-radius:12px}.podium-place.champion{min-height:235px;background:linear-gradient(#aa793b55,#302c2d);border-color:#a48951}.podium-place.bronze{min-height:150px;border-color:#846555}.podium-place small{font-size:13px;color:#d7c7a7}.podium-place strong{font-size:20px}.trophy-cabinet{margin:40px 0}.cabinet-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.cabinet-grid .reward-card{margin:0}.username-edit{display:flex;gap:12px;align-items:center;margin:20px 0;max-width:580px}.username-edit input{flex:1}.username-edit button{flex-shrink:0}.local-trophy{border:1px solid #9b814a;background:#3e352638;padding:24px;border-radius:12px;margin-top:25px}.portrait-avatar[data-frame=explorer]{outline:3px double #ead39d;outline-offset:4px}.portrait-avatar[data-frame=emerald]{outline:3px solid #7ac99e;box-shadow:0 0 23px #44b28766}.portrait-avatar[data-frame=century]{outline:4px double #d8b866;box-shadow:0 0 24px #b48835}.auth-dialog,.welcome-dialog{padding:38px;max-width:470px;width:calc(100% - 28px);background:linear-gradient(145deg,#24384f,#111c2d);max-height:90svh;overflow:auto}.auth-dialog h2,.welcome-dialog h2{font:31px/1.25 Georgia,serif}.auth-dialog p{font-size:15px;line-height:1.65}.auth-dialog #googleButton{margin:25px 0}.starter-reward{padding:17px;color:#e6cc96;background:#53463133;border:1px solid #84724e;border-radius:9px;font-size:14px;line-height:1.5}.award-dialog{isolation:isolate;overflow:hidden;text-align:center;max-width:470px;width:calc(100% - 28px);padding:44px 30px;background:radial-gradient(ellipse at 50% 0%,#ae854355,transparent 70%),#131f31;border:1px solid #c1a06a;border-radius:18px}.award-dialog h2{font:34px/1.25 Georgia,serif;color:#f0dcb5}.award-dialog p{color:#aebed0;line-height:1.7;font-size:16px}.award-emblem{display:block;font-size:80px;color:#ebc882;text-shadow:0 0 40px #eabc7466}.award-light{position:absolute;inset:0;pointer-events:none;z-index:-1;background:repeating-conic-gradient(from 0deg at 50% 25%,#dbaa4311 0 5deg,transparent 5deg 20deg);animation:award-reveal .7s ease-out}@keyframes award-reveal{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.square>img[src*='/b'],.preview-cell>img[src*='/b']{filter:drop-shadow(0 1px 1px #000) drop-shadow(0 0 .5px #ffffc4)}
@media(max-width:1150px){.header nav{gap:18px}.header{gap:20px}.header nav a{font-size:14px}.puzzle-active .workspace{grid-template-columns:230px minmax(320px,1fr)}.puzzle-active .right-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:22px}.puzzle-active .right-panel .notation{margin:0}.quest-masthead{padding:30px}.quest-masthead h2,.tournament-banner h2{font-size:36px}.journey-world{padding:19px}.journey-world strong{font-size:23px}.tournament-grid{grid-template-columns:repeat(2,1fr)}.turning-points{grid-template-columns:repeat(3,1fr)}.quest-columns{gap:20px}.reward-card{grid-template-columns:25px 1fr;gap:12px}.reward-card button{grid-column:2;justify-self:start}.reward-icon{font-size:26px}.cup-rounds{grid-template-columns:repeat(2,1fr)}}
@media(max-width:750px){.header nav{overflow-x:auto;justify-content:space-between;gap:10px;scrollbar-width:none}.header nav a{font-size:12px;padding:13px 0;flex-shrink:0}.quest-masthead{padding:24px;grid-template-columns:1fr}.quest-masthead h2{font-size:32px;max-width:300px}.quest-figure{position:absolute;right:-12px;top:28px;height:130px;opacity:.28;pointer-events:none;z-index:-1}.quest-masthead p{font-size:14px}.quest-masthead .primary{width:100%;min-width:0}.progress-strip{padding:15px 5px;gap:5px;margin-bottom:25px}.progress-strip>div{padding-left:8px;gap:7px}.progress-strip strong{font-size:24px}.progress-strip span{font-size:10px}.journey-map{grid-template-columns:1fr 1fr;gap:10px}.journey-world{min-height:200px;padding:17px 15px;gap:14px}.journey-world strong{font-size:23px}.journey-world small{font-size:9px}.journey-world span{font-size:12px}.puzzle-worlds>.section-heading{flex-direction:column;gap:16px}.puzzle-modes{grid-template-columns:1fr;gap:10px}.puzzle-modes button{padding:18px 20px;gap:8px}.puzzle-modes strong{font-size:24px}.quest-columns{grid-template-columns:1fr;gap:16px}.quest-columns .section-heading span{font-size:11px}.reward-card{grid-template-columns:30px 1fr auto;padding:15px;gap:10px}.reward-card button{grid-row:1;grid-column:3;font-size:11px;padding:9px}.reward-card strong{font-size:14px}.puzzle-active .workspace{display:flex;flex-direction:column}.puzzle-active .board-column{order:0;position:static}.puzzle-active .left-panel{order:1;width:100%}.puzzle-active .right-panel{order:2;display:flex;flex-direction:column}.puzzle-active #worldPuzzleControls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.puzzle-active #worldPuzzleControls h2,.puzzle-active #worldPuzzleControls .puzzle-feedback,.puzzle-active #worldPuzzleControls>a:first-child,.puzzle-active #worldPuzzleControls>.subtle,.puzzle-active #worldPuzzleControls .session-stats{grid-column:1/-1}.puzzle-active #worldPuzzleControls>a:first-child{padding:0}.puzzle-active #worldPuzzleControls h2{margin:0}.puzzle-active #worldPuzzleControls label{font-size:13px;margin:0;align-self:center}.puzzle-active #worldPuzzleControls #puzzleModeName{grid-column:1/-1}.puzzle-active .puzzle-feedback{min-height:0;margin:5px 0}.puzzle-active .session-stats{padding:5px 0}.puzzle-active #worldNext{grid-column:1/-1}.puzzle-active .left-panel .style-peek{display:none}.puzzle-active .left-panel>h2{display:none}body[data-page=analysis] .workspace{display:flex;flex-direction:column;gap:20px}body[data-page=analysis] .board-column{position:static;padding-left:15px}body[data-page=analysis] .right-panel{width:100%}.eval-bar{left:-20px;width:10px}.eval-bar span{font-size:8px}.analysis-report .section-heading{flex-direction:column;gap:10px}.turning-points{grid-template-columns:1fr 1fr;gap:10px}.turning-point{padding:13px}.turning-point strong{font-size:14px}.tournament-banner{grid-template-columns:1fr;padding:26px 23px;gap:15px;isolation:isolate}.tournament-banner h2{font-size:35px}.tournament-banner img{position:absolute;right:4px;top:45px;height:150px;width:140px;opacity:.25;z-index:-1}.tournament-banner p{font-size:14px}.tournament-banner .primary{width:100%}.tournament-grid{grid-template-columns:1fr;gap:16px}.tournament-card{min-height:300px;padding:25px}.tournament-card h3{font-size:30px}.tournaments-page>.section-heading{flex-direction:column;gap:15px}.cup-form{grid-template-columns:1fr 1fr;gap:12px}.cup-rounds{grid-template-columns:1fr 1fr;gap:10px}.cup-rounds>div{padding:12px}.cup-rounds strong{font-size:13px}.standings td,.standings th{font-size:13px;padding:10px 5px}.hall-columns{grid-template-columns:1fr;gap:5px}#tournamentHall{padding:18px 14px}.podium{gap:8px;padding:24px 0}.podium-place{width:33%;padding:15px 7px;gap:12px}.podium-place strong{font-size:15px;overflow-wrap:anywhere}.podium-place .award-emblem{font-size:50px}.podium-place small{font-size:11px}.cabinet-grid{grid-template-columns:1fr;gap:12px}.trophy-cabinet>.section-heading{flex-direction:column;gap:12px}.username-edit{flex-wrap:wrap}.username-edit button{width:100%}.auth-dialog,.welcome-dialog{padding:30px 22px}.award-dialog h2{font-size:29px}.page-heading h1{line-height:1.25}}
[data-fx=leaf].fx-capture:after,[data-fx=leaf].fx-move:after{border-radius:0 75%;rotate:30deg;box-shadow:0 0 14px #82f2a0}[data-fx=frost].fx-capture:after,[data-fx=frost].fx-move:after{box-shadow:0 0 24px #c1f3ff;border-style:double}.effect-symbol.leaf{border-radius:0 70%;color:#82f2a0}.effect-symbol.frost{color:#c1f3ff;text-shadow:0 0 30px #c1f3ff}
.analysis-players{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 12px}.analysis-player{display:flex;align-items:center;gap:11px;min-width:0;padding:9px 12px;border:1px solid #40516a;border-radius:8px;background:linear-gradient(110deg,#202c3e,#121d2d)}.analysis-player.white{border-color:#b2935c;background:linear-gradient(110deg,#3a3427,#172338)}.analysis-player.black{border-color:#52647e}.analysis-player-glyph{flex:0 0 34px;display:grid;place-items:center;width:34px;height:34px;border-radius:7px;background:#dfc286;color:#302514;font:26px Georgia}.analysis-player.black .analysis-player-glyph{background:#25344a;color:#d6e2ef;border:1px solid #576d89}.analysis-player-info{display:grid;min-width:0;gap:3px}.analysis-player-info small{color:#cbb27f;font-size:10px;font-weight:800;letter-spacing:1.3px}.analysis-player.black .analysis-player-info small{color:#a8bdd5}.analysis-player-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f0f3f7;font-size:14px}
@media(max-width:750px){.analysis-players{gap:7px}.analysis-player{padding:8px;gap:7px}.analysis-player-glyph{width:29px;height:30px;flex-basis:29px;font-size:22px}.analysis-player-info strong{font-size:12px}.analysis-player-info small{font-size:9px}}
