:root{--blue:#1169f3;--blue-dark:#0954c9;--ink:#182a46;--muted:#748197;--line:#e4eaf2;--pale:#edf4ff;--bg:#f6f8fc;--green:#168578;--orange:#f59237;--radius:20px;font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:default;opacity:.38}button:focus-visible,a:focus-visible{outline:3px solid #f5a448;outline-offset:3px}button{color:inherit}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.site-header{height:82px;background:#fff;border-bottom:1px solid var(--line)}.header-inner{max-width:1160px;padding:0 28px;margin:auto;height:100%;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:11px;border:0;background:none;font-weight:800;font-size:32px;letter-spacing:-1.8px;padding:4px 0;color:var(--blue)}.brand-dot{color:var(--orange)}.brand-mark{display:grid;grid-template-columns:repeat(3,7px);gap:3px;transform:rotate(-7deg)}.brand-mark i{height:7px;border-radius:1.5px;background:var(--blue)}.brand-mark i:nth-child(3){background:var(--orange);transform:translateY(-3px)}.brand-sub{font-size:13px;color:#53647e;letter-spacing:1px;border-left:1px solid var(--line);padding:4px 0 4px 18px;margin-left:12px;font-weight:500}nav{display:flex;gap:27px}.nav-link{border:0;background:none;font-size:13px;color:#53647e;padding:12px 0;display:flex;align-items:center;gap:7px}.nav-link:first-child{color:var(--blue);font-weight:650}.nav-link .icon{width:16px;height:16px}main{max-width:1160px;margin:auto;padding:0 28px;min-height:calc(100svh - 175px)}.hero{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:60px;padding:64px 0 46px}.eyebrow{font-size:11px;letter-spacing:2.6px;font-weight:700;color:var(--blue);display:flex;align-items:center;gap:9px}.eyebrow:before{content:"";width:6px;height:6px;background:var(--blue);border-radius:50%}.hero h1{font-size:clamp(34px,4vw,48px);line-height:1.42;letter-spacing:-1.6px;margin:20px 0 15px;font-weight:750}.hero h1 em{font-style:normal;color:var(--blue)}.hero-description{font-size:14px;line-height:1.9;color:var(--muted);margin:0;max-width:440px}.hero-stats{display:flex;gap:30px;margin-top:30px}.hero-stats div{display:flex;align-items:baseline;gap:7px}.hero-stats strong{font-size:26px;font-weight:650;letter-spacing:-1px}.hero-stats span{font-size:12px;color:var(--muted)}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:300px;background:radial-gradient(ellipse,#e5efff 0%,transparent 68%)}.preview-card{width:266px;padding:16px;background:white;transform:rotate(6deg);border:1px solid #e2e8f1;box-shadow:0 18px 55px #1a55951a;border-radius:16px}.preview-top{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1px;color:var(--muted);margin-bottom:10px}.preview-top b{color:var(--blue);font-size:10px;letter-spacing:0}.mini-grid{display:grid;grid-template-columns:repeat(9,1fr);aspect-ratio:1;border:1.5px solid #4f6688;overflow:hidden}.mini-grid span{display:flex;align-items:center;justify-content:center;font-size:12px;background:#fff;border-right:1px solid #d7e2f0;border-bottom:1px solid #d7e2f0}.mini-grid span.filled{background:#edf4ff;font-weight:600}.mini-grid span:nth-child(3n){border-right:1.4px solid #6d819e}.mini-grid span:nth-child(n+19):nth-child(-n+27),.mini-grid span:nth-child(n+46):nth-child(-n+54){border-bottom:1.4px solid #6d819e}.mini-grid span:nth-child(9n){border-right:0}.floating-label{position:absolute;padding:12px 17px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 22px #25476c0b;font-size:12px;font-weight:600;display:flex;align-items:center;gap:8px}.floating-label .icon{color:var(--blue);width:17px;height:17px}.float-a{left:0;top:46px;transform:rotate(-4deg)}.float-b{right:1px;bottom:17px;transform:rotate(-3deg)}.float-b .icon{color:var(--green)}.art-dot{width:8px;height:8px;background:var(--orange);border-radius:50%;position:absolute;right:22px;top:25px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.section-head h2{font-size:22px;letter-spacing:-.5px;margin:0 0 7px;font-weight:700}.section-head p{margin:0;color:var(--muted);font-size:12px}.mode-switch{display:flex;padding:4px;border:1px solid #e0e7f0;background:#eaf0f8;border-radius:12px;gap:3px}.mode-switch button{border:0;padding:10px 17px;border-radius:8px;background:transparent;font-size:13px;color:var(--muted);display:flex;align-items:center;gap:6px;white-space:nowrap}.mode-switch button.active{color:var(--blue);background:white;box-shadow:0 2px 6px #24476c0c;font-weight:650}.mode-switch .icon{width:16px;height:16px}.sets-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.set-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:26px;transition:transform .18s,box-shadow .18s;position:relative;overflow:hidden}.set-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px #1a3e6a09}.set-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.set-index{font-size:11px;letter-spacing:1.6px;color:#8492a7;font-weight:600}.stage-tag{display:inline-block;background:var(--pale);color:var(--blue);border-radius:6px;padding:5px 8px;font-size:10px;font-weight:550}.set-card h3{font-size:23px;letter-spacing:-.7px;margin:0 0 10px}.set-card p{font-size:12px;color:var(--muted);margin:0 0 22px}.set-pattern{display:grid;grid-template-columns:repeat(5,6px);gap:3px;position:absolute;right:29px;top:80px;transform:rotate(0deg)}.set-pattern i{height:6px;border-radius:1px;background:#dce9ff}.set-pattern i.on{background:#5795f9}.set-card:nth-child(2) .set-pattern i.on{background:#40a79b}.set-card:nth-child(3) .set-pattern i.on{background:#eda65c}.set-progress{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:9px}.progress-track{height:4px;border-radius:5px;background:#edf1f7;overflow:hidden}.progress-track i{height:100%;display:block;background:var(--blue);border-radius:5px;transition:width .2s}.set-card .card-action{margin-top:24px}.card-action{display:flex;justify-content:space-between;align-items:center;border:1px solid #dce7f6;background:#f9fbff;color:var(--blue);width:100%;padding:12px 15px;border-radius:10px;font-size:13px;font-weight:600}.card-action .icon{width:16px;height:16px}.set-card:first-child .card-action{background:var(--blue);color:white;border-color:var(--blue)}.card-action:hover{filter:brightness(.98)}.home-note{display:flex;align-items:center;justify-content:space-between;margin:24px 0 38px;padding:18px 20px;border:1px solid var(--line);border-radius:12px;color:var(--muted);font-size:12px;gap:12px}.home-note span{display:flex;align-items:center;gap:9px}.home-note .icon{width:17px;height:17px}.text-button{background:none;border:0;padding:6px;color:var(--blue);font-size:12px;white-space:nowrap}.resume-banner{border:1px solid #cce0ff;background:#eff5ff;border-radius:13px;padding:17px 20px;display:flex;align-items:center;gap:12px;margin-bottom:28px}.resume-banner>.icon{color:var(--blue)}.resume-banner div{flex:1}.resume-banner strong{font-size:13px}.resume-banner p{font-size:11px;color:var(--muted);margin:5px 0 0}.btn{border:1px solid var(--line);background:#fff;border-radius:10px;padding:12px 18px;font-size:13px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px}.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn.primary:hover{background:var(--blue-dark)}.btn.danger{background:#d94e53;border-color:#d94e53;color:#fff}.btn .icon{width:17px;height:17px}.btn.wide{width:100%}.btn.subtle{border-color:transparent;background:var(--pale);color:var(--blue)}.page-breadcrumb{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;margin:28px 0}.back-button{border:0;background:none;color:var(--muted);display:flex;gap:4px;align-items:center;padding:7px 0}.back-button .icon{height:16px;width:16px}.library-heading{margin:12px 0 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.library-heading h1{font-size:32px;letter-spacing:-1px;margin:8px 0 10px}.library-heading p{font-size:13px;color:var(--muted);margin:0;line-height:1.8}.puzzle-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:36px}.puzzle-card{border:1px solid var(--line);background:#fff;border-radius:16px;padding:23px}.puzzle-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.puzzle-id{font-size:11px;color:var(--muted);letter-spacing:1px}.puzzle-card h3{font-size:18px;margin:0 0 8px}.puzzle-card p{font-size:12px;color:var(--muted);margin:0 0 20px}.puzzle-card .mini-grid{width:100px;margin:18px auto;opacity:.85}.puzzle-card .mini-grid span{font-size:6px}.competition-callout{padding:23px;background:var(--pale);border:1px solid #d5e4fa;border-radius:16px;margin-bottom:26px;display:flex;justify-content:space-between;align-items:center;gap:20px}.competition-callout h3{margin:0 0 8px;font-size:16px}.competition-callout p{margin:0;font-size:12px;color:var(--muted);line-height:1.8}.game-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 22px}.game-heading h1{font-size:24px;margin:6px 0 0;letter-spacing:-.7px}.game-subtitle{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:9px}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:30px;align-items:start;max-width:950px;margin:0 auto 36px}.game-left{min-width:0}.game-stats{display:flex;justify-content:space-between;align-items:center;margin:0 0 13px;gap:10px}.timer{display:flex;align-items:center;gap:8px;font-size:16px;font-variant-numeric:tabular-nums;letter-spacing:.5px;font-weight:600}.timer .icon{color:var(--muted);width:17px;height:17px}.timer button{border:0;background:#eaf0f8;color:var(--muted);width:29px;height:29px;border-radius:7px;padding:3px;display:flex;align-items:center;justify-content:center}.timer button .icon{width:15px;height:15px}.filled-stat{color:var(--muted);font-size:12px}.filled-stat strong{color:var(--ink);font-weight:550}.board-wrap{position:relative;box-shadow:0 9px 30px #1b426b08;border-radius:5px;overflow:hidden}.board{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));aspect-ratio:1;border:2px solid #455a78;background:#fff;touch-action:manipulation}.cell{position:relative;aspect-ratio:1;min-width:0;display:flex;align-items:center;justify-content:center;border:0;border-right:1px solid #d6dfe9;border-bottom:1px solid #d6dfe9;border-radius:0;background:#fff;color:var(--blue);padding:0;font-size:clamp(21px,3vw,30px);font-variant-numeric:tabular-nums;user-select:none;-webkit-user-select:none}.cell.given{font-weight:650;color:#243a57;background:#f7f9fc}.cell.related{background:#f0f5fc}.cell.same{background:#dceaff;color:var(--blue-dark)}.cell.selected{background:#c8ddff;box-shadow:inset 0 0 0 2px var(--blue);z-index:1}.cell.wrong{color:#d54d58;background:#fff0f1}.cell.wrong:after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;background:#d54d58;bottom:4px}.cell.correct{color:var(--green)}.cell.box-right{border-right:2px solid #455a78}.cell.box-bottom{border-bottom:2px solid #455a78}.cell:nth-child(9n){border-right:0}.cell:nth-child(n+73){border-bottom:0}.cell:focus-visible{outline:0;box-shadow:inset 0 0 0 3px #ef9b36;z-index:2}.cell .notes{position:absolute;inset:2px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);font-size:clamp(8px,1vw,11px);font-weight:400;color:#627594}.notes span{display:flex;align-items:center;justify-content:center}.pause-overlay{position:absolute;inset:0;background:#eff4fb;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px}.pause-overlay>.icon{width:34px;height:34px;color:var(--blue)}.pause-overlay h3{margin:0;font-size:22px}.pause-overlay p{font-size:12px;color:var(--muted);margin:0 0 6px}.board-caption{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin:11px 0 18px;gap:8px}.board-caption span{display:flex;align-items:center;gap:5px}.legend-dot{width:6px;height:6px;background:#243a57;border-radius:50%;display:inline-block}.legend-dot.blue{background:var(--blue)}.tools{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-bottom:14px}.tool{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 1px 8px;display:flex;flex-direction:column;align-items:center;gap:6px;min-height:62px;font-size:10px;color:#64768e;position:relative}.tool .icon{width:19px;height:19px}.tool.active{border-color:#8ab6fb;color:var(--blue);background:#e8f1ff}.tool.active .tool-badge{color:#fff;background:var(--blue)}.tool-badge{font-size:8px;background:#eaf0f7;color:var(--muted);border-radius:3px;padding:1px 3px;position:absolute;right:4px;top:4px}.keypad{display:grid;grid-template-columns:repeat(9,1fr);gap:7px}.number-key{border:1px solid #dfe8f4;border-radius:10px;background:#eaf2ff;color:var(--blue);padding:11px 0 8px;min-height:62px;display:flex;align-items:center;flex-direction:column;font-size:27px;font-weight:500;gap:3px}.number-key small{font-size:9px;color:#7898c0;font-weight:400;min-height:11px}.number-key:active{background:#ccdefa;transform:translateY(1px)}.number-key.exhausted{background:#f0f3f7;color:#a4b1c3}.input-status{font-size:11px;min-height:20px;color:var(--muted);text-align:center;margin:13px 0 0}.game-sidebar{display:flex;flex-direction:column;gap:16px}.side-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px}.side-card h3{font-size:14px;margin:0 0 17px;display:flex;align-items:center;justify-content:space-between}.side-card h3 span{font-size:10px;color:var(--muted);font-weight:400}.question-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.question-nav button{border:1px solid var(--line);border-radius:9px;background:#fff;min-height:62px;display:flex;flex-direction:column;justify-content:center;gap:5px;font-size:12px}.question-nav button small{font-size:9px;color:var(--muted)}.question-nav button.active{background:var(--pale);color:var(--blue);border-color:#91bafa;font-weight:600}.question-nav button.complete:after{content:"✓";color:var(--green);font-size:10px}.side-copy{font-size:11px;color:var(--muted);line-height:1.9;margin:0 0 16px}.rule-lines{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}.rule-lines div{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.rule-lines b{color:#455a78;font-weight:550}.rule-lines .bonus{color:var(--green)}.side-actions{display:flex;flex-direction:column;gap:8px}.save-note{display:flex;align-items:center;justify-content:center;gap:5px;color:#8c9bb0;font-size:10px;margin:1px 0}.save-note .icon{width:13px;height:13px}.save-warning{color:#b96d28}.tips-card{background:#edf3fb;border:1px solid #e3eaf4;border-radius:14px;padding:19px;font-size:11px;color:#7b8ba1;line-height:1.9}.tips-card strong{display:block;font-size:11px;color:#526882;margin-bottom:6px}.mobile-submit{display:none}.site-footer{max-width:1104px;margin:0 auto;padding:24px 0 28px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;color:#95a1b3;font-size:10px}.toast{position:fixed;bottom:max(28px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%,12px);padding:13px 20px;border-radius:12px;box-shadow:0 6px 30px #162e4b20;background:#203a5a;color:#fff;font-size:12px;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;z-index:30;max-width:calc(100% - 32px);text-align:center;line-height:1.6}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #dce5f1;border-radius:22px;padding:0;width:min(460px,calc(100% - 32px));max-height:85svh;color:var(--ink);box-shadow:0 24px 90px #102e5133}dialog::backdrop{background:#112c4a70;backdrop-filter:blur(4px)}.dialog-inner{padding:30px}.dialog-close{float:right;background:transparent;border:0;padding:0 0 7px 12px;color:var(--muted)}.dialog-close .icon{width:19px;height:19px}.dialog-inner h2{font-size:21px;letter-spacing:-.4px;margin:2px 0 16px}.dialog-inner p{font-size:13px;color:#728198;line-height:1.9}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}.dialog-actions .btn{flex:1}.dialog-symbol{height:52px;width:52px;background:var(--pale);color:var(--blue);border-radius:16px;display:flex;align-items:center;justify-content:center;margin-bottom:20px}.dialog-symbol .icon{width:28px;height:28px}.result-score{text-align:center;padding:12px 0 20px;font-size:54px;font-weight:700;color:var(--blue);letter-spacing:-2px}.result-score small{font-size:18px;color:var(--muted);letter-spacing:0;font-weight:400}.result-meta{display:flex;justify-content:center;gap:22px;color:var(--muted);font-size:11px;margin-bottom:20px}.result-table{width:100%;border-collapse:collapse;font-size:12px;margin:10px 0}.result-table th{text-align:left;color:var(--muted);font-weight:400;font-size:10px}.result-table td,.result-table th{padding:9px 2px;border-bottom:1px solid var(--line)}.result-table td:last-child,.result-table th:last-child{text-align:right}.result-table td button{border:0;background:none;color:var(--blue);padding:0}.rules-list{padding-left:19px;font-size:13px;color:#718198;line-height:2}.rules-list li{margin-bottom:7px}.score-formula{background:var(--pale);padding:14px;text-align:center;border-radius:10px;color:var(--blue);font-size:13px}.hidden{display:none!important}
@media(min-width:1300px){.game-layout{grid-template-columns:560px 290px}}
@media(max-width:900px){.hero{gap:20px;padding-top:46px}.hero-art{min-height:280px}.preview-card{width:228px}.float-a{left:-10px;top:29px}.float-b{right:0;bottom:0}.set-card{padding:21px}.set-card h3{font-size:21px}.set-pattern{right:22px}.game-layout{grid-template-columns:minmax(0,1fr) 250px;gap:22px}.side-card{padding:17px}.cell{font-size:25px}.keypad{gap:5px}.number-key{font-size:24px}.site-footer{margin:0 28px}.puzzle-card{padding:18px}}
@media(max-width:680px){.site-header{height:66px}.header-inner{padding:0 20px}.brand{font-size:28px;gap:9px}.brand-mark{grid-template-columns:repeat(3,6px);gap:2px}.brand-mark i{height:6px}.brand-sub{font-size:10px;padding-left:11px;margin-left:3px;letter-spacing:0}nav{gap:0}.nav-link:first-child{display:none}.nav-link{font-size:0;padding:10px}.nav-link .icon{width:21px;height:21px}main{padding:0 20px;min-height:calc(100svh - 160px)}.hero{padding:32px 0 30px;gap:5px;grid-template-columns:1fr 120px;align-items:center}.eyebrow{font-size:8px;letter-spacing:1.5px}.eyebrow:before{width:5px;height:5px}.hero h1{font-size:28px;line-height:1.55;letter-spacing:-1.1px;margin:12px 0 9px}.hero-description{font-size:11px;line-height:1.9;max-width:230px}.hero-stats{gap:19px;margin-top:18px}.hero-stats strong{font-size:20px}.hero-stats span{font-size:10px}.hero-stats div{gap:4px}.hero-art{min-height:180px;align-self:start;margin-top:17px}.preview-card{width:118px;padding:8px;border-radius:9px;transform:rotate(8deg)}.preview-top{font-size:4px;margin-bottom:6px;letter-spacing:0}.preview-top b{font-size:5px}.preview-card .mini-grid span{font-size:6px}.floating-label{padding:7px 9px;font-size:7px;gap:4px;border-radius:7px}.floating-label .icon{width:10px;height:10px}.float-a{left:-11px;top:0}.float-b{right:-3px;bottom:11px}.art-dot{width:5px;height:5px;right:4px;top:8px}.section-head{margin-bottom:16px;align-items:center}.section-head h2{font-size:19px;margin-bottom:6px}.section-head p{font-size:10px}.mode-switch{border-radius:10px;padding:3px;gap:1px}.mode-switch button{font-size:11px;padding:9px 10px;border-radius:7px;gap:5px}.mode-switch .icon{width:14px;height:14px}.sets-grid{grid-template-columns:1fr;gap:13px}.set-card{padding:20px 21px;border-radius:16px}.set-card-top{margin-bottom:13px}.set-index{font-size:9px}.stage-tag{font-size:9px;padding:4px 7px}.set-card h3{font-size:21px;margin-bottom:7px}.set-card p{font-size:11px;margin-bottom:17px}.set-pattern{top:64px;right:24px}.set-card .card-action{margin-top:17px;padding:11px 13px;font-size:12px}.set-progress{font-size:10px}.home-note{align-items:flex-start;font-size:10px;margin:19px 0 25px;padding:14px;gap:5px;line-height:1.8}.home-note span{align-items:flex-start;gap:6px}.home-note .icon{margin-top:2px;width:14px;height:14px}.text-button{font-size:10px;padding:1px}.site-footer{margin:0 20px;padding:20px 0 24px;font-size:9px;flex-direction:column;gap:7px}.resume-banner{padding:14px;margin-bottom:21px;gap:8px}.resume-banner strong{font-size:11px}.resume-banner p{font-size:9px}.resume-banner>.icon{width:18px;height:18px}.resume-banner .btn{font-size:10px;padding:9px 11px;min-height:38px}.page-breadcrumb{margin:15px 0;font-size:10px}.back-button{font-size:11px;min-height:34px}.library-heading{align-items:flex-start;flex-direction:column;margin-bottom:19px;gap:18px}.library-heading h1{font-size:27px}.library-heading p{font-size:11px}.library-heading .mode-switch{align-self:stretch}.library-heading .mode-switch button{flex:1;justify-content:center}.puzzle-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:25px}.puzzle-card{padding:16px 13px;border-radius:13px}.puzzle-card-head{margin-bottom:12px}.puzzle-id{font-size:9px}.puzzle-card h3{font-size:15px}.puzzle-card p{font-size:10px;margin-bottom:14px;line-height:1.7}.puzzle-card .mini-grid{width:90px;margin:14px auto}.puzzle-card .card-action{padding:9px;font-size:10px}.puzzle-card .card-action .icon{width:13px;height:13px}.competition-callout{flex-direction:column;align-items:stretch;padding:18px;gap:15px}.competition-callout h3{font-size:14px}.competition-callout p{font-size:11px}.game-heading{margin-bottom:16px;gap:10px}.game-heading h1{font-size:21px}.game-heading>.stage-tag{font-size:9px;white-space:nowrap}.game-subtitle{font-size:10px;gap:7px}.game-layout{display:flex;flex-direction:column;gap:20px;margin-bottom:22px}.game-left{width:100%}.game-stats{margin-bottom:11px}.timer{font-size:15px;gap:7px}.filled-stat{font-size:10px}.board{border-width:1.5px}.cell{font-size:clamp(21px,6.3vw,30px)}.cell .notes{font-size:clamp(8px,2.2vw,11px);inset:1px}.board-caption{font-size:9px;margin:10px 0 14px}.tools{gap:6px;margin-bottom:11px}.tool{font-size:9px;min-height:57px;padding:9px 1px 7px;gap:5px;border-radius:9px}.tool .icon{width:18px;height:18px}.tool-badge{font-size:7px;right:3px;top:3px}.keypad{gap:6px}.number-key{min-height:54px;font-size:25px;border-radius:9px;padding:8px 0 6px}.number-key small{font-size:8px;min-height:10px}.input-status{font-size:10px;margin:10px 0;min-height:15px}.mobile-submit{display:flex;width:100%;margin-top:14px}.game-sidebar{width:100%;gap:13px}.game-sidebar .side-card{padding:17px}.game-sidebar .side-card h3{font-size:12px;margin-bottom:13px}.question-nav{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.question-nav button{min-height:51px;font-size:11px;gap:4px}.question-nav button small{font-size:8px}.side-card.score-card{display:none}.tips-card{font-size:10px;padding:15px;line-height:1.8}.save-note{font-size:9px}.dialog-inner{padding:24px}.dialog-inner h2{font-size:19px}.dialog-inner p{font-size:12px}.dialog-actions{margin-top:20px}.dialog-actions .btn{font-size:12px;padding:11px}.result-score{font-size:47px}.rules-list{font-size:12px}.game-page .page-breadcrumb{margin-bottom:10px}.game-page .question-nav-card{order:-1}.game-layout .game-sidebar{order:2}.question-mobile{display:flex;gap:6px;margin-bottom:14px}.question-mobile button{flex:1;min-width:0;padding:8px 2px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:10px;min-height:34px}.question-mobile button.active{color:var(--blue);border-color:#96bdfa;background:var(--pale)}.desktop-only{display:none!important}}
@media(min-width:681px){.question-mobile{display:none}}
@media(max-width:680px){.keypad{grid-template-columns:repeat(5,minmax(0,1fr))}.number-key{min-height:48px;flex-direction:row;justify-content:center;gap:8px}.keypad .number-key:last-child{grid-column:4 / span 2}.number-key small{min-height:0}.game-page .page-breadcrumb{margin-top:10px}.game-page .game-heading{margin-bottom:12px}.game-page .question-mobile{margin-bottom:11px}}
@media(max-width:370px){main{padding:0 14px}.header-inner{padding:0 14px}.brand-sub{display:none}.hero{grid-template-columns:1fr 98px}.hero h1{font-size:25px}.hero-description{font-size:10px}.preview-card{width:99px}.hero-stats{gap:15px}.hero-stats strong{font-size:18px}.hero-stats span{font-size:9px}.hero-art{min-height:160px}.section-head h2{font-size:17px}.section-head p{font-size:9px}.mode-switch button{padding:9px 8px;font-size:10px}.number-key{font-size:22px}.keypad{grid-template-columns:repeat(5,1fr);gap:6px}.number-key{min-height:46px;flex-direction:row;justify-content:center;gap:7px}.keypad .number-key:last-child{grid-column:4 / span 2}.number-key small{font-size:9px}.board-caption{font-size:8px}.game-heading h1{font-size:19px}.tools{gap:4px}.tool{font-size:8px}.question-mobile{gap:4px}.puzzle-card .stage-tag{font-size:8px}.site-footer{margin:0 14px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
