.wrap.sheet-public{padding-block:48px 70px}.character-sheet{color:var(--ink);overflow-wrap:anywhere}.sheet-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,32%);gap:40px;align-items:center;padding:36px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(135deg,var(--card),var(--soft-red))}.sheet-hero h1{font-size:clamp(2.5rem,6vw,4.8rem);margin:15px 0}.sheet-hero .lead{margin-bottom:24px}.sheet-portrait{width:100%;aspect-ratio:1;object-fit:cover;border-radius:18px}.sheet-actions{margin-top:28px}.sheet-section{margin-top:40px;padding-top:32px;border-top:1px solid var(--line)}.sheet-section h2{margin:12px 0 24px}.sheet-section h3{margin:0 0 18px}.sheet-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:18px;margin:0}.sheet-facts>div{padding:18px;background:var(--card);border:1px solid var(--line);border-radius:12px}.sheet-facts dt{color:var(--muted);font-size:.85rem;margin-bottom:8px}.sheet-facts dd{margin:0;font-weight:600}.sheet-colors{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px;margin-top:22px}.sheet-color{display:flex;gap:16px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);text-align:left;cursor:pointer}.sheet-color:hover{border-color:var(--red)}.sheet-swatch{display:block;flex:0 0 56px;width:56px;height:72px;border:1px solid var(--line);border-radius:8px}.sheet-color strong,.sheet-color code,.sheet-color small{display:block}.sheet-color code{margin-top:7px}.sheet-color small{margin-top:9px;color:var(--muted)}.sheet-note-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px}.sheet-note{padding:24px;background:var(--card);border:1px solid var(--line);border-radius:14px}.sheet-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px;border-top:1px solid var(--line);margin-top:40px;padding-top:24px;color:var(--muted)}.sheet-downloads{margin-top:24px}.character-sheet .artwork-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}.character-sheet .artwork-frame{height:300px}.character-sheet .artwork-grid figure{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--card)}.character-sheet .artwork-grid figcaption{padding:18px}.character-sheet .artwork-grid figcaption p{margin:0 0 10px}.sheet-editor-state{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:24px 0}.sheet-tabs{display:flex;gap:12px;margin:24px 0}.sheet-tabs button{border:1px solid var(--line);border-radius:10px;padding:12px 18px;background:var(--card);color:var(--ink);cursor:pointer}.sheet-tabs button.active{border-color:var(--red);background:var(--soft-red);color:var(--ink);font-weight:700}.sheet-editor-card{padding:26px;border:1px solid var(--line);border-radius:14px;background:var(--card);margin-bottom:24px}.sheet-editor-card h2{margin:0 0 22px;font-size:1.35rem}.sheet-editor-card p{margin:16px 0 22px}.sheet-editor .field{display:grid;gap:8px;min-width:0}.sheet-main-form,.sheet-image-list{display:grid;gap:0}.sheet-editor-card .field+.field{margin-top:20px}.sheet-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:22px;margin-bottom:24px}.sheet-form-grid .field+.field{margin-top:0}.sheet-row-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:24px}.sheet-row-heading h2{margin:0 0 12px}.sheet-row-heading p{margin:0}.sheet-edit-row{display:grid;grid-template-columns:1fr 1.5fr auto;gap:16px;align-items:end;margin-top:20px}.sheet-edit-color{display:grid;grid-template-columns:1fr 70px 110px 1.3fr auto;gap:14px;align-items:end;margin-top:24px}.sheet-edit-row .field+.field,.sheet-edit-color .field+.field{margin-top:0}.sheet-edit-color input[type=color]{width:100%;height:44px;padding:5px}.sheet-row-actions{display:flex;gap:6px;align-items:center}.sheet-row-actions .icon-button{height:44px;width:38px;padding:0;display:grid;place-items:center}.sheet-row-actions .icon-button:disabled{opacity:.35;cursor:default}.sheet-artwork-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px;margin:24px 0}.sheet-artwork-picker>label{border:1px solid var(--line);border-radius:10px;overflow:hidden}.sheet-artwork-picker img{width:100%;height:130px;object-fit:cover}.sheet-artwork-picker span{display:block;padding:14px}.sheet-artwork-picker small{display:block;margin-top:8px}.sheet-artwork-picker input{margin-right:8px}.sheet-publish>.button{margin-top:6px}.sheet-image-list{gap:16px;margin-top:28px}.sheet-upload-list{display:grid;gap:14px;margin:24px 0;list-style:none;padding:0}.sheet-upload-list li{display:grid;gap:10px;padding:14px;border:1px solid var(--line);border-radius:10px}.admin-modal:has(.sheet-form-grid) .modal-body form{display:grid;gap:20px}.admin-modal .character-sheet{padding-top:24px}@media(max-width:800px){.sheet-hero{padding:24px;gap:24px;grid-template-columns:1fr}.sheet-portrait{max-height:320px;aspect-ratio:4/3;object-position:center}.sheet-edit-color{grid-template-columns:1fr 70px 110px}.sheet-edit-color>.field:nth-child(4){grid-column:1/3}.sheet-edit-row{grid-template-columns:1fr 1fr}.sheet-row-actions{justify-content:flex-end}.sheet-edit-row .sheet-row-actions{grid-column:1/-1}.wrap.sheet-public{padding-block:28px 48px}}@media(max-width:450px){.sheet-editor-card{padding:18px}.sheet-edit-color{grid-template-columns:1fr 70px}.sheet-edit-color>.field:nth-child(3),.sheet-edit-color>.field:nth-child(4){grid-column:1/-1}.sheet-edit-color .sheet-row-actions{grid-column:1/-1}.sheet-edit-row{grid-template-columns:1fr}.sheet-tabs{flex-wrap:wrap}}@media print{body:has(.character-sheet){background:#fff!important;color:#161616!important}body:has(.sheet-public) .site-header,body:has(.sheet-public) .footer-band,body:has(.sheet-public) .back-top,body:has(.sheet-public) .toast-stack,[data-no-print]{display:none!important}.wrap.sheet-public{padding:0;max-width:none}.character-sheet{--ink: #161616;--muted: #444;--card: #fff;--line: #ccc;--red: #a53e2f;--paper: #fff;--soft-red: #faf4f1;color:#161616}.sheet-hero{padding:20px;grid-template-columns:1fr 180px;break-inside:avoid}.sheet-hero h1{font-size:34pt}.sheet-section{margin-top:24px;padding-top:20px}.sheet-note,.sheet-facts>div,.sheet-color,figure{break-inside:avoid}.sheet-color{print-color-adjust:exact;-webkit-print-color-adjust:exact}.character-sheet .artwork-frame{height:260px}.sheet-footer{font-size:10pt}dialog{display:none!important}}.sheet-print-only.svelte-va3igi{display:none}@media print{.character-sheet.svelte-va3igi{display:none!important}.sheet-print-only.svelte-va3igi{display:block}}
