/* Ancient Paleo Quest — shared styles: paleo font, footer, hub link.  (chart data: see shared/letters.json) */
@font-face{
  font-family:"OHFontBold";
  src:url("fonts/OHFontBold.woff2") format("woff2"),url("fonts/OHFontBold.ttf") format("truetype");
  font-weight:normal;font-style:normal;font-display:swap;
}
/* Safety net: ANY Hebrew character, anywhere on the site, is drawn with the paleo font (never square script).
   Declared for every weight/style so a bold or italic parent can't trigger a synthetic (distorted) glyph. */
@font-face{font-family:"PaleoHeb";src:url("fonts/OHFontBold.woff2") format("woff2"),url("fonts/OHFontBold.ttf") format("truetype");
  unicode-range:U+0590-05FF,U+FB1D-FB4F;font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"PaleoHeb";src:url("fonts/OHFontBold.woff2") format("woff2"),url("fonts/OHFontBold.ttf") format("truetype");
  unicode-range:U+0590-05FF,U+FB1D-FB4F;font-weight:100 900;font-style:italic;font-display:swap}
.paleo{font-family:"PaleoHeb","OHFontBold",serif!important;font-weight:normal!important;font-style:normal!important;
  font-synthesis:none;letter-spacing:0}
.paleo-word{direction:rtl;unicode-bidi:isolate;display:inline-block}   /* Hebrew reads right → left (layout, not reversed data) */
.paleo-svg{display:inline-block;vertical-align:middle;color:inherit}
.paleo-svg svg{display:block;width:100%;height:100%}

#paleoFooter{position:static;display:block;clear:both;margin:14px auto calc(10px + env(safe-area-inset-bottom,0px));max-width:96vw;width:fit-content;
  font:11px/1.35 "Trebuchet MS","Segoe UI",system-ui,sans-serif;color:#5c4a32;background:rgba(255,248,231,.92);
  border:1px solid rgba(212,160,23,.55);border-radius:12px;padding:3px 10px;text-align:center;white-space:normal}
/* Netlify's free-plan "Powered by Netlify" badge sits over game controls on phones (also switch it off in Project configuration > General) */
#nl-badge-frame,iframe[id^="nl-badge"]{display:none!important;visibility:hidden!important;pointer-events:none!important}
#paleoFooter a{color:#2f7ea0;font-weight:700;pointer-events:auto;text-decoration:none}
#paleoFooter b{font-weight:700;color:#8a6a12}
#paleoHub{position:fixed;left:8px;top:8px;z-index:2147483001;font:700 13px/1 "Trebuchet MS","Segoe UI",system-ui,sans-serif;
  color:#8a6a12;background:rgba(255,253,246,.94);border:2px solid #d4a017;border-radius:999px;padding:7px 12px;text-decoration:none;
  box-shadow:0 2px 8px rgba(61,46,26,.2)}
#paleoHub:hover,#paleoHub:focus-visible{background:#f0d78c;outline:none}
@media (max-width:520px){#paleoFooter{font-size:10px}}
