.jayden-arcade{--arcade-ink: #16243b;--arcade-muted: #57677e;--arcade-paper: #f4f7fb;--arcade-card: #fff;--arcade-line: #d5dfec;color:var(--arcade-ink);font-family:Space Grotesk Variable,sans-serif}.dark .arcade-catalog{--arcade-ink: #f2f6ff;--arcade-muted: #b1bed2;--arcade-paper: #0c1426;--arcade-card: #13203a;--arcade-line: #31405c}.jayden-arcade *{box-sizing:border-box}.jayden-arcade button,.jayden-arcade select,.jayden-arcade input{font:inherit}.jayden-arcade button,.jayden-arcade a{-webkit-tap-highlight-color:transparent}.jayden-arcade button,.jayden-arcade .arcade-primary{border:1px solid var(--arcade-line);background:var(--arcade-card);color:var(--arcade-ink);padding:10px 16px;border-radius:12px;min-height:44px;cursor:pointer;text-decoration:none;font-weight:650;transition:background .15s,transform .15s}.jayden-arcade button:disabled{opacity:.5;cursor:default}.jayden-arcade button:hover:not(:disabled){background:#93baff26}.jayden-arcade button:focus-visible,.jayden-arcade a:focus-visible,.jayden-arcade select:focus-visible,.jayden-arcade input:focus-visible{outline:3px solid #64a5ff;outline-offset:3px}.jayden-arcade .arcade-primary{background:#c7f66b;color:#17240c;border-color:#c7f66b;display:inline-flex;align-items:center;justify-content:center}.jayden-arcade .arcade-primary:hover{background:#d9ff94}.arcade-eyebrow{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.arcade-button-row{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap}.arcade-tags{display:flex;flex-wrap:wrap;gap:7px}.jayden-arcade .arcade-tags button,.arcade-tags span{font-size:12px;padding:5px 10px;border:1px solid var(--arcade-line);border-radius:7px;min-height:30px}.arcade-controls-note{color:var(--arcade-muted);font-size:13px}.jayden-arcade select{background:var(--arcade-card);color:var(--arcade-ink);border:1px solid var(--arcade-line);border-radius:9px;min-height:44px;padding:5px 10px}.jayden-arcade input{accent-color:#c7f66b}.jayden-arcade input[type=range]{min-height:44px;vertical-align:middle}@media(prefers-reduced-motion:reduce){.jayden-arcade *,.jayden-arcade *:before,.jayden-arcade *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.arcade-catalog{background:var(--arcade-paper);padding-bottom:80px}.arcade-hero{position:relative;overflow:hidden;min-height:650px;background:#0b1831;color:#f3f7ff}.arcade-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:68% center}.arcade-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#081329f2,#0813299c,#0813290a 90%),linear-gradient(0deg,#08132999,transparent 45%)}.arcade-hero-copy{position:relative;z-index:1;max-width:1400px;margin:auto;padding:90px 6%}.arcade-hero h1{font-family:Impact,Arial Narrow,Space Grotesk Variable,sans-serif;font-weight:900;font-size:clamp(64px,8.5vw,132px);line-height:.97;letter-spacing:-.035em;margin:25px 0}.arcade-hero h1 span{color:#c7f66b}.arcade-hero-copy>p:not(.arcade-eyebrow){max-width:400px;color:#d1def5;font-size:19px;margin-bottom:28px;line-height:1.6}.arcade-hero-facts{display:flex;flex-wrap:wrap;gap:18px;margin-top:40px;color:#c4d6f3;font-size:12px;letter-spacing:.04em}.arcade-catalog-body{max-width:1360px;padding:0 5%;margin:auto}.arcade-collection{padding-top:66px;scroll-margin-top:85px}.arcade-section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:26px}.arcade-section-heading h2,.arcade-daily h2,.arcade-create h2{font-size:clamp(28px,3vw,44px);font-weight:800;line-height:1.1;letter-spacing:-.04em;margin:10px 0 0}.arcade-section-heading>p{color:var(--arcade-muted);max-width:340px;line-height:1.7}.arcade-filters{border:0;padding:0;margin:0 0 26px;display:flex;flex-wrap:wrap;gap:8px}.arcade-filters button[aria-pressed=true]{background:var(--arcade-ink);color:var(--arcade-paper)}.arcade-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.arcade-card{border:1px solid var(--arcade-line);background:var(--arcade-card);border-radius:24px;overflow:hidden;box-shadow:0 15px 35px #091b3610}.arcade-card-art{display:block;position:relative;aspect-ratio:1.55;overflow:hidden}.arcade-card-art img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.arcade-card-art:hover img{transform:scale(1.04)}.arcade-card-play{position:absolute;right:20px;bottom:20px;background:#c7f66b;color:#17240c;border-radius:50%;width:46px;height:46px;display:grid;place-items:center;font-size:25px}.arcade-card-copy{padding:25px 28px}.jayden-arcade .arcade-category{background:transparent;border:0;padding:0;min-height:32px;font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:var(--arcade-muted)}.arcade-card h2{font-size:34px;font-weight:800;letter-spacing:-.04em;margin:3px 0}.arcade-card h2 a{text-decoration:none;color:inherit}.arcade-card p{color:var(--arcade-muted);margin:8px 0 18px}.arcade-card-modes{display:flex;gap:14px;font-size:11px;color:var(--arcade-muted);margin-top:20px;border-top:1px solid var(--arcade-line);padding-top:16px}.arcade-daily{margin:60px 0;padding:38px;border-radius:24px;background:#183567;color:#f2f6ff;display:grid;grid-template-columns:1fr 1fr;gap:35px}.arcade-daily p{color:#c4d4f0;margin-top:15px;line-height:1.6}.arcade-daily-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}.arcade-daily-links a{background:#ffffff10;border:1px solid #ffffff30;border-radius:12px;padding:18px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:inherit;text-decoration:none}.arcade-quest-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.arcade-chapter{background:var(--arcade-card);border:1px solid var(--arcade-line);border-radius:16px;padding:12px 12px 22px}.arcade-comic-panel{position:relative;aspect-ratio:1.15;overflow:hidden;border-radius:8px}.arcade-comic-panel img{width:100%;height:100%;object-fit:cover;filter:saturate(.3) brightness(.5)}.arcade-chapter[data-complete] img{filter:none}.arcade-comic-panel span{position:absolute;bottom:10px;left:10px;color:#c7f66b;font-size:38px;font-weight:800;text-shadow:0 2px 12px #000}.arcade-chapter h3{margin:18px 5px 8px;font-weight:700;font-size:18px}.arcade-chapter p{margin:0 5px 18px;color:var(--arcade-muted);font-size:13px;min-height:65px;line-height:1.6}.arcade-chapter a{margin:5px;color:var(--arcade-ink);font-size:12px;font-weight:700;text-decoration:underline}.arcade-create{text-align:center;margin-top:70px;padding:40px 15px}.arcade-create>p:not(.arcade-eyebrow){margin:20px auto;max-width:550px;color:var(--arcade-muted);line-height:1.7}@media(max-width:800px){.arcade-hero{min-height:610px}.arcade-hero-copy{padding-top:70px}.arcade-hero:after{background:linear-gradient(90deg,#081329df,#0813294d),linear-gradient(0deg,#081329bb,transparent)}.arcade-section-heading{display:block}.arcade-section-heading>p{margin-top:15px;max-width:100%}.arcade-daily{grid-template-columns:1fr;padding:26px}.arcade-quest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.arcade-hero h1{font-size:clamp(64px,17vw,95px)}.arcade-hero-copy{padding:65px 6%}.arcade-hero-copy>p:not(.arcade-eyebrow){font-size:16px;max-width:280px}.arcade-hero>img{object-position:60% center}.arcade-card-grid{grid-template-columns:1fr;gap:22px}.arcade-card-copy{padding:20px}.arcade-collection{padding-top:40px}.arcade-daily-links a{padding:14px 12px;font-size:13px}.arcade-chapter h3{font-size:16px}}.arcade-arena{--arcade-ink: #f2f6ff;--arcade-muted: #b7c7df;--arcade-paper: #0c1427;--arcade-card: #17253c;--arcade-line: #394b68;height:100dvh;min-height:100dvh;width:100%;background:#081122;position:relative;isolation:isolate;display:flex;flex-direction:column;overflow:hidden;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.arcade-arena:fullscreen{width:100vw;height:100dvh}.arcade-arena-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3;opacity:.55}.arcade-arena:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#071123f5,#07112355 60%,#071123cc);z-index:-2}.arcade-arena[data-playing] .arcade-arena-art{opacity:.1}.arcade-atmosphere{position:absolute;inset:0;z-index:-1;pointer-events:none}.arcade-atmosphere canvas{display:block;width:100%;height:100%}.arcade-toolbar{display:flex;align-items:center;gap:8px;padding:12px 22px;flex-shrink:0;border-bottom:1px solid #ffffff10}.jayden-arcade .arcade-icon{padding:0;width:44px;height:44px;min-width:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#122038aa;border:1px solid #ffffff20;color:#f2f6ff}.arcade-toolbar-title{font-size:18px;font-weight:750;margin-right:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.arcade-ready{margin:auto;padding:30px 20px;width:100%;max-width:900px;text-align:center;overflow:auto}.arcade-ready h1{font-size:clamp(48px,7vw,100px);font-weight:850;line-height:1.1;letter-spacing:-.06em;text-shadow:0 8px 50px #071123;margin:18px 0}.arcade-ready>p:not(.arcade-eyebrow){margin:12px auto 24px;max-width:650px;color:#d0ddf3}.arcade-mode-choice{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;padding:0;border:0;margin:24px 0}.arcade-mode-choice button[aria-pressed=true]{background:#c7f66b;color:#17240c;border-color:#c7f66b}.arcade-level-picker{display:block;margin:12px 0 22px}.arcade-level-picker select{margin-left:10px}.arcade-ready .arcade-tags{justify-content:center;margin-top:28px}.jayden-arcade .arcade-play{font-size:17px;min-height:56px;padding:13px 25px}.arcade-scorebar{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:25px;padding:10px 20px;color:#bdcde3;font-size:13px;flex-shrink:0}.arcade-scorebar strong{font-size:19px;color:#fff;margin-left:5px}.arcade-stage{position:relative;flex:1;min-height:0;width:100%;padding:5px 20px;display:flex;justify-content:center;align-items:center}.arcade-game-content{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;gap:9px;justify-content:center}.arcade-status{text-align:center;padding:8px 20px 15px;flex-shrink:0;font-size:13px;color:#bdcde3}.arcade-status>output{display:block;margin-bottom:8px}.arcade-status .arcade-button-row button{font-size:12px;padding:6px 12px;min-height:36px}.arcade-pause-overlay{position:absolute;inset:0;background:#061020d9;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:5}.arcade-pause-overlay h2{font-size:48px;font-weight:800}.arcade-notice{position:absolute;left:50%;bottom:20px;transform:translate(-50%);background:#233652;border:1px solid #6682a9;border-radius:14px;padding:10px 12px 10px 20px;display:flex;align-items:center;gap:10px;z-index:10;max-width:94%;word-break:break-word;font-size:13px}.arcade-game-content>.arcade-button-row,.arcade-workshop,.arcade-opponent{flex-shrink:0}@media(max-width:600px){.arcade-toolbar{padding:8px;gap:4px}.arcade-toolbar-title{font-size:15px}.arcade-scorebar{gap:12px;padding:6px;font-size:11px}.arcade-scorebar strong{font-size:16px}.arcade-stage{position:relative;padding:4px 10px}.arcade-status{padding:5px 10px 9px;font-size:12px}.arcade-ready{padding:20px 15px}}@media(max-height:600px)and (min-width:600px){.arcade-toolbar{padding:4px 12px}.arcade-game-content{gap:4px}.arcade-status{display:flex;align-items:center;gap:12px;padding:5px 12px}.arcade-status>output{flex:1;min-width:0;margin:0}.arcade-status .arcade-button-row{flex-shrink:0;max-width:60%;justify-content:flex-end}.arcade-status .arcade-button-row button{min-height:32px}}.arcade-swipe{container-type:size;touch-action:none;flex:1;min-height:0;min-width:0;width:100%;margin:0;border:0;padding:0;display:flex;align-items:center;justify-content:center}.snake-board{height:min(100cqh,100cqw,650px);width:min(100cqh,100cqw,650px);max-width:100%;max-height:650px;aspect-ratio:1;border:1px solid #526586;border-radius:16px;background:#0e1930;padding:8px;box-shadow:0 15px 70px #64a5ff14}.merge-board{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr);gap:10px;aspect-ratio:1;height:min(100cqh,100cqw,570px);width:min(100cqh,100cqw,570px);max-width:100%;max-height:570px;padding:12px;border-radius:20px;background:#263952;border:1px solid #7187a550}.jayden-arcade .merge-tile{padding:0;border:1px solid #c2d9ff20;border-radius:12px;min-height:0;min-width:0;color:#14203a;background:#3b4c65;font-size:clamp(18px,4vh,48px);font-weight:800;box-shadow:inset 0 -5px #10203c18}.merge-tile[data-value="1"]{background:#dce8f4}.merge-tile[data-value="2"]{background:#bddcf5}.merge-tile[data-value="3"]{background:#8ac5fa}.merge-tile[data-value="4"]{background:#a9db9d}.merge-tile[data-value="5"]{background:#c7f66b}.merge-tile[data-value="6"]{background:#ffdc86}.merge-tile[data-value="7"]{background:#ffb779}.merge-tile[data-value="8"]{background:#ff94a6}.merge-tile[data-value="9"]{background:#c9a2f7}.merge-tile[data-value="10"],.merge-tile[data-value="11"]{background:#a8f0ed}.merge-tile[data-value="-1"]{background:#bcd9fa44;color:#bcd9fa}.merge-board[data-preview]{border:3px solid #ffe798}.arcade-arena[data-effects] .merge-tile[data-merged]{animation:tile-pop .3s ease-out}@keyframes tile-pop{50%{transform:scale(1.08);box-shadow:0 0 28px #c7f66b66}}.arcade-tile-explanation{font-size:12px;text-align:center;color:#d6e4f8;margin:0;flex-shrink:0}.gomoku-board{position:relative;flex:1;min-height:0;aspect-ratio:1;width:auto;max-width:100%;max-height:620px;background:radial-gradient(ellipse,#f0d9ad,#c9ac7c);border:8px solid #79603e;border-radius:12px;padding:0;margin:0;box-shadow:0 12px 70px #0005}.gomoku-board>svg{position:absolute;inset:0;width:100%;height:100%}.gomoku-intersections{display:grid;grid-template-columns:repeat(15,1fr);grid-template-rows:repeat(15,1fr);width:100%;height:100%;position:relative}.jayden-arcade .gomoku-point{background:transparent;border:0;padding:0;min-height:0;min-width:0;border-radius:0;display:grid;place-items:center;opacity:1}.gomoku-point span{width:85%;height:85%;border-radius:50%}.gomoku-point[data-player="1"] span{background:radial-gradient(circle at 35% 25%,#566079,#0c1220 65%);box-shadow:1px 3px 5px #0005}.gomoku-point[data-player="2"] span{background:radial-gradient(circle at 35% 25%,#fff,#e0e1df 65%);box-shadow:1px 3px 5px #0005}.gomoku-point[data-cursor]:not([data-player]) span{border:2px solid #164eac;border-radius:4px;width:75%;height:75%}.gomoku-point[data-last] span{outline:2px solid #64a5ff;outline-offset:-4px}.gomoku-point[data-winning] span,.gomoku-point[data-hint] span{outline:3px solid #92ba27;outline-offset:0}.arcade-opponent{font-size:13px;color:#dce8ff}.breaker-board{touch-action:none;flex:1;min-height:0;width:100%;height:100%;max-width:1200px;max-height:100%}.arcade-arena[data-effects] .breaker-ball{filter:drop-shadow(0 0 8px #ffdd8e)}.arcade-breaker-content{max-width:1200px}.arcade-breaker-content .arcade-controls-note{font-size:12px}@media(max-width:600px){.merge-board{gap:7px;padding:8px;border-radius:14px}.jayden-arcade .merge-tile{border-radius:8px;font-size:clamp(18px,7vw,32px)}.gomoku-board{border-width:4px;flex:0 1 auto;width:100%;height:auto}.breaker-board{flex:0 1 auto;aspect-ratio:10 / 7}}.arcade-dpad{display:flex;gap:7px;border:0;padding:0;margin:0;flex-shrink:0}.jayden-arcade .arcade-dpad button{width:46px;height:44px;padding:0;font-size:22px}.arcade-workshop{width:100%;max-width:800px;text-align:center;font-size:12px;padding:7px 10px;background:#15253b99;border:1px solid #ffffff15;border-radius:12px}.arcade-workshop p{color:#c6d6ed;margin:7px 0}.arcade-workshop label{display:inline-flex;align-items:center;gap:8px;margin:3px 6px}.arcade-workshop button{padding:6px 12px;font-size:12px}.arcade-program{display:flex;gap:4px;justify-content:center;align-items:center;flex-wrap:wrap;min-height:34px;max-height:70px;overflow:auto;padding:4px;margin-bottom:5px;color:#b4c5dd}.arcade-program span{padding:3px 8px;background:#233852;border-radius:6px}.arcade-program span[data-current]{background:#c7f66b;color:#17240c}.arcade-power-choice{text-align:center;max-width:650px;padding:20px}.arcade-power-choice h2{font-size:36px;font-weight:800;margin-bottom:20px}.arcade-power-choice p{color:#c6d6ed;line-height:1.7;margin-bottom:25px}.arcade-power-choice .arcade-button-row{margin-bottom:25px}.arcade-power-choice button[aria-pressed=true]{border-color:#c7f66b;background:#c7f66b20}.arcade-builder-grid{display:grid;gap:3px;padding:7px;border:1px solid #526a8c;border-radius:10px;background:#0c172a;margin:15px auto;max-width:540px}.snake-builder{grid-template-columns:repeat(16,1fr);aspect-ratio:1}.brick-builder{grid-template-columns:repeat(8,1fr)}.jayden-arcade .arcade-builder-grid button{padding:0;min-height:0;min-width:0;border-radius:3px;background:#20334e;border-color:#3b526e}.arcade-builder-grid button[data-filled]{background:#83baff;color:#0c172a}.arcade-builder-grid button[data-start]{background:#c7f66b;opacity:1}.jayden-arcade .brick-builder button{height:40px}@media(max-width:600px){.arcade-workshop{padding:5px}.arcade-workshop .arcade-button-row{gap:4px}.arcade-workshop button{padding:5px 9px}.arcade-program{max-height:45px}}@media(max-height:600px)and (min-width:600px){.arcade-game-content:has(.arcade-workshop),.arcade-game-content:has(.gomoku-board){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;gap:6px 12px}.arcade-game-content:has(.arcade-workshop) .arcade-swipe,.arcade-game-content .gomoku-board,.arcade-game-content:has(.arcade-workshop) .breaker-board{grid-column:1;grid-row:1 / -1;height:100%}.arcade-game-content .gomoku-board{width:auto;justify-self:center}.arcade-game-content .arcade-workshop,.arcade-game-content .arcade-opponent{grid-column:2;grid-row:1;width:100%;min-height:0;max-height:100%;overflow:auto}.arcade-game-content .arcade-dpad,.arcade-game-content>.arcade-button-row,.arcade-game-content .arcade-tile-explanation,.arcade-game-content>.arcade-controls-note{grid-column:2;justify-self:center}}.arcade-dialog{color:#f2f6ff;background:#122039;border:1px solid #4a6284;border-radius:22px;padding:25px;width:min(530px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 30px 100px #0009;margin:auto}.arcade-dialog::backdrop{background:#040d20c9;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.arcade-dialog-wide{width:min(800px,calc(100% - 28px))}.arcade-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.arcade-dialog h2{font-size:26px;font-weight:800;letter-spacing:-.03em}.arcade-dialog h3{font-weight:750;margin:22px 0 8px;color:#c7f66b}.arcade-dialog p{color:#bfd0e8;font-size:14px;line-height:1.7;margin:10px 0 16px}.arcade-setting{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 0;border-bottom:1px solid #ffffff15;font-size:14px}.arcade-setting input[type=checkbox]{width:24px;height:24px}.arcade-setting input[type=range]{width:150px}.arcade-dialog .arcade-button-row{margin-top:22px}@media(max-width:600px){.arcade-dialog{padding:20px;border-radius:18px}.arcade-setting{gap:12px}.arcade-setting input[type=range]{width:115px}.arcade-dialog-wide{padding:16px}}.arcade-three-layer{position:absolute;inset:0}.arcade-burst{position:absolute;inset:0;overflow:hidden}.arcade-burst i{position:absolute;top:50%;left:50%;width:7px;height:7px;border-radius:2px;background:#c7f66b;box-shadow:0 0 20px #80baff;animation:arcade-spark .65s ease-out both}@keyframes arcade-spark{0%{transform:translate(0) rotate(0);opacity:.9}to{transform:translate(var(--spark-x),var(--spark-y)) rotate(170deg);opacity:0}}.breaker-board g[data-broken]{opacity:0;pointer-events:none}.arcade-arena[data-effects] .breaker-board g[data-broken]{transform-box:fill-box;transform-origin:center;animation:arcade-brick-break .3s ease-out both}@keyframes arcade-brick-break{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.6) translateY(12px)}}.chess-board-wrap{height:100%;min-height:0;width:100%;display:flex;align-items:center;justify-content:center;container-type:size}.chess-board{padding:0;margin:0;width:min(100cqw,100cqh,720px);height:min(100cqw,100cqh,720px);display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);border:6px solid #d5b16e;border-radius:12px;overflow:hidden;background:#d5b16e;box-shadow:0 12px 50px #17334545,0 0 0 1px #fff4c9;flex-shrink:0}.jayden-arcade .chess-square{position:relative;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:#5d8c91;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s;overflow:hidden}.jayden-arcade .chess-square[data-light]{background:#efe4c9}.jayden-arcade .chess-square:disabled{opacity:1;cursor:default}.jayden-arcade .chess-square:hover:not(:disabled){background:#acd2bd}.jayden-arcade .chess-square[data-last]{box-shadow:inset 0 0 0 4px #f6cd7388}.jayden-arcade .chess-square[data-selected],.jayden-arcade .chess-square[data-hint]{background:#b6dd8e;box-shadow:inset 0 0 0 3px #426631}.jayden-arcade .chess-square[data-target]{box-shadow:inset 0 0 0 4px #edb52f}.jayden-arcade .chess-square[data-check]{background:#ce7c6d}.jayden-arcade .chess-square:focus-visible{outline:3px solid #1b497b;outline-offset:-4px;z-index:1}.chess-piece{width:80%;height:80%;pointer-events:none;filter:drop-shadow(0 2px 1px #18282d99)}.chess-piece[data-color=w]{color:#fff5d9}.chess-piece[data-color=b]{color:#172a3e;filter:drop-shadow(0 1px 1px #d7eef0)}.chess-piece path{stroke:#b38b4d;stroke-width:.45}.chess-piece[data-color=b] path{stroke:#8db7c6}.chess-move-dot{position:absolute;width:24%;height:24%;border-radius:50%;background:#163b5e66;border:2px solid #eaffea99;pointer-events:none}.chess-rank,.chess-file{position:absolute;color:#173139;font-size:clamp(8px,1.3cqw,12px);font-weight:800;pointer-events:none}.chess-rank{top:3px;left:3px}.chess-file{right:3px;bottom:1px}.chess-square:not([data-light]) .chess-rank,.chess-square:not([data-light]) .chess-file{color:#f6edce}.chess-square[data-last] .chess-piece{animation:chess-arrive .3s ease-out}@keyframes chess-arrive{0%{transform:translateY(-8px) scale(1.15)}to{transform:translateY(0) scale(1)}}.chess-replay{display:flex;flex-direction:column;align-items:center;gap:12px}.chess-replay .chess-board-wrap{height:min(50dvh,420px);min-height:180px}.chess-promotion button{display:flex;flex-direction:column;align-items:center;text-transform:capitalize}.chess-promotion .chess-piece{width:48px;height:48px}.arcade-arena[data-game=chess-puzzle]{--arcade-ink: #223947;--arcade-muted: #516876;--arcade-card: #f8fbf3;--arcade-line: #b8caca;background:#e6eef0}.arcade-arena[data-game=chess-puzzle]:before{background:linear-gradient(0deg,#e6eef0f5,#e6eef025 65%,#e6eef0cc)}.arcade-arena[data-game=chess-puzzle] .arcade-ready h1{text-shadow:0 2px 20px #fff8eaaa}.arcade-arena[data-game=chess-puzzle] .arcade-ready>p:not(.arcade-eyebrow),.arcade-arena[data-game=chess-puzzle] .arcade-status,.arcade-arena[data-game=chess-puzzle] .arcade-scorebar{color:var(--arcade-ink)}.arcade-arena[data-game=chess-puzzle] .arcade-scorebar strong{color:var(--arcade-ink)}.arcade-arena[data-game=chess-puzzle] .arcade-icon{color:var(--arcade-ink);background:#ffffffa6;border-color:#b8caca}.arcade-arena[data-game=chess-puzzle] .arcade-pause-overlay{color:#f2f6ff}.arcade-arena[data-game=chess-puzzle] .arcade-arena-art{opacity:.82}.arcade-arena[data-game=chess-puzzle][data-playing] .arcade-arena-art{opacity:.2}.dark .arcade-arena[data-game=chess-puzzle]{--arcade-ink: #f2f6ff;--arcade-muted: #b7c7df;--arcade-card: #17253c;--arcade-line: #394b68;background:#081122}.dark .arcade-arena[data-game=chess-puzzle]:before{background:linear-gradient(0deg,#071123f5,#07112355 60%,#071123cc)}.dark .arcade-arena[data-game=chess-puzzle] .arcade-icon{background:#122038aa;border-color:#ffffff20}.chess-quest{width:100%;height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;text-align:center;position:relative}.chess-objective .arcade-eyebrow{margin:0 0 5px;font-size:11px}.chess-objective>p:last-of-type{margin:0;font-weight:700;font-size:clamp(12px,1.4vw,18px)}.chess-objective span{color:var(--arcade-muted);font-size:12px;display:inline-block;margin-left:12px}.chess-objective progress{width:min(280px,80%);height:5px;display:block;margin:8px auto 0;accent-color:#bd923d}.jayden-arcade .chess-controls{gap:6px}.jayden-arcade .chess-controls button{font-size:12px;padding:6px 11px;min-height:36px}.chess-success{position:absolute;bottom:55px;left:50%;transform:translate(-50%);width:min(480px,94%);padding:12px 18px;border-radius:15px;background:#fff2d7ed;border:1px solid #d8b779;color:#423719;box-shadow:0 8px 35px #17334540;font-size:12px;pointer-events:none;animation:chess-reward .6s ease-out}@keyframes chess-reward{0%{opacity:0;scale:.85}to{opacity:1;scale:1}}@media(max-width:600px){.chess-quest{gap:6px}.chess-controls{max-width:100%}.chess-objective span{display:block;margin:3px 0 0}.jayden-arcade .chess-controls button{padding:6px 8px}.chess-success{bottom:90px;padding:9px}}@media(max-height:600px)and (min-width:600px){.chess-quest{gap:4px}.chess-objective .arcade-eyebrow{margin:0}.chess-objective progress{margin-top:3px}.chess-controls{flex-wrap:nowrap}.jayden-arcade .chess-controls button{min-height:30px;padding:4px 8px}.chess-success{bottom:40px}}@media(max-height:600px)and (min-width:600px){.chess-quest{grid-template-columns:minmax(0,1fr) minmax(240px,.9fr);grid-template-rows:auto minmax(0,1fr);column-gap:16px}.chess-quest>.chess-board-wrap{grid-column:1;grid-row:1 / -1}.chess-objective{grid-column:2;align-self:end;padding-top:12px}.chess-objective span{display:block;margin:6px 0 0}.chess-controls{grid-column:2;flex-wrap:wrap;align-content:center;justify-self:center;max-width:330px}.chess-success{width:45%;left:75%;bottom:5px;padding:8px}}.chess-library-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:15px 0}.chess-library-filters label{display:flex;align-items:center;gap:7px;font-size:12px}.chess-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;max-height:45dvh;overflow:auto;padding:5px;margin:15px 0}.chess-library-grid button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:5px;font-size:12px}.chess-library-grid span{font-weight:400;color:var(--arcade-muted)}.chess-island-map{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:20px 0}.chess-island-map article{border:1px solid var(--arcade-line);border-radius:14px;padding:13px;background:var(--arcade-card)}.chess-island-map article[data-complete]{border-color:#84b255}.chess-island-map article>span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#bd923d33;color:var(--arcade-ink)}.chess-island-map h3{font-size:14px;margin:10px 0 4px}.chess-island-map p,.chess-island-map button{font-size:11px}.chess-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:15px 0}.chess-calendar time{text-align:center;padding:9px;border-radius:8px;border:1px solid var(--arcade-line);font-size:12px}.chess-calendar time[data-complete]{background:#c7f66b;color:#17240c}.arcade-arena[data-game=chess-puzzle] .arcade-dialog{color:var(--arcade-ink);background:var(--arcade-card);border-color:var(--arcade-line)}.arcade-arena[data-game=chess-puzzle] .arcade-dialog h3{color:var(--arcade-ink)}.arcade-arena[data-game=chess-puzzle] .arcade-dialog p{color:var(--arcade-muted)}.arcade-arena[data-game=chess-puzzle] .arcade-setting{border-color:var(--arcade-line)}.expansion-strip{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;font-size:13px;text-align:center;color:#d8e5f8;max-width:950px;flex-shrink:0}.expansion-strip label{display:flex;align-items:center;gap:7px}.expansion-board{min-height:0;flex:1;max-width:100%;border:1px solid #9ab2e73d;border-radius:18px;background:linear-gradient(145deg,#26375a,#101c32);box-shadow:0 16px 60px #0005,0 0 35px #9bbaff15}.forge-board{width:min(100%,290px);border-radius:8px}.expansion-controls button{padding:7px 13px;min-height:44px}.warehouse-board{display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(8,1fr);aspect-ratio:1;width:auto;height:100%;flex:0 1 auto;padding:6px;gap:3px;max-width:min(100%,550px)}.jayden-arcade .warehouse-tile{border-radius:9px;padding:0;min-height:0;min-width:0;aspect-ratio:1;display:flex;align-items:center;justify-content:center;font-size:clamp(18px,6vmin,38px);font-weight:900;color:#d2efff;background:#213d4d;border-color:#74979922;opacity:1}.jayden-arcade .warehouse-tile.tile-0{background:linear-gradient(145deg,#526c81,#2e445a);border-color:#c2d6ed44;box-shadow:inset 0 -5px #0002}.jayden-arcade .warehouse-tile.tile-2{background:#395a54;color:#9bf5c4;box-shadow:inset 0 0 22px #90ffc225}.jayden-arcade .warehouse-tile.tile-3{background:#75c6da;color:#f2ffff}.jayden-arcade .warehouse-tile:is(.tile-4,.tile-5,.tile-6,.tile-7){background:repeating-linear-gradient(135deg,#597677 0px 10px,#476368 10px 20px);color:#dcf7dc}.jayden-arcade .warehouse-tile.tile-8{background:#795c92;color:#ebc3ff}.jayden-arcade .warehouse-tile.tile-9{background:#64495f;color:#ffb7cf}.jayden-arcade .warehouse-tile[data-open]{background:#316151;color:#a7f4c6}.jayden-arcade .warehouse-tile[data-box]{color:#ffe384;text-shadow:0 0 20px #ffcd7377;box-shadow:inset 0 0 0 3px #ffc86988}.jayden-arcade .warehouse-tile[data-powered]{background:#447a63;color:#bcffbd;box-shadow:inset 0 0 0 3px #bcffbd,0 0 16px #9dffbd33}.jayden-arcade .warehouse-tile[data-robot]{background:#234f65}.golf-board{width:100%;max-width:1100px;touch-action:none;cursor:crosshair;background:#8bd8f2}.golf-controls label{font-size:12px;display:flex;gap:7px;align-items:center}.golf-controls input{width:110px}.tangram-board{width:100%;max-width:1000px;touch-action:none}.tangram-board polygon[data-piece]{cursor:grab;filter:drop-shadow(0 3px 3px #0003)}.tangram-board polygon[data-placed]{cursor:default}.tangram-pieces button{min-width:44px;padding:6px}.tangram-pieces button[aria-pressed=true]{border-color:#ffe09b;background:#4d4560}.tangram-content{position:relative}.tangram-alive{position:absolute;top:28%;left:63%;font-size:clamp(70px,12vw,150px);pointer-events:none;filter:drop-shadow(0 8px 30px #ffe6ac77);animation:tangram-awake 2s ease-in-out infinite}@keyframes tangram-awake{50%{transform:translateY(-15px) rotate(7deg)}}@media(max-width:600px){.expansion-strip{font-size:11px;gap:5px}.expansion-controls{gap:4px}.expansion-controls button{font-size:12px;padding:6px 9px}.warehouse-board{height:auto;width:min(100%,430px);flex:1}.warehouse-tile{border-radius:5px!important}.golf-controls{gap:4px}.golf-controls input{width:80px}.tangram-pieces{gap:3px}.tangram-pieces button{min-width:38px;min-height:38px}}@media(max-height:600px)and (min-width:600px){.expansion-strip{font-size:11px}.warehouse-board{max-height:100%}.tangram-pieces{position:absolute;left:10px;bottom:50px;display:grid;grid-template-columns:repeat(2,1fr)}}.warehouse-board,.tangram-pieces,.echo-orbit,.warehouse-editor,.golf-editor{border:0;margin:0}.forge-content{position:relative}.forge-launch{position:absolute;left:50%;top:40%;z-index:2;font-size:100px;pointer-events:none;filter:drop-shadow(0 0 25px #ffe68f);animation:forge-launch 2s ease-out both}@keyframes forge-launch{0%{transform:translate(-50%,100px) scale(.7);opacity:.3}to{transform:translate(-50%,-100px) scale(1.2);opacity:1}}.arcade-stage:has(.forge-content,.warehouse-content){container-type:size}.warehouse-board{width:min(100%,calc(100cqh - 100px),600px);height:auto;min-width:0;aspect-ratio:1;flex:none}.forge-board{width:min(100%,calc((100cqh - 100px)/2),380px);height:auto;aspect-ratio:1 / 2;flex:none}@media(max-width:600px){.forge-board{width:min(100%,calc((100cqh - 140px)/2))}}@media(max-height:600px)and (min-width:600px){.warehouse-board{width:min(100%,calc(100cqh - 75px))}.forge-board{width:min(100%,calc((100cqh - 70px)/2))}}.echo-content{max-width:1000px;margin:auto}.echo-orbit{flex:1;min-height:0;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);gap:18px;width:min(100%,650px);padding:10px}.jayden-arcade .echo-pad{--spirit: #fff;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;min-width:0;gap:6px;border:2px solid var(--spirit);border-radius:35%;background:radial-gradient(ellipse at top,color-mix(in srgb,var(--spirit) 28%,#17243b),#14243c);color:var(--spirit);box-shadow:inset 0 0 25px #ffffff0c,0 6px 30px #0004;opacity:1;transition:transform .12s,box-shadow .12s,background .12s}.echo-pad .echo-face{font-size:clamp(36px,8vmin,80px);line-height:1.1;filter:drop-shadow(0 0 10px currentColor)}.echo-pad strong{font-size:clamp(14px,2.5vw,24px)}.echo-pad small{font-size:12px}.jayden-arcade .echo-pad[data-lit]{background:radial-gradient(ellipse at top,#fff8d4,var(--spirit));color:#17243b;transform:scale(1.04);box-shadow:0 0 45px color-mix(in srgb,var(--spirit) 60%,transparent),inset 0 0 25px #fff8}.jayden-arcade .echo-pad:hover:not(:disabled){background:color-mix(in srgb,var(--spirit) 30%,#17243b)}@media(max-width:600px){.echo-orbit{gap:12px;padding:8px}.echo-pad small{font-size:11px}.echo-pad .echo-face{font-size:clamp(35px,12vw,60px)}}.warehouse-editor{display:grid;grid-template-columns:repeat(8,1fr);gap:3px;max-width:440px;margin:16px auto}.jayden-arcade .warehouse-editor button{aspect-ratio:1;min-height:0;padding:0;color:#d8e6ff;background:#294556;border-color:#719aaa;font-size:22px;border-radius:5px}.jayden-arcade .warehouse-editor button[data-wall]{background:#657990}.golf-editor{display:grid;grid-template-columns:repeat(16,1fr);gap:1px;margin:16px auto;max-width:680px}.jayden-arcade .golf-editor button{aspect-ratio:1;min-height:0;min-width:0;padding:0;border-radius:2px;font-size:15px;border:1px solid #fff3}.tangram-editor{height:min(50dvh,440px);display:flex;margin:16px 0}.tangram-editor .tangram-board{height:100%;width:100%}.arcade-dialog .arcade-button-row{margin-top:12px}@media(max-width:600px){.jayden-arcade .golf-editor button{font-size:11px}.tangram-editor{height:300px}}
