:root{color-scheme:dark;--bg:#0b1b20;--panel:#10282c;--line:rgba(199,214,187,.15);--text:#e9eddf;--muted:#a9bdb7;--gold:#dfbd7b;--jade:#97c8b2;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang HK','Microsoft JhengHei',sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 30% 45%,#203b39 0,transparent 62%),var(--bg);color:var(--text);min-height:100svh}button,select,a{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button,a,select{touch-action:manipulation}button,a{outline-offset:5px}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,.world:focus-visible{outline:2px solid var(--gold)}button:disabled{cursor:wait}a{color:inherit;text-decoration:none}.topbar{height:104px;max-width:1540px;margin:auto;padding:0 52px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;align-items:center;font-family:Georgia,serif;letter-spacing:.17em;font-size:24px}.brand-mark{font-size:44px;font-weight:normal;color:var(--gold)}.brand small{display:block;font-family:inherit;letter-spacing:.16em;color:var(--muted);font-size:12px;margin-top:7px}.header-tools{display:flex;align-items:center;gap:18px}.quiet{background:none;border:1px solid var(--line);color:var(--muted);border-radius:8px;padding:9px 13px;font-size:14px}.quiet:hover{border-color:var(--gold);color:var(--text)}#help{border-radius:50%;width:36px;height:36px;padding:0;font-family:Georgia,serif;font-size:18px}.language-wrap{display:flex;align-items:center;gap:8px;color:var(--gold)}select{color:var(--text);background:#10272b;border:0;padding:10px 32px 10px 6px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23dfbd7b' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center;font-size:14px;cursor:pointer;border-radius:6px}main{max-width:1480px;margin:auto;padding:34px 52px 20px}.welcome{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:.22em;color:var(--gold);margin:0 0 15px;font-weight:600}.welcome h1{font-family:Georgia,'Songti TC','Noto Serif TC',serif;font-weight:400;font-size:clamp(30px,3.5vw,48px);line-height:1.35;letter-spacing:.02em;margin:0}.welcome em{font-style:normal;color:var(--jade)}.intro{font-size:15px;line-height:1.9;color:var(--muted);margin:0 0 2px;white-space:pre-line}.temple-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px}.room-panel{background:radial-gradient(ellipse at 50% 55%,#24464166,transparent 70%),#10272b;border:1px solid var(--line);border-radius:22px;overflow:hidden;position:relative;box-shadow:0 24px 70px #0002}.room-top,.room-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px;position:relative;z-index:2}.room-top{border-bottom:1px solid #ffffff07}.room-caption{font-size:12px;letter-spacing:.12em;color:var(--muted)}.room-ornament{color:var(--gold);opacity:.8}.reset{font-size:12px;border:0;padding:5px}.world{position:relative;width:100%;aspect-ratio:1040/760;max-height:620px;outline-offset:-6px;overflow:hidden;isolation:isolate;cursor:crosshair}.world>svg{display:block;width:100%;height:100%;overflow:visible;user-select:none;-webkit-user-select:none;touch-action:manipulation}.world .desk{cursor:pointer;outline:none}.desk .desk-aura{opacity:0;transition:opacity .2s}.desk:hover .desk-aura,.desk:focus-visible .desk-aura,.desk.is-active .desk-aura{opacity:1}.desk:focus-visible .desk-aura{stroke:#fff;stroke-width:4}.desk-label{font-family:inherit;font-size:20px;font-weight:600;letter-spacing:.04em;paint-order:stroke;stroke:#142c2b;stroke-width:5px;stroke-linejoin:round;fill:#f3e5c4}.desk-sublabel{font-family:Georgia,serif;font-size:12px;letter-spacing:.2em;fill:#c5c9b5}.floor-tile{pointer-events:none}.avatar-bob{transform-box:fill-box;transform-origin:center;animation:breath 3.5s ease-in-out infinite}.is-walking .avatar-bob{animation:walk .32s ease-in-out infinite}.seated .avatar-bob{animation:none}.avatar-pointer{fill:#f4e3bc;opacity:.95}.room-bottom{border-top:1px solid #ffffff08;flex-wrap:wrap}.controls-hint{font-size:12px;color:var(--muted)}.avatar-picker{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}.avatar-picker>span{margin-right:4px}.avatar-picker button{background:var(--swatch);border:3px solid #10272b;border-radius:50%;width:20px;height:20px;outline:1px solid transparent;padding:0}.avatar-picker button[aria-pressed=true]{outline-color:var(--gold)}.desks-panel{padding:14px 0;display:flex;flex-direction:column}.desks-heading .eyebrow{margin-bottom:14px}.desks-heading h2{font-family:Georgia,'Songti TC',serif;font-size:26px;font-weight:400;line-height:1.45;margin:0 0 8px}.desks-heading>p:last-child{font-size:14px;color:var(--muted);margin:0 0 20px}.desk-card{border:1px solid var(--line);border-radius:14px;padding:18px;margin-bottom:12px;background:linear-gradient(120deg,#ffffff04,transparent);transition:background .25s,border-color .25s}.desk-card.active{border-color:color-mix(in srgb,var(--desk-color) 55%,transparent);background:linear-gradient(120deg,color-mix(in srgb,var(--desk-color) 10%,transparent),transparent)}.desk-title-row{display:flex;align-items:center;gap:12px}.desk-icon{color:var(--desk-color);width:35px;height:35px;flex:none}.desk-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.3}.desk-card h3{font-family:Georgia,'Songti TC',serif;font-size:21px;letter-spacing:.03em;font-weight:400;line-height:1.4;margin:0}.desk-tag{font-size:11px;color:var(--desk-color);letter-spacing:.1em;margin:4px 0 0}.desk-card .desk-desc{font-size:14px;line-height:1.75;color:var(--muted);margin:12px 0}.desk-actions{display:flex;justify-content:space-between;align-items:center;gap:8px}.sit-button{background:none;border:none;padding:3px 0;color:var(--desk-color);font-size:14px;font-weight:600;text-align:left}.sit-button:hover{text-decoration:underline;text-underline-offset:5px}.direct-link{font-size:12px;color:var(--muted);text-underline-offset:3px}.direct-link:hover{text-decoration:underline}.visited{display:inline-block;color:var(--muted);font-size:11px;margin-left:8px}.journey-status{display:flex;align-items:flex-start;gap:10px;margin-top:auto;padding:15px 2px 0}.status-star{font-size:22px;color:var(--gold)}#status{font-size:14px;line-height:1.7;color:var(--muted);margin:3px 0;flex:1}.journey-status .quiet{white-space:nowrap;margin-top:1px}footer{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--muted);font-size:12px;padding:22px 2px 0}kbd{font:inherit;color:#d7decc;letter-spacing:.1em}.keyboard-hint{font-size:11px}.seat-transition{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none;opacity:0;background:radial-gradient(ellipse,#e7d7aa12,#10272b88);transition:opacity .4s}.seat-transition>span{font-size:80px;color:#f6da9a;transform:scale(.7);transition:transform .6s;filter:drop-shadow(0 0 25px #f9cd8399)}.world.is-seated .seat-transition{opacity:1}.world.is-seated .seat-transition>span{transform:scale(1)}.lantern-flame{animation:glow 3s ease-in-out infinite;transform-box:fill-box;transform-origin:center}.spark{animation:spark 5s ease-in-out infinite}.no-script{padding:25px;display:flex;gap:24px;flex-wrap:wrap}dialog{color:var(--text);background:#132d30;border:1px solid #dfbd7b55;border-radius:18px;max-width:510px;width:calc(100% - 40px);padding:38px;box-shadow:0 25px 100px #0008}dialog::backdrop{background:#061317bb;backdrop-filter:blur(8px)}dialog h2{font-family:Georgia,'Songti TC',serif;font-weight:400;font-size:30px;margin:0 0 24px}dialog p{font-size:16px;line-height:1.9;color:var(--muted)}dialog .eyebrow{font-size:11px;color:var(--gold)}.close{position:absolute;right:14px;top:10px;color:var(--muted);background:none;border:none;font-size:28px;padding:5px}.primary{border:1px solid var(--gold);background:var(--gold);color:#152c2d;border-radius:8px;padding:12px 20px;font-size:16px;margin-top:12px}.click-marker{position:absolute;width:16px;height:8px;border:1px solid var(--gold);border-radius:50%;opacity:0;pointer-events:none}.click-marker.flash{animation:click .9s ease-out}.chair-glow{opacity:.25}.is-active .chair-glow{opacity:.8}@keyframes breath{50%{transform:translateY(-2px)}}@keyframes walk{50%{transform:translateY(-4px) rotate(2deg)}}@keyframes glow{50%{opacity:.65;transform:scale(.9)}}@keyframes spark{50%{opacity:.15}}@keyframes click{0%{opacity:1;transform:scale(.5)}100%{opacity:0;transform:scale(3)}}
@media(min-width:1450px){.temple-layout{grid-template-columns:minmax(0,1fr) 350px}.world{max-height:660px}}@media(max-width:1100px){.topbar{padding:0 28px;height:90px}main{padding:28px}.temple-layout{grid-template-columns:minmax(0,1fr) 310px;gap:20px}.welcome{align-items:flex-start}.intro{max-width:300px;font-size:14px}.world{aspect-ratio:850/760}.world>svg{width:118%;margin-left:-9%}.room-top,.room-bottom{padding:15px}.room-caption{letter-spacing:0;font-size:11px}.controls-hint{font-size:11px}.desk-card{padding:15px}.desks-heading h2{font-size:23px}}
@media(max-width:780px){.topbar{height:80px;padding:0 20px}.brand{font-size:20px;letter-spacing:.12em}.brand-mark{font-size:35px}.brand small{font-size:11px;margin-top:4px}.header-tools{gap:12px}.language-wrap>span{display:none}select{font-size:13px;padding-right:25px}.welcome{display:block;margin-bottom:20px}.welcome .eyebrow{font-size:10px;letter-spacing:.13em}.welcome h1{font-size:35px}.intro{max-width:none;margin-top:12px;font-size:14px}.intro br{display:none}main{padding:25px 16px 20px}.temple-layout{grid-template-columns:1fr;gap:22px}.world{aspect-ratio:1040/760;max-height:none}.world>svg{width:100%;margin-left:0}.room-caption{font-size:12px}.room-top{padding:12px 16px}.room-ornament{display:none}.room-bottom{padding:13px 16px}.controls-hint{font-size:12px}.desks-panel{padding:0 4px}.desks-heading h2{font-size:26px}.desks-heading .eyebrow{margin-bottom:10px}.desks-heading>p:last-child{margin-bottom:15px}.desk-card{padding:18px}.desk-card h3{font-size:22px}.desk-card .desk-desc{font-size:16px;line-height:1.75}.sit-button{font-size:16px;min-height:36px}.direct-link{font-size:14px}.desk-tag{font-size:12px}.journey-status{position:relative;padding-top:5px}.desk-label,.desk-sublabel{display:none}.keyboard-hint{display:none}footer{padding-top:22px;font-size:13px;justify-content:center}.avatar-picker button{width:23px;height:23px}.desks-heading .eyebrow{font-size:11px}.world .avatar-pointer{stroke:#fff3;stroke-width:4}#status{font-size:15px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.intro,.desk-card .desk-desc{font-size:16px}.room-caption,.controls-hint,.reset,.avatar-picker,.direct-link,footer,.keyboard-hint{font-size:14px}.desk-tag,.brand small{font-size:12px}.avatar-picker button{min-width:24px;min-height:24px}

@media(min-width:781px){.topbar{height:80px}main{padding-top:24px}.welcome{margin-bottom:20px}.welcome h1{font-size:40px}.world{max-height:max(340px,calc(100svh - 330px))}.desk-label{font-size:24px}.desks-panel{padding-top:8px}.desk-card{padding:14px 16px}.desk-card .desk-desc{line-height:1.6;margin:9px 0}.desks-heading>p:last-child{margin-bottom:15px}}

.visited{font-size:12px}
/* Zenswer RPG: a moonlit sanctum, character journal and in-world conversations. */
:root{--bg:#0c1220;--panel:#14222c;--gold:#e4c58a;--muted:#b4c0bd}
body{background:radial-gradient(ellipse at 30% 45%,#29314788 0,transparent 65%),radial-gradient(ellipse at 90% 5%,#38304b55,transparent 55%),var(--bg)}
.topbar{border-color:#d5bd8a22}.brand{letter-spacing:.2em}.brand-mark{color:#dcc38e}.brand small{letter-spacing:.14em}
.welcome .eyebrow{font-size:11px;letter-spacing:.2em}.welcome h1{font-size:32px}.welcome em{color:#dfc899}.intro{max-width:370px;color:#bfcbc2}
.temple-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px}.room-panel{background:radial-gradient(ellipse at 55% 40%,#3b3f5477,transparent 75%),#13252c;border-radius:14px;border-color:#bca97a44;box-shadow:0 24px 80px #03071266,inset 0 0 50px #080e2122}
.room-top{padding:15px 20px;background:#0e1b2480;border-bottom:1px solid #d5bd8a22}.room-caption{color:#e2d1ae;font-size:13px}.room-ornament{font-size:22px}.world{height:clamp(450px,66svh,650px);max-height:none;aspect-ratio:auto}.world>svg{overflow:visible}.room-bottom{border-color:#d5bd8a22;background:#0e1b2480;padding:14px 20px}
.witch-npc{cursor:pointer;outline:none}.witch-sprite{filter:drop-shadow(0 3px 4px #06101b88);transition:filter .25s}.witch-npc:hover .witch-sprite,.witch-npc:focus-visible .witch-sprite,.witch-npc.is-active .witch-sprite{filter:drop-shadow(0 0 7px #e1c58d99)}.witch-npc:focus-visible .witch-shadow{stroke:#fff1c4;stroke-width:3}.npc-marker{animation:npc-float 3s ease-in-out infinite}.npc-marker.has-met{opacity:.35}.npc-marker.has-met path:last-child{stroke:none}.desk-label{font-size:20px;font-weight:500;stroke-width:6px}.desk-sublabel{font-size:11px;fill:#c7c0ad}.desk-card{padding:0!important;background:linear-gradient(130deg,#ffffff06,transparent);border-radius:10px;overflow:hidden;margin-bottom:12px}.desk-card.active{background:linear-gradient(125deg,color-mix(in srgb,var(--desk-color) 16%,transparent),transparent);border-color:var(--desk-color)}
.desks-heading .eyebrow{font-size:11px;letter-spacing:.16em}.desks-heading h2{font-size:23px}.desks-heading>p:last-child{font-size:14px;margin-bottom:16px}.quest{display:flex;gap:12px;padding:14px 15px;margin-bottom:18px;border:1px solid #d9bf7b33;border-radius:10px;background:#d2b77108}.quest>span{font-size:26px;color:#dcc18a}.quest p{margin:0}.quest #quest-title{color:#e5cf9d;font-size:12px;letter-spacing:.09em;margin-bottom:7px}.quest #quest-text{font-size:14px;color:var(--muted);line-height:1.7}.quest strong{display:block;font-weight:400;color:#d7c8a1;font-size:12px;margin-top:8px}
.npc-card-top{display:flex;align-items:center;gap:8px;min-height:116px;padding:8px 12px 0}.npc-card-portrait{height:112px;width:92px;flex:none;overflow:hidden;align-self:flex-end;background:radial-gradient(ellipse,var(--desk-color),transparent 70%);border-radius:45% 45% 0 0}.npc-card-portrait img{width:100%;height:140%;object-fit:cover;object-position:center top;display:block}.npc-card-info{min-width:0;padding:9px 0}.npc-card-info .desk-tag{font-size:12px;line-height:1.5;letter-spacing:.08em;margin-bottom:7px}.npc-card-info h3{font-family:Georgia,'Songti TC',serif;font-size:24px;color:#f3ead8}.npc-service{font-size:14px;color:var(--muted);margin:9px 0 0;display:flex;align-items:center;gap:7px}.mini-icon{height:20px;width:20px;color:var(--desk-color);flex:none}.mini-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5}.desk-actions{padding:11px 14px;border-top:1px solid #fff1}.sit-button{font-size:15px}.direct-link{font-size:13px}.visited{font-size:11px;display:block;letter-spacing:.08em;margin:5px 0 0;color:var(--desk-color)}
.npc-dialogue{display:grid;grid-template-columns:120px minmax(0,1fr);gap:18px;position:relative;margin:-8px 20px 18px;padding:20px 22px 18px;border:1px solid var(--npc-accent,#d6bb87);border-radius:12px;background:linear-gradient(110deg,#182533,#151d2a);box-shadow:0 14px 45px #02050a66;z-index:4;animation:dialogue-enter .25s ease-out}.npc-dialogue[hidden]{display:none}.dialogue-portrait{height:160px;overflow:hidden;background:radial-gradient(ellipse,color-mix(in srgb,var(--npc-accent) 40%,transparent),transparent 70%);border-radius:12px;align-self:center}.dialogue-portrait img{width:100%;height:140%;object-fit:cover;object-position:center top}.npc-role{font-size:12px;color:var(--npc-accent);letter-spacing:.08em;margin:0 0 7px;line-height:1.5}.npc-dialogue h2{font-size:25px;font-family:Georgia,'Songti TC',serif;font-weight:400;margin:0;color:#f4ead7}.npc-dialogue #npc-speech{font-size:17px;line-height:1.85;color:#e0e3d8;margin:12px 0 16px;max-width:700px}.dialogue-actions{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap}.dialogue-actions .primary{font-size:15px;background:color-mix(in srgb,var(--npc-accent) 80%,#e4d5b3);border-color:var(--npc-accent);color:#15202a;margin:0;padding:11px 17px}.dialogue-more,.dialogue-leave{font:inherit;font-size:14px;background:none;border:0;padding:8px 0;line-height:1.5}.dialogue-more{color:#d1d6cb;text-decoration:underline;text-underline-offset:4px}.dialogue-more[aria-pressed=true]{color:var(--npc-accent)}.dialogue-leave{color:var(--muted)}.is-talking .world{box-shadow:inset 0 -30px 50px #03081433}.status-star{color:#dfc18e}.journey-status{padding-top:5px}#status{font-size:14px}.keyboard-hint{font-size:12px}.avatar-pointer{filter:drop-shadow(0 0 5px #ffdfaa88)}
@keyframes npc-float{50%{translate:0 -5px}}@keyframes dialogue-enter{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
@media(min-width:1500px){.temple-layout{grid-template-columns:minmax(0,1fr) 320px}.world{height:min(69svh,700px)}}
@media(max-width:1100px) and (min-width:781px){main{padding:22px}.temple-layout{grid-template-columns:minmax(0,1fr) 280px;gap:18px}.world>svg{width:100%;margin-left:0}.world{height:570px}.welcome h1{font-size:29px}.intro{font-size:14px}.npc-card-portrait{width:80px}.npc-service{font-size:13px}.npc-dialogue{grid-template-columns:80px minmax(0,1fr);padding:17px;gap:14px}.dialogue-portrait{height:120px}.npc-dialogue #npc-speech{font-size:16px}}
@media(max-width:780px){.topbar{height:78px}.brand{font-size:21px;letter-spacing:.14em}.brand small{font-size:10px;letter-spacing:.08em}.welcome h1{font-size:29px}.welcome .eyebrow{font-size:10px}.welcome{margin-bottom:18px}.intro{font-size:15px;line-height:1.8;margin-top:10px}.temple-layout{grid-template-columns:1fr;gap:22px}.world{height:auto;aspect-ratio:1040/920;min-height:0;max-height:none}.world>svg{height:100%;width:110%;margin-left:-5%}.room-top{padding:12px 14px}.room-caption{font-size:12px;max-width:210px;line-height:1.5}.room-bottom{padding:13px 14px}.controls-hint{font-size:12px}.desks-heading h2{font-size:25px}.npc-card-top{min-height:133px;padding:10px 18px 0;gap:20px}.npc-card-portrait{width:115px;height:130px}.npc-card-info h3{font-size:27px}.npc-card-info .desk-tag{font-size:13px}.npc-service{font-size:16px}.visited{font-size:12px}.desk-actions{padding:12px 18px}.sit-button{font-size:16px}.direct-link{font-size:14px}.npc-dialogue{grid-template-columns:62px minmax(0,1fr);gap:12px;margin:0 12px 14px;padding:16px 14px}.dialogue-portrait{height:100px;align-self:start}.npc-dialogue h2{font-size:24px}.npc-role{font-size:12px;line-height:1.7}.npc-dialogue #npc-speech{font-size:16px;line-height:1.8}.dialogue-actions{display:grid;gap:5px}.dialogue-actions .primary{font-size:15px}.dialogue-more,.dialogue-leave{font-size:14px;text-align:left}.quest{margin-bottom:16px}.quest strong{font-size:13px}.quest #quest-text{font-size:15px}.desks-panel{padding:0 3px}.desk-label,.desk-sublabel{display:none}footer{font-size:12px;line-height:1.8;text-align:center}.npc-marker{animation:none}}
@media(prefers-reduced-motion:reduce){.npc-marker,.npc-dialogue{animation:none}}

.temple-layout{align-items:start}.desk-label,.desk-sublabel{display:none}.witch-name{font-family:Georgia,'Songti TC',serif;font-size:20px;font-weight:500;fill:#f2dfb7;paint-order:stroke;stroke:#18252e;stroke-width:5px;stroke-linejoin:round}.npc-dialogue{position:absolute;left:18px;right:18px;bottom:72px;margin:0}.world{height:clamp(400px,calc(100svh - 300px),650px)}@media(min-width:1500px){.world{height:clamp(480px,calc(100svh - 280px),700px)}}@media(max-width:780px){.world{height:auto}.npc-dialogue{position:relative;left:auto;right:auto;bottom:auto;margin:0 12px 14px}.witch-name{display:none}}
