.sheet-workspace{--sheet-accent:#ff7687;--sheet-border:#a85e6959;--sheet-bg:#260d16;--sheet-ink:#ffeef1;background:radial-gradient(ellipse at 80% 0,#a61d3e50,transparent 55%),linear-gradient(130deg,#50101c,#2d111e 55%,#601527);color:var(--sheet-ink);padding:22px;border:1px solid #72343f;border-radius:20px;position:relative;isolation:isolate}.sheet-workspace:before{content:"";position:absolute;inset:0;background:linear-gradient(28deg,transparent 60%,#ff5f7110 60% 72%,transparent 72%);pointer-events:none;z-index:-1;border-radius:inherit}.sheet-topline{display:flex;align-items:center;gap:18px;margin-bottom:22px;flex-wrap:wrap}.sheet-topline>.row{margin-left:auto}.sheet-topline .btn{background:#35131d;border-color:#a8556666;color:#ffeef1;font-size:11px}.sheet-back{color:#f6c4ce;font-size:12px}.sheet-system{font-size:10px;letter-spacing:.12em;color:#d8a0ad;max-width:230px}.sheet-three-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,.95fr);align-items:start;gap:16px}.sheet-panel{min-width:0;background:#200b13bd;border:1px solid var(--sheet-border);border-radius:15px;overflow:hidden;box-shadow:0 12px 24px #0002}.sheet-panel-tabs{display:flex;gap:3px;padding:12px 9px 8px;border-bottom:1px solid var(--sheet-border);background:#331019}.sheet-panel-tabs button{flex:1;min-width:0;background:transparent;border:0;color:#ce9ca8;font-size:11px;padding:7px 4px;border-radius:20px;white-space:nowrap}.sheet-panel-tabs button.selected{background:#a51838;color:#fff}.sheet-panel-scroll{height:calc(100dvh - 285px);min-height:530px;max-height:1050px;overflow-y:auto;overscroll-behavior:contain;padding:16px 13px;scrollbar-width:thin;scrollbar-color:#9d5d70 #220f19}.sheet-workspace [hidden],.sheet-gallery [hidden]{display:none!important}.sheet-identity{text-align:center;padding:12px 4px 20px;border-bottom:1px dashed #be899455;margin-bottom:18px}.sheet-portrait{height:105px;width:105px;margin:0 auto 14px;background:radial-gradient(circle at 30% 25%,#e99baf,#873247 50%,#260d1b);border:2px solid #cf8e9f88;border-radius:50%;display:grid;place-items:center;overflow:hidden;box-shadow:0 0 0 7px #9d345f17,0 10px 24px #0003}.sheet-portrait img{width:100%;height:100%;object-fit:cover}.sheet-portrait>span{font-family:Georgia,serif;font-size:48px;color:#ffe5ed}.sheet-identity h1{font-family:Georgia,serif;font-size:27px;overflow-wrap:anywhere;font-weight:500}.sheet-identity p{font-size:12px;color:#edb3c4;margin:6px 0}.sheet-identity>small{display:block;font-size:10px;color:#bc8b9b;margin-bottom:14px}.sheet-category{--category-accent:#df788c;--category-columns:1;padding:15px 0 18px;border-bottom:1px dashed #bf748c44;margin-bottom:8px;min-width:0}.sheet-category>p,.sheet-category .small-note{font-size:11px;line-height:1.65;color:#d2a9b5}.sheet-category-title{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #bd7f9233;padding-bottom:9px;margin-bottom:13px}.sheet-category-title h3,.sheet-category>h3{color:var(--category-accent);font-size:13px;font-weight:650;overflow-wrap:anywhere}.sheet-category-title .row{gap:1px}.sheet-category-title .btn{padding:3px;min-height:25px}.sheet-category-fields{display:grid;grid-template-columns:repeat(var(--category-columns),minmax(0,1fr));gap:10px}.sheet-value{position:relative;background:#ffffff08;border:1px solid #b97f9044;border-radius:14px;padding:11px 7px;min-width:0;text-align:center;overflow:hidden}.sheet-value>.row{justify-content:center;gap:0}.sheet-value label{font-size:10px;color:#e8c4cf;font-weight:550}.sheet-value input{border:0;text-align:center;font-size:30px;font-weight:750;padding:5px;background:transparent!important;color:#fff!important;box-shadow:none;line-height:1.2;border-radius:5px;width:100%}.sheet-value input[readonly]{color:#f3b4c7!important}.sheet-value .btn{font-size:9px;padding:4px 7px}.sheet-field-tools{display:flex;justify-content:flex-end;gap:1px;flex-wrap:wrap}.sheet-field-tools .btn{color:#eeb0c3;min-width:22px;padding:2px 5px;font-size:12px;background:transparent;border:0;min-height:24px}.sheet-field-tools .icon{width:13px;height:13px}.sheet-value .sheet-field-tools{position:absolute;top:0;right:0;opacity:.4}.sheet-value:hover .sheet-field-tools,.sheet-value:focus-within .sheet-field-tools,.is-editing .sheet-value .sheet-field-tools{opacity:1}.sheet-value .sheet-field-caption{font-size:9px;line-height:1.5;max-width:100%;overflow-wrap:anywhere}.sheet-resource{min-width:0;margin:3px 0 4px}.sheet-resource>.row>label{font-size:12px;font-weight:550}.sheet-resource-track{position:relative;background:#341c2b;border:1px solid #ce8b9c44;border-radius:12px;overflow:hidden;min-height:39px}.sheet-resource-track>span{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#ab2447,#df5978);opacity:.8;transition:width .2s;pointer-events:none}.sheet-resource[data-field=EN] .sheet-resource-track>span,.sheet-resource[data-field=PE] .sheet-resource-track>span{background:linear-gradient(90deg,#603093,#9b65ce)}.sheet-resource-inputs{position:relative;display:flex;gap:3px;align-items:center;padding:3px 5px}.sheet-resource-inputs input{padding:4px 1px;border:0;background:transparent!important;text-align:center;width:100%;font-size:16px;font-weight:700;color:white!important;box-shadow:none}.sheet-resource-inputs b{font-size:12px;opacity:.65}.sheet-resource-inputs .btn{padding:3px 8px;min-height:30px;background:#0001;border:0;color:white;font-size:19px}.sheet-field-caption{display:flex;align-items:center;justify-content:space-between;gap:4px;color:#be96a4;font-size:9px;overflow-wrap:anywhere;margin-top:5px}.sheet-field-caption .btn{padding:0 3px;min-height:20px;font-size:9px;background:none;border:0;color:#e4a5b9}.sheet-text-field{position:relative;min-width:0}.sheet-text-field>.sheet-field-tools{position:absolute;right:1px;top:-6px;z-index:1}.sheet-check-field{display:flex;align-items:center;justify-content:space-between;border:1px solid #a3657944;border-radius:10px;padding:10px}.sheet-workspace .field>span{color:#e9c2ce;font-size:11px}.sheet-workspace input,.sheet-workspace textarea,.sheet-workspace select{background:#401b2b;border-color:#ba81934d;color:#fff0f5;padding:9px 10px;font-size:12px}.sheet-workspace input:focus,.sheet-workspace textarea:focus,.sheet-workspace select:focus{border-color:#ff9db5;box-shadow:0 0 0 2px #ffb6c511}.sheet-workspace textarea{min-height:150px;line-height:1.7}.sheet-workspace input:disabled,.sheet-workspace select:disabled{opacity:.8}.sheet-workspace .btn.primary{background:#ff7188;color:#260911;border-color:#ff7188}.sheet-workspace .btn.ghost{color:#e9bccb;border-color:#a16a7e55}.sheet-workspace .tag{background:#632038;border-color:#99536a;color:#f4c7d6}.sheet-workspace .tag.gray{background:#301b2a;color:#b695a7;border-color:#71445a}.sheet-layout-list .sheet-category-fields,.sheet-layout-compact .sheet-category-fields{grid-template-columns:1fr}.sheet-layout-list .sheet-value,.sheet-layout-compact .sheet-value{display:flex;align-items:center;gap:10px;padding:6px 10px;text-align:left}.sheet-layout-list .sheet-value>.row,.sheet-layout-compact .sheet-value>.row{margin-right:auto;min-width:0}.sheet-layout-list .sheet-value input,.sheet-layout-compact .sheet-value input{max-width:75px;font-size:22px}.sheet-layout-list .sheet-field-tools,.sheet-layout-compact .sheet-field-tools{position:static}.sheet-layout-list .sheet-value .sheet-field-caption,.sheet-layout-compact .sheet-value .sheet-field-caption{display:none}.sheet-layout-compact .sheet-value{padding:2px 8px;border-radius:7px}.sheet-layout-compact .sheet-category-fields{gap:5px}.sheet-layout-compact .sheet-value input{font-size:18px}.sheet-ability{background:#401d2c;border:1px solid #b97d9044;border-radius:10px;margin-bottom:9px;overflow:hidden}.sheet-ability summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 11px;font-size:12px}.sheet-ability summary small{font-size:9px;color:#ce98ae}.sheet-ability p{padding:0 12px 10px;font-size:11px;line-height:1.7;white-space:pre-wrap;color:#dcb9c7}.sheet-ability>.row{padding:0 11px 12px}.sheet-workspace #arcane-panel{margin:0;padding-top:5px}.sheet-workspace #arcane-panel .section-head h2{font-size:20px}.sheet-workspace #arcane-panel .small-note{font-size:10px;color:#c89bad}.sheet-workspace .arcane-toolbar{display:flex;flex-direction:column;gap:7px}.sheet-workspace #arcane-cards{grid-template-columns:1fr;gap:9px}.sheet-workspace .arcane-ability{background:#361927;border-color:#a3668044;padding:12px}.sheet-workspace .arcane-ability h3{font-size:14px}.sheet-workspace .arcane-ability p{font-size:11px}.sheet-workspace .arcane-ability .btn{font-size:10px}.sheet-workspace .arcane-origin .form-grid{grid-template-columns:1fr}.sheet-workspace .arcane-origin{background:none;border:0;padding:15px 0}.sheet-workspace .arcane-origin .small-note{color:#cfa6b6}.sheet-dicebox{display:flex;flex-direction:column;gap:14px}.sheet-dice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sheet-dice-grid>div{display:flex;flex-direction:column;align-items:center;min-width:0}.sheet-die{width:75px;height:77px;max-width:100%;border:1px solid #ff8baf77;color:#ffd9e9;background:linear-gradient(145deg,#db3c63,#7b1337);clip-path:polygon(50% 1%,96% 25%,96% 76%,50% 99%,4% 76%,4% 25%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;font-weight:700;cursor:pointer}.sheet-die>span{font-size:11px;color:#ffb8ce}.sheet-die b{font-size:27px;line-height:1.2}.sheet-die.die-4{clip-path:polygon(50% 2%,100% 98%,0 98%)}.sheet-die.die-6{clip-path:polygon(10% 12%,90% 12%,90% 88%,10% 88%)}.sheet-die.die-8{clip-path:polygon(50% 0,98% 50%,50% 100%,2% 50%)}.sheet-die.chosen{background:linear-gradient(145deg,#fb899e,#d51d4d);filter:drop-shadow(0 0 5px #ff9eb8)}.sheet-die-less{color:#c9869f;background:none;border:0;padding:0 15px;font-size:20px;line-height:1;min-height:25px}.sheet-dicebox>.row .primary{flex:1}.sheet-roll-result{display:flex;flex-direction:column;align-items:center;border:1px solid #e76c8b88;padding:15px;border-radius:12px;background:#92123b33}.sheet-roll-result strong{font-size:45px;color:#ffb6cb}.sheet-shortcuts{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.sheet-shortcuts .btn{background:#381526;font-size:10px}.sheet-new-section{width:100%;border:0;border-top:1px dashed #d58a9c77;background:transparent;color:#e1a4b6;margin:25px 0 10px;padding:15px 5px;font-weight:700;font-size:11px;letter-spacing:.05em}.sheet-new-section span{font-size:22px;vertical-align:middle;margin-right:5px}.sheet-formula-row{display:flex;align-items:center;gap:9px;border-bottom:1px solid #aa667644;padding:12px 0;min-width:0}.sheet-formula-row>div{flex:1;min-width:0}.sheet-formula-row strong{display:block;font-size:12px}.sheet-formula-row code,.sheet-formula-row small{display:block;margin-top:3px;overflow-wrap:anywhere;font-size:10px;color:#c997ac}.sheet-savebar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;font-size:11px;color:#eab7c8}.sheet-savebar .btn{font-size:12px}.sheet-modal{background:#241319!important;border-color:#754456!important;max-width:1000px!important}.sheet-modal .dialog-head{background:#2e1922}.sheet-gallery{display:grid;grid-template-columns:180px minmax(0,1fr);gap:22px;min-height:440px}.sheet-gallery aside{display:flex;flex-direction:column;background:#17131b;padding:12px;border-radius:10px;align-self:stretch;gap:5px}.sheet-gallery aside .field{margin-bottom:14px}.sheet-gallery-filter{background:none;border:0;padding:10px;text-align:left;color:#d3c1ce;border-radius:6px;font-size:12px}.sheet-gallery-filter.active{background:#74349c;color:#fff}.sheet-gallery-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-content:start}.sheet-gallery-card{background:#2c2934;border:1px solid #77717d66;border-radius:9px;padding:7px;text-align:left;min-width:0;color:#eee3ef}.sheet-gallery-card:hover,.sheet-gallery-card:focus-visible{border-color:#d596c7;outline:2px solid #b678b177}.sheet-gallery-card strong{display:block;font-size:12px;padding:10px 3px 4px}.sheet-gallery-card small{font-size:10px;display:block;padding:0 3px 8px;color:#b7a9be}.sheet-gallery-example{height:150px;background:#12141c;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px}.sheet-gallery-example>span{font-size:46px;font-weight:750;color:#ddc7ec}.sheet-gallery-example i{width:80%;height:12px;border-radius:15px;background:linear-gradient(90deg,#7d3bd2 65%,#36343e 65%)}.sheet-gallery-example i:nth-child(3){background:linear-gradient(90deg,#188f74 80%,#36343e 80%)}.sheet-gallery-example i:nth-child(4){background:linear-gradient(90deg,#296cc7 45%,#36343e 45%)}.example-text>span,.example-textarea>span{font-family:Georgia,serif}.vault-delete-list{max-height:300px;overflow:auto;padding:12px;background:#13131c;border:1px solid var(--line);border-radius:9px;margin:18px 0}.vault-delete-list .check-label{padding:9px 0;align-items:flex-start}.vault-delete-list .check-label span{overflow-wrap:anywhere}.vault-delete-list p{font-size:12px;overflow-wrap:anywhere;padding:5px 0}
@media(min-width:1600px){.sheet-panel-scroll{padding:20px}.sheet-workspace{padding:26px}.sheet-die{height:94px;width:92px}.sheet-die b{font-size:33px}}
@media(max-width:1250px){.sheet-three-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-three-columns>.sheet-panel:last-child{grid-column:1/-1}.sheet-three-columns>.sheet-panel:last-child .sheet-panel-scroll{height:auto;max-height:650px;min-height:300px}.sheet-dice-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.sheet-panel-scroll{height:700px}.sheet-system{display:none}}
@media(max-width:760px){.sheet-workspace{padding:12px;border-radius:13px}.sheet-three-columns{grid-template-columns:1fr}.sheet-three-columns>.sheet-panel:last-child{grid-column:auto}.sheet-panel-scroll{height:auto;max-height:780px;min-height:0}.sheet-topline>.row{margin-left:0}.sheet-topline{gap:10px;margin-bottom:14px}.sheet-topline .btn{font-size:10px;padding:6px}.sheet-dice-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sheet-gallery{grid-template-columns:1fr}.sheet-gallery aside{flex-direction:row;flex-wrap:wrap}.sheet-gallery aside .field{width:100%;margin-bottom:5px}.sheet-gallery-filter{padding:7px}.sheet-gallery-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-gallery-example{height:125px}.sheet-savebar{flex-wrap:wrap}.sheet-category-fields{gap:7px}}
@media print{.sheet-workspace,.sheet-panel{background:white!important;color:black!important;border:1px solid #aaa;box-shadow:none;padding:10px}.sheet-workspace:before,.sheet-panel-tabs,.sheet-topline,.sheet-field-tools,.sheet-savebar,.sheet-new-section,.sheet-dicebox{display:none!important}.sheet-three-columns{display:block}.sheet-panel-scroll{height:auto!important;max-height:none!important;overflow:visible}.sheet-tab-content[hidden]{display:block!important}.sheet-category{break-inside:avoid}.sheet-workspace input,.sheet-workspace textarea,.sheet-workspace select,.sheet-value input{color:black!important;background:white!important}.sheet-category h3,.sheet-identity h1{color:black!important}.sheet-category p,.sheet-category small{color:#444!important}}
