.dev-grid{display:flex;gap:.8rem;align-items:start;padding:0 8px}.dev-grid>.tool-form{flex:2 1 0;min-width:0}.dev-grid>.tool-list{flex:1 1 0;min-width:0}.dev-grid.dev-grid--equal>.tool-form,.dev-grid.dev-grid--equal>.tool-list{flex:1 1 0}.tool-form,.tool-list{border:1px solid rgba(205,188,232,.2);padding:.7rem;display:flex;flex-direction:column;gap:.45rem;background:#0e0b148c}.tool-form{max-width:750px}.tool-form.ability-chains-form{width:100%;max-width:none;box-sizing:border-box}.tool-list{max-width:450px}.tool-form h3,.tool-list h3{margin:0}.helper{margin:0;color:#b8abc9}.field-label{margin:10px 0 0;font-size:.85rem;color:#d8cbe8;font-weight:600}.tool-form input,.tool-form select,.tool-form textarea{border:1px solid rgba(205,188,232,.25);background:#09070db8;color:#f1e9ff;width:100%}.tool-form .status{margin:0;padding:.55rem .7rem}.toggle-row{display:flex;flex-direction:row;align-items:center;gap:.45rem;cursor:pointer;color:#f1e9ff;font-size:.92rem;width:fit-content}input[type=checkbox]{height:15px;width:15px}.toggle-row.small{font-size:.85rem}.toggle-row.compact{font-size:.82rem}.checkbox-group{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-evenly;gap:.35rem}.toggle-row-group{display:flex;flex-direction:column;gap:.35rem}.actions{margin-top:.2rem;display:flex;gap:.5rem;flex-wrap:wrap}.actions button{border:0;color:#fff;cursor:pointer;font-weight:700}.subtabs{display:inline-flex;gap:.45rem;background:#a17ad81a;border:1px solid rgba(205,188,232,.18);padding:.4rem;width:fit-content}.subtabs button{border:0;background:transparent;padding:.45rem .85rem;cursor:pointer;font-weight:600;color:#d9cbee}.subtabs button.active{color:#fff}.list-stack{display:flex;flex-direction:column;gap:.35rem}.list-stack.compact{gap:.25rem}.list-item{border:1px solid rgba(205,188,232,.2);background:#ffffff0d;padding:.5rem .7rem;text-align:left;display:flex;flex-direction:column;gap:.12rem;color:#f1e9ff}.list-item.active{border-color:#c45a9f99;background:#c45a9f1a}.list-item strong{font-size:.9rem}.list-item span{font-size:.78rem;color:#b8abc9}.tool-form pre,.tool-list pre{margin:0;border:1px solid rgba(205,188,232,.18);padding:.6rem;background:#07050acc;color:#d8cbe8;font-size:.82rem;overflow:auto}code{background:#ffffff14;padding:.1em .35em;font-size:.82em;color:#e8c9f5}.field-row{display:flex;gap:.6rem;flex-wrap:wrap;align-items:end}.field-block{display:flex;flex-direction:column;gap:.3rem;flex:1 1 180px}.name-row{display:flex;gap:.6rem;align-items:end}.name-row>:first-child{flex:1 1 0;min-width:0}.inline-toggle{white-space:nowrap;align-self:end;margin-bottom:.15rem}.item-row{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}.stat-grid{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:space-between}.stat-field{display:flex;flex-direction:column;gap:.2rem;font-size:.85rem;width:100%;max-width:100px}.stat-field span{font-weight:700}.stat-field small{color:#9888b8;font-size:.75rem}.stat-row{display:flex;align-items:center;gap:.45rem;font-size:.82rem;color:#d8cbe8;flex:1 1 200px}.stat-row span{flex:1}.stat-row input{width:80px}.section-subtitle{margin:.3rem 0 .15rem;font-size:.8rem;color:var(--icy-blue);font-weight:700}.event-section{border:1px solid rgba(205,188,232,.15);padding:.5rem .6rem}.event-section summary{cursor:pointer;font-size:.88rem;font-weight:600;color:#d8cbe8}.derived-preview{background:#ffffff08;border:1px solid rgba(205,188,232,.15);padding:.6rem;display:flex;gap:.2rem;flex-wrap:wrap;justify-content:space-between}.derived-preview div{height:40px;margin:0;font-size:.85rem;color:#d8cbe8;min-width:200px;max-width:30%;border-bottom:1px solid white}.limb-profile-row{display:flex;gap:.45rem;flex-wrap:wrap}.profile-button{border:1px solid rgba(205,188,232,.3);background:transparent;color:#d9cbee;padding:.3rem .7rem;cursor:pointer;font-weight:600;text-transform:capitalize}.profile-button.active{color:#fff;border-color:transparent}.limb-tier-generator{display:flex;flex-wrap:wrap;gap:.35rem}.tier-generator-button{width:36px;height:36px;border:1px solid rgba(205,188,232,.3);background:#ffffff0d;color:#d9cbee;font-weight:700;cursor:pointer}.tier-generator-button:hover{background:#8a2be24d}.generator-helper{font-size:.8rem;color:#9888b8;margin:0}.enemy-panel{display:flex;flex-direction:column;gap:.75rem}.abilities-fieldset{border:1px solid rgba(212,155,212,.3);padding:.5rem;display:flex;flex-direction:column;gap:.3rem}.abilities-fieldset legend{color:#d8cbe8;font-weight:700}.ability-workspace .ability-section{display:flex;flex-direction:column;gap:.35rem;padding-top:.35rem}.ability-section+.ability-section{border-top:1px solid rgba(212,155,212,.18);margin-top:.2rem}.ability-section-header{display:flex;flex-direction:column;gap:.35rem}.ability-section-header h4{margin:0;color:#f1e9ff;font-size:.9rem}.ability-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.check-label{display:flex;align-items:center;gap:.4rem;cursor:pointer;flex:1 1 230px}.ability-copy{display:flex;flex-direction:column;gap:.05rem}.ability-copy strong{font-size:.86rem}.ability-copy small{color:#b8abc9;font-size:.72rem;text-transform:capitalize}.max-uses-label{display:flex;align-items:center;gap:.3rem;font-size:.8rem}.max-uses-input{width:4rem}.portrait-preview{width:80px;height:80px;object-fit:cover;border:1px solid rgba(212,155,212,.3)}.danger-btn{border-color:#dc50508c;color:#ffd6d6}.members-section{border-top:1px solid rgba(212,155,212,.2);padding-top:.5rem;display:flex;flex-direction:column;gap:.5rem}.members-section h4{margin:0}.member-row{display:flex;justify-content:space-between;align-items:center}.danger-sm{border-color:#dc505080;color:#ffd6d6;font-size:.78rem}.add-member-row{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.add-member-row select{min-width:180px}.loot-entry-row{display:flex;align-items:center;gap:.4rem;padding:.3rem .5rem;border:1px solid rgba(205,188,232,.15);background:#ffffff0a}.drop-type-badge{font-size:.72rem;font-weight:700;color:#d49bd4;text-transform:uppercase;letter-spacing:.04em;flex-shrink:0;min-width:4.5rem}.drop-name{flex:1;font-size:.86rem;color:#f1e9ff}.drop-chance{font-size:.82rem;color:#b8abc9;flex-shrink:0}.chance-field{display:inline-flex;align-items:center;gap:.1rem;flex-shrink:0}.chance-input{width:4.5rem;padding:.1rem .25rem;font-size:.82rem;text-align:right;background:#ffffff0d;border:1px solid rgba(205,188,232,.25);color:#d8c8f0}.chance-input:focus{outline:none;border-color:#cdbce899;background:#ffffff17}.pct-suffix{font-size:.78rem;color:#9888b8}.loot-rule{font-weight:400;font-size:.78rem;color:#9888b8}.type-toggle-row{display:flex;gap:.35rem;padding:.2rem;border:1px solid rgba(205,188,232,.16);background:#ffffff08}.type-toggle-row button{flex:1;border:0;padding:.55rem .75rem;background:transparent;color:#cdbce8;font-weight:700;cursor:pointer}.type-toggle-row button.active{color:#fff}.group-title{margin:.2rem 0 0;font-size:.85rem;color:var(--icy-blue);font-weight:700;letter-spacing:.03em}.grouped-locations{align-items:flex-start}.hub-toggle{align-self:flex-start;margin-bottom:.25rem}.nested-item{margin-left:.8rem}.internal-item{margin-left:1.7rem}.nested-empty{margin-left:.8rem}.unassigned-item{border-color:#e04f4f59}.cron-row{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.4rem 0;border-bottom:1px solid rgba(205,188,232,.1)}.cron-info{flex:1}.cron-output{background:#0006;border:1px solid rgba(205,188,232,.15);padding:.5rem;font-size:.8rem;color:#d8cbe8;white-space:pre-wrap;word-break:break-all}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.35rem 0;border-bottom:1px solid rgba(205,188,232,.1)}.setting-info{flex:1}.item-panel .list-stack{max-height:800px;overflow-y:auto}.item-panel .list-item{background:#ffffff12;font-weight:700;gap:.15rem}.item-panel .list-item.active{border-color:#c45a9fd9;box-shadow:inset 0 0 0 1px #c45a9f59}.item-panel .list-item span{font-weight:500;color:#d8cbe8;font-size:.85rem}.item-panel .stat-field{border:1px solid rgba(205,188,232,.2);padding:.45rem .55rem;background:#07050aa6}.tag-assignment-stack{display:flex;flex-direction:column;gap:.4rem}.tag-assignment-row{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap;border:1px solid rgba(205,188,232,.2);padding:.45rem;background:#07050a8c}.recipe-panel .list-stack{max-height:800px;overflow-y:auto}.recipe-panel .list-item{background:#ffffff12;font-weight:700;gap:.15rem}.recipe-panel .list-item.active{border-color:#c45a9fd9;box-shadow:inset 0 0 0 1px #c45a9f59}.recipe-panel .list-item span{font-weight:500;color:#d8cbe8;font-size:.85rem}.inline-grid{display:flex;gap:.5rem;flex-wrap:wrap}.inline-grid>*{flex:1 1 140px;min-width:0}.requirement-stack{display:flex;flex-direction:column;gap:.45rem}.requirement-row{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap;border:1px solid rgba(205,188,232,.2);padding:.45rem;background:#07050a8c}.ability-workspace{padding:.75rem;display:flex;flex-direction:column;gap:1rem;color:#f1e9ff;font-size:.95rem}.ability-workspace .dev-grid{padding:0;gap:1rem}.ability-editor-layout>.tool-form{flex:2 1 0;max-width:none}.ability-editor-layout>.tool-list{flex:1 1 0;max-width:none;min-width:320px;position:sticky;top:64px;max-height:calc(100vh - 80px)}.ability-workspace .tool-form,.ability-workspace .tool-list{background:#0e0b14f0;padding:1rem;gap:1rem;box-sizing:border-box}.ability-workspace .helper{color:#cec1de;font-size:.85rem;line-height:1.5}.ability-workspace h4{margin:0}.ability-workspace .field-block{min-width:0;font-size:.9rem}.ability-section>.field-block{flex:none}.ability-workspace input:not([type=checkbox]):not([type=radio]),.ability-workspace select,.ability-workspace textarea{box-sizing:border-box;min-height:34px;padding:.4rem .5rem;border:1px solid #71627e;background:#100d17;color:#f1e9ff;width:100%;font:inherit}.ability-workspace input[type=checkbox],.ability-workspace input[type=radio]{width:16px;height:16px;flex:0 0 16px}.ability-workspace textarea{resize:vertical;line-height:1.5}.dev-panel .ability-workspace button:not(.list-item){box-sizing:border-box;height:23px;min-height:23px;max-height:23px;margin:0;padding:0 8px;line-height:normal}.ability-workspace :is(button,input,select,textarea,summary):focus-visible{outline:2px solid #b8e1ef;outline-offset:2px}.ability-section{border:1px solid rgba(205,188,232,.25);padding:1rem;display:flex;flex-direction:column;gap:.85rem}.ability-workspace .ability-section>summary{cursor:pointer;font-weight:700}.ability-workspace .ability-section>summary+*{margin-top:.85rem}.ability-editor-toolbar{position:sticky;top:64px;z-index:2;background:#18121f;border-bottom:1px solid #71627e;padding:.75rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem}.ability-workspace .actions{align-items:center}.ability-editor-toolbar .actions{margin:0}.ability-workspace .ability-delete,.ability-workspace .ability-error{border:1px solid #bd707c;color:#ffccd3}.ability-creature-options{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 1.25rem;padding:.75rem;border:1px solid #71627e}.ability-creature-options .helper{flex-basis:100%}.ability-chain-preview{padding:.75rem;background:#231c2c}.ability-effect-row{padding:.75rem;background:#211a2b;border:1px solid #71627e;gap:.65rem}.ability-effect-row select{min-width:130px}.ability-effect-guide{color:#cec1de;font-size:.85rem;line-height:1.5}.ability-effect-guide summary{cursor:pointer;padding:.25rem 0}.ability-browser-header{display:flex;flex-direction:column;gap:.75rem;flex-shrink:0}.ability-browser-filters{display:flex;flex-wrap:wrap;gap:.5rem}.ability-browser-filters select{flex:1 1 140px;min-width:0}.ability-workspace .list-stack{gap:.5rem;overflow-y:auto;min-height:0}.ability-workspace .list-item{flex-shrink:0}.ability-workspace .list-item{padding:.75rem;gap:.5rem}.ability-workspace .list-item strong{font-size:.95rem}.ability-workspace .list-item.active{background:#35253e;border-color:#d39abf}.ability-workspace .ability-badges{display:flex;flex-wrap:wrap;gap:.35rem}.ability-workspace .ability-badges span{font-size:.82rem;color:#ded1ec;background:#2a2333;padding:.15rem .4rem;border-radius:3px}.ability-chain-stage{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;padding:.85rem 0;border-top:1px solid #71627e}.ability-chain-stage>strong{flex:1 1 220px}.ability-chain-thresholds{display:flex;gap:1rem;flex:1 1 300px}.ability-chain-thresholds .field-block{flex:1 1 120px}.ability-chain-stage .actions{margin:0}.dev-editor-workspace{padding:.75rem;display:flex;flex-direction:column;gap:1rem;color:#f1e9ff}.dev-editor-workspace .dev-grid{padding:0;gap:1rem}.dev-editor-workspace .tool-form,.dev-editor-workspace .tool-list{max-width:none;box-sizing:border-box;padding:1rem;gap:.85rem;background:#0e0b14f0}.dev-editor-workspace .dev-grid>.tool-list{min-width:320px;position:sticky;top:64px;max-height:calc(100vh - 80px)}.dev-editor-workspace .list-stack{overflow-y:auto;min-height:0;gap:.5rem}.dev-editor-workspace .list-item{flex-shrink:0;padding:.75rem;gap:.35rem}.dev-editor-workspace .list-item span,.dev-editor-workspace .helper{color:#cec1de;font-size:.85rem;line-height:1.5}.dev-editor-workspace .list-item.active{border-color:#d39abf}.dev-editor-workspace h4,.dev-editor-workspace .field-label{margin:0}.dev-editor-workspace .field-block{min-width:0}.dev-editor-workspace input:not([type=checkbox]):not([type=radio]),.dev-editor-workspace select,.dev-editor-workspace textarea{width:100%;min-height:34px;box-sizing:border-box;padding:.4rem .5rem;border:1px solid #71627e;background:#100d17;color:#f1e9ff;font:inherit}.dev-editor-workspace input[type=checkbox],.dev-editor-workspace input[type=radio]{width:16px;height:16px;flex:0 0 16px}.dev-editor-workspace .checkbox-group{justify-content:flex-start;gap:.75rem 1.25rem}.dev-panel .dev-editor-workspace button:not(.list-item){box-sizing:border-box;height:23px;min-height:23px;max-height:23px;margin:0;padding:0 8px;line-height:normal}.dev-editor-workspace :is(button,input,select,textarea,summary):focus-visible{outline:2px solid #b8e1ef;outline-offset:2px}.dev-editor-workspace .actions{align-items:center}.dev-editor-toolbar{position:sticky;top:64px;z-index:2;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem;background:#18121f;border-bottom:1px solid #71627e}.dev-editor-toolbar .actions{margin:0}.dev-editor-section{border:1px solid rgba(205,188,232,.25);padding:1rem;display:flex;flex-direction:column;gap:.85rem}.dev-editor-section>.field-block{flex:none}.dev-editor-section summary{cursor:pointer;font-weight:600}.dev-editor-section summary+*{margin-top:.85rem}.dev-editor-workspace .stat-grid{gap:.75rem}.dev-editor-workspace .stat-field{flex:1 1 120px;max-width:none;width:auto;min-width:0}.dev-editor-workspace .stat-field small{font-size:.8rem;color:#cec1de}.dev-editor-workspace .requirement-row>select{flex:1 1 160px;width:auto}.dev-editor-workspace .requirement-row>input{flex:0 0 90px;width:90px}.limb-derived-summary{display:flex;flex-wrap:wrap;gap:.75rem}.limb-derived-summary>div{flex:1 1 180px;padding:.6rem;background:#231c2c;font-size:.85rem}.limb-workspace .template-fields>.field-block{flex:none}.limb-workspace .template-tier-heading{color:#cec1de}.limb-workspace .template-slot-label{color:#f1e9ff;font-size:.9rem}.limb-workspace .template-tier-section{display:flex;flex-direction:column;gap:1rem}.items-workspace .tool-form>.field-block{flex:none}.items-workspace .recipe-section{margin:0}.items-workspace .tag-assignment-row{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem}.items-workspace .tag-assignment-row>select{flex:1 1 180px;width:auto}.items-workspace .tag-assignment-row>input{flex:0 0 90px;width:90px}.starter-scope-layout{display:flex;gap:1rem;align-items:flex-start}.starter-scope-layout>section{flex:1 1 0;min-width:0}.starter-item-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;border-bottom:1px solid #71627e;padding:.75rem 0}.starter-item-row>span{flex:1}.starter-item-row button{flex-shrink:0}.starter-scope-layout>section>div:last-child{align-items:center}.enemies-workspace .tool-form>.field-block{flex:none}.enemy-creature-options{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;border:1px solid #71627e;padding:.75rem}.enemies-workspace .abilities-fieldset{padding:1rem;gap:.75rem}.enemies-workspace .ability-section{gap:.75rem}.enemies-workspace .ability-row{padding:.5rem 0;border-bottom:1px solid #71627e}.enemies-workspace .ability-copy small{font-size:.8rem;color:#cec1de}.enemies-workspace .max-uses-label input{width:80px}.enemies-workspace .enemy-loot-controls input[type=number]{width:88px}.enemies-workspace .enemy-loot-row{display:flex;flex-direction:column;gap:.75rem;padding:.75rem}.enemies-workspace .enemy-loot-add>select{flex:1 1 200px;width:auto}.enemies-workspace .enemy-loot-add>.checkbox-group,.enemies-workspace .enemy-loot-add>.enemy-loot-controls,.enemies-workspace .enemy-loot-add>.field-row{flex-basis:100%}.enemies-workspace .member-row{padding:.75rem 0;gap:.75rem;border-bottom:1px solid #71627e}.enemies-workspace .member-row>span{flex:1}.enemies-workspace .member-row button{flex-shrink:0}.enemies-workspace .add-member-row>select{flex:1 1 180px;width:auto;min-width:0}.enemies-workspace .chance-field input{width:80px}.enemies-workspace .loot-entry-row{padding:.65rem;flex-wrap:wrap}.enemies-workspace .loot-rule{color:#cec1de;font-size:.85rem}.enemies-workspace .combat-test-layout{justify-content:center}.enemies-workspace .combat-test-layout .tool-form{flex:0 1 700px}.locations-workspace .tool-form>.field-block{flex:none}.locations-workspace .grouped-locations{align-items:stretch}.locations-workspace .list-item-row{display:flex;flex-direction:column;gap:.75rem}.locations-workspace .list-item-content{display:flex;flex-direction:column;gap:.35rem;min-width:0}.locations-workspace .list-item-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.locations-workspace .nested-item{margin-left:.75rem}.locations-workspace .internal-item{margin-left:1.5rem}.locations-workspace .type-toggle-row{display:flex;align-items:center;gap:.5rem}.locations-workspace .group-title{margin:.5rem 0;color:#f1e9ff}.locations-workspace .location-connections{display:flex;flex-direction:column;gap:.5rem}.location-connection-row{display:grid;grid-template-columns:minmax(0,1fr) 140px 130px;align-items:center;gap:.75rem;padding:.75rem 0;border-bottom:1px solid #71627e}.location-connection-row strong{overflow-wrap:anywhere}.location-connection-row .toggle-row{margin:0;font-size:.85rem}.locations-workspace .location-error{color:#ffb5b5}.ability-workspace details.ability-section>summary{cursor:pointer;font-weight:600}.ability-workspace details.ability-section[open]>summary{margin-bottom:1rem}@media(max-width:920px){.dev-grid{flex-direction:column}.dev-grid>.tool-form,.dev-grid>.tool-list{flex:unset;width:100%}}:root{--icy-blue: #d8eaf2;--button-surface: rgba(83, 94, 111, .3);--button-edge: rgba(176, 190, 204, .4);--button-highlight: rgba(91, 103, 121, .68);--button-highlight-edge: rgba(200, 215, 228, .68);--button-purple-surface: rgba(138, 43, 226, .075);--button-purple-edge: rgba(205, 188, 232, .4);--button-purple-highlight: rgba(138, 43, 226, .12);--button-purple-highlight-edge: rgba(205, 188, 232, .48)}button,button *,input[type=button],input[type=submit],input[type=reset],[role=button],[role=button] *{-webkit-user-select:none;user-select:none}button{--button-surface: var(--button-purple-surface);--button-edge: var(--button-purple-edge);--button-highlight: var(--button-purple-highlight);--button-highlight-edge: var(--button-purple-highlight-edge);--button-ink: #e8daf7}button:not(.map-tile,.social-feed .post-form button,.pell-actionbar button,.hud-card-toggle){background:var(--button-surface)!important;background-blend-mode:normal!important;border-color:var(--button-edge)!important;color:var(--button-ink)!important;box-shadow:inset 0 0 0 1px var(--button-edge),0 2px 8px #0000002e!important;text-shadow:none!important}button:not(.map-tile,.social-feed .post-form button,.pell-actionbar button,.hud-card-toggle):not(.examination-header,.section-header,.entry-header,.survey-header,.connected-locations-header,.area-description-header):not(:disabled):is(:hover,:active,.active,.selected,[aria-expanded=true],[aria-pressed=true],[aria-selected=true],.pell-button-selected){background:var(--button-highlight)!important;border-color:var(--button-highlight-edge)!important;box-shadow:inset 0 0 0 1px var(--button-highlight-edge),0 2px 8px #0000002e!important}button:not(.map-tile,.social-feed .post-form button,.pell-actionbar button):focus-visible{outline:2px solid var(--button-ink)!important;outline-offset:2px!important}button.side-tab,button.mobile-tab{--button-surface: rgba(83, 94, 111, .3);--button-edge: rgba(176, 190, 204, .4);--button-highlight: rgba(91, 103, 121, .68);--button-highlight-edge: rgba(200, 215, 228, .68);--button-ink: var(--icy-blue)}button.mobile-tab{--button-surface: rgba(55, 63, 77, .82);--button-highlight: rgba(91, 103, 121, .95);box-shadow:inset 0 0 0 1px var(--button-edge),0 -2px 8px #0000002e!important}:is(.tabs,.subtabs,.codex-tabs,.map-tabs,.mode-toggle,.type-toggle-row,[role=tablist])>button,button[role=tab]{--button-surface: rgba(91, 151, 158, .1);--button-edge: rgba(139, 190, 196, .4);--button-highlight: rgba(91, 151, 158, .2);--button-highlight-edge: rgba(169, 216, 221, .6);--button-ink: #cce7e9}:is(.tabs,.subtabs,.codex-tabs,.map-tabs,.mode-toggle,.type-toggle-row,[role=tablist])>button:is(.active,[aria-selected=true],[aria-pressed=true]),button[role=tab]:is(.active,[aria-selected=true],[aria-pressed=true]){--button-surface: rgba(91, 151, 158, .34);--button-edge: rgba(169, 216, 221, .85);--button-highlight: rgba(91, 151, 158, .34);--button-highlight-edge: rgba(169, 216, 221, .85);--button-ink: #e2f4f5}button.accent-tab{--button-surface: rgba(69, 138, 203, .22);--button-edge: rgba(106, 188, 243, .55);--button-highlight: rgba(43, 99, 165, .6);--button-highlight-edge: #73baff}button:is(.examination-header,.section-header,.entry-header,.survey-header,.connected-locations-header,.area-description-header){--button-surface: var(--button-purple-surface);--button-edge: var(--button-purple-edge);--button-highlight: var(--button-purple-highlight);--button-highlight-edge: var(--button-purple-highlight-edge);--button-ink: var(--icy-blue);border-radius:0!important}.collapse-toggle{color:var(--icy-blue)!important}button.tab-mod{--button-surface: rgba(40, 160, 80, .18);--button-edge: rgba(80, 200, 120, .35);--button-highlight: rgba(40, 160, 80, .3);--button-highlight-edge: rgba(80, 200, 120, .65);color:#80d890!important}button:is(.danger,.danger-btn,.danger-sm,.btn-flee,.submenu-close,.close,.mobile-close,.interact-btn-leave,.trouble-button,.tab-mod.mod-pending){--button-surface: rgba(150, 55, 65, .2);--button-edge: rgba(222, 92, 100, .45);--button-highlight: rgba(170, 65, 75, .38);--button-highlight-edge: rgba(240, 140, 150, .68);color:#f5a9a9!important}button.combat-test{--button-surface: rgba(170, 110, 45, .2);--button-edge: rgba(230, 170, 90, .45);--button-highlight: rgba(190, 130, 55, .38);--button-highlight-edge: rgba(245, 195, 125, .68);color:#ffe3c2!important}.social-feed .post-form button,.pell-actionbar button{background:var(--button-purple-surface)!important;background-blend-mode:normal!important;border-color:var(--button-purple-edge)!important;color:#e8daf7!important;box-shadow:inset 0 0 0 1px var(--button-purple-edge),0 2px 8px #0000002e!important;text-shadow:none!important}.social-feed .post-form button:not(:disabled):is(:hover,:active,.pell-button-selected),.pell-actionbar button:not(:disabled):is(:hover,:active,.pell-button-selected),button:is(.examination-header,.section-header,.survey-header,.connected-locations-header,.area-description-header):not(.entry-header):not(:disabled):hover{background:var(--button-purple-highlight)!important;border-color:var(--button-purple-highlight-edge)!important;box-shadow:inset 0 0 0 1px var(--button-purple-highlight-edge),0 2px 8px #0000002e!important}button.entry-header,button.list-item{--button-surface: rgba(83, 94, 111, .3);--button-edge: rgba(176, 190, 204, .4);--button-highlight: rgba(91, 103, 121, .68);--button-highlight-edge: rgba(200, 215, 228, .68);--button-ink: var(--icy-blue)}button:is(.examination-header,.section-header,.entry-header,.survey-header,.connected-locations-header,.area-description-header),button:has(.collapse-toggle){border-radius:0!important}button.entry-header:not(:disabled):hover{background:var(--button-highlight)!important;border-color:var(--button-highlight-edge)!important;box-shadow:inset 0 0 0 1px var(--button-highlight-edge),0 2px 8px #0000002e!important}.social-feed .post-form button:focus-visible,.pell-actionbar button:focus-visible{outline:2px solid #e8daf7!important;outline-offset:2px!important}:root{--shell-surface: rgba(10, 17, 24, .94)}.game-modal-backdrop{position:fixed;inset:0;z-index:1200;background:#000000b8;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:1rem}.game-modal-panel.panel{box-sizing:border-box;width:min(780px,96vw);max-height:90vh;display:flex;flex-direction:column;padding:0;gap:0;overflow:hidden;background:var(--shell-surface);border:1px solid rgba(173,193,205,.36);border-left:0;border-right:0;box-shadow:0 14px 24px #4f026359,inset 0 1px #d8eaf229,inset 0 0 0 3px #0a111852}.game-modal-header{display:flex;align-items:center;justify-content:center;padding:.7rem 1.2rem;border-bottom:1px solid rgba(173,193,205,.3);flex-shrink:0;gap:.75rem}.game-modal-header h2{margin:0;text-align:center;color:var(--icy-blue);font-size:1.35rem}.game-modal-body{min-height:0;overflow-y:auto;padding:1rem 1.2rem;display:grid;gap:.8rem;color:#e8daf7;line-height:1.5}.game-modal-body p{margin:0}.game-modal-actions{display:flex;justify-content:center;gap:.6rem;flex-wrap:wrap;padding:.8rem 1.2rem;border-top:1px solid rgba(173,193,205,.3);flex-shrink:0}:is(.overlay-drawer,.mobile-drawer,.submenu-shell,.submenu-panel,.modal-panel,.modal-card,.codex-panel,.mod-panel,.flag-modal,.victory-panel,.catastrophe-panel,.wilderness-drop-panel,.fames-confirm-dialog,.warning-panel,.game-modal-panel){background:var(--shell-surface)!important}.inventory-use-result{margin:.5rem 0 0;box-sizing:border-box;width:100%;padding:.5rem .6rem;background:#58cfa51f;border:1px solid rgba(88,207,165,.45);color:#bbf5df}:is(.overlay-drawer,.mobile-drawer) .examination.panel{background:transparent!important}@media(max-width:1079px){:is(dialog,.overlay-drawer,.mobile-drawer,.submenu-shell,.modal-panel,.modal-card,.codex-panel,.mod-panel,.flag-modal,.victory-panel,.catastrophe-panel,.wilderness-drop-panel,.fames-confirm-dialog,.warning-panel){box-sizing:border-box;min-height:0!important;max-height:70vh!important;overflow-y:auto!important}}:is(.action-row,.card-actions,.actions,.action-buttons,.news-actions,.section-actions,.template-row-actions,.corpus-row-actions,.wilderness-drop-actions,.fames-confirm-actions,.sector-actions,.working-panel-actions,.flag-actions):not(.social-feed .post-form *){justify-content:center!important}button:is(.confirm-btn,.use-btn,.interact-btn):not(.pell-actionbar button,.social-feed .post-form button){margin-left:auto;margin-right:auto;align-self:center}label:has(input[type=checkbox]){display:flex!important;flex-direction:row!important;align-items:center!important;gap:.4rem!important;font-size:.8rem!important;font-weight:400!important;color:#c8b8e8!important;cursor:pointer;-webkit-user-select:none;user-select:none}label input[type=checkbox]{width:15px!important;height:15px!important;flex:0 0 15px;accent-color:#8a2be2;cursor:pointer}.count-badge{position:absolute;top:-10px;right:-6px;z-index:2;display:grid;place-items:center;min-width:1.1rem;height:1.1rem;padding:0 .2rem;border:1px solid rgba(255,255,255,.85);border-radius:999px;background:#8a2be2;color:#fff;font-size:.65rem;font-weight:700;line-height:1;box-sizing:border-box;pointer-events:none}.count-badge.in-section{position:static;margin-left:auto;flex:0 0 auto}.global-pell-wrapper .pell,.rte-wrapper .pell{display:flex;flex-direction:column;border:1px solid rgba(205,188,232,.22);background:#0c09128c}.global-pell-wrapper .pell-actionbar,.rte-wrapper .pell-actionbar{display:flex;flex-wrap:wrap;align-items:center;gap:.2rem;padding:.3rem;background:unset;border-bottom:unset}.global-pell-wrapper .pell-actionbar button,.rte-wrapper .pell-actionbar button{min-width:2rem;min-height:2rem;padding:.2rem .4rem;border:1px solid rgba(205,188,232,.24);background:#1f172b9e;color:#e8daf7;cursor:pointer}.global-pell-wrapper .pell-actionbar button:hover,.rte-wrapper .pell-actionbar button:hover{background:#c45a9f33;border-color:#cdbce880}.global-pell-wrapper .pell-actionbar button.pell-button-selected,.rte-wrapper .pell-actionbar button.pell-button-selected{background:#8a2be252;border-color:#cdbce8a6}.global-pell-wrapper .pell-content,.rte-wrapper .pell-content{min-height:150px;padding:.55rem .65rem;color:#f1e9ff;white-space:pre-wrap;outline:none}.global-pell-wrapper .pell-content[contenteditable=false],.rte-wrapper .pell-content[contenteditable=false]{opacity:.7;cursor:not-allowed}.global-pell-wrapper .pell-content:empty:before,.rte-wrapper .pell-content:empty:before{content:attr(data-placeholder);color:#f1e9ff80}.pell-content{background:#00000080;overflow-y:auto;max-height:300px}h1,h2,h3,h4,h5{font-family:Cinzel,Times New Roman,serif}:root{color-scheme:dark;font-family:Sansation,Times New Roman,serif!important;--bg-0: #09070d;--bg-1: #15111d;--bg-2: #21192b;--panel: linear-gradient(160deg, #16181b 10%, #25292e 50%, #3b3d3f 100%);--panel-soft: rgba(35, 28, 45, .24);--line: 1px solid rgba(20, 22, 26, .9);--ink-0: #e8e1d6;--ink-1: #ddd4c6;--ink-2: #f0e7db;--purp-ink: #d49bd4;--accent: #8a2be2;--accent-2: #c45a9f;--success: #58cfa5;--danger: #ff6f8d;--steel: url(/build/assets/buried-lYTLIpgN.png), url(/build/assets/grime-DKCiM5ax.png), linear-gradient(160deg, #1a1b1d 15%, #2a2c30 45%, #3a2f2a 100%);--worn_steel: url(/build/assets/buried-lYTLIpgN.png), url(/build/assets/grime-DKCiM5ax.png), linear-gradient(160deg, #16181b 10%, #25292e 50%, #3b3d3f 100%);--rusted: url(/build/assets/buried-lYTLIpgN.png), url(/build/assets/grime-DKCiM5ax.png), linear-gradient(160deg, #141518 0%, #23262b 50%, #3c2f2a 100%)}textarea{resize:vertical}*{box-sizing:border-box}html,body{margin:0;min-height:100%}body:before{animation:driftA 18s ease-in-out infinite}body:after{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(circle at 60% 20%,rgba(16,78,141,.25),transparent 15%),radial-gradient(circle at 30% 70%,rgba(20,100,100,.25),transparent 20%);filter:blur(30px);animation:driftB 28s ease-in-out infinite}@keyframes driftA{0%,to{transform:translate(-20%,-10%) scale(1.1)}50%{transform:translate(20%,15%) scale(1.25)}}@keyframes driftB{0%,to{transform:translate(15%,10%) scale(1.05)}50%{transform:translate(-25%,-20%) scale(1.2)}}body{min-height:100vh;overflow-x:clip;position:relative;z-index:0;background:url(/build/assets/buried-lYTLIpgN.png),url(/build/assets/green-dust-and-scratches-BGf9TiMp.png),url(/build/assets/noise-CVsiaWVz.png),url(/build/assets/grime-DKCiM5ax.png),radial-gradient(circle at 18% 22%,rgba(120,71,30,.4),transparent 28%),radial-gradient(circle at 80% 45%,rgba(120,71,30,.2),transparent 28%),radial-gradient(circle at 82% 12%,rgba(40,90,70,.2),transparent 32%),radial-gradient(circle at 55% 110%,rgba(20,20,20,.9),transparent 45%),radial-gradient(circle at 40% 60%,rgba(0,0,0,.8),transparent 35%),radial-gradient(circle at 85% 70%,rgba(25,35,30,.12),transparent 45%),radial-gradient(circle at 62% 108%,rgba(15,12,10,.85),transparent 55%),radial-gradient(circle at 35% 55%,rgba(0,0,0,.219),transparent 40%),linear-gradient(165deg,#1a1412,#120e0d 45%,#070606),linear-gradient(165deg,#1a171c,#131118,#0a090c);background-blend-mode:overlay,normal,multiply,soft-light,difference,difference,normal,difference,difference;color:var(--ink-0)}main{min-height:calc(100vh - 60px);position:relative;z-index:1}h2{padding:0;margin:0}a{color:inherit}button,input,textarea,select{font:inherit}input,select{height:30px;padding:3px 6px;font-size:16px;line-height:unset}#svelte-app{min-height:100vh;width:100%}.guest-shell{min-height:100vh;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:1.5rem;padding:1.25rem}.guest-panel{width:min(100%,620px);padding:2rem;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.panel{padding:0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);max-width:50vw;width:950px;margin-bottom:15px}.panel,.guest-panel,.vitals-widget,.world-map-nav{border-radius:3px;background:var(--worn_steel);background-blend-mode:multiply;box-shadow:0 2px #0009,0 10px 24px #0000008c,0 0 14px #b45a3c40,inset 0 1px #ffaa821f;border:var(--line)}main.main_panel{--hud-edge: rgba(173, 193, 205, .36);--hud-line: rgba(173, 193, 205, .18);--hud-ink: #d8eaf2;--hud-readout: rgba(10, 17, 24, .38)}main.main_panel :is(.panel,.vitals-widget,.world-map-nav){border-color:var(--hud-edge);box-shadow:0 2px #0009,0 10px 24px #0000008c,0 0 14px #b45a3c33,inset 0 1px #d8eaf229,inset 0 0 0 3px #0a111852;transition:border-color .4s ease,box-shadow .4s ease}main.main_panel{--hud-danger-edge: rgba(222, 92, 100, .62);--hud-danger-glow: rgba(214, 64, 76, .38);transition:box-shadow .4s ease}main.main_panel.danger-zone{box-shadow:inset 0 0 60px #be2c3a52,inset 0 0 0 1px #de5c6438}main.main_panel.danger-zone :is(.panel,.vitals-widget,.world-map-nav){border-color:var(--hud-danger-edge);box-shadow:0 2px #0009,0 10px 24px #0000008c,0 0 16px var(--hud-danger-glow),inset 0 1px #d8eaf229,inset 0 0 0 3px #0a111852}main.main_panel button:focus-visible{outline:2px solid var(--hud-ink);outline-offset:2px}main.main_panel :is(.center-panel-header,.inv-section>.section-header,.inv-section .entry>.section-header){width:100%;min-height:44px;padding:.5rem .75rem}main.main_panel :is(.survey-header,.connected-locations-header){width:100%;min-height:32px;padding:4px .75rem}main.main_panel .center-panel-header .eyebrow{padding:0}main.main_panel :is(.section-card,.inv-section){border-color:var(--hud-line)}main.main_panel .drawer-body .inv-section>.section-header{border-left:2px solid transparent;border-bottom-color:var(--hud-line)}main.main_panel .drawer-body .inv-section>.section-header:is(:hover,[aria-expanded=true]){border-left-color:var(--hud-ink);background:var(--hud-readout)}main.main_panel .drawer-body .inv-section>.section-header .eyebrow{color:var(--hud-ink);letter-spacing:0}.rusted{background:url(/build/assets/buried-lYTLIpgN.png),url(/build/assets/grime-DKCiM5ax.png),linear-gradient(160deg,#1f1b1a,#5a2b22 40%,#b45a3c);box-shadow:0 2px #0009,0 10px 24px #0000008c,0 0 14px #b45a3c40,inset 0 1px #ffaa821f;background-blend-mode:multiply;border-radius:3px;border:var(--line)}.steel{background:var(--steel);box-shadow:0 2px #0009,0 10px 24px #0000008c,0 0 14px #b45a3c40,inset 0 1px #ffaa821f;background-blend-mode:multiply;border-radius:3px;border:var(--line)}.worn_steel{background:var(--worn_steel);box-shadow:0 2px #0009,0 10px 24px #0000008c,0 0 14px #b45a3c40,inset 0 1px #ffaa821f;background-blend-mode:multiply;border-radius:3px;border:var(--line)}.guest-panel h1{margin:0;font-size:clamp(2rem,8vw,3.8rem);line-height:.95;letter-spacing:-.02em}.lead{margin:.95rem 0 0;color:var(--ink-1);line-height:1.7}.status{margin:1rem 0 0;padding:.75rem;background:#58cfa51f;border:1px solid rgba(88,207,165,.45);color:#bbf5df}.status.sm{padding:.25rem;font-size:.75rem}.tabs{margin-top:1.25rem;display:inline-flex;gap:.45rem;padding:.45rem}.tab-panel{display:none}.tab-panel.active{display:block}.tab-panel form{display:grid;gap:.55rem}.tab-panel label{font-weight:600;color:var(--ink-0)}h3,h4,h5{color:var(--icy-blue)}button{padding:3px 8px;font-weight:700;cursor:pointer;border-radius:3px;text-align:center;border:1px solid var(--button-edge, rgba(205, 188, 232, .4))}button:disabled{opacity:.6;cursor:not-allowed}label{color:#d49bd4}.tab-panel input{border:1px solid rgba(205,188,232,.25);padding:.68rem .78rem;background:#0b0910a6;color:var(--ink-0);outline:none}.tab-panel input:focus{border-color:#c45a9fcc;box-shadow:0 0 0 2px #c45a9f33}.tab-panel button[type=submit]{margin-top:.45rem;cursor:pointer;width:200px;height:35px;margin:0 auto}button:not(:disabled,.map-tile,.social-feed .post-form button,.pell-actionbar button,.hud-card-toggle):hover{background:var(--button-highlight, rgba(138, 43, 226, .12))!important;border-color:var(--button-highlight-edge, rgba(205, 188, 232, .48))!important;box-shadow:inset 0 0 0 1px var(--button-highlight-edge, rgba(205, 188, 232, .48)),0 2px 8px #0000002e!important;filter:brightness(1.06)}.error{margin:0;color:var(--danger);font-size:.9rem}.ghost{border:1px solid rgba(205,188,232,.35);background:#ffffff0d;cursor:pointer;color:#f1e9ff;transition:background .15s,border-color .15s,box-shadow .15s;margin:5px 0}.ghost:hover:not(:disabled){background:#cdbce82e;border-color:#cdbce8a6;box-shadow:0 0 6px #cdbce82e;color:#fff}.ghost:disabled{opacity:.45;cursor:default}.action-btn{width:150px;font-size:.9rem;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;margin:5px}.btn-flee{flex:0 0 auto;background:#2d1a1a;border-color:#7a3a3a;color:#e88}.btn-flee:hover:not(:disabled){background:#3d2a2a}.btn-flee.no-escape{cursor:default;opacity:.6;letter-spacing:.05em;pointer-events:none}.flee-control{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.flee-label{color:#e88;font-size:.85em;white-space:nowrap}.flee-select{background:#1a1010;border:1px solid #7a3a3a;color:#e88;padding:2px 6px;font-size:.85em;cursor:pointer}.submenu-close{min-width:40px;height:32px;border:1px solid #7a3a3a;background:#2d1a1a;color:#e88;font-weight:700;cursor:pointer}.submenu-close:hover:not(:disabled){background:#3d2a2a}.confirm-btn{min-width:120px;border:1px solid transparent;background:#355d87;border-color:#6fa0d4;color:#f4f8ff;cursor:pointer}.examine-btn{background:#8cd26426;border:1px solid rgba(140,210,100,.45);color:#d8f0b8;font-weight:700;cursor:pointer;font-size:.95rem}.examine-btn:hover{background:#8cd26447}.close{align-self:center;border:1px solid #7a3a3a;background:#2d1a1a;color:#e88;font-weight:700;width:32px;height:30px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:1rem;line-height:1}.close.wide{width:fit-content}.close:hover:not(:disabled){background:#3d2a2a}.mobile-close{align-self:center;border:1px solid #7a3a3a;background:#2d1a1a;color:#e88;font-weight:700;width:32px;height:30px;cursor:pointer;font-size:1rem;margin-bottom:0;line-height:1}.mobile-close:hover:not(:disabled){background:#3d2a2a}.logout-btn{display:inline-flex;align-items:center;justify-content:center;height:30px;width:30px}.dev-toggle{border:1px solid rgba(196,90,159,.7);background:#c45a9f33;cursor:pointer;color:#f1e9ff;font-weight:700;transition:background .15s,border-color .15s,box-shadow .15s}.dev-toggle:hover:not(:disabled){background:#c45a9f6b;border-color:#dc78b4f2;box-shadow:0 0 8px #c45a9f59;color:#fff}.collapse-toggle{font-size:32px;line-height:.5em;color:#8a7da0;transition:transform .18s;display:inline-block}.collapse-toggle.open{transform:rotate(90deg)}.combat-test{border:1px solid rgba(230,138,43,.8);background:#e68a2b33;cursor:pointer;color:#ffe3c2;font-weight:700}.combat-test:hover{background:#e68a2b4d}.tabs button.active{color:#fff}button.danger{background:linear-gradient(120deg,#af1f4bf2,#78102ef2)}button.danger:disabled{opacity:.4;cursor:not-allowed}.examination input{border:1px solid rgba(205,188,232,.25);background:#09070db8;color:#f1e9ff;width:75px}.examination{display:grid;gap:.65rem;padding:10px;margin-top:15px;border-color:#82c8dc4d}.examination>.descriptive_text{padding:.5em .75em}.center-panel-header,.examination-header{border-bottom:1px solid var(--hud-line, rgba(205, 188, 232, .18));display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:.75rem;cursor:pointer;text-align:left;width:100%}.center-panel-title{margin:0;padding:0;font-family:inherit;text-transform:uppercase;letter-spacing:.12em;font-size:.8rem;color:var(--icy-blue);font-weight:700}.examination .eyebrow,.examination .descriptive_text,.examination .meta,.examination .empty,.examination .option-name,.examination .option-meta,.examination .error,.examination .info{margin:0}.examination .close-hint{color:#c8eaf0;font-size:.85rem;line-height:1;opacity:.6}.examination .interact-btn{margin:.5em auto 0;width:150px}.examination .meta,.examination .option-meta,.examination .empty{font-size:.85rem;color:#b8abc9}.requirements,.consumption-config{display:grid;gap:.3rem;border:1px solid rgba(130,200,220,.22);padding:.5rem .7rem;background:#101c2138}.requirements-title{margin:0;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:#a7d6e1}.requirement-row{margin:0;font-size:.86rem}.requirement-row.met{color:#86d8a7}.requirement-row.unmet{color:#e38f8f}.consumed-note{margin-left:.45rem;font-size:.74rem;color:#e7c17c}.resource-block{display:grid;gap:.3rem;border-top:1px solid rgba(130,200,220,.16);padding-top:.3rem}.tag_wrap{padding:3px 8px;width:fit-content;font-weight:700;text-transform:uppercase;letter-spacing:.12em;font-size:.8rem;border:1px solid rgba(130,200,220,.25);background:#82c9dc15;color:#9bd4d4}.tag-section-header{display:flex;align-items:center;gap:.6rem}.tag-progress{font-size:.8rem;font-weight:700}.tag-progress.met{color:#86d8a7}.tag-progress.unmet{color:#e38f8f}.source-row{display:flex;align-items:flex-start;justify-content:space-between;gap:.6rem;padding:.2rem 0}.source-info{display:flex;flex-direction:column;gap:.1rem;font-size:.84rem}.source-name{font-weight:600}.source-meta{font-size:.76rem;color:#8faabd}.cross-tag-note{font-size:.74rem;color:#e7c17c}.entry-header{padding:.45rem 1.1rem;background:transparent;box-shadow:unset}@media(max-width:680px){.panel{max-width:unset;width:95vw}}
