body:has([data-game-shell]){--game-gutter:clamp(8px, 1.5vw, 24px)}body:has([data-game-shell]) main>.container{width:calc(100% - 2 * var(--game-gutter));max-width:none}body:has([data-game-shell]) .site-header .header-inner{height:56px;min-height:54px;padding-block:0}body:has([data-game-shell]) .desktop-nav a{padding-block:15px}body:has([data-game-shell]) .site-header .brand{font-size:21px}body:has([data-game-shell]) .site-header .brand>svg{width:32px;height:32px}body:has([data-game-shell]) main>.container>.breadcrumb{margin-block:6px;padding-block:2px;font-size:11px}.game-shell{--game-available-height:calc(100dvh - 140px);width:100%;min-width:0;margin:0 auto 24px}.game-heading{align-items:center;gap:12px;min-height:48px;padding-block:5px;display:flex}.game-heading h1{flex:1;min-width:0;margin:0;font-size:clamp(19px,2.1vw,28px);line-height:1.3}.game-heading h1 span{color:var(--purple);margin-inline-start:6px;font-size:.7em}.game-heading .button,.game-back{flex:none;justify-content:center;align-items:center;min-height:44px;padding:8px 12px;font-size:13px;display:inline-flex}.game-back{color:var(--muted);border-radius:10px}.game-viewport{border:1px solid var(--line);background:var(--surface);border-radius:14px;min-width:0;padding:clamp(6px,1vw,14px)}.game-viewport :is(.local-game,.v2-panel,.play-panel){width:100%;min-width:0;max-width:none;box-shadow:none;border:0;border-radius:0;margin:0 auto;padding:0}.game-viewport :is(.local-stats,.dc-stats){gap:8px;margin-block:4px 10px}.game-viewport .local-stats>div{justify-content:space-between;align-items:center;gap:8px;min-height:42px;padding:6px 10px;display:flex}.game-viewport .local-stats span{font-size:11px}.game-viewport .local-stats strong{flex:none;font-size:20px}.game-viewport .local-actions{gap:8px;margin-block:8px}.game-viewport :is(.local-options,.nono-controls){margin-bottom:10px}.game-viewport :is(.local-status,.v2-feedback),.game-viewport :is(.local-help,.local-save,.keyboard-help,.save-status){margin-block:8px}.game-viewport :is(.v2-app,#twentyfour-app,#idiom-app,#logic-app,#brain-teasers-app){max-width:1040px;margin-inline:auto}.game-viewport :is(#bulls-app,#twentyfour-app,#idiom-app,#brain-teasers-app){max-width:940px}.game-viewport #tiles-app{max-width:800px}.game-viewport .tiles-board{width:min(100%, max(250px, calc(var(--game-available-height) - 260px)), 680px);max-width:none;margin-inline:auto}.game-viewport .gomoku-board-wrap{width:min(100%, max(290px, calc(var(--game-available-height) - 190px)), 850px);max-width:none;margin:6px auto}.game-viewport .sudoku-play-surface .board-shell{width:min(100%, var(--sudoku-board-limit,700px), max(225px, calc(var(--game-available-height) - 150px)))}.game-viewport .mines-viewport{max-width:100%}.game-viewport #link-match-app .local-status{min-height:24px}.game-viewport .link-board-wrap{width:min(100%, calc(max(260px, var(--game-available-height) - 220px) * (var(--cols,8) + 1) / (var(--rows,6) + 1)), 650px)}.game-viewport #solitaire-app .sol-board{width:min(100%, max(360px, calc((var(--game-available-height) - 320px) * 2.5)), 1500px);margin-inline:auto}.game-viewport .fc-board{width:min(100%, max(400px, calc((var(--game-available-height) - 400px) * 2.85)), 1500px);margin-inline:auto}.game-viewport .fc-tableau{--step:29px}.game-viewport :is(#solitaire-app,#freecell-app,#spider-app) .sol-selection{min-height:1.5em;margin-block:6px}.game-viewport #dark-chess-app{max-width:1280px}.game-viewport .dc-table{grid-template-columns:minmax(130px,220px) minmax(240px,min(430px,50dvh - 165px)) minmax(130px,220px);justify-content:center}.game-viewport #sudoku-app .sudoku-daily-card{margin-block:0 10px}.game-viewport #sudoku-leaderboard,.game-viewport #personal-records{margin-top:24px}.game-information,.game-notes,body:has([data-game-shell]) main>.container>:is(.sudoku-guide,.faq-section,.v3-related){max-width:1140px;margin-inline:auto}.game-notes{background:var(--soft);border:1px solid var(--line);border-radius:14px;margin-block:24px;padding:18px}.game-notes :is(h2,p){margin-block:8px}.game-notes h2{font-size:19px}.game-notes :is(p,a){font-size:13px;line-height:1.8}.game-notes .eyebrow{font-size:10px}.game-notes :is(.v3-note,.v2-sidebar-note){border:0;margin-block:12px 0;padding:0}.game-shell[data-immersive]{z-index:1000;top:var(--game-window-top,0px);left:var(--game-window-left,0px);width:var(--game-window-width,100%);height:var(--game-window-height,100dvh);box-sizing:border-box;max-width:none;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);background:var(--bg);grid-template-rows:auto minmax(0,1fr);margin:0;display:grid;position:fixed;overflow:hidden}.game-shell[data-immersive]>.game-heading{background:var(--surface);border-bottom:1px solid var(--line);padding:4px 10px}.game-shell[data-immersive]>.game-viewport{overscroll-behavior:contain;border:0;border-radius:0;min-height:0;padding:8px;overflow:auto}.game-shell[data-immersive] :is(.local-save,.keyboard-help,#sudoku-bank-progress,.sudoku-print-link,.gomoku-rule,.nono-zoom-help,#solitaire-help,#freecell-help,#sp-help,#sliding-help,#memory-help,#mines-help,#link-match-help,.sol-deal-controls,.fc-deal-form),.game-shell[data-immersive] :is(#sudoku-leaderboard,#personal-records,.sudoku-personal-records){display:none}.game-shell[data-immersive]>.game-viewport:has(:is(#jigsaw-app[data-view=play],#falling-blocks-app.fb-focus)){padding:0;overflow:hidden}.game-shell[data-immersive] :is(#jigsaw-app[data-view=play]:not(.jig-unfocused),#falling-blocks-app.fb-focus){z-index:auto;width:100%;max-width:none;height:100%;margin:0;position:relative;inset:auto}.game-shell[data-immersive] #falling-blocks-app.fb-focus{padding:6px}.game-shell[data-immersive] #dark-chess-app>:not(.dc-table):not(.dc-fullscreen-exit):not([data-ui=fullscreen-status]){display:none}.game-shell[data-immersive] #dark-chess-app .dc-table{grid-template-columns:minmax(110px,1fr) minmax(220px,min(440px,50dvh - 50px,100vw - 288px)) minmax(110px,1fr);max-width:1200px;margin:auto}@media (width<=767px){.game-heading{gap:5px}.game-heading h1{font-size:19px}.game-heading h1 span{display:none}.game-heading .button,.game-back{padding-inline:8px;font-size:12px}.game-viewport{padding:8px 4px}.game-viewport .local-stats strong{font-size:18px}.game-viewport .dc-table,.game-shell[data-immersive] #dark-chess-app .dc-table{grid-template-columns:repeat(2,minmax(0,1fr))}.game-viewport .dc-board-frame{box-sizing:border-box;grid-column:1/-1;justify-self:center;width:min(100%,max(220px,50dvh - 165px))}.game-shell[data-immersive] #dark-chess-app .dc-board-frame{width:min(100%,50dvh - 70px)}.game-viewport .game-tools button,.game-viewport .number-pad button{min-height:44px}.game-notes{padding:14px}.game-viewport .gomoku-board-wrap{width:min(100%, max(250px, calc(var(--game-available-height) - 354px)))}}@media (width<=430px){.game-heading h1{font-size:17px}.game-back{font-size:11px}}@media (prefers-reduced-motion:reduce){.game-shell{scroll-behavior:auto}}.game-viewport>.play-layout{width:100%;max-width:none;margin:0}[data-game-obscured]{visibility:hidden;pointer-events:none}.game-shell[data-display-mode=immersive] .dc-fullscreen-exit{display:none}.game-viewport :is(#solitaire-app,#freecell-app,#spider-app,#jigsaw-app){max-width:none}.game-viewport .sudoku-daily-card:has(#personal-rows){margin-top:24px}.game-shell[data-immersive] .sudoku-daily-card:has(#personal-rows){display:none}.game-shell .game-viewport .play-panel{box-shadow:none;background:0 0;border:0;padding:0}.game-viewport .sudoku-daily-card:has(#daily-panel[hidden]){border:0;border-radius:0;padding:0}.game-viewport .sudoku-mode-switch .button{min-height:44px;padding:8px 16px}.game-viewport .memory-board{width:min(100%, calc(max(230px, var(--game-available-height) - 150px) * var(--memory-cols,4) / var(--memory-rows,3) * .8));gap:8px;max-width:none;margin-block:10px}@media (width>=900px){.game-viewport .sudoku-play-surface{max-width:calc(min(var(--sudoku-board-limit,620px), var(--game-available-height) - 150px) + 264px);margin-inline:auto}.game-viewport #gomoku-app{grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;display:grid}.game-viewport #gomoku-app>:not(.local-options):not(.local-actions){grid-column:1/-1}.game-viewport #gomoku-app>.local-options{flex-wrap:wrap;margin:0;display:flex}.game-viewport #gomoku-app>.local-options label{flex:1;max-width:240px}.game-viewport #gomoku-app>.local-actions{align-self:end;margin:0}.game-viewport #gomoku-app .local-stats{justify-content:center;gap:12px;margin:0;display:flex}.game-viewport #gomoku-app .local-stats>div{min-width:150px}.game-viewport #gomoku-app>.local-status{text-align:center;margin:0}}.game-viewport .sp-board.is-overview .sol-corner{font-size:max(10px, calc(var(--card) * .24));top:1px;left:1px}.game-viewport .sp-view{padding:8px 4px}.game-viewport .sp-board.is-overview .sp-top{gap:6px}.game-viewport .sp-board.is-overview .sp-column-label{font-size:9px}.game-viewport .sp-board.is-overview .sol-label,.game-viewport .sp-board.is-overview .sp-top h2{font-size:10px}.game-viewport .sliding-board{width:min(100%, max(250px, calc(var(--game-available-height) - 300px)), 680px)}.game-viewport #falling-blocks-app,.game-shell[data-immersive] #falling-blocks-app.fb-focus{--fb-board:min(360px, max(140px, calc((var(--game-available-height) - 210px) / 2)))}.game-viewport .fb-progress{gap:3px;margin-block:6px}.game-viewport .fb-feedback{min-height:0}.game-viewport .fb-status{margin-block:6px}.game-viewport .fb-metric{margin-top:8px;padding-bottom:6px}.game-viewport .fb-metric span{margin-bottom:3px}.game-viewport .fb-metric strong{font-size:20px}.game-viewport .fb-next .fb-preview{height:30px}.game-viewport .fb-next ol{gap:4px}.game-shell[data-immersive] #dark-chess-app{max-width:none}@media (width<=767px){.game-viewport #falling-blocks-app,.game-shell[data-immersive] #falling-blocks-app.fb-focus{--fb-board:min(300px, max(140px, calc((var(--game-available-height) - 340px) / 2)))}}.game-viewport .fc-board .sol-corner{line-height:1}.game-viewport .sp-board.is-overview .sp-top .sol-label{max-width:var(--card);text-overflow:ellipsis;overflow:hidden}.game-shell{--shell-edge:var(--arcade-edge);--shell-grid:var(--shell-edge)}[data-theme=dark] .game-shell{--shell-grid:#8e8aad}.arcade-game-header{gap:12px;padding-block:10px 14px}.arcade-game-header .game-back{width:44px;height:44px;color:var(--ink);background:var(--surface);box-shadow:0 3px 0 var(--shell-edge);padding:0;font-size:22px}.game-header-art{border:2px solid var(--shell-edge);width:54px;height:44px;box-shadow:0 3px 0 var(--purple);background:var(--purple-soft);border-radius:12px;flex:none;place-items:center;display:grid;overflow:hidden}.game-header-art .game-art{width:65px;height:40px}.game-header-title{flex:1;min-width:0}.game-header-title h1{font:400 clamp(19px, 2.2vw, 28px)/1.25 var(--font-heading)}.game-header-title h1>span{font-size:.65em}.game-header-title p{margin-top:3px;font-size:13px}.game-header-tools{flex:none;align-items:center;gap:9px;display:flex}.game-header-tools .game-header-icon{width:44px;height:44px;font:600 22px var(--font-number);padding:0}.game-hud{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.game-hud>div{background:var(--soft);border:0;border-radius:12px;align-items:center;gap:8px;padding:8px 14px;display:flex}.game-hud span{color:var(--muted);font-size:13px}.game-hud strong{font:600 24px/1.2 var(--font-number)}.game-viewport{background:0 0;border:0;padding:8px 0}.game-viewport :is(.local-stats,.dc-stats)>div{background:var(--soft);border:0;border-radius:12px}.game-viewport :is(.local-stats,.dc-stats) strong{font-family:var(--font-number)}.game-viewport :is(.local-options,.nono-controls) select{border:2px solid var(--shell-edge);background:var(--surface);min-height:44px;color:var(--ink);border-radius:12px}.game-viewport :is(.local-dialog,.v2-dialog,.dc-settings,.jig-dialog),.arcade-dialog{border:2px solid var(--shell-edge);box-shadow:0 8px 0 var(--shell-edge);background:var(--bg);color:var(--ink);border-radius:26px}.arcade-dialog{width:min(420px,100vw - 28px);max-height:calc(100dvh - 32px);padding:0;overflow:auto}.arcade-dialog::backdrop{background:#292c3d73}.arcade-dialog-heading{background:var(--purple-soft);border-bottom:2px solid var(--shell-edge);align-items:center;gap:14px;padding:18px 20px;display:flex}.arcade-dialog-heading>svg{flex:none}.arcade-dialog-heading p{color:var(--purple);font-size:12px;font-weight:700}.arcade-dialog-heading h2{font:400 26px/1.3 var(--font-heading)}.arcade-dialog-body{flex-direction:column;gap:16px;padding:22px;display:flex}.arcade-dialog-body p{color:var(--ink);font-size:15px;line-height:1.75}.arcade-dialog-body a{text-underline-offset:4px;font-size:14px}[data-tutorial-content]{flex-direction:column;gap:12px;display:flex}.tutorial-navigation{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.tutorial-navigation [data-tutorial-close]{margin-left:auto}.tutorial-navigation .button{min-height:48px;padding:8px 14px}[data-tutorial-dots]{flex-wrap:wrap;gap:5px;max-width:120px;display:flex}[data-tutorial-dots]>span{background:var(--line);border-radius:99px;width:7px;height:7px}[data-tutorial-dots]>[data-active]{background:var(--purple);width:20px}.tutorial-clock-notice{border:2px dashed var(--purple);background:var(--yellow-soft);border-radius:12px;padding:10px 12px}.game-pause-dialog{text-align:center;max-width:380px}.game-pause-dialog h2{font:400 36px/1.2 var(--font-heading)}.game-pause-dialog .button{min-height:52px;padding:10px 14px}.pause-secondary-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.pause-leave{min-height:44px;color:var(--muted);place-items:center;display:grid}.game-toast{top:calc(env(safe-area-inset-top,0px) + 16px);z-index:1200;border:2px solid var(--shell-edge);width:max-content;max-width:calc(100vw - 32px);box-shadow:0 3px 0 var(--shell-edge);background:var(--yellow-soft);color:var(--ink);pointer-events:none;border-radius:12px;padding:10px 16px;font-size:14px;position:fixed;left:50%;transform:translate(-50%)}.game-toast[data-kind=error]{background:var(--purple-soft);color:var(--error)}.game-shell:has(.arcade-dialog[open])>.game-viewport{filter:blur(10px)}@media (width<=767px){.arcade-game-header{gap:8px}.game-header-art{display:none}.game-header-title h1{font-size:18px}.game-header-title p{font-size:12px}.game-header-tools{gap:7px}.game-header-tools [data-game-fullscreen]{padding-inline:7px;font-size:11px}.game-header-title h1 span{display:none}.game-hud{gap:8px}.game-hud>div{padding:8px 10px}.game-hud strong{font-size:21px}}@media (width<=370px){.arcade-game-header{flex-wrap:wrap}.game-header-title{flex-basis:calc(100% - 60px)}.game-header-tools{margin-left:auto}}@media (prefers-reduced-motion:reduce){.game-shell *{scroll-behavior:auto}}.game-shell .game-viewport :is(.button,.small-button){border:2px solid var(--shell-edge);box-shadow:0 4px 0 var(--shell-edge);border-radius:14px}.game-shell .game-viewport :is(.button,.small-button):not(:disabled):active{box-shadow:none;transform:translateY(4px)}.game-header-title h1{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.game-viewport .tiles-board{border:3px solid var(--shell-edge);background:var(--purple-soft);box-shadow:0 6px 0 var(--shell-edge);border-radius:24px}.game-viewport .tile-cell{background:var(--surface);border-radius:14px}.game-viewport .number-tile{font-family:var(--font-number);border:2px solid var(--shell-edge);box-shadow:0 4px 0 var(--shell-edge);border-radius:14px}.number-tile[data-value="2"]{color:#292c3d;background:#fff}.number-tile[data-value="4"]{color:#292c3d;background:#fff7df}.number-tile[data-value="8"]{color:#292c3d;background:#fff0c9}.number-tile[data-value="16"]{color:#292c3d;background:#f9e5d8}.number-tile[data-value="32"]{color:#292c3d;background:#f5e4ed}.number-tile[data-value="64"]{color:#292c3d;background:#e3edf8}.number-tile[data-value="128"]{color:#292c3d;background:#e1efe5}.number-tile[data-value="256"]{color:#292c3d;background:#ffd45d}.number-tile[data-value="512"]{color:#292c3d;background:#b7a9f6}.number-tile[data-value="1024"]{color:#fff;background:#6860a8}.number-tile[data-value="2048"]{color:#ffd45d;background:#292c3d}.game-viewport .tiles-controls button{border:2px solid var(--shell-edge);box-shadow:0 4px 0 var(--shell-edge);background:var(--surface);min-height:52px;color:var(--ink);border-radius:16px}.game-viewport .sudoku-board{border:3px solid var(--shell-grid);box-shadow:0 6px 0 var(--shell-edge);border-radius:18px;overflow:hidden}.sudoku-board .sudoku-cell{font-family:var(--font-number)}.sudoku-board .sudoku-cell.selected{background:var(--yellow);color:#292c3d}.sudoku-board .sudoku-cell.conflict{color:#a4233b;background:#f9dfe3}.game-shell .game-viewport .number-pad{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.game-shell .game-viewport .number-pad button{border:2px solid var(--shell-edge);height:64px;box-shadow:0 4px 0 var(--shell-edge);background:var(--surface);color:var(--ink);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:4px;display:flex}.number-pad .pad-value{font:600 28px/1 var(--font-number)}.number-pad small{font:400 11px/1.2 var(--font-body);color:var(--muted)}.game-shell .game-viewport .game-tools{grid-template-columns:repeat(3,minmax(0,1fr))}.game-shell .game-viewport .game-tools button{border:2px solid var(--shell-edge);box-shadow:0 3px 0 var(--shell-edge);background:var(--surface);min-height:56px;color:var(--ink);border-radius:14px}.game-tools button[aria-pressed=true]{background:var(--yellow-soft)}.sudoku-hud-stat strong{min-width:1ch}.game-viewport .game-topbar{justify-content:center;gap:8px}.game-topbar .difficulty-control{flex:1;min-width:130px}.game-topbar .timer-group{white-space:nowrap}.game-topbar select{border:2px solid var(--shell-edge);border-radius:12px;min-height:44px}.game-viewport #bulls-app .guess-controls,.game-viewport .guess-records{border:2px solid var(--shell-edge);background:var(--surface);box-shadow:0 5px 0 var(--shell-edge);border-radius:24px;padding:18px}.game-viewport #bulls-app .guess-display{gap:10px}.game-viewport .guess-display [data-slot]{font:600 clamp(28px, 6vw, 40px) var(--font-number);border:2px solid var(--shell-edge);min-height:64px;box-shadow:0 4px 0 var(--shell-edge);background:var(--yellow-soft);color:var(--ink);border-radius:14px}.game-viewport .bulls-pad{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.game-viewport .bulls-pad button{border:2px solid var(--shell-edge);background:var(--surface);min-height:56px;color:var(--ink);box-shadow:0 4px 0 var(--shell-edge);font:600 26px var(--font-number);border-radius:14px}.guess-history li{background:var(--soft);border-radius:14px}.guess-history li>strong{font-family:var(--font-number);letter-spacing:.2em}.guess-history li>span:last-child{font-family:var(--font-number);background:var(--yellow-soft);color:var(--ink);border-radius:10px;padding:5px 10px}.bulls-hud{margin-bottom:8px;display:inline-flex}.game-setup-dialog{width:min(560px,100vw - 28px)}.setup-art{background:var(--purple-soft);border-bottom:2px solid var(--shell-edge);place-items:center;padding:18px;display:grid;position:relative}.setup-art .game-art{width:200px;height:110px}.setup-art>svg:last-child{position:absolute;bottom:-20px;right:18px}.game-setup-dialog h2{font:400 32px/1.2 var(--font-heading)}.arcade-difficulty{border:0;gap:10px;margin:0;padding:0;display:grid}.arcade-difficulty legend{color:var(--purple);margin-bottom:10px;font-size:13px;font-weight:700}.difficulty-card{border:2px solid var(--line);cursor:pointer;border-radius:16px;align-items:center;gap:12px;padding:12px;display:flex}.difficulty-card:has(input:checked){border-color:var(--shell-edge);background:var(--yellow-soft);box-shadow:0 4px 0 var(--shell-edge)}.difficulty-card input{accent-color:var(--purple);flex:none;width:20px;height:20px}.difficulty-card>span{flex-direction:column;gap:3px;min-width:0;display:flex}.difficulty-card strong{font-size:16px}.difficulty-card small{color:var(--muted);font-size:12px}.difficulty-card .difficulty-best{text-align:right;flex:none;margin-left:auto}.difficulty-best strong{font:600 16px var(--font-number)}.setup-actions{gap:12px;display:flex}.setup-actions .button{flex:1;min-height:54px;padding:10px}.game-shell .local-result:not(.arcade-result),.game-shell .result-card{border:2px solid var(--shell-edge);box-shadow:0 6px 0 var(--shell-edge);background:var(--surface);border-radius:24px;padding:24px}.game-shell :is(.local-result,.result-card) h2{font:400 clamp(28px, 4vw, 42px)/1.3 var(--font-heading)}[data-outcome=draw] .arcade-stars{display:none}.game-dialog.is-win{border:2px solid var(--shell-edge);box-shadow:0 8px 0 var(--shell-edge);background:var(--surface);border-radius:26px}.game-dialog.is-win #dialog-title{font:400 clamp(36px, 6vw, 52px)/1.2 var(--font-heading)}.game-dialog.is-win #win-details{background:var(--yellow-soft);color:var(--ink);font-family:var(--font-number);border-radius:16px;padding:18px}@media (width<=767px){.game-shell .game-viewport .number-pad button{height:56px}.game-viewport #bulls-app .guess-controls,.game-viewport .guess-records{padding:14px}.game-viewport #bulls-app .bulls-play{gap:18px}.game-viewport .game-hud span{font-size:12px}}@media (width<=400px){.game-shell .arcade-game-header{flex-wrap:nowrap;gap:7px}.game-shell .game-header-title{flex-basis:auto}.game-shell .game-header-tools [data-game-fullscreen]{width:44px;min-height:44px;padding:0;font-size:0}.game-header-tools [data-game-fullscreen]:before{content:"⛶";font-size:22px}.difficulty-card{gap:8px;padding:10px}.difficulty-card small{font-size:11px}}.game-header-art,.setup-art{--art-ink:var(--purple);--art-paper:var(--surface)}.game-shell .sudoku-cell:nth-child(3n):not(:last-child){border-right:2px solid var(--shell-grid)}.game-shell .sudoku-row:nth-child(3n):not(:last-child) .sudoku-cell{border-bottom:2px solid var(--shell-grid)}#game-dialog:not(.is-win) .arcade-stars{display:none}.game-dialog.is-win .arcade-stars{margin-block:14px}.game-shell .arcade-game-header{padding-block:6px}.game-shell .game-header-title h1{font-size:clamp(18px,2vw,23px);line-height:1.2}.game-shell .game-header-title p{line-height:18px}@media (width>=900px){.game-shell .game-viewport .sudoku-play-surface{max-width:calc(min(var(--sudoku-board-limit,620px), var(--game-available-height) - 150px) + 304px);grid-template-columns:minmax(0,1fr) 280px}}@media (width<=767px){body:has([data-game-shell]) .arcade-bottom-nav{display:none}body:has([data-game-shell]){padding-bottom:env(safe-area-inset-bottom,0px)}.game-shell .game-topbar{flex-wrap:nowrap;gap:6px}.game-shell .game-topbar .difficulty-control{flex:1;min-width:100px;padding:0}.game-topbar .difficulty-control label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.game-shell .game-topbar select{width:100%;min-width:0;padding:7px;font-size:12px}.game-shell .game-topbar .timer-group,.game-shell .game-topbar .sudoku-hud-stat,.game-shell .game-topbar>div:last-child{padding:6px 8px}.game-shell .game-topbar #timer{font:600 18px var(--font-number)}}@media (width<=350px){.game-shell .game-topbar{flex-wrap:wrap}}.game-shell{--game-accent:var(--purple);--game-accent-soft:var(--purple-soft)}.game-shell[data-game-color=mint]{--game-accent-soft:var(--arcade-mint)}.game-shell[data-game-color=blue]{--game-accent-soft:var(--arcade-blue)}.game-shell[data-game-color=pink]{--game-accent-soft:var(--arcade-pink)}.game-shell[data-game-color=peach]{--game-accent-soft:var(--arcade-peach)}.game-shell[data-game-color=yellow]{--game-accent-soft:var(--yellow-soft)}.arcade-surface{align-items:start;gap:20px;min-width:0;display:grid}.arcade-surface-board,.arcade-surface-controls{min-width:0}.arcade-surface-controls{gap:14px;display:grid}.game-settings{border:2px solid var(--shell-edge);background:var(--surface);border-radius:16px;margin-block:14px;padding:0}.game-settings>summary{cursor:pointer;min-height:48px;color:var(--ink);padding:12px 16px;font-weight:700}.game-settings-body{padding:0 16px 16px}.game-settings-body>:first-child{margin-top:0}.game-progress{background:var(--soft);border-radius:16px;padding:14px 16px;font-size:13px}.game-progress>div{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.game-progress output{font:600 18px var(--font-number)}.game-progress progress{border:2px solid var(--shell-edge);background:var(--surface);width:100%;height:12px;accent-color:var(--purple);border-radius:99px;display:block;overflow:hidden}.game-progress progress::-webkit-progress-bar{background:var(--surface)}.game-progress progress::-webkit-progress-value{background:var(--purple)}.game-progress progress::-moz-progress-bar{background:var(--purple)}.game-result-frame{text-align:center;max-width:680px;margin:24px auto}.game-result-frame .arcade-stars{justify-content:center}.game-result-frame[data-outcome=lost] .arcade-stars,.game-result-frame[data-outcome=draw] .arcade-stars{display:none}.game-result-navigation{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:16px;display:flex}.game-result-frame .local-actions{justify-content:center}@media (width>=1024px){.arcade-surface.has-controls{grid-template-columns:minmax(0,1fr) minmax(260px,300px);gap:24px}.arcade-surface-quiz.has-controls{grid-template-columns:minmax(0,1fr) minmax(260px,360px)}}@media (prefers-reduced-motion:reduce){.game-result-frame *{animation-duration:0s}}[data-theme=dark] .game-shell{--game-accent-soft:color-mix(in srgb, var(--purple) 22%, var(--surface))}.game-hud:has(>.local-stats,>.play-meta,>.dc-metrics){margin-block:8px 14px}.game-hud .local-stats{flex-wrap:wrap;gap:8px;width:100%;margin:0;display:flex}.game-hud .local-stats>div{flex:1;min-width:95px;min-height:42px;padding:8px 12px}.game-hud .local-stats strong{font-size:21px}.arcade-surface-controls :is(.local-actions,.nono-tools,.nono-footer-controls,.gomoku-placement){margin:0}.arcade-surface-controls :is(.local-status,.v2-feedback){margin:0;font-size:14px;line-height:1.6}.arcade-surface-controls :is(.nono-modes,.mines-modes){gap:10px;margin:0;display:grid}.arcade-surface-controls .nono-modes{grid-template-columns:repeat(3,minmax(0,1fr))}.arcade-surface-controls .mines-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.arcade-surface-controls :is(.nono-modes,.mines-modes) button{border:2px solid var(--shell-edge);background:var(--surface);min-width:0;min-height:58px;color:var(--ink);box-shadow:0 3px 0 var(--shell-edge);border-radius:16px;padding:8px;font-weight:700}.arcade-surface-controls :is(.nono-modes,.mines-modes) [aria-pressed=true]{background:var(--yellow-soft);box-shadow:0 4px 0 var(--shell-edge)}.arcade-surface-board :is(.nono-viewport,.mines-viewport,.logic-grid-wrap){border:3px solid var(--shell-edge);box-shadow:0 6px 0 var(--shell-edge);background:var(--surface);border-radius:22px;margin:0;padding:10px}.arcade-surface-board .mines-viewport{background:var(--game-accent-soft)}.arcade-surface-board .mines-board{gap:4px;margin-inline:auto}.arcade-surface-board .mine-cell{border:2px solid var(--shell-edge);font:700 clamp(15px, calc(var(--mine-cell) * .48), 30px) var(--font-number);box-shadow:inset 0 -4px 0 var(--game-accent-soft);border-radius:7px}.arcade-surface-board .mine-cell.open{box-shadow:none;background:color-mix(in srgb, var(--surface) 65%, var(--game-accent-soft));border-color:#0000}.arcade-surface-board .mine-cell.hit{background:var(--pink-soft,#f9dfe3)}.arcade-surface-board .nono-cell.filled{background:var(--surface);position:relative}.arcade-surface-board .nono-cell.filled:after{content:"";background:var(--ink);pointer-events:none;border-radius:4px;position:absolute;inset:10%}.arcade-surface-board .nono-cell.marked{background:var(--soft)}.arcade-surface-board :is(.nono-clue,.nono-corner,.nono-top){font-family:var(--font-number)}.arcade-surface-board .sliding-board{border:3px solid var(--shell-edge);background:var(--purple-soft);box-shadow:0 6px 0 var(--shell-edge);border-radius:24px;margin:0 auto}.arcade-surface-board .sliding-board:before{content:"";left:calc(var(--hole-x) * 100% / var(--size));top:calc(var(--hole-y) * 100% / var(--size));width:calc(100% / var(--size) - 16px);height:calc(100% / var(--size) - 16px);border:2px dashed var(--purple);box-sizing:border-box;pointer-events:none;border-radius:12px;margin:8px;position:absolute}.arcade-surface-board .sliding-tile>span{border:2px solid var(--shell-edge);box-shadow:0 4px 0 var(--shell-edge);background:var(--surface);color:var(--ink);font-family:var(--font-number);border-radius:12px}.arcade-surface-board .sliding-tile.is-correct>span{background:var(--game-accent-soft)}.arcade-surface-board .sliding-tile.legal>span{background:var(--yellow);color:#292c3d;outline:3px solid var(--purple)}.arcade-surface-controls .sliding-directions{margin:0}.arcade-surface-controls .v4-panel{border:2px solid var(--shell-edge);background:var(--surface);border-radius:18px;margin:0;padding:16px}.arcade-surface-controls .logic-clues{padding-left:22px}.logic-clues button{background:var(--soft);width:100%;min-height:44px;color:var(--ink);font:inherit;text-align:left;border:0;border-radius:10px;padding:9px 10px;font-size:14px;line-height:1.65}.logic-clues .used-clue button{color:var(--muted);text-decoration:line-through}.logic-clues button:hover{background:var(--yellow-soft)}.arcade-surface-board .logic-table{width:100%;min-width:280px}.arcade-surface-board .logic-table th{font-size:14px}.arcade-surface-board .logic-table button{min-height:48px;font:700 24px var(--font-number);border-radius:8px}.versus-players{gap:12px;display:grid}.versus-player{border:2px solid var(--line);background:var(--surface);border-radius:18px;align-items:center;gap:12px;min-height:72px;padding:12px 14px;display:flex}.versus-player.active{border-color:var(--shell-edge);background:var(--yellow-soft);box-shadow:0 4px 0 var(--shell-edge)}.versus-player strong{font-size:16px}.versus-player p{color:var(--muted);margin-top:3px;font-size:13px}.versus-stone{background:#292c3d;border:2px solid #292c3d;border-radius:50%;flex:none;width:38px;height:38px;box-shadow:0 3px #292c3d}.versus-stone[data-side="2"]{background:#fffefa}[data-theme=dark] .versus-stone:not([data-side="2"]){border-color:#7a7994;box-shadow:0 3px #0b0b12}.arcade-surface-board .gomoku-board-wrap{border:3px solid var(--shell-edge);background:var(--game-accent-soft);box-shadow:0 6px 0 var(--shell-edge);border-radius:22px;margin:0 auto}.arcade-surface-board .gomoku-grid path{stroke:#b89b63;stroke-width:.35px}.arcade-surface-board .gomoku-stone{background:#292c3d;border:2px solid #292c3d;box-shadow:0 3px #292c3d}.arcade-surface-board .gomoku-cell[data-player="2"] .gomoku-stone{background:#fffefa}.game-shell:not(.cardroom-shell) .dc-board-frame{border:3px solid var(--shell-edge);background:var(--game-accent-soft);box-shadow:0 6px 0 var(--shell-edge);border-radius:22px}.game-shell:not(.cardroom-shell) .dc-back{background:var(--purple-soft);border:2px solid var(--shell-edge);box-shadow:0 3px 0 var(--shell-edge)}.game-shell:not(.cardroom-shell) .dc-token{border-width:2px}.game-shell:not(.cardroom-shell) .dc-player{border:2px solid var(--line);background:var(--surface);border-radius:18px}.game-shell:not(.cardroom-shell) .dc-player.active{border-color:var(--shell-edge);background:var(--yellow-soft);box-shadow:0 4px 0 var(--shell-edge)}.game-shell:not(.cardroom-shell) .dc-turn-banner{border:0;border-radius:14px;padding:8px 12px}.game-shell:not(.cardroom-shell) .dc-metrics{gap:10px 18px;margin:0}.game-settings .local-help{font-size:14px;line-height:1.75}@media (width<=767px){.arcade-surface{gap:18px}.versus-players{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.versus-player{gap:8px;padding:10px}.versus-stone{width:28px;height:28px}.versus-player strong{font-size:14px}.game-hud .local-stats>div{gap:4px;min-width:85px;padding:6px 9px}.game-hud .local-stats strong{font-size:19px}}.arcade-surface-board :is(.nono-col-clue,.nono-row-clue){font-family:var(--font-number);font-size:var(--clue-font,13px)}.arcade-surface-board .gomoku-board-wrap{background:var(--yellow-soft)}.game-hud .local-stats span{white-space:nowrap}.game-shell[data-game-family=quiz] :is(.arcade-question-card,#idiom-app [data-ui=question]){border:3px solid var(--shell-edge);box-shadow:0 6px 0 var(--shell-edge);background:var(--surface);border-radius:24px;padding:clamp(16px,3vw,28px)}.arcade-question-card .number-cards{gap:12px;max-width:480px;margin-inline:auto}.arcade-question-card .number-cards button{aspect-ratio:.74;background:var(--surface);border:2px solid var(--shell-edge);box-shadow:0 4px 0 var(--shell-edge);font-family:var(--font-number)}.arcade-question-card .number-cards button.used{background:var(--soft);color:var(--muted);box-shadow:none}.arcade-question-card .expression-box{border:2px solid var(--shell-edge);background:var(--yellow-soft);min-height:76px;margin-bottom:0}.arcade-surface-quiz .operator-pad{grid-template-columns:repeat(3,minmax(0,1fr))}.game-shell[data-game-family=quiz] .v4-kicker{margin-block:4px 12px}.game-shell[data-game-family=quiz] .idiom-pattern span{border:2px solid var(--shell-edge);box-shadow:0 4px 0 var(--shell-edge);font-family:var(--font-heading);border-radius:14px}.game-shell[data-game-family=quiz] .idiom-candidates button{border:2px solid var(--shell-edge);min-height:48px;box-shadow:0 4px 0 var(--shell-edge);border-radius:14px}.game-shell[data-game-family=matching] .memory-board{border:3px solid var(--shell-edge);background:var(--game-accent-soft);box-shadow:0 6px 0 var(--shell-edge);border-radius:24px;padding:12px}.game-shell[data-game-family=matching] :is(.memory-back,.memory-front){border:2px solid var(--shell-edge);box-shadow:0 3px 0 var(--shell-edge);border-radius:14px}.game-shell[data-game-family=matching] .memory-back{background:var(--purple-soft);font-size:0}.game-shell[data-game-family=matching] .memory-back:after{content:"";background:url(/favicon.svg) 50%/contain no-repeat;width:46%;height:46%}.game-shell[data-game-family=matching] .memory-card.matched .memory-front{background:var(--game-accent-soft);box-shadow:none}.game-shell[data-game-family=matching] .link-board-wrap{outline:2px solid var(--shell-edge);box-shadow:0 6px 0 var(--shell-edge);border-radius:22px}.game-shell[data-game-family=matching] .link-face{border:2px solid var(--shell-edge);box-shadow:0 3px 0 var(--shell-edge);border-radius:10px}[data-shell-paused] .link-face{animation-play-state:paused}.game-completion-panel{border:2px solid var(--shell-edge);box-shadow:0 6px 0 var(--shell-edge);border-radius:24px}.game-completion-panel .arcade-stars{justify-content:center}.game-shell[data-game-family=action] :is(.fb-metric,.fb-next,.fb-hold,.bs-metrics){border-radius:14px}.game-shell[data-game-family=action] .bs-classic-card{border:2px solid var(--shell-edge);box-shadow:0 5px 0 var(--shell-edge);border-radius:24px}.game-shell[data-game-family=action] .fb-touch button{border:2px solid var(--shell-edge);box-shadow:0 4px 0 var(--shell-edge);border-radius:14px}.game-result-frame[data-outcome=revealed] .arcade-stars{display:none}[data-ui=result-stars][data-stars="1"] .arcade-stars span:nth-child(n+2),[data-ui=result-stars][data-stars="2"] .arcade-stars span:nth-child(3){color:var(--line)}@media (width<=767px){.arcade-surface-quiz .operator-pad{grid-template-columns:repeat(6,minmax(0,1fr))}}
