/* AlamPlay 3.4.44 — Friendly, clear typography.
 * Uses the theme's already self-hosted Baloo 2 and Plus Jakarta Sans WOFF2 faces.
 * Loaded AFTER the visual skin to supersede legacy button font shorthands;
 * never changes icon fonts, layout logic or download behaviour.
 */
:root {
  --alam-body-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --alam-heading-font: 'Baloo 2', 'Plus Jakarta Sans', system-ui, sans-serif;
}
html:root body.alamplay {
  --ap-font: var(--alam-body-font);
  --ap-head: var(--alam-heading-font);
  font-family: var(--alam-body-font) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* A welcoming rounded heading face, while compact game titles remain legible. */
html:root body.alamplay :is(
  .sec-head h1, .sec-head h2, .hn-block-title, .section-title,
  .evgs-h1, .evgs-hero h1, .evgs-dlhero h1,
  .evfu-mount .evfu .evfu-h1, .evfu-mount .evfu .evfu-lane h2,
  .evfu-mount .evfu .evfu-lane h3
) {
  font-family: var(--alam-heading-font) !important;
  font-weight: 800 !important;
  letter-spacing: -.018em !important;
  line-height: 1.22 !important;
}
html:root body.alamplay :is(
  .game-card .game-title, .mapk-card h3, .hn-trend-name,
  .evfu-mount .evfu .evfu-s1 b, .evfu-mount .evfu .evfu-srvt,
  .evgs-facts b, .evgs-stats b
) {
  font-family: var(--alam-body-font) !important;
  font-weight: 800 !important;
  letter-spacing: -.016em !important;
}
/* All primary download actions share one professional font weight and rhythm. */
html:root body.alamplay :is(
  .evgs-btn, .evgs-btn--big, .evgs-btn-dl, .evgs-dl-btn,
  .ap-card-dl, .dl-btn-main, .dl-green-btn, .top-dl-btn,
  .download-btn, .dl-big-btn, .btn-primary, .wp-block-button__link,
  .evfu-mount .evfu .evfu-lkbtn,
  .evfu-mount .evfu .evfu-cta,
  .evfu-mount .evfu .evfu-freebtn,
  .evfu-mount .evfu .evfu-dl
) {
  font-family: var(--alam-body-font) !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  letter-spacing: -.025em !important;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased;
}
/* Override old font shorthand on inner labels without restyling SVG or icon fonts. */
html:root body.alamplay :is(
  .evgs-btn, .evgs-btn-dl, .evgs-dl-btn,
  .ap-card-dl, .dl-btn-main, .download-btn,
  .evfu-mount .evfu .evfu-lkbtn,
  .evfu-mount .evfu .evfu-freebtn,
  .evfu-mount .evfu .evfu-dl
) :is(span,b,strong,.evfu-freebtn-label) {
  font-family: var(--alam-body-font) !important;
  font-weight: 800 !important;
  letter-spacing: -.023em !important;
  line-height: 1.25 !important;
}
html:root body.alamplay .evgs-hero-act .evgs-btn { font-size: 15px !important; }
html:root body.alamplay .evfu-mount .evfu .evfu-free button.evfu-freebtn--download .evfu-freebtn-label > b {
  font-family: var(--alam-body-font) !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  letter-spacing: -.02em !important;
}
/* Size tags stay compact and do not crowd the button label. */
html:root body.alamplay :is(
  .evgs-btn, .evgs-btn-dl, .evgs-dl-btn,
  .ap-card-dl, .dl-btn-main, .download-btn,
  .evfu-mount .evfu .evfu-freebtn,
  .evfu-mount .evfu .evfu-dl
) small {
  font-family: var(--alam-body-font) !important;
  font-size: 10.5px !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  white-space: nowrap;
}
/* Retain flat emerald CTA, white text and white glyphs from v3.4.43. */
html:root body.alamplay :is(
  .evgs-btn:not(.evgs-btn--ghost), .evgs-btn-dl, .evgs-dl-btn,
  .ap-card-dl, .dl-btn-main, .dl-green-btn, .download-btn,
  .evfu-mount .evfu .evfu-lkbtn,
  .evfu-mount .evfu .evfu-freebtn,
  .evfu-mount .evfu .evfu-dl
) :is(svg,i) { color:#fff !important; stroke:currentColor !important; }
@media(max-width:600px) {
  html:root body.alamplay :is(
    .evgs-btn, .evgs-btn-dl, .evgs-dl-btn, .ap-card-dl, .dl-btn-main,
    .download-btn, .evfu-mount .evfu .evfu-lkbtn,
    .evfu-mount .evfu .evfu-freebtn,
    .evfu-mount .evfu .evfu-dl
  ) {font-size:14px !important; letter-spacing:-.025em !important;}
  html:root body.alamplay .evfu-mount .evfu .evfu-free button.evfu-freebtn--download .evfu-freebtn-label > b {
    font-size:13.5px !important;
  }
}
