/* Creation shares the approved quiet sheet surface. Card artwork stays intact. */
html:not([data-theme="paper"]) body:has(.wizard){background:#141b26}
.content:has(.wizard){max-width:1440px;margin-inline:auto}
.content:has(.wizard)>.heading{margin-bottom:20px}
.content:has(.wizard)>.heading h1{font-size:clamp(22px,2.2vw,30px)}
.wizard{grid-template-columns:minmax(0,1fr) 230px;gap:24px;align-items:start}
.wizard>section>h2{font-size:20px;margin-top:0}
.wizard .summary{padding:18px;position:sticky;top:16px;box-shadow:none}
.wizard .summary h2{font-size:18px;margin:12px 0}
.wizard .summary .hero-path-card{display:none!important}
.wizard .summary dl{font-size:13px}
.wizard .grid:has(>[data-wizard-card]){grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),320px));gap:20px;justify-content:start}
.wizard [data-wizard-card]{width:100%;max-width:320px;justify-self:start}
:is(.wizard,.character-edit-mode) .selection-crown{background:#243041}
.wizard-footer{background:#19222e;padding:12px;box-shadow:0 -8px 18px #141b2666}
.wizard-footer button{min-height:44px}
@media(max-width:760px){
 .wizard{grid-template-columns:minmax(0,1fr)}
 .wizard .summary{position:static;margin-top:4px}
 .wizard .summary dl{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .wizard .summary .builder-domain-marks{display:none}
 .wizard .grid:has(>[data-wizard-card]){display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 3px 12px;gap:16px}
 .wizard [data-wizard-card]{flex:0 0 min(100%,320px);scroll-snap-align:start}
 .content:has(.wizard){padding-inline:14px}
 .wizard>section>h2{font-size:17px}
 :is(.wizard,.character-edit-mode) .calling-deck{grid-auto-columns:min(88%,300px)}
}

.wizard [hidden]{display:none!important}
/* A current choice stays compact. Its original picker remains available on demand. */
.choice-disclosure{min-width:0;grid-column:1/-1;margin:0 0 14px;border:1px solid #8293ac44;border-radius:8px;background:#19232f}
.choice-disclosure>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;cursor:pointer;min-height:64px;list-style:none}
.choice-disclosure>summary::-webkit-details-marker{display:none}
.choice-disclosure>summary small{display:block;color:#aeb9ca;font-size:11px;margin-bottom:4px}
.choice-disclosure>summary strong{font-size:15px;color:#eee9dc}
.choice-change{color:#9cdbea;font-size:12px;border:1px solid #8097ad55;padding:7px 12px;border-radius:5px}
.choice-disclosure[open]>summary{border-bottom:1px solid #8293ac33}
.choice-disclosure .selection-browser{padding:14px;max-width:100%;margin:0}
.choice-disclosure .selection-deck{grid-auto-columns:minmax(260px,32%)}
.choice-disclosure:focus-within{border-color:#b8a576}
:is(.wizard,.character-edit-mode) .grid:has(>.class-choice){display:grid!important;grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px;overflow:visible}
:is(.wizard,.character-edit-mode) .calling-deck>.class-choice{height:auto!important;min-height:0!important;max-height:none!important;background:#202b39;border:1px solid #8093ab55}
:is(.wizard,.character-edit-mode) .class-choice .selection-crown{height:40px;min-height:40px;padding:8px 12px;border-bottom:0}
:is(.wizard,.character-edit-mode) .class-choice .selection-crown img{width:22px;height:24px}
:is(.wizard,.character-edit-mode) .class-choice .selection-body{padding:10px 12px;overflow:visible}
:is(.wizard,.character-edit-mode) .class-choice .selection-body h3{color:#eee8d7!important;font-size:14px!important;margin-bottom:6px!important}
:is(.wizard,.character-edit-mode) .class-choice .selection-description{color:#bec8d5!important;font-size:12px!important;line-height:1.45!important}
:is(.wizard,.character-edit-mode) .class-choice .selection-foot{min-height:32px;padding:6px;font-size:11px;background:#17202d;color:#adbed0}
:is(.wizard,.character-edit-mode) .class-choice.selected .selection-foot{background:#55492e;color:#f1d897}
.selected-class-rules,.optional-story{padding:14px 16px;border:1px solid #8093ab44;border-radius:7px;margin:16px 0;background:#19232f;font-size:14px;line-height:1.6}
.selected-class-rules summary,.optional-story summary{cursor:pointer;color:#dfc88d;min-height:30px}
.optional-story summary small{display:block;font-size:12px;color:#aeb9ca}
.optional-story .form-grid{margin-top:16px}
.steps:has([data-wizard-step]){display:flex;flex-wrap:wrap;gap:6px;margin-bottom:24px}
.steps [data-wizard-step]{min-height:40px;font-size:12px;padding:8px 12px;background:#1b2532;border:1px solid #7c8ca344;border-radius:5px;color:#c1cbd8}
.steps [aria-current=step]{color:#f0d895;background:#34352f;border-color:#c4aa6a}
.steps [data-wizard-step]:disabled{opacity:.5}
.suggested-traits{margin-bottom:14px;min-height:44px;border-color:#a78e55;color:#eed493;background:#34342d}
.character-editor .editor-hero{background:#19232f!important;box-shadow:none}
.character-editor .selection-crown{background:#243041}
.character-editor [hidden]{display:none!important}
@media(max-width:760px){
 :is(.wizard,.character-edit-mode) .grid:has(>.class-choice){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
 :is(.wizard,.character-edit-mode) .class-choice .selection-description{font-size:11px!important}
 :is(.wizard,.character-edit-mode) .class-choice .selection-crown{padding-inline:9px}
 :is(.wizard,.character-edit-mode) .class-choice .selection-body{padding:9px}
 .choice-disclosure .selection-deck{grid-auto-columns:90%}
 .character-editor .editor-hero{padding:10px!important;margin-bottom:10px}
 .character-editor .editor-hero h3{font-size:14px!important;margin:0}
 .character-editor .modal-head{padding:12px 14px}
 .character-editor .modal-head h2{font-size:17px}
 .character-editor .editor-help{font-size:12px;line-height:1.5}
 .steps:has([data-wizard-step]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .steps [data-wizard-step]{padding:6px 4px;font-size:11px;min-height:44px}
 .choice-disclosure>summary{padding:12px;min-height:60px}
}

:is(.wizard,.character-edit-mode) .class-choice .selection-body{background:#202b39!important}
:is(.wizard,.character-edit-mode) .class-choice .selection-body h3{display:block!important}
.wizard .native-choice,.character-editor .native-choice{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
.choice-facts{display:block;font-size:12px;line-height:1.5;color:#afbdcc;margin-top:6px;font-weight:400}
.wizard .form-grid:has(>.choice-disclosure){display:block}
.wizard .editor-help{font-size:13px;margin:0 0 12px}
.wizard>section>.form-grid{gap:14px}
:is(.wizard,.character-edit-mode) .class-choice .selection-body{flex:1!important}
.creation-review{padding:16px;background:#1b2634;border:1px solid #8193aa44;border-radius:8px;margin:20px 0}
.creation-review h3{font-size:15px;margin:0 0 8px}
.creation-review>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #8093ab22}
.creation-review small{display:block;color:#aebccc;font-size:11px;margin-bottom:4px}
.creation-review strong{font-size:13px;font-weight:400;line-height:1.6}
.creation-review button{flex:none;font-size:12px;min-height:40px;color:#bce5ed;background:#223343}
.wizard [data-wizard-card][aria-pressed=true]{outline:3px solid #e4c275;outline-offset:2px}
body:has(.wizard) .dice-launcher{display:none}
.creation-card-paging{display:none}
@media(max-width:760px){
 .creation-card-paging{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
 .creation-card-paging button{width:44px;height:44px;padding:0;font-size:26px;color:#e1c783;background:#243243}
 .creation-card-paging span{font-size:12px;color:#b9c6d5}
 body:has(.wizard) .masthead .nav,body:has(.wizard) .topbar{display:none}
 body:has(.wizard) .masthead{display:flex;align-items:center;flex-wrap:nowrap;padding:10px 14px;gap:10px}
 body:has(.wizard) .masthead .brand{flex:1}
 body:has(.wizard) .masthead .brand small,body:has(.wizard) .masthead .theme-picker{display:none}
 .content:has(.wizard)>.heading{display:flex;align-items:center;gap:10px;margin-bottom:14px;padding-top:0}
 .content:has(.wizard)>.heading .eyebrow,.content:has(.wizard)>.heading p{display:none}
 .content:has(.wizard)>.heading h1{font-size:19px!important;margin:0}
 .content:has(.wizard)>.heading button{font-size:11px;padding:8px;min-height:40px}
 .wizard .summary{display:none}
 .wizard-footer{bottom:0;padding-bottom:max(12px,env(safe-area-inset-bottom));margin-top:18px}
}

/* Creation decision surfaces share one scale. Domain cards retain their printed anatomy. */
:is(.wizard,.character-edit-mode) .selection-deck{align-items:stretch;gap:12px}
:is(.wizard,.character-edit-mode) .selection-deck>.selection-card{height:auto!important;min-height:0!important;max-height:none!important;align-self:stretch;background:#202b39;border:1px solid #70829980;border-radius:9px;overflow:hidden}
:is(.wizard,.character-edit-mode) .selection-card .selection-crown{height:36px!important;min-height:36px!important;padding:8px 12px;border:0;background:#263445;font-size:11px}
:is(.wizard,.character-edit-mode) .selection-card .selection-crown svg{width:23px;height:23px}
:is(.wizard,.character-edit-mode) .selection-card .selection-body{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:12px;background:#202b39!important}
:is(.wizard,.character-edit-mode) .selection-card h3{display:block!important;height:auto!important;min-height:0!important;font-size:14px!important;line-height:1.4!important;color:#f0e9d8!important;margin:0 0 7px!important}
:is(.wizard,.character-edit-mode) .selection-card p{color:#c9d3e0!important;font-size:13px!important;line-height:1.5!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;margin:5px 0!important}
:is(.wizard,.character-edit-mode) .selection-feature{border-color:#7a8fa144;margin-top:12px;padding-top:10px}
:is(.wizard,.character-edit-mode) .selection-feature h4{color:#e4c784;font-size:12px;line-height:1.4;margin:0 0 5px}
:is(.wizard,.character-edit-mode) .selection-card .selection-foot{margin-top:auto;min-height:36px;background:#172331;color:#bdd8e7;border-top:1px solid #7a8fa144;font-size:12px;padding:8px}
:is(.wizard,.character-edit-mode) .selection-card.selected{border-color:#e5c77e;box-shadow:0 0 0 1px #e5c77e}
:is(.wizard,.character-edit-mode) .selection-card.selected .selection-foot{background:#3d3a2e;color:#ffe6a7}
:is(.wizard,.character-edit-mode) .selection-deck:has(>[data-subclass]){display:grid;grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible;padding:4px}
:is(.wizard,.character-edit-mode) .grid:has(>.class-choice){align-items:stretch}
:is(.wizard,.character-edit-mode) .calling-deck>.class-choice{height:100%!important}
.wizard>section>.spacer{height:12px}
:is(.wizard,.character-edit-mode) .choice-disclosure .selection-deck{display:grid;grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;padding:0;gap:10px}
:is(.wizard,.character-edit-mode) .choice-disclosure>summary{border-left:3px solid #6a8fa5;border-radius:8px}
:is(.wizard,.character-edit-mode) .choice-disclosure[open]>summary{border-left-color:#e1bf76}
:is(.wizard,.character-edit-mode) .choice-disclosure>summary strong{font-family:Eveleth;font-size:14px}
:is(.wizard,.character-edit-mode) .choice-facts{color:#c5d0de}
:is(.wizard,.character-edit-mode) .equipment-choices .selection-deck{grid-template-columns:1fr}
:is(.wizard,.character-edit-mode) .equipment-choices .selection-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto;text-align:left}
:is(.wizard,.character-edit-mode) .equipment-choices .selection-crown{display:none}
:is(.wizard,.character-edit-mode) .equipment-choices .selection-foot{align-self:center;margin:10px;border:1px solid #7a8fa144;border-radius:5px;min-width:80px;max-width:130px}
:is(.wizard,.character-edit-mode) .equipment-choices .selection-facts{gap:5px}
:is(.wizard,.character-edit-mode) .equipment-choices .selection-facts b{font:12px Overpass;background:#314052;color:#d7e0e9;padding:3px 6px}
.creation-identity{padding:16px;margin-bottom:24px;border-left:3px solid #d6bd7b;background:#1c2836;border-radius:6px}
.creation-identity label{font-size:13px;color:#d2dfec}
.wizard .creation-identity input{min-height:44px}
.wizard .grid:has(>.editor-trait){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px 10px;align-items:start}
.wizard .editor-trait{height:185px;min-height:185px;padding:30px 0 38px!important;justify-content:center;gap:0;min-width:0}
.wizard .editor-trait-shape{height:145px;inset:0 auto auto 50%;width:170px;max-width:100%}
.wizard .editor-trait-caption{top:4px;font-size:11px;line-height:20px}
.wizard .editor-trait input:not([type=hidden]),.wizard .trait-swap-value{width:74px;height:54px;min-height:54px;font-size:27px;margin:0;padding:0;text-align:center}
.wizard .editor-trait input[type=hidden]{display:none!important}
.wizard .editor-trait small{position:absolute;top:151px;left:0;right:0;text-align:center;font:12px/1.4 Overpass;color:#c6d7e9;white-space:normal}
.wizard .trait-method{padding:14px;margin-bottom:16px}
.wizard .trait-value-pool{gap:8px;margin-top:12px}
.wizard .trait-value-pool button{min-height:54px;padding:6px;font-size:22px}
.wizard .trait-array-status{line-height:1.5}
.wizard .creation-gold{margin:18px 0}
.wizard .creation-gold .gold-track{margin:0;padding:14px;border:1px solid #a88e5b66;background:#1c2733;border-radius:8px}
.wizard .creation-gold .gold-denomination{margin:6px 0}
.wizard .creation-gold .gold-denomination>div{flex-wrap:wrap}
.wizard .creation-gold .gold-mark{min-height:28px;min-width:28px}
.wizard [data-wizard-card]{height:auto!important;min-height:440px;max-height:none;align-self:stretch}
.wizard [data-wizard-card] .rules{height:auto!important;max-height:none!important;overflow:visible!important;flex:1;padding-bottom:18px}
.wizard>section>p{line-height:1.5}
.wizard>section>p:has(+.creation-card-paging){text-wrap:pretty}
.creation-review{padding:20px;border:1px solid #d9bb73;border-top:4px solid #d9bb73;background:#202e3e;box-shadow:0 8px 24px #0002}
.creation-review .review-heading{margin-bottom:16px;border-bottom:1px solid #a4b8ca55;padding-bottom:16px}
.creation-review .review-heading>small{color:#e6c982;letter-spacing:1.2px;font-size:10px}
.creation-review .review-heading h3{font-size:23px;line-height:1.4;margin:8px 0;color:#fff3d3}
.creation-review .review-heading p{margin:0;color:#c0d5e4}
.creation-review>div{padding:14px 0;align-items:flex-start}
.creation-review>div>span{min-width:0;flex:1}
.creation-review small{font-size:12px;color:#abc5d9;margin-bottom:6px}
.creation-review strong{display:block;font-size:15px;font-weight:600;color:#f0f0e9;line-height:1.5}
.creation-review strong:has(.review-trait){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.review-trait{display:block;background:#172333;border:1px solid #6f899e66;border-radius:5px;padding:7px;text-align:center}
.review-trait small{font-size:10px;text-transform:capitalize;margin:0}
.review-trait b{font-size:20px;color:#ecd08c}
@media(max-width:760px){
 :is(.wizard,.character-edit-mode) .choice-disclosure .selection-deck,:is(.wizard,.character-edit-mode) .selection-deck:has(>[data-subclass]){grid-template-columns:1fr!important}
 :is(.wizard,.character-edit-mode) .selection-card .selection-body{padding:11px}
 :is(.wizard,.character-edit-mode) .equipment-choices .selection-card{grid-template-columns:minmax(0,1fr) 74px}
 :is(.wizard,.character-edit-mode) .equipment-choices .selection-foot{min-width:0;max-width:74px;margin:7px;padding:7px;font-size:11px}
 :is(.wizard,.character-edit-mode) .equipment-choices .selection-foot svg{width:14px;height:14px}
 .creation-identity{padding:12px;gap:12px!important}
 .wizard .editor-trait{height:141px;min-height:141px;padding:22px 0 34px!important}
 .wizard .editor-trait-shape{height:104px;width:112px}
 .wizard .editor-trait-caption{top:1px;font-size:8px;line-height:16px}
 .wizard .editor-trait input:not([type=hidden]),.wizard .trait-swap-value{width:54px;height:44px;min-height:44px;font-size:23px}
 .wizard .editor-trait small{top:108px;font-size:10px;line-height:1.35;padding:0 2px}
 .wizard .trait-value-pool{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
 .wizard .trait-value-pool button{width:auto;min-width:0;font-size:21px}
 .wizard .trait-value-pool small{font-size:10px}
 .wizard .suggested-traits{width:100%;font-size:13px}
 .wizard .trait-array-status{font-size:12px}
 .wizard .trait-method label{font-size:12px}
 .wizard .creation-gold .gold-mark{min-width:24px;min-height:28px}
 .creation-review{padding:14px}
 .creation-review .review-heading h3{font-size:20px}
 .creation-review strong{font-size:14px}
}
.wizard .editor-trait input:not([type=hidden]),.wizard .trait-swap-value{position:absolute;top:48px;left:50%;transform:translateX(-50%)}
.wizard .editor-trait-caption{top:8px}
.creation-card-intro{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:12px 0 16px}
.creation-card-intro p{margin:0;font-size:14px;line-height:1.5}
.creation-card-count{white-space:nowrap;color:#ead39a;border:1px solid #9e8c6266;background:#302f29;padding:6px 10px;border-radius:5px;font-size:12px}
@media(max-width:760px){.wizard .editor-trait-caption{top:7px}.wizard .editor-trait input:not([type=hidden]),.wizard .trait-swap-value{top:33px}.wizard .editor-trait small{font-size:11px}.creation-card-intro p{font-size:13px}.wizard [data-wizard-card]{align-self:flex-start}}
:is(.wizard,.character-edit-mode) .selection-deck>.selection-card{background:#202b39!important}
:is(.wizard,.character-edit-mode) .equipment-choices .selection-foot{white-space:normal}
/* Focused creation pickers keep the underlying step still and short. */
.creation-choice-trigger{display:flex;width:100%;align-items:center;justify-content:space-between;gap:16px;text-align:left;padding:14px 16px;background:#1c2938;border:1px solid #73879c66;border-left:3px solid #739aae;border-radius:8px;margin:14px 0;color:#ecebdc;min-height:82px}
.creation-choice-trigger small{display:block;color:#aebfd0;font-size:11px;margin-bottom:5px}
.creation-choice-trigger strong{font:15px Eveleth}
:is(.wizard,.character-edit-mode) .creation-picker{position:fixed;inset:0;margin:auto;width:min(920px,calc(100vw - 40px));max-width:none;height:min(780px,calc(100dvh - 48px));max-height:none;padding:0;border:1px solid #a28d62;border-radius:12px;background:#17222f;color:#e4eaf2;overflow:hidden;box-shadow:0 24px 80px #0008}
.creation-picker::backdrop{background:#080d17bb}
.creation-picker[open]{display:flex;flex-direction:column}
.creation-picker>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #748ba34d;background:#202e3f;flex:none}
.creation-picker>header small{font-size:10px;letter-spacing:1.5px;color:#dfc489}
.creation-picker>header h2{font:19px Eveleth;margin:5px 0 0}
.creation-picker>header button{width:44px;height:44px;font-size:25px;padding:0;flex:none}
.creation-picker .picker-content{padding:16px;overflow:auto;overscroll-behavior:contain;min-height:0;flex:1}
:is(.wizard,.character-edit-mode) .creation-picker .selection-browser{margin:0;padding:0;border:0;background:transparent}
:is(.wizard,.character-edit-mode) .creation-picker .selection-deck{display:grid;grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible;gap:12px;padding:4px}
.creation-picker .selection-browser>input{position:sticky;top:0;z-index:2;width:100%;max-width:none;margin-bottom:14px;background:#111d2b;min-height:44px}
:is(.wizard,.character-edit-mode) .creation-picker .equipment-choices .selection-deck{grid-template-columns:1fr!important}
:is(.wizard,.character-edit-mode) .creation-picker .selection-card .selection-facts b{background:#314052;color:#dce7ef;font:12px Overpass;padding:4px 7px;border-radius:4px}
.wizard .trait-array-status{min-height:42px}
.wizard .trait-value-pool{min-height:62px}
.review-checklist{border:1px solid #d6b777;border-radius:8px;background:#302d25;padding:16px;margin-bottom:18px}
.review-checklist h3{font-size:16px;margin:0 0 8px;color:#f2d497}
.review-checklist p{font-size:13px;margin:0 0 8px;color:#d7dce5}
.review-checklist button{display:flex;text-align:left;width:100%;align-items:center;justify-content:space-between;gap:12px;margin-top:7px;padding:10px 12px;min-height:44px;background:#202c3b;color:#edf1f7;font-size:13px}
.review-checklist button span{color:#e1c78b;flex:none}
@media(max-width:760px){
 :is(.wizard,.character-edit-mode) .creation-picker{width:calc(100vw - 16px);height:calc(100dvh - 24px);border-radius:10px}
 .creation-picker>header{padding:12px}
 .creation-picker>header h2{font-size:17px}
 .creation-picker .picker-content{padding:10px}
 :is(.wizard,.character-edit-mode) .creation-picker .selection-deck{grid-template-columns:1fr!important}
 :is(.wizard,.character-edit-mode) .creation-picker .grid:has(>.class-choice){grid-template-columns:1fr!important}
 .creation-choice-trigger{padding:12px;min-height:80px}
 .wizard .trait-array-status{min-height:54px}
}
.picker-class-rules{margin-top:10px;font:13px/1.5 Overpass;color:#cbd8e7}
.picker-class-rules summary{min-height:36px;display:flex;align-items:center;color:#e8cd8f;cursor:pointer}
.picker-class-rules h4{color:#e8cd8f;font-size:12px;margin:10px 0 5px}
:is(.wizard,.character-edit-mode) .creation-picker .class-choice{min-width:0}
:is(.wizard,.character-edit-mode) .creation-picker .class-choice>.selection-foot{width:100%;border-radius:0}
:is(.wizard,.character-edit-mode) .creation-picker .selection-deck>.selection-card[hidden]{display:none!important}
/* Final creation spacing: small sets inline, catalogs in a fixed-header picker. */
.creation-picker>header{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,280px) 44px}
.creation-picker>header input[type=search]{width:100%;min-width:0;margin:0;min-height:44px;font-size:15px}
.creation-picker>header button{grid-column:3}
:is(.wizard,.character-edit-mode) .creation-picker .class-choice{cursor:pointer}
:is(.wizard,.character-edit-mode) .selection-body{font-size:15px;line-height:1.55}
:is(.wizard,.character-edit-mode) .choice-facts{font-size:13px}
:is(.wizard,.character-edit-mode) .mixed-ancestry-picker{padding:10px;margin:8px 0 14px}
:is(.wizard,.character-edit-mode) .mixed-ancestry-picker>h3,:is(.wizard,.character-edit-mode) .mixed-ancestry-picker>p,:is(.wizard,.character-edit-mode) .mixed-feature-column>h4{display:none}
:is(.wizard,.character-edit-mode) .mixed-feature-grid{gap:8px}
:is(.wizard,.character-edit-mode) .mixed-feature-column .choice-disclosure{margin:0}
:is(.wizard,.character-edit-mode) .mixed-feature-column summary{padding:9px 10px;min-height:62px;gap:8px}
:is(.wizard,.character-edit-mode) .mixed-feature-column summary strong{font:13px Overpass;text-transform:none}
:is(.wizard,.character-edit-mode) .mixed-feature-column summary small{font-size:12px}
.wizard .editor-trait-caption{top:0;height:29px;display:flex;align-items:center;justify-content:center;font-size:12px;line-height:1}
.wizard.review-step{grid-template-columns:minmax(0,800px);justify-content:center}
.wizard.review-step>.summary{display:none}
.wizard .creation-review{padding:16px 20px;margin:0}
.creation-review .review-heading{padding-bottom:12px;margin-bottom:0}
.creation-review .review-heading h3{margin:8px 0 4px}
.creation-review .review-heading p{margin:0;font-size:15px}
.creation-review>div{padding:10px 0;gap:14px}
.creation-review>div>span>small{font-size:13px;margin-bottom:4px}
.creation-review strong{font-size:15px;line-height:1.4}
.creation-review strong:has(.review-trait){grid-template-columns:repeat(6,minmax(0,1fr));max-width:550px;gap:6px}
.creation-review .review-trait{padding:7px 3px}
.creation-review .review-trait small{font-size:11px}
.creation-review .review-trait b{font-size:18px}
@media(max-width:760px){
 .creation-picker>header{grid-template-columns:minmax(0,1fr) 44px;gap:10px}
 .creation-picker>header button{grid-column:2;grid-row:1}
 .creation-picker>header input[type=search]{grid-column:1/-1;grid-row:2}
 .wizard .editor-trait-caption{top:0;height:20px;font-size:10px;line-height:1}
 :is(.wizard,.character-edit-mode) .mixed-feature-grid{grid-template-columns:1fr;gap:6px}
 :is(.wizard,.character-edit-mode) .mixed-feature-column summary{padding:8px;min-height:58px}
 .wizard .creation-review{padding:12px}
 .creation-review>div{padding:8px 0}
 .creation-review strong:has(.review-trait){grid-template-columns:repeat(3,minmax(0,1fr));max-width:300px}
 .creation-review .review-trait{padding:5px 2px}
 .creation-review>div>span>small{font-size:12px}
}
@media(max-width:760px){body:has(.wizard) .steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}body:has(.wizard) .steps button{padding:8px 3px;font-size:11px;min-height:44px}}
.creation-experiences{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.creation-experiences h3{grid-column:1/-1;margin:0;font-size:17px}
.creation-experiences h3 small{font:13px Overpass;color:#c8d3df;margin-left:8px}
.wizard summary[aria-disabled=true]{cursor:default;background:#18222d;border-left-color:#657180}
.wizard summary[aria-disabled=true] .choice-change{border:0;background:none;color:#b8c7d8}
@media(max-width:760px){
 body:has(.wizard) .steps{grid-template-columns:repeat(8,minmax(0,1fr))}
 body:has(.wizard) .steps button{grid-column:span 2}
 body:has(.wizard) .steps button:nth-child(5){grid-column:2/span 2}
 .creation-experiences{grid-template-columns:1fr}
}

/* Small subclass sets stay inline on desktop, as in creation. */
.character-edit-mode .inline-subclass-choice{border:0;background:transparent}
.character-edit-mode .inline-subclass-choice>summary{display:none}
.character-edit-mode .inline-subclass-choice .selection-deck{display:grid;grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:visible}
.character-edit-mode .selection-deck>.selection-card{width:auto!important;max-width:none!important;min-width:0!important}
.character-edit-mode .creation-picker .class-choice{cursor:pointer}
.character-edit-mode .inline-subclass-choice .selection-browser{padding:4px}
