/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.flex{display:flex}.hidden{display:none}.table{display:table}.resize{resize:both}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--ink:#050908;--panel:#09110e;--panel-soft:#0d1713;--gold:#c8a45e;--gold-bright:#e5c77b;--ivory:#efe5cc;--muted:#a69d89;--emerald:#5fe2a6;--line:#c8a45e5c}.codex-page{color:#173d31;background:radial-gradient(circle at 50% -20%,#fffdf7 0,#f4efe3 52%,#ded4bf 100%);min-height:100vh;padding-bottom:118px}.codex-topbar{color:#fff;background:#123b30;border-bottom:3px solid #b99438;grid-template-columns:190px 1fr 220px;align-items:center;gap:24px;min-height:92px;padding:16px clamp(24px,4vw,70px);display:grid;box-shadow:0 8px 25px #08261d33}.codex-topbar>div:nth-child(2){text-align:center}.codex-topbar span{text-transform:uppercase;letter-spacing:.18em;color:#d9c381;font-size:10px}.codex-topbar h1{color:#fff;margin:2px 0 0;font-family:Georgia,serif;font-size:clamp(25px,3vw,40px)}.back-button{color:#fff;cursor:pointer;background:#ffffff0d;border:1px solid #d0b463;border-radius:999px;justify-self:start;padding:11px 18px;font-weight:750;transition:all .22s}.back-button:hover{color:#173d31;background:#d0b463;transform:translate(-3px)}.codex-progress{text-align:right;font-size:12px}.codex-progress b{margin-bottom:8px;display:block}.codex-progress>span{background:#ffffff2c;border-radius:9px;height:5px;display:block;overflow:hidden}.codex-progress i{background:#d2ad47;width:66%;height:100%;display:block}.codex-workspace{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:22px;max-width:1580px;margin:0 auto;padding:28px clamp(18px,3vw,44px) 24px;display:grid}.codex-sheet-wrap{min-width:0}.codex-sheet-heading{justify-content:space-between;align-items:end;margin-bottom:12px;padding:0 6px;display:flex}.codex-sheet-heading small{color:#9b7b27;text-transform:uppercase;letter-spacing:.15em;font-weight:800}.codex-sheet-heading h2{margin:4px 0;font:800 clamp(25px,3vw,38px)/1 Georgia,serif}.codex-sheet-heading p{color:#65756f;margin:0}.codex-sheet-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.codex-sheet-actions .save-button,.codex-sheet-actions .outline-button{white-space:nowrap;justify-self:auto}.auto-key{color:#4c665b;text-transform:none;letter-spacing:normal;align-items:center;gap:8px;font-size:12px;display:flex}.auto-key i,.codex-field span i{color:#35714f;background:#e7f2e7;border:1px solid #a9c9b4;border-radius:999px;font-style:normal;display:inline-block}.auto-key i{width:10px;height:10px}.paper-sheet{background:#fffefa;border:1px solid #b69542;border-radius:4px;gap:14px;padding:18px;animation:.35s both pageReveal;display:grid;position:relative;box-shadow:0 18px 50px #4b3f2824}.paper-sheet:after{content:"";pointer-events:none;border:1px solid #c7a4524d;position:absolute;inset:7px}@keyframes pageReveal{0%{opacity:0;transform:translateY(8px)scale(.995)}}.sheet-box{z-index:1;background:#fff;border:1.5px solid #194437;border-radius:12px;min-width:0;position:relative;overflow:hidden}.sheet-box h3{color:#fff;text-transform:uppercase;background:#173f33;border-left:10px solid #bd9838;margin:0;padding:9px 14px;font:700 17px Georgia,serif}.sheet-box-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;display:grid}.wide-box{grid-column:1/-1}.identity-box .sheet-box-body{grid-template-columns:repeat(12,minmax(0,1fr));align-items:end}.identity-box .codex-field:first-child{grid-column:span 4}.identity-box .codex-field:nth-child(2){grid-column:span 2}.identity-box .codex-field:nth-child(3),.identity-box .codex-field:nth-child(4){grid-column:span 3}.identity-box .codex-field:nth-child(5){grid-column:span 4}.identity-box .codex-field:nth-child(6){grid-column:span 5}.identity-box .codex-field:nth-child(7){grid-column:span 3}.attributes-box{align-self:start}.combat-box{grid-column:auto}.combat-resources-box{align-self:stretch}.combat-resources-box>h3{font-size:19px}.combat-resources-body{gap:11px;padding:12px;display:grid}.combat-resource-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.combat-resource-card{background:#fff;border:1.5px solid #bca56f;border-radius:10px;grid-template-rows:minmax(0,1fr) auto;gap:5px;min-width:0;min-height:105px;padding:9px 11px 8px;display:grid}.combat-resource-card label{grid-template-rows:auto minmax(0,1fr);gap:3px;min-width:0;display:grid}.combat-resource-card label>span,.combat-resource-uses b,.combat-attack-head b,.combat-armor-field>span{color:#23473d;text-transform:uppercase;letter-spacing:.035em;font-size:9px;font-weight:900}.combat-resource-card textarea{color:#173f33;resize:none;background:0 0;border:0;outline:none;width:100%;min-height:0;padding:2px 0;font:650 10px/1.25 inherit}.combat-resource-card textarea:focus{box-shadow:inset 0 -1px #2e7959}.combat-resource-uses{justify-content:space-between;align-items:center;gap:8px;display:flex}.combat-resource-uses>span{gap:5px;display:inline-flex}.combat-resource-uses input{appearance:none;cursor:pointer;background:#fff;border:1.5px solid #23473d;border-radius:0;width:17px;height:17px;margin:0}.combat-resource-uses input:checked{background:#23473d;box-shadow:inset 0 0 0 3px #fff}.combat-attacks{gap:6px;display:grid}.combat-attack-head,.combat-attack-row{grid-template-columns:minmax(0,1fr) 108px 88px;gap:9px;display:grid}.combat-attack-head{align-items:end;padding:0 1px}.combat-attack-row input{color:#173f33;background:#fffdf8;border:1px solid #bca56f;border-radius:0;outline:none;width:100%;min-width:0;height:34px;padding:5px 7px}.combat-attack-row input:focus,.combat-armor-field textarea:focus{background:#fff;border-color:#2e7959;box-shadow:0 0 0 3px #3f8f6720}.combat-armor-field{gap:5px;display:grid}.combat-armor-field>span{padding-left:3px}.combat-armor-field textarea{color:#173f33;resize:vertical;background-color:#fffdf8;background-image:repeating-linear-gradient(#0000 0 20px,#d8d8d8 20px 21px);border:1px solid #bca56f;border-radius:0;outline:none;width:100%;min-height:66px;padding:7px 9px;font:600 10px/1.65 inherit}.proficiencies-box,.magic-box{align-self:stretch}.attributes-box .sheet-box-body{gap:5px;padding-block:8px}.attributes-box .attribute-row{padding:3px 0}.magic-box{grid-column:auto;margin-top:0}.sheet-layout-1{grid-template-columns:repeat(12,minmax(0,1fr));grid-template-areas:"image image image image identity identity identity identity identity identity identity identity""image image image image vital vital vital vital vital vital vital vital""attributes attributes attributes attributes combat combat combat combat combat combat combat combat""proficiencies proficiencies proficiencies proficiencies proficiencies proficiencies magic magic magic magic magic magic";align-items:stretch}.sheet-layout-1 .sheet-character-image{grid-area:image}.sheet-layout-1 .identity-box{grid-area:identity}.sheet-layout-1 .vital-stat-row{grid-area:vital}.sheet-layout-1 .attributes-box{grid-area:attributes}.sheet-layout-1 .combat-box{grid-area:combat}.sheet-layout-1 .proficiencies-box{grid-area:proficiencies}.sheet-layout-1 .magic-box{grid-area:magic}.sheet-character-image{z-index:1;background:#f6efdf;border:1.5px solid #194437;border-radius:12px;align-self:stretch;min-height:310px;margin:0;position:relative;overflow:hidden}.sheet-character-image img{object-fit:cover;object-position:center 18%;width:100%;height:100%;display:block;position:absolute;inset:0}.vital-stat-row{z-index:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid;position:relative}.vital-stat-row .codex-field{text-align:center;background:#fff;border:1.5px solid #194437;border-radius:12px;justify-content:center;min-height:82px;padding:10px}.vital-stat-row .codex-field>span{justify-content:center}.sheet-layout-2{grid-template:"art race"292px"art personal"214px"character allies"290px"history history"190px/minmax(250px,.48fr) minmax(0,.52fr);align-items:stretch}.lineage-character-art{z-index:1;background:linear-gradient(#f8f0dc,#e7d8b9);border:1.5px solid #194437;border-radius:12px;grid-area:art;align-self:stretch;height:auto;min-height:0;margin:0;position:relative;overflow:hidden}.lineage-character-art img{object-fit:contain;object-position:center bottom;width:100%;height:100%;display:block}.lineage-character-art:after{content:"";pointer-events:none;background:linear-gradient(0deg,#10392fd9 0,#0000 24%);position:absolute;inset:0}.lineage-character-art figcaption{z-index:2;color:#fff;gap:3px;display:grid;position:absolute;bottom:15px;left:16px;right:16px}.lineage-character-art figcaption b{font:800 21px Georgia,serif}.lineage-character-art figcaption span{color:#e3c978;text-transform:uppercase;letter-spacing:.08em;font-size:10px}.lineage-race-box{grid-area:race}.personal-details-box{grid-area:personal}.lineage-character-box{grid-area:character}.lineage-allies-box{grid-area:allies}.lineage-history-box{grid-area:history}.sheet-layout-2 .sheet-box{grid-template-rows:auto minmax(0,1fr);display:grid}.sheet-layout-2 .sheet-box-body{align-content:stretch;min-height:0}.sheet-layout-2 textarea{resize:none;height:100%;min-height:0}.lineage-race-box .sheet-box-body{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:1fr}.personal-details-box .sheet-box-body{grid-template-columns:repeat(6,minmax(0,1fr))}.personal-details-box .codex-field:first-child,.personal-details-box .codex-field:nth-child(2),.personal-details-box .codex-field:nth-child(3){grid-column:span 2}.personal-details-box .codex-field:nth-child(4),.personal-details-box .codex-field:nth-child(5){grid-column:span 3}.lineage-character-box .sheet-box-body{grid-template-rows:minmax(0,1fr) auto auto}.lineage-allies-box .sheet-box-body,.lineage-history-box .sheet-box-body{grid-template-columns:1fr}.sheet-layout-3{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"equipment spells""treasure spells""notes notes"}.sheet-layout-3>:first-child{grid-area:equipment}.sheet-layout-3>:nth-child(2){grid-area:spells}.sheet-layout-3>:nth-child(3){grid-area:treasure}.sheet-layout-3>:nth-child(4){grid-area:notes}.sheet-layout-3>:nth-child(2) .sheet-box-body{align-content:start;height:100%}.sheet-layout-4{grid-template-rows:auto 930px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.sheet-layout-4>.wide-box{grid-column:1/-1}.spell-column{gap:14px;min-width:0;min-height:0;display:grid}.spell-column-primary,.spell-column-secondary{grid-template-rows:repeat(3,minmax(0,1fr))}.spell-column-tertiary{grid-template-rows:repeat(4,minmax(0,1fr))}.spell-level-box{grid-template-rows:auto minmax(0,1fr);min-height:0;display:grid}.spell-level-box .sheet-box-body{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr;align-content:stretch;min-height:0}.spell-level-box .codex-field.wide{min-height:0}.spell-level-box textarea{resize:none;height:100%;min-height:0}.codex-field{flex-direction:column;gap:4px;min-width:0;display:flex}.codex-field.wide{grid-column:1/-1}.codex-field>span{color:#23473d;text-transform:uppercase;letter-spacing:.04em;justify-content:space-between;align-items:center;gap:6px;font-size:9px;font-weight:900;display:flex}.codex-field span i{letter-spacing:0;text-transform:none;white-space:nowrap;padding:2px 5px;font-size:7px}.codex-field input,.codex-field textarea{color:#173f33;resize:vertical;background:#fffdf8;border:1px solid #bca56f;border-radius:4px;outline:none;width:100%;padding:8px 9px;font:600 12px/1.35 inherit}.codex-field input:focus,.codex-field textarea:focus{background:#fff;border-color:#2e7959;box-shadow:0 0 0 3px #3f8f6720}.attribute-head,.attribute-row{grid-column:1/-1;grid-template-columns:1fr 55px 50px 32px;align-items:center;gap:6px;display:grid}.attribute-head{text-transform:uppercase;color:#72827a;font-size:8px;font-weight:800}.attribute-row{border-bottom:1px solid #e8e0d2;padding:5px 0;font-size:11px}.attribute-row input:not([type=checkbox]){border:1px solid #c4ad78;border-radius:4px;width:100%;min-width:0;padding:5px}.attribute-row .racial-input{color:#2d7653;text-align:center;font-weight:900}.attribute-row input[type=checkbox]{accent-color:#1e6246}.coin-row,.spell-meta{grid-column:1/-1;grid-template-columns:repeat(5,1fr);gap:6px;display:grid}.spell-meta{grid-template-columns:repeat(2,1fr)}.codex-preview-panel{gap:12px;display:grid;position:sticky;top:18px}.preview-panel-title{color:#173d31;text-align:center;margin:0 0 2px;padding-left:0;font:800 25px/1.1 Georgia,serif}.character-preview,.model-preview{background:#113a2f;border:1px solid #b89338;border-radius:14px;overflow:hidden;box-shadow:0 14px 30px #173a2e28}.character-preview{height:300px;position:relative}.preview-art{background-image:linear-gradient(0deg,#082d25cc 0,transparent 48%), var(--preview-image);background-position:50% 20%;background-size:cover;transition:transform .5s;position:absolute;inset:0}.character-preview:hover .preview-art{transform:scale(1.035)}.character-preview>span{color:#fff;font-size:12px;font-weight:800;position:absolute;bottom:13px;left:15px}.model-preview{color:#173d31;background:linear-gradient(145deg,#fbf7ed,#e7dfca);padding:14px}.model-preview>h3{color:#173d31;margin:0 0 10px;font:800 17px/1.15 Georgia,serif}.model-turntable{background:radial-gradient(at 50% 85%,#d0bf99 0,#f7f1e3 45%,#e1d8c4 100%);border-radius:10px;height:210px;position:relative;overflow:hidden}.model-figure{background-image:var(--preview-image);filter:grayscale()sepia(.15)contrast(1.1)drop-shadow(0 8px 8px #213d3340);background-position:50%;background-repeat:no-repeat;background-size:contain;animation:4s ease-in-out infinite modelFloat;position:absolute;inset:6px 35px 24px}.model-turntable i{background:linear-gradient(#91856d,#d4c8ac);border-radius:50%;height:20px;position:absolute;bottom:14px;left:20%;right:20%;box-shadow:0 7px 12px #26372e33}@keyframes modelFloat{50%{transform:translateY(-4px)}}.model-preview-footer{justify-content:space-between;align-items:end;gap:8px;margin-top:10px;display:flex}.model-preview small{color:#6f776f;font-size:9px}.download-3d-button{color:#fff;cursor:pointer;background:#b99438;border:1px solid #8e6d22;border-radius:7px;flex:none;margin-left:auto;padding:8px 11px;font-size:10px;font-weight:850;box-shadow:0 5px 12px #8e6d2230}.download-3d-button:hover{background:#a7812d}.download-3d-button{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.paid-action-disabled,.paid-action-disabled:hover{opacity:.55;cursor:not-allowed;filter:grayscale(.28);box-shadow:none}.save-button,.outline-button{cursor:pointer;border-radius:8px;padding:12px 14px;font-weight:850}.save-button{color:#fff;background:#b99438;border:1px solid #8e6d22;box-shadow:0 7px 15px #8e6d2230}.outline-button{color:#173d31;background:#fffdf6;border:1px solid #8e7b50}.sheet-carousel{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0f352cdd;border:1px solid #b99438;border-radius:16px;grid-template-columns:repeat(4,1fr);align-items:center;gap:8px;width:min(1050px,100% - 36px);height:auto;min-height:0;padding:9px;display:grid;position:fixed;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 12px 35px #08261d55}.sheet-carousel button{color:#dbe5de;text-align:center;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;padding:6px 9px;transition:all .22s;display:flex}.sheet-carousel button>img{object-fit:cover;object-position:top;background:#fffdf4;border:1px solid #bca25f;border-radius:3px;width:38px;height:49px;display:block;box-shadow:0 2px 5px #0005}.sheet-carousel b{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:10px;display:block;overflow:hidden}.sheet-carousel button.active{color:#fff;background:#b99438;transform:translateY(-4px)scale(1.025);box-shadow:0 8px 16px #0003}.sheet-carousel button.active img{border-color:#fff2ba;box-shadow:0 3px 8px #0006}@media (width<=1050px){.codex-workspace{grid-template-columns:1fr}.codex-preview-panel{grid-template-columns:1fr 1fr;position:static}.preview-panel-title{grid-column:1/-1}.character-preview{height:310px}.model-preview{min-height:310px}.save-button,.outline-button{align-self:center}.identity-box .sheet-box-body{grid-template-columns:repeat(12,minmax(0,1fr))}}@media (width<=720px){.codex-page{padding-bottom:116px}.codex-topbar{grid-template-columns:auto 1fr;padding:12px 15px}.codex-progress{display:none}.codex-topbar>div:nth-child(2){text-align:right}.codex-topbar h1{font-size:22px}.codex-workspace{padding:18px 10px}.codex-sheet-heading{flex-direction:column;align-items:start;gap:12px}.codex-sheet-actions{flex-wrap:wrap;justify-content:flex-start;width:100%}.auto-key{text-align:right;max-width:130px}.paper-sheet,.sheet-layout-1,.sheet-layout-2,.sheet-layout-3,.sheet-layout-4{grid-template:none/1fr;padding:10px}.sheet-box,.wide-box,.identity-box,.combat-box,.sheet-layout-1>*,.sheet-layout-2>*,.sheet-layout-3>*,.sheet-layout-4>*{grid-area:auto!important}.identity-box .sheet-box-body{grid-template-columns:repeat(2,minmax(0,1fr))}.identity-box .codex-field{grid-column:auto!important}.identity-box .codex-field:first-child,.identity-box .codex-field:nth-child(4),.identity-box .codex-field:nth-child(6){grid-column:1/-1!important}.sheet-character-image{min-height:430px}.sheet-character-image img{object-position:center 12%}.vital-stat-row{grid-template-columns:repeat(2,1fr)}.lineage-character-art{grid-column:1;height:560px;min-height:460px}.spell-column{grid-template-rows:none}.spell-level-box{min-height:260px}.codex-preview-panel{grid-template-columns:1fr}.preview-panel-title{grid-column:1}.sheet-carousel{gap:3px;padding:5px;bottom:8px}.sheet-carousel button{justify-content:center;padding:5px 3px}.sheet-carousel button>img{width:30px;height:39px}.sheet-carousel b{font-size:8px}.coin-row{grid-template-columns:repeat(3,1fr)}.combat-resource-cards{grid-template-columns:1fr}.combat-attack-head,.combat-attack-row{grid-template-columns:minmax(0,1fr) 78px 70px;gap:5px}}*{box-sizing:border-box}html{background:var(--ink);scroll-behavior:smooth}body{color:var(--ivory);background:radial-gradient(circle at 32% 38%,#1847332e,#0000 31rem),#050908;margin:0;font-family:Georgia,Times New Roman,serif}button,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}.topbar{border-bottom:1px solid var(--line);z-index:10;background:#030706f0;grid-template-columns:1fr auto 1fr;align-items:center;gap:28px;height:118px;padding:0 24px;display:grid;position:relative;overflow:visible}.brand{color:var(--gold-bright);text-transform:uppercase;letter-spacing:.035em;white-space:nowrap;z-index:2;align-items:center;gap:22px;font-size:clamp(25px,2.35vw,39px);text-decoration:none;display:inline-flex;position:relative}.brand-mark{filter:drop-shadow(0 3px 8px #000000a6);flex:none;place-items:center;width:128px;height:144px;margin-bottom:-24px;display:grid}.brand b{color:var(--gold-bright);font-weight:500}.brand-mark img{object-fit:contain;width:100%;height:100%;display:block}nav{gap:48px;height:100%;display:flex}nav a{color:#aa9b80;align-items:center;font-size:15px;text-decoration:none;display:flex;position:relative}nav a.active{color:var(--ivory)}nav a.active:after{content:"";background:linear-gradient(90deg, transparent, var(--gold), transparent);height:2px;position:absolute;inset:auto 0 -1px}.outline-button{color:var(--gold-bright);cursor:pointer;background:0 0;border:1px solid #c8a45e99;border-radius:7px;justify-self:end;padding:11px 16px}.topbar-spacer{width:1px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.development-modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#02080675;place-items:center;padding:24px;animation:.24s both noticeBackdropIn;display:grid;position:fixed;inset:0}.development-notice{color:#173d31;text-align:center;background:#ffffffe8;border:1px solid #97742594;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:18px;width:min(720px,100vw - 36px);min-height:310px;padding:clamp(44px,6vw,72px);animation:.32s cubic-bezier(.2,.8,.2,1) both noticeWindowIn;display:flex;position:relative;box-shadow:0 30px 90px #0000006b,inset 0 0 0 6px #c8a45e14}.development-notice:before{content:"";pointer-events:none;border:1px solid #c8a45e47;border-radius:11px;position:absolute;inset:12px}.development-notice__status{color:#8a6721;text-transform:uppercase;letter-spacing:.14em;white-space:nowrap;align-items:center;gap:8px;font-size:10px;font-weight:700;display:inline-flex}.development-notice__status i{background:var(--emerald);border-radius:50%;width:7px;height:7px;box-shadow:0 0 12px #5fe2a6bf}.development-notice p{color:#4f625b;letter-spacing:.015em;max-width:570px;margin:0;font-family:Arial,Helvetica,sans-serif;font-size:clamp(15px,1.5vw,18px);line-height:1.6}.development-notice h2{color:#173d31;letter-spacing:-.025em;margin:0;font-size:clamp(30px,4.2vw,52px);font-weight:500;line-height:1.02}.development-notice__close{z-index:2;color:#173d31;cursor:pointer;background:#ffffff9e;border:1px solid #173d3140;border-radius:50%;place-items:center;width:42px;height:42px;font:300 31px/1 Arial,sans-serif;transition:all .18s;display:grid;position:absolute;top:16px;right:17px}.development-notice__close:hover{background:#fff;border-color:#9a7528;transform:rotate(5deg)scale(1.05)}@keyframes noticeBackdropIn{0%{opacity:0}}@keyframes noticeWindowIn{0%{opacity:0;transform:translateY(18px)scale(.97)}}.app-shell{grid-template-columns:minmax(760px,61%) 1fr;min-height:calc(100vh - 165px);display:grid}.creator{flex-direction:column;gap:24px;min-width:0;padding:clamp(30px,3vw,52px);display:flex}.intro h1{letter-spacing:-.035em;margin:7px 0;font-size:clamp(43px,4.25vw,72px);font-weight:500;line-height:.98}.intro>p:last-child{color:var(--muted);margin:0;font-size:16px}.eyebrow{color:var(--emerald);text-transform:uppercase;letter-spacing:.2em;margin:0;font-size:11px}.progress-wrap{width:min(100%,860px);padding:2px 0 0}.progress{grid-template-columns:repeat(3,1fr);align-items:start;display:grid}.progress-step{text-align:center;justify-items:center;gap:13px;min-width:0;display:grid;position:relative}.progress-step span{color:#938d80;z-index:1;background:#0d1210;border:1px solid #5e5b50;place-items:center;width:25px;height:25px;font-size:10px;display:grid;position:relative;transform:rotate(45deg)}.progress-step span i{font-style:normal;line-height:1;display:block;transform:rotate(-45deg)}.progress-step:not(:last-child):after{content:"";background:linear-gradient(90deg, var(--emerald), #c8a45e85);height:1px;position:absolute;top:12px;left:calc(50% + 12px);right:calc(12px - 50%)}.progress-step.current span{border-color:var(--emerald);color:var(--emerald);box-shadow:0 0 18px #5fe2a65c}.progress-step strong{color:#917d54;letter-spacing:.035em;text-transform:uppercase;max-width:190px;font-size:11px;font-weight:500;line-height:1.22}.progress-step.current strong{color:var(--emerald)}.selection-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;display:grid}.summary-card,.select-field{border:1px solid var(--line);background:linear-gradient(145deg,#101f19e6,#050a08e0);border-radius:7px;min-height:82px;padding:12px 14px;position:relative}.summary-card{flex-direction:column;justify-content:center;display:flex}.summary-card:before,.active-card:after{content:"";pointer-events:none;border:1px solid #c8a45e1f;position:absolute;inset:5px}.active-card{border-color:var(--gold);box-shadow:inset 0 0 28px #5fe2a612}.summary-card small,.select-field>span{text-transform:uppercase;color:var(--emerald);letter-spacing:.16em;font-size:9px}.summary-card strong{margin-top:6px;font-size:18px;font-weight:500}.summary-card em{color:var(--gold);font-size:11px;font-style:normal}.select-field{flex-direction:column;justify-content:center;display:flex}.select-field select{appearance:none;color:var(--ivory);cursor:pointer;background:0 0;background-image:linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);background-position:calc(100% - 7px) 58%,calc(100% - 2px) 58%;background-repeat:no-repeat;background-size:5px 5px,5px 5px;border:0;outline:0;width:100%;padding:7px 24px 2px 0;font-size:15px}.select-field option{color:var(--ivory);background:#0d1713}.race-picker{border:1px solid var(--line);background:linear-gradient(#0f1b16d1,#030806f0),radial-gradient(circle at 40% 30%,#5fe2a61f,#0000 60%);border-radius:8px;margin-top:2px;padding:17px 18px 15px;overflow:hidden}.picker-heading{justify-content:space-between;align-items:end;gap:24px;margin-bottom:12px;display:flex}.picker-heading h2{color:var(--gold-bright);margin:4px 0 0;font-size:22px;font-weight:500}.picker-heading>p{color:#7e7a6e;text-align:right;max-width:250px;margin:0;font:11px/1.45 Arial,sans-serif}.race-strip{grid-template-columns:repeat(9,minmax(74px,1fr));gap:9px;display:grid}.race-option{color:#78786f;cursor:pointer;background:#020705c7;border:1px solid #c8a45e2b;border-radius:5px;min-width:0;padding:0 5px 9px;transition:transform .18s,border-color .18s,color .18s,box-shadow .18s}.race-option:hover{color:#b9ad94;border-color:#c8a45e7a;transform:translateY(-3px)}.race-thumb{background-image:var(--race-image);filter:grayscale()brightness(1.55)contrast(1.08);mix-blend-mode:screen;opacity:.58;background-position:50% 24%;background-repeat:no-repeat;background-size:auto 138%;height:clamp(126px,10.5vw,168px);margin:3px 0 6px;transition:filter .18s,opacity .18s;display:block}.race-option>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;font-size:10px;display:block;overflow:hidden}.race-option small{color:#625e53;margin-top:3px;font:8px Arial,sans-serif;display:block}.race-option.selected{color:var(--ivory);border-color:var(--emerald);box-shadow:inset 0 0 20px #5fe2a61f,0 0 14px #5fe2a61f}.race-option.selected .race-thumb{filter:sepia(.18)saturate(1.3)hue-rotate(88deg)brightness(1.06);opacity:1}.race-option.selected small{color:var(--emerald)}.hero-panel{isolation:isolate;background:radial-gradient(circle at 60% 20%,#437a5566,#0000 35%),linear-gradient(160deg,#142b22,#030706 78%);border-left:1px solid #c8a45e2e;min-height:calc(100vh - 108px);position:relative;overflow:hidden}.hero-art{background-color:#050908;background-image:var(--hero-image);image-rendering:auto;filter:saturate(1.03)contrast(1.09)brightness(1.02);z-index:0;background-position:50%;background-repeat:no-repeat;background-size:cover;transition:background-image .26s,background-position .26s,filter .26s;position:absolute;inset:0}.hero-panel-semiorco .hero-art{background-position:50%;background-size:cover}.hero-vignette{z-index:2;pointer-events:none;background:linear-gradient(90deg,#030806b3,#0000 34%),linear-gradient(#0000 52%,#030706 100%),radial-gradient(circle,#0000 45%,#0000009e 100%);position:absolute;inset:0}.hero-brand-watermark{aspect-ratio:1;z-index:3;opacity:.58;filter:saturate(.9)contrast(1.12)drop-shadow(0 3px 9px #00000094);pointer-events:none;place-items:center;width:clamp(70px,7vw,104px);display:grid;position:absolute;top:6px;right:6px}.hero-brand-watermark img{object-fit:contain;width:100%;height:100%;display:block}.hero-copy{z-index:3;text-align:center;text-shadow:0 2px 14px #000;position:absolute;bottom:42px;left:42px;right:42px}.hero-copy>span{color:var(--emerald);text-transform:uppercase;letter-spacing:.23em;font-size:10px}.hero-copy h2{color:var(--gold-bright);text-transform:uppercase;letter-spacing:.09em;margin:9px 0 3px;font-size:clamp(17px,1.9vw,27px);font-weight:500}.hero-copy>p{color:#d3c8ad;margin:0;font-size:14px}.hero-copy .class-detail{color:var(--gold);letter-spacing:.08em;text-transform:uppercase;margin-top:7px;font:10px/1.4 Arial,sans-serif}.hero-copy .description{color:#918b7d;max-width:390px;margin:9px auto 17px;font:12px/1.5 Arial,sans-serif}.hero-copy button{color:#06100c;text-transform:uppercase;letter-spacing:.1em;cursor:pointer;background:linear-gradient(120deg,#d0ac62,#f0d28b);border:0;border-radius:4px;padding:12px 18px;font-size:10px;font-weight:700;box-shadow:0 7px 30px #00000057}.heroes-page{background:radial-gradient(circle at 50% 0,#1f5b4338,#0000 34rem),linear-gradient(#08100d,#030605 78%);min-height:100vh}.heroes-shell{width:min(1580px,100% - 64px);margin:0 auto;padding:66px 0 90px}.heroes-heading{justify-content:space-between;align-items:end;gap:32px;margin-bottom:32px;display:flex}.heroes-heading h1{color:var(--gold-bright);letter-spacing:-.035em;margin:7px 0 8px;font-size:clamp(44px,5.2vw,78px);font-weight:500;line-height:.95}.heroes-heading>div>p:last-child{color:#a59b87;margin:0;font:15px/1.5 Arial,sans-serif}.new-hero-button{color:#07110d;text-transform:uppercase;letter-spacing:.08em;cursor:pointer;background:linear-gradient(120deg,#cba75e,#eed18d);border:1px solid #e0bc69;border-radius:5px;flex:none;padding:14px 18px;font:800 10px/1 Arial,sans-serif;box-shadow:0 9px 30px #0007}.heroes-toolbar{border:1px solid var(--line);background:#0c1813d1;border-radius:8px;grid-template-columns:minmax(280px,1fr) repeat(3,minmax(150px,210px));gap:10px;margin-bottom:22px;padding:13px;display:grid}.heroes-toolbar label{min-width:0}.heroes-toolbar input,.heroes-toolbar select{color:#ded2b7;background:#070d0b;border:1px solid #c8a45e47;border-radius:5px;outline:none;width:100%;height:44px;padding:0 13px;font:12px Arial,sans-serif}.heroes-toolbar input:focus,.heroes-toolbar select:focus{border-color:var(--emerald);box-shadow:0 0 0 3px #5fe2a617}.heroes-toolbar input::placeholder{color:#756f62}.heroes-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.hero-card{background:linear-gradient(155deg,#11211af5,#050a08fa);border:1px solid #c8a45e57;border-radius:8px;min-width:0;transition:transform .18s,border-color .18s,box-shadow .18s;overflow:hidden;box-shadow:0 18px 45px #00000047}.hero-card:hover{border-color:#e5c77bbf;transform:translateY(-5px);box-shadow:0 24px 54px #00000075,0 0 24px #5fe2a60f}.hero-card-art{background:#09110e;height:clamp(230px,19vw,330px);position:relative;overflow:hidden}.hero-card-art:after{content:"";pointer-events:none;background:linear-gradient(0deg,#08100e 0,#0000 48%),radial-gradient(circle,#0000 38%,#00000057);position:absolute;inset:0}.hero-card-art img{object-fit:cover;object-position:center 24%;width:100%;height:100%;transition:transform .5s;display:block}.hero-card:hover .hero-card-art img{transform:scale(1.25)}.hero-card-art>span{z-index:2;color:var(--gold-bright);text-transform:uppercase;letter-spacing:.09em;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#040c09c7;border:1px solid #ecd2928c;border-radius:999px;padding:6px 9px;font:800 9px Arial,sans-serif;position:absolute;top:14px;left:14px;right:auto}.hero-delete{z-index:3;color:#f3e5c3;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#060d0ab3;border:1px solid #efdaa46b;border-radius:50%;place-items:center;width:38px;height:38px;transition:background .18s,border-color .18s,color .18s,transform .18s,box-shadow .18s;display:grid;position:absolute;top:11px;right:11px;box-shadow:0 5px 16px #00000042}.hero-delete:hover{color:#fff7ec;background:#77261df0;border-color:#f19b89eb;transform:scale(1.09);box-shadow:0 7px 20px #4b0a0870}.trash-icon{fill:none;stroke:currentColor;stroke-width:1.65px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px;display:block}.hero-card-body{padding:15px}.hero-card-body>p{color:var(--emerald);text-transform:uppercase;letter-spacing:.13em;margin:0 0 6px;font:700 9px Arial,sans-serif}.hero-card-body h2{color:#f1e4c7;white-space:nowrap;text-overflow:ellipsis;margin:0 0 7px;font-size:clamp(19px,1.7vw,26px);font-weight:500;line-height:1.06;overflow:hidden}.hero-card-body>small{color:#8d8779;min-height:30px;font:10px/1.45 Arial,sans-serif;display:block}.hero-card-actions{grid-template-columns:1fr 1fr;gap:7px;margin-top:14px;display:grid}.hero-card-actions button,.hero-card-actions a{color:#cabea5;text-align:center;cursor:pointer;background:0 0;border:1px solid #c8a45e6b;border-radius:4px;justify-content:center;align-items:center;min-width:0;min-height:35px;padding:7px;font:700 9px/1.2 Arial,sans-serif;text-decoration:none;display:flex}.hero-card-actions .hero-edit{color:#d5c9af;background:0 0;border-color:#c8a45e7a;grid-column:1/-1}.hero-card-actions .hero-primary-action{color:#07110d;background:linear-gradient(120deg,#c29d4d,#edcf82);border-color:#dfbd70}.hero-card-actions button:hover,.hero-card-actions a:hover{border-color:var(--emerald);color:#fff}.hero-card-actions .hero-primary-action:hover{color:#07110d;filter:brightness(1.08);border-color:#f3dda4}.hero-card-actions .hero-edit:hover{color:#fff;background:#ffffff0b}.heroes-empty{text-align:center;background:#0c18138c;border:1px dashed #c8a45e61;border-radius:8px;place-content:center;justify-items:center;min-height:400px;display:grid}.heroes-empty h2{color:var(--gold-bright);margin:0;font-size:32px;font-weight:500}.heroes-empty p{color:#9d9584;font:14px Arial,sans-serif}.heroes-empty button{border:1px solid var(--gold);background:var(--gold);color:#07110d;cursor:pointer;border-radius:4px;padding:11px 15px}.seo-content{border-top:1px solid var(--line);background:linear-gradient(#07100d,#030605);padding:90px max(24px,50% - 590px) 100px}.seo-content>h2{max-width:900px;color:var(--gold-bright);letter-spacing:-.025em;margin:10px 0 18px;font-size:clamp(34px,4.3vw,62px);font-weight:500;line-height:1}.seo-lead{color:#b1a690;max-width:920px;margin:0;font:17px/1.75 Arial,sans-serif}.seo-columns{grid-template-columns:repeat(3,1fr);gap:18px;margin-top:42px;display:grid}.seo-columns article{background:#0f1c179e;border:1px solid #c8a45e42;border-radius:7px;padding:25px}.seo-columns h3,.seo-faq h3{color:#ead39c;margin:0 0 10px;font-size:20px;font-weight:500}.seo-columns p,.seo-faq p{color:#948d7f;margin:0;font:13px/1.7 Arial,sans-serif}.seo-faq{max-width:920px;margin-top:50px}.seo-faq>h3{margin-bottom:17px;font-size:27px}.seo-faq details{border-top:1px solid #c8a45e40;padding:17px 0}.seo-faq details:last-child{border-bottom:1px solid #c8a45e40}.seo-faq summary{color:#d9caab;cursor:pointer;font-size:16px}.seo-faq details p{padding-top:11px}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--emerald);outline-offset:3px}@media (width<=1280px) and (width>=1051px){.app-shell{grid-template-columns:minmax(700px,58%) 1fr}.race-strip{grid-template-columns:repeat(5,1fr)}.race-thumb{height:142px}.heroes-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-card-art{height:310px}}@media (width<=1050px){.topbar{grid-template-columns:1fr auto}.topbar-spacer,nav{display:none}.app-shell{grid-template-columns:1fr}.creator{padding-bottom:32px}.hero-panel{border-left:0;border-top:1px solid var(--line);min-height:620px}.heroes-shell{width:min(100% - 40px,1100px);padding-top:48px}.heroes-toolbar{grid-template-columns:repeat(3,1fr)}.heroes-toolbar .hero-search{grid-column:1/-1}.heroes-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-card-art{height:460px}}@media (width<=720px){.topbar{height:82px;padding:0 17px}.brand{letter-spacing:.025em;font-size:16px}.brand-mark{width:76px;height:88px;margin-bottom:-16px}.development-notice{gap:15px;width:min(94vw,720px);min-height:360px;padding:54px 28px 38px}.development-notice p{max-width:32rem;font-size:15px}.development-notice__close{top:13px;right:13px}.progress-wrap{padding-inline:0}.progress-step strong{max-width:105px;font-size:8px}.creator{padding:29px 17px}.selection-grid{grid-template-columns:1fr 1fr}.race-strip{grid-template-columns:repeat(3,1fr)}.race-thumb{height:168px}.picker-heading{align-items:start}.picker-heading>p{display:none}.hero-panel{min-height:570px}.hero-copy{bottom:26px;left:20px;right:20px}.heroes-shell{width:min(100% - 28px,680px);padding:36px 0 64px}.heroes-heading{flex-direction:column;align-items:start;gap:20px}.new-hero-button{width:100%}.heroes-toolbar{grid-template-columns:1fr}.heroes-toolbar .hero-search{grid-column:auto}.heroes-grid{grid-template-columns:1fr}.hero-card-art{height:min(118vw,520px)}.hero-card-body h2{font-size:26px}.seo-content{padding:64px 20px 72px}.seo-columns{grid-template-columns:1fr}}@media print{body{background:#fff!important}.codex-page{background:#fff;padding:0}.topbar,.codex-topbar,.codex-sheet-heading,.codex-preview-panel,.sheet-carousel,.development-modal-backdrop{display:none!important}.codex-workspace{max-width:none;padding:0;display:block}.paper-sheet{box-shadow:none;border:0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
