.mode-heading{display:flex;align-items:center;gap:12px;padding:8px 0;flex:none}.mode-heading h1{margin:0;font-size:24px}.mode-scroll{display:grid;align-content:start;gap:16px;min-height:0;overflow-y:auto;padding:4px 0 20px}.mode-scroll>p{margin:0;font-size:14px;line-height:1.5;color:var(--ui-muted)}.mode-select{display:grid;gap:6px;font-size:14px}.mode-select select{min-height:44px}.play-mode-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}.play-mode-links button{display:flex;align-items:center;gap:10px;min-height:64px;padding:12px;background:var(--ui-surface);color:var(--ui-ink);border:1px solid var(--ui-line);border-radius:12px;text-align:left}.play-mode-links strong,.play-mode-links small{display:block}.play-mode-links small{font-size:12px;color:var(--ui-muted);margin-top:3px}.play-mode-links .ui-icon{width:24px;flex:none}.league-summary{display:flex;gap:16px;align-items:center;padding:12px 0}.league-summary>.ui-icon{width:52px;height:52px;color:var(--ui-accent-ink)}.league-summary h2{font-size:22px;margin:0 0 4px}.league-summary strong{font-size:28px;font-variant-numeric:tabular-nums}.league-summary p,.league-summary small{font-size:13px;color:var(--ui-muted)}.league-search{display:grid;gap:12px}.league-search p,.league-access p{font-size:14px;line-height:1.5;margin:0}.league-search .r7-segments{display:grid;grid-template-columns:1fr 1fr}.league-search .r7-segments button{min-height:44px;font-size:13px}.league-search button[aria-pressed=true]{background:var(--ui-accent-soft);color:var(--ui-accent-ink);font-weight:800}.stake-terms{display:grid;gap:10px;border:1px solid var(--ui-line);border-radius:12px;padding:14px;background:var(--ui-surface)}.stake-terms dl{display:grid;grid-template-columns:1fr auto;gap:6px;margin:0}.stake-terms dd{margin:0;font-variant-numeric:tabular-nums;font-weight:800}.stake-terms label{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px}.stake-terms input{width:20px;height:20px;flex:none}.queue-status{font-weight:750;color:var(--ui-accent-ink)}.league-rules summary{min-height:44px;padding:12px 0;cursor:pointer;font-weight:700}.league-rules p,.league-rules li{font-size:14px;line-height:1.5}.leaderboard h2{font-size:20px}.leaderboard ol{list-style:none;padding:0;margin:0}.leaderboard li{display:grid;grid-template-columns:24px 32px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:64px;border-bottom:1px solid var(--ui-line)}.leaderboard li strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboard li small{display:block;font-size:12px;color:var(--ui-muted)}.leaderboard li b{font-variant-numeric:tabular-nums}.competition-outcome{padding:12px 0;border-bottom:1px solid var(--ui-line)}.competition-outcome h3{margin:0 0 8px;font-size:20px}.competition-outcome p{font-size:15px}.competition-outcome small{font-size:12px;color:var(--ui-muted)}.competition-lobby{padding:12px;border:1px solid var(--ui-line);border-radius:12px;font-size:14px;line-height:1.5;background:var(--ui-surface)}.puzzle-progress strong{font-size:20px;color:var(--ui-ink)}.puzzle-badges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.puzzle-badges>span{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;font-size:12px;color:var(--ui-muted)}.puzzle-badges .ui-icon{width:28px;height:28px}.puzzle-badges .is-unlocked{color:var(--ui-accent-ink);font-weight:700}.puzzle-badges small{font-size:11px}.puzzle-list{display:grid;gap:0}.puzzle-list button{display:flex;align-items:center;gap:12px;min-height:64px;padding:12px 4px;background:transparent;color:var(--ui-ink);text-align:left;border:0;border-bottom:1px solid var(--ui-line);border-radius:0}.puzzle-list button>span:nth-child(2){flex:1;min-width:0}.puzzle-list strong,.puzzle-list small{display:block}.puzzle-list small,.puzzle-list button>span:last-child{font-size:12px;color:var(--ui-muted)}.puzzle-layout{display:grid;gap:12px;min-width:0}.puzzle-board{min-width:0}.puzzle-board .board-scroll{width:min(100%,360px,calc(100dvh - 260px));margin:0 auto}.puzzle-board .board-frame{padding:3px;border-width:1px}.puzzle-board .board-help{font-size:12px;line-height:16px}.puzzle-instructions{display:grid;align-content:start;gap:8px}.puzzle-instructions h2,.puzzle-instructions h3{font-size:20px;margin:0}.puzzle-instructions p{font-size:14px;line-height:1.4;margin:0}.puzzle-instructions [role=status]{display:grid;gap:8px}.puzzle-hint{font-weight:700;color:var(--ui-accent-ink)}@media(min-width:760px){.puzzle-layout{grid-template-columns:minmax(0,1fr) 260px}.puzzle-board .board-scroll{width:min(100%,380px,calc(100dvh - 170px))}.play-mode-links{max-width:700px}}.play-mode-panel{display:flex;flex-direction:column;min-height:0}.play-mode-panel>.mode-scroll{flex:1}.mode-scroll button{min-height:44px}.league-search .r7-segments button[aria-pressed=true]{background:var(--ui-surface);color:var(--ui-accent-ink);box-shadow:0 1px 3px #102a2915}.league-iron{--league-tone:#62736c}.league-bronze{--league-tone:#956040}.league-silver{--league-tone:#637985}.league-gold{--league-tone:#91680a}.league-platinum{--league-tone:#077761}.league-diamond{--league-tone:#385bd4}.league-summary>.ui-icon{color:var(--league-tone,var(--ui-accent-ink))}:root[data-theme=night] .league-summary>.ui-icon{color:var(--ui-accent-ink)}.play-mode-panel>.mode-heading,.play-mode-panel>.mode-scroll{width:100%;max-width:840px;align-self:center}:root[data-theme=night] .league-search .r7-segments button[aria-pressed=true]{background:var(--ui-accent-soft);color:var(--ui-accent-ink)}:root[data-theme=night] .play-mode-panel .mode-heading .icon-button{background:var(--ui-accent-soft);color:var(--ui-accent-ink)}.toy-puzzle-preview{display:grid;grid-template-columns:repeat(var(--preview-size),1fr);width:88px;height:88px;flex:none;overflow:hidden;border:3px solid #42658b;border-radius:10px}.toy-puzzle-preview>span{position:relative;min-width:0;min-height:0}.toy-puzzle-preview .light{background:#fff1cb}.toy-puzzle-preview .dark{background:#8ab5c6}.toy-puzzle-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.toy-puzzle-placeholder{width:88px;height:88px;object-fit:contain}.puzzle-list{gap:12px}.puzzle-list button{padding:12px;background:var(--ui-surface);border:0;border-radius:20px;box-shadow:var(--ui-shadow)}.puzzle-list strong{font-size:17px}.puzzle-list small{font-size:14px}.puzzle-list button>span:last-child{font-size:13px;font-weight:800;color:var(--ui-accent-ink)}.mode-scroll button{min-height:48px}.mode-heading h1{font-size:30px}.league-summary{padding:18px;background:var(--ui-surface);border-radius:24px}.puzzle-badges .is-unlocked{color:var(--ui-accent-ink)}.puzzle-board .board-help,.puzzle-progress{font-size:14px}.puzzle-progress strong{font-size:24px}.leaderboard li{min-height:72px}.leaderboard li img{width:40px;height:40px;object-fit:contain}.league-search{gap:16px}.stake-terms{border:0;border-radius:20px;padding:20px}.league-search .r7-segments button{min-height:48px}.puzzle-instructions h3{font-size:24px}@media(max-width:359px){.toy-puzzle-preview,.toy-puzzle-placeholder{width:70px;height:70px}.puzzle-list button{gap:8px}.puzzle-list strong{font-size:15px}.puzzle-list small{font-size:12px}}.puzzle-turn-tools{display:flex;align-items:center;justify-content:space-between;gap:12px}.puzzle-turn-tools button{flex:none;padding:8px 12px}.puzzle-turn-tools p{font-size:14px}.puzzle-instructions>.puzzle-player-note,.puzzle-instructions>.puzzle-hint{min-height:20px;font-size:14px;line-height:20px}@media(max-width:759px){.puzzle-instructions{gap:4px}.puzzle-board .board-scroll{width:min(100%,360px,calc(100dvh - 300px))}}@media(min-width:760px){.puzzle-board{grid-column:1;grid-row:1}.puzzle-instructions{grid-column:2;grid-row:1}.puzzle-turn-tools{flex-wrap:wrap}}.board-section{width:100%;min-width:0}.board-scroll{width:100%;overflow:hidden;border-radius:18px;box-shadow:0 8px 20px #26314b26}.board-frame{background:var(--board-frame,#42658b);border:8px solid var(--board-frame,#42658b);border-image:var(--board-frame-art) 12% stretch;padding:0;border-radius:18px}.board-section .board{display:grid;grid-template-columns:repeat(var(--size),minmax(0,1fr));grid-template-rows:repeat(var(--size),minmax(0,1fr));position:relative;isolation:isolate;aspect-ratio:1;overflow:hidden;border-radius:9px;width:100%}.board-section .square{position:relative;display:grid;place-items:center;width:100%;height:100%;min-width:0;min-height:0;aspect-ratio:1;padding:0;border:0;border-radius:0;touch-action:manipulation;transition:none;line-height:1;background-size:100% 100%;cursor:pointer}.board-section .square.light{background-color:var(--board-light,#fff1cb);background-image:var(--board-light-art)}.board-section .square.dark{background-color:var(--board-dark,#8ab5c6);background-image:var(--board-dark-art)}.board-section .square:active{filter:none;transform:none}.board-section .square:focus-visible{outline:3px solid #2854af;outline-offset:-3px;z-index:2}.board-section .square[aria-disabled=true]{cursor:default}.board-section .pieces-layer{position:absolute;inset:0;pointer-events:none;z-index:3}.board-section .piece-sprite{position:absolute;top:0;left:0;width:calc(100% / var(--size));height:calc(100% / var(--size));display:grid;place-items:center;pointer-events:none}.board-section .piece-sprite[data-moving]{z-index:4;will-change:transform}.board-section .piece-sprite.captured{opacity:0;z-index:0}.board-section .piece{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 1px #26314b44)}.board-section .piece-body{display:block;position:relative;width:100%;height:100%;transform-origin:50% 65%}.board-section .piece-selection-ring{position:absolute;inset:3%;border:3px solid transparent;border-radius:50%;z-index:5}.board-section .playable:not(.selected) .piece-selection-ring{border-color:#ffd36d;box-shadow:0 0 0 2px #2854af,0 0 9px #ffd36d99;animation:toy-playable-breathe 2.8s ease-in-out infinite}.board-section .selected .piece-selection-ring{inset:2%;border:3px solid #f47355;box-shadow:0 0 0 2px #fff4db}.board-section .selected .piece-body{filter:brightness(1.08)}.board-section .target-dot{position:absolute;display:block;left:50%;top:50%;transform:translate(-50%,-50%);width:29%;aspect-ratio:1;border-radius:50%;background:#ffd36d;border:2px solid #2854af;box-shadow:0 0 0 1px #fff4db,0 2px 4px #26314b30;z-index:2;pointer-events:none}.board-section .piece-crown-ring{position:absolute;inset:1%;border:3px solid #ffc947;border-radius:50%;z-index:2;pointer-events:none;animation:toy-coronation 1.4s ease-out both}.board-section .piece-impact-ring{position:absolute;inset:3%;border:3px solid #ffd36d;border-radius:50%;opacity:0;pointer-events:none;z-index:1}.board-section .piece-contrast-ring{position:absolute;inset:10%;border:1px solid #26314b30;border-radius:50%;pointer-events:none}.board-section .coordinate{display:none;position:absolute;left:2px;bottom:2px;font:800 9px/1 Nunito,sans-serif;color:#26314b;pointer-events:none;z-index:4}:root[data-coordinates=on] .coordinate{display:block}.board-section .history-marker{position:absolute;inset:3px;pointer-events:none;border:2px solid #bd491b;border-radius:6px;background:#ffc94730}.board-section .history-marker[data-history-role=source]{border-style:dashed;background:transparent;opacity:.65}.board-section .history-marker[data-history-role=step]{inset:24%;border-radius:50%;background:transparent}.board-section .history-marker[data-history-role=destination]{box-shadow:inset 0 0 0 1px #fff7}.board-section .r12-capture-warning-ring{position:absolute;inset:2%;border:3px solid #f47355;border-radius:50%;box-shadow:0 0 0 2px #fff4db;pointer-events:none;z-index:5;animation:toy-warning .5s ease-out both}.board-section .piece-sprite[data-capture-warning] .piece-selection-ring{animation:none;opacity:0}.board-section[data-page-hidden] .piece-selection-ring{animation-play-state:paused}.board-help{display:flex;align-items:center;gap:8px;min-height:48px;padding:8px 2px;color:var(--ui-muted);font-size:15px}.board-help-copy{min-width:0;flex:1}.board-legend{display:flex;justify-content:center;min-height:28px;font-size:12px;color:var(--ui-muted)}.board-legend>span{display:flex;align-items:center;gap:6px}.board-legend i{width:10px;height:10px;background:#2854af;border-radius:50%}.toy-board-fx{position:absolute;inset:0;pointer-events:none;z-index:10;overflow:hidden}.toy-burst{position:absolute;display:grid;place-items:center;width:calc(180% / var(--size));aspect-ratio:1;transform:translate(-50%,-50%);pointer-events:none}.toy-burst>img:first-child{width:100%;height:100%;object-fit:contain;animation:toy-pop .65s cubic-bezier(.16,1,.3,1) both}.toy-burst>b{position:absolute;color:#493720;background:#ffd36d;border:2px solid #fff4db;font-size:clamp(16px,4vw,26px);line-height:1;font-weight:1000;padding:3px 5px;border-radius:10px;animation:toy-pop .7s ease-out both}.toy-spark{position:absolute;width:22%!important;height:22%!important;object-fit:contain;animation:toy-spark .65s var(--spark-delay) ease-out both}.toy-burst.is-crown{width:calc(240% / var(--size))}@keyframes toy-playable-breathe{0%,to{box-shadow:0 0 0 2px #2854af9c,0 0 7px #ffd36d70}50%{box-shadow:0 0 0 2px #2854af9c,0 0 14px #ffd36dd0}}@keyframes toy-coronation{0%{opacity:0;transform:scale(.75)}25%{opacity:1;transform:scale(1.08)}to{opacity:0;transform:scale(1.2)}}@keyframes toy-warning{0%{opacity:.2;transform:scale(.9)}30%{opacity:1}to{opacity:0;transform:scale(1.1)}}@keyframes toy-pop{0%{opacity:0;transform:scale(.3)}20%{opacity:1;transform:scale(var(--burst-scale,1.2))}65%{opacity:1}to{opacity:0;transform:scale(1.35)}}@keyframes toy-spark{0%{opacity:0;transform:rotate(var(--spark-angle)) translateY(0) scale(.3)}20%{opacity:1}to{opacity:0;transform:rotate(var(--spark-angle)) translateY(-170%) scale(.8)}}@media(max-height:700px)and (orientation:portrait){.board-frame{border-width:4px}}@media(prefers-reduced-motion:reduce){.board-section .piece-sprite{will-change:auto}.board-section .piece-body{transform:none!important}.board-section .piece-impact-ring,.toy-spark{display:none}.toy-burst>img:first-child{opacity:.85}.board-section .piece-selection-ring,.board-section .piece-crown-ring{animation:none!important}.board-section .r12-capture-warning-ring{opacity:1}}:root[data-effects=quiet] .toy-spark,:root[data-effects=quiet] .piece-impact-ring{display:none}.toy-burst{width:calc(var(--burst-width,180%) / var(--size))}.toy-burst>img:first-child{animation-name:toy-combo-pop;animation-duration:var(--burst-duration)}.toy-burst.is-tier-3>img:first-child{animation-name:toy-combo-swirl}.toy-burst.is-tier-4>img:first-child,.toy-burst.is-tier-5>img:first-child{animation-name:toy-combo-flare}.toy-burst>b{font-size:clamp(18px,4vw,30px);background:#fff4db;color:#493720;border:2px solid #ffc947;transform:rotate(-9deg);animation-duration:var(--burst-duration)}.toy-shockwave{position:absolute;inset:20%;border:2px solid #fff4db;border-radius:50%;box-shadow:0 0 0 3px #ffc94780;animation:toy-shockwave var(--burst-duration) ease-out both}.toy-burst.is-tier-3 .toy-shockwave{border-color:#a4ead8;box-shadow:0 0 0 3px #ffc94770}.toy-burst.is-tier-4 .toy-shockwave,.toy-burst.is-tier-5 .toy-shockwave{border-color:#e8bfff;box-shadow:0 0 0 4px #ffc94780}.toy-burst .toy-spark{width:15%!important;height:15%!important;animation-duration:var(--burst-duration)}@keyframes toy-combo-pop{0%{opacity:0;transform:scale(.25) rotate(-20deg)}18%{opacity:1;transform:scale(1.08) rotate(4deg)}55%{opacity:1}to{opacity:0;transform:scale(1.25) rotate(12deg)}}@keyframes toy-combo-swirl{0%{opacity:0;transform:scale(.2) rotate(-70deg)}20%{opacity:1;transform:scale(1.05) rotate(-10deg)}60%{opacity:1}to{opacity:0;transform:scale(1.3) rotate(60deg)}}@keyframes toy-combo-flare{0%{opacity:0;transform:scale(.15) rotate(-25deg)}16%{opacity:1;transform:scale(1.13) rotate(5deg)}32%{transform:scale(.95) rotate(-3deg)}65%{opacity:1}to{opacity:0;transform:scale(1.35) rotate(14deg)}}@keyframes toy-shockwave{0%{opacity:0;transform:scale(.25)}18%{opacity:.85}80%,to{opacity:0;transform:scale(2.2)}}@keyframes toy-spark{0%{opacity:0;transform:rotate(var(--spark-angle)) translateY(0) scale(.2)}20%{opacity:1}to{opacity:0;transform:rotate(var(--spark-angle)) translateY(calc(-1 * var(--spark-distance,170%))) scale(.75)}}:root[data-effects=quiet] .toy-shockwave{display:none}@media(prefers-reduced-motion:reduce){.toy-shockwave{display:none}.toy-burst{width:calc(160% / var(--size))}.toy-burst>img:first-child,.toy-burst>b{animation:none;opacity:1;transform:none}}:root[data-effects=quiet] .toy-burst{width:calc(160% / var(--size))}:root[data-effects=quiet] .toy-burst>img:first-child,:root[data-effects=quiet] .toy-burst>b{animation:none;opacity:1;transform:none}.battle-layout{display:grid;gap:12px;min-width:0;width:100%}.battle-board-wrap{min-width:0}.battle-hand{padding:12px;background:var(--ui-surface);border-radius:20px;color:var(--ui-ink)}.battle-hand header{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:15px}.battle-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.battle-card{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;min-height:92px;padding:8px;background:var(--ui-surface);color:var(--ui-ink);border-radius:16px}.battle-card img{width:48px;height:48px;object-fit:contain}.battle-card strong{font-size:14px;line-height:1.2}.battle-card small{font-size:12px;line-height:1.25;color:var(--ui-muted)}.battle-card.is-locked img{filter:saturate(.65);opacity:.75}.battle-card.is-selected{background:var(--ui-accent-soft)}.battle-card:focus-visible,.battle-avatar-button:focus-visible{outline:3px solid var(--ui-focus);outline-offset:3px}.battle-empty-slot{display:grid;place-items:center;min-height:84px;font-size:13px;text-align:center;border-radius:16px;background:var(--ui-bg);color:var(--ui-muted)}.battle-charge{display:flex;align-items:center;gap:8px;font-size:12px;margin-top:6px}.battle-charge progress{appearance:none;width:64px;height:6px;flex:none;border:0;border-radius:8px;overflow:hidden}.battle-charge progress::-webkit-progress-bar{background:var(--ui-line)}.battle-charge progress::-webkit-progress-value{background:var(--ui-accent)}.battle-charge progress::-moz-progress-bar{background:var(--ui-accent)}.battle-hand-note{font-size:13px;color:var(--ui-muted);margin-top:6px}.battle-confirm{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 0}.battle-confirm>span{display:flex;align-items:center;gap:6px;flex:1;font-size:15px}.battle-confirm button,.battle-end-turn{min-height:48px}.battle-end-turn{width:100%}.battle-journal{font-size:14px;color:var(--ui-muted)}.battle-journal summary{min-height:48px;display:flex;align-items:center;cursor:pointer}.battle-target-ring{position:absolute;inset:6%;border:3px solid #2854af;border-radius:50%;box-shadow:0 0 0 2px #fff4db;z-index:9;pointer-events:none}.battle-path-step{position:absolute;right:2px;top:2px;background:#2854af;color:#fff;border-radius:50%;min-width:17px;height:17px;font-size:12px;line-height:17px;font-weight:900;z-index:12;pointer-events:none}.battle-frost{position:absolute;inset:-10%;width:120%;max-width:none;height:120%;object-fit:contain;opacity:.85;pointer-events:none;z-index:8}.battle-fx-layer{position:absolute;inset:0;pointer-events:none;z-index:15;overflow:hidden;border-radius:inherit}.battle-fx{position:absolute;aspect-ratio:1;object-fit:contain;transform:translate(-50%,-50%);animation:battle-impact .65s cubic-bezier(.16,1,.3,1) both}.battle-fx.is-push,.battle-fx.is-double-move{animation-name:battle-sweep}.battle-secret-avatar{position:relative;flex:none}.battle-avatar-button{position:relative;display:flex;align-items:center;justify-content:center;width:48px;height:48px;min-width:48px;padding:0;background:transparent;border-radius:14px}.battle-secret-orb{position:absolute;top:-10px;right:-6px;width:28px;height:28px;object-fit:contain;filter:drop-shadow(0 3px 3px #26314b35);pointer-events:none}.battle-avatar-button.is-enemy .battle-secret-orb{filter:grayscale(1) drop-shadow(0 3px 3px #26314b35)}.battle-popup{width:min(440px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:24px;border:0;border-radius:24px;background:var(--ui-surface);color:var(--ui-ink);box-shadow:0 16px 48px #18223c40;overflow:auto}.battle-popup::backdrop{background:#18223c99}.battle-popup header{display:flex;gap:12px;align-items:center;justify-content:space-between}.battle-popup h2{font-size:26px;line-height:1.15}.battle-popup p{font-size:16px;line-height:1.5}.battle-popup .battle-popup-note{font-size:14px;color:var(--ui-muted);margin-top:12px}.battle-popup>button:last-child{margin-top:20px}.battle-popup-art{display:block;object-fit:contain;margin:18px auto 14px}.battle-popup.is-mystery .battle-popup-art{filter:grayscale(1)}.battle-rule{display:flex;align-items:flex-start;gap:14px;padding:14px 0;border-top:1px solid var(--ui-line)}.battle-rule img{flex:none;width:52px;height:52px;object-fit:contain}.battle-rule h3{font-size:18px}.battle-rule p{margin-top:5px;font-size:15px}.battle-entry-note{font-size:14px;line-height:1.5;color:var(--ui-muted)}.battle-replay-frost{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:3;pointer-events:none}@keyframes battle-impact{0%{opacity:0;transform:translate(-50%,-50%) scale(.65)}25%{opacity:1}to{opacity:0;transform:translate(-50%,-50%) scale(1.25)}}@keyframes battle-sweep{0%{opacity:0;transform:translate(-85%,-50%) scale(.75)}30%{opacity:1}to{opacity:0;transform:translate(-20%,-50%) scale(1.2)}}@media(prefers-reduced-motion:reduce){.battle-fx{animation:none;opacity:.75}}.map-spell-icon{display:block;flex:none;width:24px;height:24px;color:var(--spell-color,var(--ui-accent-ink))}.mobile-app .map-card>.map-spell-icon{width:20px;height:20px}.mobile-app .map-card strong{font-size:11px;line-height:13px}.mobile-app .map-card small{font-size:10px;line-height:12px}.map-card.is-locked .map-spell-icon{opacity:.55}.map-countdown{position:absolute;right:1px;top:1px;display:grid;place-items:center;min-width:12px;height:12px;padding:0 2px;border-radius:3px;font:800 10px/12px Nunito,sans-serif;color:#fff;background:#8c431f;z-index:6;pointer-events:none}.map-countdown.is-hole{background:#102a25;color:#ecf5ef}.map-countdown.is-reinforced{background:#27694f}.map-rune{position:absolute;inset:16%;display:grid;place-items:center;background:#fff9e4;border:1px solid #ae822e;border-radius:25%;box-shadow:0 2px 4px #172f2655;pointer-events:none;z-index:2}.map-rune .map-spell-icon{width:80%;height:80%}.map-rune .map-rune-base{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.map-rune .map-rune-base+.map-spell-icon{position:relative;z-index:1;width:60%;height:60%}.square[data-piece] .map-rune,.r11-replay-cell[data-replay-piece] .map-rune{inset:auto auto 0 0;width:15px;height:15px;z-index:6}.map-anchor{position:absolute;bottom:0;right:0;z-index:6;border-radius:4px;background:#edf6fa;pointer-events:none}.map-anchor .map-spell-icon{width:14px;height:14px}@media(prefers-reduced-motion:reduce){.map-impact{animation:none;opacity:.5}}[data-theme=night] .map-card .map-spell-icon,[data-theme=night] .battle-rule>.map-spell-icon{color:#cbe6d6}.map-picker{display:grid;gap:6px}.map-picker select{width:100%;min-height:44px}.map-picker p{font-size:12px;color:var(--ui-muted);line-height:1.4}.game-setup .variants[aria-label="Tryb gry"]{grid-template-columns:repeat(3,minmax(0,1fr))}.game-setup .variant{min-width:0;flex:1}.mobile-app .game-setup .variant strong{font-size:16px}.maps-match .r11-replay-cell{position:relative}.map-terrain-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;z-index:1}.map-impact{position:absolute;pointer-events:none;animation:map-impact .65s ease-out both}.map-impact>img{width:100%;height:100%;object-fit:contain}.map-spell-icon{object-fit:contain}.map-rune{background:transparent;border:0;box-shadow:none;inset:12%}.map-anchor{background:var(--ui-surface)}@keyframes map-impact{0%{opacity:0;transform:scale(.6)}25%{opacity:1}to{opacity:0;transform:scale(1.25)}}.reward-points{display:inline-flex;align-items:center;gap:5px;flex:none;white-space:nowrap;font-size:inherit;font-weight:750;line-height:1.25;font-variant-numeric:tabular-nums;vertical-align:middle;color:var(--ui-ink)}.reward-points>small{font-size:.72em;font-weight:650;color:var(--ui-muted)}.currency-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:24px;height:24px}.currency-icon img,.currency-icon svg{display:block;width:100%;height:100%;max-width:none;object-fit:contain}.currency-icon-ap{color:#805515}.currency-icon-xp{color:#256480}.reward-points.is-compact{gap:4px}.reward-points.is-compact .currency-icon{width:20px;height:20px}.achievement-type-icon{display:block;flex:none;width:22px;height:22px;color:var(--ui-accent-ink)}:root[data-theme=night] .currency-icon-ap{color:#f2ca79}:root[data-theme=night] .currency-icon-xp{color:#8ecfe5}.r11-achievement-family>h2{display:flex;align-items:center;gap:9px}.r11-achievement-title>span>.achievement-type-icon{width:20px;height:20px}.r11-nearest>button>.achievement-type-icon{width:21px;height:21px}.r11-nearest>button>span{min-width:0}.r11-achievement-award>.reward-points{color:var(--ui-ink);font-weight:750}.r11-ap-total .reward-points{color:inherit}.r11-game-award-row>.achievement-type-icon{width:22px;height:22px}.r11-game-award-row>.reward-points{flex:none}.r11-how-to{display:flex;flex-direction:column;gap:7px}.r11-how-to h3{font-size:14px}.r11-how-to p{font-size:13px}.r11-award-type{display:inline-flex;align-items:center;gap:7px}.r11-ap-rewards h2{display:flex;align-items:center;gap:8px}.r12-game-award{border-bottom:1px solid var(--ui-line)}.r12-game-award .r11-game-award-row{display:flex;align-items:center;gap:7px;padding:7px 0;border:0;background:transparent;width:100%}.r12-game-award .r12-award-open{flex:1;min-width:0;min-height:44px;text-align:left;justify-content:flex-start;font-size:14px;font-weight:700;padding:4px 0;border:0;background:transparent;overflow-wrap:anywhere;line-height:1.4;color:var(--ui-ink)}.r12-game-award .r12-award-help{display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;color:var(--ui-accent-ink)}.r12-award-help>span{display:grid;place-items:center;width:24px;height:24px;border:1.5px solid currentColor;border-radius:50%;font-size:15px;line-height:1;font-weight:750}.r12-award-help[aria-expanded=true]{background:var(--ui-accent-soft);border-radius:10px}.r12-earned-explanation{padding:4px 0 14px}.r12-earned-explanation>strong{font-size:13px}.r12-earned-explanation>p{font-size:13px;line-height:1.5;margin-top:7px}.r12-earned-explanation[hidden]{display:none}.r11-stat-table-wrap th .achievement-type-icon{margin:0 auto 4px;width:18px;height:18px}.r12-stat-label{display:inline-flex;align-items:center;gap:6px}.r12-stat-label .achievement-type-icon{width:18px;height:18px}.currency-icon-tokens{color:#805515}.currency-icon-level{color:var(--ui-accent-ink)}:root[data-theme=night] .currency-icon-tokens{color:#f2ca79}.r11-panel{display:flex;flex:1;flex-direction:column;min-height:0;width:100%;max-width:900px;margin:0 auto;color:var(--ui-ink)}.r11-panel-heading{display:flex;align-items:center;gap:12px;flex:none;min-height:62px;padding:8px 0 12px;border-bottom:1px solid var(--ui-line)}.r11-panel-heading h1{font-size:23px;letter-spacing:-.025em;flex:1;min-width:0}.r11-panel-scroll{display:flex;flex:1;min-height:0;flex-direction:column;gap:18px;overflow:auto;overscroll-behavior:contain;padding:16px 0 28px;scrollbar-width:thin;scrollbar-color:var(--ui-line) transparent}.r11-panel-scroll>*{flex-shrink:0}.r11-panel p{font-size:14px;line-height:1.55}.r11-panel h2{font-size:19px;letter-spacing:-.02em}.r11-muted{color:var(--ui-muted)}.r11-error,.r11-notice{padding:14px 16px;border-radius:12px;background:var(--ui-accent-soft);color:var(--ui-ink)}.r11-error{display:flex;flex-direction:column;align-items:flex-start;gap:10px;background:var(--ui-danger-soft)}.r11-error p{color:var(--ui-danger)}.r11-empty{display:flex;flex-direction:column;gap:10px;padding:24px 18px;border:1px solid var(--ui-line);border-radius:16px;background:var(--ui-surface)}.r11-empty h2{font-size:20px}.r11-panel button{min-height:44px}.r11-panel :is(button,a,input,select,summary):focus-visible{outline:3px solid var(--ui-focus);outline-offset:3px}.r11-history-filters{display:grid;grid-template-columns:1fr 1fr;gap:12px}.r11-history-filters label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:650;margin:0;min-width:0}.r11-history-filters select{min-height:48px;padding-left:10px;font-size:15px}.r11-history-list{display:flex;flex-direction:column;gap:10px;list-style:none;padding:0;margin:0}.r11-history-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;width:100%;padding:14px 12px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-surface);text-align:left;align-items:center}.r11-history-avatar{width:40px;height:40px;object-fit:contain;border-radius:11px;background:var(--ui-accent-soft)}.r11-history-row-copy{display:flex;min-width:0;flex-direction:column;gap:5px}.r11-history-row-copy strong{font-size:14px;font-weight:750;line-height:1.35;overflow-wrap:anywhere}.r11-history-row-copy>span,.r11-history-row-copy>time{font-size:12px;font-weight:400;color:var(--ui-muted);line-height:1.4}.r11-history-row>.ui-icon{display:none}.r11-result{display:inline-flex;justify-content:center;align-items:center;max-width:100%;padding:6px 8px;border-radius:8px;background:var(--ui-bg);color:var(--ui-muted);font-size:12px;font-weight:750;line-height:1.3;text-align:center}.r11-result.win{background:var(--ui-accent-soft);color:var(--ui-accent-ink)}.r11-result.loss{background:var(--ui-danger-soft);color:var(--ui-danger)}.r11-result.draw{border:1px solid var(--ui-line);color:var(--ui-ink)}.r11-load-more{width:100%}.r11-game-summary{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.r11-game-summary>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.r11-game-summary strong{font-size:15px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}.r11-game-summary>div>span{font-size:12px;color:var(--ui-muted);line-height:1.4}.r11-game-summary>.r11-result{flex:none}.r11-replay{display:flex;flex-direction:column;gap:8px;min-width:0}.r11-replay-stage{display:grid;grid-template-columns:14px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 16px;gap:3px;width:min(100%,calc(100dvh - 330px));min-width:180px;max-width:420px;align-self:center}.r11-replay-board{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(var(--replay-size),minmax(0,1fr));grid-template-rows:repeat(var(--replay-size),minmax(0,1fr));aspect-ratio:1;border:4px solid var(--replay-frame);border-radius:7px;overflow:hidden;background:var(--replay-frame)}.r11-replay-board:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background-image:var(--replay-texture);background-size:cover;opacity:.12}.r11-replay-cell{position:relative;display:grid;place-items:center;min-width:0;min-height:0}.r11-replay-cell.light{background:var(--replay-light)}.r11-replay-cell.dark{background:var(--replay-dark)}.r11-replay-cell.is-trace:after{content:"";position:absolute;inset:1px;z-index:3;pointer-events:none;border:2px solid var(--ui-accent-ink);border-radius:3px;background:color-mix(in srgb,var(--ui-accent-soft) 25%,transparent)}.r11-replay-cell img{position:relative;z-index:2;display:block;width:100%;height:100%;object-fit:contain}.r11-replay-ranks,.r11-replay-files{display:grid;color:var(--ui-muted);font-size:11px;line-height:1;align-items:center;text-align:center}.r11-replay-ranks{grid-template-rows:repeat(var(--replay-size),1fr);padding:4px 0}.r11-replay-files{grid-column:2;grid-template-columns:repeat(var(--replay-size),1fr);padding:0 4px}.r11-replay-controls{position:sticky;bottom:0;z-index:4;display:flex;flex-direction:column;gap:8px;padding:9px 0 2px;background:var(--ui-bg)}.r11-panel .r11-replay-step{font-size:12px;color:var(--ui-muted);line-height:1.4;min-height:17px;overflow-wrap:anywhere}.r11-replay-controls input[type=range]{width:100%;min-height:28px;height:28px;padding:0;margin:0;background:transparent;border:0;accent-color:var(--ui-accent)}.r11-transport{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.r11-transport button{height:44px;padding:10px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-surface);color:var(--ui-accent-ink)}.r11-transport .ui-icon{width:22px;height:22px}.r11-statistics{border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-surface)}.r11-statistics>summary,.r11-achievement-help>summary{min-height:44px;padding:14px 16px;cursor:pointer;color:var(--ui-accent-ink);font-size:14px;font-weight:700}.r11-statistics-body{display:flex;flex-direction:column;gap:18px;padding:0 16px 18px}.r11-facts{display:flex;flex-direction:column;gap:10px;margin:0}.r11-facts>div{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;font-size:13px;line-height:1.5}.r11-facts dt{color:var(--ui-muted);flex:none}.r11-facts dd{margin:0;color:var(--ui-ink);text-align:right}.r11-stat-table-wrap{max-width:100%;overflow:auto}.r11-stat-table-wrap table{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}.r11-stat-table-wrap caption{text-align:left;font-size:15px;font-weight:750;margin-bottom:10px}.r11-stat-table-wrap th,.r11-stat-table-wrap td{border-bottom:1px solid var(--ui-line);padding:9px 4px;text-align:center;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.r11-stat-table-wrap th:first-child{width:43%;text-align:left}.r11-stat-table-wrap tbody th{font-weight:600}.r11-stat-table-wrap>p{font-size:12px;margin-top:9px}.r11-reward-summary{display:flex;flex-direction:column;gap:10px}.r11-reward-summary h2{font-size:17px}.r11-earned-in-game{list-style:none;margin:0;padding:0;display:grid;gap:6px}.r11-earned-in-game button{width:100%;justify-content:flex-start;text-align:left;padding:10px 0;font-size:14px}.r11-earned-in-game button>span{flex:1}.r11-earned-in-game .ui-icon{width:18px;height:18px}.r11-ap-total{flex:none;padding:8px 9px;border-radius:10px;color:var(--ui-accent-ink);background:var(--ui-accent-soft);font-size:14px;line-height:1.3;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.r11-achievement-intro{display:flex;flex-direction:column;gap:7px}.r11-achievement-help>summary{padding:9px 0;font-size:13px}.r11-achievement-help ul{display:flex;flex-direction:column;gap:9px;margin:4px 0 8px;padding-left:20px;color:var(--ui-muted);font-size:13px;line-height:1.5}.r11-achievement-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:3px;border-radius:12px;background:var(--ui-accent-soft)}.r11-achievement-filters button{font-size:13px;font-weight:650;padding:10px 5px;background:transparent;color:var(--ui-muted);border-radius:9px}.r11-achievement-filters button.selected{color:var(--ui-accent-ink);background:var(--ui-surface)}.r11-nearest{display:flex;flex-direction:column;gap:8px}.r11-nearest h2{font-size:17px;margin-bottom:2px}.r11-nearest>button{width:100%;justify-content:space-between;gap:12px;padding:12px 14px;text-align:left;border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-surface)}.r11-nearest>button>span{display:flex;flex:1;min-width:0;justify-content:space-between;align-items:center;gap:12px}.r11-nearest strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}.r11-nearest small{font-size:12px;flex:none;color:var(--ui-muted);font-weight:500;font-variant-numeric:tabular-nums}.r11-nearest .ui-icon{width:18px;height:18px}.r11-achievement-family{display:flex;flex-direction:column;gap:10px}.r11-achievement-family>h2{font-size:18px;margin:6px 0 3px}.r11-achievement{scroll-margin:12px;padding:14px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-surface)}.r11-achievement.is-earned{border-color:var(--ui-accent);background:color-mix(in srgb,var(--ui-accent-soft) 38%,var(--ui-surface))}.r11-achievement-title{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0 0 8px;gap:10px;min-height:44px;border:0;border-radius:6px;text-align:left;background:transparent;color:var(--ui-ink)}.r11-achievement-title>span{display:flex;align-items:center;gap:7px;flex:1;min-width:0}.r11-achievement-title strong{font-size:15px;line-height:1.35;overflow-wrap:anywhere}.r11-achievement-title>.ui-icon{width:18px;height:18px;transition:transform .15s}.r11-achievement-title[aria-expanded=true]>.ui-icon{transform:rotate(90deg)}.r11-achievement-title>span>.ui-icon{width:18px;height:18px;color:var(--ui-accent-ink)}.r11-panel .r11-achievement>p{font-size:13px;line-height:1.5}.r11-achievement-progress{margin-top:12px}.r11-achievement-progress>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--ui-muted);font-variant-numeric:tabular-nums}.r11-achievement-progress progress{display:block;appearance:none;width:100%;height:5px;margin-top:7px;border:0;border-radius:4px;overflow:hidden;background:var(--ui-line);accent-color:var(--ui-accent)}.r11-achievement-progress progress::-webkit-progress-bar{background:var(--ui-line)}.r11-achievement-progress progress::-webkit-progress-value{background:var(--ui-accent)}.r11-achievement-progress progress::-moz-progress-bar{background:var(--ui-accent)}.r11-achievement-award{display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;margin-top:12px;font-size:12px;font-weight:700;color:var(--ui-accent-ink);font-variant-numeric:tabular-nums}.r11-achievement-award>span:last-child:not(:nth-child(2)){font-weight:400;color:var(--ui-muted)}.r11-achievement-details{display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--ui-line);padding-top:12px;margin-top:12px}.r11-panel .r11-achievement-details>p{font-size:13px}.r11-cosmetic-rewards{display:flex;flex-direction:column;gap:8px}.r11-cosmetic-rewards h3{font-size:14px;letter-spacing:0}.r11-cosmetic-rewards>button{width:100%;justify-content:space-between;text-align:left;font-size:14px}.r11-cosmetic-rewards>button>span{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.r11-cosmetic-rewards small{font-size:12px;color:var(--ui-muted);font-weight:400}.r11-ap-rewards{display:flex;flex-direction:column;gap:12px;padding:18px 16px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-surface)}.r11-ap-rewards h2{font-size:18px}.r11-ap-rewards>button{justify-content:space-between;font-size:14px}@media(min-width:760px){.r11-panel{max-width:760px}.r11-panel-heading h1{font-size:26px}.r11-history-row{grid-template-columns:44px minmax(0,1fr) auto 20px;padding:16px}.r11-history-row>.ui-icon{display:block;width:18px;height:18px}.r11-history-row-copy strong{font-size:15px}.r11-game-summary strong{font-size:17px}.r11-replay-stage{width:min(100%,420px)}.r11-achievement-family{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px}.r11-achievement-family>h2{grid-column:1/-1}.r11-achievement{height:100%}.r11-nearest>button{padding:13px 16px}}@media(max-width:350px){.r11-panel-heading{gap:9px}.r11-panel-heading h1{font-size:21px}.r11-ap-total{font-size:13px;padding:8px}.r11-history-row{grid-template-columns:34px minmax(0,1fr);column-gap:9px;row-gap:5px}.r11-history-avatar{width:34px;height:34px}.r11-history-row>.r11-result{grid-column:2;justify-self:start}.r11-history-row-copy strong{font-size:14px}.r11-history-row-copy>time{font-size:11px}.r11-game-summary{flex-wrap:wrap}.r11-game-summary>.r11-result{font-size:11px}.r11-achievement{padding:12px}.r11-achievement-award{gap:7px 10px}.r11-nearest>button>span{gap:8px}}@media(orientation:landscape)and (max-height:620px){.r11-panel-heading{min-height:52px;padding-top:4px;padding-bottom:8px}.r11-panel-scroll{padding-top:12px}.r11-replay{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr);gap:14px;align-items:center}.r11-replay-stage{width:min(100%,240px);min-width:160px}.r11-replay-controls{position:static;min-width:0}.r11-replay>.r11-notice{grid-column:1/-1}.r11-achievement-family{grid-template-columns:1fr 1fr}.r11-game-summary{flex-wrap:nowrap}}@media(prefers-reduced-motion:reduce){.r11-panel *{scroll-behavior:auto!important;transition:none!important}}.r11-history-link{display:flex;gap:10px;align-items:center;justify-content:start;min-height:48px;width:100%;padding:10px 4px;background:transparent;color:var(--ui-accent-ink);font-size:14px}.r11-history-link>svg:last-child{margin-left:auto;width:16px}.r11-profile-links{display:grid;gap:10px}.r11-profile-links .r7-settings-link{display:flex;align-items:center;gap:12px}.r11-profile-links .r7-settings-link>span{flex:1;min-width:0}.r11-profile-links .r7-settings-link>.ui-icon{color:var(--ui-accent-ink)}.r7-profile-stats.r11-profile-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.r11-collection-filters{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.r11-earned-label{display:inline-flex;gap:5px;align-items:center}.r11-earned-label>.ui-icon{width:15px;height:15px}.r11-unlock-requirement{margin:0 0 12px!important;font-weight:650;color:var(--ui-ink)!important}.r11-earned-description{padding:12px;border-radius:12px;background:var(--ui-accent-soft);color:var(--ui-accent-ink)!important}.r7-item-detail>.r11-earned-description{font-size:13px}.r11-inline-award{display:flex;align-items:center;gap:7px;width:100%;min-width:0;color:var(--ui-accent-ink);font-size:12px;line-height:1.3}.r11-inline-award>.ui-icon{width:18px;height:18px;flex:none}.r11-inline-award>span{flex:1;min-width:0;display:grid;gap:2px}.r11-inline-award strong{font-size:12px;font-weight:750}.r11-inline-award small{font-size:11px;color:var(--ui-muted)}.r11-inline-award>button{min-height:44px;padding:4px;font-size:11px;flex:none;max-width:70px}.endgame-reward>div{flex-wrap:wrap;gap:8px 16px}.r11-game-awards{margin-top:20px;border-top:1px solid var(--ui-line);padding-top:16px;display:grid;gap:8px}.r11-game-awards h3{font-size:14px;letter-spacing:0;margin:0 0 4px}.r11-game-award-row{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:8px 0;text-align:left;border-radius:0;border-bottom:1px solid var(--ui-line);font-size:12px;background:transparent}.r11-game-award-row>span{flex:1;min-width:0}.r11-game-award-row>strong{flex:none;color:var(--ui-accent-ink);font-size:12px}.r11-game-award-row>.ui-icon{width:17px;height:17px;color:var(--ui-accent-ink)}.r11-game-awards summary{font-size:13px;font-weight:650;padding:8px 0;min-height:44px;cursor:pointer;color:var(--ui-accent-ink)}.r11-game-unlocks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.r11-game-unlocks>button{min-width:0;display:flex;flex-direction:column;gap:6px;padding:10px 4px;background:var(--ui-accent-soft);border-radius:12px}.r11-game-unlocks strong{font-size:11px;overflow-wrap:anywhere}.r11-unlock-art{display:grid;place-items:center;height:48px;width:60px;max-width:100%;overflow:hidden}.r11-unlock-art .r7-piece-preview{height:48px;width:60px}.r11-unlock-art .r7-piece-preview img{width:37px;height:37px}.r11-unlock-art .r7-piece-preview img.light{left:0;top:0}.r11-unlock-art .r7-piece-preview img.dark{right:0;bottom:0}.r11-unlock-art .r7-avatar{width:44px;height:44px}.r11-unlock-art .r7-board-preview{width:46px;height:46px;padding:2px;border-width:0;border-radius:5px}@media(max-width:520px){.r11-collection-filters{width:100%;justify-content:flex-end}.r7-filter-row>.r11-collection-filters .r7-owned-filter{margin:0}}@media(max-width:359px){.r11-profile-stats strong{font-size:20px}.r7-profile-stats.r11-profile-stats{gap:8px}.r11-game-unlocks{gap:6px}.r11-inline-award{gap:5px}}.premium-app.in-dashboard:has(.r11-replay){display:flex;gap:0}.premium-app:has(.r11-replay)>.topbar,.premium-app:has(.r11-replay)>.r7-nav{display:none}.endgame-reward>.r11-reward-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.r11-reward-totals>strong{display:flex;flex-direction:column;gap:3px;min-width:0;font-size:18px;line-height:1.2;font-variant-numeric:tabular-nums}.r11-reward-totals small{font-size:11px;font-weight:600;color:var(--ui-accent-ink)}.r7-dashboard{display:flex;flex:1;min-height:0;width:100%;max-width:1040px;margin:0 auto;color:var(--ui-ink,#122d2b)}.r7-scroll{display:flex;flex:1;min-height:0;flex-direction:column;gap:16px;overflow:auto;overscroll-behavior:contain;padding:14px 0 24px;scrollbar-width:thin;scrollbar-color:var(--ui-line,#dde5df) transparent}.r7-scroll>*{flex-shrink:0}.r7-dashboard h1,.r7-dashboard h2,.r7-dialog h2{font-family:inherit;color:var(--ui-ink,#122d2b);letter-spacing:-.025em;font-weight:750;margin:0}.r7-dashboard h1{font-size:28px;line-height:1.15}.r7-dashboard h2{font-size:19px;line-height:1.3}.r7-dashboard p,.r7-dialog p{font-size:14px;line-height:1.55;color:var(--ui-muted,#53665f);margin:0}.r7-dashboard svg,.r7-dialog svg{width:20px;height:20px;flex:none}.r7-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.r7-page-heading{display:flex;flex-direction:column;gap:7px;padding:4px 0}.r7-heading-balance{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:12px}.r7-heading-balance>div{min-width:0}.r7-heading-balance p{margin-top:7px}.r7-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.r7-section-title>span{font-size:14px;font-variant-numeric:tabular-nums;color:var(--ui-muted,#53665f)}.r7-avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:48px;height:48px;border-radius:12px;overflow:hidden;background:var(--ui-accent-soft,#e7f0e9)}.r7-avatar img{display:block;width:100%;height:100%;object-fit:contain}.r7-avatar.is-large{width:80px;height:80px;border-radius:16px}.r7-coins{display:inline-flex;align-items:center;gap:6px;flex:none;white-space:nowrap;color:var(--ui-accent,#0b614e);background:var(--ui-accent-soft,#e7f0e9);padding:8px 10px;border-radius:12px;line-height:1.2;font-size:15px;font-variant-numeric:tabular-nums}.r7-coins strong{font-weight:750}.r7-coins svg{width:18px;height:18px}.r7-welcome{padding:0}.r7-welcome-main{display:flex;align-items:center;gap:10px;min-height:46px}.r7-welcome-main>.r7-avatar{width:42px;height:42px}.r7-welcome-name{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.r7-welcome-name strong{font-size:16px;font-weight:750;line-height:1.25;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.r7-welcome-name>span{font-size:12px;line-height:1.3;color:var(--ui-muted,#53665f);font-variant-numeric:tabular-nums}.r7-welcome>progress{display:block;appearance:none;width:100%;height:3px;margin-top:8px;border:0;border-radius:3px;overflow:hidden;background:var(--ui-line,#dde5df);accent-color:var(--ui-accent,#0b614e)}.r7-welcome>progress::-webkit-progress-bar{background:var(--ui-line,#dde5df)}.r7-welcome>progress::-webkit-progress-value{background:var(--ui-accent,#0b614e)}.r7-welcome>progress::-moz-progress-bar{background:var(--ui-accent,#0b614e)}.r7-entry{min-width:0}.r7-other-rooms{display:flex;flex-direction:column;gap:10px;margin-top:4px}.r7-other-rooms .r7-section-title{margin-bottom:2px}.r7-resume{display:flex;align-items:center;width:100%;gap:12px;padding:15px;text-align:left;text-decoration:none;border:1px solid var(--ui-line,#dde5df);border-radius:16px;color:var(--ui-ink,#122d2b);background:var(--ui-surface,#fff)}.r7-resume>span:nth-child(2){flex:1;min-width:0}.r7-resume strong{display:block;font-size:15px;font-weight:700;overflow-wrap:anywhere}.r7-resume small{display:block;font-size:13px;font-weight:400;color:var(--ui-muted,#53665f);margin-top:4px}.r7-resume>svg{width:16px;height:16px;color:var(--ui-muted,#53665f)}.r7-room-symbol{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:12px;background:var(--ui-accent-soft,#e7f0e9);color:var(--ui-accent,#0b614e)}.r7-dashboard button,.r7-dialog button{font-family:inherit;cursor:pointer}.r7-dashboard button:disabled,.r7-dialog button:disabled{cursor:not-allowed;opacity:.5}.r7-dashboard :is(button,a,input,select):focus-visible,.r7-dialog :is(button,a,input,select):focus-visible{outline:3px solid var(--ui-accent,#0b614e);outline-offset:3px}.r7-dashboard .r7-primary,.r7-dialog .r7-primary{min-height:48px;border:0;border-radius:12px;padding:12px 16px;font-size:14px;line-height:1.4;font-weight:700;color:#fff;background:var(--ui-accent,#0b614e);transition:background-color .15s}.r7-dashboard .r7-primary:hover:not(:disabled),.r7-dialog .r7-primary:hover:not(:disabled){filter:brightness(.94)}.r7-dashboard .r7-text,.r7-dialog .r7-text{min-height:44px;padding:10px 12px;border:0;border-radius:12px;background:transparent;font-size:14px;line-height:1.4;font-weight:650;color:var(--ui-accent,#0b614e)}.r7-full{width:100%}.r7-dashboard .r7-icon-button{display:flex;align-items:center;justify-content:center;flex:none;width:44px;min-height:44px;padding:10px;border:1px solid var(--ui-line,#dde5df);border-radius:12px;background:var(--ui-surface,#fff);color:var(--ui-muted,#53665f)}.r7-icon-button.is-favorite{color:var(--ui-accent,#0b614e);background:var(--ui-accent-soft,#e7f0e9)}.r7-icon-button.is-favorite svg{fill:currentColor}.r7-invitations{display:flex;flex-direction:column;gap:12px}.r7-invite{padding:16px;background:var(--ui-accent-soft,#e7f0e9);border-radius:16px;scroll-margin:20px}.r7-invite-description{display:flex;align-items:flex-start;gap:10px}.r7-invite-description>div{min-width:0}.r7-invite-description>.r7-room-symbol{background:var(--ui-surface,#fff)}.r7-invite strong{display:block;font-size:15px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}.r7-invite small{display:block;font-size:13px;line-height:1.45;color:var(--ui-muted,#53665f);margin-top:5px}.r7-invite.is-outgoing{background:var(--ui-surface,#fff);border:1px solid var(--ui-line,#dde5df)}.r7-inline-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:12px}.r7-inline-actions .r7-primary{flex:1}.r7-inline-actions .r7-text{flex-shrink:0}.r7-search{position:relative}.r7-search>svg{position:absolute;top:15px;left:14px;width:20px;height:20px;color:var(--ui-muted,#53665f);pointer-events:none}.r7-dashboard input:not([type=checkbox]),.r7-dialog :is(input,select){width:100%;min-height:50px;border:1px solid var(--ui-line,#dde5df);border-radius:12px;padding:12px 14px;font:inherit;font-size:16px;line-height:1.4;background:var(--ui-surface,#fff);color:var(--ui-ink,#122d2b);caret-color:var(--ui-accent,#0b614e)}.r7-dashboard input::placeholder,.r7-dialog input::placeholder{color:var(--ui-muted,#53665f);opacity:1}.r7-dashboard .r7-search input{padding-left:44px}.r7-filter-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.r7-filter-row>small{font-size:13px;color:var(--ui-muted,#53665f)}.r7-segments{display:inline-flex;gap:3px;padding:3px;background:var(--ui-accent-soft,#e7f0e9);border-radius:12px}.r7-dashboard .r7-segments button{min-height:44px;padding:10px 13px;border:0;border-radius:9px;background:transparent;color:var(--ui-muted,#53665f);font-size:14px;font-weight:650;line-height:1.3}.r7-dashboard .r7-segments button.selected{color:var(--ui-accent,#0b614e);background:var(--ui-surface,#fff)}.r7-dashboard .r7-owned-filter{min-height:44px;border:1px solid var(--ui-line,#dde5df);border-radius:12px;padding:10px 12px;background:var(--ui-surface,#fff);font-size:13px;font-weight:650;color:var(--ui-muted,#53665f)}.r7-dashboard .r7-owned-filter.selected{border-color:var(--ui-accent,#0b614e);color:var(--ui-accent,#0b614e);background:var(--ui-accent-soft,#e7f0e9)}.r7-player-list{display:grid;gap:12px}.r7-player-card{display:grid;grid-template-columns:48px minmax(0,1fr) 44px;align-items:center;gap:12px;padding:16px;border:1px solid var(--ui-line,#dde5df);border-radius:16px;background:var(--ui-surface,#fff)}.r7-player-info{min-width:0}.r7-player-info strong{display:block;overflow-wrap:anywhere;font-size:16px;font-weight:700;line-height:1.3}.r7-player-info small{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:13px;line-height:1.4;color:var(--ui-muted,#53665f);margin-top:4px}.r7-player-info i{width:6px;height:6px;border-radius:50%;background:var(--ui-muted,#53665f);flex:none}.r7-player-info i.online{background:var(--ui-accent,#0b614e)}.r7-public-id{display:block;font-size:12px;color:var(--ui-muted,#53665f);margin-top:4px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.r7-player-actions{grid-column:1/-1;display:flex;align-items:center;gap:8px}.r7-player-actions .r7-primary{flex:1;min-width:0}.r7-player-actions .r7-block{font-size:13px;padding-left:8px;padding-right:8px}.r7-player-card.is-blocked .r7-player-info{opacity:.65}.r7-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:26px 20px;text-align:center;background:var(--ui-surface,#fff);border:1px solid var(--ui-line,#dde5df);border-radius:16px}.r7-empty>img{width:64px;height:64px;object-fit:contain;margin-bottom:6px}.r7-empty h2{font-size:20px}.r7-empty p{max-width:34ch}.r7-error,.r7-feedback,.r7-retry{padding:13px 15px;border-radius:12px;font-size:14px;line-height:1.5}.r7-dashboard .r7-error,.r7-dialog .r7-error{background:#fff0ed;color:#8b302a}.r7-dashboard .r7-feedback,.r7-dialog .r7-feedback{background:var(--ui-accent-soft,#e7f0e9);color:var(--ui-accent,#0b614e)}.r7-muted{font-size:14px;color:var(--ui-muted,#53665f);line-height:1.5}.r7-retry{background:var(--ui-surface,#fff)}.r7-dashboard .r7-collection-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;gap:8px;padding:16px 12px;border:1px solid var(--ui-line,#dde5df);border-radius:16px;background:var(--ui-surface,#fff);color:var(--ui-ink,#122d2b);text-align:center;transition:border-color .15s,background-color .15s}.r7-dashboard .r7-collection-card.is-equipped{border-color:var(--ui-accent,#0b614e);background:var(--ui-accent-soft,#e7f0e9)}.r7-collection-card>strong{font-size:15px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}.r7-item-price{display:flex;align-items:center;justify-content:center;min-height:32px;font-size:13px;color:var(--ui-muted,#53665f);margin-top:auto}.r7-item-price .r7-coins{font-size:13px;padding:6px 8px;gap:4px;background:transparent}.r7-item-price .r7-coins svg{width:16px;height:16px}.r7-collection-card.is-equipped .r7-item-price{color:var(--ui-accent,#0b614e);font-weight:700}.r7-collection-card>.r7-avatar{width:100px;max-width:100%;height:112px;border-radius:12px;margin:2px 0 6px;background:transparent}.r7-piece-preview{position:relative;display:block;flex:none;width:140px;max-width:100%;height:120px;margin:0 auto 8px}.r7-piece-preview>img,.r7-display-piece{position:absolute;display:block;width:76%;height:88%;object-fit:contain}.r7-piece-preview .light{left:0;top:0}.r7-piece-preview .dark{right:0;bottom:0}.r7-piece-preview.is-large{width:240px;height:210px;margin:8px auto 20px}.r7-display-piece{border-radius:50%;height:70%;top:12%;border:5px double var(--ui-line,#dde5df);background:var(--ui-surface,#fff)}.r7-display-piece.dark{background:var(--ui-ink,#122d2b)}.r7-dialog{position:fixed;inset:auto 0 0;box-sizing:border-box;margin:0 auto;padding:0;width:min(100%,520px);max-width:100%;max-height:calc(100dvh - 20px);border:0;border-radius:20px 20px 0 0;overflow:hidden;color:var(--ui-ink,#122d2b);background:var(--ui-surface,#fff);box-shadow:0 -8px 40px #102d2b1c}.r7-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.r7-dialog::backdrop{background:#102d2b70}.r7-dialog-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--ui-line,#dde5df)}.r7-dialog h2{font-size:21px;line-height:1.3;overflow-wrap:anywhere}.r7-dialog .r7-close{display:flex;align-items:center;justify-content:center;flex:none;width:44px;min-height:44px;padding:10px;border:0;border-radius:12px;background:var(--ui-accent-soft,#e7f0e9);color:var(--ui-ink,#122d2b)}.r7-dialog-scroll{overflow:auto;overscroll-behavior:contain;padding:20px;min-height:0}.r7-dialog-footer{display:flex;flex-direction:column;gap:12px;padding:16px 20px max(20px,env(safe-area-inset-bottom));border-top:1px solid var(--ui-line,#dde5df);background:var(--ui-surface,#fff)}.r7-dialog-footer .r7-primary{font-size:15px;min-height:50px}.r7-dialog label{display:block;font-size:14px;font-weight:650;margin:18px 0 8px;color:var(--ui-ink,#122d2b)}.r7-challenge-person{display:flex;align-items:center;gap:12px;margin-bottom:22px}.r7-challenge-person p{font-size:14px}.r7-balance-row{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;color:var(--ui-muted,#53665f)}.r7-balance-row .r7-coins{background:transparent;padding:0}.r7-item-detail{display:flex;flex-direction:column;gap:12px;text-align:center}.r7-item-detail>.r7-avatar{width:160px;height:160px;margin:0 auto 12px;border-radius:16px}.r7-item-detail>p{max-width:38ch;margin:0 auto}.r7-item-detail>.r7-feedback,.r7-item-detail>.r7-error{max-width:none;width:100%}.r7-profile-card{padding:18px;border:1px solid var(--ui-line,#dde5df);border-radius:16px;background:var(--ui-surface,#fff)}.r7-profile-identity{display:flex;align-items:center;gap:14px}.r7-profile-identity>div{min-width:0}.r7-profile-identity>.r7-avatar{width:64px;height:64px;flex:none}.r7-profile-identity h2{font-size:20px;overflow-wrap:anywhere}.r7-profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid var(--ui-line,#dde5df)}.r7-profile-stats>span{display:flex;flex-direction:column;gap:5px;font-size:13px;color:var(--ui-muted,#53665f);text-align:center}.r7-profile-stats strong{font-size:21px;line-height:1.2;color:var(--ui-ink,#122d2b);font-weight:750;font-variant-numeric:tabular-nums}.r7-settings-card{padding:16px;border:1px solid var(--ui-line,#dde5df);border-radius:16px;background:var(--ui-surface,#fff)}.r7-settings-card>label{display:block;font-size:14px;font-weight:650;margin:0 0 9px;color:var(--ui-ink,#122d2b)}.r7-nickname-row{display:flex;align-items:center;gap:8px}.r7-nickname-row input{min-width:0;flex:1}.r7-nickname-row button{flex:none}.r7-settings-card>p{font-size:13px;margin-top:9px}.r7-settings-card .r7-setting-row{display:flex;align-items:center;gap:14px;min-height:48px;margin:0;cursor:pointer}.r7-setting-row>span{flex:1;min-width:0}.r7-setting-row strong{display:block;font-size:15px}.r7-setting-row small{display:block;font-size:13px;font-weight:400;line-height:1.5;color:var(--ui-muted,#53665f);margin-top:4px}.r7-setting-row input[type=checkbox]{appearance:none;position:relative;display:block;flex:none;width:48px;height:28px;padding:3px;margin:0;border:1px solid var(--ui-muted,#53665f);border-radius:28px;background:var(--ui-line,#dde5df);cursor:pointer}.r7-setting-row input[type=checkbox]:before{content:"";display:block;width:20px;height:20px;border-radius:50%;background:var(--ui-surface,#fff);transition:transform .16s ease-out}.r7-setting-row input[type=checkbox]:checked{background:var(--ui-accent,#0b614e);border-color:var(--ui-accent,#0b614e)}.r7-setting-row input[type=checkbox]:checked:before{transform:translate(20px)}.r7-dashboard .r7-settings-link{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:17px 16px;text-align:left;border:1px solid var(--ui-line,#dde5df);border-radius:16px;background:var(--ui-surface,#fff);color:var(--ui-ink,#122d2b)}.r7-settings-link strong{display:block;font-size:15px}.r7-settings-link small{display:block;font-size:13px;font-weight:400;color:var(--ui-muted,#53665f);margin-top:5px}.r7-settings-link>svg{width:18px;height:18px}.r7-login{padding:16px;border-radius:16px;background:var(--ui-accent-soft,#e7f0e9)}.r7-login h2{font-size:16px;margin-bottom:7px}.r7-login p{font-size:14px}.r7-google{display:flex;align-items:center;justify-content:center;min-height:48px;margin:14px 0 10px;border:1px solid var(--ui-line,#dde5df);border-radius:12px;background:var(--ui-surface,#fff);color:var(--ui-ink,#122d2b);font-size:15px;font-weight:700;text-decoration:none}.r7-dashboard .r7-logout{width:100%;min-height:48px;border:1px solid var(--ui-line,#dde5df);border-radius:12px;background:var(--ui-surface,#fff);color:var(--ui-muted,#53665f);font-size:14px}.r7-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex:none;width:100%;max-width:1040px;margin:0 auto;gap:4px;padding:7px 4px;border-top:1px solid var(--ui-line,#dde5df);background:var(--ui-surface,#fff)}.r7-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-width:0;min-height:58px;padding:3px 2px;border:0;border-radius:12px;font:inherit;font-size:12px;font-weight:600;line-height:1.3;color:var(--ui-muted,#53665f);background:transparent}.r7-nav button.is-active{background:var(--ui-accent-soft,#e7f0e9);color:var(--ui-accent,#0b614e);font-weight:750}.r7-nav-icon{position:relative;display:flex;align-items:center;justify-content:center;width:36px;height:32px}.r7-nav-icon img{display:block;width:36px;height:36px;object-fit:contain}.r7-nav-count{position:absolute;right:-5px;top:-1px;display:grid;place-items:center;min-width:18px;height:18px;border:2px solid var(--ui-surface,#fff);border-radius:10px;background:var(--ui-accent,#0b614e);color:#fff;font-size:10px;line-height:1;padding:1px 3px}.r7-nav button:focus-visible{outline:3px solid var(--ui-accent,#0b614e);outline-offset:-2px}@media(min-width:760px){.r7-scroll{padding-top:20px;gap:20px}.r7-tab-play .r7-scroll{max-width:760px;width:100%;margin:0 auto}.r7-tab-profile .r7-scroll{max-width:600px;width:100%;margin:0 auto}.r7-player-list{grid-template-columns:repeat(2,minmax(0,1fr))}.r7-collection-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.r7-collection-card>.r7-avatar{height:130px}.r7-piece-preview{height:138px}.r7-dialog{bottom:24px;border-radius:20px;max-height:calc(100dvh - 48px)}.r7-nav{max-width:760px;border:1px solid var(--ui-line,#dde5df);border-bottom:0;border-radius:16px 16px 0 0}.r7-nav button{flex-direction:row;gap:8px;min-height:54px;font-size:14px}}@media(max-width:350px){.r7-welcome-main{gap:8px}.r7-welcome-main>.r7-avatar{width:36px;height:36px}.r7-welcome-name strong{font-size:15px}.r7-welcome-main>.r7-coins{font-size:14px;padding:7px}.r7-coins svg{width:16px;height:16px}.r7-filter-row{gap:8px}.r7-dashboard .r7-segments button{padding:10px}.r7-dashboard .r7-owned-filter{padding:10px 9px;font-size:12px}.r7-player-card{padding:13px;gap:10px;grid-template-columns:42px minmax(0,1fr) 44px}.r7-player-card>.r7-avatar{width:42px;height:42px}.r7-profile-card{padding:16px}.r7-profile-identity{gap:10px}.r7-profile-identity>.r7-avatar{width:54px;height:54px}.r7-profile-identity h2{font-size:18px}.r7-dialog-heading,.r7-dialog-scroll,.r7-dialog-footer{padding-left:16px;padding-right:16px}}@media(orientation:landscape)and (max-height:620px){.r7-scroll{padding-top:10px;gap:14px}.r7-nav{padding-top:4px;padding-bottom:4px}.r7-nav button{flex-direction:row;gap:7px;min-height:44px;font-size:12px}.r7-nav-icon,.r7-nav-icon img{width:30px;height:30px}.r7-dialog{bottom:12px;max-height:calc(100dvh - 24px);border-radius:16px}.r7-dialog-heading{padding-top:8px;padding-bottom:8px}.r7-dialog-footer{padding-top:10px;padding-bottom:12px}.r7-item-detail .r7-piece-preview.is-large{width:180px;height:140px;margin:0 auto}.r7-item-detail>.r7-avatar{width:100px;height:100px}.r7-profile-identity>.r7-avatar{width:54px;height:54px}}@media(prefers-reduced-motion:reduce){.r7-dashboard *,.r7-dialog *{transition:none!important;scroll-behavior:auto!important}}:root[data-theme=night] :is(.r7-dashboard,.r7-dialog) .r7-primary,:root[data-theme=night] .r7-nav-count{color:#10271d}.r7-collection-filters{align-items:flex-start}.r7-collection-filters>.r7-segments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.r7-collection-filters>.r7-owned-filter{margin-left:auto}.r7-dashboard .r7-collection-filters .r7-segments button{padding-left:8px;padding-right:8px}.r7-board-preview{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(8,minmax(0,1fr));flex:none;width:128px;max-width:100%;aspect-ratio:1;margin:0 auto 8px;border:4px solid var(--preview-frame);border-radius:8px;overflow:hidden;background:var(--preview-frame)}.r7-board-preview>span{position:relative;display:grid;place-items:center;min-width:0;min-height:0}.r7-board-preview>span.light{background:var(--preview-light)}.r7-board-preview>span.dark{background:var(--preview-dark)}.r7-board-preview:after{content:"";position:absolute;inset:0;z-index:1;background-image:var(--preview-texture);background-size:cover;opacity:.12;pointer-events:none}.r7-board-preview img{position:relative;z-index:2;display:block;width:100%;height:100%;object-fit:contain}.r7-board-preview.is-large{width:252px;border-width:6px;margin:0 auto 4px}.r7-item-detail .r7-board-preview-caption{font-size:13px;color:var(--ui-muted,#53665f)}@media(min-width:520px){.r7-collection-filters{align-items:center;flex-wrap:nowrap}.r7-collection-filters>.r7-segments{width:auto;min-width:280px}.r7-collection-filters>.r7-owned-filter{flex:none}}@media(max-height:620px){.r7-board-preview.is-large{width:180px;border-width:4px}}.game-celebration{display:block;max-width:100%;font-size:21px;font-weight:900;line-height:1.3;color:inherit;animation:celebration-in .18s ease-out;overflow-wrap:anywhere;pointer-events:none}@keyframes celebration-in{0%{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.game-celebration{animation:none}}.arena-moment{position:absolute;z-index:15;pointer-events:none;display:grid;place-items:center;width:62px;height:62px;top:-12px;left:-8px;animation:arena-moment-in 1.9s ease-out both}.arena-moment>img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 4px #26314b33)}.arena-moment.is-new-power{left:auto;right:8px;width:58px;height:58px}.arena-moment>b{position:absolute;bottom:-9px;white-space:nowrap;padding:2px 6px;border-radius:8px;background:#ffd36d;color:#493720;font-size:12px;font-weight:1000}.draw-response-notice{grid-area:help;align-self:center;justify-self:center;z-index:14;padding:10px 14px;background:var(--ui-surface);color:var(--ui-ink);border-radius:14px;box-shadow:var(--toy-depth);font-size:14px;font-weight:800;text-align:center;pointer-events:none}@keyframes arena-moment-in{0%{opacity:0;transform:translateY(8px) scale(.5) rotate(-12deg)}15%{opacity:1;transform:translateY(0) scale(1.12) rotate(6deg)}28%,78%{opacity:1;transform:none}to{opacity:0;transform:translateY(-8px) scale(.85)}}@media(prefers-reduced-motion:reduce){.arena-moment{animation:none}}:root[data-effects=quiet] .arena-moment{animation:none}.notifications-panel{display:grid;gap:20px}.notification-section{padding-top:16px;border-top:1px solid var(--ui-line);display:grid;gap:12px}.notification-section h3{font-size:16px}.notifications-panel p{font-size:14px;line-height:1.5}.notifications-panel .hint{font-size:12px}.notification-toggle{display:flex;align-items:center;gap:12px;padding:10px 0;min-height:44px;font-size:15px;margin:0}.notification-toggle input{width:22px;height:22px;flex:none;accent-color:var(--ui-accent)}.notification-error{padding:12px;background:var(--ui-danger-soft);color:var(--ui-danger);border-radius:12px}.welcome-profile{width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;margin:auto;padding:32px;border:1px solid #dce4d0;border-radius:28px;background:#fffdf5;color:#214d3a;box-shadow:0 24px 90px #18362740}.welcome-profile::backdrop{background:#172f2677;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.welcome-profile form{display:block}.welcome-profile-eyebrow{display:block;font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:#829573}.welcome-profile h1,.mobile-app .welcome-profile h1{font-family:Georgia,Times New Roman,serif;font-size:35px;line-height:1.13;font-weight:400;letter-spacing:-.045em;margin:9px 0 14px;color:#214d3a}.welcome-profile p{font-size:13px;line-height:1.6;color:#7d8e72;margin:0 0 22px}.welcome-profile label,.welcome-profile legend,.mobile-app .welcome-profile label{display:block;font-size:12px;font-weight:650;color:#66805a;margin:0 0 8px}.welcome-profile input:not([type=radio]){width:100%;min-height:46px;font-size:15px;border:1px solid #d9e3cf;border-radius:12px;padding:9px 13px;background:#f9fbf2;color:#244b35}.welcome-profile small{display:block;font-size:10px;line-height:1.4;color:#8b9a80;margin-top:7px}.welcome-profile fieldset{border:0;padding:0;margin:23px 0}.welcome-profile legend{padding:0;margin-bottom:12px}.welcome-profile-avatars{display:flex;gap:13px}.welcome-profile-avatars label,.mobile-app .welcome-profile-avatars label{position:relative;display:flex;flex:1;min-width:0;align-items:center;flex-direction:column;gap:7px;padding:12px;border:1px solid #e0e6d7;background:#f8faef;border-radius:19px;margin:0;cursor:pointer;font-size:12px;color:#7a8b6a}.welcome-profile-avatars label.selected{border-color:#8daa77;background:#edf4e1;box-shadow:inset 0 0 0 1px #afc59844;color:#496d38}.welcome-profile-avatars input[type=radio]{position:absolute;width:1px;height:1px;margin:0;padding:0;opacity:0}.welcome-profile-avatars label:has(input:focus-visible){outline:3px solid #d68b38;outline-offset:3px}.welcome-profile-avatars img{display:block;width:80px;height:80px;object-fit:contain;border-radius:22px}.welcome-profile-check{position:absolute;right:8px;top:7px;font-size:12px;color:#698b51}.welcome-profile button[type=submit],.mobile-app .welcome-profile button[type=submit]{display:block;width:100%;min-height:48px;padding:12px;background:#254f3a;border-radius:12px;color:#fffdf2;font-size:13px;font-weight:650}.welcome-profile p.welcome-profile-note{text-align:center;font-size:10px;margin:11px 0 0;color:#9aa78f}.welcome-profile p.welcome-profile-error{font-size:12px;color:#925c3c;border:1px solid #e8cfba;background:#faeee2;padding:10px 12px;border-radius:11px;margin:0 0 15px;overflow-wrap:anywhere}.welcome-profile :disabled{cursor:wait;opacity:.6}@media(max-width:440px){.welcome-profile{padding:26px 23px;border-radius:24px}.welcome-profile h1,.mobile-app .welcome-profile h1{font-size:31px}}@media(max-height:620px){.welcome-profile{padding:20px}.welcome-profile h1,.mobile-app .welcome-profile h1{font-size:27px;margin-bottom:9px}.welcome-profile p{margin-bottom:14px}.welcome-profile fieldset{margin:16px 0}.welcome-profile-avatars img{width:60px;height:60px}.welcome-profile-avatars label{padding:9px}.welcome-profile small{font-size:9px}}@media(prefers-reduced-motion:reduce){.welcome-profile *{transition:none!important}}@font-face{font-family:Nunito;src:url(/fonts/nunito.ttf) format("truetype");font-style:normal;font-weight:200 1000;font-display:swap}:root{--ui-bg:#fff4db;--ui-surface:#fffdf5;--ui-ink:#26314b;--ui-muted:#625b6e;--ui-line:#e5d7bf;--ui-accent:#2854af;--ui-accent-soft:#e6edfc;--ui-accent-ink:#234a99;--ui-danger:#a9343b;--ui-danger-soft:#ffebe5;--ui-focus:#bd491b;--ui-shadow:0 8px 24px #61432c15;--toy-coral:#f47355;--toy-gold:#ffc947;--toy-depth:0 6px 14px #26314b20;--checker-ink:var(--ui-ink);--checker-muted:var(--ui-muted);--checker-surface:var(--ui-surface);--checker-bg:var(--ui-bg);--checker-line:var(--ui-line);--checker-accent:var(--ui-accent);font:600 16px/1.5 Nunito,ui-sans-serif,system-ui,sans-serif;color:var(--ui-ink);background:var(--ui-bg);color-scheme:light;font-synthesis:none;text-rendering:optimizeLegibility;accent-color:var(--ui-accent)}:root[data-theme=night]{--ui-bg:#18223c;--ui-surface:#243250;--ui-ink:#fff4db;--ui-muted:#c1cbe1;--ui-line:#43516e;--ui-accent:#94b8ff;--ui-accent-soft:#30466e;--ui-accent-ink:#c5d9ff;--ui-danger:#ffb2a5;--ui-danger-soft:#503338;--ui-focus:#ffc947;--ui-shadow:0 8px 24px #0003;color-scheme:dark}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}html{scrollbar-width:thin;scrollbar-color:var(--ui-line) transparent}body{min-width:320px}body,button,input,select,textarea{font-family:Nunito,ui-sans-serif,system-ui,sans-serif}button,input,select,textarea{font-size:16px}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:11px 16px;border:0;border-radius:16px;font-weight:800;line-height:1.3;cursor:pointer;color:var(--ui-ink);background:var(--ui-surface);touch-action:manipulation;transition:background .16s,box-shadow .16s,transform .16s}button:hover:not(:disabled){filter:brightness(1.025)}button:active:not(:disabled){transform:translateY(2px)}button:disabled{cursor:default;opacity:.55}a{color:var(--ui-accent-ink);text-underline-offset:4px;text-decoration-thickness:2px}a:hover{text-decoration-thickness:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--ui-focus);outline-offset:3px}input,select{width:100%;min-width:0;min-height:48px;padding:11px 14px;background:var(--ui-surface);color:var(--ui-ink);border:2px solid var(--ui-line);border-radius:14px;caret-color:var(--ui-accent)}input::placeholder{color:var(--ui-muted);opacity:1}input[type=checkbox],input[type=radio]{min-height:0;width:22px;height:22px}input:disabled,select:disabled{opacity:.6}fieldset{padding:0;margin:0;border:0;min-width:0}label,legend{display:block;font-size:15px;font-weight:800;margin-bottom:7px}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--ui-ink);line-height:1.12;font-weight:900;letter-spacing:-.025em;text-wrap:balance}h1{font-size:36px}h2{font-size:28px}h3{font-size:19px}p{color:var(--ui-muted);font-size:16px;line-height:1.5}small{font-size:13px}img{max-width:100%}::selection{color:#26314b;background:#ffc947}.ui-icon{display:block;flex:none}.sr-only,.r7-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.primary,.r7-primary{background:var(--ui-accent);color:#fff;box-shadow:var(--toy-depth)}.secondary{background:var(--ui-accent-soft);color:var(--ui-accent-ink)}.text-button{background:transparent;color:var(--ui-accent-ink)}.danger{background:var(--ui-danger-soft);color:var(--ui-danger)}.full{width:100%}.icon-button{width:48px;min-width:48px;height:48px;padding:0;flex:none}.hint,.entry-footnote{font-size:14px;color:var(--ui-muted)}.field{display:grid;gap:6px}.field label{margin:0}.piece{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.entry-card{background:var(--ui-surface);padding:24px;border-radius:24px;box-shadow:var(--ui-shadow)}.variants{display:flex;gap:8px}.variant{flex:1;min-width:0;background:var(--ui-surface);outline:2px solid var(--ui-line);outline-offset:-2px;color:var(--ui-muted)}.variant.active{outline-color:var(--ui-accent);background:var(--ui-accent-soft);color:var(--ui-accent-ink)}.loading-screen{display:grid;place-items:center;flex:1;min-height:160px;font-size:18px;color:var(--ui-muted)}.confirmation-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.rules-copy{display:grid;gap:18px}.rules-copy p{font-size:16px}.badge{padding:4px 9px;border-radius:8px;background:var(--ui-accent-soft);font-size:13px;color:var(--ui-accent-ink)}.game-setup{display:grid;gap:20px;min-width:0}.time-setup label{display:flex;align-items:center;gap:12px;min-height:48px}.time-setup p{font-size:14px}.player-clock{font-size:14px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.player-clock.is-low{color:var(--ui-danger)}:root[data-theme=night] .primary,:root[data-theme=night] .r7-primary{color:#18223c}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}:root[data-effects=quiet] *,:root[data-effects=quiet] *:before,:root[data-effects=quiet] *:after{animation:none!important;transition:none!important}.mobile-app{height:100dvh;min-height:0;display:flex;flex-direction:column;gap:8px;padding:max(8px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));overflow:hidden;background:var(--ui-bg);color:var(--ui-ink)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;flex:none;width:100%;max-width:1040px;margin:0 auto}.brand{display:flex;align-items:center;gap:4px;color:var(--ui-ink);font-size:25px;font-weight:1000;letter-spacing:-.04em;text-decoration:none;white-space:nowrap}.checker-logo{width:38px;height:38px;object-fit:contain;margin-right:3px}.brand-domain{color:var(--ui-accent-ink)}.topbar-actions{display:flex;align-items:center;gap:4px}.profile-avatar-button{width:48px;height:48px;padding:0;background:transparent}.profile-avatar-button img{width:44px;height:44px;object-fit:contain}.sound-toggle{background:transparent;color:var(--ui-accent-ink)}.room-exit{font-size:15px;padding:8px}.shell-alert{display:flex;align-items:center;gap:10px;flex:none;width:min(100%,640px);align-self:center;padding:8px 8px 8px 14px;background:var(--ui-danger-soft);color:var(--ui-danger);border-radius:16px;font-size:14px}.shell-alert>span{flex:1;min-width:0;overflow-wrap:anywhere}.home-connection{text-align:center;font-size:14px}.notification-badge,.toy-invitation-dot{width:10px;height:10px;border-radius:50%;background:var(--toy-coral);display:block;flex:none}.r7-dashboard{max-width:820px}.r7-scroll{padding:8px 0 16px;gap:20px}.r7-tab-play .r7-scroll{justify-content:flex-start}.launch-screen{display:grid;gap:18px;max-width:560px;margin:0 auto;width:100%}.launch-scene{text-align:center;position:relative}.launch-scene>img{display:block;width:min(100%,390px);height:clamp(130px,28dvh,260px);object-fit:contain;margin:0 auto}.launch-scene h1{font-size:clamp(32px,5vw,46px);margin-top:4px}.launch-scene p{font-size:16px;margin-top:8px}.launch-modes{display:grid;gap:12px}.launch-mode{display:flex;justify-content:flex-start;min-height:76px;padding:10px 18px;border-radius:22px;box-shadow:0 7px 17px #61432c24;gap:14px}.launch-mode>img{width:54px;height:54px;object-fit:contain}.launch-mode>strong{font-size:23px;flex:1;text-align:left}.launch-mode>.ui-icon{width:24px;height:24px}.launch-mode.is-primary{background:#2854af;color:#fff}.launch-mode.is-computer{background:#ffd36d;color:#493720}.launch-options{display:flex;align-items:center;justify-content:center;gap:14px}.launch-options button{font-size:14px;min-height:48px;padding:6px;background:transparent;color:var(--ui-accent-ink)}.launch-mode-note{text-align:center;font-size:13px}.toy-nav{display:flex;justify-content:center;align-items:center;gap:24px;width:100%;flex:none;margin:0 auto;padding-top:4px}.toy-nav button{background:transparent;display:flex;gap:8px;min-height:48px;padding:4px 10px;font-size:15px;color:var(--ui-accent-ink)}.toy-nav button[aria-current=page]{background:var(--ui-accent-soft)}.toy-nav img{width:34px;height:34px;object-fit:contain}.r7-other-rooms{margin:0}.r7-other-rooms .r7-section-title h2{font-size:17px}.r7-other-rooms .r7-resume{padding:10px 14px;min-height:60px}.r7-scroll:has(.r7-other-rooms) .launch-scene>img{height:150px}.toy-more-art{display:block;width:160px;height:100px;object-fit:contain;margin:0 auto 12px}.toy-more .menu-row>img{width:32px;height:32px;object-fit:contain}.in-game{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right));gap:4px}.match-screen{flex:1;min-height:0;display:flex;justify-content:center;width:100%;overflow:hidden}.match-arena{position:relative;display:grid;width:100%;max-width:620px;height:min(100%,calc(min(100vw - 16px,620px) + 178px));align-self:center;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:48px 58px minmax(0,1fr) 48px;grid-template-areas:"players" "heading" "board" "help";gap:8px;align-content:center}.battle-match .match-arena{height:min(100%,calc(min(100vw - 16px,620px) + 278px));grid-template-rows:48px 58px minmax(0,1fr) 92px 48px;grid-template-areas:"players" "heading" "board" "powers" "help"}.match-heading{grid-area:heading;min-width:0;display:flex;align-items:center;justify-content:center;padding:0;background:var(--ui-accent-soft);border-radius:20px;color:var(--ui-accent-ink)}.turn-summary{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;width:100%;padding:4px 12px}.turn-pawn{width:44px;height:44px;flex:none}.turn-label{font-size:clamp(28px,5.5vw,38px);line-height:1.06;font-weight:1000;letter-spacing:-.03em;text-align:center;overflow-wrap:anywhere}.match-arena[data-turn=mine] .match-heading{background:#ffd36d;color:#493720;box-shadow:0 5px 12px #bc792018}.match-arena[data-turn=mine] .turn-label{animation:toy-turn-arrive .8s cubic-bezier(.16,1,.3,1) 2}.match-arena[data-turn=other] .turn-pawn,.match-arena[data-turn=offline] .turn-pawn,.match-arena[data-turn=waiting] .turn-pawn,.match-arena[data-turn=paused] .turn-pawn{display:none}.match-arena[data-turn=other] .turn-label,.match-arena[data-turn=waiting] .turn-label,.match-arena[data-turn=offline] .turn-label,.match-arena[data-turn=paused] .turn-label{font-size:clamp(24px,5vw,30px)}.match-arena[data-turn=offline] .match-heading{background:var(--ui-danger-soft);color:var(--ui-danger)}.match-players{grid-area:players;display:grid;grid-template-columns:1fr 1fr;gap:10px;min-width:0}.player{position:relative;display:flex;align-items:center;gap:8px;min-width:0;padding:4px 6px;border-radius:16px}.player.active-player{background:var(--ui-accent-soft)}.avatar{display:grid;place-items:center;flex:none;width:40px;height:40px}.avatar>img{display:block;width:100%;height:100%;object-fit:contain}.player-info{min-width:0;flex:1}.player-name{font-size:15px;font-weight:900;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.player-meta{font-size:13px;color:var(--ui-muted)}.match-players .player-meta{display:none}.player-kit{display:flex;gap:5px;flex:none}.piece-stat{position:relative;width:26px;height:26px;display:block}.piece-stat>strong{position:absolute;bottom:-4px;right:-2px;background:var(--ui-surface);border-radius:6px;font-size:12px;line-height:15px;padding:0 3px;min-width:16px;text-align:center}.match-players .piece-stat:nth-child(2){display:none}.match-players .player:has(.piece-stat:nth-child(2) strong:not(:empty)) .piece-stat:nth-child(2){display:block}.battle-avatar-button{width:44px;height:44px;min-width:44px;min-height:44px;padding:0}.battle-secret-orb{width:22px;height:22px;right:-3px;left:auto;top:-4px}.reaction-bubble{position:absolute;z-index:12;top:0;right:0;font-size:30px;pointer-events:none}.toy-cheer{grid-area:board;z-index:12;align-self:start;justify-self:center;pointer-events:none;padding:10px 16px;background:var(--toy-gold);color:#493720;border-radius:16px;box-shadow:var(--toy-depth);margin-top:12px}.toy-cheer .game-celebration{font-size:21px;font-weight:1000;color:inherit;text-align:center}.match-screen .board-stage,.match-screen .battle-layout,.match-screen .battle-board-wrap,.match-screen .board-section.is-fitted{display:contents}.board-square-slot{grid-area:board;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0}.match-screen .board-square-slot .board-scroll{width:var(--fitted-board-size,0px);max-width:100%;flex:none}.match-screen .board-help{grid-area:help;display:flex;align-items:center;gap:8px;min-height:48px;height:auto;padding:0 8px;font-size:15px;line-height:1.25;color:var(--ui-muted)}.board-help-copy{display:flex;align-items:center;gap:6px;flex:1;min-width:0}.board-help-copy>span{flex:1}.board-help-copy>.text-button{min-height:48px;padding:4px;font-size:13px}.board-help-copy>.text-button[style*=hidden]{display:none}.board-utilities{display:flex;flex:none}.board-utilities button{width:48px;height:48px;padding:0;background:transparent;color:var(--ui-accent-ink)}.match-screen .battle-hand{grid-area:powers;display:grid;grid-template-rows:72px 16px;gap:4px;height:92px;min-height:0;min-width:0;padding:0;background:transparent;border:0;align-self:stretch}.match-screen .battle-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:0}.match-screen .battle-card{display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:1fr 1fr;align-content:center;align-items:center;gap:0 4px;padding:5px 7px;height:72px;min-height:0;background:var(--ui-surface);border:0;box-shadow:var(--ui-shadow);border-radius:16px;text-align:left}.match-screen .battle-card>img,.match-screen .battle-card>.map-spell-icon{grid-row:1/-1;width:38px;height:38px;object-fit:contain}.match-screen .battle-card>strong{align-self:end;font-size:13px;line-height:1.1;overflow-wrap:normal;word-break:normal}.match-screen .battle-card>small{align-self:start;font-size:12px;line-height:1.15;margin-top:3px}.match-screen .battle-card[aria-pressed=true]{background:var(--ui-accent-soft);outline:3px solid var(--ui-accent);outline-offset:-3px}.match-screen .battle-card.is-locked{opacity:.72}.match-screen .battle-empty-slot{height:72px;min-height:0;background:color-mix(in srgb,var(--ui-line) 40%,transparent);border:2px dashed var(--ui-line);border-radius:16px;display:grid;place-items:center;font-size:12px;color:var(--ui-muted)}.match-screen .battle-charge{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;margin:0;color:var(--ui-muted)}.match-screen .battle-charge progress{width:56px;height:5px}.match-screen .battle-hand-note{display:none}.match-screen .battle-confirm{grid-area:powers;display:grid;grid-template-columns:auto 1fr 1fr;align-items:center;gap:8px;min-width:0;height:92px;padding:0}.match-screen .battle-confirm>span{display:flex;align-items:center;gap:6px;max-width:120px;font-size:14px}.match-screen .battle-confirm img{width:36px;height:36px}.match-screen .battle-confirm button{min-height:48px;font-size:14px;padding:8px}.match-screen .battle-end-turn{grid-area:powers;align-self:center;margin:0;min-height:48px}.match-screen:has(.battle-confirm) .battle-hand,.match-screen:has(.battle-end-turn) .battle-hand{display:none}.match-screen .match-controls{grid-area:help;display:flex;gap:8px;align-items:center;min-width:0;margin:0;padding:0;height:auto;flex-wrap:wrap}.match-controls>p{flex:1;min-width:90px;font-size:14px;line-height:1.25}.match-controls>.sr-only{flex:none;min-width:0}.match-controls>button{width:auto;flex:1;min-width:120px;min-height:48px;padding:8px;font-size:14px}.draw-actions{display:flex;gap:8px;flex:2;min-width:0}.draw-actions button{flex:1;min-height:48px;font-size:13px;line-height:1.2;padding:8px}.match-screen:has(.match-controls) .board-help{display:none}.r11-inline-award{display:flex;align-items:center;gap:6px;min-width:0}.r11-inline-award small{display:none}.entry-screen{width:100%;flex:1;min-height:0;overflow:auto;display:grid;place-items:center;padding:12px 0}.entry-card{width:min(100%,480px)}.entry-heading{display:grid;gap:12px;margin:12px 0 20px}.invitation-art{display:block;margin:0 auto;width:80px;height:80px}.invited-screen form,.join-form,.start-game-form{display:grid;gap:20px}.nickname-field{display:grid;gap:5px}.entry-identity{display:flex;gap:10px;align-items:center;font-size:14px}.entry-identity>img{width:44px;height:44px;object-fit:contain}.entry-identity>span{flex:1;min-width:0}.entry-identity strong{color:var(--ui-ink)}.entry-identity button{font-size:13px;padding:5px}.entry-options .variant{flex-direction:column;padding:12px 5px;gap:6px;min-height:74px}.entry-options .variant strong{font-size:19px}.entry-options .variant span{font-size:13px}.entry-footnote{margin-top:8px}.join-form #manual-code{letter-spacing:.1em;text-transform:uppercase}.lobby-screen{display:flex;flex-direction:column;gap:20px;width:min(100%,480px);margin:0 auto;padding:12px 0;flex:1;min-height:0;overflow:auto}.lobby-heading{text-align:center}.lobby-heading h1{font-size:34px;margin-bottom:8px}.room-tag,.lobby-time{font-size:13px;color:var(--ui-muted)}.room-tag{display:block;margin-top:8px}.lobby-time{text-align:center}.invitation{padding:20px;border-radius:24px;background:var(--ui-accent-soft);text-align:center}.invitation-label{display:block;font-size:14px}.room-code{font-size:30px;font-weight:1000;letter-spacing:.08em;display:block;margin:6px 0 16px}.invitation-buttons{display:flex;gap:8px}.invitation-buttons button{flex:1;padding:10px;font-size:14px}.lobby-players{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lobby-players .player{flex-direction:column;text-align:center;padding:12px 8px;background:var(--ui-surface)}.lobby-players .avatar{width:80px;height:80px}.lobby-players .player-name{white-space:normal;overflow-wrap:anywhere}.ready-panel{display:grid;gap:10px;margin-top:auto}.ready-panel p{text-align:center;font-size:14px}.ready-panel button{min-height:56px;font-size:18px}.app-sheet{width:min(540px,calc(100% - 24px));max-width:100%;max-height:calc(100dvh - 24px);margin:auto;padding:0;border:0;border-radius:28px;background:var(--ui-surface);color:var(--ui-ink);box-shadow:0 20px 70px #18223c40;overflow:hidden}.app-sheet::backdrop{background:#18223c99}.sheet-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 24px);min-height:0}.sheet-heading{display:flex;align-items:center;gap:10px;flex:none;padding:16px 20px 8px}.sheet-heading h2{font-size:27px;flex:1;min-width:0;overflow-wrap:anywhere}.sheet-heading .icon-button{background:transparent;color:var(--ui-muted)}.sheet-body{padding:16px 24px 24px;overflow:auto;overscroll-behavior:contain;min-height:0}.sheet-footer{flex:none;padding:12px 24px max(18px,env(safe-area-inset-bottom));background:var(--ui-surface)}.sheet-footer>.primary{min-height:54px;justify-content:center;font-size:18px}.sheet-actions{display:grid;gap:16px}.menu-context{font-size:14px}.menu-group{display:grid}.menu-group h3{font-size:15px;margin-bottom:8px}.menu-row{display:flex;justify-content:flex-start;width:100%;min-height:54px;padding:12px 4px;border-radius:0;background:transparent;border-bottom:1px solid var(--ui-line);gap:12px;text-align:left;font-size:16px}.menu-row>.ui-icon:last-child{margin-left:auto;color:var(--ui-muted)}.setting-toggle{display:flex;justify-content:space-between;gap:16px;text-align:left;background:var(--ui-accent-soft);font-size:16px}.setting-toggle strong{font-size:14px;color:var(--ui-accent-ink)}.stats-sheet{overflow:auto}.stats-sheet table{border-collapse:collapse;min-width:320px;font-size:13px;width:100%}.stats-sheet th,.stats-sheet td{padding:8px 5px;border-bottom:1px solid var(--ui-line);text-align:center}.stats-sheet .ui-icon{margin:auto}.match-summary{margin-top:16px;font-size:14px}.reaction-picker{display:flex;gap:10px;margin:20px 0}.reaction-picker button{flex:1;font-size:30px}.endgame-summary{display:grid;gap:16px}.endgame-score{display:flex;align-items:center;justify-content:center;gap:20px;color:var(--ui-muted)}.endgame-score>span{font-size:14px}.endgame-score small{display:block}.endgame-score>strong{font-size:27px;color:var(--ui-ink)}.endgame-actions{display:grid;gap:10px}.endgame-actions>.primary{min-height:58px;font-size:23px}.endgame-secondary-actions{display:flex;justify-content:center;gap:12px}.endgame-secondary-actions button{flex:1;font-size:15px}.endgame-details>summary{min-height:48px;display:flex;align-items:center;cursor:pointer;font-weight:800}.endgame-players{display:grid;gap:16px;margin-top:12px}.endgame-player h3{font-size:17px}.endgame-player-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.endgame-player-stats>div{min-width:0}.endgame-player-stats dt{font-size:13px;display:flex;gap:6px}.endgame-player-stats dd{margin:0;font-size:22px;font-weight:900}.toy-result-art{height:180px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}.toy-result-art>img:first-child{display:block;flex:none;height:100%;max-height:100%;width:100%;object-fit:contain}.toy-result-message,.toy-result-feat{text-align:center}.toy-result-message{font-size:20px;font-weight:800;color:var(--ui-ink)}.toy-result-feat{font-size:16px}.toy-confetti{position:absolute;top:0;left:var(--confetti-x);width:25px;height:30px;object-fit:contain;animation:toy-confetti 1.8s var(--confetti-delay) ease-out both;pointer-events:none}.r7-dashboard .r7-page-heading h1{font-size:32px}.r7-dashboard .r7-primary,.r7-dialog .r7-primary{border-radius:16px;min-height:48px;font-size:16px}.r7-filter-row{display:grid;gap:12px}.r7-segments{display:flex;gap:4px}.r7-segments button{flex:1;min-height:48px}.r11-collection-filters{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.r11-collection-filters button{flex:1;min-height:48px;font-size:14px}.r11-collection-filters select{font-size:14px}.r7-collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.r7-collection-card{border:0!important;background:var(--ui-surface);box-shadow:var(--ui-shadow);border-radius:20px!important;min-height:190px!important}.r7-collection-card.is-equipped{outline:3px solid var(--ui-accent);outline-offset:-3px}.r7-collection-card>.r7-piece-preview{width:130px!important;height:110px!important}.r7-collection-card>.r7-avatar{width:100px!important;height:100px!important;background:transparent}.r7-profile-card{border:0!important;background:var(--ui-surface);border-radius:24px;box-shadow:var(--ui-shadow)}.r7-profile-identity>.r7-avatar{width:90px;height:90px;background:transparent}.r7-profile-stats{gap:14px}.profile-level-progress{display:grid;gap:8px;margin-top:18px;font-size:14px}.profile-level-progress progress{width:100%;height:8px}.r7-login{margin-top:16px}.r7-settings-link{min-height:60px!important}.r7-public-id{font-size:12px}.linked-google-email{overflow-wrap:anywhere}.r7-dialog,.battle-popup{border:0!important;border-radius:24px!important;background:var(--ui-surface)!important;color:var(--ui-ink)!important}.r7-item-detail>.r7-avatar{width:180px;height:180px;background:transparent}.r7-item-detail p{font-size:15px}.map-picker{display:grid;gap:8px}.map-picker img{width:100%;height:130px;object-fit:contain}.dormant-rooms summary{min-height:48px;padding:10px 0;cursor:pointer}.dormant-resume-link{display:flex;justify-content:center;align-items:center;min-height:48px}.link-comparison{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.link-comparison section{min-width:0;overflow-wrap:anywhere}.link-comparison h3{font-size:15px}.link-comparison dt{font-size:13px}.link-comparison dd{margin:0 0 8px;font-weight:900}@keyframes toy-turn-arrive{0%{transform:scale(.94)}35%{transform:scale(1.035)}to{transform:scale(1)}}@keyframes toy-confetti{0%{opacity:0;transform:translateY(-20px) rotate(0)}20%{opacity:1}to{opacity:0;transform:translateY(190px) rotate(var(--confetti-rotate))}}@media(max-width:600px){.app-sheet{margin:auto auto 0;width:100%;max-height:calc(100dvh - max(12px,env(safe-area-inset-top)));border-radius:28px 28px 0 0}.sheet-shell{max-height:calc(100dvh - max(12px,env(safe-area-inset-top)))}.sheet-body{padding:12px 20px 20px}}@media(max-height:700px)and (orientation:portrait){.launch-screen{gap:10px}.launch-scene>img{height:150px}.launch-scene h1{font-size:32px}.launch-scene p{font-size:14px;margin-top:4px}.launch-mode{min-height:66px;padding:7px 16px}.launch-mode>img{width:44px;height:44px}.launch-mode>strong{font-size:21px}.launch-modes{gap:10px}.r7-scroll{padding-top:0}.r7-tab-play .r7-scroll{justify-content:flex-start}.match-arena{gap:3px;grid-template-rows:44px 44px minmax(0,1fr) 48px}.battle-match .match-arena{grid-template-rows:44px 44px minmax(0,1fr) 72px 48px}.turn-pawn{width:34px;height:34px}.match-players{gap:6px}.player{gap:4px;padding:2px}.player-name{font-size:13px}.avatar{width:32px;height:32px}.piece-stat{width:22px;height:22px}.piece-stat>strong{font-size:11px;line-height:13px}.match-screen .battle-hand{height:72px;grid-template-rows:58px 12px;gap:2px}.match-screen .battle-card,.match-screen .battle-empty-slot{height:58px;padding:4px;grid-template-columns:30px minmax(0,1fr)}.match-screen .battle-card>img,.match-screen .battle-card>.map-spell-icon{width:30px;height:30px}.match-screen .battle-card>strong{font-size:12px}.match-screen .battle-card>small{font-size:11px}.match-screen .battle-charge{font-size:10px;line-height:12px}.match-screen .battle-slots{gap:5px}.match-screen .battle-confirm{height:72px;grid-template-columns:1fr 1fr;gap:4px}.match-screen .battle-confirm>span{display:none}.match-screen .board-help{font-size:13px;padding:0 4px}.match-controls>p{font-size:13px}.toy-result-art{height:140px}}@media(max-width:359px){.mobile-app{padding-left:12px;padding-right:12px}.in-game{padding-left:8px;padding-right:8px}.brand{font-size:23px}.checker-logo{width:32px;height:32px}.topbar{gap:4px}.topbar-actions{gap:0}.toy-nav{gap:12px}.launch-options{gap:8px}.turn-label{font-size:28px}.turn-summary{gap:6px;padding:4px 6px}.player-kit{gap:2px}.player-name{font-size:12px}.match-arena[data-turn=other] .turn-label{font-size:25px}.r7-dashboard .r7-page-heading h1{font-size:28px}.sheet-heading{padding:10px 16px 6px}.sheet-heading h2{font-size:25px}.sheet-body{padding:12px 16px 18px}.sheet-footer{padding:10px 16px max(14px,env(safe-area-inset-bottom))}}@media(orientation:landscape)and (max-height:620px){.mobile-app{padding-top:max(4px,env(safe-area-inset-top));padding-bottom:max(4px,env(safe-area-inset-bottom));gap:4px}.in-game .topbar{min-height:44px}.in-game .topbar button{min-height:44px;height:44px}.match-arena,.battle-match .match-arena,.match-screen:has(.match-controls) .match-arena,.battle-match:has(.match-controls) .match-arena{max-width:1000px;height:100%;grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:54px 48px minmax(76px,1fr) 64px;grid-template-areas:"board heading" "board players" "board powers" "board help";gap:6px 16px}.match-screen .battle-hand,.match-screen .battle-confirm{align-self:center}.turn-label{font-size:30px}.match-players .player-name{font-size:12px}.match-screen .board-help{font-size:14px}.launch-screen{grid-template-columns:1fr 1fr;gap:8px 28px;max-width:820px;align-items:center}.launch-scene{grid-row:1/3}.launch-scene>img{height:120px}.launch-scene h1{font-size:30px}.launch-scene p{font-size:14px}.launch-mode{min-height:64px}.launch-mode>img{width:42px;height:42px}.launch-mode>strong{font-size:20px}.launch-options{grid-column:2}.toy-nav,.toy-nav button{min-height:44px}.r7-tab-play .r7-scroll{padding:0;justify-content:flex-start}.lobby-screen{display:grid;grid-template-columns:1fr 1fr;width:min(100%,820px);gap:12px 20px;overflow:auto}.lobby-heading,.lobby-time,.invitation{grid-column:1}.lobby-players{grid-column:2;grid-row:1/4}.ready-panel{grid-column:2}.lobby-players .avatar{width:60px;height:60px}}@media(min-width:900px)and (min-height:621px){.mobile-app{padding:20px 32px 16px;gap:12px}.launch-screen{max-width:600px}.launch-scene>img{height:300px;width:470px}.launch-modes{grid-template-columns:1fr 1fr}.launch-mode{min-height:90px;padding:12px 18px;gap:10px}.launch-mode>strong{font-size:21px}.launch-mode>.ui-icon{display:none}.toy-nav{padding-top:12px}.match-arena{max-width:660px}.r7-collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.r7-dashboard .r7-page-heading h1{font-size:40px}}@media(max-height:460px)and (orientation:portrait){.mobile-app{height:auto;min-height:100dvh;overflow:visible}.match-screen{min-height:510px}.r7-dashboard{min-height:350px}}@media(prefers-reduced-motion:reduce){.toy-confetti{display:none}}:root[data-effects=quiet] .toy-confetti{display:none}.r7-board-preview>span.light{background-image:var(--preview-light-art);background-size:100% 100%}.r7-board-preview>span.dark{background-image:var(--preview-dark-art);background-size:100% 100%}.r7-board-preview{border-image:var(--preview-frame-art) 12% stretch}.r7-board-preview:after{display:none}.r11-replay-cell.light{background-image:var(--replay-light-art);background-size:100% 100%}.r11-replay-cell.dark{background-image:var(--replay-dark-art);background-size:100% 100%}.r11-replay-board:after{display:none}.match-options{padding:4px 0}.match-options>summary{min-height:48px;padding:12px 0;cursor:pointer;font-weight:800}.match-options>.field{padding:12px 0}.r11-panel button,.r11-achievement-title{min-height:48px}.r11-panel-heading h1{font-size:30px}.r11-achievement{border:0;border-radius:20px;background:var(--ui-surface);box-shadow:var(--ui-shadow)}.r11-empty{align-items:center;text-align:center;border:0;border-radius:24px}.r11-empty:before{content:"";display:block;width:140px;height:100px;background:url(/assets/toy/ui/empty.webp) center/contain no-repeat}.r11-history-row{border:0;border-radius:18px;box-shadow:var(--ui-shadow)}.r11-replay-stage{max-width:480px}.r11-panel-heading{border:0}.r11-history-row>.ui-icon{display:block}.r7-owned-filter.selected{background:var(--ui-accent-soft);color:var(--ui-accent-ink)}.r11-replay-cell>.map-terrain-art{position:absolute;inset:0;width:100%;height:100%;z-index:1;object-fit:contain}.r11-reward-totals{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}.r11-reward-totals>div,.r11-reward-totals>strong{display:flex;flex-direction:column;align-items:center;gap:4px}.r11-reward-totals small{font-size:13px;color:var(--ui-muted)}.r12-token-total{display:inline-flex;align-items:center;gap:6px}.r7-profile-stats.r11-profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.r7-profile-stats>span{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.r12-profile-value{display:inline-flex!important;align-items:center;gap:6px}.r7-profile-stats .reward-points{font-size:22px}.r7-tab-play .r7-scroll:not(:has(.r7-other-rooms))>.r7-entry{margin-block:auto}.r7-tab-play .r7-scroll:has(.r7-other-rooms) .launch-scene{display:none}.launch-screen{gap:12px}.launch-scene>img{height:clamp(110px,20dvh,180px)}.launch-scene h1{font-size:34px}.launch-scene p{font-size:14px;margin-top:6px}.game-mode-picker{min-width:0}.game-mode-picker>legend{font-size:18px;font-weight:900;text-align:center;width:100%;margin:0 0 8px}.game-mode-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.game-mode-options>button{position:relative;display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;min-height:102px;padding:8px 5px;background:var(--ui-surface);box-shadow:var(--ui-shadow);border-radius:18px;color:var(--ui-ink)}.game-mode-options>button>img{width:38px;height:38px;object-fit:contain}.game-mode-options strong{font-size:16px;line-height:1.2}.game-mode-options>button>span{font-size:12px;font-weight:650;color:var(--ui-muted);line-height:1.2}.game-mode-options .is-selected{background:var(--ui-accent-soft);outline:2px solid var(--ui-accent);outline-offset:-2px}.game-mode-options .ui-icon{position:absolute;right:7px;top:7px;width:15px;height:15px;color:var(--ui-accent-ink)}.game-mode-picker.is-compact>legend{text-align:left;font-size:15px}.game-mode-picker.is-compact .game-mode-options>button{min-height:68px}.game-mode-picker.is-compact .game-mode-options>button>img{display:none}.launch-mode-note{min-height:32px;display:flex;align-items:center;justify-content:center;font-size:13px;line-height:1.25;color:var(--ui-muted)}.launch-status{text-align:center;font-size:15px}.launch-recovery,.recovery-message{display:flex;align-items:center;gap:12px;padding:14px;background:var(--ui-danger-soft);border-radius:16px;color:var(--ui-danger)}.launch-recovery p,.recovery-message p{flex:1;font-size:14px;color:inherit}.launch-recovery button,.recovery-message button{flex:none;font-size:13px;padding:8px 10px}.inline-error{padding:12px 14px;margin:0 0 16px;background:var(--ui-danger-soft);color:var(--ui-danger);border-radius:14px;font-size:15px;line-height:1.4}.r7-other-rooms{margin-top:14px;gap:10px;padding:16px 0 4px;border-top:1px solid var(--ui-line)}.r7-other-rooms .r7-resume{min-height:76px}.r7-other-rooms .r7-section-title h2{font-size:20px}.room-total{display:inline-block;font-size:14px;padding:3px 7px;background:var(--ui-accent-soft);border-radius:10px;vertical-align:middle}.resume-mode{display:block;font-size:12px;line-height:1.35;color:var(--ui-muted);margin:4px 0;overflow-wrap:anywhere}.rooms-expand{width:100%;min-height:48px}.r7-resume small{font-weight:750}@media(max-height:700px)and (orientation:portrait){.launch-screen{gap:8px}.launch-scene{display:flex;align-items:center;justify-content:center;text-align:left;gap:10px}.launch-scene>img{height:72px;width:100px;margin:0;flex:none}.launch-scene h1{font-size:27px;margin:0}.launch-scene p{display:none}.game-mode-picker>legend{font-size:16px;margin-bottom:6px}.game-mode-options>button{min-height:84px;padding:6px 4px}.game-mode-options>button>img{width:28px;height:28px}.game-mode-options strong{font-size:14px}.game-mode-options>button>span{font-size:11px}.launch-mode-note{min-height:26px;font-size:12px}.launch-modes{gap:8px}.launch-mode{min-height:60px}.launch-mode>img{width:40px;height:40px}.launch-mode>strong{font-size:19px}.launch-options button{min-height:44px}.launch-recovery,.recovery-message{flex-wrap:wrap}}@media(orientation:landscape)and (max-height:620px){.launch-screen{grid-template-columns:1fr 1fr;gap:8px 24px}.launch-scene{grid-column:1;grid-row:1/4}.game-mode-picker{grid-column:2}.launch-mode-note{grid-column:2;min-height:18px}.launch-modes{grid-column:2;grid-template-columns:1fr 1fr;gap:8px}.launch-mode>img{width:32px;height:32px}.launch-mode>strong{font-size:15px}.launch-mode>.ui-icon{display:none}.launch-mode{padding:8px;gap:6px}.launch-options{grid-column:2}.game-mode-options>button{min-height:72px}.game-mode-options>button>img{width:26px;height:26px}.game-mode-options>button>span{display:none}.r7-tab-play .r7-scroll:has(.r7-other-rooms) .launch-screen{grid-template-columns:1fr 1fr}.r7-tab-play .r7-scroll:has(.r7-other-rooms) .game-mode-picker{grid-column:1;grid-row:1/3}.r7-tab-play .r7-scroll:has(.r7-other-rooms) .launch-mode-note{grid-column:2}.r7-tab-play .r7-scroll:has(.r7-other-rooms) .launch-modes{grid-column:2}}.hint-route-marker{position:absolute;bottom:2px;right:2px;z-index:9;display:grid;place-items:center;min-width:18px;height:18px;border-radius:50%;background:#ffd36d;color:#26314b;box-shadow:0 0 0 2px #26314b;font-size:12px;font-weight:1000;pointer-events:none}@media(min-width:900px)and (min-height:621px)and (max-height:780px){.launch-screen{gap:8px}.launch-scene{display:grid;grid-template-columns:128px auto;grid-template-rows:1fr 1fr;justify-content:center;column-gap:16px;text-align:left}.launch-scene>img{grid-row:1/3;width:128px;height:88px;margin:0}.launch-scene h1{align-self:end;margin:0}.launch-scene p{align-self:start;margin-top:4px}.launch-mode-note{min-height:24px}}.board-section .board-frame,.r7-board-preview,.r11-replay-board{border-image-source:var(--board-frame-art);border-image-slice:var(--board-slice);border-image-repeat:stretch}.board-section .square.light,.r7-board-preview>span.light,.r11-replay-cell.light,.toy-puzzle-preview>span.light{background:var(--board-light)}.board-section .square.dark,.r7-board-preview>span.dark,.r11-replay-cell.dark,.toy-puzzle-preview>span.dark{background:var(--board-dark)}.board-section .square:before,.r7-board-preview>span:before,.r11-replay-cell:before,.toy-puzzle-preview>span:before{content:"";position:absolute;inset:0;pointer-events:none;background:var(--board-light-art) center/100% 100%;opacity:.1}.board-section .square.dark:before,.r7-board-preview>span.dark:before,.r11-replay-cell.dark:before,.toy-puzzle-preview>span.dark:before{background-image:var(--board-dark-art);opacity:var(--board-texture-opacity)}.r7-board-preview:after,.r11-replay-board:after{display:none}.board-section .piece-sprite .piece-body>.piece,.r7-board-preview>span>img,.r11-replay-cell>img:not(.map-terrain-art):not(.battle-replay-frost),.toy-puzzle-preview>span>img{filter:drop-shadow(0 1px 1px #11182726)}.board-section .square.dark .coordinate{color:#fff9e8;text-shadow:0 1px 1px #111827}
