:root{--paper:#f4f2e9;--ink:#191a1b;--muted:#696a67;--line:#d8d8ce;--blue:#343de6;--lime:#d5f48d;--dark:#111318;--purple:#bca7ff;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid #626dff;outline-offset:4px}button{border:0}button,input,select{border-radius:0}[hidden]{display:none!important}.shell{width:min(1440px,calc(100% - 104px));margin-inline:auto}.skip{position:fixed;z-index:100;top:-70px;left:20px;padding:14px;background:var(--blue);color:#fff}.skip:focus{top:12px}.header{height:108px;display:flex;align-items:center;gap:28px;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:12px;font-size:26px;font-weight:900;letter-spacing:-1.3px;white-space:nowrap}.brand-light{font-weight:400}.brand-symbol{display:grid;place-items:center;width:43px;height:43px;background:var(--blue);color:var(--paper);border-radius:12px;font-size:27px;letter-spacing:-7px;padding-right:5px}.brand i{display:inline-block;width:7px;height:7px;background:var(--blue);border-radius:50%;margin-left:4px}.header nav{display:flex;gap:28px;align-items:center;margin-left:auto;font-size:13px;font-weight:600}.header nav a:hover{color:var(--blue)}.header nav span{font-size:9px;background:var(--ink);color:var(--paper);padding:3px 5px;border-radius:5px;margin-left:3px}.sound-toggle,.quiet-button{background:transparent;border:1px solid var(--line);padding:11px 13px;border-radius:7px;font-size:12px;white-space:nowrap}.sound-toggle[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}.hero{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding-block:80px 86px;align-items:center}.eyebrow{font:700 10px/1.6 'Courier New',monospace;letter-spacing:1.6px}.status-dot{display:inline-block;width:6px;height:6px;background:var(--blue);border-radius:50%;margin-right:7px}.hero h1{font-size:clamp(52px,5.7vw,87px);line-height:.99;letter-spacing:-5px;margin:31px 0 30px;font-weight:900}.hero h1>span{color:var(--blue);position:relative;display:inline-block}.hero h1 svg{position:absolute;left:0;bottom:-14px;width:100%;fill:none;stroke:var(--blue);stroke-width:5}.hero h1>b{color:var(--blue)}.hero-copy>p{color:var(--muted);font-size:16px;line-height:1.7;margin-bottom:32px}.hero-actions{display:flex;gap:25px;align-items:center;flex-wrap:wrap}.button{display:inline-flex;justify-content:space-between;align-items:center;gap:22px;min-height:50px;padding:16px 20px;border-radius:7px;font-size:13px;font-weight:700;border:1px solid transparent;transition:transform .2s,background .2s}.button:hover{transform:translateY(-2px)}.button span{font-size:21px;line-height:1}.primary{background:var(--blue);color:#fff}.primary:hover{background:#2029ce}.cream{background:var(--paper);color:var(--ink)}.dark{background:var(--ink);color:var(--paper)}.text-button{background:transparent;font-size:12px;padding:8px 0;display:inline-flex;align-items:center;gap:16px}.text-button:hover{color:var(--blue)}.hero-note{display:flex;align-items:center;gap:13px;font:9px 'Courier New',monospace;letter-spacing:.5px;margin-top:34px;color:var(--muted);flex-wrap:wrap}.hero-note i{width:3px;height:3px;border-radius:50%;background:var(--muted)}.hero-playground{display:grid;grid-template-columns:1fr 1fr;gap:12px;position:relative;padding-top:25px;transform:rotate(-1.5deg)}.playground-label{position:absolute;top:0;left:0;font:8px 'Courier New',monospace;letter-spacing:1.4px;color:var(--muted)}.orbit-feature{grid-column:span 2;position:relative;background:#232331;color:white;border-radius:13px;overflow:hidden;width:100%;aspect-ratio:1.55;text-align:left}.orbit-feature canvas{position:absolute;width:100%;height:100%;inset:0;object-fit:cover}.feature-chip{position:absolute;left:22px;top:22px;font:9px 'Courier New',monospace;border:1px solid #ffffff40;border-radius:5px;padding:8px}.feature-title{position:absolute;bottom:22px;left:23px;right:23px;font-size:30px;font-weight:800;letter-spacing:-1px;display:flex;align-items:center;justify-content:space-between}.feature-title>span{width:43px;height:43px;border-radius:50%;background:var(--lime);color:var(--ink);display:grid;place-items:center}.mini-feature{position:relative;min-width:0;border-radius:10px;min-height:138px;padding:22px 18px;text-align:left;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden}.mini-feature b{font-size:17px;letter-spacing:-.6px;position:relative;z-index:1}.mini-feature small{font-size:9px;opacity:.7;margin-top:8px;position:relative;z-index:1}.mini-bloom{background:var(--lime)}.mini-bloom>span{position:absolute;top:-13px;right:10px;font-size:130px;color:#98ba53;line-height:1}.mini-chrono{background:#cec0f2}.echo-symbol{position:absolute;right:-7px;top:3px;font-size:90px;letter-spacing:-40px;color:#8f76c5;transform:rotate(-25deg)}.playground-sticker{position:absolute;z-index:2;top:20%;right:-17px;background:#f6ac79;padding:12px 15px;transform:rotate(9deg);font-size:11px;font-weight:bold;line-height:1.3;box-shadow:2px 4px 0 #191a1b20}.marquee{display:flex;gap:42px;align-items:center;overflow:hidden;white-space:nowrap;border-block:1px solid var(--line);padding:22px 36px;font:9px 'Courier New',monospace;letter-spacing:1.8px;justify-content:space-around}.marquee b{color:var(--blue);font-size:22px}.daily{margin-top:66px;background:var(--blue);color:white;border-radius:12px;padding:34px;display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:36px;align-items:center;scroll-margin-top:20px}.daily-badge{border-right:1px solid #ffffff30}.daily .eyebrow{font-size:8px;letter-spacing:1px;color:#e1e0ff}.daily h2{font-size:29px;line-height:1.05;letter-spacing:-1px;margin:15px 0}.daily h2>span{font-size:36px;color:var(--lime);margin-left:12px}.daily-badge>p{font:10px 'Courier New',monospace;color:#d0d2ff}.pill{display:inline-block;font:8px 'Courier New',monospace;letter-spacing:1px;padding:7px 9px;border-radius:4px}.light-pill{background:#ffffff1d;color:#efefff}.daily-main h3{font-size:25px;letter-spacing:-.8px;margin:13px 0 9px}.daily-main p{font-size:12px;line-height:1.5;color:#e2e2ff;margin:8px 0}.daily-main .daily-note{font-size:10px;color:#cccfff}.daily-action{display:flex;flex-direction:column;gap:14px;align-items:stretch;max-width:240px;justify-self:end;width:100%}.daily-action>span{font-size:11px}.daily-action small{font-size:9px;opacity:.7}.library{padding-top:90px;scroll-margin-top:20px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px}.section-heading h2{font-size:clamp(34px,3.8vw,54px);letter-spacing:-2.3px;line-height:1.02;margin:16px 0 0}.section-heading h2>span{color:var(--blue)}.section-heading sup{font-size:12px;letter-spacing:0;border:1px solid var(--line);padding:5px 7px;border-radius:5px;vertical-align:top;margin-left:12px}.section-heading>p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.library-tools{display:flex;justify-content:space-between;gap:22px;align-items:center;margin-top:40px;padding-bottom:22px;border-bottom:1px solid var(--line)}.category-filters{display:flex;gap:6px;flex-wrap:wrap}.category-filters button{background:transparent;padding:11px 15px;border-radius:6px;font-size:12px}.category-filters button.selected{background:var(--ink);color:#fff}.category-filters button span{font-size:8px;margin-left:7px;color:#ccc}.search{display:flex;align-items:center;gap:10px;min-width:200px;max-width:260px;border-bottom:1px solid #b5b5aa;padding:10px 0}.search>span{font-size:24px;line-height:1}.search input{border:0;outline:none;background:transparent;font-size:12px;min-width:0;width:100%}.library-options{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:10px;color:var(--muted);padding:20px 0}.library-options>div{display:flex;gap:18px;align-items:center}.library-options button{background:transparent;font-size:10px;color:var(--muted);padding:5px}.library-options button[aria-pressed=true]{color:var(--blue)}#favourite-count{display:inline-block;margin-left:4px}.select-label{display:flex;align-items:center;gap:10px}select{font-size:11px;padding:7px 22px 7px 8px;border:1px solid var(--line);border-radius:5px;background:transparent;color:inherit}.game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 20px}.game-card{min-width:0}.game-cover{position:relative;aspect-ratio:1.42;border-radius:9px;overflow:hidden;background:var(--card-color)}.cover-play{display:block;position:absolute;inset:0;padding:0;background:transparent;width:100%;height:100%;text-align:left}.cover-play canvas{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}.cover-play:hover canvas{transform:scale(1.045)}.cover-index{position:absolute;top:13px;left:13px;z-index:1;font:8px 'Courier New',monospace;color:#ffffffb8}.cover-arrow{position:absolute;right:13px;bottom:13px;width:31px;height:31px;border:1px solid #ffffff70;border-radius:50%;display:grid;place-items:center;color:#fff;background:#191a1b20;font-size:20px}.card-favourite{position:absolute;right:10px;top:9px;width:31px;height:31px;font-size:22px;color:#fff;background:#0002;border:1px solid #ffffff30;border-radius:50%;display:grid;place-items:center;z-index:2}.card-favourite[aria-pressed=true]{background:var(--lime);color:var(--ink);border-color:var(--lime)}.card-content{padding:16px 1px 0}.card-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:0;font-size:17px;letter-spacing:-.5px}.card-title button{padding:0;background:transparent;text-align:left;font-weight:bold}.card-title button:hover{color:var(--blue)}.card-content>p{color:var(--muted);font-size:11px;line-height:1.6;min-height:35px;margin:9px 0 13px}.card-meta{display:flex;align-items:center;gap:9px;font-size:9px;color:var(--muted)}.card-tag{border:1px solid var(--line);border-radius:4px;padding:4px 6px}.card-difficulty{margin-left:auto;display:flex;gap:5px;align-items:center}.card-difficulty i{width:4px;height:4px;display:inline-block;border-radius:50%;background:#7c9c42}.card-difficulty.Intermediate i{background:#c8933e}.card-difficulty.Advanced i{background:#8d6db5}.card-record{font-size:9px;color:var(--blue);margin-top:10px;min-height:11px}.empty{padding:70px 20px;text-align:center}.empty>span{font-size:45px;color:var(--blue)}.empty h3{font-size:24px;letter-spacing:-1px}.empty p{font-size:13px;color:var(--muted);margin-bottom:26px}.progress-section{margin-top:80px;padding:34px;border:1px solid var(--line);border-radius:10px;display:grid;grid-template-columns:1fr 1.4fr;gap:35px;align-items:center}.progress-section h2{font-size:30px;line-height:1.05;letter-spacing:-1.2px;margin:15px 0 12px}.progress-section h2>span{color:var(--blue);margin-left:10px}.progress-section p{font-size:11px;color:var(--muted);max-width:280px;line-height:1.7}.progress-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.progress-stats>div{display:flex;flex-direction:column;gap:10px;border-left:1px solid var(--line);padding-left:25px}.progress-stats strong{font-size:42px;letter-spacing:-2px}.progress-stats strong>small{font-size:15px;color:#999a90;letter-spacing:-.5px}.progress-stats span{font-size:10px;color:var(--muted)}.about{padding-block:90px 70px;scroll-margin-top:20px}.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;margin-top:38px;border-top:1px solid var(--line);padding-top:28px}.about-grid article>span{font:8px 'Courier New',monospace;color:var(--blue);letter-spacing:1px}.about-grid h3{font-size:19px;letter-spacing:-.6px;margin:16px 0 11px}.about-grid p{font-size:12px;line-height:1.8;color:var(--muted);margin:0}.offline{background:#e6e8d9;border-radius:12px;padding:36px;display:flex;gap:30px;align-items:center}.offline-art{font-size:100px;color:var(--blue);line-height:1}.offline h2{font-size:30px;letter-spacing:-1.3px;margin:12px 0}.offline p{font-size:11px;color:var(--muted);max-width:470px;line-height:1.6}.offline>.button{margin-left:auto;flex-shrink:0}.footer{display:flex;align-items:center;gap:30px;padding-block:45px 35px}.footer .brand{font-size:22px}.footer .brand-symbol{width:35px;height:35px;font-size:22px;border-radius:9px}.footer>span{font-size:10px;color:var(--muted)}.footer>.text-button{margin-left:auto;font-size:10px}.footer>small{font-size:9px;color:var(--muted)}
/* The player keeps the board, score and primary controls together. */
dialog{border:0}dialog::backdrop{background:#10131dcc;backdrop-filter:blur(8px)}.player{background:var(--dark);color:#eeefe9;width:min(1250px,calc(100% - 36px));max-height:calc(100dvh - 36px);padding:25px;border:1px solid #363843;border-radius:14px}.player-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff18;padding-bottom:15px;gap:15px}.player-header .eyebrow{color:#b4b6c4;font-size:9px}.player-header h2{font-size:28px;letter-spacing:-1px;margin:7px 0 0}.icon-button{width:36px;height:36px;background:#ffffff0b;color:inherit;display:grid;place-items:center;font-size:27px;border-radius:50%;flex-shrink:0}.icon-button:hover{background:#ffffff20}.player-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:25px}.play-area{min-width:0}.player-toolbar{display:flex;align-items:center;gap:9px;padding:14px 0;flex-wrap:wrap;font-size:10px;color:#b5b6c2}.player-toolbar>label{display:flex;gap:9px;align-items:center}.player-toolbar .sound-toggle{margin-left:auto}.player-toolbar select{border-color:#ffffff25;font-size:10px;padding:7px 20px 7px 7px;color:#eeefe9;background:#191c24}.player .quiet-button,.player .sound-toggle{color:#d8d9e4;border-color:#ffffff20;padding:9px 11px;font-size:10px}.player .sound-toggle[aria-pressed=true]{background:#c4b4fa;color:#171720;border-color:#c4b4fa}.run-mode{font:8px 'Courier New',monospace;color:#b6a8f7;letter-spacing:.5px}.hud{display:flex;align-items:center;gap:30px;border-block:1px solid #ffffff10;padding:10px 0}.hud>span{display:flex;gap:8px;align-items:center}.hud small{font:8px 'Courier New',monospace;color:#9194a5;letter-spacing:1px}.hud b{font:14px 'Courier New',monospace;color:#d5f48d}.hud .hud-round{margin-left:auto;color:#c7b8fa;font:9px 'Courier New',monospace}.game-stage{position:relative;display:flex;justify-content:center;background:#0d1019;border-radius:8px;overflow:hidden;margin-top:10px}.game-stage canvas{display:block;width:auto;height:min(43dvh,420px);max-width:100%;aspect-ratio:1.5;touch-action:none;object-fit:contain}.game-message{font-size:11px;min-height:16px;line-height:1.5;margin:11px 0;color:#d3dbbb}.controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.controls button{min-height:42px;min-width:42px;background:#252938;border:1px solid #45485b;color:#fff;border-radius:6px;font-size:11px;padding:10px 13px;touch-action:none;user-select:none}.controls button:hover,.controls button:active{background:#414358}.dpad{display:grid;grid-template-columns:repeat(3,42px);grid-template-rows:repeat(2,38px);gap:3px;flex-shrink:0}.dpad button{min-height:38px;padding:0;font-size:20px}.dpad button:first-child{grid-column:2}.dpad button:nth-child(2){grid-row:2;grid-column:1}.dpad button:nth-child(3){grid-row:2;grid-column:2}.dpad button:nth-child(4){grid-row:2;grid-column:3}.action-controls{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.game-guide{padding-top:20px;border-left:1px solid #ffffff18;padding-left:23px}.guide-number{font:9px 'Courier New',monospace;color:#bdacf6;letter-spacing:2px}.game-guide h3{font-size:21px;letter-spacing:-.5px;margin:16px 0 10px}.game-guide h4{font-size:10px;margin:18px 0 8px;color:#eeefe9}.game-guide p{font-size:11px;line-height:1.75;color:#a7aabb}.game-guide hr{border:0;border-top:1px solid #ffffff18;margin:18px 0}.game-guide .guide-note{font-size:9px;color:#828696}.keyboard-hint{line-height:2.4!important}kbd{font:9px 'Courier New',monospace;color:#cacbda}.game-guide button{margin-top:8px}.game-guide button[aria-pressed=true]{color:var(--lime)}.game-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#11141ce8;backdrop-filter:blur(5px);text-align:center;padding:25px}.game-overlay .eyebrow{color:#d5f48d}.game-overlay h3{font-size:36px;letter-spacing:-1.5px;margin:18px 0 10px}.game-overlay p{font-size:12px;color:#afb5c8;line-height:1.7;max-width:420px}.game-overlay .button{margin-top:12px}.privacy-dialog{background:var(--paper);color:var(--ink);max-width:570px;width:calc(100% - 36px);border-radius:12px;padding:36px}.privacy-dialog>.icon-button{float:right;background:#191a1b0c}.privacy-dialog h2{font-size:32px;letter-spacing:-1.4px;clear:both;padding-top:14px;margin:0 0 20px}.privacy-dialog p{font-size:13px;line-height:1.8;color:var(--muted)}.privacy-dialog .button{margin-top:16px}
@media(min-width:1600px){.hero{gap:100px}.hero h1{font-size:95px}.hero-playground{max-width:620px}.game-grid{gap:35px 25px}}
@media(max-width:1100px){.shell{width:calc(100% - 64px)}.header nav{gap:18px}.header nav a:last-child{display:none}.hero{gap:35px;padding-block:65px}.hero h1{letter-spacing:-3px}.hero-copy>p{font-size:14px}.hero-actions{gap:14px}.hero-actions .button{font-size:11px;padding:14px}.hero-actions .text-button{font-size:10px}.hero-note{font-size:8px;gap:8px}.daily{gap:24px;padding:28px;grid-template-columns:.9fr 1.1fr 1fr}.daily h2{font-size:25px}.daily-main h3{font-size:23px}.daily-action .button{font-size:11px;padding:13px}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.progress-stats strong{font-size:33px}.progress-stats>div{padding-left:18px}.footer{flex-wrap:wrap;gap:20px}.footer>span{display:none}.player-layout{grid-template-columns:minmax(0,1fr) 210px;gap:18px}.player{padding:20px}.game-guide{padding-left:18px}.player-toolbar .run-mode{display:none}.hud{gap:14px}}
@media(max-width:800px){.header{height:84px}.brand{font-size:23px}.header nav{font-size:11px}.hero{gap:27px}.hero h1{font-size:55px}.hero-copy>p{font-size:12px}.hero-note{font-size:7px}.hero-note i:last-of-type,.hero-note span:last-of-type{display:none}.hero-playground{gap:9px}.feature-chip{font-size:7px;left:16px;top:16px;padding:6px}.feature-title{font-size:23px;left:16px;bottom:16px;right:16px}.feature-title>span{width:33px;height:33px}.mini-feature{min-height:110px;padding:15px 12px}.mini-feature b{font-size:14px}.mini-feature small{font-size:7px}.playground-sticker{font-size:9px;padding:10px;right:-10px}.daily{grid-template-columns:1fr 1.5fr}.daily-action{grid-column:span 2;justify-self:stretch;flex-direction:row;max-width:none;align-items:center;gap:20px}.daily-action .button{margin-left:auto}.daily-action small{display:none}.section-heading h2{font-size:37px}.section-heading>p{font-size:10px}.category-filters{gap:2px}.category-filters button{padding:10px;font-size:10px}.search{min-width:170px;max-width:210px}.game-grid{gap:28px 16px}.card-title{font-size:16px}.card-content>p{font-size:10px;min-height:46px}.card-meta{gap:6px;font-size:8px}.progress-section{grid-template-columns:1fr;gap:20px}.progress-stats>div:first-child{border:0;padding-left:0}.about-grid{gap:26px}.about-grid h3{font-size:17px}.about-grid p{font-size:11px}.offline-art{display:none}.offline h2{font-size:26px}.offline{padding:28px;gap:20px}.offline>.button{font-size:11px}.player-layout{grid-template-columns:1fr}.game-guide{border-left:0;padding:22px 0 0;border-top:1px solid #ffffff18;display:grid;grid-template-columns:1fr 1fr;gap:0 20px;margin-top:20px}.game-guide .guide-number,.game-guide h3,.game-guide>p:first-of-type{grid-column:span 2}.game-guide hr{display:none}.game-guide h4{grid-column:1}.game-guide p{grid-column:1}.game-guide .keyboard-hint,.game-guide .guide-note,.game-guide button{grid-column:2;grid-row:auto}.game-guide h3{margin:10px 0}.game-stage canvas{height:min(47dvh,420px)}.game-guide .keyboard-hint{grid-row:4/7}.game-guide .guide-note{grid-column:span 2}.player-header h2{font-size:25px}.player-toolbar .run-mode{display:inline}}
@media(max-width:600px){.shell{width:calc(100% - 36px)}.header{height:76px;gap:12px}.header nav{display:none}.header>.sound-toggle{margin-left:auto;padding:9px 11px;font-size:10px}.brand{font-size:22px;gap:9px}.brand-symbol{height:36px;width:36px;font-size:23px;border-radius:10px}.hero{grid-template-columns:1fr;padding-block:45px 43px;gap:38px}.hero-copy .eyebrow{font-size:8px;letter-spacing:1.1px}.hero h1{font-size:67px;letter-spacing:-4px;margin:25px 0 28px}.hero-copy>p{font-size:14px;line-height:1.7;margin-bottom:25px}.hero h1 svg{bottom:-11px}.hero-actions{gap:22px}.hero-actions .button{font-size:11px;padding:15px}.hero-actions .text-button{font-size:11px;gap:10px}.hero-note{font-size:7px;margin-top:25px;gap:11px}.hero-note i:last-of-type,.hero-note span:last-of-type{display:block}.hero-playground{max-width:480px;width:100%;margin:auto;transform:rotate(-1deg)}.playground-label{font-size:7px}.orbit-feature{aspect-ratio:1.65}.feature-title{font-size:27px}.mini-feature{min-height:125px;padding:18px 15px}.mini-feature b{font-size:16px}.mini-feature small{font-size:8px}.playground-sticker{right:-7px;font-size:10px}.marquee{padding:16px 18px;gap:24px;justify-content:flex-start;font-size:8px}.marquee b{font-size:17px}.daily{margin-top:34px;padding:25px;grid-template-columns:1fr;gap:21px}.daily-badge{border:0}.daily h2{font-size:28px;margin:13px 0}.daily-badge h2 br{display:none}.daily h2>span{margin-left:10px}.daily-badge>p{margin-bottom:0}.daily-main{border-top:1px solid #ffffff30;padding-top:20px}.daily-main h3{font-size:29px}.daily-main p{font-size:12px}.daily-main .daily-note{font-size:10px}.daily-action{grid-column:1;flex-direction:column;align-items:stretch;gap:12px}.daily-action .button{margin:0;font-size:12px;min-height:47px}.daily-action small{display:block;font-size:9px}.daily .eyebrow{font-size:8px}.library{padding-top:50px}.section-heading{display:block}.section-heading h2{font-size:36px;letter-spacing:-1.8px;margin-top:13px}.section-heading>p{font-size:11px;line-height:1.7;margin-top:18px}.section-heading>p br{display:none}.section-heading .eyebrow{font-size:8px}.library-tools{margin-top:25px;display:flex;flex-direction:column;align-items:stretch;gap:17px;padding-bottom:15px}.category-filters{gap:2px;justify-content:space-between}.category-filters button{padding:9px 8px;font-size:10px}.category-filters button span{margin-left:3px}.search{max-width:none;padding:7px 0;min-width:0}.search input{font-size:12px}.library-options{font-size:9px;gap:6px;align-items:flex-start;padding:17px 0}.library-options>div{gap:7px}.library-options button{font-size:9px;white-space:nowrap}.select-label{gap:4px;font-size:0}.select-label select{font-size:9px;padding:5px 12px 5px 4px;max-width:110px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 12px}.game-cover{border-radius:7px;aspect-ratio:1.15}.cover-index{font-size:6px;left:9px;top:12px}.cover-arrow{right:9px;bottom:9px;width:26px;height:26px;font-size:17px}.card-favourite{width:26px;height:26px;right:7px;top:7px;font-size:18px}.card-content{padding:12px 0 0}.card-title{font-size:15px;letter-spacing:-.6px}.card-content>p{font-size:10px;line-height:1.6;min-height:48px;margin:8px 0 10px}.card-meta{gap:4px;font-size:7px;flex-wrap:wrap}.card-tag{padding:3px 4px}.card-difficulty{gap:3px}.card-meta .audio-label{display:none}.card-record{font-size:8px;margin-top:8px}.progress-section{margin-top:45px;padding:25px;gap:20px}.progress-section h2{font-size:28px}.progress-section h2 br{display:none}.progress-section p{font-size:11px}.progress-stats{gap:12px;grid-template-columns:1fr 1fr}.progress-stats>div{padding-left:15px}.progress-stats>div:last-child{grid-column:span 2;border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:20px}.progress-stats strong{font-size:37px}.progress-stats span{font-size:9px}.about{padding-block:52px 38px}.about-grid{grid-template-columns:1fr;gap:26px;margin-top:25px;padding-top:24px}.about-grid h3{font-size:21px;margin:13px 0 9px}.about-grid p{font-size:12px}.offline{display:block;padding:26px}.offline h2{font-size:33px}.offline p{font-size:11px;line-height:1.8;margin-bottom:22px}.offline>.button{width:100%;font-size:12px}.footer{display:grid;grid-template-columns:1fr;gap:20px;padding-block:32px}.footer>.text-button{margin-left:0;justify-self:start;font-size:11px}.footer>small{font-size:9px}.player{padding:15px;width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:10px}.player-header{padding-bottom:12px}.player-header h2{font-size:23px}.player-header .eyebrow{font-size:8px;letter-spacing:1px}.player-toolbar{gap:7px;padding:12px 0}.player-toolbar>label{font-size:9px;gap:5px}.player-toolbar .sound-toggle{margin-left:auto}.player-toolbar .quiet-button,.player-toolbar .sound-toggle{padding:8px;font-size:9px}.player-toolbar .run-mode{display:none}.player-toolbar select{font-size:10px;max-width:100px}.hud{gap:14px;padding:10px 0;flex-wrap:wrap}.hud>span{gap:5px}.hud small{font-size:7px;letter-spacing:.5px}.hud b{font-size:12px}.hud .hud-round{font-size:8px}.game-stage canvas{height:auto;width:100%;aspect-ratio:1.5}.game-message{font-size:10px;min-height:30px;line-height:1.6;margin:10px 0}.controls{gap:8px;align-items:flex-end}.dpad{grid-template-columns:repeat(3,36px);grid-template-rows:repeat(2,36px);gap:3px}.controls button{min-width:36px;min-height:36px;padding:8px;font-size:10px}.dpad button{padding:0;font-size:19px}.action-controls{gap:5px;max-width:59%}.game-guide{display:block;margin-top:18px;padding-top:18px}.game-guide h3{font-size:22px;margin-top:12px}.game-guide p{font-size:11px}.game-guide .guide-note{font-size:10px}.game-guide h4{font-size:11px}.game-overlay{padding:15px}.game-overlay h3{font-size:26px;letter-spacing:-1px;margin:10px 0 5px}.game-overlay .eyebrow{font-size:8px}.game-overlay p{font-size:10px;margin:5px 0}.game-overlay .button{font-size:10px;padding:10px 14px;min-height:37px;margin-top:10px}.privacy-dialog{padding:26px}.privacy-dialog h2{font-size:29px}.privacy-dialog p{font-size:12px}}
@media(max-width:350px){.hero h1{font-size:58px}.hero-actions{gap:14px}.hero-actions .text-button{font-size:10px}.category-filters button{padding:8px 6px;font-size:9px}.game-grid{gap:23px 10px}.card-title{font-size:13px}.card-content>p{font-size:9px}.hero-note{font-size:6px}.header>.sound-toggle{padding:8px;font-size:9px}.brand{font-size:20px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Shared accessible targets and independent Flight mode controls. */
button,a,select,input{touch-action:manipulation}.cover-play{display:block;text-decoration:none;color:inherit}.card-title a{color:inherit;text-decoration:none}.card-title a:hover{text-decoration:underline}.notice{padding:14px 20px;background:#ece5f4;border-radius:8px}.flight-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 16px;border:1px solid #797183;background:transparent;border-radius:7px;font:600 13px inherit;color:inherit;cursor:pointer;width:100%;margin-top:14px}.flight-button:disabled{opacity:.65;cursor:wait}.flight-status{font-size:12px;line-height:1.5;margin:8px 0 0;color:#625b6a}.flight-status:empty{display:none}.ready-overlay{z-index:2}.ready-overlay p{max-width:460px}.ready-overlay h3{font-size:clamp(25px,4vw,42px)}.text-game-status{background:#212235;color:#eeeaf6;padding:12px 16px}.text-game-status summary{cursor:pointer;min-height:48px;display:list-item;padding-top:12px}.text-game-status p{font-size:14px;line-height:1.6}.import-label{display:block;margin-top:24px;font-weight:650}.import-label input{display:block;width:100%;min-height:48px;margin-top:10px;font:inherit}.player-toolbar{flex-wrap:wrap}.player-toolbar select{min-height:48px}.sound-toggle,.quiet-button,.icon-button,.text-button,.category-filters button,#favourites-filter,select{min-height:48px}.icon-button{min-width:48px}.card-favourite{width:48px;height:48px}.action-controls button,.dpad button{min-height:52px;min-width:52px}.action-controls{flex-wrap:wrap;gap:10px}.controls{gap:16px}.game-guide .flight-button{color:#f1edf7;border-color:#8b819e}.privacy-dialog .icon-button{float:right}.footer{flex-wrap:wrap;gap:20px}.footer>a:not(.brand){min-height:48px;display:inline-flex;align-items:center}.header{gap:16px}.header .sound-toggle{white-space:nowrap}.mini-bloom>span{font-size:64px;line-height:1}.cover-play:focus-visible,.flight-button:focus-visible{outline:3px solid #6552a1;outline-offset:3px}
@media(max-width:700px){.header{flex-wrap:wrap}.header nav{order:3;width:100%;display:flex;justify-content:space-between;gap:12px}.header nav a{min-height:48px;display:inline-flex;align-items:center}.header .brand{margin-right:auto}.header .sound-toggle{padding:8px 10px;font-size:12px}.library-tools,.library-options{gap:16px}.library-options>div{gap:10px;flex-wrap:wrap}.category-filters{gap:8px}.category-filters button{padding:12px 18px}.player{width:100%;max-width:100vw;max-height:100dvh;margin:0;border-radius:0}.player-layout{display:block}.player-header{padding:16px}.player-toolbar{gap:8px;padding:12px}.player-toolbar button{padding:10px 12px}.controls{padding:16px;align-items:flex-start;flex-wrap:wrap}.dpad{gap:8px}.dpad button{width:56px;height:56px;font-size:25px}.action-controls{flex:1;min-width:130px}.action-controls button{font-size:15px;padding:13px 17px;flex:1 1 120px;min-height:56px}.game-guide{padding:24px}.ready-overlay{padding:18px}.ready-overlay p{font-size:14px}.game-stage{min-width:0}.game-stage canvas{width:100%;height:auto}.flight-button{min-height:52px;font-size:14px}.privacy-dialog{width:calc(100% - 24px);padding:24px}.progress-stats{min-width:0}.hud{flex-wrap:wrap}}

.dpad{grid-template-columns:repeat(3,52px);grid-template-rows:repeat(2,52px)}.ready-overlay .button{min-height:52px}.flight-button{font-family:inherit;font-size:13px;font-weight:600}.text-game-status p{min-height:48px}@media(max-width:800px){.header{height:auto;min-height:108px;padding-block:18px;flex-wrap:wrap}}@media(max-width:700px){.header{height:auto;min-height:130px;padding-block:18px}.header>.sound-toggle{margin-left:0}.dpad{grid-template-columns:repeat(3,56px);grid-template-rows:repeat(2,56px)}.action-controls{max-width:none;width:100%;justify-content:flex-start}.controls{align-items:flex-start}.ready-overlay .button{font-size:14px;padding:12px 18px;min-height:52px}.ready-overlay p{font-size:12px}.text-game-status summary{min-height:52px}}

@media(max-width:700px){.player-toolbar button,.player-toolbar select{font-size:14px}.player-toolbar>label{font-size:12px}.player-toolbar select{max-width:130px}.hud small{font-size:10px}.hud b{font-size:16px}.category-filters button{font-size:13px}.search input,.select-label select{font-size:16px}.select-label select{max-width:155px}.library-options{font-size:11px}.library-options button{font-size:12px}}

/* A readable scale for content, controls and supporting information. */
:root{font-size:16px}body{font-size:1rem;line-height:1.55}.header nav,.sound-toggle,.quiet-button,.text-button,.button,.category-filters button,select,.library-options,.library-options button{font-size:.9375rem}.header nav span,.category-filters button span{font-size:.8125rem}.eyebrow,.hero-copy .eyebrow,.daily .eyebrow,.section-heading .eyebrow,.playground-label,.feature-chip,.hero-note,.marquee,.pill,.cover-index,.about-grid article>span{font-size:.75rem;line-height:1.6}.hero-copy>p,.section-heading>p,.daily-main p,.card-content>p,.progress-section p,.about-grid p,.offline p,.game-guide p,.privacy-dialog p,.game-message,.ready-overlay p,.game-overlay p,.text-game-status p{font-size:1rem;line-height:1.65}.mini-feature small,.daily-badge>p,.daily-main .daily-note,.daily-action small,.daily-action>span,.card-meta,.card-record,.flight-status,.progress-stats span,.game-guide .guide-note,.game-guide h4,.guide-number,.hud small,.hud .hud-round,.footer small,.footer>span{font-size:.875rem;line-height:1.6}.card-title{font-size:1.25rem;line-height:1.35;letter-spacing:-.35px}.card-content>p{min-height:0}.card-meta{flex-wrap:wrap}.card-difficulty{margin-left:0}.card-content .card-style{font-size:.875rem;line-height:1.5;margin:12px 0 6px;color:var(--ink)}.flight-button{font-size:.9375rem}.hud b{font-size:1.125rem}.player-toolbar>label{font-size:.9375rem}.player-toolbar select{font-size:1rem;max-width:none}.game-guide h4{color:#e3e0ee}.library-options{align-items:flex-start;flex-wrap:wrap}.library-options>div{flex-wrap:wrap;justify-content:flex-start}.select-label{flex-wrap:wrap;gap:8px}.discovery-note{font-size:.9375rem;max-width:72ch;color:var(--muted);line-height:1.65}.discovery-note a{text-decoration:underline;text-underline-offset:3px}.flight-status{color:#585361}.game-guide .flight-status{color:#d6d0e2}.footer button,.footer a{font-size:.9375rem}.player .eyebrow{font-size:.75rem}.hero-note{letter-spacing:.25px}.cover-index{background:#10121fe6;padding:4px 6px;border-radius:4px;color:#fff;max-width:calc(100% - 80px)}
@media(max-width:800px){.header nav,.header>.sound-toggle,.header .sound-toggle,.hero-actions .button,.hero-actions .text-button,.daily-action .button,.category-filters button,.library-options button,.player-toolbar button,.controls button{font-size:.9375rem}.search input,.select-label select{font-size:1rem}.library-options,.select-label{font-size:.9375rem}.hero-note{font-size:.75rem}.hero-copy>p,.section-heading>p,.daily-main p,.daily-main .daily-note,.card-content>p,.about-grid p,.game-guide p,.game-guide .guide-note,.privacy-dialog p,.game-message,.ready-overlay p,.game-overlay p{font-size:1rem}.mini-feature small{font-size:.875rem;opacity:1}.library-options>div{gap:16px;width:100%}.select-label{flex:1 1 200px}.select-label select{width:100%;max-width:none}.player-toolbar>label{font-size:.9375rem}.hud small,.hud .hud-round{font-size:.875rem}.player{padding:16px}.game-guide{padding:20px 0}.game-message{min-height:0}.hero-actions .button{min-height:52px}.category-filters{justify-content:flex-start;gap:8px}.category-filters button{padding:12px 14px}.hud{gap:14px}.hero-note{flex-wrap:wrap}.player-header{padding:12px 0}.controls{padding:16px 0}.game-overlay{position:absolute;overflow:auto}.player-toolbar{padding:12px 0}.text-game-status summary{font-size:1rem}}
@media(max-width:600px){.game-grid{grid-template-columns:minmax(0,1fr);gap:32px}.card-content>p{font-size:1rem}.card-title{font-size:1.375rem}.card-meta,.card-record{font-size:.875rem}.card-favourite{width:52px;height:52px}.hero h1{font-size:clamp(46px,15vw,67px)}.footer{gap:18px}.player-header h2{font-size:1.5rem}.game-overlay .button{font-size:1rem;min-height:52px}.ready-overlay h3{font-size:1.75rem}.hud>span{flex-wrap:wrap}.game-stage{overflow:hidden}.hero-note span{white-space:normal}.marquee{font-size:.75rem}}

@media(max-width:800px){.player-toolbar .quiet-button,.player-toolbar .sound-toggle{font-size:.9375rem}.controls .dpad button{font-size:1.65rem}.controls .action-controls button{font-size:1rem}.game-stage:has(.game-overlay:not([hidden])){min-height:22rem}}

/* Contrast corrections verified against the first cross-browser Axe report. */
:root{--muted:#5e605c}.category-filters button span{color:var(--muted);opacity:1}.category-filters button.selected span{color:#fff}.progress-stats strong>small{color:var(--muted)}#daily-reset{color:#fff;opacity:1}input::placeholder{color:#62645f;opacity:1}

/* One consistent vector vocabulary; no decorative Unicode arrows. */
.ui-icon{display:block;width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.brand-symbol{font-family:Arial,Helvetica,sans-serif;font-weight:800;font-size:32px;letter-spacing:-1px;padding:0}
.cover-arrow{display:grid;place-items:center;width:40px;height:40px}
.cover-arrow .ui-icon,.feature-title .ui-icon{width:20px;height:20px}
.icon-button{display:inline-grid;place-items:center}
.dpad button{display:grid;place-items:center}
.dpad .ui-icon{width:26px;height:26px}
.offline-art{display:grid;place-items:center;width:76px;height:76px;border-radius:22px}
.offline-art .ui-icon{width:38px;height:38px}
.hero-actions .text-button{gap:0}
@media(max-width:600px){.hero-actions{align-items:stretch;gap:12px}.hero-actions .button{justify-content:center}.hero-actions .text-button{padding:12px 16px;border:1px solid var(--line);border-radius:7px}.player canvas[data-presentation=focused]{max-width:100%}}

/* Keep the desktop player as readable as its phone counterpart. */
.player-toolbar .quiet-button,.player-toolbar .sound-toggle,.game-guide .quiet-button{font-size:.9375rem;padding:10px 12px}
.player-toolbar .run-mode{font-size:.75rem;line-height:1.5}
.controls .action-controls button{font-size:1rem;min-width:56px;min-height:56px}
.game-guide .keyboard-hint kbd{font-size:.875rem;line-height:1.6}

.footer>.text-button,.offline>.button{font-size:.9375rem}
.search input{font-size:1rem}

/* Keep native WebKit chrome from overriding the dark player selector. */
.player-toolbar select{appearance:none;-webkit-appearance:none;color-scheme:dark;background-color:#191c24;color:#eeefe9;padding-right:2rem;background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23eeefe9%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m6 9 6 6 6-6%27/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .5rem center;background-size:16px}

/* Stacked NUNA / Gaming wordmark with equal-length text lines. */
.brand{gap:0;flex-shrink:0;letter-spacing:normal;line-height:1}.brand-wordmark{display:block;width:132px;line-height:0}.brand-wordmark svg{display:block;width:100%;height:auto;overflow:visible}.brand-gaming{fill:var(--blue,#343de6)}.footer .brand-wordmark{width:116px}@media(max-width:700px){.brand-wordmark,.footer .brand-wordmark{width:112px}}

/* Expanded player also works where mobile browsers omit native fullscreen. */
.player.is-expanded{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));overflow:auto}
.player.is-expanded .player-layout{display:block;max-width:1000px;margin-inline:auto}
.player.is-expanded .game-guide{display:none}
.controls [hidden]{display:none!important}

.player-surface:fullscreen{box-sizing:border-box;width:100vw;height:100dvh;overflow:auto;background:var(--dark);color:#eeefe9;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}

/* Supplied Nuna Gaming identity, preserved as a complete logo. */
.brand-logo{display:block;width:104px;height:104px;object-fit:contain;background:transparent;border:0;border-radius:0}
.header{height:auto;min-height:128px;padding-block:12px}
.footer .brand-logo{width:96px;height:96px}
@media(max-width:800px){.header{padding-block:16px}.brand-logo,.footer .brand-logo{width:88px;height:88px}}

/* Readable game guidance remains available before play and in fullscreen. */
.ready-actions{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin-top:12px}
.ready-actions .button,.ready-actions .quiet-button{margin:0;min-height:48px;font-size:1rem}
.instructions-dialog{box-sizing:border-box;background:#151922;color:#eeefe9;border:1px solid #45485b;border-radius:14px;width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:20px;overflow:auto;color-scheme:dark}
.instructions-header{position:sticky;top:-20px;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#151922;padding:12px 0;border-bottom:1px solid #ffffff20}
.instructions-header h2{font-size:1.5rem;line-height:1.25;letter-spacing:-.5px;margin:0;overflow-wrap:anywhere}
.instructions-dialog .icon-button{width:48px;height:48px;min-width:48px;min-height:48px}
.instructions-run-limit{padding:12px;background:#252938;border-radius:8px;color:#d5ef88}
.instructions-dialog p,.instructions-dialog li,.instructions-dialog kbd{font-size:1rem;line-height:1.7}
.instructions-dialog h3{font-size:1.125rem;line-height:1.4;margin:24px 0 8px;color:#e6defb}
.instruction-section ol,.instruction-section ul{padding-left:1.4rem}
.instruction-section li{margin-bottom:12px}
.instruction-controls li{padding-block:5px}
.instruction-controls kbd{display:inline-block;margin-right:10px;padding:2px 6px;border:1px solid #ffffff40;border-radius:4px;white-space:normal}
.instructions-dialog #instructions-content:focus-visible{outline:2px solid #c8b8fa;outline-offset:3px}
.instructions-footer{position:sticky;bottom:-20px;background:#151922;padding:14px 0 4px;border-top:1px solid #ffffff20}
.instructions-footer .button{width:100%;min-height:48px;font-size:1rem}
@media(max-width:600px){.instructions-dialog{padding:16px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.instructions-header{top:-16px}.instructions-footer{bottom:-16px}}

.ready-overlay{padding:16px 12px;overflow-y:auto}
.ready-overlay h3{font-size:clamp(24px,5vw,32px);margin:10px 0 6px;line-height:1.2}
.ready-overlay p{font-size:1rem;line-height:1.5;margin:6px 0}
.game-guide .instruction-controls{padding-left:1.2rem;grid-column:1/-1}
.game-guide .instruction-controls li,.game-guide .instruction-controls kbd{font-size:1rem;line-height:1.6}

/* Result actions remain reachable on short and narrow screens. */
#game-overlay{overflow-y:auto;justify-content:flex-start;padding:20px 16px}
#game-overlay>*{flex-shrink:0}
#game-overlay h3{font-size:clamp(24px,4vw,34px);margin:10px 0 6px}
#game-overlay p{margin:8px 0;max-width:48ch}
#post-ranked-score{font-size:1rem;min-height:52px}
#ranked-score-status{font-size:1rem;line-height:1.5}
.privacy-dialog section button{font:inherit;padding:12px 18px;border:1px solid #696274;border-radius:7px;margin:8px 8px 8px 0;background:#e5dfef;color:#211e29;cursor:pointer}
.privacy-dialog section button:focus-visible{outline:3px solid #6552a1;outline-offset:3px}

.player .run-mode{display:inline-flex;font-size:.875rem;line-height:1.5;white-space:normal}
@media(max-width:700px){.player .run-mode{flex:1 1 100%;padding-block:4px}}

/* Keep account competition visible in compact navigation. */
.header nav a[href="/community/"]{display:inline-flex;align-items:center;min-height:48px}
@media(max-width:800px){.header nav a[href="#about"]{display:none}}

/* Keep the board and primary controls together on compact screens. */
.header nav a,.card-title a{display:inline-flex;align-items:center;min-height:48px}
.shelf-status{font-size:16px;line-height:1.5;margin:24px 0 12px}
#show-more-games{min-height:52px;margin-bottom:24px}
.player .game-stage{display:flex;align-items:center;justify-content:center;min-height:0!important;flex:none}
.player #game-canvas{flex:none;max-width:100%;max-height:none;display:block}
.player .game-overlay{overflow:auto;padding:12px;max-height:100%;box-sizing:border-box}
.player .game-overlay h3{font-size:24px;margin:4px 0}
.player .game-overlay p{font-size:16px;line-height:1.4;margin:6px 0}
.player .ready-actions{gap:8px}
.player .ready-actions button{min-height:48px}
.player .controls{gap:10px;padding:10px 0;align-items:center}
.player .dpad[data-layout="horizontal"]{grid-template-columns:repeat(2,52px);grid-template-rows:52px;gap:8px}
.player .dpad[data-layout="horizontal"] button{grid-area:auto!important}
.player .dpad[data-layout="vertical"]{grid-template-columns:52px;grid-template-rows:repeat(2,52px);gap:8px}
.player .dpad[data-layout="vertical"] button{grid-area:auto!important}
.player #action-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:1;min-width:0}
.player #action-controls button{min-width:0;min-height:52px;padding:8px;font-size:16px;line-height:1.2;overflow-wrap:anywhere}
.player .controls[data-many="true"]{flex-wrap:wrap}
.player .controls[data-many="true"] #action-controls{flex-basis:100%;grid-template-columns:repeat(4,minmax(0,1fr))}
.player .game-message{margin:4px 0;font-size:16px;line-height:1.4}
@media(max-width:800px),(max-height:760px){
 .player{padding:10px;max-height:100dvh;max-width:100vw}
 .player .player-header{padding:0 0 8px;min-height:48px;gap:8px}
 .player .player-header h2{font-size:22px;line-height:1.15;margin:0}
 .player .player-header .eyebrow{font-size:12px;line-height:1.3}
 .player .ready-overlay{justify-content:flex-start}
 .player .ready-overlay h3,.player .ready-overlay>.eyebrow{display:none}
 .player .player-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0 0 8px}
 .player .player-toolbar label{grid-column:span 2;display:flex;align-items:center;gap:8px;font-size:14px}
 .player .player-toolbar select{min-height:44px;min-width:0;flex:1;padding:4px}
 .player .player-toolbar button{min-height:48px;min-width:0;margin:0;padding:6px;font-size:16px}
 .player .run-mode{flex:none;font-size:12px;padding:0;justify-content:center}
 .player .hud{padding:6px 0;min-height:32px}
 .player .hud span{font-size:12px}
 .player .hud strong{font-size:18px}
 .player .game-stage{margin-top:0}
 .player .dpad{grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,48px);gap:6px}
 .player .dpad button{width:48px;height:48px;min-height:48px}
 .player .dpad[data-layout="horizontal"]{grid-template-columns:repeat(2,48px);grid-template-rows:48px;gap:6px}
 .player .dpad[data-layout="vertical"]{grid-template-columns:48px;grid-template-rows:repeat(2,48px);gap:6px}
 .player .controls[data-many="true"] #action-controls{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:801px) and (max-height:760px){.player .player-toolbar{display:flex}.player .player-toolbar label{flex:1}.player .run-mode{margin-right:auto}.player .player-toolbar button{padding-inline:10px}}
@media(max-width:800px){
 .player .controls[data-many="true"] .dpad{grid-template-columns:repeat(4,48px);grid-template-rows:48px}
 .player .controls[data-many="true"] .dpad button{grid-area:auto!important}
 .player .controls[data-many="true"] #action-controls{grid-template-columns:repeat(4,minmax(0,1fr))}
}
/* Keep featured cards and their text upright on phones. */
.hero-playground,.playground-sticker{transform:none}

/* Playing-preference discovery is isolated from shelf filters and About styling. */
.preference-section{padding-block:72px;border-top:1px solid var(--line)}
.preference-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:end;margin-bottom:32px}
.preference-heading .eyebrow{margin:0 0 16px;font-size:.75rem}
.preference-heading h2{font-size:clamp(34px,3.8vw,56px);line-height:1.06;letter-spacing:-2px;margin:0}
.preference-heading h2 span{color:var(--blue)}
.preference-heading>p{max-width:36ch;font-size:1.125rem;line-height:1.6;color:#565950;margin:0 0 3px;justify-self:end}
.preference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.preference-card{--card-accent:#e6e5dd;display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:242px;padding:26px;border:1px solid #c9cbc0;border-radius:16px;background:#fbfaf5;transition:background .18s,border-color .18s,box-shadow .18s}
.preference-lime{--card-accent:#b8d965;background:#e5f3c7}
.preference-peach{--card-accent:#efba94;background:#fae6d6}
.preference-lavender{--card-accent:#bca5ea;background:#e9e1f6}
.preference-number{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;margin-bottom:22px;border-radius:50%;background:var(--card-accent);font:700 .8125rem/1 'Courier New',monospace;color:#292d24}
.preference-copy{display:flex;flex-direction:column;flex:1;min-width:0;width:100%}
.preference-card h3{font-size:1.375rem;line-height:1.2;letter-spacing:-.5px;margin:0 0 12px}
.preference-card p{font-size:1rem;line-height:1.55;color:#41463d;margin:0 0 20px;max-width:30ch}
.preference-cta{font-size:.875rem;line-height:1.5;font-weight:700;text-decoration:underline;text-underline-offset:4px;margin-top:auto}
.preference-card:hover{border-color:#777d70;box-shadow:0 4px 0 #191a1b12}
.preference-card:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.preference-footer{display:flex;gap:16px 28px;flex-wrap:wrap;justify-content:space-between;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.preference-footer a{display:inline-flex;align-items:center;min-height:48px;font-size:1rem;font-weight:600;text-decoration:underline;text-underline-offset:5px}
.preference-footer a:hover{color:var(--blue)}
@media(max-width:1000px){.preference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preference-heading{gap:28px}.preference-card{min-height:224px}}
@media(max-width:600px){.preference-section{padding-block:44px}.preference-heading{grid-template-columns:1fr;gap:18px;margin-bottom:24px}.preference-heading h2{font-size:36px;letter-spacing:-1.5px}.preference-heading>p{font-size:1rem;justify-self:start;max-width:36ch}.preference-grid{grid-template-columns:minmax(0,1fr);gap:12px}.preference-card{flex-direction:row;gap:16px;min-height:144px;padding:20px;border-radius:12px}.preference-number{flex-basis:36px;width:36px;height:36px;margin:0}.preference-card h3{font-size:1.25rem;margin-bottom:8px}.preference-card p{margin-bottom:12px}.preference-cta{font-size:.875rem}.preference-footer{display:grid;gap:4px;justify-content:stretch;margin-top:20px;padding-top:12px}}
@media(prefers-reduced-motion:reduce){.preference-card{transition:none}}

/* Share desktop card rows so wrapping copy and save feedback cannot stagger actions. */
@supports(grid-template-rows:subgrid){
 @media(min-width:601px){
  #game-grid>.game-card{display:grid;grid-template-rows:subgrid;grid-row:span 8;row-gap:0}
  #game-grid>.game-card>.card-content{display:grid;grid-template-rows:subgrid;grid-row:span 7;row-gap:0}
  #game-grid .card-title{grid-row:1}
  #game-grid .card-content>p:not([class]){grid-row:2}
  #game-grid .card-meta{grid-row:3}
  #game-grid .card-style{grid-row:4}
  #game-grid .card-record{grid-row:5}
  #game-grid .card-actions{grid-row:6;align-self:start}
  #game-grid .flight-status{grid-row:7}
 }
}
.update-bar{position:fixed;z-index:60;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(560px,calc(100% - 24px));display:flex;align-items:center;gap:16px;padding:12px 12px 12px 18px;background:var(--ink);color:var(--paper);border-radius:10px;box-shadow:0 8px 30px #0005}.update-bar p{margin:0;flex:1;font-size:1rem;line-height:1.45}.update-bar .button{flex-shrink:0;min-height:48px}.player .update-bar{background:#f4f2e9;color:#191a1b}
.offline .flight-summary,.flight-summary{margin:14px 0 22px;padding:12px 14px;background:#d5f48d;color:#191a1b!important;border-radius:8px;font-weight:700;font-size:1rem;line-height:1.5;max-width:520px}.offline-banner{position:sticky;top:0;z-index:50;margin:0;padding:12px 20px;background:#191a1b;color:#f4f2e9;text-align:center;font-weight:700;font-size:1rem;line-height:1.45}
.cloud-saved{color:#1d7a35}.cloud-missing{color:#c4231c}.flight-button{gap:8px}.flight-button .cloud-icon{width:22px;height:22px}.game-guide .flight-button .cloud-saved{color:#7fdc8f}.game-guide .flight-button .cloud-missing{color:#ff7a70}.offline-art.offline-art-saved{background:#d9f2dc}.offline-art.offline-art-missing{background:#fbe0de}.offline-art .cloud-icon{width:38px;height:38px}
.version-panel{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:8px;font-size:.95rem}.version-panel[data-state=required] #version-text{color:#b3261e;font-weight:700}.version-panel[data-state=available] #version-text{font-weight:700}.version-panel[data-state=current] #version-text{color:#1d7a35}.update-bar.update-required{background:#b3261e;color:#fff}.update-bar.update-required .button{background:#fff;color:#b3261e}
.version-panel[data-state=required] #version-button,.version-panel[data-state=available] #version-button{font-weight:700;text-decoration:underline}.version-panel[data-state=required] #version-button{color:#b3261e}

/* ── 2026-11 UX pass: footer, compact cards, tidy filters ───────────────── */
.site-footer{margin-top:72px;background:#ebe8dc;border-top:1px solid var(--line);color:var(--ink)}
.site-footer-main{display:grid;grid-template-columns:minmax(220px,1.3fr) repeat(3,minmax(0,1fr)) minmax(240px,1.2fr);gap:40px 32px;padding-block:56px 40px}
.footer-brand .brand-logo{width:84px;height:84px}
.footer-tagline{margin:18px 0 6px;font-weight:700;font-size:1.0625rem;line-height:1.4}
.footer-blurb{margin:0;color:var(--muted);font-size:.9375rem;line-height:1.6;max-width:30ch}
.footer-heading{margin:0 0 10px;font:700 .75rem/1.4 'Courier New',monospace;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.footer-col{display:flex;flex-direction:column;align-items:flex-start}
.footer-col a,.footer-link{display:inline-flex;align-items:center;min-height:40px;padding:0;background:none;border:0;color:var(--ink);font:inherit;font-size:.9375rem;text-decoration:none;cursor:pointer;text-align:left}
.footer-col a:hover,.footer-link:hover{color:var(--blue);text-decoration:underline;text-underline-offset:4px}
.footer-col a:focus-visible,.footer-link:focus-visible,.version-button:focus-visible,.footer-toggle:focus-visible,.back-to-top:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:4px}
.footer-device{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.site-footer .version-panel{flex:none;display:grid;grid-template-columns:auto 1fr;align-items:start;gap:4px 10px;margin:0;padding:14px 16px;background:var(--paper);border:1px solid var(--line);border-radius:10px;font-size:.9375rem;line-height:1.5}
.version-dot{width:10px;height:10px;margin-top:7px;border-radius:50%;background:#a3a39b}
.version-panel[data-state=current] .version-dot{background:#1d7a35}
.version-panel[data-state=available] .version-dot{background:#c77700}
.version-panel[data-state=required] .version-dot{background:#b3261e}
.site-footer .version-panel #version-text{color:var(--ink);font-weight:400}
.site-footer .version-panel[data-state=required] #version-text{color:#b3261e;font-weight:700}
.version-button{grid-column:2;justify-self:start;min-height:40px;padding:0;background:none;border:0;font:inherit;font-size:.9375rem;font-weight:700;color:var(--blue);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.version-panel[data-state=required] .version-button{color:#fff;background:#b3261e;text-decoration:none;padding:8px 16px;border-radius:8px;margin-top:4px}
.version-panel[data-state=available] .version-button{color:#fff;background:var(--blue);text-decoration:none;padding:8px 16px;border-radius:8px;margin-top:4px}
.footer-toggle{align-self:flex-start;min-height:44px;padding:8px 18px;border:1px solid var(--ink);border-radius:999px;background:transparent;color:var(--ink);font:inherit;font-size:.9375rem;font-weight:600;cursor:pointer}
.footer-toggle[aria-pressed=true]{background:var(--ink);color:var(--paper)}
.site-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-block:18px 28px;border-top:1px solid var(--line);color:var(--muted)}
.site-footer-bottom small{font-size:.875rem}
.back-to-top{display:inline-flex;align-items:center;gap:6px;min-height:40px;color:var(--ink);font-size:.9375rem;font-weight:600;text-decoration:none}
.back-to-top:hover{color:var(--blue)}
@media(max-width:1100px){.site-footer-main{grid-template-columns:repeat(3,minmax(0,1fr));}.footer-brand{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr;gap:4px 24px;align-items:center}.footer-brand .brand{grid-row:span 2}.footer-tagline{margin:0}.footer-device{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;align-items:flex-start}.footer-device .footer-heading{flex-basis:100%;margin-bottom:0}.site-footer .version-panel{flex:1 1 320px}}
@media(max-width:600px){.site-footer{margin-top:48px}.site-footer-main{grid-template-columns:1fr 1fr;gap:32px 20px;padding-block:40px 28px}.footer-brand{grid-template-columns:64px 1fr;gap:4px 16px}.footer-brand .brand-logo{width:64px;height:64px}.footer-col:last-of-type{grid-column:1/-1}.footer-col a,.footer-link{min-height:44px}.footer-device{flex-direction:column;align-items:stretch}.site-footer .version-panel{flex:none}.site-footer-bottom{flex-direction:column-reverse;align-items:flex-start;gap:4px}}

/* Cards: no filler line, compact offline button */
.card-record:empty{display:none}
.game-card .flight-button{min-height:44px;margin-top:12px;padding:8px 12px;gap:8px;font-size:.875rem;border-color:#bdb8aa}
.game-card .flight-button:hover{border-color:var(--ink)}
.label-short{display:none}
@media(max-width:600px){
 .game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}
 .game-cover{aspect-ratio:1.1;border-radius:10px}
 .game-card .cover-index{display:none}
 .game-card .card-favourite{width:44px;height:44px;right:4px;top:4px;font-size:20px}
 .game-card .cover-arrow{transform:scale(.85);transform-origin:bottom right}
 .card-content{padding-top:10px}
 .game-card .card-title{font-size:1.0625rem;line-height:1.25;margin:0}
 .game-card .card-content>p:not(.card-style):not(.flight-status){font-size:.875rem;line-height:1.45;margin:6px 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .game-card .card-meta{font-size:.8125rem;flex-wrap:wrap;gap:4px}
 .game-card .audio-label,.game-card .card-style{display:none}
 .game-card .flight-button{min-height:44px;padding:6px 8px;font-size:.8125rem;margin-top:8px}
 .game-card .flight-button .cloud-icon{width:18px;height:18px}
 .game-card .label-long{display:none}.game-card .label-short{display:inline}
 .library-options>div{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%}
 .library-options #favourites-filter{grid-column:1/-1;justify-self:start;min-height:44px}
 .library-options .select-label{display:flex;flex-direction:column;align-items:stretch;gap:4px;font-size:.875rem;color:var(--ink)}
 .library-options .select-label select{min-height:44px;font-size:1rem}
}
.site-footer .version-panel{grid-template-columns:auto minmax(0,1fr);min-width:0}
.site-footer .version-panel #version-text{min-width:0;white-space:normal;overflow-wrap:anywhere}
.site-footer-main>*{min-width:0}
body{overflow-x:clip}
@media(max-width:600px){.footer-device{flex-wrap:nowrap}.footer-device .footer-heading{flex-basis:auto;margin-bottom:0}}
@media(max-width:600px){.game-card .card-content>p:not(.card-style):not(.flight-status){font-size:1rem;line-height:1.45}.game-card .flight-button{font-size:.875rem}}

.footer-motion{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.footer-note{margin:0;max-width:34ch;font-size:.875rem;line-height:1.45;color:var(--muted)}
@media(min-width:601px){.offline .flight-summary{margin-bottom:0}}

/* Card actions, share sheet. */
.card-actions{display:flex;align-items:stretch;gap:8px;margin-top:14px;min-width:0}
.card-actions .flight-button{flex:1 1 auto;min-width:0;width:auto;margin-top:0}
.share-button{display:inline-grid;place-items:center;flex:0 0 48px;width:48px;min-height:48px;padding:0;border:1px solid #797183;border-radius:7px;background:transparent;color:inherit;cursor:pointer}
.share-button:hover,.card-actions .flight-button:hover{background:#191a1b0d}
.share-button .ui-icon{width:20px;height:20px}
.game-overlay .share-result{background:transparent;border-color:#ffffff66;color:#fff}
.game-overlay .share-result:hover{background:#ffffff1a}
.share-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:24px;border-radius:14px;background:var(--paper);color:var(--ink)}
.share-close{float:right;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:7px;background:transparent;font-size:.9375rem}
.share-dialog h2{font-size:1.5rem;line-height:1.2;letter-spacing:-.5px;margin:6px 90px 8px 0}
.share-message{clear:both;font-size:1rem;line-height:1.5;color:var(--muted);margin:0 0 18px;overflow-wrap:anywhere}
.share-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px}
.share-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:80px;padding:10px 4px;border:1px solid var(--line);border-radius:10px;background:#fbfaf5;font-size:.8125rem;font-weight:600;text-align:center}
.share-tile:hover{border-color:#777d70;background:#fff}
.share-tile svg{width:24px;height:24px;flex:none}
.share-extras{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.share-action{display:inline-flex;align-items:center;justify-content:center;flex:1 1 110px;min-height:48px;padding:8px 12px;border:1px solid #797183;border-radius:7px;background:transparent;font-size:.9375rem;font-weight:600}
.share-action:hover{background:#191a1b0d}
.share-status{min-height:1.5em;font-size:.875rem;line-height:1.5;margin:12px 0 0;overflow-wrap:anywhere}
/* Card action row: share matches the compact Flight mode button; on phone the pair fits one line. */
.game-card .share-button{border-color:#bdb8aa}
.game-card .share-button:hover{border-color:var(--ink)}
@media(max-width:600px){.card-actions{gap:6px}.card-actions .flight-button{padding:8px 6px;gap:6px;white-space:nowrap}.game-card .share-button{flex-basis:44px;width:44px;min-height:44px}}
