.creator-page{--creator-gold:#efd09b;--creator-surface:#20364b;color:#f6eee3;background:radial-gradient(at 100% 0,#354d66,#112338 68%);min-height:100vh;font:17px/1.5 system-ui}.creator-page main{max-width:1200px;margin:auto;padding:26px clamp(16px,4.5vw,52px) 54px}.creator-page a{color:var(--creator-gold)}.creator-page h1,.creator-page h2,.creator-choices legend{font-family:Georgia,serif;line-height:1.15}.creator-page h1{margin:14px 0 24px;font-size:clamp(36px,6vw,64px)}.creator-builder{grid-template:"preview steps""preview form"1fr/minmax(0,.83fr) minmax(0,1.5fr);align-items:start;gap:18px clamp(18px,4vw,42px);scroll-margin-top:84px;display:grid}.creator-preview{grid-area:preview;gap:12px;min-width:0;display:grid}.creator-page figure{background:#15293d;border:1px solid #efd09b45;border-radius:16px;min-width:0;margin:0;padding:12px}@media (min-width:741px) and (min-height:720px){.creator-preview{position:sticky;top:84px}}.creator-page figure img,.creator-page figure .character-portrait{aspect-ratio:1;object-fit:contain;border-radius:8px;width:100%;height:auto;display:block}.creator-page figcaption{color:#e0e8ee;overflow-wrap:anywhere;padding:10px 4px 4px;font-size:14px;display:grid}.creator-page figcaption strong{color:#f6eee3;margin-bottom:4px;font:700 clamp(19px,2.6vw,27px)/1.2 Georgia,serif}.creator-page form{grid-area:form;gap:18px;min-width:0;display:grid}.creator-page button,.creator-page input:not([type=radio],[type=checkbox]){font:inherit;border:1px solid #84919b;border-radius:8px;padding:9px 13px}.creator-page button{background:var(--creator-gold);color:#182a3e;cursor:pointer;border-color:#0000}.creator-page button:disabled{opacity:.6;cursor:default}.creator-page button:focus-visible,.creator-page input:focus-visible{outline:2px solid var(--creator-gold);outline-offset:3px}.creator-steps{border-bottom:1px solid #efd09b45;grid-area:steps;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;display:grid}.creator-steps button{color:inherit;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;align-content:start;justify-items:center;gap:5px;padding-inline:2px;font-size:clamp(11px,1.9vw,14px);font-weight:600;display:grid}.creator-steps button span{border:1px solid #efd09b85;border-radius:50%;place-items:center;width:26px;height:26px;display:grid}.creator-steps button[aria-current=step]{color:var(--creator-gold);border-bottom-color:var(--creator-gold)}.creator-steps button[aria-current=step] span{background:var(--creator-gold);color:#182a3e}.creator-stage{gap:16px;display:grid}.creator-stage[hidden],.creator-choice[hidden]{display:none}.creator-stage h2,.creator-choices legend{margin:0;padding:0;font-size:clamp(21px,3vw,27px);font-weight:700}.creator-choices{border:0;min-width:0;margin:0;padding:0}.creator-grid{grid-template-columns:repeat(auto-fit,minmax(min(110px,100%),1fr));gap:9px;margin-top:10px;display:grid}.creator-choices-compact legend,.creator-filters+.creator-choices legend{color:#dce4eb;font:600 14px/1.3 system-ui,sans-serif}.creator-choices-compact .creator-grid{grid-template-columns:repeat(2,minmax(0,110px))}.creator-choice{cursor:pointer;min-width:0;display:grid;position:relative}.creator-choice input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.creator-option{background:#172b3f;border:1px solid #c2cdd249;border-radius:10px;grid-template-rows:auto 1fr;display:grid;overflow:hidden}.creator-option-art{aspect-ratio:1;background-color:var(--creator-surface);background-repeat:no-repeat;width:100%;display:block}.creator-option-name{text-align:center;place-items:center;min-height:35px;padding:6px 4px;font-size:clamp(12px,1.9vw,15px);font-weight:600;line-height:1.18;display:grid}.creator-choices-compact .creator-option{grid-template:auto/43px 1fr}.creator-choice:hover .creator-option{border-color:#efd09bbb}.creator-choice input:checked+.creator-option{border-color:var(--creator-gold)}.creator-choice input:checked+.creator-option .creator-option-name{color:#142536;background:var(--creator-gold)}.creator-choice:has(input:disabled){cursor:default}.creator-choice input:disabled{cursor:default}.creator-choice input:disabled+.creator-option{opacity:.55}.creator-choice input:focus-visible+.creator-option{outline:2px solid var(--creator-gold);outline-offset:3px}.creator-equipment{background:#15293d;border:1px solid #efd09b45;border-radius:14px;padding:12px}.creator-equipment-label{color:#f6eee3;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:10px;font-size:14px;display:flex}.creator-equipment-label span{color:var(--creator-gold);text-align:end}.creator-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0;padding:0;list-style:none;display:grid}.creator-slots li{min-width:0;display:grid}.creator-slots button,.creator-slot-fixed,.creator-slot-empty{text-align:center;border-radius:8px;align-content:center;justify-items:center;gap:4px;min-height:84px;padding:6px;font-size:12px;line-height:1.2;display:grid}.creator-slot-fixed{color:#f6eee3;border:1px solid var(--creator-gold);background:#20364b}.creator-slot-fixed small{color:var(--creator-gold);font-size:11px}.creator-slots button{color:#f6eee3;background:#20364b;border:1px solid #efd09b8c;position:relative}.creator-slots button:hover{border-color:var(--creator-gold)}.creator-slot-art{aspect-ratio:1;background-repeat:no-repeat;border-radius:5px;width:min(42px,80%)}.creator-slot-remove{color:var(--creator-gold);font-size:16px;line-height:1;position:absolute;inset:4px 6px auto auto}.creator-slot-empty{color:#d1dbe4;border:1px dashed #efd09b6b}.creator-print-preview figcaption{padding:0 0 8px}.creator-print-theme{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px 9px;display:grid}.creator-print-theme label{grid-column:1/-1;font-size:14px;font-weight:600}.creator-theme-swatch{border:1px solid #efd09b85;border-radius:50%;width:28px;height:28px}.creator-print-theme select{min-width:0;min-height:44px;color:inherit;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font:inherit;background:#15293d;border:1px solid #efd09b61;border-radius:8px;padding:6px 10px}.creator-print-theme select:focus-visible{outline:2px solid var(--creator-gold);outline-offset:3px}.creator-print-preview canvas{background:#fffefa;border-radius:8px;width:100%;height:auto;display:block}.creator-print-preview{position:static}.creator-print-pack{grid-column:1/-1}.creator-print-preview p,.creator-print-preview details{color:#e0e8ee;margin:10px 0 0;font-size:14px}.creator-preview-downloads{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px;display:flex}.creator-preview-downloads button,.creator-preview-downloads .creator-file-link{flex:122px;min-height:44px;padding-inline:8px;font-size:14px;font-weight:600}.creator-preview-downloads .creator-file-link{background:var(--creator-gold);color:#182a3e;border:1px solid #0000;border-radius:8px;place-items:center;padding-block:9px;text-decoration:none;display:grid}.creator-print-preview ol{margin:8px 0 0;padding-inline-start:22px}.creator-print-preview li+li{margin-top:6px}.creator-abilities{gap:12px;min-width:0;display:grid}.creator-abilities h2{margin:0}.creator-abilities details{background:#15293d;border:1px solid #efd09b61;border-radius:8px;padding:10px 12px}.creator-abilities details[open] summary{margin-bottom:10px}.creator-abilities summary,.creator-print-preview summary{color:var(--creator-gold);cursor:pointer;font-weight:600}.creator-abilities .creator-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.creator-custom-ability{justify-items:start;gap:8px;display:grid}.creator-custom-ability label{gap:4px;width:100%;display:grid}.creator-custom-ability input,.creator-custom-ability select{min-width:0}.creator-custom-ability select{font:inherit;border-radius:8px;padding:9px}.creator-role-info{color:#e0e8ee;border-inline-start:2px solid var(--creator-gold);padding:2px 12px}.creator-role-info strong{color:var(--creator-gold)}.creator-filters,.creator-step-actions{flex-wrap:wrap;gap:8px;display:flex}.creator-filters button,.creator-step-actions button:first-child:not(:only-child){color:#f6eee3;background:#15293d;border-color:#efd09b61}.creator-filters button{padding:6px 10px;font-size:14px}.creator-filters button[aria-pressed=true]{background:var(--creator-gold);color:#182a3e}.creator-stage>label{gap:4px;display:grid}.creator-stage small{margin-top:-12px}.creator-stage input[type=file]{width:100%;min-width:0}.creator-stage p{margin:0}.creator-exports{gap:8px;margin-top:8px;display:grid}.creator-step-actions:empty{display:none}.creator-step-actions button{min-width:82px}.creator-step-actions button:last-child:not(:first-child){margin-inline-start:auto}@media (min-width:1000px){.creator-builder-finish{grid-template-columns:minmax(0,1.5fr) minmax(0,.85fr)}.creator-print-preview{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:start}.creator-print-theme{grid-column:1/-1}}@media (min-width:1050px){.creator-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:740px){.creator-builder{grid-template:"steps""preview""form"1fr/minmax(0,1fr)}.creator-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.creator-page .creator-portrait{align-items:center;gap:12px;display:flex}.creator-page figure img,.creator-page figure .character-portrait{flex:none;width:min(26vw,116px)}.creator-page .creator-portrait figcaption{padding:0}}@media (max-width:360px){.creator-steps button{white-space:nowrap;padding-inline:0;font-size:10px}}
