@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2)format("woff2-variations");unicode-range:U+1F??}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-vietnamese-wght-normal-CnvboYUG.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-ext-wght-normal-Ca2vKHc0.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/fraunces-latin-wght-normal-ukD16Tqj.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Cairo Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/cairo-arabic-wght-normal-CJWMIGCx.woff2)format("woff2-variations");unicode-range:U+6??,U+750-77F,U+870-88E,U+890-891,U+897-8E1,U+8E3-8FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC,U+102E0-102FB,U+10E60-10E7E,U+10EC2-10EC4,U+10EFC-10EFF,U+1EE00-1EE03,U+1EE05-1EE1F,U+1EE21-1EE22,U+1EE24,U+1EE27,U+1EE29-1EE32,U+1EE34-1EE37,U+1EE39,U+1EE3B,U+1EE42,U+1EE47,U+1EE49,U+1EE4B,U+1EE4D-1EE4F,U+1EE51-1EE52,U+1EE54,U+1EE57,U+1EE59,U+1EE5B,U+1EE5D,U+1EE5F,U+1EE61-1EE62,U+1EE64,U+1EE67-1EE6A,U+1EE6C-1EE72,U+1EE74-1EE77,U+1EE79-1EE7C,U+1EE7E,U+1EE80-1EE89,U+1EE8B-1EE9B,U+1EEA1-1EEA3,U+1EEA5-1EEA9,U+1EEAB-1EEBB,U+1EEF0-1EEF1}@font-face{font-family:Cairo Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/cairo-latin-ext-wght-normal-at8nfxId.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cairo Variable;font-style:normal;font-display:swap;font-weight:200 1000;src:url(/assets/cairo-latin-wght-normal-PfPtmrPZ.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#0b0b0d;--s1:#121215;--s2:#18181d;--s3:#202027;--line:#ffffff17;--hi:#ffffff0d;--tx:#f4f2ee;--mu:#9b9aa3;--pink:#ff2e93;--orange:#ff7a29;--gold:#f5b83d;--purple:#8a5cf0;--green:#2ecc71;--blue:#4a8cff;--r:16px;--safe-b:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--tx);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter Variable,system-ui,sans-serif;font-size:15px;line-height:1.45}h1,h2,h3{letter-spacing:-.01em;margin:0;font-family:Fraunces Variable,Georgia,serif;font-weight:700}h1{font-size:30px}h2{margin-bottom:12px;font-size:20px}h3{font-size:16px}a{color:inherit}button,input,select,textarea{font:inherit;color:inherit}.pos{color:var(--green)}.neg{color:var(--pink)}.between{justify-content:space-between}.end{justify-content:flex-end}.gap{gap:12px}.wrap{flex-wrap:wrap}.center{align-items:center}.stack{flex-direction:column;gap:20px;display:flex}.narrow{flex-direction:column;gap:18px;max-width:860px;margin:0 auto;display:flex}.grid2{grid-template-columns:1fr 1fr;display:grid}.card{background:linear-gradient(180deg,var(--s2),var(--s1));border:1px solid var(--line);border-radius:var(--r);box-shadow:inset 0 1px 0 var(--hi),0 10px 30px #00000059}.btn{border:1px solid var(--line);background:var(--s3);cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 16px;font-size:14px;font-weight:600;text-decoration:none;transition:transform .12s,background .15s;display:inline-flex}.btn:hover{background:#2a2a33}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn.primary{background:linear-gradient(180deg,#ff4aa6,var(--pink));color:#fff;border-color:#0000}.btn.green{background:#1f8f4f;border-color:#0000}.btn.pink{background:#c4206f;border-color:#0000}.btn.ghost{background:0 0}.btn.danger{background:#a62b3a;border-color:#0000}.btn.danger.ghost{color:#ff6b7d;background:0 0;border-color:#ff6b7d66}.btn.small{min-height:34px;padding:6px 12px;font-size:13px}.btn.block{width:100%}.icon-btn{cursor:pointer;width:40px;height:40px;color:var(--mu);background:0 0;border:0;border-radius:10px;place-items:center;display:inline-grid}.icon-btn:hover{background:var(--s3);color:var(--tx)}:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.form{flex-direction:column;gap:14px;display:flex}.form label,label{color:var(--mu);flex-direction:column;gap:6px;font-size:13px;font-weight:500;display:flex}label.inline{color:var(--tx);flex-direction:row;align-items:center;gap:10px}input,select,textarea{background:var(--bg);border:1px solid var(--line);width:100%;min-height:44px;color:var(--tx);border-radius:12px;padding:11px 12px}input[type=checkbox]{width:20px;height:20px;min-height:20px}input[type=range]{accent-color:var(--pink);padding:0}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--gold);outline:none}.errbox{color:#ff9b9b;background:#ff4d4d1a;border:1px solid #ff4d4d66;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:13px;display:flex}.empty{text-align:center;border:1px dashed var(--line);border-radius:var(--r);flex-direction:column;align-items:center;gap:8px;padding:32px 16px;display:flex}.empty.big{padding:60px 20px}.skeleton{border-radius:var(--r);background:linear-gradient(90deg,var(--s1),var(--s3),var(--s1));background-size:200% 100%;animation:1.3s infinite sk}@keyframes sk{to{background-position:-200% 0}}.toasts{left:50%;bottom:calc(84px + var(--safe-b));z-index:100;flex-direction:column;align-items:center;gap:8px;display:flex;position:fixed;transform:translate(-50%)}@media (min-width:1024px){.toasts{bottom:24px}}.toast{border:1px solid var(--line);background:#23232b;border-radius:12px;padding:10px 16px;animation:.2s up;box-shadow:0 8px 24px #00000080}.toast.err{color:#ffb0b0;border-color:#ff4d4d80}@keyframes up{0%{opacity:0;transform:translateY(8px)}}.modal-back{z-index:60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#000000a6;place-items:center;padding:16px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.modal{background:var(--s2);border:1px solid var(--line);border-radius:20px;width:100%;max-width:440px;max-height:90vh;padding:20px;animation:.18s up;overflow:auto}.modal.wide{max-width:640px}.modal-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.boot{flex-direction:column;justify-content:center;align-items:center;gap:16px;height:100%;padding:24px;display:flex}.boot-mark{letter-spacing:.3em;color:var(--gold);font-family:Fraunces Variable,serif;font-size:28px}.auth-wrap{grid-template-columns:1.1fr 1fr;min-height:100%;display:grid}.auth-art{background:radial-gradient(900px 500px at 30% 20%,#1a2c3a,#0b0b0d 70%);flex-direction:column;justify-content:space-between;padding:48px;display:flex}.auth-brand{letter-spacing:.3em;color:var(--gold);font-family:Fraunces Variable,serif;font-size:34px;font-weight:800}.auth-tag{max-width:420px;margin:0;font-family:Fraunces Variable,serif;font-size:30px;line-height:1.25}.auth-isle{align-self:center;width:min(420px,100%)}.auth-card{flex-direction:column;justify-content:center;gap:8px;width:100%;max-width:480px;margin:0 auto;padding:48px;display:flex}.auth-card .form{margin-top:16px}.auth-links{flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:16px;font-size:14px;display:flex}.auth-links a{color:var(--gold)}@media (max-width:860px){.auth-wrap{grid-template-columns:1fr}.auth-art{display:none}.auth-card{min-height:100vh;padding:28px 20px}}.shell{grid-template-columns:240px 1fr;min-height:100%;display:grid}.side{border-right:1px solid var(--line);background:var(--s1);flex-direction:column;gap:24px;height:100vh;padding:24px 16px;display:flex;position:-webkit-sticky;position:sticky;top:0}.logo{letter-spacing:.3em;color:var(--gold);padding:0 10px;font-family:Fraunces Variable,serif;font-size:20px;font-weight:800}.side nav{flex-direction:column;gap:6px;display:flex}.nav-item{color:var(--mu);letter-spacing:.06em;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;width:100%;padding:12px;font-size:13px;font-weight:600;text-decoration:none;display:flex}.nav-item:hover{background:var(--s2);color:var(--tx)}.nav-item.active{background:var(--s3);color:var(--tx);box-shadow:inset 3px 0 0 var(--gold)}.logout{margin-top:auto}.main{flex-direction:column;min-width:0;display:flex}.topbar{justify-content:space-between;align-items:center;padding:14px 28px;display:flex}.top-right{margin-left:auto}.avatar{border:2px solid var(--gold);background:var(--s3);cursor:pointer;border-radius:50%;width:42px;height:42px;font-weight:700}.avatar-wrap{position:relative}.menu{background:var(--s2);border:1px solid var(--line);z-index:30;border-radius:12px;min-width:180px;padding:6px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 12px 30px #00000080}.menu button{cursor:pointer;text-align:left;letter-spacing:.04em;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;width:100%;padding:11px 12px;font-weight:600;display:flex}.menu button:hover{background:var(--s3)}.menu-name{color:var(--mu);padding:8px 12px;font-size:13px}.content{width:100%;max-width:1200px;margin:0 auto;padding:4px 28px 60px}.mobile-only,.bottom{display:none}.page-title{letter-spacing:.12em;font-size:24px}.back{color:var(--mu);align-items:center;gap:6px;margin-bottom:4px;font-size:14px;text-decoration:none;display:inline-flex}.back:hover{color:var(--tx)}@media (max-width:1023px) and (min-width:700px){.shell{grid-template-columns:76px 1fr}.side .logo,.side .nav-item span{display:none}.nav-item{justify-content:center}.side{padding:20px 10px}}@media (max-width:699px){.shell{grid-template-columns:1fr}.side{display:none}.mobile-only{display:block}.topbar{padding:12px 16px}.content{padding:0 14px calc(100px + var(--safe-b))}.bottom{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid var(--line);padding:6px 8px calc(6px + var(--safe-b));z-index:40;background:#121215f2;grid-template-columns:repeat(3,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bnav{min-height:56px;color:var(--mu);letter-spacing:.08em;border-radius:12px;flex-direction:column;align-items:center;gap:3px;padding:8px 0;font-size:10.5px;font-weight:700;text-decoration:none;display:flex}.bnav.active{color:var(--gold)}h1{font-size:24px}.grid2{grid-template-columns:1fr}}.welcome{letter-spacing:.14em;margin:6px 0 14px;font-size:22px}.kingdom{background:radial-gradient(800px 500px at 50% 40%,#14283a,#0a0f15 75%);padding:12px;position:relative;overflow:hidden}.kingdom-svg{width:100%;max-height:640px;margin:0 auto;display:block}.build-wrap{z-index:5;position:absolute;top:14px;right:14px}.build-wrap .menu{right:0}.kingdom-hint{border:1px solid var(--line);text-align:center;width:min(420px,90%);color:var(--mu);background:#0b0b0dd9;border-radius:12px;padding:10px 14px;font-size:13px;position:absolute;bottom:110px;left:50%;transform:translate(-50%)}.island-g{cursor:pointer;outline:none}.island-g:hover .float{transform:translateY(-6px)}.island-g:focus-visible .float{transform:translateY(-6px)}.float{transition:transform .2s;animation:5s ease-in-out infinite floaty}@keyframes floaty{50%{transform:translateY(-7px)}}.island-g:focus-visible{outline:none}.island-g:focus-visible ellipse{stroke:var(--gold);stroke-width:3px}@media (prefers-reduced-motion:reduce){.float{animation:none}}.schedule{z-index:2;margin:-90px 16px 0;padding:16px 18px;position:relative}@media (max-width:699px){.schedule{margin:-60px 4px 0;padding:14px}.kingdom{padding:6px}}.sched-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.sched-head h2{margin:0;font-size:19px}.sched-body{border-top:1px solid var(--line);max-height:340px;overflow:auto}.sched-row{border-bottom:1px solid var(--line);grid-template-columns:62px 1fr;min-height:56px;display:grid}.sched-time{color:var(--mu);padding-top:12px;font-size:12.5px;font-weight:600}.sched-cell{flex-direction:column;justify-content:center;gap:6px;padding:6px 0;display:flex}.sched-item{background:var(--s3);border-left:3px solid var(--blue);border-radius:10px;align-items:center;gap:10px;padding:6px 10px;display:flex}.sched-item.dump{border-left-color:var(--gold)}.sched-item.done .sched-title{color:var(--mu);text-decoration:line-through}.sched-title{text-align:left;cursor:pointer;background:0 0;border:0;flex:1;min-height:32px;padding:6px 0}.sched-title.static{cursor:default}.check{border:2px solid var(--mu);cursor:pointer;color:#000;background:0 0;border-radius:7px;flex:none;place-items:center;width:24px;height:24px;display:grid}.check.on{background:var(--green);border-color:var(--green)}.tag{letter-spacing:.08em;color:var(--gold);white-space:nowrap;background:#f5b83d24;border-radius:6px;padding:3px 7px;font-size:10.5px;font-weight:700}.folders{grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px;display:grid}.folder{background:linear-gradient(160deg,var(--s3),var(--s1));border:1px solid var(--line);box-shadow:inset 0 1px 0 var(--hi),0 14px 28px #0006;border-radius:6px 18px 18px;flex-direction:column;gap:6px;padding:22px 20px 20px;text-decoration:none;transition:transform .15s;display:flex;position:relative}.folder:before{content:"";background:var(--accent);opacity:.9;border-radius:8px 8px 0 0;width:42%;height:12px;position:absolute;top:-9px;left:0}.folder:hover{transform:translateY(-4px)}.folder svg{color:var(--accent)}.folder strong{letter-spacing:.14em;font-size:15px}.folder span{color:var(--mu);font-size:13px}.folder.money{--accent:var(--green)}.folder.dump{--accent:var(--pink)}.folder.flows{--accent:var(--blue)}@media (max-width:699px){.folders{grid-template-columns:1fr}}.stats4{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.stats4.five{margin-bottom:14px}@media (max-width:900px){.stats4{grid-template-columns:repeat(2,1fr)}}.stat{flex-direction:column;gap:4px;padding:16px;display:flex}.stat strong{font-family:Fraunces Variable,serif;font-size:26px}.grid-charts{grid-template-columns:1fr 1fr;gap:16px;display:grid}@media (max-width:900px){.grid-charts{grid-template-columns:1fr}}.chart svg{width:100%;height:auto}.axis{fill:var(--mu);font-size:11px}.legend{flex-wrap:wrap;align-items:center;gap:16px;font-size:12.5px;display:flex}.legend i{border-radius:3px;width:10px;height:10px;margin-right:6px;display:inline-block}.bar{background:var(--s3);border-radius:6px;height:10px;margin:8px 0;overflow:hidden}.bar>div{border-radius:6px;height:100%;transition:width .3s}.totals{flex-direction:column;gap:12px;margin-bottom:14px;display:flex}.trow{grid-template-columns:80px 1fr auto;align-items:center;gap:12px;display:grid}.tbar{background:var(--s3);border-radius:8px;height:14px;overflow:hidden}.tbar>div{border-radius:8px;height:100%}.monthsel{align-items:center;gap:4px;display:flex}.monthsel input{width:170px}.tabs{flex-wrap:wrap;gap:6px;margin:10px 0;display:flex}.tabs button{background:var(--s3);border:1px solid var(--line);cursor:pointer;letter-spacing:.04em;border-radius:999px;min-height:38px;padding:8px 14px;font-size:13px;font-weight:600}.tabs button.on{background:var(--gold);color:#111;border-color:#0000}.txlist{margin:0;padding:0;list-style:none}.txlist li{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:10px 12px;display:flex}.txlist li:last-child{border:0}.tx-main{flex-direction:column;flex:1;min-width:0;display:flex}.txlist li.done strong{color:var(--mu);text-decoration:line-through}.goal,.budget-line{border-bottom:1px solid var(--line);padding:10px 0}.stats{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.stats div{flex-direction:column;display:flex}.stats strong{font-family:Fraunces Variable,serif;font-size:22px}.steps{gap:8px;margin:0;padding:0;list-style:none;display:flex;overflow-x:auto}.steps li{letter-spacing:.1em;background:var(--s2);color:var(--mu);white-space:nowrap;border:1px solid var(--line);border-radius:999px;padding:7px 12px;font-size:11px;font-weight:700}.steps li.on{background:var(--gold);color:#111}.steps li.done{color:var(--green)}.answers dt{color:var(--mu);margin-top:12px;font-size:12px}.answers dd{white-space:pre-wrap;margin:2px 0 0}.stage{background:var(--s3);border-radius:14px;align-items:center;gap:16px;padding:16px;display:flex}.stage-n{color:var(--gold);white-space:nowrap;font-family:Fraunces Variable,serif;font-size:26px}.title-input{background:0 0;border:1px solid #0000;font-family:Fraunces Variable,serif;font-size:26px;font-weight:700}.title-input:hover,.title-input:focus{border-color:var(--line)}.year{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin-top:12px;display:grid}.mini{padding:14px}.mgrid{grid-template-columns:repeat(7,1fr);gap:2px;margin-top:8px;display:grid}.dow{text-align:center;color:var(--mu);font-size:10.5px}.dayc{aspect-ratio:1;cursor:pointer;background:0 0;border:0;border-radius:8px;min-height:30px;font-size:12.5px;position:relative}.dayc:hover{background:var(--s3)}.dayc.today{border:1px solid var(--gold)}.dayc.has{background:#ff2e9338;font-weight:700}.planner{flex-direction:column;gap:12px;max-width:980px;margin:0 auto;display:flex}.planner-top{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.page-title-input{background:0 0;border:1px solid #0000;flex:1;min-width:160px;font-family:Fraunces Variable,serif;font-size:24px;font-weight:700}.page-title-input:focus,.page-title-input:hover{border-color:var(--line)}.save-state{color:var(--mu);font-size:12px}.save-state.error{color:#ff7b7b}.pagebar{scrollbar-width:thin;gap:6px;padding:4px 0;display:flex;overflow-x:auto}.pagebar button{border:1px solid var(--line);background:var(--s2);cursor:pointer;border-radius:10px;flex:none;min-width:42px;height:42px;font-weight:600}.pagebar button.on{background:var(--gold);color:#111;border-color:#0000}.canvas{flex-direction:column;gap:14px;padding:16px;display:flex}.canvas>textarea{background:0 0;border:0;min-height:46vh;font-size:16px;line-height:1.6}.stickies{flex-wrap:wrap;gap:12px;display:flex}.sticky{color:#222;background:#f5d76e;border-radius:6px;flex-direction:column;width:170px;padding:8px;display:flex;transform:rotate(-1deg);box-shadow:0 6px 12px #00000059}.sticky textarea{color:#222;background:0 0;border:0;min-height:90px;padding:4px}.sticky .icon-btn{color:#555;align-self:flex-end;width:28px;height:28px}.eyebrow{letter-spacing:.22em;color:var(--mu);text-transform:uppercase;font-size:11px;font-weight:700;display:block}.eyebrow.dim{color:#ffffff61}.center-text{text-align:center}.hero{margin:2px 0 6px}.welcome{letter-spacing:.08em;margin:4px 0 0;font-size:max(24px,min(4.5vw,34px));line-height:1.15}.empire-head{margin:20px 2px 10px}.empire-title{letter-spacing:.02em;margin:2px 0 0;font-size:max(22px,min(3.5vw,28px))}.sec-title{margin:4px 0 12px;font-size:22px}.kmap{position:relative}.kmap-view{scrollbar-width:none;-webkit-overflow-scrolling:touch;overflow:auto}.kmap-view::-webkit-scrollbar{display:none}.kingdom-svg{min-width:520px;max-height:none;margin:0 auto;display:block}.kmap-controls{z-index:4;gap:8px;display:flex;position:absolute;top:10px;right:10px}.kmap-ctl{border:1px solid var(--line);width:38px;height:38px;color:var(--tx);cursor:pointer;background:#0e1016e0;border-radius:11px;place-items:center;display:grid;box-shadow:0 6px 16px #0006}.kmap-ctl:hover{background:var(--s3)}.kmap-ctl:disabled{opacity:.45;cursor:default}.ring{fill:none;stroke:#ffffff17;stroke-width:1.5px;stroke-dasharray:3 10}.link{stroke:#ffffff24;stroke-width:1.5px;stroke-dasharray:1 7;stroke-linecap:round}.isl-label{fill:#fff;paint-order:stroke;stroke:#081219;stroke-width:5px;font-family:Inter Variable,sans-serif;font-size:19px;font-weight:700}.isl-sub{fill:#ffffff9e;paint-order:stroke;stroke:#081219;stroke-width:4px;font-family:Inter Variable,sans-serif;font-size:14px;font-weight:600}.build-wrap{z-index:5;top:auto;bottom:106px;left:16px;right:auto}@media (max-width:699px){.build-wrap{bottom:74px;left:10px}}.build-pill{border:1px solid var(--line);color:#fff;letter-spacing:.08em;cursor:pointer;background:#0e1016eb;border-radius:16px;align-items:center;gap:8px;padding:13px 22px;font-size:14px;font-weight:700;display:inline-flex;box-shadow:0 10px 24px #00000080}.build-pill:hover{background:#1c1e26}.menu.up{top:auto;bottom:calc(100% + 8px);left:0;right:auto}.territories{margin-top:28px}.terr-row{scroll-snap-type:x mandatory;scrollbar-width:none;gap:16px;padding:6px 2px 14px;display:flex;overflow-x:auto}.terr-row::-webkit-scrollbar{display:none}.terr-card{scroll-snap-align:start;background:linear-gradient(180deg,var(--s2),var(--s1));border:1px solid var(--line);box-shadow:inset 0 1px 0 var(--hi),0 10px 26px #00000059;border-radius:20px;flex-direction:column;flex:0 0 224px;padding:20px 18px;text-decoration:none;transition:transform .15s;display:flex}.terr-card:hover{transform:translateY(-3px)}.terr-img{object-fit:cover;background:#0d2831;border:1px solid #5ec8be47;border-radius:50%;width:148px;height:148px;margin:0 auto 12px;box-shadow:0 0 0 6px #5ec8be0f,0 16px 30px #00000073}.terr-name{text-align:center;margin-bottom:2px;font-size:17px}.terr-stage{text-align:center;margin-top:3px;font-size:14.5px;font-weight:700}.terr-stageno{text-align:center;color:var(--purple);letter-spacing:.18em;margin:4px 0 10px;font-size:11px;font-weight:700}.terr-bar{background:#ffffff1f;border-radius:3px;height:5px;display:block;overflow:hidden}.terr-bar>span{background:linear-gradient(90deg,var(--pink),var(--purple));border-radius:3px;height:100%;display:block}.terr-pct{text-align:right;color:var(--mu);margin-top:5px;font-size:11.5px}.dashboard{margin-top:28px}.dash-icon{color:var(--purple);margin-bottom:8px}.card.stat span{letter-spacing:.14em;text-transform:uppercase;font-size:10.5px;font-weight:700}.chart-card{margin-top:14px}.money-entry{justify-content:space-between;align-items:center;gap:14px;text-decoration:none;display:flex}.money-entry strong{margin-top:6px;font-family:Fraunces Variable,serif;font-size:28px;display:block}.auth-isle-img{aspect-ratio:1;object-fit:cover;border:1px solid #5ec8be40;border-radius:50%;width:min(340px,80%);box-shadow:0 0 0 10px #5ec8be0d,0 24px 60px #00000080}.making{margin-top:28px}.chat{flex-direction:column;gap:10px;max-height:340px;margin:14px 0 12px;padding:4px 2px;display:flex;overflow-y:auto}.chat-empty{text-align:center;border:1px dashed var(--line);border-radius:14px;padding:26px 18px;line-height:1.6}.bubble{white-space:pre-wrap;word-break:break-word;border-radius:16px;max-width:82%;padding:10px 14px;font-size:14px;line-height:1.5}.bubble.user{color:#fff;background:linear-gradient(#7b5cf0,#6346e0);border-bottom-right-radius:6px;align-self:flex-end}.bubble.assistant{background:var(--s3);border:1px solid var(--line);border-bottom-left-radius:6px;align-self:flex-start}.bubble.thinking{gap:5px;padding:14px 16px;display:flex}.bubble.thinking span{background:var(--mu);border-radius:50%;width:7px;height:7px;animation:1.2s infinite think}.bubble.thinking span:nth-child(2){animation-delay:.2s}.bubble.thinking span:nth-child(3){animation-delay:.4s}@keyframes think{0%,60%,to{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}.chat-input{align-items:flex-end}.chat-input textarea{resize:none;flex:1;min-height:44px;max-height:120px}.send-btn{min-width:46px;padding:10px 14px}.stagerail{grid-template-columns:repeat(auto-fill,minmax(38px,1fr));gap:6px;margin:12px 0 16px;display:grid}.stagechip{aspect-ratio:1;border:1px solid var(--line);background:var(--s2);min-height:34px;color:var(--fg);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;font-size:13px;font-weight:700;display:flex}.stagechip.done{color:var(--green);background:#78dc9624;border-color:#78dc964d}.stagechip.on{background:var(--gold);color:#111;border-color:#0000}.stage-panel{background:var(--s3);border:1px solid var(--line);border-radius:16px;padding:16px}.stage-example{border:1px dashed var(--line);border-radius:12px;margin:10px 0;padding:10px 12px}.stage-q{flex-direction:column;gap:6px;margin-top:12px;font-size:14px;font-weight:600;display:flex}.stage-q textarea{font-weight:400}.wf-head{letter-spacing:.01em;margin:4px 0 16px;font-size:max(26px,min(4.5vw,36px));line-height:1.15}.wf-active{color:inherit;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;text-decoration:none;display:flex}.wf-blue{margin-bottom:14px}.wf-icon{color:#fff;background:linear-gradient(#7b5cf0,#6346e0);border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;margin-bottom:10px;display:flex}.btn.wide{justify-content:center;width:100%;margin-top:8px}.wf-status{letter-spacing:.06em;border:1px solid var(--line);background:var(--s2);color:var(--fg);cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:700;display:inline-flex}.wf-status.running{color:var(--green);background:#78dc9626;border-color:#78dc964d}.wf-status.paused{color:var(--gold);background:#f5c86e24;border-color:#f5c86e4d}.media-sec{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.mediagrid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;width:100%;display:grid}.mediacell{background:var(--s2);border:1px solid var(--line);border-radius:12px;flex-direction:column;margin:0;display:flex;overflow:hidden}.mediacell img,.mediacell video{object-fit:cover;background:#000;width:100%;max-height:260px;display:block}.media-loading{background:var(--s3);height:140px}.media-doc{color:var(--fg);word-break:break-all;padding:20px 14px;display:block}.mediacell figcaption{justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;display:flex}.mediacell figcaption span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mediacell .icon-btn{width:30px;height:30px}.mediacell .icon-btn:hover{color:var(--pink);background:0 0}.side-sub{border-top:1px solid var(--line);flex-direction:column;gap:2px;margin-top:18px;padding-top:14px;display:flex}.nav-item.sub{min-height:40px;font-size:12px}.nav-item.sub svg{width:18px}.evolve-tag{margin:6px 0 16px}.evolve-stats{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.evolve-stats .card{flex-direction:column;align-items:center;gap:4px;display:flex}.evolve-num{font-family:Fraunces Variable,serif;font-size:26px}.topic{margin-bottom:12px;padding:14px 16px}.topic-head{width:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:4px 0;display:flex}.topic-n{color:var(--mu);font-size:12px;font-weight:700}.topic-icon{color:var(--purple);justify-content:center;width:34px;display:flex}.topic-name{flex:1;font-size:16px;font-weight:700}.flip{transform:rotate(180deg)}.lesson-list{border-top:1px solid var(--line);flex-direction:column;gap:4px;margin:12px 0 0;padding:12px 0 0;list-style:none;display:flex}.lesson-head{width:100%;color:inherit;cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:10px;padding:8px 4px;font-size:14.5px;display:flex}.lesson-head .check{border-radius:7px;width:22px;height:22px}.lesson-list li.done strong{color:var(--mu)}.lesson-body{padding:4px 4px 12px 36px}.group-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:12px;display:grid}.group-tile{background:var(--s3);border:1px solid var(--line);border-radius:14px;flex-direction:column;align-items:flex-start;gap:4px;padding:12px;display:flex}.group-art{color:#ffffffd9;border-radius:10px;justify-content:center;align-items:center;width:100%;height:64px;margin-bottom:6px;display:flex}.group-tile .btn{margin-top:6px}.fab{right:18px;bottom:calc(84px + env(safe-area-inset-bottom));background:var(--pink);color:#fff;cursor:pointer;z-index:40;border:0;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;display:flex;position:fixed;box-shadow:0 10px 26px #ff2e9366}@media (min-width:900px){.fab{bottom:28px;right:32px}}.post{margin-bottom:14px}.post-head{align-items:center;gap:10px;display:flex}.small-avatar{cursor:default;justify-content:center;align-items:center;width:36px;height:36px;font-size:14px;display:inline-flex}.post-body{white-space:pre-wrap;margin:10px 0}.post-media{object-fit:cover;border:1px solid var(--line);background:#000;border-radius:12px;width:100%;max-height:420px}.post-actions{align-items:center;gap:8px;margin-top:8px;display:flex}.vote{color:var(--mu);cursor:pointer;background:0 0;border:0;padding:4px;display:inline-flex}.vote.up{color:var(--gold)}.vote.down{color:var(--pink)}.score{text-align:center;min-width:20px;font-weight:700}.comments{border-top:1px solid var(--line);flex-direction:column;gap:10px;margin-top:10px;padding-top:10px;display:flex}.comment p{white-space:pre-wrap;margin:2px 0 0;font-size:14px}.install-bar{left:50%;bottom:calc(76px + env(safe-area-inset-bottom));z-index:50;background:var(--s2);border:1px solid var(--line);max-width:min(480px,92vw);color:var(--purple);border-radius:16px;align-items:center;gap:10px;padding:10px 14px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 14px 34px #0000008c}.install-bar .install-text{color:var(--tx);flex:1;font-size:13.5px;line-height:1.4}@media (min-width:900px){.install-bar{bottom:22px}}html[dir=rtl] body{font-family:Cairo Variable,system-ui,-apple-system,sans-serif}html[dir=rtl] .welcome,html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3{letter-spacing:0;font-family:Cairo Variable,system-ui,sans-serif}.langpick{gap:6px;margin-bottom:14px;display:flex}.langpick button{border:1px solid var(--line);background:var(--s2);color:var(--fg);cursor:pointer;border-radius:12px;flex:1;padding:10px;font-weight:700}.langpick button.on{background:var(--gold);color:#111;border-color:#0000}.img-avatar{vertical-align:middle;place-items:center;padding:0;display:inline-grid;overflow:hidden}.img-avatar img{object-fit:cover;object-position:50% 18%;border-radius:50%;width:100%;height:100%}.img-avatar.static{cursor:default}.bell-btn{width:42px;height:42px;color:var(--tx);position:relative}.bell-badge{top:2px;background:var(--pink);color:#fff;border-radius:99px;padding:1px 5px;font-size:10px;font-style:normal;font-weight:700;position:absolute}.bell-badge:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:0}.bell-badge:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:0}.bell-badge:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0}.bell-badge:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:0}.page-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.sec-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.sec-head h2{align-items:center;gap:8px;margin:0;font-size:18px;display:flex}.row{align-items:center;display:flex}.row.gap8{gap:8px}.row.end{justify-content:flex-end}.chips{flex-wrap:wrap;gap:8px;margin-top:8px;display:flex}.chip{background:var(--s3);border:1px solid var(--line);border-radius:99px;align-items:center;gap:6px;padding:5px 12px;font-size:13px;display:inline-flex}.chip.link{text-decoration:none}.chip.btn-chip{cursor:pointer}.chip.btn-chip.sel{background:var(--pink);color:#fff;border-color:#0000}.filter-chips{margin:12px 0}.profile-page{flex-direction:column;gap:14px;display:flex}.profile-id{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.profile-names h1{margin:0 0 6px;font-size:26px}.profile-completion{flex-direction:column;gap:6px;min-width:160px;display:flex}.profile-completion:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){margin-left:auto}.profile-completion:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){margin-left:auto}.profile-completion:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){margin-right:auto}.profile-completion:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){margin-right:auto}.profile-completion .bar{background:var(--s3);border-radius:99px;height:8px;overflow:hidden}.profile-completion .bar i{background:linear-gradient(90deg,var(--pink),#ff4aa6);height:100%;display:block}.profile-stats{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;margin-top:16px;display:grid}.profile-stats>div{background:var(--s3);border-radius:12px;flex-direction:column;align-items:center;gap:2px;padding:10px;display:flex}.profile-stats strong{font-size:18px}.profile-stats span{color:var(--mu);font-size:11px}.profile-bio{white-space:pre-wrap;margin:0 0 8px}.ach-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;display:grid}.ach{border:1px solid var(--line);color:var(--mu);text-align:center;opacity:.55;border-radius:12px;flex-direction:column;align-items:center;gap:6px;padding:14px 8px;font-size:12px;display:flex}.ach.got{color:var(--gold);opacity:1;border-color:#d4af3766}.avatar-builder{flex-direction:column;gap:16px;display:flex}.avatar-preview{flex-direction:column;align-items:center;gap:8px;display:flex}.avatar-preview img{object-fit:cover;object-position:50% 18%;border:3px solid var(--gold);border-radius:50%;width:140px;height:140px}.avatar-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;margin-top:8px;display:grid}.avatar-cell{background:var(--s3);cursor:pointer;border:2px solid #0000;border-radius:12px;flex-direction:column;align-items:center;gap:6px;padding:8px;font-size:11px;display:flex}.avatar-cell.sel{border-color:var(--pink)}.avatar-cell img{object-fit:cover;object-position:50% 18%;border-radius:50%;width:64px;height:64px}.files-upload{flex-wrap:wrap;gap:10px;display:flex}.files-upload select{flex:1;min-width:180px}.files-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;display:grid}.file-card{flex-direction:column;display:flex;overflow:hidden}.file-thumb{background:var(--s3);height:130px;color:var(--mu);place-items:center;display:grid}.file-thumb img{object-fit:cover;width:100%;height:130px}.file-meta{flex-direction:column;gap:4px;padding:10px 12px;display:flex}.file-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.small-text{font-size:12px}.search-bar{color:var(--mu);align-items:center;gap:10px;margin-bottom:14px;padding:12px 16px;display:flex}.search-bar input{background:0 0;border:0;min-height:32px;padding:0}.search-results{flex-direction:column;gap:8px;display:flex}.search-hit{cursor:pointer;text-align:start;border:1px solid var(--line);background:linear-gradient(180deg,var(--s2),var(--s1));border-radius:14px;align-items:center;gap:12px;padding:12px 14px;display:flex}.search-hit-body{flex-direction:column;gap:2px;min-width:0;display:flex}.search-hit-body strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.notif-list{flex-direction:column;gap:8px;margin-bottom:16px;display:flex}.notif{cursor:pointer;text-align:start;border:1px solid var(--line);background:linear-gradient(180deg,var(--s2),var(--s1));border-radius:14px;align-items:flex-start;gap:12px;width:100%;padding:12px 14px;display:flex}.notif.unread{border-color:#ff4aa673}.notif-body{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.notif .dot{background:var(--pink);border-radius:50%;width:9px;height:9px;margin-top:6px}.prefs{flex-direction:column;gap:10px;display:flex}.pref-row{align-items:center;gap:10px;display:flex}.push-note{margin-top:12px}.pad{padding:16px 18px}.muted{color:var(--mu)}
