:root{color:#26332f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--ink:#26332f;--muted:#87908a;--line:#e7eae6;--paper:#fff;--green:#347765;--green-dark:#245a4c;--mint:#e8f2ed;--orange:#c68a57;--red:#b9564b;--sans:"DM Sans","Noto Sans SC",sans-serif;--display:"Manrope","Noto Sans SC",sans-serif;background:#f4f5f3;font-family:DM Sans,Noto Sans SC,sans-serif}*{box-sizing:border-box}html,body,#root{min-width:320px;height:100%;min-height:100%;margin:0}body{min-height:100svh}button,input,textarea,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-offset:2px;outline:2px solid #4e9079}button:disabled{cursor:default!important}#root{min-height:100svh}.app-shell{--sidebar-width:224px;--gallery-height:92px;min-height:100svh;color:var(--ink);background:#f5f6f4;flex-direction:column;display:flex}.topbar{border-bottom:1px solid var(--line);grid-template-columns:var(--sidebar-width) 1fr var(--sidebar-width);z-index:10;background:#fff;flex:none;align-items:center;height:62px;display:grid;position:relative}.brand-lockup{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;height:100%;padding:0 22px;display:flex}.brand-mark{color:#3a765f;background:#eaf2ed;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.brand-lockup strong{font:800 14px/1 var(--display);letter-spacing:1.4px;color:#34483e;display:block}.brand-lockup small{font:500 8px/1.4 var(--sans);letter-spacing:1.1px;color:#9aa49c;margin-top:4px;display:block}.top-location{color:#65716b;justify-self:center;align-items:center;gap:9px;font-size:12px;display:flex}.top-location svg{color:#9ba39e}.live-dot,.save-dot{background:#72a88e;border-radius:50%;width:7px;height:7px}.top-actions{justify-self:end;align-items:center;gap:16px;padding-right:24px;display:flex}.save-indicator{color:#89938d;align-items:center;gap:7px;font-size:10px;display:flex}.save-dot{width:6px;height:6px}.avatar,.profile-avatar{color:#537664;background:#e9eeea;border-radius:50%;place-items:center;width:29px;height:29px;font-size:12px;font-weight:600;display:grid}.icon-button{color:#77817a;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:5px;place-items:center;width:32px;height:32px;transition:background .16s,border-color .16s,color .16s;display:inline-grid}.icon-button:hover{color:#385f50;background:#f1f4f1;border-color:#e5eae5}.top-menu-trigger{display:none}.app-body{flex:1;min-height:0;display:flex}.sidebar{width:var(--sidebar-width);border-right:1px solid var(--line);z-index:8;background:#fff;flex-direction:column;flex:none;padding:24px 14px 14px;display:flex}.side-section-label{color:#9aa19d;text-transform:uppercase;letter-spacing:1.25px;padding:0 12px 10px;font-size:9px}.side-nav{gap:3px;display:grid}.nav-item{color:#78817b;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:5px;align-items:center;gap:11px;width:100%;height:39px;padding:0 11px;font-size:12px;transition:background .15s,color .15s;display:flex}.nav-item:hover{color:#3e6959;background:#f5f7f4}.nav-item.active{color:#2d6c56;background:#edf4ef;font-weight:600}.nav-item span:nth-child(2){flex:1}.nav-new{color:#fff;background:#bc8859;border-radius:3px;padding:2px 5px;font-size:8px}.sidebar-bottom{margin-top:auto}.side-divider{background:#edf0ec;height:1px;margin:0 5px 16px}.chapter-card{background:#f5f7f4;border:1px solid #edf0ec;border-radius:6px;margin:0 2px 15px;padding:12px 11px 11px}.chapter-top{color:#7c8880;align-items:center;gap:7px;font-size:9px;display:flex}.chapter-top>svg{margin-left:auto}.chapter-icon{color:#59806d;background:#fff;border:1px solid #e9ede9;border-radius:4px;place-items:center;width:24px;height:24px;display:grid}.chapter-card>strong{color:#49574f;margin:11px 0 9px;font-size:10px;display:block}.chapter-progress{background:#e2e8e2;border-radius:2px;height:3px;overflow:hidden}.chapter-progress span{background:#6c9b7f;width:18%;height:100%;display:block}.chapter-card>small{color:#9aa49b;margin-top:7px;font-size:8px;display:block}.sidebar-profile{align-items:center;gap:9px;padding:0 4px;display:flex}.sidebar-profile>div:nth-child(2){flex:1;gap:3px;display:grid}.sidebar-profile strong{font-size:10px;font-weight:600}.sidebar-profile small{color:#9ba39d;font-size:9px}.sidebar-profile .icon-button{width:27px;height:27px}.workspace{flex-direction:column;flex:1;min-width:0;min-height:calc(100svh - 62px);display:flex}.workspace-scroll{flex:1;min-height:0;overflow:auto}.game-view,.secondary-view{max-width:1310px;margin:0 auto;padding:25px 31px 20px}.game-heading{justify-content:space-between;align-items:flex-end;margin-bottom:16px;display:flex}.eyebrow,.overline{color:#909a93;letter-spacing:1px;text-transform:uppercase;font-size:9px}.eyebrow{align-items:center;gap:8px;margin-bottom:6px;display:flex}.eyebrow-sep{color:#bbc1bc}.game-heading h1,.page-heading h1{font:600 24px/1.25 var(--display);letter-spacing:0;color:#273832;margin:0}.game-heading-actions{align-items:center;gap:5px;display:flex}.quiet-button{color:#64726a;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #e4e9e4;border-radius:4px;justify-content:center;align-items:center;gap:7px;height:32px;padding:0 11px;font-size:10px;transition:border .15s,background .15s;display:inline-flex}.quiet-button:hover{color:#3a6853;background:#fbfdfb;border-color:#b7cabd}.quiet-button:disabled{opacity:.65}.game-layout{grid-template-columns:minmax(0,1.72fr) minmax(265px,.83fr);align-items:start;gap:15px;display:grid}.scene-column,.interaction-column{align-content:start;gap:13px;min-width:0;display:grid}.scene-frame{color:#fff;isolation:isolate;background-position:50% 54%;background-size:cover;border-radius:6px;flex-direction:column;justify-content:space-between;height:178px;min-height:150px;padding:12px 14px;display:flex;position:relative;overflow:hidden}.scene-frame:after{content:"";z-index:-1;background:linear-gradient(90deg,#14241d3b,#0000 52%),linear-gradient(#0000 50%,#0f1e1b61);position:absolute;inset:0}.scene-topline,.scene-footer{color:#ffffffe3;justify-content:space-between;align-items:center;font-size:9px;display:flex}.weather-label{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#111f1c40;border-radius:3px;align-items:center;gap:6px;padding:5px 8px;display:flex}.weather-glyph{font-size:15px;line-height:10px}.scene-time span{color:#ffffff8c;padding:0 4px}.scene-center{text-align:center;align-self:center;transform:translateY(8px)}.scene-location-pill{color:#3c5045;background:#ffffffeb;border-radius:3px;align-items:center;gap:7px;height:27px;padding:0 10px;font-size:10px;display:inline-flex;box-shadow:0 4px 14px #12251e26}.pin-dot{background:#79a181;border-radius:50%;width:6px;height:6px}.location-pill-rule{background:#dfe4df;width:1px;height:12px;margin:0 1px}.scene-hint{color:#ffffffe6;text-shadow:0 1px 3px #18251d;margin-top:8px;font-size:9px}.scene-footer{color:#ffffffde}.scene-footer span,.scene-footer button{align-items:center;gap:5px;display:flex}.scene-footer button{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;cursor:pointer;background:#14231e3d;border:0;border-radius:3px;padding:6px 8px;font-size:9px}.field-panel,.interaction-card{background:#fff;border:1px solid #e9ece8;border-radius:6px}.field-panel{padding:14px 15px 12px}.panel-title-row{justify-content:space-between;align-items:center;display:flex}.overline{color:#a0a9a1;letter-spacing:1.2px;font-size:8px}.panel-title-row h2,.interaction-card h2,.map-overview-title h2,.table-heading h2,.settings-section-heading h2{font:600 14px/1.35 var(--display);color:#35443c;letter-spacing:0;margin:4px 0 0}.field-coordinate{font:500 10px var(--display);color:#8d9a90}.field-description{color:#909991;margin:8px 0 12px;font-size:10px;line-height:1.65}.map-grid{touch-action:manipulation;gap:4px;width:100%;max-width:420px;margin:0 auto;display:grid}.map-tile{aspect-ratio:1.6;cursor:pointer;background:#edf2e9;border:1px solid #dfe8dd;border-radius:3px;place-items:center;min-width:0;min-height:24px;padding:0;transition:filter .13s,transform .13s;display:grid;position:relative}.map-tile:not(.blocked):hover{filter:brightness(.96);border-color:#b9ccb9;transform:translateY(-1px)}.map-tile.blocked{cursor:default;background:linear-gradient(150deg,#e1e6d9,#d9e2d4);border-color:#d9dfd2}.tile-ground{color:#bdc9b8;font-size:14px;line-height:1}.tile-tree{color:#547965;text-shadow:2px 2px #73947b;font-size:18px}.player-token,.npc-token{border-radius:50%;place-items:center;width:21px;height:21px;display:grid;box-shadow:0 2px 4px #25392a2d}.player-token{color:#3f7b61;background:#fff;border:1px solid #7ca789}.npc-token{color:#654c32;font:600 10px var(--display);background:#e7b77e;border:1px solid #d5a36b}.map-legend{color:#8a948d;align-items:center;gap:14px;margin:10px 0 0;font-size:9px;display:flex}.map-legend>span{align-items:center;gap:5px;display:inline-flex}.map-legend i{border-radius:50%;width:8px;height:8px;display:inline-block}.legend-player{background:#579072}.legend-npc{background:#d9a96f}.legend-tree{background:#64846d}.map-move-tip{color:#a0a8a1;margin-left:auto}.move-control{display:none}.interaction-card{padding:14px 14px 12px}.interaction-card-head{justify-content:space-between;align-items:center;margin-bottom:11px;display:flex}.interaction-card h2{font-size:13px}.status-badge{color:#5e8a6c;background:#eff6f0;border-radius:3px;align-items:center;gap:5px;padding:5px 7px;font-size:9px;display:flex}.status-badge span{background:#7bac83;border-radius:50%;width:5px;height:5px}.journey-stat{color:#89928c;border-top:1px solid #f0f2ef;justify-content:space-between;align-items:center;min-height:34px;font-size:9px;display:flex}.journey-stat strong{color:#45554b;align-items:center;gap:6px;font-size:10px;font-weight:500;display:flex}.journey-stat strong svg{color:#8a9b8e}.journey-stat strong small{color:#99a19b;margin-left:-3px;font-size:9px}.journey-note{color:#75827a;background:#f5f7f3;border-radius:3px;align-items:flex-start;gap:7px;margin-top:9px;padding:8px 9px;font-size:9px;line-height:1.55;display:flex}.journey-note svg{color:#9b9d6c;flex:none;margin-top:1px}.resident-card{padding-bottom:11px}.count-label{font:500 10px var(--display);color:#9ba49c}.resident-row{border-top:1px solid #eff1ee;align-items:center;gap:9px;padding:9px 0;display:flex}.resident-portrait{color:#678475;background:#e8eee7;border-radius:4px;place-items:center;width:34px;height:34px;display:grid;position:relative}.resident-portrait span{background:#85ad84;border:2px solid #fff;border-radius:50%;width:8px;height:8px;position:absolute;bottom:-2px;right:-2px}.resident-copy{flex:1;gap:3px;display:grid}.resident-copy strong{color:#46534b;font-size:10px;font-weight:600}.resident-copy span{color:#9aa29c;font-size:9px}.resident-talk{color:#52745d;cursor:pointer;background:#fbfdfb;border:1px solid #dfe8df;border-radius:3px;align-items:center;gap:5px;height:27px;padding:0 8px;font-size:9px;display:flex}.resident-talk:hover{background:#eef5ef;border-color:#c9ddcb}.last-message{border-top:1px solid #eff1ee;gap:4px;margin-top:2px;padding-top:9px;display:flex}.message-mark{color:#a6b9a7;font:700 20px/1 Georgia}.last-message div{min-width:0}.last-message small{color:#abb2ac;font-size:8px}.last-message p{color:#758078;margin:3px 0 0;font-size:9px;line-height:1.5}.dialogue-card{background:#f4f6f1;border:1px solid #e5eae2;border-radius:5px;padding:12px}.dialogue-top{color:#6a806f;justify-content:space-between;align-items:center;font-size:9px;display:flex}.dialogue-top span{align-items:center;gap:6px;display:flex}.dialogue-top button{color:#829087;cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.dialogue-speaker{color:#3d5648;margin-top:11px;font-size:12px;font-weight:600}.dialogue-speaker small{color:#929b94;margin-left:7px;font-size:9px;font-weight:400}.dialogue-line{white-space:pre-line;color:#59665c;margin:8px 0 12px;font-size:11px;line-height:1.8}.dialogue-next{color:#fff;cursor:pointer;background:#3d7962;border:0;border-radius:3px;align-items:center;gap:8px;height:29px;margin-left:auto;padding:0 9px 0 12px;font-size:9px;display:flex}.bottom-gallery{height:var(--gallery-height);background:#fff;border-top:1px solid #e6eae5;flex:none;align-items:center;gap:20px;padding:11px 25px;display:flex}.gallery-label{align-items:center;gap:8px;min-width:143px;display:flex}.gallery-icon{color:#6b8572;background:#f0f3ef;border-radius:4px;place-items:center;width:30px;height:30px;display:grid}.gallery-label strong{color:#59655c;font-size:10px;font-weight:600;display:block}.gallery-label small{color:#a2aaa3;letter-spacing:.7px;margin-top:3px;font-size:7px;display:block}.gallery-strip{flex:1;align-items:center;gap:7px;min-width:0;display:flex}.gallery-main-image{cursor:pointer;background:#fff;border:1px solid #e5e9e4;border-radius:4px;width:108px;height:56px;padding:0;position:relative;overflow:hidden}.gallery-main-image img{object-fit:cover;width:100%;height:100%;transition:transform .2s;display:block}.gallery-main-image:hover img{transform:scale(1.04)}.gallery-main-image span{text-align:left;color:#fff;background:linear-gradient(#0000,#17261dd9);padding:12px 5px 4px;font-size:8px;position:absolute;bottom:0;left:0;right:0}.gallery-add-tile{color:#8c9a8d;cursor:pointer;background:#fbfcfa;border:1px dashed #d9dfd8;border-radius:4px;place-items:center;width:39px;height:56px;display:grid}.gallery-add-tile:hover{background:#f3f7f3;border-color:#9fbaa4}.gallery-count{color:#a2aaa3;margin-left:3px;font-size:9px}.gallery-controls{color:#929b94;white-space:nowrap;align-items:center;gap:4px;font-size:9px;display:flex}.gallery-controls .icon-button{width:27px;height:27px}.gallery-manage{color:#52715c;cursor:pointer;background:0 0;border:0;margin-left:7px;font-size:9px}.gallery-manage:hover{text-decoration:underline}.secondary-view{max-width:1120px;padding-top:33px}.page-heading{justify-content:space-between;align-items:center;margin-bottom:23px;display:flex}.page-heading .eyebrow{margin-bottom:8px}.page-heading h1{font-size:26px}.page-heading p{color:#89938b;margin:7px 0 0;font-size:11px}.page-heading-icon{color:#64816e;background:#fff;border:1px solid #e6ebe5;border-radius:5px;place-items:center;width:37px;height:37px;display:grid}.primary-button{color:#fff;white-space:nowrap;cursor:pointer;background:#3d7962;border:1px solid #3d7962;border-radius:4px;justify-content:center;align-items:center;gap:7px;height:34px;padding:0 13px;font-size:10px;transition:background .15s,border-color .15s;display:inline-flex}.primary-button:hover{background:#306851;border-color:#306851}.creator-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:22px;display:grid}.creator-type{text-align:left;cursor:pointer;background:#fff;border:1px solid #e5eae4;border-radius:5px;align-items:center;gap:9px;min-width:0;min-height:72px;padding:12px 10px;transition:border .15s,transform .15s;display:flex}.creator-type:hover{border-color:#b7cbb9;transform:translateY(-1px)}.creator-icon{border-radius:4px;flex:none;place-items:center;width:33px;height:33px;display:grid}.creator-icon.location{color:#648667;background:#edf3ed}.creator-icon.npc{color:#ac8454;background:#f4efe6}.creator-icon.item{color:#71809b;background:#edf0f6}.creator-icon.quest{color:#a87571;background:#f5eeee}.creator-copy{flex:1;gap:4px;min-width:0;display:grid}.creator-copy strong{font-size:10px;font-weight:600}.creator-copy small{color:#929b94;font-size:8px;line-height:1.35}.creator-plus{color:#9ca69e;flex:none}.content-table-wrap{background:#fff;border:1px solid #e7ebe6;border-radius:5px;overflow:hidden}.table-heading{justify-content:space-between;align-items:center;height:63px;padding:0 16px;display:flex}.table-heading h2{font-size:13px}.table-heading>span{color:#919a93;font-size:9px}.content-table-head,.content-table-row{grid-template-columns:1.4fr .52fr 1.1fr .8fr;align-items:center;gap:10px;padding:0 16px;display:grid}.content-table-head{color:#919b93;background:#f7f8f6;border-top:1px solid #eef0ed;border-bottom:1px solid #eef0ed;height:33px;font-size:9px}.content-table-row{color:#78837b;border-bottom:1px solid #f0f2ef;min-height:39px;font-size:9px}.content-table-row:last-child{border-bottom:0}.record-name{color:#4c5a50;align-items:center;gap:8px;font-weight:500;display:flex}.record-dot{background:#799e79;border-radius:50%;width:7px;height:7px}.record-dot.npc{background:#c99b62}.record-dot.item{background:#8595b2}.record-dot.quest{background:#b47e79}.content-table-row code{color:#8c978e;font:9px ui-monospace,monospace}.table-footer{color:#969f98;background:#fbfcfb;border-top:1px solid #eff1ee;justify-content:space-between;align-items:center;min-height:42px;padding:6px 14px;font-size:9px;display:flex}.editor-footnote,.local-save-note{color:#89958c;align-items:center;gap:8px;margin-top:14px;font-size:9px;line-height:1.6;display:flex}.editor-footnote svg,.local-save-note svg{color:#78947c;flex:none}.package-summary{color:#78847c;background:#fff;border:1px solid #e7ebe6;border-radius:5px;align-items:center;gap:23px;height:50px;margin-bottom:11px;padding:0 14px;font-size:9px;display:flex}.package-summary span{align-items:center;gap:7px;display:flex}.package-summary span svg{color:#7a917f}.package-summary strong{color:#4c5c51;font-size:11px}.package-summary small{color:#9da59e;margin-left:auto;font-size:9px}.package-list{background:#fff;border:1px solid #e7ebe6;border-radius:5px;overflow:hidden}.package-row{border-bottom:1px solid #edf0ec;align-items:center;gap:13px;min-height:94px;padding:13px;display:flex}.package-row:last-child{border:0}.package-cover{color:#738574;background:#eff1ec;border-radius:3px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:7px;width:50px;height:61px;display:flex}.package-cover span{font:8px var(--display);color:#8b968c}.base-cover{color:#557561;background:linear-gradient(155deg,#e7eee3,#d4dfd2)}.package-info{flex:1;min-width:0}.package-name-line{align-items:center;gap:8px;display:flex}.package-name-line strong{color:#48574c;font-size:11px;font-weight:600}.package-state{color:#929a94;background:#f3f4f2;border-radius:3px;padding:3px 6px;font-size:8px}.package-state.enabled{color:#558166;background:#eef5ef}.package-info>p{color:#8b958d;margin:5px 0 7px;font-size:9px}.package-meta{color:#a0a8a0;align-items:center;gap:7px;font-size:8px;display:flex}.package-meta i{background:#bdc4bd;border-radius:50%;width:3px;height:3px}.package-actions{align-items:center;gap:7px;display:flex}.package-toggle{cursor:pointer;background:#d7ddd8;border:0;border-radius:12px;width:37px;height:21px;padding:2px;transition:background .15s}.package-toggle span{background:#fff;border-radius:50%;width:17px;height:17px;transition:transform .15s;display:block;box-shadow:0 1px 2px #0002}.package-toggle.on{background:#69977a}.package-toggle.on span{transform:translate(16px)}.danger-icon:hover,.danger-text{color:#a05f56}.package-callout{color:#7d8b7e;background:#f0f4ef;border:1px solid #e7ede5;border-radius:4px;gap:10px;margin-top:12px;padding:12px 13px;display:flex}.package-callout>svg{flex:none;margin-top:1px}.package-callout p{gap:4px;display:grid}.package-callout strong{font-size:9px;font-weight:600}.package-callout span{color:#88958b;font-size:9px;line-height:1.6}.settings-section{background:#fff;border:1px solid #e7ebe6;border-radius:5px;margin-bottom:12px;padding:15px}.settings-section-heading{border-bottom:1px solid #eff1ee;justify-content:space-between;align-items:center;padding-bottom:13px;display:flex}.settings-section-heading h2{font-size:13px}.settings-section-heading>p{color:#9aa29b;font-size:9px}.image-setting-group{padding-top:13px}.image-setting-group+.image-setting-group{border-top:1px solid #f0f2ef;margin-top:13px}.image-group-title{align-items:center;gap:9px;margin-bottom:9px;display:flex}.image-group-title strong{color:#546157;font-size:10px;font-weight:600}.image-group-title small{color:#a0a8a1;font-size:8px}.image-setting-grid{flex-wrap:wrap;gap:8px;display:flex}.image-setting-card{background:#f5f7f4;border:1px solid #e3e8e2;border-radius:4px;width:123px;height:93px;position:relative;overflow:hidden}.image-setting-card.selected{border:2px solid #5e8b6b}.image-select-hit{text-align:left;cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:0;position:relative}.image-setting-card img{object-fit:cover;width:100%;height:100%;display:block}.image-select-hit img{display:block}.image-setting-card.default-image-card{cursor:pointer}.image-setting-card.default-image-card>img{position:absolute;inset:0}.image-setting-card small{color:#fff;white-space:nowrap;text-overflow:ellipsis;background:linear-gradient(#0000,#18241fc7);padding:13px 6px 5px;font-size:8px;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.image-check{color:#fff;background:#548363;border-radius:50%;place-items:center;width:17px;height:17px;display:none;position:absolute;top:5px;right:5px}.image-setting-card.selected .image-check,.library-image.selected .image-check{display:grid}.image-remove-button{color:#fff;cursor:pointer;background:#15251fc9;border:0;border-radius:3px;place-items:center;width:19px;height:19px;display:grid;position:absolute;top:4px;right:4px}.image-remove-button:hover{background:#9d554f}.image-upload-card{color:#7b8e7d;cursor:pointer;background:#fbfcfb;border:1px dashed #d7dfd6;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:123px;height:93px;display:flex}.image-upload-card>span{font-size:9px}.image-upload-card>small{color:#a4aca5;font-size:7px}.image-upload-card input{display:none}.setting-preferences{padding-bottom:0}.setting-preferences .settings-section-heading{border:0}.setting-option-row{border-top:1px solid #eff1ee;justify-content:space-between;align-items:center;gap:12px;min-height:61px;display:flex}.setting-option-row>div:first-child{gap:4px;display:grid}.setting-option-row strong{color:#58645b;font-size:10px;font-weight:600}.setting-option-row small{color:#9ba39c;font-size:9px}.segmented-control{background:#f1f3f0;border:1px solid #e8ebe7;border-radius:4px;gap:2px;padding:2px;display:inline-flex}.segmented-control button{color:#879088;cursor:pointer;background:0 0;border:0;border-radius:3px;min-width:72px;height:26px;padding:0 10px;font-size:9px}.segmented-control button.selected{color:#426e55;background:#fff;box-shadow:0 1px 3px #25352118}.settings-section .local-save-note{margin:0 0 14px}.modal-backdrop{z-index:30;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#17251fc2;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.editor-modal,.image-library-modal{background:#fff;border:1px solid #e3e8e2;border-radius:6px;width:min(610px,100%);max-height:min(90svh,800px);overflow:auto;box-shadow:0 18px 70px #0d171140}.modal-heading{border-bottom:1px solid #e9ede8;justify-content:space-between;align-items:flex-start;padding:18px 20px 15px;display:flex}.modal-heading h2{font:600 17px var(--display);color:#34453a;margin:5px 0 0}.record-form{gap:13px;padding:17px 20px 16px;display:grid}.record-form label{color:#68756b;gap:6px;font-size:9px;display:grid}.record-form label small{color:#9ba49c;font-size:8px}.record-form input,.record-form textarea,.record-form select{color:#46544a;resize:vertical;background:#fff;border:1px solid #e1e7e0;border-radius:4px;width:100%;padding:9px 10px;font-size:10px}.record-form input{height:35px}.record-form input[type=number]{max-width:100%}.record-form input::placeholder,.record-form textarea::placeholder{color:#b4bcb5}.form-grid{grid-template-columns:1fr 1fr;gap:11px;display:grid}.form-error{color:#a2463e;background:#fbf0ed;border-radius:3px;margin:0;padding:8px 10px;font-size:9px}.form-footer{border-top:1px solid #edf0ec;justify-content:space-between;align-items:center;gap:10px;margin-top:2px;padding-top:13px;display:flex}.form-footer>span{color:#8e9a90;align-items:center;gap:5px;font-size:8px;display:flex}.form-footer>div{gap:7px;display:flex}.form-footer .primary-button,.form-footer .quiet-button{height:31px}.image-library-modal{width:min(760px,100%)}.image-target-tabs{margin:15px 19px 12px}.image-target-tabs button{min-width:94px}.library-images{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;padding:0 19px 17px;display:grid}.library-image{border:1px solid #e4e9e3;border-radius:4px;height:105px;position:relative;overflow:hidden}.library-image.selected{border:2px solid #5d8a6a}.library-image-select,.default-library-image{text-align:left;cursor:pointer;background:#f3f6f2;border:0;width:100%;height:100%;padding:0;position:relative}.library-image img{object-fit:cover;width:100%;height:100%;display:block}.library-image-label{color:#fff;white-space:nowrap;text-overflow:ellipsis;background:linear-gradient(#0000,#16231dd9);padding:17px 7px 6px;font-size:9px;position:absolute;bottom:0;left:0;right:0;overflow:hidden}.library-delete{color:#fff;cursor:pointer;background:#1b2823b8;border:0;border-radius:3px;place-items:center;width:23px;height:23px;display:grid;position:absolute;top:5px;left:5px}.library-add{color:#7d927e;cursor:pointer;background:#fbfcfa;border:1px dashed #d6dfd6;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;gap:5px;height:105px;display:flex}.library-add strong{font-size:9px;font-weight:500}.library-add span{color:#a0aaa0;font-size:8px}.library-footer{border-top:1px solid #edf0ec;justify-content:space-between;align-items:center;gap:12px;padding:12px 19px;display:flex}.library-footer>span{color:#929c93;font-size:9px}.toast{z-index:40;color:#58665a;background:#fff;border:1px solid #e2e9e1;border-radius:5px;align-items:center;gap:9px;max-width:min(430px,100vw - 28px);min-height:43px;padding:8px 10px;font-size:10px;animation:.18s ease-out toast-in;display:flex;position:fixed;bottom:22px;right:22px;box-shadow:0 8px 28px #263d2b1a}.toast-indicator{color:#578362;background:#eaf4ec;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;display:grid}.toast.error .toast-indicator{color:#ae5d51;background:#fbefed}.toast>button{color:#9aa39b;cursor:pointer;background:0 0;border:0;place-items:center;margin-left:auto;display:grid}.boot-screen{color:#728177;background:#f5f6f4;justify-content:center;align-items:center;gap:10px;height:100svh;font-size:12px;display:flex}.boot-screen svg{color:#73947b}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.map-overview{background:#fff;border:1px solid #e7ebe6;border-radius:5px}.map-overview-title{border-bottom:1px solid #edf0ec;justify-content:space-between;align-items:center;height:70px;padding:0 16px;display:flex}.map-overview-title h2{font-size:14px}.map-discovery{color:#839184;align-items:center;gap:6px;font-size:9px;display:flex}.location-item{border-bottom:1px solid #eff1ee;align-items:center;gap:12px;min-height:91px;padding:13px 16px;display:flex}.location-item:last-child{border:0}.location-item.is-current{background:#fbfcfa}.location-symbol{color:#68846c;background:#eff4ef;border-radius:4px;flex:none;place-items:center;width:38px;height:38px;display:grid}.location-info{flex:1;min-width:0}.location-info>strong{color:#4b5b4e;font-size:11px}.location-info p{color:#939c94;margin:5px 0 0;font-size:9px;line-height:1.55}.current-tag{color:#62806a;background:#edf4ed;border-radius:3px;margin-left:7px;padding:3px 5px;font-size:8px;font-weight:400}.location-item .quiet-button{height:29px}.map-note{color:#8d998e;border-top:1px solid #eff1ee;align-items:center;gap:8px;padding:12px 16px;font-size:9px;display:flex}.game-compact .game-layout{grid-template-columns:minmax(0,1.35fr) minmax(265px,.8fr)}.game-compact .scene-frame{height:145px}.game-compact .field-panel{padding:12px}.game-compact .map-tile{aspect-ratio:1.45}@keyframes toast-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media (width>=1450px){.game-view{padding-top:34px}.scene-frame{height:205px}.field-panel{padding:17px 19px}.interaction-card{padding:16px 17px 14px}.game-layout{gap:17px}.scene-column,.interaction-column{gap:15px}}@media (width<=1080px){.app-shell{--sidebar-width:190px}.game-view,.secondary-view{padding-left:21px;padding-right:21px}.game-layout{grid-template-columns:minmax(0,1.48fr) minmax(235px,.82fr);gap:11px}.scene-frame{height:160px}.map-legend{gap:9px}.creator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-count{display:none}}@media (width<=760px){.topbar{grid-template-columns:1fr auto 1fr;height:55px}.brand-lockup{padding-left:13px}.brand-mark{width:29px;height:29px}.brand-lockup strong{font-size:12px}.brand-lockup small{font-size:7px}.top-location{gap:6px;font-size:10px}.top-actions{gap:6px;padding-right:10px}.save-indicator{gap:0;font-size:0}.save-indicator .save-dot{width:8px;height:8px}.avatar{width:27px;height:27px}.top-menu-trigger{display:inline-grid}.app-body{position:relative}.sidebar{box-shadow:none;transition:transform .2s;position:absolute;top:0;bottom:0;left:0;transform:translate(-101%)}.sidebar.sidebar-open{transform:translate(0);box-shadow:8px 0 24px #20322920}.workspace{min-height:calc(100svh - 55px)}.game-view,.secondary-view{padding:18px 14px 15px}.game-heading{margin-bottom:12px}.game-heading h1{font-size:21px}.game-heading-actions .quiet-button{height:30px;padding:0 8px;font-size:9px}.game-layout{grid-template-columns:minmax(0,1fr);gap:10px}.scene-column{gap:9px}.scene-frame{height:164px;min-height:150px;padding:10px}.field-panel{padding:12px}.map-grid{gap:3px}.map-tile{aspect-ratio:1.48;min-height:27px}.map-legend{gap:10px;font-size:8px}.map-move-tip{font-size:0}.map-move-tip:after{content:"触碰地图移动";font-size:8px}.move-control{justify-content:center;align-items:center;gap:5px;margin:12px auto 0;display:flex}.move-control>button,.move-control div button{color:#64806b;touch-action:manipulation;background:#fafcf9;border:1px solid #e0e7df;border-radius:4px;place-items:center;width:38px;height:34px;display:grid}.move-control>div{gap:5px;display:flex}.interaction-column{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.interaction-card{padding:11px}.interaction-card.current-card,.interaction-card.resident-card{grid-column:span 1}.dialogue-card{grid-column:1/-1}.interaction-card-head{margin-bottom:8px}.interaction-card h2{font-size:12px}.journey-stat{min-height:30px}.journey-note{font-size:8px}.resident-portrait{width:29px;height:29px}.resident-row{gap:6px}.resident-talk{padding:0 5px;font-size:8px}.last-message p{font-size:8px}.bottom-gallery{gap:9px;height:77px;padding:8px 12px}.gallery-label{gap:6px;min-width:95px}.gallery-icon{width:27px;height:27px}.gallery-label strong{font-size:9px}.gallery-label small{font-size:6px}.gallery-main-image{width:75px;height:49px}.gallery-add-tile{width:31px;height:49px}.gallery-controls{gap:1px;font-size:0}.gallery-controls .icon-button{width:25px;height:26px}.gallery-manage{margin-left:3px;padding:0;font-size:8px}.secondary-view{padding-top:24px}.page-heading{margin-bottom:17px}.page-heading h1{font-size:23px}.page-heading p{max-width:250px;font-size:10px;line-height:1.6}.page-heading>.primary-button{height:32px;padding:0 9px;font-size:9px}.creator-grid{gap:7px;margin-bottom:15px}.creator-type{gap:7px;min-height:64px;padding:9px 8px}.creator-icon{width:29px;height:29px}.creator-copy small{font-size:7px}.creator-plus{width:13px}.content-table-head,.content-table-row{grid-template-columns:1.25fr .45fr .9fr;gap:6px;padding:0 10px}.content-table-head>:last-child,.content-table-row>:last-child{display:none}.content-table-head{font-size:8px}.content-table-row{min-height:37px;font-size:8px}.content-table-row code{font-size:8px}.record-name{gap:5px}.table-footer{padding:6px 9px;font-size:8px}.table-footer .quiet-button{padding:0 6px;font-size:8px}.package-row{gap:9px;padding:10px}.package-cover{width:43px;height:53px}.package-actions{gap:3px}.package-actions .icon-button{width:28px}.package-summary{gap:10px;padding:0 9px;font-size:8px}.package-summary small{font-size:7px}.settings-section{padding:11px}.image-setting-card,.image-upload-card{width:calc(33.3333vw - 19.3333px);max-width:125px;height:82px}.image-setting-grid{gap:6px}.setting-option-row{min-height:68px}.setting-option-row small{max-width:220px;line-height:1.5}.segmented-control button{min-width:58px;padding:0 6px}.toast{bottom:86px;right:10px}.modal-backdrop{align-items:end;padding:10px}.editor-modal,.image-library-modal{border-radius:7px 7px 4px 4px;max-height:91svh}.modal-heading{padding:15px 15px 12px}.record-form{gap:11px;padding:13px 15px 15px}.form-grid{gap:8px}.record-form input,.record-form textarea{font-size:12px}.record-form label{font-size:9px}.form-footer>span{max-width:160px;font-size:7px;line-height:1.4}.library-images{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0 12px 13px}.library-image,.library-add{height:82px}.image-target-tabs{margin:12px}.library-footer{padding:10px 12px}.library-footer>span{font-size:8px;line-height:1.5}.gallery-count{display:none}}@media (width<=400px){.top-location{font-size:9px}.brand-lockup{gap:6px}.top-actions{gap:3px}.game-view{padding-left:10px;padding-right:10px}.scene-frame{height:146px}.interaction-column{gap:7px}.interaction-card{padding:9px}.journey-stat{font-size:8px}.journey-stat strong{font-size:9px}.resident-copy span{font-size:8px}.map-tile{min-height:24px}.gallery-label{min-width:81px}.gallery-label small{letter-spacing:0}.gallery-controls{gap:0}}.system-home,.system-loading{color:#26342d;background:#f2f1ec;min-height:100svh;font-family:system-ui,Microsoft YaHei,sans-serif}.system-home{flex-direction:column;align-items:center;padding:clamp(28px,7vw,90px) 24px;display:flex}.system-home-heading{text-align:center;max-width:720px}.system-home-heading>svg{color:#718375}.system-home-heading h1{margin:16px 0;font-size:clamp(26px,4vw,38px)}.system-home-heading p{color:#6c776f;line-height:1.8}.system-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:min(880px,100%);margin:32px 0;display:grid}.system-card{text-align:left;color:#30483a;cursor:pointer;background:#fff;border:1px solid #dce2d8;border-radius:14px;min-height:260px;padding:30px;transition:transform .15s,border-color .15s;box-shadow:0 8px 30px #23332208}.system-card:hover{border-color:#a1b2a0;transform:translateY(-3px)}.system-card h2{margin:18px 0 10px;font-size:26px}.system-card p{color:#758176;min-height:58px;line-height:1.8}.system-card span{font-weight:600}.system-card-zombie{color:#f1dec0;background:#252b29;border-color:#4b544d}.system-card-zombie p{color:#b4bdb6}.system-isolation-note{text-align:center;color:#78847a;max-width:800px;font-size:13px;line-height:1.9}.system-loading{place-items:center;display:grid}.system-back-button{white-space:nowrap;color:inherit;opacity:.8;font:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:7px 10px;font-size:12px;display:inline-flex}.system-back-button:hover{opacity:1}.system-back-button:disabled{opacity:.4}.rpg-topbar .system-back-button{margin-left:auto;font-size:11px}.rpg-topbar .save-indicator{margin-left:12px}.save-recovery-card>.system-back-button{margin-bottom:20px}@media (width<=640px){.system-cards{grid-template-columns:1fr;gap:16px}.system-card{min-height:210px;padding:24px}.system-card p{min-height:0}.system-home{padding:35px 18px}.rpg-topbar .rpg-chapter{display:none}.rpg-topbar .system-back-button{padding:5px;font-size:10px}.rpg-topbar .save-indicator{margin-left:6px}}.perf-overlay{z-index:9999;color:#e9e2cf;pointer-events:none;white-space:nowrap;background:#14110dd9;border-radius:6px;align-items:baseline;gap:10px;max-width:calc(100vw - 12px);padding:4px 10px;font:12px/1.3 ui-monospace,Consolas,monospace;display:flex;position:fixed;top:6px;left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 2px 8px #0006}.perf-overlay span{align-items:baseline;gap:4px;display:inline-flex}.perf-overlay b{color:#a99f86;font-weight:600}.perf-overlay small{color:#8f8670;font-size:10px}.perf-overlay .perf-gpu{text-overflow:ellipsis;max-width:220px;overflow:hidden}.perf-overlay .perf-ok{color:#9fd38a}.perf-overlay .perf-warn{color:#f0c86a}.perf-overlay .perf-bad{color:#ef7d6a}.rpg-shell{--editor-save-top:calc(var(--ui-topbar-height,70px) + var(--ui-return-height,56px) + 60px)}.item-editor .item-form,.skill-editor .skill-form,.power-editor .power-form,form.combat-form,form.quest-editor,form.custom-rule-form,form.container-rule-form,form.tag-modifier-editor,form.tag-operation-editor,.tag-parent-editor,.npc-import-preview,.eco-terrain-settings,form.record-form,.character-dialog>form,.equipment-editor form.equipment-card{flex-direction:column;min-width:0;display:flex}.item-form>.item-actions:last-child,.skill-form>.skill-actions,.power-form>.power-actions,.combat-form>.combat-actions,.quest-editor>.qe-footer,.custom-rule-form>.custom-actions,.container-rule-form>.container-actions,.tag-modifier-editor>.tag-actions,.tag-operation-editor>.tag-actions,.tag-basic-editor>.tag-actions,.tag-parent-editor>.tag-actions,.npc-import-preview>.npc-import-actions,.eco-library-form>.eco-library-actions:last-child,.eco-terrain-settings>.primary-button,.character-dialog>form>.character-editor-actions,.record-form>.form-footer,.equipment-editor form.equipment-card>.equipment-card-footer{top:var(--editor-save-top,8px);z-index:12;border:1px solid var(--theme-line,#cdbf9e);border-radius:var(--theme-radius,4px);background:var(--theme-bar,#f3ead4);min-width:0;color:var(--theme-ink,#493c2c);flex-wrap:wrap;flex-shrink:0;order:-1;justify-content:flex-end;align-items:center;gap:8px;margin:0 0 12px;padding:10px 12px;display:flex;position:sticky;bottom:auto;box-shadow:0 3px 9px #30271420}.equipment-editor form.equipment-card>.equipment-card-footer,.record-form>.form-footer{justify-content:space-between}.tag-basic-editor>.tag-actions{flex-basis:100%}.quest-editor>.qe-footer>.qe-actions{margin-left:auto}.quest-editor>.qe-footer>.qe-error{flex-basis:100%;max-height:6em;overflow:auto}.quest-editor>.qe-footer>.qe-hint{flex:180px}.eco-library-form>.eco-library-actions:last-child,.eco-terrain-settings>.primary-button{align-self:stretch}.eco-terrain-settings>.primary-button{height:auto}.character-dialog>form>.character-editor-actions,.editor-modal .record-form>.form-footer{z-index:6;top:0}.character-dialog>form>.characters-heading,.editor-modal>.modal-heading{position:static}.record-form>.form-footer>div{flex-wrap:wrap}.dungeon-settings .de-detail>.de-editor-heading{top:var(--editor-save-top,8px);z-index:12;border:1px solid var(--de-border,#725934);background:#17191b;border-radius:6px;flex-shrink:0;padding:10px 12px;position:sticky;box-shadow:0 3px 9px #0004}:is(.item-form,.skill-form,.power-form,.combat-form,.quest-editor,.custom-rule-form,.container-rule-form,.tag-modifier-editor,.tag-operation-editor,.tag-basic-editor,.tag-parent-editor,.eco-terrain-settings,.eco-library-form,.equipment-card,.character-dialog,.record-form) :is(input,select,textarea){scroll-margin-top:calc(var(--editor-save-top,8px) + 100px)}:is(.character-dialog,.editor-modal) :is(input,select,textarea){scroll-margin-top:100px}@media (width<=760px){:is(.item-form,.skill-form,.power-form,.combat-form,.quest-editor,.custom-rule-form,.container-rule-form,.tag-modifier-editor,.tag-operation-editor,.tag-basic-editor,.tag-parent-editor,.npc-import-preview,.eco-library-form,.eco-terrain-settings,.character-dialog,.record-form,.equipment-card)>:is(.item-actions,.skill-actions,.power-actions,.combat-actions,.qe-footer,.custom-actions,.container-actions,.tag-actions,.npc-import-actions,.eco-library-actions,.character-editor-actions,.form-footer,.equipment-card-footer) button,.eco-terrain-settings>.primary-button{white-space:normal;max-width:100%;min-height:44px}.character-dialog>form>.character-editor-actions button{min-height:44px}.dungeon-settings .de-detail>.de-editor-heading{gap:8px}.dungeon-settings .de-editor-heading h3{max-width:100%;font-size:14px}.dungeon-settings .de-editor-heading .de-actions button{min-height:44px}}
