.lg-category{color:#e7efff;background:radial-gradient(at 50% 0,#293654,#0c1425 75%);max-width:1100px;min-height:100dvh;margin:auto;padding:24px 18px 32px}.lg-category header{margin-bottom:20px}.lg-category header p{letter-spacing:.15em;color:#dfc58e;margin:16px 0 5px;font-size:11px}.lg-category h1{font-size:28px;font-weight:850}.lg-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.lg-cards .play-mode-banner{min-height:170px}.lg-card-art{background:radial-gradient(#445075,#15243e);place-items:center;display:grid}.lg-card-art>svg{width:85%;max-width:130px;height:85%;max-height:130px}.lg-category-note{color:#afc1db;text-align:center;margin:22px 0 0;font-size:13px}.lg-game .lg-board{touch-action:manipulation;background:#14213b;position:relative;overflow:hidden}.lg-squares{grid-template-rows:repeat(8,minmax(0,1fr));grid-template-columns:repeat(8,minmax(0,1fr));gap:2px;display:grid;position:absolute;inset:5px}.lg-square{cursor:pointer;touch-action:manipulation;background:#263652;border:1px solid #7792b129;border-radius:5px;place-items:center;min-width:0;min-height:0;display:grid;position:relative}.lg-square.is-dark{background:#17253f}.lg-square.is-legal:after{content:"";background:#8df0d4;border-radius:50%;width:20%;height:20%;position:absolute;box-shadow:0 0 8px #64e6bd70}.lg-square.is-legal:has(svg):after{background:0 0;border:2px solid #95f8d2;border-radius:9px;width:85%;height:85%}.lg-square.is-blocked{background:linear-gradient(145deg,#3b465e,#192134);box-shadow:inset 0 0 0 2px #68778f80}.lg-wall{color:#8796ae;width:78%;height:78%;font-size:clamp(16px,3vw,36px);font-weight:800}.lg-square.is-new-wall{animation:.6s ease-in-out 2 lg-danger;box-shadow:inset 0 0 0 2px #ed9e60}.lg-game .lg-square:disabled{opacity:1!important}.lg-square.is-blocked:after{display:none}.lg-square.is-invalid{animation:.35s lg-nudge;box-shadow:inset 0 0 0 2px #ffcb96}.lg-hint .is-legal:after{animation:.65s infinite alternate lg-hint}.lg-moving-piece{pointer-events:none;z-index:3;filter:drop-shadow(0 4px 3px #000a);width:12.5%;height:12.5%;padding:1.2%;transition:left .22s,top .22s;position:absolute}.lg-moving-piece>svg{width:100%;height:100%}.lg-square>.lg-icon{width:78%;height:78%}.lg-rank,.lg-file{z-index:4;pointer-events:none;color:#b8c8e0;font-size:9px;font-weight:650;position:absolute}.lg-rank{top:1px;left:2px}.lg-file{bottom:0;right:2px}.lg-game .match-topbar header{gap:8px;height:auto;min-height:42px}.lg-game .match-topbar header h1{white-space:normal;font-size:19px;line-height:1.1}.lg-game header button{flex-shrink:0;width:40px;height:40px}.lg-game .match-brand{letter-spacing:.13em;text-transform:uppercase;color:#e2c78e;margin-bottom:4px;font-size:10px;display:block}.lg-objective{color:#b7c9e4;margin:7px 0 0;font-size:14px;line-height:1.35}.lg-round-meta{justify-content:space-between;align-items:center;gap:8px;font-size:14px;display:flex}.lg-round-meta>b{color:#ffdda0;white-space:nowrap;font-size:24px}.lg-round-meta small{font-size:11px}.lg-score{color:#bdcce3;flex-wrap:wrap;gap:5px 12px;margin-top:5px;font-size:12px;display:flex}.lg-collected{color:#b6efd9;margin:5px 0 0;font-size:16px}.lg-warning-key{color:#f1c390;margin:5px 0 0;font-size:11px;line-height:1.3}.lg-pieces,.lg-levels{gap:6px;display:grid}.lg-pieces{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:7px}.lg-levels{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:7px}.lg-pieces button,.lg-levels button,.lg-result-actions button,.lg-result>button{color:#eef1fa;background:#293956;border:1px solid #8297bc66;border-radius:10px;min-height:44px;padding:6px;font-size:14px}.lg-pieces [aria-pressed=true],.lg-levels [aria-current=step]{color:#142039;background:linear-gradient(135deg,#f9e2a5,#c69a56);border-color:#ffedbd;box-shadow:0 0 14px #e7b26533}.lg-game .match-actions button{min-height:44px;font-size:14px}.lg-game .match-message{min-height:34px;font-size:13px;line-height:1.35}.lg-game .match-footnote{font-size:11px;line-height:1.35}.lg-game .match-footnote a{color:#e5c38d;text-decoration:underline}.lg-result{background:#14263b;border:1px solid #c9b17477;border-radius:13px;padding:10px}.lg-result h2{color:#ffdda0;margin:0 0 5px;font-size:18px}.lg-result p{margin:4px 0;font-size:12px;line-height:1.3}.lg-result .lg-reward{color:#a6eed5}.lg-result-actions{gap:6px;margin-top:8px;display:grid}.lg-result .match-primary{min-height:44px;padding:8px;font-size:14px}@media (width<=699px){.lg-cards{grid-template-columns:1fr;gap:10px}.lg-category{padding:16px 12px 24px}.lg-category header{margin-bottom:13px}.lg-cards .play-mode-banner{min-height:135px}.lg-cards .play-mode-visual{width:30%}.lg-cards .play-banner-copy{padding:10px 12px}.lg-cards .play-mode-banner h2{font-size:19px}.lg-cards .play-mode-banner p{font-size:13px;line-height:1.35}.lg-cards .play-mode-status{font-size:9px}}@media (width>=700px),(orientation:landscape) and (width>=540px){.lg-game .match-sidebar{gap:20px}.lg-game .match-topbar header{grid-template-columns:minmax(0,1fr) 40px}.lg-game .match-objective{font-size:14px}.lg-game .match-actions{flex-direction:column}.lg-game .lg-pieces button,.lg-game .lg-levels button{min-height:40px;font-size:13px}.lg-game .lg-round-meta{flex-wrap:wrap}.lg-game .lg-score{gap:6px}.lg-game .lg-result-actions{grid-template-columns:1fr}}@media (orientation:landscape) and (height<=620px) and (width>=540px){.lg-game .match-sidebar{gap:8px;padding:10px 12px}.lg-game .match-topbar header h1{font-size:16px}.lg-game header button{width:32px;height:32px}.lg-game .lg-objective{margin-top:4px;font-size:11px}.lg-game .lg-round-meta{font-size:11px}.lg-game .lg-round-meta b{font-size:22px}.lg-game .lg-score{gap:4px 7px;font-size:10px}.lg-game .lg-warning-key{font-size:9px}.lg-game .lg-collected{font-size:13px}.lg-game .lg-pieces button,.lg-game .lg-levels button{min-height:29px;padding:3px;font-size:11px}.lg-game .lg-pieces,.lg-game .lg-levels{gap:4px;margin-bottom:5px}.lg-game .match-message{min-height:28px;margin:3px 0;font-size:11px}.lg-game .match-actions{flex-direction:row}.lg-game .match-actions button{min-height:34px;font-size:11px}.lg-game .match-footnote{font-size:9px}.lg-game .lg-result{padding:7px}.lg-game .lg-result h2{font-size:14px}.lg-game .lg-result p{font-size:10px}.lg-game .lg-result-actions{grid-template-columns:1fr 1fr}.lg-game .lg-result-actions button{min-height:30px;padding:4px;font-size:10px}}@media (width<=539px) and (height<=650px){.lg-game .lg-objective{font-size:12px}.lg-game .lg-pieces button,.lg-game .lg-levels button{min-height:36px}.lg-game .match-message{min-height:26px;font-size:12px}.lg-game .match-footnote{font-size:10px}}@keyframes lg-danger{50%{background:#9b5a3d88}}@keyframes lg-nudge{25%,75%{transform:translate(-2px)}50%{transform:translate(2px)}}@keyframes lg-hint{to{transform:scale(1.35);box-shadow:0 0 13px #8df0d4}}@media (prefers-reduced-motion:reduce){.lg-moving-piece{transition:none}.lg-square,.lg-hint .is-legal:after{animation:none!important}}.lg-game .lg-board,.lg-game .lg-square{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.lg-moving-piece{will-change:transform}.lg-celebration{z-index:5;text-align:center;color:#fff3bd;pointer-events:none;background:#10243eef;border:1px solid #a8efff;border-radius:14px;gap:6px;padding:14px;display:grid;position:absolute;top:10%;left:10%;right:10%;box-shadow:0 0 32px #4ce5fc66}.lg-celebration strong{font-size:clamp(20px,3vw,30px)}.lg-celebration span{font-size:15px}.lg-board.is-winning:not([data-game-type=drone-hunt]) .lg-moving-piece{animation:3s ease-in forwards lg-portal-enter}.lg-board.is-winning [data-target=true]{animation:.8s ease-in-out infinite alternate lg-portal-glow;box-shadow:inset 0 0 24px #72f5ff,0 0 28px #55e9ff}@keyframes lg-portal-enter{0%,15%{opacity:1;transform:scale(1)}55%{opacity:1;transform:scale(.8)rotate(10deg)}to{opacity:0;transform:scale(0)rotate(180deg)}}@keyframes lg-portal-glow{to{filter:brightness(1.7)}}@media (prefers-reduced-motion:reduce){.lg-board.is-winning:not([data-game-type=drone-hunt]) .lg-moving-piece{animation-name:lg-portal-fade}.lg-board.is-winning [data-target=true]{animation:none}@keyframes lg-portal-fade{0%,30%{opacity:1}to{opacity:0}}}@media (width<=1100px) and (orientation:portrait){.mini-games-content .cm-match.lg-game{touch-action:pan-y;height:auto;min-height:100%;padding:8px max(4px, env(safe-area-inset-right,0px)) max(12px, env(safe-area-inset-bottom,0px)) max(4px, env(safe-area-inset-left,0px));position:relative;inset:auto;overflow:visible}.lg-game>.match-layout{grid-template-rows:auto auto auto auto auto;gap:8px;height:auto}.lg-game .match-layout .match-stage{aspect-ratio:1;flex-shrink:0;width:100%;height:auto;container-type:normal}.lg-game .match-layout .lg-board{aspect-ratio:1;width:100%;max-width:none;height:auto}.lg-game .match-topbar,.lg-game .match-details,.lg-game .match-controls,.lg-game .match-footnote{padding-inline:6px}}.lg-level-picker{color:#c8d7ed;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin-bottom:7px;font-size:14px;display:grid}.lg-level-picker select{color:#eef1fa;width:100%;min-width:0;min-height:44px;font:inherit;background:#293956;border:1px solid #8297bc66;border-radius:10px;padding:8px 12px}.lg-level-picker select:focus-visible{outline-offset:2px;outline:2px solid #f9e2a5}.lg-level-picker option{color:#eef1fa;background:#293956}.mf-lesson{color:#c8daec;margin-top:8px;font-size:14px;line-height:1.4}.mf-lesson p{margin:3px 0}.lg-square.mf-danger{background-image:repeating-linear-gradient(135deg,#ef6b841a 0 7px,#2b182c55 7px 14px);box-shadow:inset 0 0 0 1px #f38fa36b}.mf-danger-mark{color:#ffc1ca;font-size:clamp(13px,2vw,22px);font-weight:900;position:absolute;top:1px;right:4px}.mf-guard{filter:drop-shadow(0 2px 3px #000a);place-items:center;width:86%;height:86%;display:grid}.mf-guard svg{width:100%;height:100%}.mf-guard-cell{box-shadow:inset 0 0 0 1.5px #eb8fb0}.mf-attack-rays{pointer-events:none;z-index:5;width:calc(100% - 10px);height:calc(100% - 10px);position:absolute;inset:5px;overflow:visible}.mf-attack-rays polyline{fill:none;stroke:#ffafbd;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:2 1;filter:drop-shadow(0 0 1.3px #ff5f84);animation:.6s ease-in-out infinite alternate mf-ray}@keyframes mf-ray{to{stroke:#fff2ce;stroke-dashoffset:-3px}}@media (prefers-reduced-motion:reduce){.mf-attack-rays polyline{animation:none}}@media (width>=1100px) and (orientation:landscape){.lg-game.is-minefield .match-topbar header h1{font-size:clamp(23px,1.5vw,30px)}.lg-game.is-minefield .lg-objective,.lg-game.is-minefield .mf-lesson,.lg-game.is-minefield .match-message{font-size:18px;line-height:1.45}.lg-game.is-minefield .lg-round-meta{font-size:17px}.lg-game.is-minefield .lg-score{font-size:14px}.lg-game.is-minefield .match-actions button{min-height:48px;font-size:16px}.lg-game.is-minefield .lg-result h2{font-size:24px}.lg-game.is-minefield .lg-result p{font-size:16px}.lg-game.is-minefield .match-footnote{font-size:12px}}
