@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Spectral:wght@400;500;600&display=swap";:root{color:var(--ink);background:var(--canvas);font-synthesis:none;-webkit-font-smoothing:antialiased;--canvas:#f2f0ea;--paper:#faf9f5;--surface-raised:#fffefa;--surface-inset:#eeece7;--surface-hover:#e6e4df;--ink:#20252b;--muted:#59616b;--subtle:#676e77;--line:#d9d7d1;--action:#20252b;--action-hover:#363e48;--inverse:#faf9f5;--brand-accent:#06b6d4;--focus:#087c90;--selected-ink:#087c90;--selected-fill:#e2f1f4;--selected-border:#8caeba;--secondary-ink:#6c5c7e;--secondary-fill:#ece8f1;--coin:#82632e;font-family:DM Sans,sans-serif;font-size:13px}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.4}button{background:0 0;border:0;transition:background-color .18s,color .18s,box-shadow .18s,scale .18s}button:active:not(:disabled){scale:.96}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:4px}input,textarea{color:var(--ink)}textarea{resize:vertical}p{text-wrap:pretty;line-height:1.75}h1,h2,h3,p{margin-top:0}h1,h2{letter-spacing:-.045em;text-wrap:balance;font-family:Spectral,Georgia,serif;font-weight:500}.icon{vertical-align:middle;flex-shrink:0;width:20px;height:20px}button .icon{width:18px;height:18px}.app-shell{flex-direction:column;height:100dvh;min-height:650px;display:flex;overflow:hidden}.topbar{background:var(--surface-raised);border-bottom:1px solid var(--line);z-index:10;flex-shrink:0;justify-content:space-between;align-items:center;height:88px;padding:0 32px;display:flex;position:relative}.brand{text-align:left;align-items:center;gap:13px;padding:0;display:flex}.brand-family{align-items:center;gap:16px;min-width:0;display:flex}.studio-wordmark{object-fit:contain;width:132px;height:64px;display:block}.brand-divider{background:var(--line);width:1px;height:31px}.brand>span:last-child{letter-spacing:-.04em;font-family:Spectral,Georgia,serif;font-size:25px;line-height:1.1}.brand small{letter-spacing:2.35px;color:var(--muted);margin-top:7px;font-family:DM Sans,sans-serif;font-size:8px;display:block}.mode-switch{color:var(--muted);letter-spacing:1.6px;background:var(--surface-inset);border-radius:5px;align-items:center;gap:8px;padding:9px 13px;font-size:9px;font-weight:600;display:flex;position:absolute;left:50%;transform:translate(-50%)}.mode-switch .icon{width:15px;height:15px}.header-actions{align-items:center;gap:8px;display:flex}.header-actions>button{border-radius:5px;justify-content:center;align-items:center;gap:8px;min-width:40px;height:40px;display:flex}.header-actions>button:first-child{padding:0 12px;font-size:11px}.header-actions>button:hover,.header-actions>button.active{background:var(--surface-inset);color:var(--action)}.world-layout{flex:1;grid-template-columns:minmax(0,1fr) 360px;min-height:0;display:grid}.world-space{background:var(--canvas);min-width:0;position:relative;overflow:hidden}.map-heading{z-index:3;pointer-events:none;max-width:80%;position:absolute;top:32px;left:38px}.eyebrow{letter-spacing:1.7px;color:var(--muted);font-size:8px;font-weight:600;line-height:1.6}.map-heading .eyebrow{align-items:center;gap:8px;font-size:8px;display:flex}.map-index{background:var(--muted);width:15px;height:1px}.map-heading h1{color:var(--ink);margin:12px 0 7px;font-size:42px;line-height:1.2}.map-heading p{color:var(--muted);margin:0;font-size:11px;line-height:1.8}#world{touch-action:none;position:absolute;inset:0}#world>canvas{outline:none;width:100%;height:100%;display:block}.map-label{z-index:2;white-space:nowrap;color:var(--ink);text-shadow:none;background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:7px;justify-content:center;align-items:center;min-height:40px;padding:6px 9px;font-family:Spectral,Georgia,serif;font-size:17px;font-weight:500;line-height:1.3;display:flex;position:absolute;top:0;left:0;box-shadow:0 2px 9px #20252b14}.map-label:hover{background:var(--surface-raised);color:var(--selected-ink);box-shadow:0 3px 12px #20252b1f}.map-label.landmark{color:var(--muted);background:var(--paper);min-height:40px;padding:5px 8px;font-size:11px;font-style:italic}.map-label.small{opacity:.85;font-size:13px}.map-controls{z-index:4;align-items:center;gap:10px;display:flex;position:absolute;bottom:152px;left:30px}.round-button{background:var(--paper);border-radius:50%;place-items:center;width:40px;height:40px;display:grid;box-shadow:0 2px 12px #20252b1a}.map-controls span{letter-spacing:1.4px;color:var(--muted);background:var(--paper);border-radius:4px;padding:8px;font-size:7px;font-weight:500}.map-controls b{margin:0 7px;font-weight:400}.compass-rose{color:var(--muted);pointer-events:none;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:145px;right:30px}.compass-rose>.icon{stroke-width:.65px;width:53px;height:53px;rotate:-10deg}.compass-rose span{font-family:Georgia,serif;font-size:12px;position:relative;left:-5px}.compass-rose small{opacity:.6;font-family:Georgia,serif;font-size:9px;position:relative;left:5px}.world-meta{white-space:nowrap;color:var(--muted);pointer-events:none;align-items:center;gap:15px;font-size:9px;display:flex;position:absolute;bottom:117px;left:50%;transform:translate(-50%)}.world-meta i{color:var(--muted);font-size:10px;font-style:normal}.journey-bar{background:var(--paper);-webkit-backdrop-filter:none;backdrop-filter:none;z-index:4;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;min-height:76px;padding:14px 18px;display:flex;position:absolute;bottom:24px;left:26px;right:26px;box-shadow:0 4px 18px #20252b14}.journey-copy{align-items:center;gap:15px;display:flex}.journey-copy>div:last-child{flex-direction:column;gap:5px;display:flex}.journey-copy strong{letter-spacing:-.025em;font-family:Spectral,Georgia,serif;font-size:17px;font-weight:500;line-height:1.3}.journey-copy span:not(.portrait){color:var(--subtle);font-size:9px;line-height:1.5}.portrait{background:var(--surface-inset);border-radius:50%;flex-shrink:0;width:40px;height:40px;display:inline-flex;overflow:hidden;box-shadow:0 0 0 3px #fff}.portrait.elf{background:var(--secondary-fill)}.portrait.dwarf{background:var(--surface-inset)}.portrait svg{width:100%;height:100%}.portrait.large{width:76px;height:76px;box-shadow:0 0 0 5px #fff}.portrait-stack{flex-shrink:0;padding-right:0;display:flex}.portrait-stack .portrait{width:34px;height:34px}.portrait-stack .portrait+.portrait{margin-left:-11px}.journey-actions{align-items:center;gap:10px;display:flex}.primary{background:var(--action);color:var(--inverse);border-radius:5px;justify-content:center;align-items:center;gap:11px;min-height:42px;padding:13px 17px;font-size:11px;font-weight:500;display:inline-flex;box-shadow:0 2px 4px #20252b17}.primary:hover{background:var(--action-hover);box-shadow:0 4px 9px #20252b26}.secondary{background:var(--surface-inset);min-height:42px;color:var(--ink);border-radius:5px;justify-content:center;align-items:center;gap:9px;padding:12px 15px;font-size:11px;display:flex}.secondary:hover{background:var(--surface-hover)}.full{width:100%;margin:14px 0 0}.text-button{text-underline-offset:4px;padding:10px 3px;font-size:11px;text-decoration:underline}.inspector{background:var(--surface-raised);border-left:1px solid var(--line);z-index:5;flex-direction:column;min-height:0;display:flex;box-shadow:-10px 0 32px #20252b04}.inspector-top{justify-content:space-between;align-items:center;padding:26px 25px 18px;display:flex}.edition{color:var(--subtle);font-family:Spectral,Georgia,serif;font-size:10px}.tabs{border-bottom:1px solid var(--line);grid-template-columns:repeat(4,1fr);gap:4px;padding:0 16px;display:grid}.tabs button{color:var(--subtle);border-bottom:2px solid #0000;justify-content:center;align-items:center;gap:7px;padding:13px 0;font-size:10px;display:flex;position:relative;top:1px}.tabs button .icon{width:15px;height:15px}.tabs button.selected{color:var(--selected-ink);border-color:var(--focus)}.tabs button:hover{color:var(--selected-ink)}.panel-content{scrollbar-width:thin;scrollbar-color:var(--line) transparent;flex:1;min-height:0;padding:20px 25px 28px;overflow-y:auto}.town-picker{gap:5px;margin:-2px -4px 25px;display:flex}.town-picker button{color:var(--muted);white-space:nowrap;border-radius:4px;align-items:center;gap:4px;min-height:40px;padding:7px;font-size:8px;display:flex}.town-picker button .icon{width:13px;height:13px}.town-picker button.current,.town-picker button:hover{background:var(--selected-fill);color:var(--selected-ink)}.place-heading h2{color:var(--ink);margin:9px 0 13px;font-size:33px;line-height:1.16}.place-heading p{color:var(--muted);margin-bottom:17px;font-size:11px;line-height:1.85}.place-facts{color:var(--muted);border-bottom:1px solid var(--line);gap:20px;padding-bottom:20px;font-size:9px;display:flex}.place-facts span{align-items:center;gap:6px;display:flex}.place-facts .icon{width:14px;height:14px}.section-title{justify-content:space-between;align-items:center;margin:24px 0 12px;display:flex}.section-title h3{letter-spacing:.1px;margin:0;font-size:10px;font-weight:600}.section-title button{color:var(--muted);align-items:center;gap:5px;font-size:8px;display:flex}.section-title .icon{width:12px;height:12px}.section-title>span{letter-spacing:1px;color:var(--subtle);font-size:8px}.place-list{flex-direction:column;gap:5px;display:flex}.place-row{text-align:left;border-radius:6px;align-items:center;gap:12px;width:100%;min-height:63px;padding:8px 7px;display:flex}.place-row:hover{background:var(--surface-inset)}.place-symbol{border:1px solid var(--line);background:var(--surface-inset);width:38px;height:38px;color:var(--muted);border-radius:6px;flex-shrink:0;place-items:center;display:grid}.place-symbol .icon{width:19px;height:19px}.place-symbol.inn,.place-symbol.apothecary,.place-symbol.smith{background:var(--surface-inset);color:var(--muted)}.place-row>span:nth-child(2){flex:1;min-width:0}.place-row strong{font-size:11px;font-weight:500;line-height:1.5;display:block}.place-row small{color:var(--subtle);margin-top:3px;font-size:9px;display:block}.place-row>.icon{width:13px;color:var(--subtle)}.section-title.lower{border-top:1px solid var(--line);margin-top:26px;padding-top:21px}.landmark-list button{min-height:40px;color:var(--muted);text-align:left;align-items:center;gap:9px;width:100%;padding:5px 0;font-size:10px;display:flex}.landmark-list button:hover{color:var(--action)}.landmark-list button span{flex:1}.landmark-list .icon{width:15px;height:15px}.landmark-list .icon:last-child{width:12px}.panel-status{border-top:1px solid var(--line);color:var(--muted);flex-shrink:0;justify-content:space-between;align-items:center;gap:10px;padding:16px 25px;font-size:8px;display:flex}.panel-status>span{align-items:center;gap:5px;display:flex}.panel-status .icon{width:13px;height:13px}.back-link{color:var(--muted);min-height:32px;margin-bottom:18px;padding:5px 0;font-size:10px}.back-link:hover{color:var(--action)}.large-symbol{background:var(--surface-inset);width:50px;height:50px;color:var(--muted);border-radius:9px;justify-content:center;align-items:center;margin-bottom:20px;display:flex}.large-symbol .icon{width:26px;height:26px}.person-summary{text-align:left;border-bottom:1px solid var(--line);align-items:center;gap:12px;width:100%;min-height:65px;padding:13px 0;display:flex}.person-summary:hover{color:var(--selected-ink)}.person-summary>span:nth-child(2){flex:1}.person-summary strong{font-size:11px;font-weight:500;line-height:1.5;display:block}.person-summary small{color:var(--subtle);margin-top:4px;font-size:9px;display:block}.person-summary>.icon{width:14px;height:14px;color:var(--subtle)}.person-detail{text-align:center;margin-top:6px}.person-detail>.portrait{margin-bottom:24px}.person-detail>.eyebrow{display:block}.person-detail h2{margin:8px 0;font-size:30px;line-height:1.2}.person-calling{color:var(--subtle);font-size:10px}.person-detail p{color:var(--muted);text-align:left;margin:24px 0;font-size:11px}.detail-block{border-top:1px solid var(--line);padding:18px 0}.detail-block p{color:var(--muted);margin:7px 0 0;font-size:11px;line-height:1.85}.inline-link{text-underline-offset:3px;color:var(--selected-ink);font-size:inherit;padding:0;text-decoration:underline}.proximity-note{color:var(--muted);margin:15px 0;font-size:9px;line-height:1.8}.goods-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:14px 0;font-size:11px;display:flex}.goods-row strong{font-size:11px;font-weight:500}.goods-row small{color:var(--muted);margin-top:4px;font-size:9px;display:block}.goods-row>div:last-child{align-items:center;gap:8px;display:flex}.goods-row>.icon{width:15px;height:15px}.mini-button{background:var(--surface-inset);min-height:40px;color:var(--ink);border-radius:4px;justify-content:center;align-items:center;gap:6px;padding:7px 11px;font-size:10px;display:inline-flex}.mini-button .icon{width:13px;height:13px}.mini-button:hover{background:var(--surface-hover)}.hero-summary{text-align:left;align-items:center;gap:11px;padding:0;display:flex}.hero-summary strong{font-family:Spectral,Georgia,serif;font-size:20px;font-weight:500}.hero-summary small{color:var(--subtle);margin-top:2px;font-size:9px;display:block}.hero-stats{font-variant-numeric:tabular-nums;gap:18px;margin-left:auto;margin-right:16px;display:flex}.hero-stats>span{align-items:center;gap:5px;font-size:12px;display:flex}.hero-stats b{font-weight:500}.hero-stats small{color:var(--subtle);font-size:10px}.hero-stats .icon{width:16px;height:16px;color:var(--coin)}.hero-stats>span:first-child .icon{color:var(--secondary-ink)}.icon-button{background:var(--surface-inset);border-radius:5px;place-items:center;width:40px;height:40px;display:grid}.quiet-note{color:var(--subtle);margin:18px 0;font-size:10px;line-height:1.8}.dm-strip{background:var(--surface-inset);color:var(--muted);border-radius:5px;align-items:center;gap:8px;padding:12px;font-size:9px;line-height:1.5;display:flex}.dm-strip>.icon{width:16px;height:16px}.dm-strip>span{flex:1}.dm-strip button{white-space:nowrap;padding:5px 0;font-size:9px}.dm-strip button .icon{width:12px;height:12px}.journal-list{margin-top:20px}.journal-entry{border-left:1px solid var(--line);padding:15px 0 15px 13px;position:relative}.journal-entry:before{content:"";background:var(--surface-inset);border-radius:50%;width:5px;height:5px;position:absolute;top:21px;left:-3px}.journal-entry>div{color:var(--subtle);letter-spacing:1px;justify-content:space-between;align-items:center;gap:10px;font-size:7px;display:flex}.journal-entry time{letter-spacing:0;font-size:8px}.journal-entry p{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;font-size:11px;line-height:1.85}.journal-entry.dm p{color:var(--ink)}.journal-entry.dm:before{background:var(--secondary-ink)}.pending-list>div{background:var(--surface-inset);border-radius:5px;margin-top:10px;padding:14px}.pending-list p{color:var(--muted);margin:7px 0;font-size:11px}.pending-list .back-link{min-height:25px;margin:0;font-size:8px}.empty-illustration{text-align:center;color:var(--subtle);flex-direction:column;align-items:center;gap:20px;margin:35px 0;font-size:10px;display:flex}.empty-illustration>.icon{stroke-width:.7px;width:65px;height:65px}.pack-gold{background:var(--surface-inset);color:var(--coin);border-radius:6px;align-items:center;gap:10px;margin:25px 0;padding:17px;display:flex}.pack-gold strong{font-family:Spectral,Georgia,serif;font-size:30px;font-weight:500}.pack-gold>span{color:var(--muted);font-size:10px}.studio-tools{background:var(--surface-inset);border-radius:6px;margin-bottom:20px;padding:13px}.studio-tools>span{color:var(--muted);align-items:center;gap:8px;font-size:10px;display:flex}.studio-tools>span>.icon{width:15px}.studio-tools>div{flex-wrap:wrap;gap:4px;margin-top:10px;display:flex}.studio-tools .mini-button{background:var(--surface-raised);padding:6px 8px;font-size:8px}.toast{z-index:100;background:var(--ink);color:var(--inverse);text-align:center;border-radius:7px;max-width:min(650px,90vw);padding:15px 22px;font-size:11px;line-height:1.7;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #20252b33}.toast[hidden]{display:none}dialog{background:var(--surface-raised);width:510px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 50px);color:var(--ink);border:1px solid var(--line);scrollbar-width:thin;scrollbar-color:var(--line) transparent;border-radius:12px;padding:34px;overflow-y:auto;box-shadow:0 20px 100px #20252b44}dialog.wide{width:740px}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#20252b59}.modal-close{width:40px;height:40px;color:var(--muted);border-radius:50%;place-items:center;display:grid;position:absolute;top:15px;right:15px}.modal-close:hover{background:var(--surface-inset)}.modal-heading{padding-right:20px}.modal-heading h2{margin:13px 0;font-size:33px;line-height:1.2}.modal-heading p{color:var(--muted);margin-bottom:24px;font-size:11px}.ancestry-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin:23px 0;display:grid}.ancestry-card{text-align:center;border:1px solid var(--line);background:var(--surface-inset);border-radius:8px;flex-direction:column;align-items:center;gap:5px;padding:23px 12px 15px;display:flex}.ancestry-card .portrait{margin-bottom:14px}.ancestry-card>.eyebrow{letter-spacing:1px;font-size:7px}.ancestry-card>strong{margin-top:2px;font-family:Spectral,Georgia,serif;font-size:25px;font-weight:500;line-height:1.3}.ancestry-card>small{color:var(--muted);font-size:10px}.ancestry-card p{color:var(--muted);margin:8px 0 0;font-size:9px;line-height:1.8}.ancestry-card.chosen{border-color:var(--selected-border);background:var(--selected-fill);box-shadow:inset 0 0 0 1px var(--selected-border)}.form-grid{grid-template-columns:1fr 1fr;gap:15px;display:grid}label{color:var(--muted);margin-bottom:15px;font-size:10px;line-height:1.6;display:block}input,textarea{border:1px solid var(--line);background:var(--surface-raised);border-radius:5px;width:100%;margin-top:6px;padding:11px 12px;font-size:11px;line-height:1.7;display:block;box-shadow:inset 0 1px 3px #20252b03}input[readonly]{color:var(--muted);background:var(--surface-inset)}.ability-preview{grid-template-columns:repeat(6,1fr);gap:8px;margin:23px 0;display:grid}.ability-preview>span{text-align:center;border:1px solid var(--line);background:var(--surface-inset);font-variant-numeric:tabular-nums;border-radius:6px;flex-direction:column;gap:3px;padding:10px 5px;display:flex}.ability-preview small{letter-spacing:1px;color:var(--subtle);font-size:8px}.ability-preview strong{font-family:Spectral,Georgia,serif;font-size:27px;font-weight:500;line-height:1.3}.ability-preview em{color:var(--muted);font-size:10px;font-style:normal}.character-banner{align-items:center;gap:23px;padding:10px 0 20px;display:flex}.character-banner p{color:var(--muted);margin:0 0 8px;font-size:12px}.trait{color:var(--secondary-ink);font-size:10px}.sheet-vitals{grid-template-columns:repeat(4,1fr);gap:10px;margin:8px 0;display:grid}.sheet-vitals>span{border:1px solid var(--line);text-align:center;letter-spacing:1px;color:var(--subtle);border-radius:5px;padding:13px 6px;font-size:7px}.sheet-vitals strong{color:var(--ink);letter-spacing:0;margin-top:6px;font-family:Spectral,Georgia,serif;font-size:23px;font-weight:500;display:block}.skill-grid{grid-template-columns:1fr 1fr;gap:6px 18px;display:grid}.skill-grid button{border-bottom:1px solid var(--line);color:var(--muted);text-align:left;border-radius:4px;justify-content:space-between;align-items:center;gap:12px;padding:13px 10px;font-size:11px;display:flex}.skill-grid button:hover{background:var(--surface-inset)}.skill-grid b{color:var(--ink);font-weight:500}.roll-result{min-height:150px;color:var(--subtle);justify-content:center;align-items:center;gap:20px;display:flex}.roll-result .icon{stroke-width:1px;width:50px;height:50px}.roll-result>span{flex-direction:column;gap:8px;font-size:11px;display:flex}.roll-result b{color:var(--ink);font-family:Spectral,Georgia,serif;font-size:25px;font-weight:500}.roll-result small{font-size:9px}.die-value{background:var(--surface-inset);text-align:center;min-width:100px;color:var(--ink);font-variant-numeric:tabular-nums;border-radius:10px;padding:20px;font-family:Spectral,Georgia,serif;font-size:60px;font-weight:500;line-height:1}.file-options{flex-direction:column;gap:8px;margin-bottom:22px;display:flex}.file-options>button{text-align:left;background:var(--surface-inset);border-radius:6px;align-items:center;gap:14px;padding:16px 13px;display:flex}.file-options>button:hover{background:var(--surface-inset)}.file-options>button>.icon{color:var(--muted);width:23px;height:23px}.file-options strong{font-size:11px;font-weight:500;display:block}.file-options small{color:var(--subtle);margin-top:6px;font-size:9px;line-height:1.6;display:block}.help-grid{grid-template-columns:1fr 1fr;gap:20px 30px;display:grid}.help-grid>div>.icon{color:var(--muted);width:25px;height:25px;margin-bottom:14px}.help-grid h3{margin:0 0 8px;font-family:Spectral,Georgia,serif;font-size:20px;font-weight:500}.help-grid p{color:var(--muted);font-size:11px}.shortcut-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:20px 0;display:flex}.shortcut-row span{color:var(--muted);font-size:9px}kbd{border:1px solid var(--line);color:var(--muted);background:var(--surface-inset);border-radius:4px;margin-right:4px;padding:5px 7px;font:9px DM Sans,sans-serif;display:inline-block}.code-input{tab-size:2;font:10px/1.7 ui-monospace,SFMono-Regular,monospace}.startup-error{max-width:650px;margin:15vh auto;padding:30px}.startup-error h1{font-size:40px}.startup-error pre{white-space:pre-wrap;color:var(--muted)}#intention-box{background:var(--surface-inset);flex-shrink:0}#intention-box:empty{display:none}#intention-form{border-top:1px solid var(--line);padding:16px 22px 12px}#intention-form label{color:var(--muted);margin:0;font-size:10px;font-weight:500}#intention-form textarea{background:var(--surface-raised);min-height:58px;max-height:150px;padding:9px 10px;font-size:10px}#intention-form>div{justify-content:space-between;align-items:center;gap:10px;margin-top:6px;display:flex}#intention-form>div>span{color:var(--subtle);font-size:8px}#intention-form button{background:var(--action);width:40px;height:40px;color:var(--inverse);border-radius:4px;place-items:center;display:grid}.odysea-attribution{white-space:nowrap;gap:5px}.odysea-attribution img{object-fit:contain;width:76px;height:30px}.journal-entry.dm>div>span{color:var(--secondary-ink)}@media (prefers-reduced-transparency:reduce){dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}}@media (width>=1600px){.world-layout{grid-template-columns:minmax(0,1fr) 390px}.panel-content{padding-left:30px;padding-right:30px}.map-heading{top:40px;left:45px}.map-heading h1{font-size:48px}.map-heading p{font-size:12px}.journey-bar{padding:18px 22px;bottom:30px;left:35px;right:35px}.world-meta{bottom:133px}.map-controls,.compass-rose{bottom:166px}.place-row{min-height:70px}.place-heading p{font-size:12px}.town-picker button{font-size:9px}}@media (width<=1150px){.world-layout{grid-template-columns:minmax(0,1fr) 320px}.topbar{height:78px;padding:0 22px}.mode-switch{letter-spacing:1px;font-size:8px}.header-actions>button:first-child{font-size:10px}.map-heading{top:27px;left:25px}.map-heading h1{font-size:36px}.map-heading .eyebrow{font-size:7px}.journey-bar{gap:8px;padding:13px 14px;left:18px;right:18px}.journey-copy{gap:10px}.journey-copy strong{font-size:15px}.journey-copy span:not(.portrait){max-width:155px;font-size:8px}.journey-copy .portrait-stack{display:none}.journey-bar .primary{padding:12px;font-size:10px}.world-meta{gap:10px;font-size:8px}.panel-content{padding:19px 20px 25px}.hero-stats{gap:10px;margin-right:4px}.hero-summary strong{font-size:17px}.hero-summary .portrait{width:32px;height:32px}.hero-summary{gap:8px}.hero-summary small{font-size:8px}.hero-stats .icon{width:13px;height:13px}.journey-bar>.icon-button{display:none}.town-picker{gap:0}.town-picker button{padding:7px 5px;font-size:7px}.town-picker .icon{width:12px;height:12px}}@media (width<=850px){.mode-switch{display:none}.world-layout{grid-template-columns:minmax(0,1fr) 295px}.topbar{height:72px;padding:0 17px}.brand>span:last-child{font-size:21px}.brand{gap:10px}.brand small{letter-spacing:2px;font-size:6px}.header-actions{gap:1px}.header-actions>button:first-child span{display:none}.header-actions>button:first-child{width:40px;padding:0}.map-heading{max-width:90%;top:24px;left:20px}.map-heading h1{margin-top:10px;font-size:31px}.map-heading p{max-width:230px;font-size:9px}.map-heading .eyebrow{letter-spacing:1.2px;font-size:6px}.journey-copy>div:last-child{display:none}.journey-bar{flex-wrap:wrap;justify-content:center;min-height:66px;padding:12px;bottom:17px;left:14px;right:14px}.journey-copy .portrait-stack{display:flex}.journey-bar .journey-copy{display:none}.journey-actions{justify-content:space-around;width:100%}.journey-bar .primary{padding:10px 12px;font-size:9px}.world-meta{gap:6px;font-size:7px;bottom:100px}.map-controls{bottom:125px;left:18px}.map-controls span{display:none}.compass-rose{bottom:120px;right:18px}.compass-rose>.icon{width:40px;height:40px}.panel-content{padding-left:17px;padding-right:17px}.place-heading h2{font-size:29px}.inspector-top{padding:22px 20px 15px}.panel-status{padding:14px 18px}.hero-stats{margin-left:0}.hero-summary{margin-right:auto}.hero-summary strong{font-size:15px}.hero-stats{gap:7px;font-size:10px}.hero-stats b{font-size:10px}.hero-stats small{font-size:8px}.journey-bar>.primary{width:100%;min-height:34px;padding:8px}.world-meta:has(+.journey-bar .hero-summary){display:none}.map-controls:has(~.journey-bar .hero-summary){bottom:150px}.compass-rose:has(~.journey-bar .hero-summary){bottom:150px}}@media (width<=650px){.brand-family{gap:10px}.studio-wordmark{width:100px;height:49px}.brand small{display:none}.app-shell{height:auto;min-height:100dvh;overflow:visible}.world-layout{flex-direction:column;display:flex}.world-space{flex-shrink:0;height:65dvh;min-height:470px}.topbar{height:68px}.header-actions>button:first-child{display:none}.brand>span:last-child{font-size:20px}.brand small{letter-spacing:1.7px;margin-top:6px;font-size:6px}.map-heading{top:21px;left:22px}.map-heading h1{font-size:33px}.map-heading p{max-width:290px;font-size:9px}.map-heading .eyebrow{font-size:6px}.journey-bar{flex-wrap:nowrap;justify-content:space-between;min-height:65px;padding:13px 14px;bottom:18px;left:18px;right:18px}.journey-copy{display:flex!important}.journey-copy .portrait-stack{display:flex}.journey-actions{width:auto}.journey-bar .primary{min-height:40px;font-size:10px}.journey-bar>.primary{width:auto;padding:10px}.hero-summary{margin-right:0}.hero-summary strong{font-size:17px}.hero-summary small{font-size:8px}.hero-stats{margin-left:auto;margin-right:7px}.hero-stats>span{gap:3px}.hero-stats .icon{width:12px}.hero-summary .portrait{width:28px;height:28px}.world-meta{gap:10px;font-size:8px;bottom:103px}.map-controls,.compass-rose{bottom:125px}.map-controls:has(~.journey-bar .hero-summary){bottom:125px}.compass-rose:has(~.journey-bar .hero-summary){bottom:125px}.inspector{border-left:0;border-top:1px solid var(--line);min-height:420px;max-height:80dvh}.inspector-top{padding:20px 25px 13px}.panel-content{max-height:57dvh;padding:20px 25px 25px}.town-picker{justify-content:space-between;margin-bottom:20px}.town-picker button{padding:8px;font-size:10px}.town-picker .icon{width:15px}.place-heading h2{font-size:33px}.place-heading p,.place-row strong{font-size:12px}.place-row small{font-size:10px}.tabs button{font-size:11px}.place-row{min-height:66px}.map-label{min-height:33px;font-size:13px}.map-label.landmark{min-height:28px;font-size:9px}.world-meta:has(+.journey-bar .hero-summary){display:flex}.map-label.small{font-size:11px}dialog{max-height:calc(100dvh - 35px);padding:27px 21px}.modal-heading{padding-right:16px}.modal-heading h2{font-size:28px}.modal-heading p{font-size:10px}.ancestry-grid{gap:7px}.ancestry-card{padding:18px 7px 13px}.ancestry-card .portrait{width:54px;height:54px}.ancestry-card>strong{font-size:22px}.ancestry-card p{font-size:8px}.ancestry-card>.eyebrow{letter-spacing:.6px;font-size:6px}.ancestry-card>small{font-size:9px}.ability-preview{gap:5px}.ability-preview strong{font-size:23px}.ability-preview small{font-size:7px}.ability-preview>span{padding:8px 4px}.character-banner{gap:18px}.character-banner>.portrait{width:60px;height:60px}.character-banner p{font-size:10px}.trait{font-size:9px}.sheet-vitals{gap:5px}.sheet-vitals strong{font-size:19px}.sheet-vitals>span{padding:10px 3px;font-size:6px}.help-grid{gap:15px}.help-grid h3{font-size:18px}.help-grid p{font-size:10px}.hero-stats>span:last-child{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}
