@view-transition { navigation: auto; }

:root {
  --pr-bg: #0d211f;
  --pr-bg-deep: #071513;
  --pr-panel: rgba(14, 37, 33, .9);
  --pr-panel-solid: #122c28;
  --pr-text: #f0eee2;
  --pr-muted: #a8bbae;
  --pr-gold: #e4bd76;
  --pr-gold-light: #f3d899;
  --pr-mint: #a1ded2;
  --pr-line: rgba(226, 197, 132, .22);
  --pr-shadow: 0 30px 80px rgba(1, 10, 8, .38);
  --pr-radius: 18px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 104px; background: var(--pr-bg-deep); }
body.pr-theme {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--pr-text);
  background: var(--pr-bg) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.pr-theme a { color: inherit; }
.pr-theme button, .pr-theme a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.pr-theme button { font: inherit; }
.pr-theme :focus-visible { outline: 3px solid var(--pr-mint); outline-offset: 4px; }
.pr-theme h1, .pr-theme h2, .pr-theme h3 { text-wrap: balance; }
.pr-theme [id] { scroll-margin-top: 104px; }

.pr-backdrop {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 20, 19, .2) 0, rgba(7, 24, 22, .68) 48%, #0d211f 94%),
    linear-gradient(90deg, rgba(7, 25, 22, .35), transparent 32%, transparent 70%, rgba(7, 25, 22, .2)),
    url('/temple-background.webp') center top / cover no-repeat;
}
.pr-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: radial-gradient(rgba(237, 214, 157, .28) .7px, transparent .7px);
  background-size: 7px 7px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.pr-site { position: relative; z-index: 1; min-height: 100vh; }
.pr-skip {
  position: fixed;
  z-index: 200;
  left: 16px;
  top: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--pr-gold-light);
  color: #10211e !important;
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform .2s ease;
}
.pr-skip:focus { transform: translateY(0); }

.pr-header {
  position: sticky !important;
  z-index: 100;
  top: 0;
  width: min(1460px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  padding: 9px 12px 9px 18px;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(226, 197, 132, .18);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: rgba(8, 27, 24, .92) !important;
  box-shadow: 0 14px 44px rgba(0, 9, 8, .28);
}
@supports (backdrop-filter: blur(12px)) {
  .pr-header { backdrop-filter: blur(14px) saturate(1.15); }
}

.pr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--pr-text) !important;
  text-decoration: none;
  letter-spacing: .12em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: .9;
}
.pr-brand b { color: var(--pr-gold-light); font-weight: 500; }
.pr-brand small { display: block; margin-top: 6px; color: var(--pr-muted); font: 600 8px/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: .19em; }
.pr-brand__mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(243, 216, 153, .45);
  border-radius: 50%;
  color: var(--pr-gold-light);
  background: radial-gradient(circle, rgba(161, 222, 210, .18), transparent 64%);
  box-shadow: inset 0 0 0 5px rgba(161, 222, 210, .04);
}

.pr-nav {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
.pr-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 11px;
  border-radius: 10px;
  color: #b8c9bc !important;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px !important;
  font-weight: 680;
  letter-spacing: .015em;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.pr-nav a:hover { color: var(--pr-text) !important; background: rgba(240, 238, 226, .07); }
.pr-nav a[aria-current="page"] { color: var(--pr-gold-light) !important; background: rgba(228, 189, 118, .11); }
.pr-nav a:active { transform: translateY(1px); }

.pr-play-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(255, 230, 174, .58);
  border-radius: 12px;
  color: #15251f !important;
  background: linear-gradient(135deg, #f5dda6, #d5a755) !important;
  box-shadow: 0 9px 26px rgba(213, 167, 85, .18), inset 0 1px #fff9;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .035em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pr-play-link:hover { transform: translateY(-2px); box-shadow: 0 13px 30px rgba(213, 167, 85, .27), inset 0 1px #fff9; }
.pr-play-link span { font-size: 10px; }
.pr-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--pr-line);
  border-radius: 11px;
  color: var(--pr-text);
  background: rgba(13, 42, 37, .9);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.pr-menu-toggle:hover { color: var(--pr-gold-light); border-color: rgba(243, 216, 153, .55); background: rgba(20, 58, 50, .96); }
.pr-menu-toggle:active { transform: translateY(1px); }
.pr-menu-toggle > span { width: 19px; display: grid; gap: 4px; }
.pr-menu-toggle i { display: block; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .22s ease, opacity .18s ease; transform-origin: center; }
.pr-header[data-menu-open="true"] .pr-menu-toggle i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.pr-header[data-menu-open="true"] .pr-menu-toggle i:nth-child(2) { opacity: 0; }
.pr-header[data-menu-open="true"] .pr-menu-toggle i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.pr-legacy.page-shell,
.pr-legacy.shell,
.pr-legacy.site-shell {
  width: min(1420px, calc(100% - 32px)) !important;
  max-width: 1420px !important;
  margin-inline: auto !important;
  padding-top: clamp(18px, 3vw, 40px) !important;
  background: transparent !important;
}
.pr-legacy main { display: block; }
.pr-legacy > main > :first-child { animation: pr-enter .58s cubic-bezier(.2, .8, .2, 1) both; }
.pr-game-tools { display: flex; justify-content: flex-end; gap: 8px; margin: 10px 0 18px; }
.pr-game-tools button { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--pr-line); border-radius: 11px; color: var(--pr-text); background: rgba(9, 32, 29, .86); cursor: pointer; font-size: 12px; font-weight: 750; }
.pr-game-tools button:hover { border-color: rgba(243, 216, 153, .55); }
.pr-game-tools button[aria-pressed="true"] { color: #13241e; border-color: var(--pr-mint); background: var(--pr-mint); }
.pr-game-tools button span { color: var(--pr-gold-light); font-size: 15px; }
.pr-game-tools button[aria-pressed="true"] span { color: inherit; }

.pr-catalog {
  width: 100%;
  margin: clamp(52px, 8vw, 110px) auto;
  padding: clamp(25px, 4vw, 48px);
  border: 1px solid var(--pr-line);
  border-radius: 26px;
  color: var(--pr-text);
  background: linear-gradient(145deg, rgba(17, 46, 41, .96), rgba(8, 25, 23, .94));
  box-shadow: var(--pr-shadow), inset 0 1px rgba(255, 255, 255, .04);
  overflow: hidden;
  position: relative;
}
.pr-catalog::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 85% -20%, rgba(226, 190, 117, .18), transparent 38%);
}
.pr-section-heading {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}
.pr-section-heading > p { max-width: 470px; margin: 0; color: var(--pr-muted); line-height: 1.65; font-size: 14px; }
.pr-kicker { margin: 0 0 10px; color: var(--pr-gold); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.pr-section-heading h2 { margin: 0; color: var(--pr-text); font: 400 clamp(30px, 4.2vw, 56px)/.98 Georgia, serif; letter-spacing: -.035em; }

.pr-catalog__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.pr-catalog--compact .pr-catalog__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pr-game-card {
  min-width: 0;
  border: 1px solid rgba(237, 214, 157, .16);
  border-radius: 18px;
  color: inherit !important;
  background: rgba(6, 25, 22, .7);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 14px 26px rgba(0, 12, 10, .18);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), border-color .28s ease, box-shadow .28s ease;
  animation: pr-rise .55s calc(var(--card-delay, 0ms) + 80ms) ease both;
}
.pr-game-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--card-accent) 55%, transparent); box-shadow: 0 24px 42px rgba(0, 11, 9, .32); }
.pr-game-card[aria-current="page"] { border-color: rgba(226, 190, 117, .44); }
.pr-game-card__body { padding: 17px 17px 19px; }
.pr-game-card__body > span { display: block; min-height: 26px; color: var(--card-accent); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pr-game-card h3 { margin: 2px 0 9px; color: var(--pr-text); font: 400 22px/1.05 Georgia, serif; }
.pr-game-card p { min-height: 71px; margin: 0 0 16px; color: #a9bbb0; font-size: 12px; line-height: 1.5; }
.pr-game-card b { display: flex; justify-content: space-between; color: #e6ddc9; font-size: 11px; letter-spacing: .03em; }
.pr-game-card b i { color: var(--pr-gold); font-style: normal; font-size: 17px; transition: transform .2s ease; }
.pr-game-card:hover b i { transform: translate(2px, -2px); }
.pr-disclosure { position: relative; margin: 22px 0 0; color: #849c90; font-size: 11px; line-height: 1.6; }

.pr-game-art {
  height: 150px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--card-accent) 18%, transparent), transparent 42%),
    linear-gradient(145deg, rgba(26, 57, 50, .85), rgba(5, 21, 19, .96));
}
.pr-game-art::after { content: ""; position: absolute; inset: auto -10% -30% 12%; height: 70%; border: 1px solid rgba(237, 214, 157, .12); transform: perspective(260px) rotateX(68deg); background: repeating-linear-gradient(90deg, transparent 0 29px, rgba(226, 190, 117, .08) 30px); }
.pr-reels { position: relative; z-index: 1; display: flex; gap: 4px; padding: 9px; border: 3px solid #d3a957; border-radius: 11px; transform: perspective(400px) rotateX(-6deg) rotateY(-8deg); background: #6d4620; box-shadow: 0 13px 25px #0008, inset 0 0 8px #fff5; }
.pr-reels span { display: grid; place-items: center; width: 43px; height: 62px; border-radius: 5px; color: #bd382b; background: linear-gradient(#fff5e5, #e9c98d); font: 700 44px/1 Georgia, serif; text-shadow: 0 2px #fff; box-shadow: inset 0 5px 9px #7e4b2422; }
.pr-game-art svg { position: relative; z-index: 1; width: 76%; max-height: 118px; overflow: visible; }
.pr-game-art--ancient-gems svg path:first-child { fill: rgba(134, 226, 215, .7); stroke: #d7fff1; stroke-width: 2; }
.pr-game-art--ancient-gems svg path:nth-child(2) { fill: none; stroke: #438e8e; stroke-width: 2; }
.pr-game-art--ancient-gems svg circle { fill: #d0a867; filter: drop-shadow(0 4px 5px #0007); }
.pr-cards { position: relative; z-index: 1; display: flex; gap: 10px; transform: rotate(-4deg); }
.pr-cards span { display: grid; place-items: center; width: 65px; height: 88px; border: 2px solid #c8a968; border-radius: 9px; color: #eadc9e; background: linear-gradient(145deg, #19293b, #090f1d); font: 32px Georgia, serif; box-shadow: 0 13px 20px #0008; }
.pr-cards span:nth-child(2) { transform: translateY(8px) rotate(8deg); color: #c4d8ee; }
.pr-cards i { position: absolute; right: -22px; top: -13px; color: #e8c66d; font-style: normal; }
.pr-game-art--neon-range svg { fill: none; stroke: #72e8e3; stroke-width: 5; filter: drop-shadow(0 0 9px #32d7d5aa); }
.pr-game-art--neon-range svg circle:nth-child(2) { stroke: #e5bad4; stroke-width: 3; }
.pr-game-art--neon-range svg circle:nth-child(3) { fill: #f1bfdc; stroke: #fff0fa; }
.pr-game-art--labyrinth svg path { fill: rgba(26, 45, 69, .76); stroke: #abc6d9; stroke-width: 7; stroke-linejoin: round; }
.pr-game-art--labyrinth svg circle { fill: #f2cf82; stroke: none; filter: drop-shadow(0 0 7px #f2cf82); }
.pr-game-art--thunder-god,
.pr-game-art--temple-dogs,
.pr-game-art--rocket-wave {
  background-image: linear-gradient(180deg, rgba(5, 22, 20, .04), rgba(5, 22, 20, .7)), url('/playroom-new-worlds.webp');
  background-size: cover;
}
.pr-game-art--thunder-god { background-position: 10% 30%; }
.pr-game-art--temple-dogs { background-position: 48% 78%; }
.pr-game-art--rocket-wave { background-position: 91% 23%; }
.pr-art-runes, .pr-art-paws, .pr-art-flight { position: relative; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.pr-art-runes span { position: absolute; display: grid; place-items: center; width: 39px; aspect-ratio: 1; border: 1px solid rgba(220, 255, 244, .72); color: #f7e8bc; background: rgba(18, 71, 65, .78); clip-path: polygon(50% 0, 92% 24%, 92% 72%, 50% 100%, 8% 72%, 8% 24%); font: 700 11px/1 ui-sans-serif, system-ui; filter: drop-shadow(0 0 10px rgba(137, 241, 224, .65)); }
.pr-art-runes span:nth-child(1) { left: 50%; top: 55%; }
.pr-art-runes span:nth-child(2) { left: 63%; top: 32%; width: 47px; }
.pr-art-runes span:nth-child(3) { right: 8%; top: 8%; width: 57px; }
.pr-art-paws { display: flex; align-items: end; justify-content: center; gap: 16px; padding-bottom: 16px; }
.pr-art-paws span { color: #ffe19b; filter: drop-shadow(0 0 8px #ffd375); font-size: 13px; }
.pr-art-paws span:nth-child(2) { transform: translateY(-7px); }
.pr-art-flight span, .pr-art-flight i { position: absolute; color: #e8fff6; text-shadow: 0 0 12px #85f1dd; font-style: normal; }
.pr-art-flight span:first-child { left: 17%; top: 31%; font-size: 17px; }
.pr-art-flight span:last-child { left: 32%; top: 55%; font-size: 10px; }
.pr-art-flight i { right: 12%; top: 13%; font-size: 31px; transform: rotate(-8deg); }

.pr-seo-section, .pr-guide-wrap, .pr-static-page {
  width: min(1180px, calc(100% - 32px));
  margin: clamp(54px, 8vw, 110px) auto;
  color: var(--pr-text);
}
.pr-seo-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.pr-seo-card {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--pr-line);
  border-radius: 22px;
  background: rgba(12, 35, 31, .9);
  box-shadow: var(--pr-shadow);
}
.pr-seo-card h2, .pr-static-page h1 { margin: 0 0 18px; font: 400 clamp(31px, 4vw, 54px)/1 Georgia, serif; }
.pr-seo-card h3 { margin: 25px 0 8px; color: var(--pr-gold-light); font: 400 24px/1.1 Georgia, serif; }
.pr-seo-card p, .pr-seo-card li, .pr-static-page p { color: #b8c6bd; line-height: 1.75; }
.pr-facts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pr-facts li { padding: 16px 18px; border: 1px solid rgba(161, 222, 210, .14); border-radius: 14px; background: rgba(161, 222, 210, .045); }
.pr-facts b { display: block; margin-bottom: 5px; color: var(--pr-mint); }
.pr-faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pr-faq details { border: 1px solid var(--pr-line); border-radius: 15px; background: rgba(10, 34, 30, .88); overflow: hidden; }
.pr-faq summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; color: var(--pr-text); cursor: pointer; font-weight: 750; list-style: none; }
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after { content: "+"; color: var(--pr-gold); font-size: 22px; font-weight: 400; }
.pr-faq summary:hover { color: var(--pr-gold-light); background: rgba(228, 189, 118, .055); }
.pr-faq summary:active { background: rgba(228, 189, 118, .1); }
.pr-faq details[open] summary::after { content: "−"; }
.pr-faq details p { margin: 0; padding: 0 18px 18px; color: var(--pr-muted); line-height: 1.65; }

.pr-visual-hero {
  min-height: min(620px, 70vh);
  margin: 22px auto 0;
  width: min(1420px, calc(100% - 32px));
  display: flex;
  align-items: end;
  padding: clamp(28px, 6vw, 78px);
  border: 1px solid var(--pr-line);
  border-radius: 28px;
  background: linear-gradient(90deg, rgba(5, 20, 18, .92) 0, rgba(5, 20, 18, .46) 46%, rgba(5, 20, 18, .08)), url('/playroom-new-worlds.webp') center / cover;
  box-shadow: var(--pr-shadow);
  overflow: hidden;
}
.pr-visual-hero__copy { max-width: 620px; padding: 25px 0; }
.pr-visual-hero h1 { margin: 0 0 18px; font: 400 clamp(44px, 6.8vw, 91px)/.92 Georgia, serif; letter-spacing: -.05em; }
.pr-visual-hero h1 em { color: var(--pr-gold-light); font-weight: 400; }
.pr-visual-hero p:not(.pr-kicker) { max-width: 560px; color: #c9d2ca; font-size: clamp(15px, 1.8vw, 19px); line-height: 1.65; }
.pr-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.pr-button, .pr-button--quiet { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 21px; border-radius: 12px; text-decoration: none; font-size: 13px; font-weight: 800; transition: transform .2s ease, border-color .2s ease, background .2s ease, filter .2s ease; }
.pr-button { color: #11231e !important; background: linear-gradient(135deg, var(--pr-gold-light), #d3a453); }
.pr-button--quiet { border: 1px solid var(--pr-line); color: var(--pr-text) !important; background: rgba(8, 26, 23, .7); }
.pr-button:hover { filter: brightness(1.08); transform: translateY(-2px); }
.pr-button--quiet:hover { border-color: rgba(243, 216, 153, .5); background: rgba(18, 49, 43, .92); transform: translateY(-2px); }
.pr-button:active, .pr-button--quiet:active { transform: translateY(1px); }

.pr-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; color: #94a99c; font-size: 12px; }
.pr-breadcrumbs a { color: var(--pr-gold-light); text-underline-offset: 3px; }
.pr-guide-hero { padding: clamp(30px, 6vw, 76px); border: 1px solid var(--pr-line); border-radius: 26px; background: linear-gradient(115deg, rgba(10, 35, 31, .96), rgba(12, 39, 35, .74)), url('/playroom-gallery.webp') center 58% / cover; box-shadow: var(--pr-shadow); }
.pr-guide-hero h1 { max-width: 900px; margin: 0 0 18px; font: 400 clamp(38px, 6vw, 76px)/.97 Georgia, serif; letter-spacing: -.04em; }
.pr-guide-hero > p { max-width: 760px; color: #c0ccc4; font-size: 17px; line-height: 1.7; }
.pr-guide-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; color: var(--pr-mint); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.pr-article { width: min(860px, 100%); margin: 34px auto 0; padding: clamp(24px, 5vw, 58px); border: 1px solid var(--pr-line); border-radius: 22px; background: rgba(9, 30, 27, .94); box-shadow: var(--pr-shadow); }
.pr-article h2 { margin: 42px 0 14px; color: var(--pr-gold-light); font: 400 clamp(26px, 3.5vw, 38px)/1.1 Georgia, serif; }
.pr-article h2:first-child { margin-top: 0; }
.pr-article p { color: #c1ccc5; font-size: 16px; line-height: 1.82; }
.pr-article a { color: var(--pr-mint); text-underline-offset: 4px; }
.pr-related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 36px; }
.pr-related-links a { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; border: 1px solid rgba(161, 222, 210, .19); border-radius: 12px; color: var(--pr-text); background: rgba(161, 222, 210, .05); text-decoration: none; }
.pr-related-links a:hover { border-color: var(--pr-mint); }

.pr-guides-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 28px; }
.pr-guide-card { min-height: 250px; position: relative; display: flex; flex-direction: column; justify-content: end; padding: 26px; border: 1px solid var(--pr-line); border-radius: 20px; color: var(--pr-text) !important; background: linear-gradient(160deg, rgba(9, 31, 28, .62), rgba(5, 20, 18, .97)), url('/playroom-gallery.webp') var(--guide-position, center) / cover; text-decoration: none; overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.pr-guide-card:nth-child(3n + 1) { --guide-position: 20% 70%; }
.pr-guide-card:nth-child(3n + 2) { --guide-position: 76% 55%; }
.pr-guide-card:hover { transform: translateY(-4px); border-color: rgba(243, 216, 153, .58); }
.pr-guide-card span { color: var(--pr-mint); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.pr-guide-card h2 { max-width: 580px; margin: 8px 0 8px; font: 400 clamp(25px, 3vw, 38px)/1.05 Georgia, serif; }
.pr-guide-card p { max-width: 610px; margin: 0; color: #c3cec7; font-size: 13px; line-height: 1.55; }

.pr-static-page { padding: clamp(30px, 5vw, 62px); border: 1px solid var(--pr-line); border-radius: 24px; background: rgba(9, 31, 28, .94); box-shadow: var(--pr-shadow); }
.pr-static-page a { color: var(--pr-mint); }

.pr-footer {
  width: min(1420px, calc(100% - 32px));
  min-height: 94px;
  margin: 70px auto 0;
  padding: 18px 2px;
  border-top: 1px solid var(--pr-line) !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  color: #92a69a !important;
  background: transparent !important;
  font-size: 11px !important;
}
.pr-footer__brand { color: var(--pr-text) !important; font: 400 16px Georgia, serif !important; letter-spacing: .11em; text-decoration: none; }
.pr-footer__brand span { color: var(--pr-gold); font: 700 9px ui-sans-serif, system-ui, sans-serif; }
.pr-footer p { margin: 0; text-align: center; }
.pr-footer nav { display: flex; gap: 15px; }
.pr-footer nav a { color: #aabbb0 !important; font-size: 11px !important; text-underline-offset: 4px; }
.pr-footer a:hover { color: var(--pr-gold-light) !important; }
.pr-footer a:active { opacity: .78; }

.pr-theme dialog { overscroll-behavior: contain; }
.pr-theme .icon-button, .pr-theme .quiet-button, .pr-theme .sound-button { min-width: 44px; min-height: 44px; }
.pr-theme #spins, .pr-theme #matches, .pr-theme #score, .pr-theme #moves, .pr-theme #hits, .pr-theme #time, .pr-theme #accuracy, .pr-theme #remaining, .pr-theme #beacon-count { font-variant-numeric: tabular-nums; }

@keyframes pr-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pr-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* Every game keeps its own mechanic while sharing the temple palette. */
.game-page--memory { --gold: var(--pr-gold); --lilac: var(--pr-mint); --line: var(--pr-line); }
.game-page--memory .game-console { border-color: rgba(226, 197, 132, .24); background: linear-gradient(145deg, rgba(20, 54, 47, .94), rgba(8, 28, 25, .97) 70%); }
.game-page--memory .observatory { border-color: var(--pr-line); background: linear-gradient(160deg, rgba(46, 87, 74, .38), rgba(10, 34, 30, .2)); }
.game-page--memory .board-aura { background: radial-gradient(ellipse, rgba(161, 222, 210, .17), transparent 67%); }
.game-page--memory .card-back { color: var(--pr-gold); background: radial-gradient(ellipse at 35% 18%, #31574b, #183a33 62%, #102b26); }
.game-page--memory .card-back::before { border-color: rgba(228, 189, 118, .34); background: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(228, 189, 118, .08) 5px, rgba(228, 189, 118, .08) 6px); }
.game-page--memory .card-front { border-color: rgba(243, 216, 153, .48); background: radial-gradient(ellipse at 50% 25%, #31594f, #173a33 69%); }
.game-page--memory .sound-button { color: #c5d5ca; background: rgba(15, 48, 42, .92); }
.game-page--memory .status-orbit { border-color: var(--pr-mint); box-shadow: 0 0 9px rgba(161, 222, 210, .35); }

.game-page--neon { --cyan: var(--pr-mint); --pink: var(--pr-gold); --line: var(--pr-line); }
.game-page--neon .machine { border-color: rgba(226, 197, 132, .26); background: #102d28; box-shadow: 0 28px 80px rgba(0, 10, 8, .38); }
.game-page--neon .machine-top { border-color: var(--pr-line); background: linear-gradient(90deg, #183d35, #102e29); }
.game-page--neon .machine-tools button { border-color: rgba(226, 197, 132, .24); color: #c8d6cc; background: rgba(8, 28, 25, .72); }
.game-page--neon .scoreboard { background: linear-gradient(90deg, #102f2a, #173d34); }
.game-page--neon .arena { background: #071c18; }
.game-page--neon .room {
  background:
    radial-gradient(ellipse at 50% 58%, rgba(63, 128, 104, .2), transparent 62%),
    linear-gradient(rgba(5, 24, 21, .55), rgba(7, 25, 22, .84)),
    url('/temple-background.webp') center 72% / cover;
}
.game-page--neon .wall-grid { opacity: .44; background: linear-gradient(90deg, rgba(219, 195, 138, .12) 1px, transparent 1px), linear-gradient(rgba(161, 222, 210, .11) 1px, transparent 1px); background-size: 80px 70px; }
.game-page--neon .floor-grid { opacity: .55; background: linear-gradient(90deg, rgba(226, 190, 117, .26) 1px, transparent 1px), linear-gradient(rgba(161, 222, 210, .18) 1px, transparent 1px); background-size: 78px 42px; }
.game-page--neon .portal { border-color: rgba(228, 189, 118, .26); box-shadow: inset 0 0 35px rgba(161, 222, 210, .04); }
.game-page--neon .portal-one { border-left-color: rgba(161, 222, 210, .55); }
.game-page--neon .portal-two { border-right-color: rgba(228, 189, 118, .56); }
.game-page--neon .room-label { color: rgba(228, 189, 118, .24); }
.game-page--neon .target { filter: drop-shadow(0 18px 12px rgba(0, 8, 6, .68)); will-change: transform; }
.game-page--neon .target-pink { --target-color: var(--pr-gold-light); --target-dark: #5a4725; color: var(--pr-gold-light); }
.game-page--neon .overlay { background: rgba(5, 23, 20, .5); }
.game-page--neon .overlay-card { background: radial-gradient(ellipse, rgba(12, 45, 39, .96) 15%, rgba(8, 31, 27, .75) 62%, transparent 75%); }
.game-page--neon .primary-button { border-color: #f8e6bc; color: #183027; background: linear-gradient(135deg, var(--pr-gold-light), #d2a455); box-shadow: 0 10px 26px rgba(211, 164, 83, .17); }
.game-page--neon .machine-bottom { border-color: var(--pr-line); background: #112f2a; }

.game-page--labyrinth { --gold: var(--pr-gold); --line: var(--pr-line); }
.game-page--labyrinth .scene-panel, .game-page--labyrinth .control-panel { border-color: rgba(226, 197, 132, .2); background: rgba(12, 42, 37, .92); }
.game-page--labyrinth .canvas-wrap { background: radial-gradient(ellipse at 50% 65%, rgba(77, 132, 111, .32), transparent 67%), linear-gradient(#102f2a, #14372f); }
.game-page--labyrinth .control-panel { background: linear-gradient(145deg, #173b34, #102e29); }
.game-page--labyrinth .direction { border-color: rgba(226, 197, 132, .24); color: #dce8df; background: linear-gradient(145deg, rgba(69, 106, 91, .5), rgba(20, 57, 49, .72)); }
.game-page--labyrinth .direction:hover, .game-page--labyrinth .direction.held { border-color: var(--pr-gold); background: rgba(228, 189, 118, .17); }
.game-page--labyrinth .beacon-slots > span { background: rgba(5, 28, 24, .48); }
.game-page--labyrinth .end-card { background: rgba(6, 28, 24, .9); }

@media (max-width: 1120px) {
  .pr-header { grid-template-columns: auto 1fr auto; gap: 10px; }
  .pr-nav { justify-content: start; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 12px), transparent); padding-inline: 10px; }
  .pr-nav::-webkit-scrollbar { display: none; }
  .pr-nav a { padding-inline: 10px; }
  .pr-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pr-catalog--compact .pr-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 82px; }
  .pr-theme [id] { scroll-margin-top: 82px; }
  .pr-header {
    width: 100%;
    min-height: 66px;
    padding: 8px 12px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "brand play toggle" "nav nav nav";
    align-items: center;
    column-gap: 8px;
    row-gap: 7px;
    border-inline: 0;
    border-radius: 0 0 15px 15px;
  }
  .pr-brand { grid-area: brand; }
  .pr-brand small { display: none; }
  .pr-brand__mark { width: 34px; height: 34px; }
  .pr-play-link { grid-area: play; min-height: 44px; padding-inline: 13px; font-size: 11px; }
  .pr-menu-toggle { grid-area: toggle; display: grid; place-items: center; }
  .pr-nav { grid-area: nav; width: 100%; max-width: none; justify-content: start; overflow: visible; mask-image: none; padding: 6px 0 3px; }
  .pr-header[data-menu-ready="true"] .pr-nav { display: none !important; }
  .pr-header[data-menu-ready="true"][data-menu-open="true"] .pr-nav { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; border-top: 1px solid var(--pr-line); }
  .pr-nav a { min-height: 44px; padding-inline: 13px; justify-content: flex-start; font-size: 12px !important; }
  .pr-header[data-menu-open="true"] .pr-nav a[aria-current="page"] { box-shadow: inset 3px 0 var(--pr-gold); }
  .pr-legacy.page-shell, .pr-legacy.shell, .pr-legacy.site-shell { width: min(100% - 20px, 1420px) !important; padding-top: 12px !important; }
  .pr-section-heading { display: block; }
  .pr-section-heading > p { margin-top: 14px; }
  .pr-catalog { margin-block: 42px; padding: 20px 14px; border-radius: 20px; }
  .pr-catalog__grid, .pr-catalog--compact .pr-catalog__grid { grid-template-columns: 1fr; }
  .pr-game-card { display: grid; grid-template-columns: 118px minmax(0, 1fr); }
  .pr-game-card__body { min-width: 0; }
  .pr-game-art { height: 100%; min-height: 168px; }
  .pr-reels { transform: scale(.7) rotateY(-8deg); }
  .pr-game-card__body { padding: 16px; }
  .pr-game-card p { min-height: 0; }
  .pr-seo-grid { grid-template-columns: 1fr; }
  .pr-visual-hero { min-height: 550px; padding: 25px 20px; background-position: 61% center; }
  .pr-visual-hero__copy { padding: 15px 0; }
  .pr-guides-grid { grid-template-columns: 1fr; }
  .pr-faq__grid { grid-template-columns: 1fr; }
  .pr-related-links { grid-template-columns: 1fr; }
  .pr-footer { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; text-align: center; }
  .pr-footer p { text-align: center; }
  .pr-footer nav { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 460px) {
  .pr-play-link { width: 47px; overflow: hidden; padding: 0; color: transparent !important; gap: 0; }
  .pr-play-link span { color: #15251f; font-size: 13px; }
  .pr-brand { font-size: 14px; letter-spacing: .08em; }
  .pr-brand__mark { width: 32px; height: 32px; }
  .pr-game-card { grid-template-columns: 104px minmax(0, 1fr); }
  .pr-game-art { min-height: 190px; }
  .pr-game-card h3 { font-size: 20px; }
  .pr-game-card__body > span { min-height: 22px; font-size: 8px; }
  .pr-guide-hero { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
