*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#1c0830;color:#331345;font:15px/1.55 "Avenir Next",Avenir,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ffb635;outline-offset:3px}[hidden]{display:none!important}.shell{min-height:100dvh;background:linear-gradient(130deg,#261043 0,#4e1669 39%,#30154e 100%)}.masthead{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px clamp(13px,3vw,32px);background:linear-gradient(115deg,#2d0c48,#5d1770 60%,#371058);color:#fff8ce;border-bottom:3px solid #ffda35;box-shadow:0 5px 17px #14052088}.brand{display:flex;align-items:center;gap:13px}.brand-sigil{width:54px;height:54px;display:grid;place-items:center;flex-shrink:0;border:2px solid #ffe064;border-radius:20px;background:radial-gradient(circle at 35% 35%,#8b24a0,#280f56);font-size:28px;color:#ffe064}.brand h1{margin:0;font:800 clamp(25px,3.4vw,38px)/1.05 Georgia,serif;letter-spacing:.01em}.brand p{margin:2px 0 0;color:#f0bee7;font-size:12px;letter-spacing:.08em}.mast-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.local-pill,.soft-button{border-radius:99px;padding:8px 12px;font-size:12px;font-weight:750;white-space:nowrap}.local-pill{border:1px solid #ffda6e;color:#ffeab7;background:#461463}.soft-button{color:#370950;background:#fff0d2;border:1px solid #e5b553}.soft-button:hover{background:#ffeab0}.caution{display:flex;align-items:center;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;padding:9px clamp(14px,3vw,30px);font-size:12px;color:#3c1848;background:#fff0d4}.caution-note{color:#77517b}.nav-worlds{display:flex;gap:7px;padding:14px clamp(12px,3vw,32px);overflow-x:auto;scrollbar-width:thin}.nav-worlds button{border:2px solid #d687e4;background:#f9e9fc;color:#4c1762;border-radius:99px;padding:9px 18px;white-space:nowrap;font-weight:850;box-shadow:0 2px 9px #14032133}.nav-worlds button.selected{background:#ffdd3c;color:#401155;border-color:#ffe675;box-shadow:0 0 0 2px #81348b}.layout{display:grid;grid-template-columns:minmax(0,1.58fr) minmax(310px,.9fr);align-items:start;gap:15px;padding:0 clamp(11px,2vw,24px) 25px;max-width:1760px;margin:auto}.atlas-section,.control-deck{border:3px solid #ffc62e;border-radius:22px;overflow:hidden;box-shadow:0 14px 35px #12052180}.atlas-section{min-width:0;background:#230936}.atlas-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:linear-gradient(110deg,#faf0cf,#f6c5ea)}.atlas-toolbar strong{font:700 19px Georgia,serif;color:#2f124c}.atlas-toolbar p{font-size:12px;margin:2px 0 0;color:#795577}.map-tools{display:flex;align-items:center;gap:5px}.map-tools button{width:34px;height:34px;display:grid;place-items:center;background:#5a176e;border:1px solid #f3cb52;border-radius:11px;color:#fff9d9;font-weight:800;font-size:20px}.map-tools span{font-size:12px;min-width:43px;text-align:center;font-weight:800}.atlas-instruction{padding:7px 12px;color:#fbe3fe;background:#381351;margin:0;text-align:center;font-size:12px}.atlas-viewport{height:min(67dvh,1010px);min-height:420px;overflow:auto;overscroll-behavior:contain;background:#1b0731;scrollbar-color:#b05bd3 #1c0733;scrollbar-width:thin}.atlas-map{display:flex;flex-direction:column;gap:15px;align-items:center;padding:10px 8px 28px;min-width:max-content}.scene{width:var(--scene-width,680px);max-width:none;background:#ffe48d;border:2px solid #ffd835;border-radius:14px;overflow:hidden;box-shadow:0 12px 32px #0008}.scene-visual{position:relative;aspect-ratio:941 / 1465;overflow:hidden}.scene-visual img{display:block;width:100%;height:auto;user-select:none;pointer-events:none}.scene-hit{position:absolute;transform:translate(-50%,-50%);border:2px solid transparent;border-radius:14px;background:transparent;display:flex;align-items:end;justify-content:center;padding:0 5px;z-index:1}.scene-hit span{opacity:0;pointer-events:none;border-radius:11px;background:#fff6ddeb;padding:4px 8px;font-weight:800;color:#310c49;text-align:center;font-size:13px;box-shadow:0 3px 9px #17082788}.scene-hit:hover,.scene-hit:focus-visible{background:#ffe74837;border-color:#ffe853}.scene-hit:hover span,.scene-hit:focus-visible span{opacity:1}.scene-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;padding:9px 12px;background:linear-gradient(110deg,#fff4c9,#efc5fa);font-size:12px;font-weight:700}.scene-footer button{border-radius:10px;background:#ffe13f;border:1px solid #9f5c45;padding:6px 9px;font-weight:800;color:#371044}.counts{display:flex;justify-content:space-around;flex-wrap:wrap;gap:8px;padding:12px;color:#380f49;background:#fff2c2;font-size:13px;font-weight:800;border-top:3px solid #a252ac}.counts strong{font-size:20px;color:#95166a}.control-deck{background:linear-gradient(180deg,#fff6df,#fce5fb);padding:12px;max-height:calc(100dvh - 165px);overflow:auto}.deck-heading{display:flex;align-items:center;gap:11px;padding:3px 6px 10px}.starlight{font-size:28px;color:#891f90}.deck-heading h2{font:700 23px Georgia,serif;margin:0}.deck-heading p{margin:0;font-size:12px;color:#87517e}.deck-card{background:#fffcf4;border:1.5px solid #e3b46e;border-radius:15px;padding:11px 12px;margin:0 0 11px;box-shadow:0 4px 13px #55105318}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.deck-card h3{font:700 17px Georgia,serif;margin:0 0 8px}.section-heading h3{margin:0}.deck-card p{font-size:12px;color:#6b4868;margin:7px 0}.gold-button{background:#ffda4d;color:#3c124a;border:1px solid #c68a30;border-radius:10px;padding:6px 9px;font-weight:800;font-size:12px}.subtle-button{color:#6c2770;border:1px solid #bd85bb;background:#f9e8fb;border-radius:10px;font-weight:750;font-size:12px;padding:5px 9px}.project-list,.task-list,.entry-list{display:grid;gap:7px;margin-top:10px;max-height:230px;overflow:auto}.project-row,.task-row,.entry-row{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff9e9;border:1px solid #e9cba3;border-radius:10px;padding:8px;font-size:12px}.project-row button,.entry-row button{color:#4d2057;font-weight:750;background:none;border:0;text-align:left;padding:0}.project-row small,.entry-row small{color:#816581;display:block;font-weight:400}.task-row label{display:flex;gap:7px;align-items:center;flex:1;cursor:pointer}.task-row input{accent-color:#71236f;flex:none}.task-row.is-done label span{text-decoration:line-through;opacity:.65}.tiny-muted{font-size:12px;color:#805b86}.deck-muted{background:#f1e5f5;border-color:#cea5d7}.footline{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#e1c3e6;font-size:11px;padding:10px 24px}.panel-scrim{position:fixed;inset:0;z-index:1100;background:#17052495}.detail-panel{position:fixed;inset:0 0 0 auto;width:min(94vw,470px);z-index:1101;display:flex;flex-direction:column;background:linear-gradient(180deg,#fff6de,#f1e5ff);color:#361347;box-shadow:-11px 0 35px #120522aa;transform:translateX(103%);transition:transform .22s ease;pointer-events:none}.detail-panel.is-open{transform:translateX(0);pointer-events:auto}.panel-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;color:#fff6cf;background:#461062;font:700 22px Georgia,serif}.panel-header button{background:#fff1d2;color:#431251;border:1px solid #ebce8c;border-radius:50%;width:33px;height:33px}.panel-content{overflow:auto;padding:17px 20px;flex:1}.panel-content h3{font:700 22px Georgia,serif;margin:2px 0 10px}.panel-content p{font-size:13px;color:#69456e}.panel-content form{display:grid;gap:10px}.panel-content label{font-weight:750;font-size:12px;display:grid;gap:4px}.panel-content input,.panel-content textarea,.panel-content select{width:100%;padding:10px;background:#fffef9;border:1.5px solid #a98baf;border-radius:10px;color:#341248}.panel-content textarea{min-height:90px;resize:vertical}.panel-content form button[type=submit]{padding:11px;background:#ffdc48;color:#30113a;border:1px solid #cb953b;border-radius:11px;font-weight:850}.panel-content hr{border:0;border-top:1px solid #d2a0c9;margin:18px 0}.panel-link{color:#6a258c;word-break:break-all}.danger-button{padding:9px 12px;color:#923343;background:#fff1e7;border:1px solid #bd9292;border-radius:10px;font-size:12px}.panel-inline-actions{display:flex;flex-wrap:wrap;gap:9px}.panel-inline-actions button{padding:8px 10px;border-radius:10px;border:1px solid #c1a4c2;background:#fff8f5;color:#4f1b5d;font-weight:700}.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:2000;background:#2c0d46;color:#fff2c7;padding:10px 15px;border:1px solid #f6cb4c;border-radius:13px;box-shadow:0 12px 25px #1807228c;font-size:13px;display:none;max-width:94vw;text-align:center}.toast.visible{display:block}.atlas-section.is-fullscreen{position:fixed;inset:0;z-index:1000;width:100vw;height:100dvh;border-radius:0;display:flex;flex-direction:column}.atlas-section.is-fullscreen .atlas-viewport{flex:1;max-height:none;height:auto}.atlas-section.is-fullscreen .atlas-instruction{display:none}.atlas-section.is-fullscreen .counts{flex-shrink:0}@media(max-width:1020px){.layout{grid-template-columns:minmax(0,1fr)}.control-deck{max-height:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.deck-heading{grid-column:1/-1}.deck-card{margin:0}.atlas-viewport{height:min(72dvh,1050px)}}@media(max-width:620px){.masthead{padding:11px}.brand-sigil{width:43px;height:43px;font-size:23px}.brand h1{font-size:26px}.mast-actions{width:100%}.soft-button{flex:1}.caution{font-size:11px}.nav-worlds{padding:10px}.nav-worlds button{padding:7px 12px;font-size:12px}.layout{padding:0 7px 15px;gap:10px}.atlas-section{border-radius:13px}.atlas-toolbar{padding:8px 9px}.atlas-toolbar strong{font-size:16px}.atlas-toolbar p{font-size:11px}.atlas-instruction{font-size:11px}.atlas-viewport{height:72dvh;min-height:380px}.control-deck{grid-template-columns:1fr}.deck-heading{grid-column:auto}.scene-hit span{font-size:11px}.footline{padding:9px 13px}.scene-footer{font-size:11px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.detail-panel{transition:none}}