:root{color-scheme:dark;--bg:#0b1216;--panel:#101a20;--text:#eff3f5;--muted:#95a6af;--accent:#91d4d8;--line:rgba(160,199,205,.14);--green:#73b394;--orange:#c78f57}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);isolation:isolate}body:before,body:after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none}body:before{background:radial-gradient(ellipse at 0 25%,#1640473b,transparent 50%),radial-gradient(ellipse at 100% 50%,#1640472b,transparent 50%)}body:after{background:url('hex-wallpaper.svg') center top/224px auto repeat;opacity:.5;mask-image:linear-gradient(90deg,#000,transparent 37%,transparent 63%,#000)}h1,h2,h3,p{margin:0}button,input{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{cursor:default;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button,a{transition:background .15s,border-color .15s,color .15s}button:hover:not(:disabled){filter:brightness(1.1)}[hidden]{display:none!important}.skip{position:absolute;top:-80px;left:16px;z-index:20;background:var(--accent);color:#0b1216;padding:10px}.skip:focus{top:8px}.site-header{border-bottom:1px solid var(--line);background:#091115cc}.header-inner{max-width:1392px;margin:auto;padding:22px 40px;display:flex;justify-content:space-between;align-items:center}.wordmark{font-size:34px;line-height:1;letter-spacing:-1.6px;font-weight:750;display:flex;align-items:center;gap:16px}.wordmark span{font-size:10px;letter-spacing:2.5px;font-weight:650;color:var(--accent);border-left:1px solid var(--line);padding:9px 0 9px 17px}.header-inner nav{display:flex;align-items:center;gap:28px}.text-button{background:none;border:0;padding:0;color:var(--muted);font-size:12px;min-height:34px}.text-button:hover,a:hover{color:var(--accent)}.app-link{padding:8px 15px;border:1px solid #91d4d84d;border-radius:6px;font-size:12px;color:var(--accent)}.app-link span{margin-left:12px}.shell{max-width:1392px;margin:auto;padding:38px 40px 0}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:30px}.eyebrow{color:var(--accent);font-size:9px;letter-spacing:2px;font-weight:700;margin-bottom:9px}.intro h1{font-size:clamp(27px,3.1vw,42px);font-weight:600;letter-spacing:-1.6px;line-height:1.15}.intro-note{font-size:13px;color:var(--muted);margin-top:10px}.date-block{text-align:right;flex-shrink:0;padding-bottom:2px}.date-block time{display:block;font-size:13px;font-weight:600}.date-block>span{display:block;color:var(--muted);font-size:11px;margin-top:5px}.date-block b{font-weight:500;font-variant-numeric:tabular-nums;color:#c5d1d7}.play-layout{display:grid;grid-template-columns:210px minmax(0,1fr) 230px;gap:24px;align-items:start}.sidebar-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.sidebar-title h2{font-size:12px;font-weight:600;letter-spacing:.2px}.sidebar-title>span{font-size:11px;color:var(--muted)}.daily-sidebar{padding-top:8px}.size-list{display:grid;gap:10px}.size-button{display:flex;align-items:center;gap:14px;position:relative;width:100%;padding:16px 13px;border:1px solid var(--line);background:#111d2466;text-align:left;border-radius:9px}.size-button[aria-pressed=true]{background:linear-gradient(110deg,#1c363d,#14272e);border-color:#91d4d877;box-shadow:inset 3px 0 0 var(--accent)}.size-button .size-graphic{width:34px;height:38px;flex-shrink:0;color:#68969e}.size-button[aria-pressed=true] .size-graphic{color:var(--accent)}.size-button strong{display:block;font-size:15px;font-weight:550}.size-button small{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin-top:2px}.size-button .done-icon{margin-left:auto;color:var(--green);font-size:17px}.today-progress{height:3px;border-radius:3px;background:#26363c;overflow:hidden}.today-progress span{height:100%;display:block;background:var(--accent);width:0;transition:width .3s}.game-panel{min-width:0;border:1px solid var(--line);border-radius:15px;padding:25px 27px 16px!important;background:radial-gradient(ellipse at 50% 40%,#1b333a20,transparent 75%),#0f121480!important}.game-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.game-heading .eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:3px}.game-heading h2{font-size:24px;font-weight:550;letter-spacing:-.5px}.game-heading h2 span{font-size:11px;color:var(--muted);font-weight:400;letter-spacing:0;margin-left:12px}.timer-block{text-align:right}.timer{font-size:20px;font-variant-numeric:tabular-nums;font-weight:500;letter-spacing:.5px}.game-toolbar{display:flex;justify-content:space-between;align-items:center;margin-top:17px;padding-bottom:16px;border-bottom:1px solid var(--line)}.mode-switch{display:flex;background:#081015;border:1px solid var(--line);padding:3px;border-radius:7px}.mode-switch button{border:0;border-radius:4px;background:transparent;font-size:10px;color:var(--muted);padding:6px 12px;min-height:31px}.mode-switch button[aria-pressed=true]{color:#d5ebed;background:#23383f}.mode-switch button:disabled{opacity:.65}.small-controls{display:flex;gap:8px}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:6px;background:transparent;min-width:35px;min-height:35px;padding:7px;color:var(--muted)}.icon-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.icon-button[aria-pressed=false]{opacity:.5}.precision-note{font-size:10px;color:#d5b18b;margin-top:10px}.board-stage{position:relative;min-height:240px}.board-viewport{width:100%;max-width:510px;aspect-ratio:360/340;margin:10px auto 0;overflow:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#416068 transparent}.board-viewport.is-zoomed{overflow:auto}.demo-native .demo-board{position:relative;min-width:100%;width:100%;aspect-ratio:360/340;margin:0;container-type:inline-size}.demo-native .demo-hex{display:grid;place-items:center;position:absolute;line-height:1}.demo-native .demo-number{font-size:clamp(10px,var(--number-size,5cqw),22px)}.loading{position:absolute;inset:0;z-index:2;background:#0e171bee;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:var(--muted);font-size:12px}.loading-hex{font-size:62px;line-height:1;color:var(--accent);animation:breath 2s infinite}.board-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 4px}.board-bottom>span{font-size:10px;color:var(--muted)}.zoom-controls{display:flex;align-items:center;gap:5px}.zoom-controls button{border:0;background:transparent;font-size:20px;width:30px;height:32px;color:var(--muted)}.zoom-controls span{font-size:9px;min-width:32px;text-align:center;color:var(--muted)}.game-status{min-height:24px;margin:6px 0 8px;text-align:center;font-size:11px;color:#bac8cf;line-height:1.5}.game-status.warning{color:var(--orange)}.right-sidebar{display:grid;gap:22px}.streak-panel{border-bottom:1px solid var(--line);padding:8px 0 22px}.streak-panel .sidebar-title{margin-bottom:8px}.flame{color:var(--accent)!important;font-size:23px!important;line-height:1}.streak-count{display:flex;align-items:baseline;gap:10px}.streak-count strong{font-size:58px;font-weight:400;letter-spacing:-2px;line-height:1.2}.streak-count>span{font-size:13px;color:var(--muted)}.streak-panel>p{font-size:11px;color:var(--muted);margin-top:6px;line-height:1.7;min-height:36px}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin:22px 0}.week-day{display:grid;justify-items:center;gap:8px;font-size:9px;color:var(--muted)}.precision-streak{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);border-top:1px solid var(--line);padding:14px 0 18px}.precision-streak strong{font-weight:500;color:#bbc9cf}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 16px;min-height:42px;border:1px solid var(--line);border-radius:6px;font-size:11px;font-weight:600}.button.primary{background:var(--accent);color:#0b1b20;border-color:var(--accent)}.button.quiet{background:#182a3166;color:#bdd5da}.full{width:100%}.app-card{padding:20px;background:linear-gradient(140deg,#1d323973,#101b1f70);border:1px solid var(--line);border-radius:10px}.app-card img{border-radius:11px;margin-bottom:16px}.app-card .eyebrow{font-size:7px;letter-spacing:1.4px;color:#93b9be}.app-card h2{font-size:20px;font-weight:500;line-height:1.3;letter-spacing:-.5px}.app-card>p:not(.eyebrow){font-size:11px;color:var(--muted);margin-top:11px;line-height:1.8}.app-card .button{font-size:9px;margin-top:19px;padding-inline:6px}.under-game{display:flex;justify-content:space-between;align-items:center;gap:20px;color:#7d929e;font-size:10px;margin:19px 0 30px}.under-game .text-button{font-size:10px;margin-left:6px}.under-game>p:last-child{color:#9eb6bf}.save-dot{display:inline-block;width:5px;height:5px;background:var(--green);border-radius:50%;margin:0 6px 2px 0}.site-footer{max-width:1312px;margin:0 auto;padding:23px 0;display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid var(--line);font-size:10px;color:#80949f}.site-footer>div{display:flex;align-items:center;gap:24px}.site-footer .text-button{font-size:10px}.studio-link img{display:block;height:auto;opacity:.75}.completion{padding:18px 0 6px;text-align:center}.completion h3{font-size:21px;font-weight:500;letter-spacing:-.5px}.completion p{font-size:12px;color:var(--muted);margin-top:5px}.completion-actions{display:flex;justify-content:center;gap:10px;margin:17px 0}.is-solved .game-status{color:var(--green)}.notice{padding:12px 18px;background:#24383e;border:1px solid #54737a;border-radius:6px;margin-bottom:22px;color:#d7e5e9;font-size:12px}.notice button{border:0;background:transparent;color:var(--accent);text-decoration:underline}.audio-notice{font-size:11px;text-align:center;color:var(--orange);margin:6px 0 10px}dialog{max-width:540px;width:calc(100% - 32px);border:1px solid #45616a;border-radius:13px;background:#101c22;color:var(--text);padding:24px;box-shadow:0 30px 100px #0009;max-height:85dvh}dialog::backdrop{background:#03090cc9;backdrop-filter:blur(6px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.dialog-heading h2{font-size:23px;letter-spacing:-.5px;font-weight:550}.dialog-heading .icon-button{font-size:23px;line-height:1}#dialog-body{font-size:13px;color:#b6c6cd}#dialog-body p{margin:12px 0}#dialog-body h3{font-size:14px;color:var(--text);margin-top:22px}.rule-list{padding-left:22px}.rule-list li{padding:5px 0}.dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.dialog-actions .button{flex:1}.tip-example{display:flex;align-items:center;justify-content:center;gap:10px;background:#0b151b;padding:15px;border-radius:7px}.mini-tile{width:46px;height:52px;display:grid;place-items:center;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:#26313a;font-size:20px;color:var(--green)}.mini-tile.selected{background:#29616a;color:#a5edef}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stat-grid>div{background:#172830;padding:16px 8px;text-align:center;border-radius:7px}.stat-grid strong{display:block;font-size:27px;color:var(--text);font-weight:500}.stat-grid span{font-size:10px}.stats-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:20px}.stats-table th,.stats-table td{text-align:left;padding:10px 4px;border-bottom:1px solid var(--line)}.stats-table th{font-weight:500;color:var(--muted)}.stats-table td:last-child{text-align:right;color:var(--accent)}.share-preview{background:#0a141a;border:1px solid var(--line);padding:20px;white-space:pre-wrap;font:14px/1.8 inherit;color:#d8e8eb;border-radius:7px}.share-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.share-buttons .primary{grid-column:1/-1}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#28434b;border:1px solid #68949e;border-radius:8px;padding:12px 20px;font-size:12px;z-index:50;max-width:calc(100% - 32px);text-align:center;box-shadow:0 8px 30px #0006}kbd{background:#273d46;padding:1px 5px;border-radius:3px;font-size:11px}.backup-input{font-size:11px;max-width:100%;margin-top:12px}.fine-print{font-size:10px!important;color:#8399a4!important}.import-error{color:#e3b088}a.underlined{text-decoration:underline;text-underline-offset:3px}@keyframes breath{50%{opacity:.3}}
@media(min-width:1500px){.shell{padding-top:45px}.intro{margin-bottom:38px}}
@media(max-width:1150px){.header-inner,.shell{padding-inline:26px}.play-layout{grid-template-columns:175px minmax(0,1fr) 200px;gap:18px}.game-panel{padding:21px 20px 15px!important}.site-footer{margin-inline:26px}.size-button{gap:10px;padding:14px 10px}.app-card{padding:15px}.size-button .size-graphic{width:28px}}
@media(max-width:950px){.play-layout{grid-template-columns:160px minmax(0,1fr)}.right-sidebar{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:28px;margin-top:8px}.streak-panel{border:0;padding:18px 5px}.streak-panel>p{min-height:0}.app-card{padding:25px}.app-card h2 br{display:none}.app-card .button{max-width:260px}.app-card img{float:right;margin-left:15px}.week{max-width:350px}.intro h1{font-size:34px}.date-block{font-size:11px}.site-footer>div{gap:18px}}
@media(max-width:650px){.header-inner{padding:19px 20px}.wordmark{font-size:29px;gap:10px}.wordmark span{font-size:8px;letter-spacing:1.7px;padding-left:10px}.header-inner nav{gap:15px}.header-inner nav>.text-button{font-size:10px}.app-link{display:none}.shell{padding:26px 18px 0}.intro{display:block;margin-bottom:23px}.intro .eyebrow{font-size:8px}.intro h1{font-size:31px;letter-spacing:-1.1px}.intro-note{font-size:12px}.date-block{display:flex;text-align:left;align-items:center;justify-content:space-between;margin-top:19px}.date-block time{font-size:11px}.date-block>span{font-size:10px;margin:0}.play-layout{display:flex;flex-direction:column;gap:20px}.daily-sidebar{width:100%;padding:0}.sidebar-title{margin-bottom:12px}.size-list{grid-template-columns:repeat(4,1fr);gap:7px}.size-button{display:block;text-align:center;padding:10px 3px;border-radius:7px}.size-button .size-graphic{display:none}.size-button strong{font-size:12px}.size-button small{font-size:8px;line-height:1.7;white-space:nowrap}.size-button .done-icon{position:absolute;top:1px;right:5px;font-size:11px}.size-button[aria-pressed=true]{box-shadow:inset 0 -2px 0 var(--accent)}.today-progress{display:none}.game-panel{width:100%;padding:19px 16px 13px!important;border-radius:11px}.game-heading h2{font-size:23px}.game-toolbar{margin-top:13px;padding-bottom:13px}.board-viewport{margin-top:9px}.board-bottom{padding:0}.game-status{font-size:10px;min-height:30px}.right-sidebar{width:100%;display:grid;grid-template-columns:1fr;gap:18px;margin-top:0}.streak-panel{padding:22px 18px;border:1px solid var(--line);border-radius:10px;position:relative}.streak-panel .sidebar-title{margin-bottom:5px}.streak-count strong{font-size:44px}.streak-panel>p{position:absolute;left:108px;top:57px;right:25px;font-size:10px}.week{max-width:none;margin:18px 0}.precision-streak{padding-bottom:15px}.app-card h2{font-size:23px}.app-card>p:not(.eyebrow){max-width:250px}.under-game{display:block;text-align:center;margin-bottom:20px}.under-game>p:last-child{display:none}.site-footer{margin:0 18px;padding:21px 0;flex-wrap:wrap;gap:15px}.site-footer>div{gap:16px;font-size:9px;order:3;width:100%;justify-content:space-between}.site-footer>span{font-size:9px}.studio-link img{width:65px}.completion h3{font-size:20px}.completion-actions{gap:7px}.completion-actions .button{font-size:10px;padding-inline:12px}dialog{padding:20px}.dialog-heading h2{font-size:22px}}
@media(max-width:370px){.header-inner nav{gap:10px}.header-inner{padding-inline:15px}.wordmark{font-size:26px}.intro h1{font-size:27px}.shell{padding-inline:12px}.game-panel{padding-inline:12px!important}.game-heading h2 span{margin-left:8px;font-size:10px}.mode-switch button{padding-inline:10px}.date-block time{font-size:10px}.size-button strong{font-size:11px}.size-button small{font-size:7px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

.arrow-icon{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.5;vertical-align:middle;flex-shrink:0}.app-link .arrow-icon{margin-left:9px}.streak-symbol{width:23px;height:26px;fill:none;stroke:var(--accent);stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.intro .intro-note{margin-top:0}.intro{align-items:center}.game-toolbar{justify-content:flex-end;margin-top:8px;padding-bottom:10px}.size-button small:empty{display:none}
.board-bottom{display:grid;grid-template-columns:1fr auto 1fr;min-height:56px;margin-top:6px}.board-bottom .precision-toggle{grid-column:2}.board-bottom .zoom-controls{justify-self:end;grid-column:3}
.precision-toggle{position:relative;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:0;background:transparent;color:#6b7380;padding:0;transition:transform .1s,color .16s}
.precision-toggle .precision-ring{position:absolute;inset:0;width:48px;height:48px;fill:none;stroke:currentColor;stroke-width:1.5;opacity:.4;pointer-events:none;transition:opacity .16s}
.precision-toggle[aria-pressed=true]{color:#3dd6db}.precision-toggle[aria-pressed=true] .precision-ring{opacity:.85}
.precision-toggle:active:not(:disabled){transform:scale(.96)}.precision-toggle:disabled{opacity:.45}.precision-toggle[aria-pressed=true]:disabled{opacity:1}
.always-on-setting{display:flex;align-items:center;justify-content:center;gap:8px;width:fit-content;max-width:100%;margin:10px auto 14px;min-height:30px;cursor:pointer;color:#a6adb8;font-size:11px}.always-on-setting input{accent-color:#3dd6db;width:16px;height:16px;margin:0;cursor:pointer;flex-shrink:0}
.best-times{border-top:1px solid var(--line);padding:17px 0 20px}.best-times h3{font-size:12px;font-weight:600;letter-spacing:.2px}.best-times dl{margin:11px 0 0}.best-times dl>div{display:flex;justify-content:space-between;align-items:center;padding:4px 0;font-size:11px;color:var(--muted)}.best-times dd{margin:0;color:#c3d7dd;font-variant-numeric:tabular-nums}.best-times dd span{color:#6d8590}
@media(max-width:650px){.intro{margin-bottom:21px}.game-toolbar{margin-top:5px}.size-button{min-height:48px;display:flex;align-items:center;justify-content:center}.always-on-setting{font-size:10px}.best-times{padding-bottom:18px}}
/* Native daily/result hierarchy, sourced from HomeShare and GameView. */
.intro{justify-content:flex-end;margin-bottom:22px}.intro>div:first-child{display:none}
.daily-sidebar>.sidebar-title{display:block}.daily-sidebar>.sidebar-title h2{margin-bottom:5px}.daily-sidebar>.sidebar-title>span{display:inline-block;font-size:15px;font-weight:650}.daily-sidebar>.sidebar-title>.day-complete{color:#f3f5f7}
.native-icon{display:inline-block;width:18px;height:18px;vertical-align:middle}.done-icon{display:flex;align-items:center}.native-streaks{display:grid;grid-template-columns:1fr 1fr;padding:20px 0;border:1px solid #ffffff0d;background:#171a1f80;border-radius:18px;gap:0}
.native-streaks>div{min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;line-height:1.1}.native-streaks>div+div{border-left:1px solid #ffffff16}.native-streaks img{display:block;object-fit:contain;width:26px;height:29px;margin-bottom:2px}.native-streaks strong{font-size:46px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-1px;color:#f3f5f7}.native-streaks>div+div strong{color:#3dd6db}.native-streaks span{font-size:9px;font-weight:600;letter-spacing:.4px;color:#a6adb8;white-space:nowrap}
.streak-panel{padding-top:0}.streak-panel .week{margin:18px 0}.daily-results{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:14px 0}.daily-results>div{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 1px;border-radius:8px;background:#1f212959;font-size:9px}.daily-results strong{font-size:11px;font-variant-numeric:tabular-nums;color:#f3f5f7}.daily-results i{font-style:normal;color:#3dd6db;height:17px}.daily-results .native-icon{width:14px;height:14px}.total-time{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 0 16px;font-size:11px}.total-time>span{font-weight:700;letter-spacing:1.5px;color:#a6adb8}.total-time strong{font-size:11px;font-variant-numeric:tabular-nums;color:#f3f5f7}.best-times-list{margin:12px 0}.best-times-list>div,.best-times dl>div{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:5px 0;font-size:11px}.best-times-list dd,.best-times dd{font-size:9px;font-variant-numeric:tabular-nums;color:#8897a0;margin:0}.best-times dt{color:#d4dce1}.stats-day-heading{display:flex;justify-content:space-between;font-size:12px;margin-top:20px;color:#a6adb8}.stats-day-heading+ .daily-results{margin-top:8px}
.precision-toggle img{width:22px;height:22px;filter:grayscale(1);opacity:.5}.precision-toggle[aria-pressed=true] img{filter:none;opacity:1}
.completion{padding-top:4px}.completion-actions{margin:10px 0}.timer-block{display:flex;flex-direction:column-reverse}
.precision-dialog,.solved-dialog,.reset-dialog{width:min(390px,calc(100% - 36px));border:1px solid #ffffff14;border-radius:22px;background:#171a1ff5;padding:18px;overflow:visible}.precision-dialog .dialog-heading,.solved-dialog .dialog-heading,.reset-dialog .dialog-heading{justify-content:center;position:relative;margin-bottom:14px}.precision-dialog .dialog-heading h2,.reset-dialog .dialog-heading h2{font-size:18px;font-weight:700;letter-spacing:0;text-align:center}.precision-dialog .dialog-heading button,.solved-dialog .dialog-heading button,.reset-dialog .dialog-heading button{display:none}.precision-dialog #dialog-body,.reset-dialog #dialog-body{color:#d0d5df;font-size:14px;text-align:center}.native-paragraph{white-space:pre-line}.precision-dialog .dialog-actions{flex-direction:column;gap:10px;margin-top:18px}.precision-dialog .button{font-size:16px;font-weight:700;border-radius:14px;padding:16px}.precision-dialog .button.primary{background:#3dd6db;border-color:#3dd6db;color:#0e1015}.precision-dialog .button.quiet{background:#1f212973;color:#d0d5df;border-color:transparent}.precision-dialog .always-on-setting{font-size:13px;margin:18px auto 6px;gap:10px;color:#d0d5df}
.solved-dialog{border-radius:18px;text-align:center}.solved-dialog .dialog-heading h2{font-size:22px;font-weight:700;letter-spacing:0}.solved-time{font-size:34px;font-weight:700;color:#f3f5f7;font-variant-numeric:tabular-nums;line-height:1.4}.solved-dialog #dialog-body .personal-best{font-size:14px;font-weight:600;color:#3dd6db;margin:6px 0}.solved-dialog .button{font-size:15px;font-weight:600;border-radius:14px;padding:12px;background:#3dd6db38;border:1px solid #3dd6db8c;color:#f3f5f7}.solved-dialog .dialog-actions{margin-top:18px}.reset-dialog .button{font-size:15px;border-radius:14px}.settings-list>label{display:flex;align-items:center;justify-content:space-between;padding:12px 0}.settings-list input{accent-color:#3dd6db;width:18px;height:18px}.settings-list .button{margin-top:15px}.color-meanings dt{color:#e2e7eb;font-weight:600;margin-top:12px}.color-meanings dd{margin:3px 0 0}.green-copy{color:#3ed18b}.yellow-copy{color:#ffd166}
.confetti{position:absolute;left:50%;top:48%;width:0;height:0;pointer-events:none;overflow:visible}.confetti i{position:absolute;display:block;background:#3dd6db;border-radius:2px;animation:confetti-fly 1.15s ease-out var(--delay) both,confetti-fade .55s ease-in calc(.95s + var(--delay)) forwards}.celebrate-day{animation:day-pop .55s ease-out,day-wiggle .09s ease-in-out 5 alternate}
@keyframes confetti-fly{from{transform:translate(0,0) rotate(0)}to{transform:translate(var(--dx),var(--dy)) rotate(var(--spin))}}
@keyframes confetti-fade{to{opacity:0}}
@keyframes day-pop{0%{scale:1}35%{scale:1.08}100%{scale:1}}
@keyframes day-wiggle{from{rotate:-3deg}to{rotate:3deg}}
@media(max-width:1150px){.native-streaks span{font-size:8px;letter-spacing:.1px}.native-streaks strong{font-size:40px}}
@media(max-width:950px){.native-streaks span{font-size:11px;letter-spacing:.5px}.best-times dd,.daily-results>div{font-size:11px}.daily-results strong{font-size:13px}}
@media(max-width:650px){.header-inner nav{gap:12px}.header-inner nav>.text-button{font-size:10px}.wordmark{font-size:26px}.wordmark span{font-size:7px;letter-spacing:1px;padding-left:7px}.wordmark{gap:7px}.intro{margin-bottom:18px}.date-block{margin-top:0}.daily-sidebar>.sidebar-title{display:flex;align-items:center}.daily-sidebar>.sidebar-title h2{margin:0}.daily-sidebar>.sidebar-title>span{font-size:14px}.native-streaks span{font-size:12px}.native-streaks strong{font-size:46px}.native-streaks{padding:20px 8px}.daily-results>div{font-size:12px;padding:10px 2px}.daily-results strong{font-size:14px}.daily-results .native-icon{width:16px;height:16px}.total-time{padding-bottom:20px}.precision-dialog .dialog-heading h2{font-size:18px}.solved-dialog .dialog-heading h2{font-size:22px}.best-times dt{font-size:12px}.best-times dd{font-size:11px}}

.precision-dialog,.reset-dialog{overflow:auto}

.daily-status{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}.daily-status>span{font-size:13px;font-weight:650;white-space:nowrap;color:#a6adb8}.daily-status>.day-complete{color:#f3f5f7}.daily-progress-hexes{display:flex;align-items:center;gap:6px;flex-shrink:0}.daily-progress-hexes svg{display:block;width:18px;height:18px;overflow:visible}.daily-progress-hexes polygon{fill:transparent;stroke:#3dd6db;stroke-opacity:.75;stroke-width:1.6;transition:fill .22s ease,stroke-opacity .22s ease}.daily-progress-hexes .filled polygon{fill:#3dd6db;stroke-opacity:.55;stroke-width:1}
@media(max-width:1150px) and (min-width:651px){.daily-status{align-items:flex-start;flex-direction:column;gap:8px}}
@media(max-width:650px){.daily-sidebar>.sidebar-title{align-items:flex-start;gap:12px}.daily-status{margin-top:0;flex-direction:column;align-items:flex-end;gap:6px}.daily-status>span{font-size:13px}}

/* Daily result tiles follow the native ShareRunTile's three states. */

.daily-results{gap:8px}
.daily-results>.daily-run{position:relative;display:block;container-type:inline-size;aspect-ratio:.8660254037844386;padding:0;border-radius:0;background:none;min-width:0}
.run-hex{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.run-hex polygon{fill:#0e101566;stroke:#a6adb880;stroke-width:1.5;stroke-dasharray:4 3}
.daily-run.normal .run-hex polygon{fill:#1f212973;stroke:#ffffff25;stroke-width:1;stroke-dasharray:none}
.daily-run.precision .run-hex polygon{fill:#3dd6db1a;stroke:#3dd6db;stroke-width:1.5;stroke-dasharray:none}
.run-content{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:0 5px;line-height:1.1}
.run-content>span{font-size:clamp(7px,19cqw,10px);font-weight:600;color:#d0d5df;white-space:nowrap}
.daily-results .run-content>strong{font-size:clamp(9px,25cqw,15px);font-weight:700;font-variant-numeric:tabular-nums;color:#f3f5f7;white-space:nowrap}
.daily-run.pending .run-content>span{color:#a6adb8}.daily-run.pending .run-content>strong{color:#a6adb8b3}
.daily-results .run-content>i{display:flex;align-items:center;justify-content:center;min-height:11px;height:11px}
.daily-results .run-content .native-icon{width:10px;height:10px}.normal-dot{width:4px;height:4px;border-radius:50%;background:#a6adb8}
.app-card{padding:15px}.app-card-heading{display:flex;align-items:center;gap:11px}.app-card-heading img{display:block;float:none;width:36px;height:36px;border-radius:9px;margin:0}.app-card-heading h2{font-size:20px;line-height:1.1;letter-spacing:-.4px}.app-card>p:not(.eyebrow){margin-top:9px;font-size:11px;line-height:1.5}.app-card .button{margin-top:12px;padding:9px 6px;min-height:36px;font-size:9px}.right-sidebar{gap:16px}
@media(max-width:950px){.app-card{align-self:start}.app-card .button{max-width:none}}

/* Roomier desktop rails; result tiles keep the same grey interior in every state. */
.header-inner,.shell{max-width:1760px;padding-inline:28px}.site-footer{max-width:1704px;width:calc(100% - 56px);margin-inline:auto}
.play-layout{--sidebar-width:clamp(240px,calc(50vw - 350px),380px);grid-template-columns:var(--sidebar-width) minmax(0,1fr) var(--sidebar-width)}
.daily-run .run-hex polygon,.daily-run.normal .run-hex polygon,.daily-run.precision .run-hex polygon{fill:#292b36}
.daily-results .run-content .native-icon{width:13px;height:13px}.daily-results .run-content>i{height:13px;min-height:13px}.run-content{gap:3px}
.daily-progress-hexes polygon{transition:fill .35s ease,stroke-opacity .35s ease}.game-panel{transition:border-color .4s ease}.completion-reveal{animation:result-enter .35s ease-out both}.result-reveal{animation:result-enter .4s cubic-bezier(.2,.7,.2,1) both}.progress-reveal{animation:progress-settle .38s ease-out .14s both}
@keyframes result-enter{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes progress-settle{0%{transform:scale(1)}45%{transform:scale(1.045)}100%{transform:scale(1)}}
@media(max-width:1150px) and (min-width:951px){.play-layout{grid-template-columns:240px minmax(0,1fr) 240px;gap:18px}.header-inner,.shell{padding-inline:24px}.site-footer{margin-inline:24px}.native-streaks span{font-size:9px}}
@media(min-width:951px){.daily-status{flex-direction:row;align-items:center;gap:8px}}
@media(max-width:950px) and (min-width:651px){.play-layout{grid-template-columns:192px minmax(0,1fr)}.site-footer{margin-inline:28px}}
@media(max-width:650px){.header-inner{padding-inline:20px}.shell{padding-inline:18px}.site-footer{margin-inline:18px}}

@media(max-width:1150px){.site-footer{width:auto}}

/* Give both desktop sidebars equal room around the play surface. */
.game-column{min-width:0;width:100%}
.board-viewport{max-width:560px}
@media(min-width:1300px){.native-streaks span{font-size:11px;letter-spacing:.5px}}

/* Keep the play surface at the established desktop position. */
.shell{padding-top:102px}
#history-heading{margin-top:12px;font-size:11px;gap:8px}
#history-count,.stats-day-heading>span{white-space:nowrap}
button.week-day{border:0;background:transparent;padding:4px 0;border-radius:6px;cursor:pointer;min-width:0;min-height:44px;font-family:inherit;transition:color .2s ease}
.week-hex{width:26px;height:30px;overflow:visible;transition:transform .2s ease}
.week-hex polygon{fill:#203038;stroke:#42505c;stroke-width:1.2;transition:fill .2s ease,stroke .2s ease}
.week-hex circle{fill:#a6adb8}
.week-day.played .week-hex polygon{fill:#3dd6db33;stroke:#3dd6db88}
.week-day.complete .week-hex polygon{fill:#3dd6db;stroke:#3dd6db}
.week-day.selected{color:#3dd6db;font-weight:700}
.week-day.selected .week-hex{transform:scale(1.06)}
.week-day.selected .week-hex polygon{stroke:#3dd6db;stroke-width:2.5}
.week-day:hover .week-hex polygon{stroke:#3dd6db}
.week-day:focus-visible{outline:2px solid #91d4d8;outline-offset:2px}
@media(max-width:950px){.shell{padding-top:38px}}
@media(max-width:650px){.shell{padding-top:26px}}

/* Daily context belongs with the size picker; refresh stays just below the board. */
.daily-sidebar{padding-top:0}
.daily-title-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;width:100%}
.daily-sidebar>.sidebar-title{display:block}
.daily-sidebar>.sidebar-title h2{margin:0;white-space:nowrap}
.daily-title-row time{font-size:12px;font-weight:600;white-space:nowrap;text-align:right}
.daily-status{flex-direction:row;align-items:center;margin-top:10px}
.daily-sidebar>.app-card{margin-top:22px}
.board-refresh{margin:10px 0 0;text-align:center}
.puzzle-refresh{font-size:11px;color:var(--muted)}
.puzzle-refresh b{font-weight:500;font-variant-numeric:tabular-nums;color:#c5d1d7}
.share-dialog{width:min(440px,calc(100% - 32px));padding:20px}
.share-preview{padding:0;border:0;background:transparent;white-space:normal}
.share-card-image{display:block;width:100%;height:auto;border-radius:22px}
.share-link{display:block;text-align:center;font-size:12px;color:var(--accent);margin-top:12px;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.share-preview[aria-busy=true]{min-height:300px;display:grid;place-items:center;color:var(--muted)}
.share-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.share-buttons .button{flex:1;white-space:nowrap;font-size:11px;padding-inline:10px}
@media(max-width:1150px) and (min-width:951px){.daily-title-row{gap:8px}.daily-title-row time{font-size:11px}}
@media(max-width:950px) and (min-width:651px){.daily-title-row{gap:8px}.daily-title-row h2,.daily-title-row time{font-size:10px}.daily-status>span{font-size:11px}.daily-progress-hexes{gap:4px}.daily-progress-hexes svg{width:16px;height:16px}.right-sidebar{grid-template-columns:1fr}}
@media(max-width:650px){.daily-sidebar{display:contents}.daily-sidebar>.sidebar-title{width:100%;margin-bottom:-8px}.size-list{width:100%}.daily-sidebar>.app-card{order:3;width:100%;margin-top:0}.daily-sidebar>.app-card>p{max-width:none}.daily-title-row time{font-size:12px}.daily-status{margin-top:10px}.right-sidebar{order:4}.share-dialog{padding:16px}}

.button.danger{background:#51292e;border-color:#a95a63;color:#ffe6e9}
.button.danger:disabled{opacity:.4}
.erase-acknowledgment{display:flex;align-items:flex-start;gap:10px;margin-top:20px;line-height:1.6;color:#d0d5df;cursor:pointer}
.erase-acknowledgment input{width:18px;height:18px;flex-shrink:0;margin:2px 0 0;accent-color:#b86670}
.erase-dialog .dialog-actions{flex-direction:column}
.erase-dialog .dialog-actions .button{width:100%}

/* A cleaner board header and an almost-clear solved backdrop. */
.game-heading{min-height:42px;align-items:center}
.game-heading h2{font-size:28px;line-height:1.2}
.timer-block{display:block;line-height:1.2}
.timer-block .timer{font-size:26px;line-height:1.2;color:var(--text)}
.board-viewport{max-width:576px}
.solved-dialog::backdrop{background:#03090c33;backdrop-filter:blur(.5px);-webkit-backdrop-filter:blur(.5px)}
@media(max-width:650px){.game-heading{min-height:38px}.game-heading h2{font-size:27px}.timer-block .timer{font-size:25px}}

/* Native daily unlock: 1s fill, 100ms flash, 120ms settle, then Precision reveal. */
.daily-progress-hexes .unlock-fill polygon{transition:fill 1s ease-in-out,stroke-opacity 1s ease-in-out}
.daily-progress-hexes svg{transform-origin:center;transform-box:fill-box}
.daily-progress-hexes .unlock-flash{transform:scale(1.18);filter:drop-shadow(0 0 8px #3dd6db8c);transition:transform .1s ease-out,filter .1s ease-out}
.daily-progress-hexes .unlock-settle{transform:scale(1);filter:drop-shadow(0 0 0 #3dd6db00);transition:transform .12s ease-in,filter .12s ease-in}
.native-icon.precision-waiting{opacity:0}
.native-icon.precision-revealing{animation:precision-fade var(--precision-fade) ease-in both}
.native-icon.precision-pop{animation:none;opacity:1;transform:scale(1.18);transition:transform .1s ease-out,opacity .1s ease-out}
.native-icon.precision-settle{animation:none;opacity:1;transform:scale(1);transition:transform .125s ease-in-out}
@keyframes precision-fade{from{opacity:0}to{opacity:.45}}
/* A focused skip-link destination is not a completed board. Keep tile/control keyboard focus. */
#game{outline:none;-webkit-tap-highlight-color:transparent}
#game:not(.is-solved){border-color:rgba(166,173,184,.14);box-shadow:none}
#game.is-solved{border-color:rgba(61,214,219,.6)}
@media(prefers-reduced-motion:reduce){.daily-progress-hexes svg,.daily-progress-hexes polygon,.native-icon{animation:none!important;transition:none!important;transform:none!important;filter:none!important}.native-icon.precision-revealing:not(.precision-waiting){opacity:1}}

/* Mobile puzzle cards: name, centered completion badge, then solve time. */
@media(max-width:650px){
 .size-button{flex-direction:column;gap:3px}
 .size-button .size-label{display:contents}
 .size-button strong{order:0}
 .size-button .done-icon{position:static;inset:auto;order:1;display:flex;align-items:center;justify-content:center;align-self:center;margin:0;height:16px;min-width:16px;font-size:16px;line-height:16px}
 .size-button .done-icon:empty{display:none}
 .size-button .done-icon .native-icon{display:block;width:16px;height:16px}
 .size-button small{order:2;margin-top:0}
}

/* Reserve the completed state height from the first render on every screen size. */
.size-button{height:78px;min-height:78px}

/* Saved-progress launch shimmer: 200ms lead, 180ms highlight, 55ms stagger gap. */
.daily-progress-hexes svg.filled.progress-intro{animation:daily-intro-pop .32s var(--intro-delay) both}
.daily-progress-hexes svg.filled.progress-intro polygon{animation:daily-intro-light .32s var(--intro-delay) both}
@keyframes daily-intro-pop{0%{transform:scale(1);filter:drop-shadow(0 0 0 #3dd6db00)}56.25%{transform:scale(1.16);filter:drop-shadow(0 0 7px #3dd6db73)}100%{transform:scale(1);filter:drop-shadow(0 0 0 #3dd6db00)}}
@keyframes daily-intro-light{0%,100%{fill:#3dd6db}56.25%{fill:#8ee7ea;stroke-opacity:.98}}
@media(prefers-reduced-motion:reduce){.daily-progress-hexes svg.progress-intro,.daily-progress-hexes svg.progress-intro polygon{animation:none!important}}

/* Backup controls share the local-data dialog with its storage explanation. */
.data-backup{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:8px;background:#182a314d}
#dialog-body .data-backup h3{margin-top:0}
.data-backup .dialog-actions{margin-top:14px}
.data-backup #import-result:empty{display:none}

/* Share the board's row so the app card follows its bottom edge at every height. */
@media(min-width:651px){
 .play-layout{row-gap:10px}
 .game-column{display:contents}
 #game{grid-column:2;grid-row:1;align-self:stretch}
 .board-refresh{grid-column:2;grid-row:2;margin:0}
 .daily-sidebar{grid-column:1;grid-row:1;align-self:stretch;display:flex;flex-direction:column}
 .daily-sidebar>.size-list{margin-bottom:22px}
 .daily-sidebar>.app-card{margin-top:auto;align-self:stretch}
 .right-sidebar{grid-column:1/-1;grid-row:3}
}
@media(min-width:951px){.right-sidebar{grid-column:3;grid-row:1/span 2}}
