*{box-sizing:border-box;margin:0;padding:0}html{height:100%;overflow:hidden}:root{font-family:Courier New,Courier,monospace;background-color:#111;color:#ccc}body,#root{height:100%;overflow:hidden;display:flex;flex-direction:column}button{background-color:#222;color:#ccc;border:1px solid #444;padding:.4em .8em;cursor:pointer;font-family:inherit;font-size:.9rem}button:hover{background-color:#333;border-color:#888}input[type=number]{background-color:#222;color:#ccc;border:1px solid #444;padding:.4em .6em;font-family:inherit;font-size:.9rem;width:12em}.app{display:flex;flex-direction:column;height:100vh;height:100dvh;padding:.25rem .5rem;gap:.25rem;overflow:hidden}.toolbar{display:flex;align-items:center;gap:.35rem;flex-shrink:0;min-height:36px}.toolbar label{color:#aaa;font-size:.85rem}.main{display:flex;flex-direction:row;gap:1rem;align-items:flex-start;justify-content:center;flex:1;min-height:0;overflow:hidden}.map-area{position:relative;display:flex;flex-direction:column;align-items:center}.grid-wrap{display:flex;justify-content:center;align-items:center;overflow:hidden}.grid-view{font-family:Menlo,Consolas,Courier New,Liberation Mono,ui-monospace,monospace;font-feature-settings:"liga" 0,"calt" 0;font-variant-ligatures:none;letter-spacing:0;word-spacing:0;line-height:1;white-space:pre;color:#bbb;background-color:#0a0a0a;border:1px solid #333;padding:.3rem .5rem;outline:none;cursor:default;-webkit-user-select:none;user-select:none;touch-action:none}.grid-view span{display:inline-block;width:1ch;height:1em;text-align:center;overflow:hidden;vertical-align:top}.grid-view:focus{border-color:#555}.char-measure{font-family:Menlo,Consolas,Courier New,Liberation Mono,ui-monospace,monospace;font-feature-settings:"liga" 0,"calt" 0;font-variant-ligatures:none;letter-spacing:0;position:absolute;visibility:hidden;pointer-events:none;white-space:pre}.touchpad{display:flex;flex-direction:column;align-items:center;gap:3px;flex-shrink:0}.touchpad-row{display:flex;gap:3px}.dpad-btn{width:48px;height:48px;font-size:1.2rem;display:flex;align-items:center;justify-content:center;background-color:#1a1a1a;border:1px solid #555;color:#ccc;border-radius:8px;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:none;transition:background-color 80ms,border-color 80ms;min-width:44px;min-height:44px}.dpad-btn:active,.dpad-btn:hover{background-color:#2e2e2e;border-color:#888}.dpad-select{font-size:.9rem;color:#888}.dpad-select--flash{background-color:#3a3a1a;border-color:#aa4;color:#ed8}.inspector-desktop-wrap{min-width:160px;flex-shrink:0}.inspector{min-width:140px;background-color:#0f0f0f;border:1px solid #333;padding:.5rem .65rem;font-size:.82rem;flex-shrink:0}.inspector--collapsed{padding:.3rem .5rem}.inspector-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.4rem;border-bottom:1px solid #333;padding-bottom:.25rem}.inspector--collapsed .inspector-header{margin-bottom:.3rem;border-bottom:none;padding-bottom:0}.inspector-title{font-size:.85rem;color:#aaa}.inspector-toggle{background:none;border:none;color:#555;font-size:.72rem;padding:0 .2rem;cursor:pointer;line-height:1}.inspector-toggle:hover{color:#999;background:none;border:none}.inspector-compact{display:flex;align-items:center;gap:.35rem;font-size:.79rem;flex-wrap:wrap}.ic-item{color:#bbb;white-space:nowrap}.ic-item b{color:#ddd;font-weight:400}.ic-sep{color:#444}.inspector table{border-collapse:collapse;width:100%}.inspector th{text-align:left;color:#777;font-weight:400;padding-right:.4rem;padding-bottom:.18rem}.inspector td{color:#ddd;padding-bottom:.18rem}.inspector-ruin{margin-top:.5rem;padding:.4rem .5rem;border:1px solid #554400;border-radius:4px;background:#1a1400}.inspector-ruin-header{display:flex;align-items:baseline;gap:.4rem;margin-bottom:.25rem}.inspector-ruin-id{color:gold;font-weight:700;font-size:.85rem}.inspector-ruin-name{color:#eed;font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inspector-ruin-oneliner{color:#bba;font-size:.78rem;margin:0 0 .35rem;line-height:1.35;word-break:break-word}.inspector-lore-btn{display:block;width:100%;padding:.3rem .5rem;font-size:.78rem;background:#332800;color:gold;border:1px solid #554400;border-radius:3px;cursor:pointer;text-align:center}.inspector-lore-btn:hover{background:#443200}.inspector-town{margin-top:.5rem;padding:.4rem .5rem;border:1px solid #554422;border-radius:4px;background:#1a1408}.inspector-town-header{display:flex;align-items:baseline;gap:.4rem}.inspector-town-id{color:#e0a040;font-weight:700;font-size:.85rem}.inspector-town-name{color:#eed;font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend{margin-top:.6rem;border-top:1px solid #333;padding-top:.35rem}.legend h3{font-size:.78rem;color:#777;margin-bottom:.3rem}.legend ul{list-style:none;padding:0}.legend li{color:#aaa;font-size:.79rem;margin-bottom:.1rem}.glyph{color:#ddd;margin-right:.35rem}.hint{margin-top:.4rem;font-size:.72rem;color:#555}.tile-water{color:#1565c0}.tile-rocky-mountain{color:#e0e0e0;font-weight:700}.tile-alpine{color:#f5f5f5;font-weight:700}.tile-desert{color:#d4a017}.tile-plains{color:#8bc34a}.tile-forest{color:#43a047;font-weight:700}.tile-beach{color:#ffd54f}.tile-swamp{color:#4db6ac}.tile-river{color:#00e5ff;font-weight:700}.tile-lake{color:#29b6f6;font-weight:700}.tile-special{color:#ce93d8;font-weight:700}.tile-dense-forest{color:#1b5e20;font-weight:700}.tile-steppe{color:#a1887f}.tile-h-deep{color:#0d47a1}.tile-h-ocean{color:#1565c0}.tile-h-shore{color:#42a5f5}.tile-h-low{color:#66bb6a}.tile-h-mid{color:#a5d6a7}.tile-h-high{color:#8d6e63}.tile-h-mount{color:#bdbdbd}.tile-h-peak{color:#f5f5f5}.tile-r-ocean{color:#1565c0}.tile-r-river{color:#00e5ff;font-weight:700}.tile-r-lake{color:#00bcd4;font-weight:700}.tile-r-land{color:#424242}.tile-r-mount{color:#757575}.layer-toggle{display:inline-flex;gap:2px;margin-left:.3rem}.layer-btn{padding:.15rem .45rem;font-size:.72rem;border:1px solid #333;border-radius:3px;background-color:#111;color:#777;cursor:pointer;white-space:nowrap;transition:background-color 80ms,color 80ms}.layer-btn:hover{background-color:#1e1e1e;color:#aaa}.layer-btn--active{border-color:#558;color:#ccc;background-color:#1a1a2e}.tile-player{color:#ff5252;font-weight:700;background-color:#ff52522e}.tile-highlight{background-color:#ffff6426;outline:1px solid rgba(255,255,100,.4)}.tile-zone-entity{font-weight:700}.tile-zone-entity--myth-npc{color:#e1bee7;text-shadow:0 0 4px #ce93d8}.tile-zone-entity--civ-guard{color:#ef9a9a}.tile-zone-entity--civ-merchant{color:#fff59d}.tile-zone-entity--civ-priest{color:#b39ddb}.tile-zone-entity--civ-commoner{color:#a5d6a7}.tile-zone-entity--animal-goat{color:#f5cba7}.tile-zone-entity--animal-bird{color:#aed6f1}.tile-zone-entity--animal-frog{color:#a9dfbf}.tile-zone-entity--animal-snake{color:#c5e1a5}.tile-zone-entity--animal-wolf{color:#bcaaa4}.tile-zone-entity--animal-deer{color:#d7ccc8}.tile-zone-entity--animal-beetle{color:#80cbc4}.tile-zone-entity--animal-scorpion{color:#ffcc80}.tile-zone-entity--animal-fish{color:#81d4fa}.tile-zone-entity--animal-bat{color:#b0bec5}.tile-zone-entity--mob{color:#ef5350;text-shadow:0 0 3px #c62828}.tile-zone-entity--relic{color:#ffd54f;text-shadow:0 0 5px #ffb300}.tile-zone--sand{color:#d4a76a}.tile-zone--gravel{color:#9e9e9e}.tile-zone--dirt{color:#a1887f}.tile-zone--grass{color:#7cb342}.tile-zone--tall_grass{color:#558b2f}.tile-zone--rock{color:#757575}.tile-zone--cliff{color:#b71c1c;font-weight:700}.tile-zone--shallow_water{color:#4fc3f7}.tile-zone--mud{color:#6d4c41}.tile-zone--tree{color:#2e7d32;font-weight:700}.tile-zone--reed{color:#827717}.tile-zone--snow{color:#e1f5fe}.tile-zone--stone_floor{color:#8d8d8d}.tile-zone--stone_wall{color:#5d4037;font-weight:700}.tile-zone--stairs_down{color:#ffab40;font-weight:700}.tile-zone--stairs_up{color:#69f0ae;font-weight:700}.tile-zone--entrance{color:#ffd740;font-weight:700}.tile-zone--pillar{color:#bcaaa4;font-weight:700}.tile-zone--rubble{color:#795548}.tile-zone--altar{color:#e040fb;font-weight:700}.tile-zone--bookshelf{color:#8d6e63}.tile-zone--mirror{color:#b3e5fc;font-weight:700}.tile-zone--machine{color:#ffd54f;font-weight:700}.tile-zone--void_crack{color:#7c4dff}.tile-zone--town_wall{color:#8d6e63;font-weight:700}.tile-zone--town_floor{color:#a1887f}.tile-zone--town_road{color:#bcaaa4}.tile-zone--town_gate{color:#ffd740;font-weight:700}.tile-zone--town_building{color:#6d4c41;font-weight:700}.tile-zone--town_plaza{color:#d7ccc8}.tile-zone--town_fence{color:#a1887f;font-weight:700}.tile-zone--well{color:#4fc3f7;font-weight:700}.tile-town{color:#e0a040;font-weight:700;background-color:#e0a0401f}.action-btn--context{background:#2e7d32;color:#fff;border-color:#43a047}.action-depth-label{font-size:.75rem;color:#aaa;margin-left:.25rem;white-space:nowrap}.inspector-subtitle{font-weight:400;font-size:.8em;color:#aaa}.mode-badge{font-size:.78rem;padding:.1rem .5rem;border-radius:3px;border:1px solid #333;color:#aaa;white-space:nowrap;flex-shrink:0}.mode-badge--zone{border-color:#4a6;color:#8fce9a;background-color:#0f1f12}.toolbar-sep{width:1px;height:20px;background:#333;flex-shrink:0;margin:0 .2rem}.action-bar{display:flex;align-items:center;gap:.3rem;flex-wrap:wrap}.action-btn{padding:.2rem .6rem;font-size:.8rem;border:1px solid #444;border-radius:4px;background-color:#1a1a1a;color:#ccc;cursor:pointer;white-space:nowrap;min-height:28px;touch-action:manipulation;transition:background-color 80ms,border-color 80ms}.action-btn:hover:not(:disabled){background-color:#2a2a2a;border-color:#666}.action-btn:disabled{opacity:.38;cursor:default}.action-btn--enter{border-color:#4a8;color:#8fce9a;background-color:#0f1f16}.action-btn--enter:hover{background-color:#162b1e;border-color:#6bc}.action-btn--back{border-color:#86a;color:#c9a0dc;background-color:#1a1020}.action-btn--back:hover{background-color:#221530;border-color:#a8c}.action-depth{font-size:.76rem;color:#777;padding:0 .25rem;white-space:nowrap}.bp-action{flex-shrink:0;padding:3px 6px;border-bottom:1px solid #1e1e1e;background-color:#0d0d0d}.bp-action .action-btn{min-height:34px;padding:.25rem .7rem;font-size:.82rem}.console-log{overflow-y:auto;background-color:#050505;padding:.25rem .5rem;font-family:Malgun Gothic,Apple SD Gothic Neo,NanumGothic,Courier New,Courier,monospace;font-size:.76rem;line-height:1.4;scroll-behavior:smooth;flex:1;min-height:0}.console-log.console-desktop{flex:0 0 5.5rem;height:5.5rem;border:1px solid #222}.console-line{display:flex;align-items:baseline;gap:.3rem;white-space:pre-wrap;word-break:break-all}.console-line--system{color:#888}.console-line--encounter{color:#c5e1a5}.console-line--tick{color:#546e7a}.console-line--info{color:#80cbc4}.console-line--narration{color:#8ab4b0}.console-line--myth{color:#e1bee7;text-shadow:0 0 4px #ce93d8}.console-cursor{color:#aaa;animation:blink .8s step-start infinite}@keyframes blink{50%{opacity:0}}.bottom-panel{flex-shrink:0;display:flex;flex-direction:column;background-color:#0a0a0a;border-top:1px solid #333;overflow:hidden;padding-bottom:env(safe-area-inset-bottom,0px)}.bp-handle{display:flex;align-items:center;gap:.5rem;padding:0 .6rem;height:36px;flex-shrink:0;cursor:ns-resize;-webkit-user-select:none;user-select:none;touch-action:none;background-color:#111;border-bottom:1px solid #2a2a2a}.bp-grip{color:#444;font-size:.7rem;letter-spacing:.05em;flex-shrink:0}.bp-summary{display:flex;align-items:center;gap:.3rem;font-family:Malgun Gothic,Apple SD Gothic Neo,monospace;font-size:.76rem;overflow:hidden}.bp-summary__item{color:#bbb;white-space:nowrap}.bp-summary__sep{color:#444;flex-shrink:0}.bp-tabs{display:flex;gap:.3rem;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;-ms-overflow-style:none}.bp-tabs::-webkit-scrollbar{display:none}.bp-tab{background:none;border:1px solid #333;color:#666;padding:.12rem .5rem;font-size:.7rem;border-radius:4px;cursor:pointer;font-family:Malgun Gothic,Apple SD Gothic Neo,monospace;transition:background-color 80ms,color 80ms;touch-action:manipulation}.bp-tab:hover{background-color:#1e1e1e;color:#aaa}.bp-tab--active{border-color:#556;color:#ccc;background-color:#1a1a2a}.bp-content{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.bp-left{min-width:0;overflow:hidden;display:flex;flex-direction:column;height:100%}.bp-left .console-log{flex:1;min-height:0;height:auto}.bp-inspector-wrap{flex:1;overflow-y:auto;padding:.2rem 0}.bp-inspector-wrap .inspector{border:none;background:transparent;min-width:0}.dpad-fixed{position:fixed;right:max(12px,env(safe-area-inset-right,0px));bottom:max(12px,env(safe-area-inset-bottom,0px));z-index:100;pointer-events:auto;background:#0a0a0ad9;border-radius:12px;padding:6px;border:1px solid #333}.dpad-fixed .dpad-btn{width:46px;height:46px;font-size:1.1rem}@media(min-width:901px){.bottom-panel,.dpad-fixed{display:none}}@media(max-width:900px){.app{padding:.2rem max(.3rem,env(safe-area-inset-right,0px)) 0 max(.3rem,env(safe-area-inset-left,0px));gap:.15rem}.main{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;flex:1;min-height:0}.map-area{flex:1;min-height:0;width:100%;align-items:stretch}.grid-wrap{width:100%;height:100%;flex:1;min-height:0}.inspector-desktop-wrap,.console-log.console-desktop{display:none}.grid-view{padding:.15rem .25rem;border-left:none;border-right:none}input[type=number]{width:7.5em}button{padding:.2rem .5rem;font-size:.82rem}}.tile-ruin{color:gold;font-weight:700;background-color:#ffd7001f}.desktop-panel-tabs{display:flex;gap:2px;margin-bottom:.3rem}.dp-tab{padding:.12rem .5rem;font-size:.72rem;border:1px solid #333;border-radius:3px;background-color:#111;color:#666;cursor:pointer;font-family:Malgun Gothic,Apple SD Gothic Neo,monospace;transition:background-color 80ms,color 80ms}.dp-tab:hover{background-color:#1e1e1e;color:#aaa}.dp-tab--active{border-color:#556;color:#ccc;background-color:#1a1a2a}.lore-panel{font-family:Malgun Gothic,Apple SD Gothic Neo,NanumGothic,monospace;font-size:.78rem;color:#ccc;overflow-y:auto;padding:.3rem 0;max-height:100%}.lore-empty{color:#555;font-style:italic;padding:.5rem 0}.lore-seed-row{display:flex;align-items:center;gap:.4rem;margin-bottom:.4rem;padding-bottom:.3rem;border-bottom:1px solid #222}.lore-seed-label{color:#777;font-size:.72rem}.lore-seed-value{color:gold;font-size:.72rem}.lore-copy-btn{padding:.08rem .35rem;font-size:.65rem;border:1px solid #444;border-radius:3px;background-color:#1a1a1a;color:#888;cursor:pointer}.lore-copy-btn:hover{color:#ccc;border-color:#666}.lore-section{margin-bottom:.5rem}.lore-section-title{font-size:.75rem;color:#999;margin-bottom:.2rem;border-bottom:1px solid #222;padding-bottom:.15rem}.lore-section--highlight{background-color:#ffd7000a;border:1px solid #333;border-radius:3px;padding:.3rem}.lore-text{white-space:pre-wrap;line-height:1.5;color:#bbb}.lore-text--scroll{max-height:8rem;overflow-y:auto}.lore-section--myth-placement{border-left:2px solid #ce93d8;padding-left:.4rem}.lore-myth-header{display:flex;align-items:center;gap:.4rem;margin-bottom:.3rem;flex-wrap:wrap}.lore-myth-title{flex:1;border-bottom:none;margin-bottom:0;padding-bottom:0}.lore-myth-total{font-size:.7rem;color:#e1bee7;background:#ce93d81f;border:1px solid rgba(206,147,216,.3);border-radius:10px;padding:.05rem .4rem;white-space:nowrap}.lore-myth-seed-tag{font-size:.65rem;color:#777;white-space:nowrap}.lore-myth-unassigned-warning{background:#ef53501f;border:1px solid rgba(239,83,80,.4);border-radius:3px;padding:.2rem .4rem;font-size:.72rem;color:#ef9a9a;margin-bottom:.35rem}.lore-myth-group{margin-bottom:.25rem}.lore-myth-group-header{display:flex;align-items:center;gap:.3rem;width:100%;background:none;border:none;border-radius:3px;padding:.2rem .3rem;cursor:pointer;text-align:left;min-height:28px;color:#ccc;font-family:inherit;font-size:.78rem;transition:background-color 80ms}.lore-myth-group-header:hover{background-color:#ffffff0a}.lore-myth-group-arrow{font-size:.65rem;color:#666;flex-shrink:0;width:.8rem}.lore-myth-group-title{flex:1;color:#bbb;font-size:.76rem}.lore-myth-group-badge{font-size:.68rem;color:#e1bee7;background:#ce93d81a;border:1px solid rgba(206,147,216,.25);border-radius:8px;padding:.02rem .3rem}.lore-myth-group-body{padding-left:.6rem}.lore-myth-subgroup{margin-bottom:.12rem}.lore-myth-subgroup-header{display:flex;align-items:center;gap:.25rem;width:100%;background:none;border:none;border-radius:3px;padding:.15rem .25rem;cursor:pointer;text-align:left;min-height:28px;color:#aaa;font-family:inherit;font-size:.74rem;transition:background-color 80ms}.lore-myth-subgroup-header:hover{background-color:#ffffff0a}.lore-myth-subgroup-arrow{font-size:.62rem;color:#555;flex-shrink:0;width:.75rem}.lore-myth-subgroup-label{flex:1;color:#999;font-size:.73rem}.lore-myth-subgroup-count{font-size:.66rem;color:#777}.lore-myth-entry-list{list-style:none;padding:0 0 0 1.1rem;margin:0}.lore-myth-entry{display:flex;align-items:baseline;gap:.35rem;padding:.1rem .2rem;font-size:.73rem;line-height:1.5}.lore-myth-entry-name{color:#e1bee7;flex:1}.lore-myth-entry-pos{color:#555;font-size:.66rem;white-space:nowrap}.lore-myth-empty{color:#555;font-size:.72rem;padding:.1rem .3rem;margin:0;font-style:italic}.ruins-list{list-style:none;padding:0;margin:0}.ruins-item{margin-bottom:.15rem;border-radius:3px;overflow:hidden}.ruins-item--selected>.ruins-item-header{border-left:2px solid #ffd700;background-color:#ffd7000f}.ruins-item-header{display:flex;align-items:center;gap:.3rem;width:100%;background:none;border:none;border-radius:3px;padding:.18rem .3rem;cursor:pointer;text-align:left;min-height:32px;font-family:inherit;font-size:.75rem;color:#ccc;transition:background-color 80ms}.ruins-item-header:hover{background-color:#ffffff0a}.ruins-item-id{color:gold;font-weight:700;flex-shrink:0;font-size:.73rem}.ruins-item-name{flex:1;color:#ccc;font-size:.74rem}.ruins-item-arrow{font-size:.6rem;color:#555;flex-shrink:0}.ruins-item-detail{padding:.3rem .5rem .4rem .9rem;background-color:#ffd70008;border-left:1px solid #333}.ruins-item-oneliner{color:#aaa;font-size:.72rem;margin:0 0 .2rem;font-style:italic}.ruins-item-desc{color:#bbb;font-size:.73rem;line-height:1.5;margin:0 0 .25rem;white-space:pre-wrap}.ruins-item-artifact{color:#d4a76a;font-size:.7rem;font-style:italic;margin:0 0 .2rem}.ruins-item-keywords{display:flex;gap:.2rem;flex-wrap:wrap;margin-top:.2rem}.faction-list{display:flex;flex-direction:column;gap:.15rem}.faction-item{border-radius:3px}.faction-item-header{display:flex;align-items:center;gap:.3rem;width:100%;background:none;border:none;border-radius:3px;padding:.18rem .3rem;cursor:pointer;text-align:left;min-height:32px;font-family:inherit;font-size:.75rem;color:#ccc;transition:background-color 80ms}.faction-item-header:hover{background-color:#ffffff0a}.faction-item-arrow{font-size:.6rem;color:#555;flex-shrink:0}.faction-item-name{flex:1;color:#c5a8e0;font-size:.74rem}.faction-item-detail{padding:.25rem .5rem .3rem .9rem;border-left:1px solid #333}.faction-item-philosophy{color:#b39ddb;font-size:.72rem;font-style:italic;margin:0 0 .15rem}.faction-item-summary{color:#999;font-size:.72rem;margin:0}.faction-char-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.08rem}.faction-char-item{display:flex;align-items:baseline;gap:.35rem;padding:.1rem .2rem;font-size:.73rem}.faction-char-name{color:#e1bee7;flex-shrink:0}.faction-char-role{color:#666;font-size:.68rem}.history-list{display:flex;flex-direction:column;gap:.15rem}.history-item{border-radius:3px}.history-item-header{display:flex;align-items:center;gap:.3rem;width:100%;background:none;border:none;border-radius:3px;padding:.18rem .3rem;cursor:pointer;text-align:left;min-height:32px;font-family:inherit;font-size:.75rem;color:#ccc;transition:background-color 80ms}.history-item-header:hover{background-color:#ffffff0a}.history-item-arrow{font-size:.6rem;color:#555;flex-shrink:0}.history-item-title{flex:1;color:#8ab4b0;font-size:.74rem}.history-item-body{color:#aaa;font-size:.73rem;line-height:1.55;margin:0;padding:.25rem .5rem .35rem .9rem;border-left:1px solid #333;white-space:pre-wrap}.lore-ruin-list{list-style:none;padding:0;margin:0}.lore-ruin-item{display:flex;align-items:baseline;gap:.3rem;padding:.12rem .2rem;cursor:pointer;border-radius:2px;transition:background-color 80ms;font-size:.74rem}.lore-ruin-item:hover{background-color:#ffffff0a}.lore-ruin-item--selected{background-color:#ffd70014;border-left:2px solid #ffd700}.lore-ruin-glyph{color:gold;font-weight:700;flex-shrink:0}.lore-ruin-name{color:#ccc}.lore-ruin-sep{color:#444}.lore-ruin-hint{color:#888;font-size:.7rem}.lore-artifact-hint{margin-top:.3rem;color:#d4a76a;font-style:italic;font-size:.72rem}.lore-keywords{margin-top:.2rem;display:flex;gap:.25rem;flex-wrap:wrap}.lore-keyword-tag{padding:.05rem .3rem;font-size:.65rem;border:1px solid #333;border-radius:2px;color:#999;background-color:#111}.lore-npc-dialogue{background-color:#0f1510;border:1px solid #2a3a2a;border-radius:3px;padding:.3rem .5rem;color:#c5e1a5;font-size:.74rem;line-height:1.5;white-space:pre-wrap}.lore-dialogue-history{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.3rem}.lore-dialogue-entry{background-color:#0f1510;border:1px solid #2a3a2a;border-radius:3px;padding:.25rem .4rem;font-size:.74rem;line-height:1.4;word-break:break-word}.lore-dialogue-tag{color:#81c784;font-weight:700;margin-right:.3rem;font-size:.72rem}.lore-dialogue-text{color:#c5e1a5}.spawn-debug{overflow-y:auto}.spawn-debug-zone{display:flex;align-items:center;gap:.4rem;margin-bottom:.5rem;font-size:.82rem}.spawn-debug-label{color:#888;flex-shrink:0}.spawn-debug-code{color:#80cbc4;font-family:monospace;font-size:.78rem;word-break:break-all}.spawn-debug-section{margin:.5rem 0 .2rem;font-size:.78rem;color:#aaa;font-weight:400;border-bottom:1px solid #333;padding-bottom:.1rem}.spawn-debug-empty{color:#555;font-size:.78rem;margin:.2rem 0}.spawn-debug-table{font-size:.76rem;border-collapse:collapse;width:100%}.spawn-debug-table th{color:#777;font-weight:400;text-align:left;padding:.1rem .25rem;border-bottom:1px solid #2a2a2a}.spawn-debug-table td{padding:.1rem .25rem;color:#ccc;vertical-align:middle}.spawn-debug-kind{color:#888;font-size:.72rem}.spawn-debug-pos{color:#80cbc4;font-family:monospace;font-size:.72rem}.spawn-debug-current td,.spawn-debug-current .spawn-debug-code{color:#ffe082}
