.character-editor{max-width:1160px;margin:auto}.character-workspace{display:grid;grid-template-columns:minmax(260px,380px) minmax(0,1fr);gap:28px;margin-top:24px}.character-stage{background:radial-gradient(ellipse at 50% 70%,#375453,#162d34 65%);border:1px solid #476262;border-radius:18px;padding:24px;text-align:center;position:sticky;top:16px;align-self:start}.character-preview{height:340px;display:flex;align-items:center;justify-content:center}.character-preview svg{height:100%;width:100%;max-width:300px;overflow:visible}.character-directions{display:flex;justify-content:center;gap:10px;margin:14px 0}.character-directions button{min-width:45px}.character-stage p{color:#becdca;font-size:13px;line-height:1.6}.character-switch{display:flex;align-items:center;justify-content:center;gap:10px;margin:14px 0}.character-switch input{width:auto}.character-fields{display:flex;flex-direction:column;gap:16px}.character-options{border:1px solid #385059;border-radius:12px;padding:14px;display:flex;flex-wrap:wrap;gap:9px;margin:0}.character-options legend{padding:0 8px;font-weight:700;color:#eaf2ec}.character-options button{display:flex;align-items:center;gap:8px;background:#162b34;color:#f1f5ed;border:1px solid #3d555d;min-height:42px}.character-options button.selected,.character-directions button.selected{border-color:#a3dfbd;background:#25483e;box-shadow:inset 0 0 0 1px #a3dfbd}.character-swatch{width:18px;height:18px;border-radius:50%;border:1px solid #e7e3d278}.character-rule{color:#cbd7d0;font-size:14px;line-height:1.6}.hero-paperdoll{display:flex;align-items:center;gap:24px}.avatar-portrait{width:160px;height:205px;flex-shrink:0;background:radial-gradient(ellipse,#3b5554,#162d34);border-radius:14px;padding:12px;display:flex;justify-content:center}.avatar-portrait svg{height:100%;width:100%}.hero-paperdoll small{display:block;margin-top:12px;color:#c8d8d2}@media(max-width:760px){.character-workspace{grid-template-columns:1fr}.character-stage{position:static}.character-preview{height:260px}.hero-paperdoll{flex-direction:column;align-items:stretch}.avatar-portrait{align-self:center}.character-fields .primary{width:100%}}
