@font-face{font-family:IRANSans;src:url(/fonts/IRANSansWeb_Light_FaNum.woff2)format("woff2");font-weight:300;font-display:swap}@font-face{font-family:IRANSans;src:url(/fonts/IRANSansWeb_FaNum.woff2)format("woff2");font-weight:400;font-display:swap}@font-face{font-family:IRANSans;src:url(/fonts/IRANSansWeb_Medium_FaNum.woff2)format("woff2");font-weight:500 600;font-display:swap}@font-face{font-family:IRANSans;src:url(/fonts/IRANSansWeb_Bold_FaNum.woff2)format("woff2");font-weight:700 800;font-display:swap}@font-face{font-family:IRANSans;src:url(/fonts/IRANSansWeb_Black_FaNum.woff2)format("woff2");font-weight:900;font-display:swap}:root{box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}body{-webkit-tap-highlight-color:transparent;margin:0}img{max-width:100%}[hidden]{display:none!important}a.btn{display:inline-block}button.lgcard{background:var(--surface)}@media print{nav.tabs,header.top,.sample,button{display:none!important}pre.ref{border:0;max-height:none}}
:root{--bg:#f3f6fb;--surface:#fff;--ink:#14213d;--muted:#5b6782;--line:#dde3ef;--accent:#ffb703;--accent-ink:#3a2a00;--sky:#2a6fdb;--sky-soft:#e3edfc;--good:#1f9d6b;--warn:#d97706;--bad:#d64545;--bad-soft:#fde8e8;--good-soft:#e2f6ee;--sea1:#d6e8fd;--sea2:#6fa3e6;--leaf1:#e3f4d6;--leaf2:#8cc471;--sky1:#fde3bf;--air1:#cfe6ff;--air2:#fde8c8;--sand1:#fbe9cc;--sand2:#d9a066;--skin:#f1c6a0;--beard:#7a4b2e;--font:"IRANSans",Tahoma,"Segoe UI",sans-serif}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#0e1526;--surface:#18223a;--ink:#e8eefb;--muted:#9aa7c4;--line:#2a3654;--accent:#ffc533;--accent-ink:#2a1f00;--sky:#6ea2ff;--sky-soft:#1e2c4d;--good:#3cc58f;--warn:#f2a33a;--bad:#ff7070;--bad-soft:#3a1f26;--good-soft:#163a30;--sea1:#16386b;--sea2:#06122a;--leaf1:#1d3b24;--leaf2:#0b1a10;--sky1:#33285a;--air1:#1b2350;--air2:#3d2e5c;--sand1:#3b2c1c;--sand2:#1f160c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#0e1526;--surface:#18223a;--ink:#e8eefb;--muted:#9aa7c4;--line:#2a3654;--accent:#ffc533;--accent-ink:#2a1f00;--sky:#6ea2ff;--sky-soft:#1e2c4d;--good:#3cc58f;--warn:#f2a33a;--bad:#ff7070;--bad-soft:#3a1f26;--good-soft:#163a30;--sea1:#16386b;--sea2:#06122a;--leaf1:#1d3b24;--leaf2:#0b1a10;--sky1:#33285a;--air1:#1b2350;--air2:#3d2e5c;--sand1:#3b2c1c;--sand2:#1f160c;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);font-family:var(--font);direction:rtl;font-size:15px;line-height:1.75}.wrap{max-width:560px;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px));margin:0 auto;padding-block:8px 110px}body:before{content:"";height:env(safe-area-inset-top,0px);z-index:10;background:var(--bg);position:fixed;inset:0 0 auto}header.top{top:env(safe-area-inset-top,0px);z-index:5;background:var(--bg);border-bottom:1px solid var(--line);align-items:center;gap:10px;padding-block:12px;display:flex;position:sticky}.logo{flex:none;width:36px;height:36px}header h1{letter-spacing:-.3px;margin:0;font-size:20px;font-weight:900}header .who{color:var(--muted);text-align:left;margin-inline-start:auto;font-size:13px}header .soundbtn{cursor:pointer;color:var(--muted);background:0 0;border:0;margin-inline-start:8px;padding:6px 8px;font-size:16px;transition:color .2s}header .soundbtn:hover{color:var(--sky)}header .soundbtn.muted{color:var(--bad)}h2{text-wrap:balance;margin:20px 0 8px;font-size:18px;font-weight:800}h3{margin:0 0 6px;font-size:15px;font-weight:700}p{margin:0 0 8px}.muted{color:var(--muted);font-size:13px}.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px}.stack{flex-direction:column;gap:12px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.grid2{grid-template-columns:1fr 1fr;gap:10px;display:grid}button,.btn{font:inherit;cursor:pointer;background:var(--sky-soft);color:var(--sky);border:0;border-radius:10px;padding:10px 16px;font-weight:700}button.primary{background:var(--accent);color:var(--accent-ink)}button.ghost{border:1px solid var(--line);color:var(--ink);background:0 0}button.danger{background:var(--bad-soft);color:var(--bad)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--sky);outline-offset:2px}button:disabled{opacity:.5;cursor:default}label{color:var(--muted);margin-bottom:4px;font-size:13px;display:block}input,select,textarea{font:inherit;border:1px solid var(--line);background:var(--bg);width:100%;color:var(--ink);border-radius:10px;padding:9px 12px}textarea{resize:vertical;min-height:80px}.num{font-variant-numeric:tabular-nums}.pill{border-radius:99px;padding:2px 10px;font-size:12px;font-weight:700;display:inline-block}.pill.good{background:var(--good-soft);color:var(--good)}.pill.bad{background:var(--bad-soft);color:var(--bad)}.pill.warn{background:var(--sky-soft);color:var(--warn)}.sample{background:var(--sky-soft);color:var(--sky);border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;padding:10px 12px;font-size:13px;display:flex}.sample button{background:var(--surface);padding:6px 12px;font-size:13px}nav.tabs{z-index:6;background:var(--surface);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px);justify-content:center;display:flex;position:fixed;bottom:0;left:0;right:0}nav.tabs button{min-width:0;max-width:96px;color:var(--muted);background:0 0;border-radius:0;flex-direction:column;flex:1;align-items:center;gap:2px;padding:8px 2px 10px;font-size:12px;font-weight:500;display:flex}nav.tabs button svg{width:24px;height:24px}nav.tabs button[aria-current=page]{color:var(--sky);font-weight:800}.today{align-items:center;gap:16px;display:flex}.ring{flex:none;width:118px;height:118px;position:relative}.ring svg{width:100%;height:100%;transform:rotate(-90deg)}.ring .lbl{flex-direction:column;justify-content:center;align-items:center;line-height:1.3;display:flex;position:absolute;inset:0}.ring .lbl b{font-size:24px;font-weight:900}.stat{flex-direction:column;display:flex}.stat b{font-size:22px;font-weight:900}.bars{grid-template-columns:repeat(7,1fr);align-items:end;gap:6px;height:130px;margin-top:8px;display:grid;position:relative}.bar{height:100%;color:var(--muted);flex-direction:column;justify-content:flex-end;align-items:center;gap:4px;font-size:11px;display:flex}.bar i{background:var(--sky);border-radius:6px 6px 2px 2px;width:100%;max-width:30px;display:block}.bar i.hit{background:var(--good)}.bar i.zero{background:var(--line);height:3px!important}.target-line{border-top:2px dashed var(--accent);pointer-events:none;position:absolute;left:0;right:0}.timer{text-align:center;letter-spacing:1px;direction:ltr;margin:6px 0;font-size:46px;font-weight:900}.timer.on{color:var(--good)}.log li{border-bottom:1px solid var(--line);justify-content:space-between;padding:6px 0;display:flex}.log{margin:0;padding:0;list-style:none}.arena{background:var(--bg);border:1px solid var(--line);touch-action:manipulation;border-radius:14px;height:340px;position:relative;overflow:hidden}.target{background:var(--accent);box-shadow:0 0 0 4px var(--surface);border:0;border-radius:50%;padding:0;position:absolute;transform:translate(50%,-50%)}.target:after{content:"";background:var(--ink);border-radius:50%;position:absolute;inset:30%}.hud{justify-content:space-between;margin-bottom:8px;font-weight:700;display:flex}.oddgrid{justify-content:center;gap:8px;padding:14px;display:grid}.oddgrid button{background:var(--surface);color:var(--ink);border:1px solid var(--line);aspect-ratio:1;justify-content:center;align-items:center;padding:0;display:flex}.oddgrid svg{width:62%;height:62%}.chart-stage{color:#000;border:1px solid var(--line);background:#fff;border-radius:14px;justify-content:center;align-items:center;min-height:220px;display:flex}.arrows{grid-template-rows:repeat(3,56px);grid-template-columns:repeat(3,64px);justify-content:center;gap:6px;margin-top:12px;display:grid}.arrows button{padding:0;font-size:22px}.card-cal{background:linear-gradient(135deg,var(--sky),var(--accent));border-radius:8px;height:54px;margin:10px 0}.result{grid-template-columns:auto 1fr auto;align-items:center;gap:6px 12px;display:grid}.alert{border-radius:12px;padding:12px 14px;font-size:14px}.alert.bad{background:var(--bad-soft);color:var(--bad)}.alert.good{background:var(--good-soft);color:var(--good)}.alert.info{background:var(--sky-soft);color:var(--ink)}pre.ref{white-space:pre-wrap;font:inherit;background:var(--bg);border:1px solid var(--line);border-radius:10px;max-height:320px;margin:0;padding:12px;font-size:13px;overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:right;border-bottom:1px solid var(--line);padding:6px 4px}th{color:var(--muted);font-weight:500}.tablebox{overflow-x:auto}.toast{bottom:calc(84px + env(safe-area-inset-bottom,0px));background:var(--ink);color:var(--bg);z-index:20;border-radius:99px;padding:8px 16px;font-size:14px;position:fixed;left:50%;transform:translate(-50%)}.voyage{background:linear-gradient(180deg,var(--sea1),var(--surface) 70%);border:1px solid var(--line);border-radius:16px;padding:16px}.hero{align-items:flex-end;gap:12px;display:flex}.captain{flex:none;width:104px}.bubble{background:var(--surface);border:1px solid var(--line);border-radius:14px 14px 4px;flex:1;min-width:0;padding:10px 12px;font-size:14px}.bubble b{color:var(--sky)}.shelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.story{background:var(--surface);border:2px solid var(--line);color:var(--ink);text-align:center;border-radius:14px;flex-direction:column;align-items:center;gap:6px;padding:8px;font-size:12px;line-height:1.4;transition:all .2s;display:flex;position:relative;overflow:hidden}.story:before{content:"";opacity:0;background:linear-gradient(135deg,#ffffff1a,#fff0);transition:opacity .3s;position:absolute;inset:0}.story:active:before{opacity:1}.story.nemo{background:linear-gradient(135deg,var(--sea1),var(--surface));border-color:var(--sea2)}.story.red{background:linear-gradient(135deg,var(--leaf1),var(--surface));border-color:var(--leaf2)}.story.sindbad{background:linear-gradient(135deg,var(--sky1),var(--surface));border-color:var(--sea2)}.story.simorgh{background:linear-gradient(135deg,var(--air1),var(--surface));border-color:var(--air2)}.story.rostam{background:linear-gradient(135deg,var(--sand1),var(--surface));border-color:var(--sand2)}.story.anime{background:linear-gradient(135deg,#fce4ec,var(--surface));border-color:#f48fb1}.story.on{border-width:3px;transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.story .si{background:var(--surface);border:1px solid var(--line);border-radius:10px;justify-content:center;align-items:center;width:54px;height:48px;display:flex}.story b{word-break:break-word;align-items:center;min-height:2.5em;font-weight:700;display:flex}.sbar{background:var(--line);border-radius:99px;width:100%;height:6px;overflow:hidden}.sbar i{background:var(--good);height:100%;display:block}.map{background:var(--surface);border:1px solid var(--line);border-radius:14px;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:16px;padding:16px;display:grid;position:relative}.map.nemo{background:linear-gradient(135deg,#6bc2fa14,#6fa3e614)}.map.red{background:linear-gradient(135deg,#e3f4d60f,#8cc4710f)}.map.sindbad{background:linear-gradient(135deg,#fde3bf14,#6fa3e60f)}.map.simorgh{background:linear-gradient(135deg,#cfe6ff14,#3d2e5c0a)}.map.rostam{background:linear-gradient(135deg,#fbe9cc14,#d9a0660f)}.map.anime{background:linear-gradient(135deg,#fce4ec14,#f48fb10f)}.stop{aspect-ratio:1;border:2px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;z-index:2;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;padding:0;font-size:15px;font-weight:900;line-height:1;transition:all .2s;display:flex;position:relative}.stop:before{content:"";opacity:0;background:currentColor;border-radius:50%;transition:opacity .2s;position:absolute;inset:-3px}.stop small{z-index:1;font-size:8px;font-weight:500;position:relative}.stop.done{background:var(--good-soft);color:var(--good);border:2px solid var(--good);box-shadow:inset 0 0 0 2px var(--surface)}.stop.open{background:var(--accent);color:var(--accent-ink);border:2px solid var(--accent);box-shadow:0 0 0 3px var(--accent),0 0 0 5px var(--surface);animation:1.5s ease-in-out infinite pulse}.stop:disabled{opacity:.45;cursor:default}@keyframes pulse{0%,to{box-shadow:0 0 0 3px var(--accent),0 0 0 5px var(--surface)}50%{box-shadow:0 0 0 3px var(--accent),0 0 0 8px #ffb7034d}}.keys{flex-direction:column;gap:8px;margin-top:12px;display:flex}.keyrow{background:var(--surface);border:1px solid var(--line);border-radius:12px;align-items:center;gap:10px;padding:10px 12px;display:flex}.keyrow .ok{color:var(--good);font-weight:800}.keyrow>span{flex:1;min-width:0}.btn-file{cursor:pointer;background:var(--sky-soft);color:var(--sky);border-radius:10px;padding:8px 14px;font-size:14px;font-weight:700;display:inline-block}.thumbs{flex-wrap:wrap;gap:8px;display:flex}.thumbs figure{text-align:center;color:var(--muted);margin:0;font-size:11px}.thumbs img{object-fit:cover;border-radius:10px;width:60px;height:60px;display:block}.preview{object-fit:cover;border-radius:14px;width:140px;height:140px;margin:0 auto;display:block}svg.thumb{width:72px;height:80px;margin:0 auto;display:block}.avgrid{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.avopt{background:var(--surface);border:2px solid var(--line);color:var(--ink);border-radius:14px;flex-direction:column;align-items:center;gap:2px;padding:8px 4px;font-size:12px;font-weight:500;display:flex}.avopt[aria-pressed=true]{border-color:var(--sky);background:var(--sky-soft)}.swatch{border:2px solid var(--line);border-radius:50%;width:40px;height:40px;padding:0}.swatch[aria-pressed=true]{box-shadow:0 0 0 3px var(--surface),0 0 0 5px var(--sky)}svg.mini{flex:none;width:34px;height:38px}.lrow{border-bottom:1px solid var(--line);border-radius:10px;align-items:center;gap:10px;padding:6px;display:flex}.lrow:last-child{border-bottom:0}.lrow.up{background:var(--good-soft)}.lrow.me{background:var(--sky-soft);outline:2px solid var(--sky)}.lrow .rk{text-align:center;width:26px;font-weight:800}.lrow .ln{flex-direction:column;flex:1;min-width:0;line-height:1.4;display:flex}.lrow .ln b{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.badge{color:#fff;border-radius:12px;justify-content:center;align-items:center;width:40px;height:40px;font-size:18px;font-weight:900;display:flex}.segs{background:var(--surface);border:1px solid var(--line);border-radius:12px;gap:4px;padding:4px;display:flex}.segs button{color:var(--muted);background:0 0;flex:1;padding:8px 4px;font-size:13px}.segs button[aria-selected=true]{background:var(--sky);color:var(--surface)}.prow{grid-template-columns:26px minmax(0,1fr) 70px 40px;align-items:center;gap:8px;font-size:13px;display:grid}.prow.me{color:var(--sky);font-weight:800}.prow .pbar{background:var(--line);border-radius:99px;height:8px;overflow:hidden}.prow .pbar i{background:var(--good);height:100%;display:block}.prow .rk{text-align:center}canvas.sea{touch-action:none;cursor:ns-resize;border-radius:14px;width:100%;height:300px;display:block}.story-scene{border:2px solid var(--line);background:var(--surface);border-radius:14px;justify-content:center;align-items:center;width:100%;height:240px;margin-bottom:16px;display:flex;position:relative;overflow:hidden}.story-scene svg{width:100%;height:100%}.story-scene-overlay{z-index:2;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.story-hero-display{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffff14;border-radius:12px;justify-content:center;align-items:center;width:140px;height:160px;margin-bottom:8px;padding:12px;display:flex;position:relative}.story-hero-display svg{filter:drop-shadow(0 2px 8px #0003);width:100%;height:100%}.story-bubble-big{background:var(--surface);border:2px solid var(--line);border-radius:16px;max-width:280px;padding:12px 14px;font-size:14px;line-height:1.6;box-shadow:0 4px 12px #00000014}.story-bubble-big b{color:var(--sky);margin-bottom:4px;font-weight:700;display:block}@media (max-width:380px){.grid2{grid-template-columns:1fr}.timer{font-size:38px}.story-scene{height:200px}.story-hero-display{width:120px;height:140px}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.pg-cam{aspect-ratio:4/3;background:#0b1220;border-radius:14px;width:100%;max-width:420px;margin-inline:auto;position:relative;overflow:hidden}.pg-cam canvas{object-fit:cover;width:100%;height:100%;display:block}.pg-cam-empty{color:#c9d3e6;justify-content:center;align-items:center;font-size:14px;display:flex;position:absolute;inset:0}.pg-status{background:var(--sky-soft);color:var(--ink);border-radius:10px;margin:0;padding:10px 12px;font-size:14px}.pg-status.ok{background:var(--good-soft);color:var(--good);font-weight:700}.pg-status.bad{background:var(--bad-soft);color:var(--bad)}.pg-gate{margin-top:12px}.pg-codes{border:1px solid var(--line);background:#fff;border-radius:12px;width:100%;max-width:420px;height:auto;margin-inline:auto;display:block}.pguard{z-index:30;bottom:calc(76px + env(safe-area-inset-bottom,0px));right:calc(10px + env(safe-area-inset-right,0px));pointer-events:none;position:fixed}.pg-mini{border:2px solid var(--surface);background:#0b1220;border-radius:10px;width:64px;height:48px;display:block;box-shadow:0 2px 8px #00000040}.pg-dot{background:var(--warn);border:2px solid var(--surface);border-radius:50%;width:14px;height:14px;position:absolute;bottom:-4px;left:-4px}.pg-dot.ok{background:var(--good)}.pg-dot.bad{background:var(--bad)}.pg-over{z-index:50;background:#0a101eb8;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.pg-card{background:var(--surface);color:var(--ink);text-align:center;border-radius:16px;flex-direction:column;gap:8px;width:100%;max-width:360px;padding:16px;display:flex}.pg-card canvas{background:#0b1220;border-radius:10px;width:100%}.pg-card h3{margin:0;font-size:18px}
.mf{min-width:0;font-family:var(--font);margin:4px 0 0;position:relative}.mf-box{background:var(--surface);border-radius:12px;align-items:center;min-height:54px;display:flex;position:relative}.mf-input{font:inherit;font-family:var(--font);width:100%;min-width:0;color:var(--ink);z-index:1;text-align:start;background:0 0;border:0;border-radius:12px;outline:0;padding:15px 16px 13px;font-size:15px;position:relative}.mf-input.center{text-align:center;letter-spacing:8px;font-size:22px;font-weight:800}textarea.mf-input{resize:vertical;min-height:96px;line-height:1.8}.mf-input:focus-visible{outline:0}.mf-input::placeholder{color:var(--muted);opacity:.7}.mf-outline{border:1px solid var(--line);pointer-events:none;text-align:start;border-radius:12px;margin:0;padding:0 10px;transition:border-color .15s;position:absolute;inset:-5px 0 0}.mf-outline legend{float:unset;visibility:hidden;white-space:nowrap;width:auto;max-width:.01px;height:11px;padding:0;font-size:12px;transition:max-width 50ms}.mf-outline legend span{padding:0 5px;display:inline-block}.mf-label{inset-inline-start:14px;color:var(--muted);pointer-events:none;z-index:2;white-space:nowrap;text-overflow:ellipsis;max-width:calc(100% - 44px);margin:0;padding:0 2px;font-size:15px;line-height:1.4;transition:top .15s,font-size .15s,color .15s;position:absolute;top:50%;overflow:hidden;transform:translateY(-50%)}.mf:has(textarea) .mf-label{top:26px}.mf:hover:not(.disabled) .mf-outline{border-color:var(--muted)}.mf.filled .mf-label,.mf.focus .mf-label{max-width:calc(100% - 28px);font-size:12px;top:0}.mf.filled .mf-outline legend,.mf.focus .mf-outline legend{max-width:100%}.mf.focus .mf-outline{border-color:var(--sky);border-width:2px}.mf.focus .mf-label{color:var(--sky);font-weight:700}.mf.err .mf-outline{border-color:var(--bad)}.mf.err .mf-label{color:var(--bad)}.mf.disabled{opacity:.55}.mf-hint{color:var(--muted);padding:4px 16px 0;font-size:12px;line-height:1.6}.mf-hint.err{color:var(--bad)}.mf-end{color:var(--muted);z-index:1;flex:none;align-items:center;padding-inline-end:14px;display:flex}.mf-suffix{font-size:13px}.mf-trigger{cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:8px;min-height:54px;font-weight:500;display:flex}.mf-trigger>span{white-space:nowrap;text-overflow:ellipsis;text-align:start;flex:1;min-width:0;overflow:hidden}.mf-trigger:disabled{cursor:default}.mf-ph{color:var(--muted)}.mf-chev,.mf-ico{width:22px;height:22px;color:var(--muted);flex:none;transition:transform .2s}.mf-chev.open{color:var(--sky);transform:rotate(180deg)}.mf.focus .mf-ico{color:var(--sky)}.mf-req{opacity:0;pointer-events:none;bottom:0;width:1px;height:1px;position:absolute;inset-inline-start:50%}.mf-backdrop{z-index:40;background:0 0;position:fixed;inset:0}.mf-pop{top:calc(100% + 6px);z-index:41;background:var(--surface);border:1px solid var(--line);transform-origin:top;border-radius:18px;min-width:240px;animation:.16s ease-out mfIn;position:absolute;inset-inline:0;overflow:hidden;box-shadow:0 12px 32px #14213d2e,0 2px 6px #14213d14}.mf-pop.up{transform-origin:bottom;top:auto;bottom:calc(100% + 6px)}.mf-pop.wide{min-width:300px}.mf-sheet-head{display:none}@keyframes mfIn{0%{opacity:0;transform:scale(.96)translateY(-4px)}to{opacity:1;transform:none}}@keyframes mfSheet{0%{transform:translateY(100%)}to{transform:none}}@media (max-width:600px){.mf-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0a101e6b;animation:.2s mfFade}.mf-pop,.mf-pop.up{max-height:78vh;padding-bottom:env(safe-area-inset-bottom,0px);border-bottom:0;border-radius:24px 24px 0 0;flex-direction:column;animation:.22s cubic-bezier(.2,.8,.2,1) mfSheet;display:flex;position:fixed;inset:auto 0 0}.mf-sheet-head{color:var(--ink);flex-direction:column;align-items:center;gap:6px;padding:10px 16px 6px;font-size:15px;display:flex}.mf-grab{background:var(--line);border-radius:99px;width:36px;height:4px}.mf-pop .mf-list{flex:1;max-height:none}}@keyframes mfFade{0%{opacity:0}to{opacity:1}}.mf-list{outline:0;max-height:300px;margin:0;padding:6px;list-style:none;overflow:auto}.mf-list li{cursor:pointer;color:var(--ink);border-radius:12px;align-items:center;gap:10px;padding:11px 14px;font-size:15px;line-height:1.5;display:flex}.mf-list li.active{background:var(--sky-soft)}.mf-list li[aria-selected=true]{color:var(--sky);font-weight:800}.mf-opt{flex-direction:column;flex:1;min-width:0;display:flex}.mf-opt small{color:var(--muted);font-size:12px;font-weight:400}.mf-check{width:20px;height:20px;color:var(--sky);flex:none}.mf-text-btn{color:var(--sky);background:0 0;border-radius:99px;padding:8px 14px;font-size:14px}.mf-text-btn:hover{background:var(--sky-soft)}.mf-text-btn.strong{background:var(--sky);color:#fff}.cal{-webkit-user-select:none;user-select:none;width:100%;min-width:290px;padding:10px 12px 8px}.cal-head{justify-content:space-between;align-items:center;gap:6px;margin-bottom:6px;display:flex}.cal-title{gap:4px;display:flex}.cal-title button{color:var(--ink);background:0 0;border-radius:99px;padding:6px 10px;font-size:16px;font-weight:800}.cal-title button:hover,.cal-title button[aria-pressed=true]{background:var(--sky-soft);color:var(--sky)}.cal-nav{width:38px;height:38px;color:var(--ink);background:0 0;border-radius:50%;place-items:center;padding:0;display:grid}.cal-nav:hover{background:var(--sky-soft)}.cal-nav svg{width:22px;height:22px}.cal-week,.cal-grid{text-align:center;grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.cal-week span{color:var(--muted);padding:4px 0;font-size:12px;font-weight:700}.cal-week span.fri{color:var(--bad)}.cal-day{aspect-ratio:1;width:100%;max-height:44px;color:var(--ink);background:0 0;border-radius:50%;place-items:center;padding:0;font-size:14px;font-weight:500;transition:background .12s;display:grid}.cal-day:hover:not(:disabled){background:var(--sky-soft)}.cal-day.fri{color:var(--bad)}.cal-day.today{box-shadow:inset 0 0 0 1.5px var(--sky);color:var(--sky);font-weight:800}.cal-day.sel{background:var(--sky);color:#fff;box-shadow:none;font-weight:800}.cal-day:disabled{opacity:.3;cursor:default}.cal-months{grid-template-columns:repeat(3,1fr);gap:6px;padding:4px 0;display:grid}.cal-years{grid-template-columns:repeat(4,1fr);gap:6px;max-height:252px;padding:4px 0;display:grid;overflow:auto}.cal-months button,.cal-years button{color:var(--ink);background:0 0;border-radius:99px;padding:12px 4px;font-weight:600}.cal-months button:hover,.cal-years button:hover{background:var(--sky-soft)}.cal-months button.sel,.cal-years button.sel{background:var(--sky);color:#fff}.cal-foot{border-top:1px solid var(--line);justify-content:flex-end;gap:6px;margin-top:6px;padding-top:6px;display:flex}.tp{min-width:260px;padding:12px}.tp-big{direction:ltr;justify-content:center;align-items:center;gap:6px;margin-bottom:8px;font-size:34px;font-weight:900;display:flex}.tp-big b{background:var(--sky-soft);color:var(--sky);text-align:center;border-radius:14px;min-width:84px;padding:2px 16px}.tp-cols{direction:ltr;grid-template-columns:1fr 1fr;gap:8px;display:grid}.tp-col{scroll-snap-type:y proximity;flex-direction:column;gap:2px;max-height:210px;padding:2px;display:flex;overflow:auto}.tp-col button{color:var(--ink);scroll-snap-align:center;background:0 0;border-radius:12px;padding:8px 0;font-weight:600}.tp-col button:hover{background:var(--sky-soft)}.tp-col button.sel{background:var(--sky);color:#fff}.mcheck,.mswitch{cursor:pointer;color:var(--ink);align-items:flex-start;gap:12px;margin:0;font-size:14px;line-height:1.7;display:flex;position:relative}.mcheck input,.mswitch input{opacity:0;width:1px;height:1px;margin:0;position:absolute}.mcheck-box{border:2px solid var(--muted);color:#fff;border-radius:6px;flex:none;place-items:center;width:20px;height:20px;margin-top:3px;transition:all .15s;display:grid}.mcheck-box svg{opacity:0;width:15px;height:15px;transition:all .15s;transform:scale(.5)}.mcheck input:checked+.mcheck-box{background:var(--sky);border-color:var(--sky)}.mcheck input:checked+.mcheck-box svg{opacity:1;transform:none}.mcheck input:focus-visible+.mcheck-box,.mswitch input:focus-visible+.mswitch-track{outline:3px solid var(--sky);outline-offset:2px}.mcheck-label{flex:1;min-width:0}.mcheck.disabled,.mswitch.disabled{opacity:.5;cursor:default}.mswitch{align-items:center}.mswitch-track{background:var(--bg);border:2px solid var(--muted);border-radius:99px;flex:none;width:52px;height:32px;transition:all .2s;position:relative}.mswitch-thumb{top:50%;background:var(--muted);border-radius:50%;width:16px;height:16px;transition:all .2s;position:absolute;inset-inline-start:6px;transform:translateY(-50%)}.mswitch input:checked+.mswitch-track{background:var(--sky);border-color:var(--sky)}.mswitch input:checked+.mswitch-track .mswitch-thumb{background:#fff;width:24px;height:24px;inset-inline-start:24px}input[type=range]{appearance:none;cursor:pointer;background:0 0;border:0;width:100%;height:28px;padding:0}input[type=range]::-webkit-slider-runnable-track{background:var(--sky-soft);border-radius:99px;height:6px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--sky);border:3px solid var(--surface);border-radius:50%;width:22px;height:22px;margin-top:-8px;box-shadow:0 1px 4px #00000040}input[type=range]::-moz-range-track{background:var(--sky-soft);border-radius:99px;height:6px}input[type=range]::-moz-range-progress{background:var(--sky);border-radius:99px;height:6px}input[type=range]::-moz-range-thumb{background:var(--sky);border:3px solid var(--surface);border-radius:50%;width:18px;height:18px}input[type=range]:focus-visible{outline:0}input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 6px var(--sky-soft)}.fgrid{grid-template-columns:1fr 1fr;gap:14px 10px;display:grid}@media (max-width:380px){.fgrid{grid-template-columns:1fr}}
.skip{inset-inline-start:12px;z-index:100;background:var(--sky);color:#fff;border-radius:12px;padding:10px 16px;font-weight:700;text-decoration:none;transition:top .15s;position:absolute;top:-60px}.skip:focus{top:12px}main#view:focus{outline:0}.site-head,.side,.site-foot,.auth-hero{display:none}.auth-page{max-width:560px;padding:8px max(16px,env(safe-area-inset-right,0px)) 40px max(16px,env(safe-area-inset-left,0px));margin:0 auto}.auth-main{flex-direction:column;justify-content:center;min-height:90vh;display:flex}@media (min-width:640px) and (max-width:1023.98px){.wrap{max-width:720px}.auth-page{max-width:600px}}@media (min-width:1024px){body{background:var(--bg);font-size:15.5px}body:before{display:none}header.top,nav.tabs{display:none!important}.site-head{z-index:30;background:color-mix(in srgb,var(--surface) 86%,transparent);-webkit-backdrop-filter:saturate(1.6)blur(14px);border-bottom:1px solid var(--line);display:block;position:sticky;top:0}.site-head .in{align-items:center;gap:28px;max-width:1280px;height:72px;margin:0 auto;padding:0 32px;display:flex}.brand{color:var(--ink);background:0 0;border-radius:12px;flex:none;align-items:center;gap:10px;padding:0;font-size:19px;font-weight:900;display:flex}.brand span{text-align:start;flex-direction:column;line-height:1.3;display:flex}.brand small{color:var(--muted);font-size:11px;font-weight:500}.brand.static{cursor:default}.site-nav{flex:1;justify-content:center;gap:2px;display:flex}.site-nav button{color:var(--muted);background:0 0;border-radius:99px;padding:9px 16px;font-size:14.5px;font-weight:600;transition:color .15s,background .15s;position:relative}.site-nav button:hover{color:var(--ink);background:var(--bg)}.site-nav button[aria-current=page]{color:var(--sky);background:var(--sky-soft);font-weight:800}.head-actions{flex:none;align-items:center;gap:4px;display:flex}.icon-btn{width:42px;height:42px;color:var(--muted);background:0 0;border-radius:50%;place-items:center;padding:0;display:grid}.icon-btn svg{width:21px;height:21px}.icon-btn:hover{background:var(--bg);color:var(--ink)}.icon-btn.off{color:var(--bad)}.profile{margin-inline-start:8px;position:relative}.profile-btn{background:var(--bg);border:1px solid var(--line);color:var(--ink);border-radius:99px;align-items:center;gap:10px;padding:4px 6px 4px 12px;font-weight:500;display:flex}.profile-btn:hover{border-color:var(--sky)}.pf-av{background:var(--sky-soft);border-radius:50%;flex:none;place-items:center;width:36px;height:36px;display:grid;overflow:hidden}.pf-av svg{width:40px;height:44px;margin-top:8px}.pf-txt{text-align:start;flex-direction:column;line-height:1.35;display:flex}.pf-txt b{font-size:13.5px}.pf-txt small{color:var(--muted);font-size:11px}.pf-chev{width:18px;height:18px;color:var(--muted)}.pf-menu{top:calc(100% + 8px);z-index:41;background:var(--surface);border:1px solid var(--line);transform-origin:0 0;border-radius:18px;min-width:230px;padding:6px;animation:.16s ease-out mfIn;position:absolute;inset-inline-end:0;box-shadow:0 14px 36px #14213d2e,0 2px 6px #14213d14}.pf-menu button{width:100%;color:var(--ink);text-align:start;background:0 0;border-radius:12px;align-items:center;gap:10px;padding:10px 14px;font-weight:500;display:flex}.pf-menu button:hover{background:var(--sky-soft)}.pf-menu .danger-item{color:var(--bad)}.pf-menu .danger-item:hover{background:var(--bad-soft)}.pf-menu hr{border:0;border-top:1px solid var(--line);margin:6px 4px}.pf-group{color:var(--muted);padding:6px 14px 2px;font-size:12px}.pf-dot{border:2px solid var(--line);border-radius:50%;flex:none;width:10px;height:10px}.pf-dot[data-on=true]{background:var(--sky);border-color:var(--sky)}.shell{grid-template-columns:300px minmax(0,1fr);align-items:start;gap:36px;max-width:1280px;min-height:calc(100vh - 332px);margin:0 auto;padding:32px 32px 56px;display:grid}.wrap{max-width:none;margin:0;padding:0}main#view{min-width:0;max-width:920px}main#view>h2:first-child,main#view>:first-child>h2:first-child{margin-top:0}h2{margin:32px 0 12px;font-size:22px}h3{font-size:16px}.card{border-radius:20px;padding:22px;box-shadow:0 1px 2px #14213d0a}.voyage{border-radius:22px;padding:22px}.grid2{gap:14px}.fgrid{gap:18px 16px}.shelf{grid-template-columns:repeat(6,minmax(0,1fr))}.avgrid{grid-template-columns:repeat(6,1fr)}.arena{height:440px}canvas.sea{height:380px}.story-scene{height:320px}.captain{width:120px}.bars{height:170px}.toast{bottom:32px}button:not(.cal-day):not(.icon-btn):not(.stop):not(.swatch){transition:filter .15s,background .15s,color .15s}button.primary:hover{filter:brightness(1.05)}.side{flex-direction:column;gap:16px;display:flex;position:sticky;top:104px}.side-profile{text-align:center;flex-direction:column;align-items:center;gap:4px;padding-top:26px;display:flex}.side-cap{background:linear-gradient(160deg,var(--sea1),var(--sky-soft));border-radius:50%;place-items:end center;width:112px;height:112px;margin-bottom:8px;display:grid;overflow:hidden}.side-cap svg{width:96px;height:auto}.side-profile h3{margin:0;font-size:18px}.side-facts{grid-template-columns:1fr 1fr;gap:8px;width:100%;margin:14px 0;display:grid}.side-facts div{background:var(--bg);border-radius:12px;padding:8px 6px}.side-facts dt{color:var(--muted);font-size:11px}.side-facts dd{margin:0;font-size:13px;font-weight:800}.side-quick{flex-direction:column;gap:2px;padding:8px;display:flex}.side-quick button{color:var(--ink);text-align:start;background:0 0;border-radius:14px;align-items:center;gap:12px;padding:10px 12px;font-weight:500;display:flex}.side-quick button:hover{background:var(--bg)}.side-quick button[aria-current=page]{background:var(--sky-soft)}.sq-ic{background:var(--bg);border-radius:12px;flex:none;place-items:center;width:38px;height:38px;font-size:18px;display:grid}.sq-t{flex-direction:column;line-height:1.45;display:flex}.sq-t b{font-size:14px}.sq-t small{color:var(--muted);font-size:12px}.side-note{background:linear-gradient(135deg,var(--sky-soft),var(--surface));font-size:13.5px}.side-note p{color:var(--muted);margin:6px 0 0}.site-foot{background:var(--surface);border-top:1px solid var(--line);display:block}.site-foot .in{grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px;max-width:1280px;margin:0 auto;padding:44px 32px 28px;display:grid}.foot-brand p{color:var(--muted);max-width:380px;margin-top:12px;font-size:14px}.foot-col{flex-direction:column;align-items:flex-start;gap:2px;display:flex}.foot-col h4{margin:0 0 8px;font-size:14px}.foot-col button{color:var(--muted);background:0 0;border-radius:6px;padding:5px 0;font-size:14px;font-weight:500}.foot-col button:hover{color:var(--sky)}.foot-bottom{border-top:1px solid var(--line);max-width:1280px;color:var(--muted);justify-content:space-between;gap:16px;margin:0 auto;padding:16px 32px 24px;font-size:12.5px;display:flex}.auth-page{max-width:none;padding:0}.auth{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:100vh;display:grid}.auth-hero{color:#fff;background:radial-gradient(circle at 20% 15%,#ffffff2e 0,#0000 45%),linear-gradient(150deg,#1d5fd1,#0d3a8a 70%);align-items:center;padding:56px;display:flex}.auth-hero-in{max-width:520px;margin-inline:auto}.auth-brand{align-items:center;gap:12px;margin-bottom:40px;font-size:22px;font-weight:900;display:flex}.auth-hero h2{color:#fff;margin:0 0 14px;font-size:38px;line-height:1.5}.auth-hero p{opacity:.88;margin-bottom:32px;font-size:16px}.auth-feats{gap:14px;margin:0;padding:0;list-style:none;display:grid}.auth-feats li{background:#ffffff1a;border:1px solid #ffffff29;border-radius:16px;align-items:center;gap:14px;padding:14px 16px;display:flex}.auth-feats span{background:#ffffff24;border-radius:12px;flex:none;place-items:center;width:44px;height:44px;font-size:24px;display:grid}.auth-feats b{font-size:15px;display:block}.auth-feats small{opacity:.8;font-size:13px}.auth-main{width:100%;max-width:520px;min-height:100vh;margin:0 auto;padding:48px}.setup-page{max-width:720px;margin:40px auto;padding:0 32px}}@media (min-width:1024px) and (max-width:1199.98px){.site-head .in,.shell{padding-inline:24px}.shell{grid-template-columns:260px minmax(0,1fr);gap:24px}.brand small{display:none}.site-nav button{padding:8px 11px;font-size:14px}.pf-txt{display:none}}
