/* Ravena readable UI: self-hosted Thai/Latin faces, real weights and room for Thai marks. */
@font-face{font-family:"Ravena Readable";font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/ravena/noto-sans-thai-thai-10979571.woff2') format('woff2');unicode-range:U+0E00-0E7F,U+02D7,U+0303,U+0331,U+200C-200D,U+25CC}
html:root{--rv-readable-font:"Ravena Readable",Arial,Tahoma,sans-serif;--ui-font:var(--rv-readable-font)!important;--rv-game-font:var(--rv-readable-font)!important;text-size-adjust:100%;-webkit-text-size-adjust:100%}
html body,html body :not(svg):not(svg *){font-family:var(--rv-readable-font)!important;font-synthesis:none;letter-spacing:normal;-webkit-text-stroke-width:0!important;}
html body :is(button,input,select,textarea){font-family:var(--rv-readable-font)!important;}
html.rv-ui5 body :is(#hud,#rv-hud,#world-labels,#boot-screen,[id$="-window"],.rv-overlay,.rv-panel,.rv-page,.rv-world,section.window),
html.rv-ui5 body :is(#hud,#rv-hud,#world-labels,#boot-screen,[id$="-window"],.rv-overlay,.rv-panel,.rv-page,.rv-world,section.window) :not(svg):not(svg *){font-family:var(--rv-readable-font)!important;}
html body :is(b,strong,h1,h2,h3,h4,h5,h6,th){font-weight:700!important;}
html body :is(p,label,small,button,input,select,textarea,td,dt,dd){font-weight:500;}
html body :is(.rv-panel,.rv-overlay,.rv-page,.rv-world,section.window,#boot-screen) :not(svg):not(svg *){text-shadow:none!important;}
/* Small explanatory text needs at least 12px; counters on world HUD retain their fixed geometry. */
html body :is(.rv-panel,.rv-overlay,.rv-page,.rv-world,section.window) :is(small,.sp-note,.sp-g,.st5-g,.st5-bf,.pp-text,.pp-row small,.ct-lwpn,.ct-build-note,.ct-target-tag,.ct-power-tag,.r3-help,.rp-note){font-size:12px!important;line-height:1.5!important;}
html body :is(.rv-panel,.rv-overlay,.rv-page,.rv-world,section.window) :is(p,dd,dt,.rv-desc,.ct-desc,.pp-text){line-height:1.55!important;}
html body :is(.rp-title,.st5-title,.ct-info h3,.pp-head strong){font-size:17px!important;line-height:1.5!important;}
/* Stat labels in the reported screenshot: separate the Latin key, Thai name and recommendation. */
html.rv-ui5 body .st5-row{height:72px!important;min-height:72px!important;}
html.rv-ui5 body .st5-k{line-height:1.45!important;gap:1px;overflow:visible;}
html.rv-ui5 body .st5-k b{font-size:16px!important;font-weight:700!important;line-height:1.35!important;}
html.rv-ui5 body .st5-k small,html body .sp-k small{font-size:12px!important;font-weight:500!important;line-height:1.5!important;color:#d4dae2!important;}
html.rv-ui5 body .st5-rec{font-size:11px!important;font-weight:600!important;line-height:1.55!important;padding:1px 7px!important;min-height:19px;box-sizing:border-box;color:#f1dfaa!important;background-color:#30343b!important;border:1px solid #8d7b50;}
html body .sp-k{line-height:1.4!important;}
html.rv-ui5 body .st5-v{font-size:20px!important;font-weight:700!important;}
html body :is(.ct-target-tag,.ct-power-tag){font-weight:600!important;}
html body .pp-text{height:auto!important;min-height:42px;max-height:76px;padding-bottom:6px;}
html body .rq-name,html body .mi-name{font-weight:600!important;line-height:1.45!important;}
html body :is(.rv-loot-feed,.rv-qtrack,.pf-name,.p5-name,.rv-info,.rv-wallet,#world-labels){font-family:var(--rv-readable-font)!important;}

html.rv-ui5 body #stats5-window .st5-row{height:72px!important;min-height:72px!important;}
html.rv-ui5 body #stats5-window .st5-k{line-height:1.45!important;gap:1px;}
html.rv-ui5 body #stats5-window .st5-k b{font-size:16px!important;line-height:1.35!important;}
html.rv-ui5 body #stats5-window .st5-k small{font-size:12px!important;line-height:1.5!important;}
html.rv-ui5 body #stats5-window .st5-rec{font-size:11px!important;line-height:1.55!important;min-height:19px!important;color:#f1dfaa!important;background-color:#30343b!important;}
