:root{color-scheme:light;--ink:#2b2119;--muted:#857462;--paper:#f5efe3;--panel:#fffaf1;--line:#e6dac6;--rust:#9b5638;--gold:#b18a4d;--green:#687c59;--shadow:0 12px 34px #47341a12}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Noto Serif Myanmar",serif;font-size:14px}.topbar{height:74px;background:#211b16;color:#f6ead4;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1240px)/2));border-bottom:1px solid #ffffff17}.brand{display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none}.brand-mark{width:42px;height:42px;border:1px solid #b9955f;border-radius:50%;display:grid;place-items:center;color:#d5b276;font-size:24px}.brand strong,.brand small{display:block;letter-spacing:.15em}.brand strong{font:600 15px Georgia,serif}.brand small{font-size:10px;letter-spacing:0;color:#c5b49a;margin-top:4px}.top-meta{display:flex;align-items:center;gap:9px;color:#d2c2a7;font-size:11px}.live-dot,.chat-status i{width:7px;height:7px;border-radius:50%;background:#8caa72;display:inline-block;box-shadow:0 0 0 4px #8caa7222}.era-label{border-left:1px solid #665744;padding-left:14px;color:#a99578}.shell{max-width:1240px;margin:auto;padding:42px 24px 30px}.intro{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:28px}.eyebrow{font:600 10px Georgia,serif;letter-spacing:.19em;color:var(--rust);margin:0 0 9px}.intro h1{font-size:clamp(30px,4vw,48px);line-height:1.45;margin:0;font-weight:600}.intro h1 em{font-style:normal;color:var(--rust)}.intro-copy{color:var(--muted);margin:9px 0 0;font-size:13px}.day-card{background:#eee2ce;border:1px solid #e2d2b8;border-radius:12px;padding:14px 20px;min-width:170px}.day-card span,.day-card small{display:block;color:var(--muted);font-size:10px}.day-card strong{display:block;font-size:18px;margin:5px 0}.panel{background:var(--panel);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}.city-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(270px,.85fr);gap:18px}.map-panel{padding:20px}.panel-heading,.section-heading,.chat-head{display:flex;justify-content:space-between;align-items:center}.panel-heading h2,.section-heading h2,.chat-head h2{font-size:19px;margin:0;font-weight:600}.panel-heading .eyebrow{margin-bottom:5px}.map-key{font-size:10px;color:var(--muted)}.map-key i{display:inline-block;width:8px;height:8px;background:var(--rust);border-radius:50%;margin-right:5px}.map-wrap{margin-top:12px;background:#d9c49a;border-radius:12px;overflow:hidden}.map-wrap svg{width:100%;height:auto;display:block}.map-labels{fill:#73573b;font-size:12px;font-family:inherit}.map-labels .small-label{font-size:10px}.map-pin{cursor:pointer;outline:none}.map-pin circle{fill:#fff7e9;stroke:#8e4e34;stroke-width:3}.map-pin text{font-size:17px;text-anchor:middle;dominant-baseline:central;pointer-events:none}.map-pin .pin-name{font:600 10px "Noto Serif Myanmar",serif;fill:#463324;stroke:#f3e6ca;stroke-width:3px;paint-order:stroke;text-anchor:middle}.map-pin.active circle{fill:#b77b4e;stroke:#fff0d5;stroke-width:4}.map-pin:focus circle{stroke:#292018;stroke-width:4}.map-footer{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:9px;margin-top:11px}.side-column{display:flex;flex-direction:column;gap:18px}.places-panel,.activity-panel{padding:18px}.compact{margin-bottom:12px}.compact h2{font-size:16px}.place-list{display:grid;gap:5px}.place-item{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;padding:9px 7px;text-align:left;color:var(--ink);font:inherit;border-radius:8px;cursor:pointer}.place-item:hover,.place-item.active{background:#f0e5d3}.place-icon{width:30px;height:30px;border-radius:9px;background:#eee1ca;display:grid;place-items:center;font-size:16px;flex:none}.place-item strong,.place-item small{display:block}.place-item strong{font-size:11px}.place-item small{font-size:9px;color:var(--muted);margin-top:2px}.activity-feed{display:grid;gap:12px}.activity-item{display:flex;gap:9px;font-size:10px;line-height:1.8}.activity-item i{width:6px;height:6px;background:#b28a55;border-radius:50%;margin-top:8px;flex:none}.muted{color:var(--muted)}.activity-item time{color:#a28c70;font-size:9px;display:block}.characters-section{margin:38px 0 28px}.section-heading{margin-bottom:16px}.section-heading h2{font-size:23px}.section-heading p:not(.eyebrow){color:var(--muted);font-size:11px;margin:6px 0 0}.character-count{font-size:10px;color:var(--rust);background:#efe1cd;padding:7px 11px;border-radius:20px}.character-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.character-card{border:1px solid var(--line);background:var(--panel);border-radius:13px;padding:15px 12px;text-align:center;cursor:pointer;transition:.18s;min-width:0;color:var(--ink);font:inherit}.character-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.character-card.active{border-color:var(--rust);background:#fff6e8;box-shadow:0 0 0 2px #9b56381a}.avatar{width:58px;height:58px;margin:0 auto 9px;border-radius:50%;display:grid;place-items:center;font-size:29px;background:#e9d8bb;border:1px solid #d9c39f}.character-card:nth-child(2) .avatar{background:#ead8c2}.character-card:nth-child(3) .avatar{background:#e9d6d4}.character-card:nth-child(4) .avatar{background:#dce0ce}.character-card:nth-child(5) .avatar{background:#e7d9bc}.character-card strong,.character-card small{display:block}.character-card strong{font-size:13px}.character-card small{font-size:9px;color:var(--muted);margin-top:5px;line-height:1.6}.chat-panel{padding:22px;margin-top:16px}.chat-head{align-items:flex-start}.chat-head h2{font-size:18px}.chat-head .muted{font-size:10px;margin:5px 0}.chat-status{font-size:9px;color:var(--green);white-space:nowrap}.chat-status i{width:6px;height:6px;margin-right:6px}.chat-log{height:270px;overflow:auto;background:#f8f1e5;border:1px solid #eee2d0;border-radius:10px;padding:15px;margin-top:15px}.empty-chat{height:100%;display:grid;place-content:center;text-align:center;color:var(--muted)}.empty-chat span{font-size:27px;color:#b18a4d}.empty-chat p{font-size:11px}.message{display:flex;gap:9px;margin:10px 0;max-width:88%}.message.user{margin-left:auto;flex-direction:row-reverse}.message-avatar{width:28px;height:28px;border-radius:50%;background:#e7d7bd;display:grid;place-items:center;flex:none;font-size:14px}.bubble{background:#fffaf1;border:1px solid #eadfcd;padding:9px 12px;border-radius:3px 12px 12px 12px;font-size:11px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.user .bubble{background:#eee0c9;border-radius:12px 3px 12px 12px}.message-meta{font-size:9px;color:#99866c;margin:0 0 4px}.chat-form{display:flex;gap:9px;margin-top:12px}.chat-form input{flex:1;min-width:0;border:1px solid var(--line);border-radius:9px;padding:12px 14px;background:#fffdf8;font:inherit;font-size:11px;outline:none}.chat-form input:focus{border-color:#b18a4d}.chat-form button{border:0;border-radius:9px;padding:0 19px;background:#7e4933;color:white;font:inherit;font-size:11px;cursor:pointer}.chat-form button:disabled,.chat-form input:disabled{opacity:.5;cursor:not-allowed}.chat-form button span{margin-left:8px}.chat-note{font-size:9px;color:#a18f76;margin-top:9px}.footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:18px;margin-top:34px;color:#9b896f;font-size:9px}.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,20px);background:#2b2119;color:#fff4df;padding:10px 16px;border-radius:9px;font-size:11px;opacity:0;pointer-events:none;transition:.2s;z-index:10}.toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:900px){.city-layout{grid-template-columns:1fr}.side-column{display:grid;grid-template-columns:1fr 1fr}.character-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.topbar{height:62px;padding:0 15px}.top-meta{font-size:9px}.era-label{display:none}.shell{padding:27px 13px}.intro{align-items:flex-start;gap:10px}.intro h1{font-size:31px}.intro-copy{font-size:10px;max-width:260px}.day-card{min-width:108px;padding:10px}.day-card strong{font-size:14px}.day-card span,.day-card small{font-size:8px}.map-panel{padding:12px}.map-footer{font-size:8px}.side-column{grid-template-columns:1fr}.character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.character-card{padding:12px 7px}.section-heading h2{font-size:20px}.character-count{font-size:8px}.chat-panel{padding:14px}.chat-log{height:300px;padding:10px}.message{max-width:96%}.chat-form button{padding:0 12px}.footer{font-size:8px;gap:10px}.footer span:last-child{text-align:right}}
.world-panel{padding:20px;margin-bottom:18px}.world-stage{position:relative;margin-top:13px;border-radius:13px;overflow:hidden;background:#b9c9c2;min-height:340px}.world-stage #world3d{height:clamp(340px,58vw,650px);width:100%;touch-action:none}.world-stage canvas{display:block;width:100%;height:100%}.world-hud{position:absolute;left:12px;bottom:12px;display:flex;flex-wrap:wrap;gap:6px;pointer-events:none}.world-hud span{font:10px Arial,sans-serif;color:#fff;background:#201b16b8;border:1px solid #ffffff35;border-radius:20px;padding:7px 10px;backdrop-filter:blur(5px)}.world-caption{font-size:10px;line-height:1.9;color:var(--muted);margin:10px 2px 0}.world-loading{position:absolute;inset:0;display:grid;place-items:center;background:#b9c9c2;color:#44382b;font-size:13px;pointer-events:none;transition:opacity .35s}.world-loading.hidden{opacity:0}.world-lower{grid-template-columns:1fr 1fr}.places-panel,.activity-panel{padding:18px}@media(max-width:600px){.world-panel{padding:12px}.world-stage{min-height:330px}.world-stage #world3d{height:390px}.world-hud{left:7px;right:7px;bottom:7px;gap:4px}.world-hud span{font-size:8px;padding:6px 8px}.world-lower{grid-template-columns:1fr}.top-meta{max-width:55%;justify-content:flex-end;text-align:right}.top-meta .era-label{display:none}}
