/* Gothic A1 throughout cartoon copy, with historical Cinzel game titles. */
@font-face{font-family:'Ashen Cartoon';src:url('fonts/GothicA1-Regular.woff2?h=883feb6642a153bb') format('woff2');font-weight:400;font-style:normal;font-display:swap;ascent-override:85.3%;descent-override:14.7%;line-gap-override:25%}
@font-face{font-family:'Ashen Cartoon';src:url('fonts/GothicA1-Medium.woff2?h=8fd0e196f36416f7') format('woff2');font-weight:500;font-style:normal;font-display:swap;ascent-override:86%;descent-override:14%;line-gap-override:25%}
@font-face{font-family:'Ashen Cartoon';src:url('fonts/GothicA1-SemiBold.woff2?h=815bb1f35cb638b0') format('woff2');font-weight:600;font-style:normal;font-display:swap;ascent-override:86.6%;descent-override:13.4%;line-gap-override:25%}
@font-face{font-family:'Ashen Cartoon';src:url('fonts/GothicA1-Bold.woff2?h=323e342a64c93822') format('woff2');font-weight:700;font-style:normal;font-display:swap;ascent-override:87.5%;descent-override:12.5%;line-gap-override:25%}
@font-face{font-family:'Ashen Interface';src:url('fonts/GothicA1-SemiBold.woff2?h=815bb1f35cb638b0') format('woff2');font-weight:600;font-style:normal;font-display:swap;ascent-override:86.6%;descent-override:13.4%;line-gap-override:25%}
@font-face{font-family:'Ashen Title';src:url('fonts/Cinzel-Variable.woff2?h=b271dc7e0becf19b') format('woff2');font-weight:400 900;font-style:normal;font-display:swap}
html[data-graphics="original"] body{font-weight:600}
html[data-graphics="original"] body,html[data-graphics="original"] body *:not(:where(#comboHUD,#comboHUD *)){font-family:var(--cartoon-face,'Ashen Interface'),'Apple SD Gothic Neo','Malgun Gothic',sans-serif!important}
html[data-graphics="original"] body *:not(:where(#comboHUD,#comboHUD *)){font-weight:inherit!important}
html[data-graphics="original"] body *:not(:where(#comboHUD,#comboHUD *))::before,html[data-graphics="original"] body *:not(:where(#comboHUD,#comboHUD *))::after{font-family:var(--cartoon-face,'Ashen Interface'),sans-serif!important;font-weight:inherit}

@font-face{font-family:'Ashen Emphasis';src:url('fonts/GothicA1-Bold.woff2?h=323e342a64c93822') format('woff2');font-weight:700;font-style:normal;font-display:swap;ascent-override:87.5%;descent-override:12.5%;line-gap-override:25%}
/* Override decorative headings and narrow figures only in emphasized UI. */
html[data-graphics="original"] body :is(h1,h2,h3,h4,button,kbd,b,strong,.brand,.lobby-brand,.eyebrow,.section-label,.aside-heading,.hud,.mobile-top,#bossHUD,.zone-stamp,#toast,#mechanicHint,#combatBuff,#tutorialHint,.prologue-heading,.prologue-number,.touch-actions button>span,.touch-actions button>small,.skill-cd,#dodgeCd):not(:where(#comboHUD,#comboHUD *)){--cartoon-face:'Ashen Emphasis';font-weight:700!important}
html[data-graphics="original"] body :is(button,.hud,.mobile-top,.brand,.lobby-brand,.eyebrow,.prologue-heading) *:not(:where(#comboHUD,#comboHUD *)){--cartoon-face:'Ashen Emphasis';font-weight:700!important}
#overlay #graphicsOriginal,#overlay #graphicsOriginal>span{font-family:'Ashen Emphasis',sans-serif!important;font-weight:700!important}
/* Existing description weights remain unchanged; the family now maps to Gothic A1. */
html[data-graphics="original"] body :is(.choice p,.choice small,.shop-card p,.library-skill p,.relic-vault-card p,.passive-card p,.item small,.auto-skill small,.evolution-recipes small,#classDetail p,#weaponDetail p,.guide-scroll p,.help-grid,.description,.skill-description,.relic-description),html[data-graphics="original"] body :is(.choice p,.choice small,.shop-card p,.library-skill p,.relic-vault-card p,.passive-card p,.item small,.auto-skill small,.evolution-recipes small,#classDetail p,#weaponDetail p,.guide-scroll p,.help-grid,.description,.skill-description,.relic-description) *{--cartoon-face:'Ashen Cartoon';font-family:'Ashen Cartoon',sans-serif!important;font-weight:550!important}
/* Restore the historical English game title without changing the pixel title. */
html[data-graphics="original"] body .lobby-brand p{--cartoon-face:'Ashen Interface';font-weight:600!important}
/* A title is its own text node: header subtitles never inherit Cinzel.
   Keep these family rules outside the optional pixel stylesheet so initial
   loading, comics and style switches all obey the same active mode. */
html[data-graphics="original"] body [data-game-title]{--cartoon-face:'Ashen Title'!important;font-family:'Ashen Title',serif!important;font-weight:700!important}
html[data-graphics="pixel"] body [data-game-title]{font-family:'Galmuri11',sans-serif!important}
/* Base decorative Latin faces have no place in pixel UI. Existing pixel
   faces (including Ashen Flourish on the combo/timer) keep their own rules. */
html[data-graphics="pixel"] :is(.progress>div>span,.zone-stamp,.eyebrow,.start-screen h1,.shop-head h2,.shop-wallet b,.shop-card strong,.prologue-number){font-family:'Galmuri11',sans-serif!important}

/* Cartoon emphasis keeps the V214 font sizes at every breakpoint. */
html[data-graphics="original"] body :is(.primary,.pause-actions>button,.tutorial-decisions>button,.modal-actions>button,.shop-foot button,.library-top>button,.prologue-footer button){--cartoon-face:'Ashen Emphasis';font-family:'Ashen Emphasis',sans-serif!important;font-weight:700!important}
html[data-graphics="original"] body #overlay .lobby-menu>button{font-weight:700!important}
html[data-graphics="original"] body #overlay #start.lobby-start{font-family:'Ashen Emphasis',sans-serif!important;font-weight:700!important}

html[data-graphics="original"] body #overlay .slot-picker .swap-actions>button{font-family:'Ashen Emphasis',sans-serif!important;font-weight:700!important}
html[data-graphics="original"] body :is(.pause-tools>button,.shop-reroll,.reroll-reward,.graphics-options>button>span:last-child){font-weight:700!important}

/* Names and state changes outrank descriptive copy, including nested emphasis. */
html[data-graphics="original"] body :is(.choice>b,.shop-card>b,.shop-card strong,.library-skill>b,.relic-vault-card b,.relic-slot b,.passive-card b,.item b,.auto-skill>span,.skill-growth,.skill-state-badges,#bossName,#objective,#combatBuff,#mechanicHint,#toast){--cartoon-face:'Ashen Emphasis';font-family:'Ashen Emphasis',sans-serif!important;font-weight:700!important}
html[data-graphics="original"] body #overlay :is(.choice p,.choice small,.shop-card p,.library-skill p,.relic-vault-card p,.passive-card p,.guide-scroll p) :is(b,strong){--cartoon-face:'Ashen Emphasis';font-family:'Ashen Emphasis',sans-serif!important;font-weight:700!important}

/* Preserve V214 sizes; retain emphasis through the actual bold face. */
html[data-graphics="original"] body .skill-growth{font-weight:700!important}
html[data-graphics="original"] body .hud .health span{font-weight:700!important}

/* Gothic A1 ink sits above its default line-box centre. The local face
   metrics above centre Korean labels while preserving the original 1.25em
   normal line height, glyph sizes and horizontal advances. */
/* Only action controls become flex rows; illustrated cards, skill slots
   and the column direction of graphics previews keep their own layout. */
html[data-graphics="original"] body :is(.primary,.secondary,header nav>button,.side-tabs>button,.library-top>button,.shop-foot button,.shop-reroll,.reroll-reward,.mobile-tools button,#assetRetry,#tutorialExit,#graphicsLoading button,#assetRecovery button):not([hidden]){display:inline-flex;align-items:center;justify-content:center;vertical-align:middle}
html[data-graphics="original"] body #overlay .lobby-menu>button{display:flex;align-items:center;justify-content:flex-start}
html[data-graphics="original"] body :is(header nav>button,.pause-tools>button,.mobile-tools button){column-gap:.35em}
/* Mobile art labels retain their bottom strip and use equal vertical padding. */
html[data-graphics="original"] body .touch-actions button>span:not(.touch-art):not(.skill-state-badges){padding-block:5.5px}
