/* Single source for all game typography. Match the original Jade Guide button. */
@font-face{font-family:JadeSerif;src:url('../assets/fonts/jade-serif-v1.woff2') format('woff2');font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:JadeSans;src:url('../assets/fonts/jade-sans-v1.woff2') format('woff2');font-weight:400 700;font-style:normal;font-display:swap}
:root{--ui-font:JadeSerif,serif;--type-body:36px;--type-control:40px;--type-title:56px;--type-number:56px;--weight-body:400;--weight-control:600;--weight-important:700}
html[lang=en]{--ui-font:JadeSans,JadeSerif,sans-serif}
body{font-family:var(--ui-font);font-size:var(--type-body);font-weight:var(--weight-body)}
#game,#modal{font-family:var(--ui-font);font-size:var(--type-body);font-weight:var(--weight-body);font-style:normal;line-height:1.35;letter-spacing:0}
:where(#game,#modal) *{font-family:inherit;font-size:inherit;font-weight:inherit;font-style:normal;letter-spacing:inherit}
:where(#game,#modal) :is(strong,b,h1,h2,h3,h4){font-weight:var(--weight-important)}
:where(#game,#modal) :is(button,select,input,label){font-family:inherit}
#game button,#modal button,#modal select,#modal .quality-segments span{font-size:var(--type-control);font-weight:var(--weight-control);line-height:1.25}
#game button :is(small,span),#modal button :is(small,span){font-size:inherit;font-weight:inherit}
#game .primary,#game .secondary{font-weight:var(--weight-important)}
#game .actions button{font-size:var(--action-font-size,calc(var(--type-control)*1.2));line-height:var(--action-line-height,1.5);white-space:nowrap}
#game h1{font-size:var(--type-title);font-weight:var(--weight-important);line-height:1.15;letter-spacing:1px}
#game .brand-en{font-size:var(--type-body);font-weight:var(--weight-body);line-height:1.2}
#game .wallet strong,#game .bet-controls strong{font-size:var(--type-number);font-weight:var(--weight-important);line-height:1.15;font-variant-numeric:tabular-nums}
#game .wallet strong{font-size:var(--wallet-number-size,var(--type-number))}
#game .streak-label strong{font-size:var(--type-body);font-weight:var(--weight-important)}
#game .level-block small,#game .level-block strong,#game .level-block em{font-size:var(--type-body);line-height:1.25}
#game .level-block small{font-weight:var(--weight-body)}
#game .level-block em{font-weight:var(--weight-important)}
#game .stone-info strong,#game .stone-info small{font-size:var(--type-body);line-height:1.2}
#game .stone-info strong{font-weight:var(--weight-body)}
#game .stone-info small{font-weight:var(--weight-control)}
#game #catalog,#game #history,#game #history small{font-size:var(--type-control);font-weight:var(--weight-control);line-height:1.25}
#game #language-switch,#modal #language-switch-modal{font-size:32px;font-weight:var(--weight-control)}
#game #merchant-line,#game #merchant-copy,#game #tutorial p,#game #window-preview,#game #angle-label,#game #status{font-size:var(--type-body);font-weight:var(--weight-body);line-height:1.3}
#game #angle-label{line-height:40px}
#game #cut-prompt strong,#game #reveal-badge{font-size:var(--type-control);font-weight:var(--weight-important);line-height:1.3;letter-spacing:0}
#game #reveal-badge:before,#game #reveal-badge:after{font-size:28px}
#game .selected-tick{font-size:0;line-height:0}
#game #result-name,#modal #modal-title{font-size:var(--type-title);font-weight:var(--weight-important);line-height:1.2;letter-spacing:0}
#game .result-mult{font-size:var(--type-number);font-weight:var(--weight-important);line-height:1.2}
#game .result-amount strong{font-size:var(--type-number);font-weight:var(--weight-important);line-height:1.2;font-variant-numeric:tabular-nums}
#game #result-tier,#game #result-detail,#game #next-level,#game .result-amount span{font-size:var(--type-body);line-height:1.3}
#game #result-tier{font-weight:var(--weight-control)}
#game #result-detail,#game #next-level,#game .result-amount span{font-weight:var(--weight-body)}
#modal #modal-body,#modal .settings-content{font-size:var(--type-body);font-weight:var(--weight-body);line-height:1.55}
#modal :is(.catalog-item p,.catalog-item small,.record small,.note,#performance-info,.bonus-steps dt){font-size:var(--type-body);font-weight:var(--weight-body);line-height:1.5}
#modal :is(.catalog-item h3,.settings-content h3,.settings-content h4,.record strong){font-size:var(--type-control);font-weight:var(--weight-important);line-height:1.3}
#modal :is(.catalog-item>strong,.bonus-steps dd){font-size:var(--type-number);font-weight:var(--weight-important);line-height:1.2}
#modal .settings-content :is(.play-emphasis,.play-clue,.play-formula){font-size:var(--type-body);font-weight:var(--weight-important)}
#modal .play-step-number{font-size:var(--type-body);font-weight:var(--weight-important);line-height:64px}

#game #profit-note{font-size:var(--type-body);font-weight:var(--weight-body);line-height:1.3}
