.chemist-class-table{min-width:1180px;table-layout:fixed}.chemist-class-table th,.chemist-class-table td{vertical-align:middle}.chemist-class-table th:nth-child(1),.chemist-class-table td:nth-child(1){width:68px;min-width:68px;white-space:nowrap}.chemist-class-table th:nth-child(2),.chemist-class-table td:nth-child(2){width:92px;min-width:92px;text-align:center}.chemist-class-table th:nth-child(3),.chemist-class-table td:nth-child(3){width:330px;min-width:330px;text-align:left;white-space:normal;line-height:1.35}.chemist-class-table th:nth-child(4),.chemist-class-table td:nth-child(4){width:170px;min-width:170px;text-align:center;white-space:normal}.chemist-class-table th:nth-child(n+5),.chemist-class-table td:nth-child(n+5){width:52px;min-width:52px;text-align:center;white-space:nowrap}.compact-options .option-card{appearance:none;min-height:108px;display:grid;align-content:start;gap:.42rem;padding:.9rem 1rem;border:1px solid rgba(255,255,255,.11);border-radius:11px;background:#030e15c7;color:#f7f1e4;text-align:left;cursor:pointer}.compact-options .option-card:hover{border-color:#65bfd47a;background:#0c202bf0}.compact-options .option-card.selected{border-color:#e4c477b8;background:#e4c4771c;box-shadow:inset 0 0 0 1px #e4c4771f}.compact-options .option-card strong{color:#f5d98f;font-size:.92rem;line-height:1.25}.compact-options .option-card span{color:#c7d2d8;font-size:.78rem;line-height:1.45}@media(max-width:760px){.chemist-class-table{min-width:1060px}}.prepared-invention-editor{border-color:#65bfd438;background:linear-gradient(180deg,#65bfd40b,#0511197a)}.prepared-invention-editor .choice-block,.monster-mutation-builder .choice-block{margin-top:.8rem}.monster-mutation-builder{border-color:#e4c47757;background:linear-gradient(180deg,#e4c4770d,#05111980)}.monster-mutation-builder .panel-title-row{align-items:flex-start}.monster-mutation-builder .stat-block{margin-top:1rem}.monster-mutation-builder .splice-action-block{margin-bottom:.7rem}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:760px){.form-grid.three{grid-template-columns:1fr}}.monster-mutation-builder .secondary-actor-handoff{margin-top:1rem}.monster-mutation-builder .stored-build-json{max-height:420px;overflow:auto;margin:.75rem 0 0;padding:.8rem;border:1px solid rgba(255,255,255,.09);border-radius:9px;background:#00000047;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.74rem;line-height:1.45}.chemist-reference-disclosure>summary{cursor:pointer;list-style:none;padding:.15rem 0}.chemist-reference-summary-copy{display:grid;gap:.2rem}.chemist-reference-summary-copy>strong{color:#f5d98f;font-size:1rem}.chemist-reference-summary-copy>small{color:#aebdc5}.chemist-reference-body{margin-top:.9rem;padding-top:.85rem;border-top:1px solid rgba(228,196,119,.16)}.chemist-secondary-actor-review{margin-top:1rem}.hybrid-class-table{min-width:1120px;table-layout:auto}.hybrid-class-table th,.hybrid-class-table td{vertical-align:middle}.hybrid-class-table th:nth-child(1),.hybrid-class-table td:nth-child(1),.hybrid-class-table th:nth-child(2),.hybrid-class-table td:nth-child(2),.hybrid-class-table th:nth-child(3),.hybrid-class-table td:nth-child(3),.hybrid-class-table th:nth-child(4),.hybrid-class-table td:nth-child(4),.hybrid-class-table th:nth-child(5),.hybrid-class-table td:nth-child(5),.hybrid-class-table th:nth-child(6),.hybrid-class-table td:nth-child(6),.hybrid-class-table th:nth-child(7),.hybrid-class-table td:nth-child(7){text-align:center;white-space:nowrap}.hybrid-class-table th:nth-child(8),.hybrid-class-table td:nth-child(8){min-width:310px;text-align:left;white-space:normal}.hybrid-lineage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:.75rem;margin-top:.85rem}.hybrid-lineage-card{min-height:132px;padding:.9rem;border:1px solid rgba(255,255,255,.11);border-radius:12px;background:#051119c7;color:#f7f1e4;display:grid;align-content:start;gap:.42rem;text-align:left;cursor:pointer}.hybrid-lineage-card:hover{border-color:#65bfd47a;background:#0a1f2aeb}.hybrid-lineage-card.selected{border-color:#e4c477b3;background:#e4c4771a;box-shadow:inset 0 0 0 1px #e4c47724}.hybrid-lineage-card strong{color:#f6dda0;font-size:.98rem}.hybrid-lineage-card span{color:#d5dfe4;font-size:.8rem;line-height:1.42}.hybrid-lineage-card small{color:#9fb0b9;font-size:.68rem}.hybrid-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.source-audit-note>summary{color:#ffd98d}.hybrid-switch-row{flex-wrap:wrap}@media(max-width:900px){.hybrid-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.hybrid-lineage-grid,.hybrid-stats{grid-template-columns:1fr}}.hybrid-approval-block{display:grid;gap:.55rem;margin-top:.85rem}.hybrid-approval-block p{margin:0}.hybrid-approval-check{display:flex;align-items:flex-start;gap:.55rem;font-weight:600}.hybrid-approval-check input{margin-top:.18rem}.hybrid-option-detail{margin-top:.75rem}.hybrid-option-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.65rem;margin-top:.7rem}.hybrid-option-card{display:grid;gap:.35rem;padding:.75rem;border:1px solid rgba(255,255,255,.11);border-radius:10px;background:#0511199e}.hybrid-option-card strong{color:#f6dda0}.hybrid-option-card span{color:#d5dfe4;font-size:.82rem;line-height:1.42}.hybrid-lineage-track{display:grid;gap:.7rem;margin-top:.9rem}.hybrid-lineage-track>h4{margin:0}.hybrid-lineage-level{display:grid;grid-template-columns:72px minmax(0,1fr);gap:.7rem;align-items:start}.hybrid-lineage-level-label{padding-top:.55rem;color:#f6dda0;font-size:.78rem;font-weight:700}.compact-rules{margin-top:.35rem}.hybrid-future-choice{margin-top:.85rem}@media(max-width:640px){.hybrid-lineage-level{grid-template-columns:1fr;gap:.2rem}}.hybrid-variant-block{margin-top:.85rem}.hybrid-inline-upgrade{display:grid;gap:.25rem;margin-top:.35rem;padding:.65rem .75rem;border:1px dashed rgba(246,221,160,.28);border-radius:9px;background:#f6dda00b}.hybrid-inline-upgrade strong{color:#f6dda0;font-size:.82rem}.hybrid-inline-upgrade span{color:#d5dfe4;font-size:.79rem;line-height:1.4}.virtuoso-shell-ui>.class-hero{border-color:#e4c4776b!important;background:linear-gradient(135deg,#e4c47713,#65bfd40b),linear-gradient(180deg,#112431f5,#0a1822f5)!important;box-shadow:0 24px 70px #0003,inset 0 1px #e4c4770e}.virtuoso-shell-ui>.class-hero .panel-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.virtuoso-shell-ui>.class-hero .panel-title-row>.chips{margin-top:0;justify-content:flex-end}.starting-class-button[data-selected=true],.starting-class-button[data-selected=true]:disabled,.starting-class-button[aria-current=true],.starting-class-button[aria-current=true]:disabled{opacity:1!important;border-color:#e4c477fa!important;background:linear-gradient(180deg,#efd58e,#caa451)!important;color:#14202a!important;box-shadow:0 0 0 2px #e4c47738,0 0 20px #e4c47757!important;filter:none!important;cursor:default}.starting-class-button[data-selected=true]:before,.starting-class-button[aria-current=true]:before{content:"✓ ";font-weight:900}@media(max-width:900px){.virtuoso-shell-ui>.class-hero .panel-title-row{display:grid}.virtuoso-shell-ui>.class-hero .panel-title-row>.chips{justify-content:flex-start}}.tinkerer-shell-ui{display:grid;gap:1rem;min-width:0}.tinkerer-shell-ui .panel-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.tinkerer-shell-ui .panel-title-row>.chips{margin-top:0;justify-content:flex-end}.tinkerer-shell-ui .tinkerer-active-checkpoint{border-color:#e4c4776b;box-shadow:inset 0 1px #ffffff09,0 24px 70px #0003}.tinkerer-shell-ui .feature-card{width:100%;margin-top:.7rem;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:#05111985;overflow:hidden}.tinkerer-shell-ui .feature-card>summary{min-height:42px;display:flex;align-items:center;gap:.55rem;padding:.68rem .82rem;cursor:pointer;color:#edf3f5;font-size:.84rem;line-height:1.35;-webkit-user-select:none;user-select:none}.tinkerer-shell-ui .feature-card>summary:hover{background:#ffffff09}.tinkerer-shell-ui .feature-card[open]>summary{border-bottom:1px solid rgba(255,255,255,.08);background:#e4c4770b}.tinkerer-shell-ui .feature-card>.rules-copy,.tinkerer-shell-ui .feature-card>.stack,.tinkerer-shell-ui .feature-card>.choice-block,.tinkerer-shell-ui .feature-card>div:not(.chips){padding:.78rem .86rem}.tinkerer-shell-ui .feature-card .rules-copy>:first-child,.tinkerer-shell-ui .feature-card .stack>:first-child{margin-top:0}.tinkerer-shell-ui .feature-card .rules-copy>:last-child,.tinkerer-shell-ui .feature-card .stack>:last-child{margin-bottom:0}.tinkerer-shell-ui .feature-card .feature-card{margin-top:.55rem;background:#08151ead}.tinkerer-shell-ui .choice-block>.full-rules,.tinkerer-shell-ui .prepared-creations-editor>.full-rules{margin-top:.7rem}.tinkerer-shell-ui .prepared-creations-editor{margin-top:1rem;padding:1rem;border:1px solid rgba(101,191,212,.18);border-radius:12px;background:#65bfd409}.tinkerer-shell-ui .prepared-creations-editor>h4{margin-top:0}.tinkerer-shell-ui .feature-list{margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.09)}.tinkerer-shell-ui .feature-list>h4{margin-top:0}.tinkerer-shell-ui .level-actions{display:flex;justify-content:flex-start;margin-top:.9rem}.tinkerer-shell-ui .level-actions .button.primary{min-width:min(100%,260px)}.tinkerer-shell-ui .tinkerer-persistent-tools{display:grid;gap:.75rem}.tinkerer-shell-ui .tinkerer-persistent-tools>.feature-card,.tinkerer-shell-ui .tinkerer-persistent-tools>.tinkerer-tool-card{margin-top:0}.tinkerer-shell-ui .tinkerer-reference-library{border-color:#e4c47738;background:linear-gradient(180deg,#e4c4770b,#05111985)}.tinkerer-shell-ui .source-review-panel .notice:last-child,.tinkerer-shell-ui .tinkerer-persistent-tools>:last-child{margin-bottom:0}.tinkerer-shell-ui .level-history{display:grid;gap:.55rem;margin-top:.75rem}.tinkerer-shell-ui .level-complete-card{border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#040e156b;overflow:hidden}.tinkerer-shell-ui .level-complete-card>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.65rem .8rem;cursor:pointer}.tinkerer-shell-ui .level-complete-card>.rules-copy{padding:.8rem}.tinkerer-shell-ui .notice ul{margin-bottom:0}.tinkerer-shell-ui select,.tinkerer-shell-ui input,.tinkerer-shell-ui textarea,.tinkerer-shell-ui button{max-width:100%}.tinkerer-shell-ui .tinkerer-blueprint-actions{align-items:end}.tinkerer-shell-ui .tinkerer-blueprint-add{min-height:44px;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,color .15s ease,opacity .15s ease}.tinkerer-shell-ui .tinkerer-blueprint-add:disabled{opacity:.5;box-shadow:none}.tinkerer-shell-ui .tinkerer-blueprint-add.is-ready:not(:disabled){border-color:#e4c477f2;background:linear-gradient(180deg,#e4c4772e,#65bfd41f);color:#fff8e7;box-shadow:0 0 0 1px #e4c4772e,0 0 18px #65bfd433,inset 0 1px #ffffff14}.tinkerer-shell-ui .tinkerer-blueprint-add.is-ready:not(:disabled):hover{border-color:var(--gold);background:linear-gradient(180deg,#e4c4773d,#65bfd429);box-shadow:0 0 0 1px #e4c47738,0 0 22px #65bfd442,inset 0 1px #ffffff1a}.tinkerer-shell-ui .tinkerer-blueprint-chips{display:flex;flex-wrap:wrap;gap:.5rem;align-items:flex-start}.tinkerer-shell-ui .tinkerer-blueprint-chip{max-width:100%;white-space:normal;line-height:1.3;overflow-wrap:anywhere}.tinkerer-shell-ui .tinkerer-blueprint-chip.is-researched{border-color:#e4c4779e;background:linear-gradient(180deg,#112735f5,#08151ef5);color:#f8f3e9}.tinkerer-shell-ui .tinkerer-blueprint-chip.is-researched:hover{border-color:#e4c477e6;background:linear-gradient(180deg,#1d3746fa,#0c1d28fa);color:#fff8e7}.tinkerer-shell-ui .tinkerer-blueprint-chip.is-locked:disabled{opacity:1;border-color:#65bfd457;background:#112735d1;color:#d7e4e8;cursor:not-allowed}@media(max-width:760px){.tinkerer-shell-ui .panel-title-row{display:grid}.tinkerer-shell-ui .panel-title-row>.chips{justify-content:flex-start}.tinkerer-shell-ui .level-complete-card>summary{grid-template-columns:1fr;gap:.25rem}.tinkerer-shell-ui .level-actions .button.primary,.tinkerer-shell-ui .tinkerer-blueprint-actions .tinkerer-blueprint-add{width:100%}}.tinkerer-shell-ui .tinkerer-class-table-panel{padding-bottom:1.1rem}.tinkerer-shell-ui .tinkerer-class-table-scroll{width:100%;margin-top:.9rem;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid rgba(228,196,119,.2);border-radius:12px;background:#040e1585;scrollbar-gutter:stable}.tinkerer-shell-ui .tinkerer-class-table-scroll:focus-visible{outline:2px solid rgba(101,191,212,.68);outline-offset:2px}.tinkerer-shell-ui .tinkerer-table-caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.tinkerer-shell-ui .tinkerer-class-table{width:100%;min-width:1120px;border-collapse:separate;border-spacing:0;table-layout:fixed;color:#eef3f5;font-size:.76rem}.tinkerer-shell-ui .tinkerer-class-table th,.tinkerer-shell-ui .tinkerer-class-table td{padding:.5rem .48rem;border-right:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.065);vertical-align:middle}.tinkerer-shell-ui .tinkerer-class-table th:last-child,.tinkerer-shell-ui .tinkerer-class-table td:last-child{border-right:0}.tinkerer-shell-ui .tinkerer-class-table tbody tr:last-child>*{border-bottom:0}.tinkerer-shell-ui .tinkerer-class-table thead th{background:#112735;color:#f8f3e9;font-weight:800;text-align:center;line-height:1.25}.tinkerer-shell-ui .tinkerer-class-table thead tr:first-child th{border-bottom-color:#e4c47738}.tinkerer-shell-ui .tinkerer-class-table tbody th{width:68px;background:#0e222ef5;color:#f8f3e9;text-align:left;font-weight:800;white-space:nowrap}.tinkerer-shell-ui .tinkerer-class-table tbody td{background:#08151ea3}.tinkerer-shell-ui .tinkerer-class-table tbody tr:nth-child(2n) td{background:#112431a3}.tinkerer-shell-ui .tinkerer-class-table .tinkerer-feature-column{width:330px;text-align:left;line-height:1.4}.tinkerer-shell-ui .tinkerer-class-table th:nth-child(1){width:70px}.tinkerer-shell-ui .tinkerer-class-table th:nth-child(2){width:88px}.tinkerer-shell-ui .tinkerer-class-table th:nth-child(4){width:124px}.tinkerer-shell-ui .tinkerer-class-table .tinkerer-slot-cell{width:42px;text-align:center;font-variant-numeric:tabular-nums}.tinkerer-shell-ui .tinkerer-class-table tbody .tinkerer-table-row.tinkerer-table-row-completed>td,.tinkerer-shell-ui .tinkerer-class-table tbody .tinkerer-table-row.tinkerer-table-row-completed>th{background:#80d6a20e}.tinkerer-shell-ui .tinkerer-class-table tbody .tinkerer-table-row.tinkerer-table-row-completed>th:first-child{box-shadow:inset 3px 0 #80d6a270}.tinkerer-shell-ui .tinkerer-class-table tbody .tinkerer-table-row.tinkerer-table-row-current>td,.tinkerer-shell-ui .tinkerer-class-table tbody .tinkerer-table-row.tinkerer-table-row-current>th{background:#e4c47729}.tinkerer-shell-ui .tinkerer-class-table tbody .tinkerer-table-row.tinkerer-table-row-current>th:first-child{box-shadow:inset 3px 0 0 var(--gold)}.tinkerer-shell-ui .tinkerer-class-table tbody .tinkerer-table-row.tinkerer-table-row-target>td,.tinkerer-shell-ui .tinkerer-class-table tbody .tinkerer-table-row.tinkerer-table-row-target>th{background:#65bfd40e}.tinkerer-shell-ui .tinkerer-class-table tbody .tinkerer-table-row.tinkerer-table-row-future{opacity:.62}.tinkerer-shell-ui .tinkerer-table-legend{margin-top:0;justify-content:flex-end}.tinkerer-shell-ui .tinkerer-table-note{margin:.75rem 0 0;font-size:.72rem}@media(max-width:760px){.tinkerer-shell-ui .tinkerer-class-table-panel{padding-left:.8rem;padding-right:.8rem}.tinkerer-shell-ui .tinkerer-class-table{min-width:1040px;font-size:.72rem}.tinkerer-shell-ui .tinkerer-class-table th,.tinkerer-shell-ui .tinkerer-class-table td{padding:.45rem .4rem}.tinkerer-shell-ui .tinkerer-table-legend{justify-content:flex-start}}.standard-dnd-feat-control{display:grid;gap:.7rem;margin-top:.9rem;padding:.82rem;border:1px solid rgba(101,191,212,.25);border-radius:10px;background:#65bfd40b}.standard-dnd-feat-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem}.standard-dnd-feat-heading>div{display:grid;gap:.2rem}.standard-dnd-feat-heading strong{font-size:.88rem}.standard-dnd-feat-source-buttons{width:fit-content;max-width:100%}.standard-dnd-feat-source-buttons button.selected,.standard-dnd-feat-source-buttons button.active{color:#14202a;background:var(--gold)}.standard-dnd-feat-name{max-width:620px}.standard-dnd-feat-name small{color:var(--muted);font-size:.72rem;line-height:1.45}.review-grid>.crew-role-review-card{align-self:start;height:fit-content;min-height:0;padding-top:1rem;padding-bottom:1rem}.crew-role-review-card h3{margin-bottom:.35rem}.crew-role-review-card ol{margin:.3rem 0 0;padding-left:1.25rem;line-height:1.55}@media(max-width:760px){.standard-dnd-feat-source-buttons{width:100%}.standard-dnd-feat-source-buttons button{flex:1 1 100%}}.advancement-editor:has(>.standard-dnd-feat-control[data-feat-source=standard-dnd])>.choice-block:has(select){display:none!important}.standard-dnd-feat-gm-warning{margin-top:0}.class-level-revision-panel{display:grid;gap:.85rem;margin:1rem 0}.class-revision-controls{display:flex;align-items:end;gap:.75rem;flex-wrap:wrap}.class-revision-controls .field{min-width:min(330px,100%)}.class-revision-note{flex-basis:100%;margin:.1rem 0 0;font-size:.76rem}.class-revision-active{display:grid;gap:.75rem}.class-revision-fix-focus{border-color:#ff8c83d1!important;box-shadow:0 0 0 2px #ff8c831f,0 0 24px #ff8c832e!important;animation:classRevisionFixPulse .7s ease-in-out 2 alternate}@keyframes classRevisionFixPulse{0%{filter:brightness(1)}to{filter:brightness(1.12)}}.importer-fix-list{display:grid;gap:.38rem}.importer-fix-error{width:100%;padding:.25rem 0;border:0;background:transparent;color:inherit;text-align:left;font:inherit;line-height:1.45;cursor:pointer}.importer-fix-error:after{content:"  Fix this →";color:var(--gold);font-size:.72rem;font-weight:800;white-space:nowrap}.importer-fix-error:hover,.importer-fix-error:focus-visible{color:#fff;text-decoration:underline;text-decoration-color:#e4c477b8}.importer-fix-error:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:4px}.review-grid{align-items:start}.review-column{display:grid;gap:1rem;align-content:start;min-width:0}.crew-role-review-card{align-self:start;height:fit-content;min-height:0}.selected-spells-review-card{align-self:start}.selected-spells-list{display:grid;gap:.55rem;margin-top:.8rem}.selected-spells-list li{display:grid;gap:.12rem;padding:.55rem .65rem;border:1px solid rgba(255,255,255,.065);border-radius:8px;background:#ffffff06}.selected-spells-list small{color:var(--muted);font-size:.68rem;line-height:1.4}@media(max-width:760px){.class-revision-controls{display:grid}.class-revision-controls .button,.class-revision-controls .field{width:100%;max-width:none}.review-column{width:100%}}@media(prefers-reduced-motion:reduce){.class-revision-fix-focus{animation:none}}.starting-class-button.selected,.starting-class-button.selected:disabled,.starting-class-button.active,.starting-class-button.active:disabled{opacity:1!important;border-color:#e4c477f0!important;background:linear-gradient(180deg,#e7cb82,#caa451)!important;color:#14202a!important;box-shadow:0 0 0 2px #e4c4772e,0 0 19px #e4c4774d!important}.bio-panel{min-width:0}.bio-identity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem;margin-top:1rem}.bio-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;margin-top:1rem}.bio-field{position:relative;min-width:0}.bio-field textarea{width:100%;resize:vertical;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:#08151e;color:#f8f3e9;min-height:104px;padding:.72rem .75rem;outline:none;font:inherit;line-height:1.5}.bio-field textarea:focus{border-color:#65bfd4b8;box-shadow:0 0 0 3px #65bfd417}.bio-field-empty input,.bio-field-empty select,.bio-field-empty textarea{border-color:#65bfd4b8!important;box-shadow:0 0 0 2px #65bfd414,0 0 14px #65bfd421}.bio-field-empty>span:after{content:"  Optional - blank";margin-left:.35rem;color:var(--blue);font-size:.62rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.house-size-note{margin-top:.75rem}@media(max-width:900px){.bio-identity-grid,.bio-story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.bio-identity-grid,.bio-story-grid{grid-template-columns:1fr}}.cad-top-hub{width:min(1180px,calc(100% - 30px));margin:24px auto 26px;font-family:Inter,sans-serif;position:relative;z-index:40}.cad-top-hub-inner{position:relative;padding:30px 24px 34px;border:1px solid rgba(93,184,255,.32);border-radius:24px;background:linear-gradient(145deg,#121212c7,#080c12c2),#121212b3;box-shadow:0 24px 50px #000000a6,inset 0 1px 1px #ffffff0d,0 0 24px #5db8ff1f,0 0 42px #d6a94a0f;overflow:visible;isolation:isolate}.cad-top-hub-inner:before{content:"";position:absolute;inset:0;border-radius:24px;pointer-events:none;background:radial-gradient(circle at 8% 8%,rgba(232,247,255,.18) 0 1px,transparent 3px),radial-gradient(circle at 92% 14%,rgba(159,220,255,.16) 0 1px,transparent 3px),radial-gradient(circle at 88% 88%,rgba(232,247,255,.12) 0 1px,transparent 3px),radial-gradient(circle at 12% 82%,rgba(93,184,255,.12) 0 1px,transparent 3px),radial-gradient(circle at 50% 12%,rgba(93,184,255,.13),transparent 32%),linear-gradient(135deg,rgba(159,220,255,.12),transparent 30%,transparent 72%,rgba(214,169,74,.08));opacity:.78;z-index:0}.cad-brand-seal{position:relative;z-index:2;margin:0 auto 24px;font-family:Cinzel,serif;font-weight:700;font-size:clamp(2rem,4.4vw,3.6rem);line-height:1;letter-spacing:.14em;text-align:center;text-transform:none;background:linear-gradient(to bottom,#fff8e1,#d6a94a);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#ffd36a;filter:drop-shadow(0 0 8px rgba(214,169,74,.45)) drop-shadow(0 0 4px rgba(255,211,106,.32));animation:cadTitleGlow 3s ease-in-out infinite alternate}@keyframes cadTitleGlow{0%{filter:drop-shadow(0 0 8px rgba(214,169,74,.4)) drop-shadow(0 0 2px rgba(255,211,106,.3))}to{filter:drop-shadow(0 0 16px rgba(214,169,74,.8)) drop-shadow(0 0 6px rgba(255,211,106,.6))}}.cad-link-row{position:relative;z-index:2;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;max-width:1100px;margin:0 auto}.cad-button{--button-cycle: 30s;--button-delay: 0s;position:relative;display:flex;align-items:center;justify-content:center;min-height:64px;padding:12px 18px;border-radius:12px;overflow:visible;background-image:linear-gradient(#ffd36a38,#8f67202e),url(https://i.postimg.cc/FmzxjHgP/task-01kn5h3e3zfsxt9b2c47wt8ngg-1775080976-img-1.webp);background-size:100% 100%,100% 100%;background-position:center,center;background-repeat:no-repeat;color:#050505;text-decoration:none;font-family:Inter,sans-serif;font-weight:800;font-size:.82rem;letter-spacing:.13em;text-transform:uppercase;border:1px solid rgba(255,220,130,.55);box-shadow:0 8px 18px #0000008c,0 0 10px #d6a94a38,0 0 10px #5db8ff0f,inset 0 1px 1px #ffeea07a,inset 0 -2px 6px #00000059;filter:brightness(1.04) saturate(1.08);transition:transform .25s ease,box-shadow .25s ease,filter .25s ease,border-color .25s ease;animation:cadButtonAuraBreath var(--button-cycle) ease-in-out infinite;animation-delay:var(--button-delay)}.cad-link-row .cad-button:nth-child(1){--button-delay: 0s}.cad-link-row .cad-button:nth-child(2){--button-delay: 6s}.cad-link-row .cad-button:nth-child(3){--button-delay: 12s}.cad-link-row .cad-button:nth-child(4){--button-delay: 18s}.cad-link-row .cad-button:nth-child(5){--button-delay: 24s}.cad-button-light-frame{position:absolute;inset:0;z-index:1;border-radius:inherit;overflow:hidden;pointer-events:none}.cad-button-moonlight{position:absolute;top:-35%;bottom:-35%;left:-55%;width:42%;z-index:1;pointer-events:none;background:linear-gradient(110deg,#5db8ff00,#5db8ff14 24%,#9fdcff42 42%,#e8f7ff57,#9fdcff38 58%,#5db8ff14 74%,#5db8ff00);filter:blur(7px) drop-shadow(0 0 10px rgba(93,184,255,.2));opacity:0;transform:translate(0) skew(-12deg);animation:cadMoonlightPass var(--button-cycle) ease-in-out infinite;animation-delay:var(--button-delay)}.cad-button-label{position:relative;z-index:2;display:inline-block;color:#050505;-webkit-text-fill-color:#050505;text-shadow:0 1px 0 rgba(255,235,170,.3)}.cad-button-label:after{content:attr(data-text);position:absolute;inset:0;z-index:3;pointer-events:none;-webkit-text-fill-color:transparent;background-image:linear-gradient(110deg,#5db8ff00 0% 34%,#5db8ffc7 45%,#e8f7ff,#9fdcffe0 57%,#5db8ff00 68% 100%);background-size:260% 100%;background-position:-220% center;-webkit-background-clip:text;background-clip:text;opacity:0;filter:drop-shadow(0 0 4px rgba(159,220,255,.18));animation:cadMoonlightTextPass var(--button-cycle) ease-in-out infinite;animation-delay:var(--button-delay)}@keyframes cadMoonlightPass{0%{opacity:.12;transform:translate(0) skew(-12deg)}2%{opacity:.28}11%{opacity:.58}21%{opacity:.3}26%{opacity:0;transform:translate(360%) skew(-12deg)}to{opacity:0;transform:translate(360%) skew(-12deg)}}@keyframes cadMoonlightTextPass{0%{opacity:.1;background-position:-220% center}2%{opacity:.24}11%{opacity:.74}21%{opacity:.3}26%{opacity:0;background-position:220% center}to{opacity:0;background-position:220% center}}@keyframes cadButtonAuraBreath{0%,26%,to{box-shadow:0 8px 18px #0000008c,0 0 10px #d6a94a38,0 0 10px #5db8ff0f,inset 0 1px 1px #ffeea07a,inset 0 -2px 6px #00000059}11%{box-shadow:0 10px 22px #0000009e,0 0 12px #d6a94a38,0 0 24px #5db8ff38,0 0 38px #5db8ff1a,inset 0 1px 2px #e8f7ff57,inset 0 -2px 7px #0006}}.cad-button:hover{transform:translateY(-6px) scale(1.04);filter:brightness(1.16) saturate(1.14) contrast(1.03);border-color:#9fdcff9e;box-shadow:0 16px 34px #000000bf,0 0 20px #ffd36a4d,0 0 26px #5db8ff47,0 0 44px #5db8ff1f,inset 0 1px 2px #e8f7ff6b,inset 0 -3px 10px #00000080}.cad-button:hover .cad-button-moonlight{opacity:.55;animation-play-state:paused;transform:translate(175%) skew(-12deg)}.cad-button:hover .cad-button-label:after{opacity:.7;animation-play-state:paused;background-position:50% center}.cad-button:focus-visible{outline:2px solid #9fdcff;outline-offset:4px}.cad-image-preview-button{position:relative}.cad-site-preview{position:absolute;left:50%;top:calc(100% + 18px);bottom:auto;width:390px;aspect-ratio:16 / 9;transform:translate(-50%) translateY(-10px) scale(.96);opacity:0;visibility:hidden;pointer-events:none;z-index:220;border-radius:16px;overflow:hidden;border:1px solid rgba(159,220,255,.58);background:#050505;box-shadow:0 18px 42px #000000d9,0 0 28px #5db8ff52,0 0 42px #d6a94a24;transition:opacity .25s ease,transform .25s ease,visibility .25s ease}.cad-site-preview img{width:100%;height:100%;display:block;object-fit:cover;object-position:top center}.cad-image-preview-button:hover .cad-site-preview,.cad-image-preview-button:focus-visible .cad-site-preview{opacity:1;visibility:visible;transform:translate(-50%) translateY(0) scale(1)}@media(max-width:900px){.cad-link-row{grid-template-columns:repeat(2,minmax(0,1fr));max-width:600px}.cad-site-preview{width:min(340px,78vw)}}@media(max-width:520px){.cad-link-row{grid-template-columns:1fr}.cad-brand-seal{font-size:clamp(1.9rem,10vw,2.8rem);letter-spacing:.1em}.cad-top-hub{width:min(100% - 20px,1180px);margin-top:14px}.cad-top-hub-inner{padding:25px 16px 28px}.cad-site-preview{display:none}}@media(prefers-reduced-motion:reduce){.cad-brand-seal,.cad-button,.cad-button-moonlight,.cad-button-label:after{animation:none!important}}.panel.ctrlaltdefeat-house-rules{display:grid;gap:0;padding:0;overflow:hidden;min-width:0;border-color:#e4c4776b;background:radial-gradient(circle at 12% 12%,rgba(228,196,119,.1),transparent 34%),linear-gradient(180deg,#112431ed,#0a1822f0)}.ctrlaltdefeat-house-rules>summary{list-style:none;position:relative;display:flex;align-items:center;gap:.8rem;min-height:64px;min-width:0;padding:1rem 1.25rem;cursor:pointer;color:var(--gold);font-weight:800;overflow:hidden;background:linear-gradient(90deg,#e4c4771f,#65bfd409),#05101785}.ctrlaltdefeat-house-rules>summary::-webkit-details-marker,.ctrlaltdefeat-house-rules-category>summary::-webkit-details-marker{display:none}.ctrlaltdefeat-house-rules>summary:before,.ctrlaltdefeat-house-rules-category>summary:before{content:"▶";flex:0 0 auto;color:var(--gold);font-size:.82rem;line-height:1;transition:transform .18s ease}.ctrlaltdefeat-house-rules[open]>summary:before,.ctrlaltdefeat-house-rules-category[open]>summary:before{transform:rotate(90deg)}.ctrlaltdefeat-house-rules:not([open])>summary:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.08) 48%,transparent 56%);transform:translate(-120%);animation:ctrlaltdefeat-house-rules-title-shine 4.5s ease-in-out infinite}.ctrlaltdefeat-house-rules[open]>summary{border-bottom:1px solid var(--line-strong, rgba(255, 255, 255, .08))}.ctrlaltdefeat-house-rules[open]>summary:after{animation:none;opacity:0}.ctrlaltdefeat-house-rules>summary:focus-visible,.ctrlaltdefeat-house-rules-category>summary:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}.ctrlaltdefeat-house-rules-summary-copy{flex:1 1 auto;min-width:0;display:grid;gap:.15rem}.ctrlaltdefeat-house-rules-summary-copy strong{color:#f7f1e4;font-size:1.03rem;overflow-wrap:anywhere}.ctrlaltdefeat-house-rules-summary-copy small{color:var(--muted);font-size:.72rem;font-weight:600}.ctrlaltdefeat-house-rules-body{display:grid;gap:.85rem;min-width:0;padding:.9rem 1.15rem 1.15rem}.ctrlaltdefeat-house-rules-optional-note{margin:0}.ctrlaltdefeat-house-rules-badges{display:flex;flex-wrap:wrap;gap:.45rem}.ctrlaltdefeat-house-rules-badges span{display:inline-flex;align-items:center;min-height:1.65rem;padding:.18rem .55rem;border:1px solid rgba(228,196,119,.28);border-radius:999px;background:#e4c47714;color:var(--gold);font-size:.72rem;font-weight:700;letter-spacing:.02em}.ctrlaltdefeat-house-rules-category{min-width:0;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#ffffff05;overflow:hidden}.ctrlaltdefeat-house-rules-category>summary{list-style:none;display:flex;align-items:center;gap:.8rem;min-width:0;cursor:pointer;padding:.72rem .85rem;font-weight:700;color:var(--gold)}.ctrlaltdefeat-house-rules-category-body{display:grid;gap:.55rem;min-width:0;padding:0 .85rem .85rem}.ctrlaltdefeat-house-rules-category-body ul{margin:0;padding-left:1.1rem}.ctrlaltdefeat-house-rules-category-body li+li{margin-top:.35rem}.ctrlaltdefeat-house-rules-links{display:flex;flex-wrap:wrap;gap:.45rem}.ctrlaltdefeat-house-rules-links a{color:var(--blue);font-size:.82rem;font-weight:600;text-decoration:none}.ctrlaltdefeat-house-rules-links a:hover,.ctrlaltdefeat-house-rules-links a:focus-visible{text-decoration:underline}.ctrlaltdefeat-house-rules-tweak textarea{min-height:4.5rem;max-width:100%;resize:vertical}.ctrlaltdefeat-house-rules-haki{display:grid;gap:.55rem;min-width:0}@keyframes ctrlaltdefeat-house-rules-title-shine{0%,72%,to{transform:translate(-120%)}82%{transform:translate(120%)}}@media(max-width:620px){.ctrlaltdefeat-house-rules>summary,.ctrlaltdefeat-house-rules-category>summary{gap:.65rem;padding-left:.9rem;padding-right:.9rem}.ctrlaltdefeat-house-rules-body,.ctrlaltdefeat-house-rules-category-body{padding-left:.9rem;padding-right:.9rem}.ctrlaltdefeat-house-rules-summary-copy strong{font-size:.95rem}}@media(prefers-reduced-motion:reduce){.ctrlaltdefeat-house-rules>summary:before,.ctrlaltdefeat-house-rules-category>summary:before{transition:none}.ctrlaltdefeat-house-rules:not([open])>summary:after{animation:none;opacity:.45;transform:none;background:linear-gradient(90deg,rgba(228,196,119,.16),transparent 62%)}}.topbar-brand-group{display:flex;align-items:center;gap:clamp(1rem,2.2vw,1.8rem);min-width:0;flex:1 1 auto}.topbar-title-block{min-width:0;flex:0 1 auto}.topbar-book-links{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;min-width:0;flex:0 1 auto}.topbar-book-link{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;gap:.62rem;min-height:78px;padding:.38rem .65rem .38rem .38rem;border:1px solid rgba(228,196,119,.24);border-radius:12px;background:radial-gradient(circle at 20% 20%,rgba(228,196,119,.09),transparent 48%),#ffffff06;color:#f7f1e4;text-decoration:none;box-shadow:0 8px 20px #00000038,0 0 #e4c47700;transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease}.topbar-book-cover-frame{position:relative;display:block;width:50px;height:66px;flex:0 0 50px;overflow:hidden;border:1px solid rgba(228,196,119,.5);border-radius:5px;background:#0b151c;box-shadow:3px 4px 10px #0000007a,0 0 8px #e4c47714;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.topbar-book-cover-frame img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}.topbar-book-copy{display:grid;gap:.16rem;line-height:1.2;white-space:nowrap}.topbar-book-copy strong{max-width:138px;color:var(--gold);font-size:.74rem;font-weight:800;letter-spacing:.025em;white-space:normal}.topbar-book-copy small{color:var(--muted);font-size:.64rem;font-weight:600}.topbar-book-link:hover,.topbar-book-link:focus-visible{transform:translateY(-2px);border-color:#e4c477ad;background:radial-gradient(circle at 20% 20%,rgba(228,196,119,.14),transparent 52%),#65bfd40b;box-shadow:0 12px 26px #00000057,0 0 18px #e4c47721,0 0 18px #65bfd414}.topbar-book-link:hover .topbar-book-cover-frame,.topbar-book-link:focus-visible .topbar-book-cover-frame{transform:scale(1.07);border-color:#ffdc82db;box-shadow:5px 7px 16px #0000008a,0 0 14px #e4c47738,0 0 12px #65bfd41a}.topbar-book-link:focus-visible{outline:2px solid var(--blue);outline-offset:3px}@media(max-width:1220px){.topbar{flex-wrap:wrap}.topbar-brand-group{flex:1 1 850px}.topbar-actions{margin-left:auto}.topbar-book-copy{display:none}}@media(max-width:760px){.topbar-brand-group{gap:.8rem;align-items:center}.topbar-book-links{gap:.42rem}.topbar-book-link{min-height:66px;padding:.3rem}.topbar-book-cover-frame{width:42px;height:56px;flex-basis:42px}}@media(max-width:520px){.topbar{align-items:flex-start}.topbar-brand-group{width:100%;align-items:center;justify-content:space-between}.topbar-book-links{gap:.3rem}.topbar-book-link{min-height:58px;padding:.25rem}.topbar-book-cover-frame{width:36px;height:48px;flex-basis:36px}}.topbar-referral-link{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;min-height:78px;padding:.45rem .8rem;border:1px solid rgba(228,196,119,.42);border-radius:12px;background:radial-gradient(circle at 18% 18%,rgba(228,196,119,.16),transparent 52%),radial-gradient(circle at 82% 78%,rgba(101,191,212,.12),transparent 48%),#ffffff08;color:#f7f1e4;text-decoration:none;box-shadow:0 8px 20px #0000003d,0 0 16px #e4c4771f,0 0 14px #65bfd414;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.topbar-referral-glow{position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px #e4c4772e}.topbar-referral-copy{display:grid;gap:.16rem;line-height:1.2;white-space:nowrap}.topbar-referral-copy strong{max-width:148px;color:var(--gold);font-size:.74rem;font-weight:800;letter-spacing:.025em;white-space:normal}.topbar-referral-copy small{color:var(--muted);font-size:.64rem;font-weight:600}.topbar-referral-link:hover,.topbar-referral-link:focus-visible{transform:translateY(-2px);border-color:#e4c477c7;box-shadow:0 12px 26px #00000057,0 0 22px #e4c4772e,0 0 18px #65bfd41f}.topbar-referral-link:focus-visible{outline:2px solid var(--blue);outline-offset:3px}@media(max-width:1220px){.topbar-referral-copy{display:none}.topbar-referral-link{min-width:66px;justify-content:center;padding:.38rem .55rem}.topbar-referral-link:after{content:"$10 off next game";color:var(--gold);font-size:.72rem;font-weight:800;letter-spacing:.03em;line-height:1.15;text-align:center}}@media(max-width:760px){.topbar-referral-link,.topbar-export-link{min-height:66px}}@media(max-width:520px){.topbar-referral-link,.topbar-export-link{min-height:58px}}.topbar-export-link{position:relative;flex:0 0 auto;display:inline-flex;align-items:center;min-height:78px;padding:.45rem .8rem;border:1px solid rgba(101,191,212,.46);border-radius:12px;background:radial-gradient(circle at 18% 18%,rgba(228,196,119,.18),transparent 52%),radial-gradient(circle at 82% 78%,rgba(101,191,212,.18),transparent 48%),#ffffff09;color:#f7f1e4;font:inherit;text-align:left;cursor:pointer;appearance:none;box-shadow:0 8px 20px #0000003d,0 0 18px #e4c47729,0 0 16px #65bfd424;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.topbar-export-glow{position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px #e4c47738,0 0 14px #65bfd429}.topbar-export-copy{display:grid;gap:.16rem;line-height:1.2;white-space:nowrap}.topbar-export-copy strong{max-width:148px;color:var(--gold);font-size:.74rem;font-weight:800;letter-spacing:.025em;white-space:normal}.topbar-export-copy small{color:var(--muted);font-size:.64rem;font-weight:600}.topbar-export-link:hover,.topbar-export-link:focus-visible{transform:translateY(-2px);border-color:#65bfd4d1;box-shadow:0 12px 26px #00000057,0 0 24px #e4c47733,0 0 22px #65bfd42e}.topbar-export-link:focus-visible{outline:2px solid var(--blue);outline-offset:3px}@media(max-width:1220px){.topbar-export-copy{display:none}.topbar-export-link{min-width:74px;justify-content:center;padding:.38rem .55rem}.topbar-export-link:after{content:"Export";color:var(--gold);font-size:.72rem;font-weight:800;letter-spacing:.03em}}@media(prefers-reduced-motion:reduce){.topbar-book-link,.topbar-book-cover-frame,.topbar-referral-link,.topbar-export-link{transition:none}}.topbar-actions>.button.secondary[title^="Load a previous CtrlAltDefeat character"]{display:none!important}@media(min-width:821px){.topbar{flex-wrap:nowrap!important;gap:clamp(.7rem,1.25vw,1.2rem);padding-left:clamp(1rem,2.6vw,3rem);padding-right:clamp(1rem,2.6vw,3rem)}.topbar-brand-group{display:grid;grid-template-columns:clamp(285px,24vw,470px) minmax(0,1fr);align-items:center;gap:clamp(.65rem,1.15vw,1.1rem);min-width:0;flex:1 1 auto!important}.topbar-title-block{min-width:0}.topbar-book-links{display:grid!important;grid-template-columns:minmax(0,1.22fr) minmax(0,1.22fr) minmax(0,.92fr) minmax(0,.92fr) minmax(0,.92fr);align-items:stretch;gap:clamp(.38rem,.65vw,.58rem);width:100%;min-width:0;flex-wrap:nowrap!important}.topbar-book-link,.topbar-referral-link,.topbar-export-link{width:100%;min-width:0!important;min-height:78px;overflow:hidden}.topbar-book-copy,.topbar-referral-copy,.topbar-export-copy{min-width:0;white-space:normal}.topbar-book-copy strong,.topbar-referral-copy strong,.topbar-export-copy strong{max-width:none;overflow-wrap:anywhere}.topbar-actions{flex:0 0 auto;margin-left:0!important;gap:.62rem}.topbar-actions .save-state{font-size:.76rem}.topbar-actions>.button:not([title^="Load a previous CtrlAltDefeat character"]){width:clamp(126px,8.2vw,154px);min-width:0;padding-left:.72rem;padding-right:.72rem}}@media(min-width:821px)and (max-width:1220px){.topbar-brand-group{grid-template-columns:clamp(235px,25vw,310px) minmax(0,1fr)}.topbar h1{font-size:clamp(1.45rem,2.4vw,1.85rem)}.topbar-book-cover-frame{width:42px;height:56px;flex-basis:42px}.topbar-book-link,.topbar-referral-link,.topbar-export-link{min-height:66px;padding:.34rem .45rem;justify-content:center}.topbar-actions .save-state{display:none}.topbar-actions>.button:not([title^="Load a previous CtrlAltDefeat character"]){width:116px}}@media(max-width:1220px){.topbar-export-link.topbar-import-link:after{content:"Import"}}@media(max-width:820px){.topbar .topbar-book-links{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));width:100%;gap:.4rem}.topbar .topbar-book-links>:nth-child(1),.topbar .topbar-book-links>:nth-child(2),.topbar .topbar-book-links>:nth-child(3){grid-column:span 2}.topbar .topbar-book-links>:nth-child(4),.topbar .topbar-book-links>:nth-child(5){grid-column:span 3}.topbar .topbar-import-link,.topbar .topbar-export-link{justify-content:center}}@media(max-width:430px){.topbar .topbar-book-links{gap:.3rem}}.topbar-title-block .eyebrow{display:none}.topbar-book-links .topbar-book-link:first-child .topbar-book-copy strong{max-width:142px;font-size:.68rem;line-height:1.08;text-wrap:balance}.topbar-book-links .topbar-book-link:first-child .topbar-book-copy small{max-width:142px;white-space:normal;font-size:.58rem;line-height:1.08;text-wrap:balance}.auto-character-creator{position:relative;display:grid;gap:1rem;margin-bottom:1rem;border:1px solid rgba(228,196,119,.58)!important;background:radial-gradient(circle at 12% 12%,rgba(228,196,119,.12),transparent 34%),linear-gradient(135deg,#112633fa,#081822fa)!important;box-shadow:0 0 0 1px #e4c4770d,0 0 22px #e4c47714,0 18px 42px #00000040}.auto-character-creator.is-running{border-color:#65bfd4ad!important;box-shadow:0 0 0 1px #65bfd414,0 0 28px #65bfd424,0 18px 42px #0000004d}.auto-character-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.auto-character-heading>div{min-width:0}.auto-character-heading h3{margin:.16rem 0 .35rem}.auto-character-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem;margin:.16rem 0 .35rem}.auto-character-title-row h3{margin:0}.auto-character-beta-badge{display:inline-flex;align-items:center;padding:.18rem .45rem;border:1px solid rgba(228,196,119,.8);border-radius:999px;background:#e4c4771f;box-shadow:0 0 10px #65bfd42e;color:#f4e6c8;font-size:.68rem;font-weight:900;letter-spacing:.08em;line-height:1;text-transform:uppercase;white-space:nowrap}.auto-character-heading p{max-width:900px;margin-bottom:0}.auto-character-grid{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(150px,.55fr) minmax(220px,.8fr);gap:.8rem}.auto-character-safety-note{margin:0}.auto-character-actions{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center}.auto-character-actions .button.primary{min-width:min(360px,100%)}.auto-character-status{min-height:46px;padding:.75rem .85rem;border:1px solid rgba(101,191,212,.2);border-radius:9px;background:#65bfd40b;color:var(--muted)}.auto-character-status>strong{color:#dcecf4}.auto-character-status.has-issues{border-color:#ffae7657;background:#ffae760e}.auto-character-status.has-issues>strong{color:#ffd6a3}.auto-character-status ul{margin-bottom:0}@media(max-width:980px){.auto-character-grid{grid-template-columns:1fr .6fr}.auto-character-grid .field:last-child{grid-column:1 / -1}}@media(max-width:620px){.auto-character-heading{display:grid}.auto-character-grid{grid-template-columns:1fr}.auto-character-grid .field:last-child{grid-column:auto}.auto-character-actions{display:grid}.auto-character-actions .button{width:100%}}[data-member-access-box=true]{scroll-margin-top:7.25rem}.topbar-book-link,.topbar-referral-link,.topbar-export-link{isolation:isolate;overflow:hidden;border-width:1px;box-shadow:0 10px 26px #00000057,0 0 18px #e4c4771f,inset 0 1px #ffffff0e}.topbar-book-link{border-color:#e4c4776b;background:linear-gradient(135deg,rgba(228,196,119,.075),transparent 42%),radial-gradient(circle at 18% 18%,rgba(228,196,119,.15),transparent 46%),radial-gradient(circle at 88% 86%,rgba(101,191,212,.09),transparent 52%),#ffffff09}.topbar-referral-link{border-color:#e4c477a3;background:linear-gradient(135deg,rgba(255,214,112,.14),transparent 48%),radial-gradient(circle at 82% 78%,rgba(101,191,212,.14),transparent 48%),#ffffff0b;box-shadow:0 10px 28px #0000005c,0 0 22px #e4c4772e,inset 0 1px #fff5d617}.topbar-export-link{border-color:#65bfd4ad;background:linear-gradient(135deg,rgba(228,196,119,.13),transparent 46%),radial-gradient(circle at 82% 78%,rgba(101,191,212,.23),transparent 50%),#ffffff0d;box-shadow:0 10px 28px #0000005c,0 0 24px #65bfd433,0 0 15px #e4c4771f,inset 0 1px #e2faff1a}.topbar-book-link:before,.topbar-referral-link:before,.topbar-export-link:before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(112deg,transparent 10%,rgba(255,255,255,.055) 42%,transparent 68%)}.topbar-book-link:hover,.topbar-book-link:focus-visible,.topbar-referral-link:hover,.topbar-referral-link:focus-visible,.topbar-export-link:hover,.topbar-export-link:focus-visible{transform:translateY(-3px)}.topbar-book-link:hover,.topbar-book-link:focus-visible{border-color:#ffdd88d1;box-shadow:0 14px 32px #0000006b,0 0 25px #e4c47738,0 0 16px #65bfd41f}.topbar-referral-link:hover,.topbar-referral-link:focus-visible{border-color:#ffdd88eb;box-shadow:0 14px 34px #00000070,0 0 30px #e4c47747,0 0 18px #65bfd424}.topbar-export-link:hover,.topbar-export-link:focus-visible{border-color:#85def2f5;box-shadow:0 14px 34px #00000070,0 0 32px #65bfd44d,0 0 19px #e4c4772b}.topbar-book-copy strong,.topbar-referral-copy strong,.topbar-export-copy strong{text-shadow:0 0 12px rgba(228,196,119,.16)}.topbar-book-cover-frame{border-color:#e4c477b3;box-shadow:4px 6px 14px #0000008a,0 0 11px #e4c47724}.membership-role-requirement{margin:.8rem 0;padding:.78rem .9rem;border:1px solid rgba(228,196,119,.34);border-left:3px solid rgba(228,196,119,.88);border-radius:10px;background:linear-gradient(90deg,rgba(228,196,119,.09),transparent 62%),#0510177a}.membership-role-requirement strong{display:block;margin-bottom:.28rem;color:var(--gold);font-size:.92rem}.membership-role-requirement p{margin:0;color:#dce8ef;line-height:1.5}.workspace.builder-faq-mode [data-builder-faq-hidden=true]{display:none!important}.workspace.builder-faq-mode .phase-badge{display:none}.builder-faq-panel{position:relative;overflow:hidden;margin-top:.2rem;border-color:#65bfd447;background:radial-gradient(circle at 50% 0%,rgba(228,196,119,.065),transparent 38%),linear-gradient(180deg,#0b1820fa,#061017fa)}.builder-faq-panel:before{content:"";position:absolute;inset:0 0 auto;height:1px;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(228,196,119,.72),transparent)}.builder-faq-panel>h3{margin:.2rem 0 .3rem;color:var(--gold);font-family:Georgia,Times New Roman,serif;font-size:clamp(1.65rem,3vw,2.25rem);letter-spacing:.04em}.builder-faq-intro{margin:0 0 1rem;max-width:850px}.builder-faq-list{display:grid;gap:.7rem}.builder-faq-item{border:1px solid rgba(101,191,212,.25);border-radius:12px;background:#030a0f9e;box-shadow:inset 0 1px #ffffff05;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}.builder-faq-item:hover,.builder-faq-item[open]{border-color:#e4c4777a;background:linear-gradient(90deg,rgba(228,196,119,.045),transparent 65%),#030a0fb8;box-shadow:inset 0 1px #ffffff06,0 0 18px #65bfd40f}.builder-faq-item summary{cursor:pointer;padding:.88rem 1rem;color:#f2ce72;font-family:Georgia,Times New Roman,serif;font-size:1rem;font-weight:700;line-height:1.35;letter-spacing:.025em}.builder-faq-item summary::marker{color:#f2ce72}.builder-faq-item summary:focus-visible{outline:2px solid var(--blue);outline-offset:-4px;border-radius:10px}.builder-faq-item>p{margin:0;padding:0 1rem 1rem 1.65rem;color:#d7e2e8;line-height:1.62}.builder-faq-item a{color:#82d6ea;font-weight:700;text-underline-offset:.18em}.builder-faq-item a:hover,.builder-faq-item a:focus-visible{color:#f2ce72}@media(max-width:760px){[data-member-access-box=true]{scroll-margin-top:5.25rem}.builder-faq-item summary{padding:.78rem .82rem}.builder-faq-item>p{padding:0 .82rem .88rem 1.35rem}}@media(prefers-reduced-motion:reduce){.builder-faq-item,.topbar-book-link,.topbar-referral-link,.topbar-export-link{transition:none}}.species-custom-feat-editor{display:grid;gap:.42rem;margin-top:.55rem;padding:.7rem .75rem;border:1px solid rgba(228,196,119,.38);border-radius:10px;background:#0510178c}.species-custom-feat-editor strong{color:var(--gold);font-size:.82rem}.species-custom-feat-editor input{width:100%}.species-custom-feat-editor small{color:var(--muted);line-height:1.45}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f7f1e4;background:#071018;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{background:#071018}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{color:inherit}:root{--ink: #071018;--panel: #0e1c27;--panel-2: #122634;--panel-3: #173444;--line: rgba(229, 207, 155, .22);--line-strong: rgba(229, 207, 155, .42);--gold: #e4c477;--gold-deep: #b78a35;--paper: #f7f1e4;--muted: #aebbc4;--blue: #65bfd4;--danger: #ff8c83;--good: #80d6a2}.app-shell{min-height:100vh;background:radial-gradient(circle at 18% -5%,rgba(70,141,159,.26),transparent 32rem),radial-gradient(circle at 92% 5%,rgba(151,97,46,.18),transparent 30rem),linear-gradient(180deg,#102330 0,#08131c 44rem,#060e15)}.topbar{min-height:106px;padding:1.25rem clamp(1.25rem,4vw,3rem);display:flex;justify-content:space-between;gap:1.5rem;align-items:center;border-bottom:1px solid var(--line);background:#060f16c2;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);position:sticky;top:0;z-index:20}.topbar h1{margin:.1rem 0 0;font-size:clamp(1.55rem,2.65vw,2.15rem);line-height:1}.eyebrow{margin:0;text-transform:uppercase;letter-spacing:.16em;color:var(--gold);font-size:.72rem;font-weight:800}.topbar-actions{display:flex;align-items:center;gap:.9rem}.save-state{color:var(--muted);font-size:.82rem;white-space:nowrap}.builder-layout{width:min(1500px,100%);margin:0 auto;display:grid;grid-template-columns:275px minmax(0,1fr);min-height:calc(100vh - 106px)}.sidebar{padding:1.35rem 1.1rem 2rem;border-right:1px solid var(--line);background:#040c1273}.dossier-card{display:grid;gap:.25rem;padding:1rem;border:1px solid var(--line-strong);border-radius:14px;background:linear-gradient(140deg,#e4c4771f,#65bfd40f)}.dossier-card strong{font-size:1.05rem}.dossier-card>span:not(.dossier-label){color:var(--muted);font-size:.8rem}.dossier-label{color:var(--gold);text-transform:uppercase;letter-spacing:.12em;font-size:.66rem;font-weight:800}.steps{display:grid;gap:.35rem;margin-top:1.2rem}.step{width:100%;min-height:48px;display:flex;align-items:center;gap:.75rem;border:1px solid transparent;border-radius:10px;padding:.55rem .7rem;background:transparent;color:#d8e0e4;text-align:left;cursor:pointer}.step>span{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:50%;background:#ffffff12;color:var(--muted);font-size:.78rem;font-weight:800}.step:hover:not(:disabled):not(.locked){background:#ffffff0b}.step.active{border-color:var(--line-strong);background:#e4c47714;color:#fff}.step.active>span{background:var(--gold);color:#15202a}.step.complete>span{color:var(--good);border:1px solid rgba(128,214,162,.4)}.step.locked{opacity:.42;cursor:default}.step.locked small{display:block;color:var(--muted);margin-top:.1rem;font-size:.67rem}.foundry-path{margin-top:1.4rem;padding:.9rem;border-top:1px solid var(--line);color:var(--muted);font-size:.78rem}.foundry-path strong{color:var(--blue)}.foundry-path p{margin:.35rem 0 0;line-height:1.5}.workspace{padding:clamp(1.2rem,3.5vw,2.6rem);min-width:0}.workspace-heading{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.25rem}.workspace-heading h2{margin:.2rem 0 0;font-size:clamp(2rem,4vw,3.3rem)}.phase-badge,.pill{border:1px solid var(--line-strong);border-radius:999px;padding:.45rem .7rem;color:var(--gold);font-size:.72rem;font-weight:700;white-space:nowrap}.pill.standard{color:var(--good);border-color:#80d6a259}.pill.optional{color:#ffd39c;border-color:#ffbe7159}.panel-stack{display:grid;gap:1rem}.panel{border:1px solid var(--line);border-radius:16px;background:linear-gradient(180deg,#112431ed,#0a1822f0);box-shadow:0 24px 70px #0003;padding:clamp(1rem,3vw,1.55rem)}.panel h3{margin:0 0 .45rem;font-size:1.2rem}.panel h4{margin:.35rem 0 .75rem;color:#e8edf0}.panel p{color:#c5d0d6;line-height:1.6}.muted{color:var(--muted)!important}.intro-panel{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:1.25rem;align-items:center;overflow:hidden}.intro-panel h3{font-size:clamp(1.55rem,3vw,2.35rem);margin-bottom:.4rem}.status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.status-grid div,.species-facts div{padding:.85rem;border-radius:11px;background:#ffffff0e;border:1px solid rgba(255,255,255,.04);display:grid;gap:.25rem}.status-grid span,.species-facts span{color:var(--muted);font-size:.72rem}.status-grid strong,.species-facts strong{font-size:.92rem}.form-grid{display:grid;gap:.9rem;margin-top:1rem}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.field{display:grid;gap:.38rem}.field>span{font-size:.78rem;color:#dbe4e8;font-weight:700}.field b{color:var(--gold);font-size:.63rem;text-transform:uppercase;margin-left:.35rem}.field em{color:var(--muted);font-style:normal;font-size:.68rem;margin-left:.3rem}.field.compact{max-width:420px}input,select,textarea{width:100%;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:#08151e;color:#f8f3e9;min-height:43px;padding:.65rem .75rem;outline:none}input:focus,select:focus,textarea:focus{border-color:#65bfd4b8;box-shadow:0 0 0 3px #65bfd417}textarea{resize:vertical}select option{background:#0d1b25;color:#fff}.button{border-radius:9px;border:1px solid transparent;min-height:40px;padding:.62rem .95rem;font-weight:800;cursor:pointer}.button.primary{background:linear-gradient(180deg,#e6ca82,#c9a551);color:#14202a}.button.primary:hover:not(:disabled){filter:brightness(1.06)}.button.secondary{background:#ffffff0e;border-color:#ffffff1a}.button:disabled,.button.disabled{opacity:.42;cursor:not-allowed}.rank-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin-top:1rem}.card-grid{display:grid;gap:1rem}.card-grid.roles{grid-template-columns:repeat(3,minmax(0,1fr))}.choice-card{min-height:215px;border:1px solid var(--line);border-radius:14px;padding:1.05rem;background:#08141dcc}.choice-card.selected{border-color:#e4c4775e}.choice-card.empty{opacity:.55;border-style:dashed}.choice-card h3{margin:.2rem 0 .55rem}.choice-card p{color:var(--muted);font-size:.86rem;line-height:1.55}.card-kicker{color:var(--gold);text-transform:uppercase;letter-spacing:.12em;font-size:.64rem;font-weight:800}.chips{display:flex;flex-wrap:wrap;gap:.38rem;margin-top:.75rem}.chips span{border-radius:999px;padding:.28rem .48rem;background:#65bfd417;color:#bfe8ef;font-size:.68rem}.notice{margin-top:.75rem;padding:.72rem .85rem;border-radius:9px;font-size:.78rem;line-height:1.45;border:1px solid rgba(255,255,255,.1)}.notice.warning{background:#b581331f;color:#f3dba7;border-color:#e4c47742}.notice.danger{background:#bb433d1f;color:#ffc0bb;border-color:#ff8c8340}.species-columns{display:grid;grid-template-columns:.9fr 1.1fr;gap:1rem}.species-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.optional-list{grid-template-columns:repeat(2,minmax(0,1fr))}.species-option{min-height:62px;padding:.72rem;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:#040e15a6;display:grid;gap:.2rem;text-align:left;cursor:pointer}.species-option:hover{border-color:#65bfd461}.species-option.selected{border-color:var(--gold);background:#e4c47717}.species-option strong{font-size:.88rem}.species-option span{color:var(--muted);font-size:.66rem}.selection-header{display:flex;justify-content:space-between;gap:1rem;align-items:center}.selection-header h3{margin:.15rem 0;font-size:1.45rem}.rule-mode,.pattern-picker{margin-top:1rem;padding:.9rem;border:1px solid rgba(255,255,255,.07);border-radius:11px;background:#0000001f}.rule-mode>span,.pattern-picker>span{display:block;margin-bottom:.55rem;color:#e8edf0;font-size:.78rem;font-weight:800}.segmented{display:inline-flex;flex-wrap:wrap;gap:.25rem;padding:.25rem;border-radius:10px;background:#00000040}.segmented button{min-height:34px;padding:.45rem .72rem;border:0;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;font-size:.78rem;font-weight:800}.segmented button.active{color:#14202a;background:var(--gold)}.species-config>.field{margin-top:1rem}.species-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin-top:1rem}.approval-check{margin-top:1rem;display:flex;gap:.75rem;padding:.9rem;border:1px solid rgba(255,190,113,.24);border-radius:11px;background:#b5813314}.approval-check input{width:18px;height:18px;min-height:0;margin-top:.12rem}.approval-check span{display:grid;gap:.25rem}.approval-check small{color:var(--muted);line-height:1.45}.ability-assignment-box{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}.bonus-slot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin-top:.75rem}.fixed-bonus{min-height:68px;padding:.7rem;border-radius:9px;background:#ffffff0b;display:grid;gap:.25rem}.fixed-bonus span{color:var(--gold);font-size:.72rem}.budget{margin-top:1rem;padding:.8rem 1rem;border-radius:11px;background:#80d6a212;border:1px solid rgba(128,214,162,.2);display:flex;align-items:baseline;gap:.8rem}.budget span{color:var(--muted);font-size:.75rem}.budget strong{color:var(--good)}.budget small{margin-left:auto;color:var(--muted)}.budget.over{background:#ff8c830f;border-color:#ff8c8340}.budget.over strong{color:var(--danger)}.ability-table{margin-top:1rem;border:1px solid rgba(255,255,255,.08);border-radius:12px;overflow:hidden}.ability-row{display:grid;grid-template-columns:minmax(150px,1.2fr) 150px 90px 110px 90px;gap:.75rem;align-items:center;min-height:64px;padding:.55rem .8rem;border-bottom:1px solid rgba(255,255,255,.06)}.ability-row:last-child{border-bottom:0}.ability-row.heading{min-height:38px;color:var(--muted);background:#ffffff09;font-size:.68rem;text-transform:uppercase;letter-spacing:.08em}.score-stepper{width:138px;display:grid;grid-template-columns:36px 1fr 36px;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:8px}.score-stepper button{border:0;background:#ffffff0e;cursor:pointer;font-size:1.1rem}.score-stepper span{display:grid;place-items:center;background:#07151e;font-weight:800}.score-select{width:90px}.species-score{color:var(--good);font-weight:800}.species-score.negative{color:var(--danger)}.custom-score-input{width:92px;min-height:38px;padding:.45rem .55rem;text-align:center;font-weight:800;color:#bfe8ef}.final-score{width:52px;min-height:52px;border-radius:50%;display:grid;place-items:center;align-content:center;gap:0;background:#e4c47721;border:1px solid rgba(228,196,119,.32);color:#ffe2a2;font-size:1.05rem;line-height:1}.final-score small{color:var(--muted);font-size:.66rem;margin-top:.18rem}.mini-abilities small{color:#ffe2a2;font-size:.68rem;font-weight:800}.background-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem;margin-top:1rem}.background-option{min-height:70px;padding:.72rem;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:#040e15a6;display:grid;gap:.22rem;text-align:left;cursor:pointer}.background-option:hover{border-color:#65bfd461}.background-option.selected{border-color:var(--gold);background:#e4c47717}.background-option strong{font-size:.86rem}.background-option span{color:var(--muted);font-size:.66rem;line-height:1.35}.background-footnote{margin-bottom:0;font-size:.75rem}.background-feature-card{margin-top:1rem;padding:1rem;border-radius:12px;border:1px solid rgba(228,196,119,.2);background:linear-gradient(135deg,#e4c47714,#65bfd40a)}.background-feature-card h4{margin:.25rem 0 .35rem}.background-feature-card p{margin:0}.background-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}.background-skills{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-choice-stack{display:grid;gap:.65rem;margin-top:.75rem}.custom-background-editor{display:grid;gap:.85rem;margin-top:1rem}.custom-background-editor>h3{margin-top:.6rem}.variant-box{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}.review-hero{display:flex;justify-content:space-between;gap:1rem;align-items:center}.review-hero h3{font-size:clamp(1.7rem,3vw,2.5rem)}.review-validity{display:flex;flex-wrap:wrap;justify-content:end;gap:.4rem}.review-validity span{border-radius:999px;padding:.35rem .55rem;font-size:.7rem;font-weight:800}.review-validity .good{background:#80d6a21a;color:var(--good)}.review-validity .bad{background:#ff8c831a;color:var(--danger)}.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.review-card ol{margin:.7rem 0 0;padding-left:1.4rem;color:#dfe6ea;line-height:1.9}.mini-abilities{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.4rem;margin-top:.8rem}.mini-abilities div{display:grid;place-items:center;gap:.2rem;padding:.55rem .25rem;background:#ffffff0b;border-radius:8px}.mini-abilities span{color:var(--muted);font-size:.62rem}.export-panel{display:flex;justify-content:space-between;gap:1rem;align-items:center}.export-panel p{margin-bottom:0;max-width:760px}.foundry-coming{display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:1rem;align-items:center;border-color:#65bfd440}.foundry-icon{width:70px;height:70px;border-radius:16px;display:grid;place-items:center;background:#65bfd41a;border:1px solid rgba(101,191,212,.28);color:#aee5ef;font-weight:900;font-size:.9rem}.workspace-footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0 0}.workspace-footer>div{display:flex;align-items:center;gap:.75rem}.validation-hint{color:var(--muted);font-size:.75rem}@media(max-width:1080px){.builder-layout{grid-template-columns:220px minmax(0,1fr)}.card-grid.roles,.rank-grid{grid-template-columns:1fr}.background-list{grid-template-columns:repeat(2,minmax(0,1fr))}.background-split{grid-template-columns:1fr}.choice-card{min-height:0}.species-columns{grid-template-columns:1fr}.foundry-coming{grid-template-columns:70px 1fr}.foundry-coming .button{grid-column:1 / -1}}@media(max-width:760px){.topbar{position:static;align-items:flex-start}.topbar-actions{flex-direction:column;align-items:end}.builder-layout{display:block}.sidebar{border-right:0;border-bottom:1px solid var(--line)}.steps{grid-template-columns:repeat(6,minmax(0,1fr));overflow-x:auto}.step{min-width:120px}.step.locked,.foundry-path{display:none}.workspace-heading,.selection-header,.review-hero,.export-panel{align-items:flex-start;flex-direction:column}.intro-panel,.form-grid.two,.review-grid,.species-list,.optional-list,.background-list,.species-facts,.bonus-slot-grid{grid-template-columns:1fr}.ability-table{overflow-x:auto}.ability-row{min-width:500px;grid-template-columns:minmax(100px,1fr) 120px 62px 86px 55px;font-size:.85rem}.ability-row.heading{font-size:.6rem}.mini-abilities{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-footer{position:sticky;bottom:0;padding:.8rem;margin:1rem -.8rem -.8rem;background:#050e15f0;border-top:1px solid var(--line)}.validation-hint{display:none}}.source-line{color:var(--muted);font-size:.7rem;margin:.25rem 0 .55rem}.full-rules{margin-top:.8rem;border:1px solid rgba(255,255,255,.09);border-radius:10px;background:#030c1285;overflow:hidden}.full-rules>summary,.inline-rules>summary{cursor:pointer;font-weight:800;color:#f3d99d}.full-rules>summary{padding:.75rem .85rem}.rules-copy{padding:0 .9rem .95rem}.rules-copy p,.inline-rules p{white-space:pre-wrap}.selected-rule-details{margin:.55rem 0 .85rem}.selected-rule-details>p{margin:.2rem 0}.rules-feature{padding:.75rem 0;border-top:1px solid rgba(255,255,255,.07)}.rules-feature:first-child{border-top:0}.rules-feature h4{margin:0 0 .25rem}.rules-reference-block{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}.compact-heading{margin-bottom:.5rem}.species-choice-group{margin-top:1rem}.choice-group-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.choice-group-heading h4{margin:0}.choice-group-heading>strong{color:var(--gold);white-space:nowrap}.feature-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin-top:.7rem}.feature-choice{display:block;padding:.75rem;border-radius:10px;border:1px solid rgba(255,255,255,.09);background:#ffffff09}.feature-choice.selected{border-color:#e4c47785;background:#e4c47714}.feature-choice.locked-choice{opacity:.72}.feature-choice-title{display:flex;align-items:center;gap:.55rem}.feature-choice p{margin:.45rem 0;color:#d3dbe0;font-size:.82rem}.feature-choice small{color:var(--muted)}.inline-rules{margin-top:.5rem}.inline-rules p{font-size:.78rem;line-height:1.5}@media(max-width:760px){.feature-choice-grid{grid-template-columns:1fr}.choice-group-heading{flex-direction:column}}.source-profile{margin-top:1rem;padding:.9rem 1rem;border:1px solid rgba(216,189,120,.24);border-radius:12px;background:#d8bd780e}.source-profile>strong{color:#e4c979}.source-profile p{margin:.35rem 0 0;line-height:1.45}.source-profile b{color:#f4efe3}.species-input-section{margin:1.2rem 0;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1)}.species-input-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.8rem}.species-input small{display:block;margin-top:.35rem;color:#aeb9c0}.species-input .field>span b,.species-input>span b{margin-left:.45rem;color:#d8bd78;font-size:.68rem;text-transform:uppercase}.choice-category+.choice-category{margin-top:1rem}.choice-category-heading{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin:0 0 .65rem;padding-bottom:.45rem;border-bottom:1px solid rgba(255,255,255,.08)}.choice-category-heading h5{margin:0;font-size:.95rem;color:#f4efe3}.choice-category-heading span{color:#9faeb7;font-size:.78rem}.cyborg-upgrade-category{padding:.9rem;border-radius:12px;background:#ffffff06;border:1px solid rgba(255,255,255,.07)}.cyborg-upgrade-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.cyborg-upgrade-grid .feature-choice{min-height:155px}.cyborg-upgrade-grid .locked-choice{opacity:.58}@media(max-width:720px){.choice-category-heading{display:block}.choice-category-heading span{display:block;margin-top:.25rem}}.class-table-scroll{margin-top:.8rem;overflow-x:auto;border:1px solid rgba(255,255,255,.09);border-radius:12px}.class-table{width:100%;min-width:760px;border-collapse:collapse;font-size:.83rem}.class-table th,.class-table td{padding:.58rem .72rem;text-align:left;border-bottom:1px solid rgba(255,255,255,.07);vertical-align:top}.class-table th{position:sticky;top:0;background:#0b1c26;color:#f4d78e;font-size:.7rem;letter-spacing:.04em}.class-table tbody tr:nth-child(2n){background:#ffffff06}.class-table tbody tr.current-row{background:#e4c4771a}.class-table tbody tr:last-child td{border-bottom:0}.class-table th:nth-child(1),.class-table td:nth-child(1),.class-table th:nth-child(2),.class-table td:nth-child(2),.class-table th:nth-child(3),.class-table td:nth-child(3),.class-table th:nth-child(4),.class-table td:nth-child(4){white-space:nowrap}.class-hero{display:grid;gap:1rem}.class-hero h3,.progression-summary h3,.level-builder h3{margin:.15rem 0 .45rem}.progression-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:1rem;align-items:center}.class-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.level-history{display:grid;gap:.7rem;margin-top:.8rem}.level-complete-card{border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#030c127a;overflow:hidden}.level-complete-card>summary{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:.8rem;align-items:center;cursor:pointer;padding:.8rem .9rem}.level-complete-card>summary span:last-child{color:var(--muted);font-size:.78rem}.level-complete-card[open]>summary{border-bottom:1px solid rgba(255,255,255,.08)}.level-builder{border-color:#d8bd7847;box-shadow:inset 0 1px #ffffff06}.choice-block{margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.09)}.choice-block:first-of-type{margin-top:.8rem}.choice-block h4,.choice-block h5{margin:0 0 .45rem}.advancement-editor{display:grid;gap:.8rem;margin-top:.75rem}.option-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.65rem;margin-top:.7rem}.fury-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.option-check{display:block;min-height:86px;padding:.8rem;border:1px solid rgba(255,255,255,.09);border-radius:11px;background:#ffffff06;cursor:pointer}.option-check.selected{border-color:#e4c47780;background:#e4c47714}.option-check:has(input:disabled){opacity:.6;cursor:default}.option-check-label{display:flex;align-items:flex-start;gap:.65rem;cursor:pointer}.option-check input{margin-top:.2rem}.option-check span{display:grid;gap:.28rem}.option-check small{color:var(--muted);line-height:1.35}.fury-option .inline-rules{margin-left:1.65rem}.fury-option .inline-rules summary{font-size:.76rem}.subclass-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.8rem;margin-top:.75rem}.choice-card{padding:.9rem;border:1px solid rgba(255,255,255,.09);border-radius:12px;background:#ffffff07}.choice-card.selected{border-color:#e4c47794;background:#e4c47712}.choice-card h4{margin:.25rem 0 .45rem}.choice-card>p{min-height:4.3em;color:#d3dbe0}.rules-list{display:grid;gap:.55rem}.level-complete-button{width:100%;margin-top:1rem;min-height:46px}.notice.success{border-color:#71c78f4d;background:#71c78f14}@media(max-width:900px){.progression-summary{grid-template-columns:1fr}.class-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.level-complete-card>summary{grid-template-columns:1fr;gap:.25rem}.class-stats{grid-template-columns:1fr 1fr}.subclass-grid,.option-grid,.fury-grid{grid-template-columns:1fr}.choice-card>p{min-height:0}}.panel-stack > .class-hero ~ section.panel: has(> .form-grid.two select option[value="acr"]): has(> .form-grid.two select option[value="sur"]){display:none!important}:root{--shell-polish-gold: #ffd75e;--shell-polish-gold-soft: rgba(255, 215, 94, .16);--shell-polish-gold-glow: rgba(255, 196, 70, .42)}.shell-polish-incomplete,.shell-polish-needs-confirmation{border-color:var(--shell-polish-gold)!important;box-shadow:0 0 0 2px #ffd75e38,0 0 17px var(--shell-polish-gold-glow)!important;animation:shell-polish-pulse 1.9s ease-in-out infinite}.shell-polish-incomplete{background-color:#171a17!important}.shell-polish-needs-confirmation{background-color:#ffd75e14!important}.field.shell-polish-field-incomplete>span:after,.field.shell-polish-field-confirmation>span:after{content:attr(data-shell-badge);display:inline-block;margin-left:.45rem;padding:.13rem .4rem;border-radius:999px;background:var(--shell-polish-gold-soft);border:1px solid rgba(255,215,94,.58);color:#ffe99a;font-size:.61rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;vertical-align:middle}.approval-check.shell-polish-field-confirmation,.hybrid-approval-check.shell-polish-field-confirmation{border-color:var(--shell-polish-gold)!important;background:linear-gradient(180deg,#ffd75e21,#b5813317)!important;box-shadow:0 0 0 2px #ffd75e1f,0 0 18px #ffc44642}.approval-check.shell-polish-field-confirmation>span>strong:after,.hybrid-approval-check.shell-polish-field-confirmation>span>strong:after{content:" Needs confirmation";color:#ffe99a;font-size:.68rem;font-weight:900;text-transform:uppercase}.shell-polish-group-incomplete{position:relative;border-radius:12px;outline:2px solid rgba(255,215,94,.92);outline-offset:4px;box-shadow:0 0 20px #ffc44642;animation:shell-polish-group-pulse 2.1s ease-in-out infinite}.shell-polish-group-incomplete:after{content:attr(data-shell-badge);position:absolute;top:-.78rem;right:.65rem;z-index:4;padding:.16rem .46rem;border-radius:999px;border:1px solid rgba(255,215,94,.66);background:#172027;color:#ffe99a;font-size:.62rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;pointer-events:none}input[type=checkbox],input[type=radio]{-webkit-appearance:none;appearance:none;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;padding:0!important;margin:.12rem 0 0;border:1px solid rgba(255,255,255,.28);background:#08151e!important;display:inline-grid;place-content:center;flex:0 0 18px;vertical-align:middle;cursor:pointer;box-shadow:none}input[type=checkbox]{border-radius:4px}input[type=radio]{border-radius:50%}input[type=checkbox]:before,input[type=radio]:before{content:"";width:9px;height:9px;transform:scale(0);transition:transform .1s ease-in-out;background:var(--shell-polish-gold)}input[type=checkbox]:before{clip-path:polygon(14% 44%,0 59%,40% 100%,100% 23%,84% 8%,39% 67%)}input[type=radio]:before{border-radius:50%}input[type=checkbox]:checked:before,input[type=radio]:checked:before{transform:scale(1)}input[type=checkbox]:focus-visible,input[type=radio]:focus-visible{outline:none;border-color:#65bfd4d1;box-shadow:0 0 0 3px #65bfd424}input[type=checkbox]:disabled,input[type=radio]:disabled{cursor:not-allowed;opacity:.58}@keyframes shell-polish-pulse{0%,to{box-shadow:0 0 0 2px #ffd75e2e,0 0 14px #ffc4464d}50%{box-shadow:0 0 0 3px #ffd75e57,0 0 22px #ffc44680}}@keyframes shell-polish-group-pulse{0%,to{outline-color:#ffd75ec7;box-shadow:0 0 16px #ffc44633}50%{outline-color:#ffea99;box-shadow:0 0 26px #ffc44661}}@media(prefers-reduced-motion:reduce){.shell-polish-incomplete,.shell-polish-needs-confirmation,.shell-polish-group-incomplete{animation:none}}.secondary-button{border-radius:9px;border:1px solid rgba(255,255,255,.14);background:#08151ef5;color:#f8f3e9;min-height:36px;padding:.45rem .8rem;font-weight:700;font-size:.78rem;cursor:pointer}.secondary-button:hover:not(:disabled){background:#122634fa;border-color:#e4c47759;color:#fff8ee}.secondary-button:focus-visible{outline:none;border-color:#65bfd4b8;box-shadow:0 0 0 3px #65bfd41f;color:#fff8ee}.secondary-button:disabled{opacity:1;background:#08151eb8;color:#9aabb4;border-color:#ffffff14;cursor:not-allowed}.button.secondary{color:#f8f3e9}.button.secondary:hover:not(:disabled){background:#ffffff17;border-color:#e4c47747}.button.secondary:disabled{opacity:1;background:#08151eb8;color:#9aabb4;border-color:#ffffff14}input:disabled,select:disabled,textarea:disabled{background:#0a1822;color:#9aabb4;border-color:#ffffff14;opacity:1;-webkit-text-fill-color:#9aabb4;cursor:not-allowed}input::placeholder,textarea::placeholder{color:#7f929c;opacity:1}.segmented button:not(.active):not(.selected){color:var(--muted)}.segmented button.active,.segmented button.selected{color:#14202a;background:var(--gold)}.species-option{color:#f8f3e9}.species-option span{color:var(--muted)}.panel-stack:has(>.class-hero){gap:1rem;min-width:0}.panel-stack:has(>.class-hero)>.panel,.tinkerer-shell-ui>.panel{min-width:0}.panel-stack:has(>.class-hero)>*{order:20}.panel-stack:has(>.class-hero)>.class-hero{order:0}.panel-stack:has(>.class-hero)>section.panel:has(>.class-table-scroll),.panel-stack:has(>.class-hero)>section.panel:has(.class-table-scroll),.panel-stack:has(>.class-hero)>section.panel:has(table.class-table),.panel-stack:has(>.class-hero)>section.panel:has(table[class*=-class-table]),.panel-stack:has(>.class-hero)>section.panel:has(table[class*=progression-table]){order:5}.tinkerer-shell-ui{min-width:0}.tinkerer-shell-ui>*{order:20}.tinkerer-shell-ui>:first-child{order:0}.tinkerer-shell-ui>.tinkerer-class-table-panel{order:5}.panel-stack:has(>.class-hero)>.class-hero,.tinkerer-shell-ui>:first-child.panel{border-color:#e4c47757;background:linear-gradient(135deg,#e4c47713,#65bfd40b),linear-gradient(180deg,#112431f5,#0a1822f5)}.panel-stack:has(>.class-hero) .panel-title-row,.tinkerer-shell-ui .panel-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.panel-stack:has(>.class-hero) .panel-title-row>.chips,.tinkerer-shell-ui .panel-title-row>.chips{margin-top:0;justify-content:flex-end}.panel-stack:has(>.class-hero) .panel h3,.tinkerer-shell-ui .panel h3{line-height:1.25}.panel-stack:has(>.class-hero) .panel>.card-kicker+h2,.panel-stack:has(>.class-hero) .panel>.card-kicker+h3,.tinkerer-shell-ui .panel>.card-kicker+h2,.tinkerer-shell-ui .panel>.card-kicker+h3{margin-top:.2rem}.panel-stack:has(>.class-hero) .class-table-scroll,.panel-stack:has(>.class-hero) [class*=-class-table-scroll],.tinkerer-shell-ui .tinkerer-class-table-scroll{width:100%;max-width:100%;margin-top:.9rem;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-gutter:stable;border:1px solid rgba(228,196,119,.2);border-radius:12px;background:#040e1585}.panel-stack:has(>.class-hero) .class-table-scroll:focus-visible,.panel-stack:has(>.class-hero) [class*=-class-table-scroll]:focus-visible,.tinkerer-shell-ui .tinkerer-class-table-scroll:focus-visible{outline:2px solid rgba(101,191,212,.68);outline-offset:2px}.panel-stack:has(>.class-hero) table.class-table,.panel-stack:has(>.class-hero) table[class*=-class-table],.panel-stack:has(>.class-hero) table[class*=progression-table],.tinkerer-shell-ui .tinkerer-class-table{width:100%;border-collapse:separate;border-spacing:0;color:#eef3f5;font-size:.76rem}.panel-stack:has(>.class-hero) table.class-table th,.panel-stack:has(>.class-hero) table.class-table td,.panel-stack:has(>.class-hero) table[class*=-class-table] th,.panel-stack:has(>.class-hero) table[class*=-class-table] td,.panel-stack:has(>.class-hero) table[class*=progression-table] th,.panel-stack:has(>.class-hero) table[class*=progression-table] td,.tinkerer-shell-ui .tinkerer-class-table th,.tinkerer-shell-ui .tinkerer-class-table td{padding:.52rem .5rem;border-right:1px solid rgba(255,255,255,.055);border-bottom:1px solid rgba(255,255,255,.065);vertical-align:middle}.panel-stack:has(>.class-hero) table.class-table thead th,.panel-stack:has(>.class-hero) table[class*=-class-table] thead th,.panel-stack:has(>.class-hero) table[class*=progression-table] thead th,.tinkerer-shell-ui .tinkerer-class-table thead th{background:#112735;color:#f8f3e9;font-weight:800;line-height:1.25}.panel-stack:has(>.class-hero) table.class-table tbody td,.panel-stack:has(>.class-hero) table[class*=-class-table] tbody td,.panel-stack:has(>.class-hero) table[class*=progression-table] tbody td,.tinkerer-shell-ui .tinkerer-class-table tbody td{background:#08151ea3}.panel-stack:has(>.class-hero) table.class-table tbody tr:nth-child(2n) td,.panel-stack:has(>.class-hero) table[class*=-class-table] tbody tr:nth-child(2n) td,.panel-stack:has(>.class-hero) table[class*=progression-table] tbody tr:nth-child(2n) td,.tinkerer-shell-ui .tinkerer-class-table tbody tr:nth-child(2n) td{background:#112431a3}.panel-stack:has(>.class-hero) table.class-table th:last-child,.panel-stack:has(>.class-hero) table.class-table td:last-child,.panel-stack:has(>.class-hero) table[class*=-class-table] th:last-child,.panel-stack:has(>.class-hero) table[class*=-class-table] td:last-child,.tinkerer-shell-ui .tinkerer-class-table th:last-child,.tinkerer-shell-ui .tinkerer-class-table td:last-child{border-right:0}.panel-stack:has(>.class-hero) table tr.current-row>*,.panel-stack:has(>.class-hero) table tr[class*=current]>*,.tinkerer-shell-ui table tr[class*=current]>*{background:#e4c47729!important}.panel-stack:has(>.class-hero) table tr.current-row>:first-child,.panel-stack:has(>.class-hero) table tr[class*=current]>:first-child,.tinkerer-shell-ui table tr[class*=current]>:first-child{box-shadow:inset 3px 0 0 var(--gold)}.panel-stack:has(>.class-hero) .level-builder,.tinkerer-shell-ui .tinkerer-active-checkpoint,.tinkerer-shell-ui .level-builder{border-color:#e4c47766}.panel-stack:has(>.class-hero) .choice-block,.panel-stack:has(>.class-hero) .advancement-editor,.tinkerer-shell-ui .choice-block,.tinkerer-shell-ui .advancement-editor{min-width:0}.panel-stack:has(>.class-hero) .choice-block:not(.feature-card),.tinkerer-shell-ui .choice-block:not(.feature-card){border-radius:12px}.panel-stack:has(>.class-hero) .feature-card,.panel-stack:has(>.class-hero) .level-complete-card,.tinkerer-shell-ui .feature-card,.tinkerer-shell-ui .level-complete-card{width:100%;border-color:#ffffff17;border-radius:11px;background:#05111985}.panel-stack:has(>.class-hero) details.feature-card>summary,.panel-stack:has(>.class-hero) details.level-complete-card>summary,.tinkerer-shell-ui details.feature-card>summary,.tinkerer-shell-ui details.level-complete-card>summary{min-height:42px;padding:.68rem .82rem}.panel-stack:has(>.class-hero) details.feature-card[open]>summary,.panel-stack:has(>.class-hero) details.level-complete-card[open]>summary,.tinkerer-shell-ui details.feature-card[open]>summary,.tinkerer-shell-ui details.level-complete-card[open]>summary{border-bottom:1px solid rgba(255,255,255,.08);background:#e4c4770b}.panel-stack:has(>.class-hero) .full-rules,.tinkerer-shell-ui .full-rules{border-radius:10px}.panel-stack:has(>.class-hero) .level-history,.tinkerer-shell-ui .level-history{display:grid;gap:.55rem;margin-top:.75rem}.panel-stack:has(>.class-hero) .level-actions,.tinkerer-shell-ui .level-actions{display:flex;justify-content:flex-start;align-items:center;gap:.65rem;margin-top:.9rem;flex-wrap:wrap}.panel-stack:has(>.class-hero) .chemist-class-table{color:#eef3f5}.panel-stack:has(>.class-hero) .chemist-class-table thead th{background:#112735}.panel-stack:has(>.class-hero) .prepared-invention-editor,.panel-stack:has(>.class-hero) .monster-mutation-builder{border-radius:12px;padding:1rem}.panel-stack:has(>.class-hero) .compact-options{display:grid;gap:.7rem}.panel-stack:has(>.class-hero) .compact-options .option-card{min-height:96px;border-radius:11px}.panel-stack:has(>.class-hero) .compact-options .option-card.selected{border-color:#e4c477b8;background:#e4c4771c}.panel-stack:has(>.class-hero) .stat-block{border-radius:12px}.panel-stack:has(>.class-hero) .form-grid,.tinkerer-shell-ui .form-grid{min-width:0}.panel-stack:has(>.class-hero) .field,.tinkerer-shell-ui .field{min-width:0}.panel-stack:has(>.class-hero) select,.panel-stack:has(>.class-hero) input,.panel-stack:has(>.class-hero) textarea,.panel-stack:has(>.class-hero) button,.tinkerer-shell-ui select,.tinkerer-shell-ui input,.tinkerer-shell-ui textarea,.tinkerer-shell-ui button{max-width:100%}.panel-stack:has(>.class-hero) .chips,.tinkerer-shell-ui .chips{align-items:center}@media(max-width:900px){.panel-stack:has(>.class-hero) .panel-title-row,.tinkerer-shell-ui .panel-title-row{display:grid}.panel-stack:has(>.class-hero) .panel-title-row>.chips,.tinkerer-shell-ui .panel-title-row>.chips{justify-content:flex-start}}@media(max-width:760px){.panel-stack:has(>.class-hero) .panel,.tinkerer-shell-ui>.panel{padding-left:.85rem;padding-right:.85rem}.panel-stack:has(>.class-hero) table.class-table,.panel-stack:has(>.class-hero) table[class*=-class-table],.panel-stack:has(>.class-hero) table[class*=progression-table],.tinkerer-shell-ui .tinkerer-class-table{font-size:.72rem}.panel-stack:has(>.class-hero) table.class-table th,.panel-stack:has(>.class-hero) table.class-table td,.panel-stack:has(>.class-hero) table[class*=-class-table] th,.panel-stack:has(>.class-hero) table[class*=-class-table] td,.tinkerer-shell-ui .tinkerer-class-table th,.tinkerer-shell-ui .tinkerer-class-table td{padding:.45rem .4rem}.panel-stack:has(>.class-hero) .level-actions .button,.tinkerer-shell-ui .level-actions .button{width:100%}}.panel-stack:has(>.class-hero)>.class-hero,.tinkerer-shell-ui>.class-hero{display:grid;gap:.85rem}.panel-stack:has(>.class-hero)>.class-hero .panel-title-row,.tinkerer-shell-ui>.class-hero .panel-title-row{margin:0}.panel-stack:has(>.class-hero)>.class-hero h2,.panel-stack:has(>.class-hero)>.class-hero h3,.tinkerer-shell-ui>.class-hero h2,.tinkerer-shell-ui>.class-hero h3{margin:.15rem 0 .45rem;color:#f7f1e4;font-size:1.2rem;font-weight:800;line-height:1.25}.panel-stack:has(>.class-hero)>.class-hero p,.tinkerer-shell-ui>.class-hero p{margin:.25rem 0 0;color:#c5d0d6;font-size:.9rem;line-height:1.6}.panel-stack:has(>.class-hero)>.class-hero .card-kicker,.tinkerer-shell-ui>.class-hero .card-kicker{color:var(--gold);font-size:.64rem;font-weight:800;letter-spacing:.12em;line-height:1.4;text-transform:uppercase}.panel-stack:has(>.class-hero)>.class-hero .chips,.tinkerer-shell-ui>.class-hero .chips{margin-top:.65rem}.class-rules-disclosure{width:100%;margin-top:.15rem;border-color:#e4c47738;background:#040e157a}.class-rules-disclosure>summary{min-height:44px;display:flex;align-items:center;padding:.68rem .82rem;color:#f5d98f;font-size:.86rem;font-weight:800;line-height:1.35}.class-rules-disclosure[open]>summary{border-bottom:1px solid rgba(255,255,255,.08);background:#e4c4770b}.class-rules-disclosure>.rules-copy{padding:.82rem}.class-rules-disclosure .rules-copy,.class-rules-disclosure .rules-copy p,.class-rules-disclosure .rules-copy li{font-size:.84rem;line-height:1.6}.class-rules-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;margin-top:.75rem}.class-rules-facts p{margin:0;padding:.65rem .72rem;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:#ffffff09}.class-rules-proficiencies{margin-top:.8rem}.class-rules-proficiencies ul{margin:.45rem 0 0;padding-left:1.25rem}.panel-stack:has(>.class-hero) .panel-title-row h3,.panel-stack:has(>.class-hero) .panel>h3,.tinkerer-shell-ui .panel-title-row h3,.tinkerer-shell-ui .panel>h3{font-size:1.2rem;font-weight:800;line-height:1.25}.panel-stack:has(>.class-hero) .choice-block>h4,.panel-stack:has(>.class-hero) .feature-card h4,.tinkerer-shell-ui .choice-block>h4,.tinkerer-shell-ui .feature-card h4{font-size:.95rem;font-weight:800;line-height:1.35}.panel-stack:has(>.class-hero) .field>span,.tinkerer-shell-ui .field>span{font-size:.78rem;font-weight:700;line-height:1.35}.panel-stack:has(>.class-hero) .muted,.tinkerer-shell-ui .muted{font-size:.84rem;line-height:1.55}.panel-stack:has(>.class-hero) details.full-rules>summary,.tinkerer-shell-ui details.full-rules>summary{font-size:.84rem;font-weight:800;line-height:1.35}.tinkerer-shell-ui>.class-hero h2,.tinkerer-shell-ui>.class-hero h3{font-size:1.2rem}@media(max-width:760px){.class-rules-facts{grid-template-columns:1fr}}.button-row>.button.secondary.class-selected-starting-class,.button-row>.button.secondary.class-selected-starting-class:disabled{opacity:1!important;border-color:#e4c477eb!important;background:linear-gradient(180deg,#e6ca82,#c9a551)!important;color:#14202a!important;box-shadow:0 0 0 2px #e4c47729,0 0 18px #e4c4773d;cursor:default}.button-row>.button.secondary.class-selected-starting-class:before{content:"✓ ";font-weight:900}.class-hero>details.class-rules-uniform-pass3{width:100%;margin-top:.15rem;border:1px solid rgba(228,196,119,.24);border-radius:10px;background:#040e158f;overflow:hidden}.class-hero>details.class-rules-uniform-pass3>summary{min-height:46px;display:flex;align-items:center;padding:.72rem .84rem;color:#f5d98f;font-size:.86rem;font-weight:800;line-height:1.35;cursor:pointer}.class-hero>details.class-rules-uniform-pass3[open]>summary{border-bottom:1px solid rgba(255,255,255,.08);background:#e4c4770d}.class-hero>details.class-rules-uniform-pass3>.rules-copy{display:grid;gap:.8rem;padding:.9rem}.class-rules-uniform-body{display:grid;gap:.75rem}.class-rules-standard-section{margin:0;padding:.78rem .84rem;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:#ffffff07}.class-rules-standard-section h4{margin:0 0 .55rem!important;color:#f7f1e4;font-size:.92rem!important;font-weight:800}.class-rules-standard-section p,.class-rules-standard-section li{color:#c5d0d6;font-size:.84rem;line-height:1.55}.class-rules-standard-section p{margin:.28rem 0}.class-rules-standard-section ul{margin:0;padding-left:1.2rem}.class-rules-standard-section li+li{margin-top:.3rem}.class-rules-legacy-hidden{display:none!important}.class-rules-existing-notes{margin-top:0;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:#0000001f}.class-rules-existing-notes>summary{min-height:38px;padding:.58rem .7rem;color:var(--muted);font-size:.76rem;font-weight:700;cursor:pointer}.class-rules-existing-notes-copy{padding:.72rem;border-top:1px solid rgba(255,255,255,.06)}.class-rules-existing-notes-copy p,.class-rules-existing-notes-copy li{font-size:.8rem;line-height:1.5}.class-rules-source-note{margin-top:0}@media(max-width:760px){.class-hero>details.class-rules-uniform-pass3>.rules-copy{padding:.72rem}.class-rules-standard-section{padding:.68rem}}button.secondary:not(.button),button.primary:not(.button){min-height:40px;padding:.62rem .95rem;border-radius:9px;border:1px solid transparent;font-weight:800;font-family:inherit;cursor:pointer;appearance:none;-webkit-appearance:none}button.secondary:not(.button){color:var(--paper);background:#ffffff0e;border-color:#ffffff1f}button.secondary:not(.button):hover:not(:disabled){border-color:#e4c4776b;background:#e4c47717}button.primary:not(.button){color:#14202a;background:linear-gradient(180deg,#e6ca82,#c9a551)}button.primary:not(.button):hover:not(:disabled){filter:brightness(1.06)}button.secondary:not(.button):disabled,button.primary:not(.button):disabled{opacity:.42;cursor:not-allowed}.chemist-reference-disclosure{padding:0!important;overflow:hidden}.chemist-reference-disclosure>summary{list-style:none;display:flex;align-items:center;gap:.8rem;min-height:64px;padding:1rem 1.25rem;color:var(--gold);cursor:pointer;background:linear-gradient(90deg,#e4c4771f,#65bfd409),#05101785;border-bottom:1px solid transparent;font-weight:800}.chemist-reference-disclosure>summary::-webkit-details-marker{display:none}.chemist-reference-disclosure>summary:before{content:"▶";flex:0 0 auto;color:var(--gold);font-size:.82rem;transition:transform .18s ease}.chemist-reference-disclosure[open]>summary:before{transform:rotate(90deg)}.chemist-reference-disclosure[open]>summary{border-bottom-color:var(--line-strong)}.chemist-reference-summary-copy{display:grid;gap:.15rem}.chemist-reference-summary-copy strong{color:#f7f1e4;font-size:1.03rem}.chemist-reference-summary-copy small{color:var(--muted);font-size:.72rem;font-weight:600}.chemist-reference-body{padding:1rem 1.25rem 1.25rem}.monster-mutation-builder[data-shell-runtime-preview=true]{border-color:#65bfd44d}.monster-mutation-runtime-note{margin-bottom:.35rem}.class-level-revision-panel{border:2px solid rgba(228,196,119,.62)!important;background:linear-gradient(135deg,#e4c47721,#65bfd40e),linear-gradient(180deg,#112431fa,#0a1822fa)!important;box-shadow:0 0 0 1px #e4c47714,0 0 24px #e4c4771c,0 20px 48px #00000047!important}.class-level-revision-panel .class-revision-kicker{display:inline-flex;padding:.3rem .5rem;border:1px solid rgba(228,196,119,.42);border-radius:999px;background:#e4c4771c;color:#ffe29a}.class-level-revision-panel .class-revision-intro{max-width:850px;margin-bottom:0}.class-level-revision-panel .class-revision-controls>.button{min-height:46px}.shell-next-required-focus{position:relative;border-color:#e4c477db!important;box-shadow:0 0 0 2px #e4c47721,0 0 26px #e4c47733!important}@media(prefers-reduced-motion:reduce){.chemist-reference-disclosure>summary:before{transition:none}}.review-spells-disclosure{padding:0!important;overflow:hidden}.review-spells-disclosure>summary{list-style:none;display:flex;align-items:center;gap:.85rem;min-height:62px;padding:1rem 1.2rem;cursor:pointer;color:var(--gold);background:linear-gradient(90deg,#e4c4771f,#65bfd409),#05101780}.review-spells-disclosure>summary::-webkit-details-marker{display:none}.review-spells-disclosure>summary:before{content:"▶";flex:0 0 auto;color:#ffd971;font-size:.85rem;transition:transform .18s ease}.review-spells-disclosure[open]>summary:before{transform:rotate(90deg)}.review-spells-summary-copy{flex:1 1 auto;display:grid;gap:.2rem}.review-spells-summary-copy strong{color:#f7f1e4;font-size:1.08rem}.review-spells-summary-copy small{color:var(--muted);font-size:.72rem}.review-spells-body{padding:.25rem 1.2rem 1.2rem}.membership-access-box{margin-top:.85rem;padding:.9rem 1rem;border:1px solid rgba(228,196,119,.34);border-radius:10px;background:#e4c47711}.membership-access-box-hero{position:relative;overflow:hidden;margin-top:1rem;padding:1.15rem 1.2rem 1.25rem;border:2px solid rgba(255,210,96,.72);border-radius:14px;background:radial-gradient(ellipse 120% 80% at 50% -20%,rgba(255,214,102,.28),transparent 55%),radial-gradient(ellipse 90% 60% at 100% 100%,rgba(101,191,212,.14),transparent 50%),linear-gradient(155deg,#ffd26024,#051017eb 42%,#65bfd414);box-shadow:0 0 0 1px #ffd2602e inset,0 0 28px #ffc44838,0 12px 32px #00000073;animation:membership-access-glow 2.8s ease-in-out infinite}.membership-access-box-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.07) 48%,transparent 56%);transform:translate(-120%);animation:membership-access-shine 4.5s ease-in-out infinite}.membership-access-box-verified{border-color:#78dca0bf;box-shadow:0 0 0 1px #78dca033 inset,0 0 24px #5ac88c40,0 12px 32px #0006;animation:none}.membership-access-box-verified:before{animation:none;opacity:0}.membership-access-hero-header{position:relative;z-index:1;display:grid;gap:.35rem;margin-bottom:.55rem}.membership-access-kicker{display:inline-flex;align-items:center;align-self:start;gap:.35rem;padding:.28rem .65rem;border:1px solid rgba(255,210,96,.65);border-radius:999px;background:linear-gradient(90deg,#ffc44859,#ff8c3c38);color:#fff6d6;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 0 16px #ffc44859}.membership-access-box-hero h4{margin:0;color:#ffe9a8;font-size:1.35rem;line-height:1.2;text-shadow:0 0 18px rgba(255,210,96,.35)}.membership-access-hero-lead{margin:0;color:#fff3cf;font-size:.92rem;font-weight:600;line-height:1.45}.membership-access-status-pill{position:relative;z-index:1;display:inline-block;margin:.55rem 0 .15rem;padding:.45rem .75rem;border-radius:999px;font-size:.82rem;font-weight:700;line-height:1.35}.membership-access-status-pill.member-gate-status-locked{border:1px solid rgba(255,196,72,.45);background:#ffc4481f;color:#ffe7a3}.membership-access-status-pill.member-gate-status-good{border:1px solid rgba(120,220,160,.45);background:#5ac88c1f}.membership-connect-discord-button{min-width:min(100%,320px);padding:.85rem 1.25rem!important;font-size:.95rem!important;font-weight:800!important;letter-spacing:.02em;border:1px solid rgba(255,230,150,.85)!important;background:linear-gradient(180deg,#ffd86a,#f0b429 48%,#d99212)!important;color:#1a1205!important;box-shadow:0 0 0 1px #fff0b459 inset,0 0 22px #ffc4488c,0 8px 18px #00000059;transform:translateY(0);transition:transform .15s ease,box-shadow .15s ease,filter .15s ease}.membership-connect-discord-button:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 0 0 1px #fff0b473 inset,0 0 28px #ffd260a6,0 10px 22px #0006}.membership-access-box-action .membership-login-row{position:relative;z-index:1;margin-top:.95rem;padding-top:.85rem;border-top:1px solid rgba(255,210,96,.22)}@keyframes membership-access-glow{0%,to{box-shadow:0 0 0 1px #ffd2602e inset,0 0 22px #ffc4482e,0 12px 32px #00000073}50%{box-shadow:0 0 0 1px #ffd26047 inset,0 0 36px #ffc44861,0 14px 36px #0000007a}}@keyframes membership-access-shine{0%,72%,to{transform:translate(-120%)}82%{transform:translate(120%)}}.membership-access-box h4{margin:0 0 .35rem;color:#ffe09a}.membership-access-box p{margin:.25rem 0}.membership-login-row{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:.7rem}.member-gate-status-good{color:var(--good)}.member-gate-status-locked{color:#ffd39c}.npc-sidecar-note{margin-top:.6rem}@media(prefers-reduced-motion:reduce){.review-spells-disclosure>summary:before{transition:none}}.membership-free-message{color:#f7f1e4;font-size:.82rem}.membership-patreon-note,.membership-stored-build-note{font-size:.74rem}.membership-link-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.membership-tier3-callout{margin-top:.75rem;padding:.75rem .85rem;border:1px solid rgba(101,191,212,.28);border-radius:8px;background:#65bfd40d}.membership-tier3-callout strong{color:var(--blue)}.membership-tier3-callout p{margin:.35rem 0 0;font-size:.76rem}.stored-build-member-preview-note{margin-bottom:.7rem;padding:.55rem .7rem;border:1px solid rgba(228,196,119,.25);border-radius:8px;background:#e4c4770d;color:var(--muted);font-size:.72rem}@media(prefers-reduced-motion:reduce){.membership-access-box-hero,.membership-access-box-hero:before{animation:none}.membership-connect-discord-button{transition:none}}.stored-build-complete-export-note{margin:.15rem 0 .55rem;font-size:.74rem}@media(max-width:820px){html,body,#root,.app-shell{width:100%;max-width:100%;overflow-x:clip}body,.app-shell,.builder-layout,.workspace,.panel,.panel-stack,.review-grid,.review-column,.form-grid,.species-columns,.progression-summary{min-width:0}.cad-top-hub{width:100%;margin:0}.cad-top-hub-inner{padding:.72rem .75rem .78rem;border-width:0 0 1px;border-radius:0;overflow:hidden}.cad-top-hub-inner:before{border-radius:0}.cad-brand-seal{margin:0 0 .55rem;font-size:clamp(1.2rem,6vw,1.55rem);letter-spacing:.1em}.cad-link-row{display:flex;grid-template-columns:none;gap:.5rem;max-width:none;overflow-x:auto;overflow-y:hidden;padding:0 0 .28rem;scroll-snap-type:x proximity;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.cad-button{flex:0 0 clamp(132px,38vw,170px);min-height:46px;padding:.62rem .7rem;border-radius:10px;font-size:.68rem;letter-spacing:.065em;scroll-snap-align:start}.cad-button:hover{transform:none}.cad-site-preview{display:none}.topbar{position:static;min-height:0;padding:.8rem max(.8rem,env(safe-area-inset-right)) .8rem max(.8rem,env(safe-area-inset-left));gap:.7rem;align-items:stretch;flex-direction:column}.topbar-brand-group{width:100%;flex:0 0 auto;flex-direction:column;align-items:stretch;gap:.7rem}.topbar-title-block{width:100%}.topbar h1{margin-top:.15rem;font-size:clamp(1.45rem,7vw,1.9rem);line-height:1.08}.topbar .eyebrow{font-size:.64rem;letter-spacing:.12em}.topbar-book-links{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex-wrap:nowrap;gap:.4rem}.topbar-book-link,.topbar-referral-link,.topbar-export-link{width:100%;min-width:0;min-height:54px;justify-content:center;padding:.3rem;border-radius:10px}.topbar-book-cover-frame{width:34px;height:46px;flex:0 0 34px}.topbar-actions{width:100%;margin-left:0;flex-direction:row;justify-content:space-between;align-items:center;gap:.6rem}.save-state{min-width:0;overflow:hidden;text-overflow:ellipsis}.topbar-actions .button{flex:0 0 auto;min-height:44px}.builder-layout{display:block;min-height:0}.sidebar{position:sticky;top:0;z-index:35;padding:.5rem max(.65rem,env(safe-area-inset-right)) .52rem max(.65rem,env(safe-area-inset-left));border-right:0;border-bottom:1px solid var(--line);background:#050e15f5;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.dossier-card{display:none}.steps{display:flex;gap:.4rem;margin-top:0;overflow-x:auto;overflow-y:hidden;padding:0 0 .22rem;scroll-snap-type:x proximity;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.step,.step.locked{display:flex;flex:0 0 auto;width:auto;min-width:108px;min-height:44px;padding:.42rem .55rem;gap:.48rem;border-radius:9px;font-size:.78rem;white-space:nowrap;scroll-snap-align:center}.step>span{width:25px;height:25px;flex-basis:25px;font-size:.7rem}.workspace{padding:.85rem max(.75rem,env(safe-area-inset-right)) 0 max(.75rem,env(safe-area-inset-left))}.workspace-heading{margin-bottom:.85rem;align-items:flex-start;flex-direction:column;gap:.5rem}.workspace-heading h2{font-size:clamp(1.75rem,9vw,2.25rem);line-height:1.05}.phase-badge{padding:.36rem .58rem;font-size:.66rem}.panel-stack{gap:.75rem}.panel{padding:.9rem;border-radius:13px}.panel h3{line-height:1.2}.panel p,.rules-copy,.notice,.choice-card,.source-profile,.class-table-scroll{overflow-wrap:anywhere}.intro-panel,.form-grid.two,.review-grid,.species-columns,.progression-summary,.background-split,.species-list,.optional-list,.background-list,.feature-choice-grid,.subclass-grid,.option-grid,.fury-grid,.species-input-grid{grid-template-columns:minmax(0,1fr)}.status-grid,.species-facts,.class-stats,.mini-abilities{grid-template-columns:repeat(2,minmax(0,1fr))}input:not([type=checkbox]):not([type=radio]),select,textarea{min-height:44px;font-size:16px}button,.button,.secondary-button,.species-option,.background-option,.feature-choice,summary{touch-action:manipulation}.button,.secondary-button,button.secondary:not(.button),button.primary:not(.button){min-height:44px}.selection-header{align-items:stretch;flex-direction:column;gap:.7rem}.selection-header .segmented,.rule-mode .segmented,.pattern-picker .segmented{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.segmented button{min-height:44px;padding-inline:.5rem}.ability-table{display:grid;gap:.55rem;overflow:visible;border:0;border-radius:0}.ability-row.heading{min-width:0;min-height:24px;padding:0 .65rem;grid-template-columns:minmax(108px,1fr) 46px 72px 50px;gap:.4rem;border:0;background:transparent;font-size:.58rem}.ability-row.heading>span:first-child{display:none}.ability-row{min-width:0;min-height:0;padding:.7rem;grid-template-columns:minmax(108px,1fr) 46px 72px 50px;gap:.4rem;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:#05101780}.ability-row>strong:first-child{grid-column:1 / -1;font-size:.98rem}.score-stepper{width:100%;min-width:0;min-height:44px;grid-template-columns:34px minmax(34px,1fr) 34px}.score-stepper button{min-height:44px}.score-select,.custom-score-input{width:100%;min-width:0}.custom-score-input{min-height:44px;padding-inline:.35rem}.species-score{text-align:center}.final-score{width:48px;min-height:48px;justify-self:center}.review-hero,.export-panel,.selection-header{align-items:stretch}.review-validity{justify-content:flex-start}.foundry-coming{grid-template-columns:56px minmax(0,1fr);gap:.7rem}.foundry-icon{width:54px;height:54px;border-radius:12px}.full-rules,.inline-rules,details{max-width:100%}.full-rules>summary,.inline-rules>summary,.level-complete-card>summary,.chemist-reference-disclosure>summary{min-height:44px}pre,code,.class-table-scroll{max-width:100%}pre,.class-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.class-table{font-size:.78rem}.workspace-footer{position:sticky;bottom:0;z-index:32;margin:.9rem -.75rem 0;padding:.7rem max(.75rem,env(safe-area-inset-right)) max(.7rem,env(safe-area-inset-bottom)) max(.75rem,env(safe-area-inset-left));background:#050e15f7;border-top:1px solid var(--line);box-shadow:0 -10px 24px #00000038}.workspace-footer .button{min-width:96px}.validation-hint{display:none}@media(hover:none){.cad-button:hover,.topbar-book-link:hover,.topbar-referral-link:hover,.topbar-export-link:hover,.species-option:hover,.background-option:hover{transform:none}}}@media(max-width:430px){.cad-button{flex-basis:138px}.topbar,.workspace{padding-left:max(.62rem,env(safe-area-inset-left));padding-right:max(.62rem,env(safe-area-inset-right))}.topbar-book-links{gap:.3rem}.topbar-book-link,.topbar-referral-link,.topbar-export-link{min-height:50px;padding:.22rem}.topbar-book-cover-frame{width:30px;height:41px;flex-basis:30px}.topbar-referral-link:after,.topbar-export-link:after{font-size:.66rem}.step,.step.locked{min-width:102px}.panel{padding:.78rem}.status-grid,.species-facts,.class-stats{gap:.45rem}.ability-row.heading,.ability-row{grid-template-columns:minmax(100px,1fr) 42px 66px 48px;gap:.3rem}.score-stepper{grid-template-columns:32px minmax(32px,1fr) 32px}.workspace-footer{margin-left:-.62rem;margin-right:-.62rem}}@media(max-width:360px){.topbar-book-links{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar-book-link,.topbar-referral-link,.topbar-export-link{min-height:48px}.ability-row.heading,.ability-row{grid-template-columns:minmax(96px,1fr) 40px 62px 46px;padding-left:.55rem;padding-right:.55rem}.mini-abilities{grid-template-columns:repeat(2,minmax(0,1fr))}}
