/* ==========================================================================
   GameZone Games - frame-compact-e0ae24.css
   Mobile-first shell for a 320-430px phone canvas.
   Palette: #E8F5E8 mint / #8B7355 taupe / #F5DEB3 wheat / #3A3A3A ink / #D2691E choco
   Voice: rounded headings + condensed body, floating dock, side drawer.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --layer0ae24-ink: #3a3a3a;            /* canvas background (dark) */
  --layer0ae24-ink-deep: #2b2b2b;       /* page behind the canvas */
  --layer0ae24-ink-raise: #454545;      /* raised panel tone */
  --layer0ae24-wheat: #f5deb3;          /* primary light text */
  --layer0ae24-mint: #e8f5e8;           /* highlight text */
  --layer0ae24-taupe: #8b7355;          /* borders and quiet labels */
  --layer0ae24-choco: #d2691e;          /* primary CTA */
  --layer0ae24-choco-press: #b4551a;    /* pressed CTA */
  --layer0ae24-choco-soft: rgba(210, 105, 30, 0.22);
  --layer0ae24-line: rgba(139, 115, 85, 0.38);
  --layer0ae24-line-soft: rgba(139, 115, 85, 0.24);
  --layer0ae24-font-head: "Baloo 2", "Trebuchet MS", "Segoe UI", sans-serif;
  --layer0ae24-font-body: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --layer0ae24-r-card: 14px;
  --layer0ae24-r-tile: 10px;
  --layer0ae24-r-btn: 9px;
  --layer0ae24-tap: 44px;               /* minimum touch target */
  --layer0ae24-dock-h: 64px;
  --layer0ae24-ease: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--layer0ae24-ink-deep);
  color: var(--layer0ae24-wheat);
  font-family: var(--layer0ae24-font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a { color: var(--layer0ae24-mint); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--layer0ae24-font-head);
  color: var(--layer0ae24-wheat);
  margin: 0;
  line-height: 1.22;
  letter-spacing: 0.01em;
}

p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--layer0ae24-mint);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Phone canvas ---------- */
.layer0ae24-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--layer0ae24-ink);
  overflow-x: clip;
  box-shadow: 0 0 0 1px var(--layer0ae24-line-soft), 0 0 48px rgba(0, 0, 0, 0.55);
}

.layer0ae24-main {
  padding: 0 0 calc(var(--layer0ae24-dock-h) + 52px); /* keeps text clear of the dock */
}

.layer0ae24-skip {
  position: absolute;
  left: -999px;
  top: 4px;
  z-index: 90;
  background: var(--layer0ae24-choco);
  color: #fff6e8;
  padding: 9px 14px;
  border-radius: var(--layer0ae24-r-btn);
  font-weight: 700;
}
.layer0ae24-skip:focus { left: 10px; }

/* ---------- Minimal top action band ---------- */
.layer0ae24-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 10px;
  background: rgba(58, 58, 58, 0.96);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--layer0ae24-line);
}

.layer0ae24-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
}

.layer0ae24-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(245, 222, 179, 0.22);
  object-fit: cover;
  flex: none;
}

.layer0ae24-brand-name {
  font-family: var(--layer0ae24-font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--layer0ae24-wheat);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.layer0ae24-actions { display: flex; align-items: center; gap: 6px; flex: none; }

/* Buttons: solid primary + outlined secondary, compact rounding */
.layer0ae24-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--layer0ae24-tap);
  padding: 9px 14px;
  border-radius: var(--layer0ae24-r-btn);
  font-family: var(--layer0ae24-font-body);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.14s var(--layer0ae24-ease), background-color 0.14s, color 0.14s, border-color 0.14s;
}
.layer0ae24-btn:active { transform: scale(0.95); }

.layer0ae24-btn--solid {
  background: linear-gradient(180deg, #dd7628, var(--layer0ae24-choco));
  color: #fff6e8;
  box-shadow: 0 3px 10px rgba(210, 105, 30, 0.35);
}
.layer0ae24-btn--solid:active { background: var(--layer0ae24-choco-press); }

.layer0ae24-btn--ghost {
  border: 1px solid rgba(245, 222, 179, 0.75);
  color: var(--layer0ae24-wheat);
  background: rgba(245, 222, 179, 0.04);
}

.layer0ae24-topbar .layer0ae24-btn { padding: 9px 11px; font-size: 12.5px; }

.layer0ae24-burger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: var(--layer0ae24-tap);
  height: var(--layer0ae24-tap);
  border-radius: var(--layer0ae24-r-btn);
  transition: background-color 0.15s, transform 0.14s var(--layer0ae24-ease);
}
.layer0ae24-burger:active { transform: scale(0.92); }
.layer0ae24-burger span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--layer0ae24-wheat);
}
.layer0ae24-burger span:nth-child(2) { width: 13px; }

/* ---------- Side drawer menu ---------- */
.layer0ae24-scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(24, 24, 24, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.layer0ae24-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

.layer0ae24-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: max(0px, calc(50% - 215px)); /* hugs the phone canvas edge */
  z-index: 60;
  width: min(84vw, 312px);
  padding: 14px 14px 30px;
  background: linear-gradient(180deg, #474747 0%, #3d3d3d 55%, #393939 100%);
  border-right: 1px solid var(--layer0ae24-line);
  box-shadow: 14px 0 34px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  transform: translateX(-102%);
  transition: transform 0.3s var(--layer0ae24-ease);
}
.layer0ae24-drawer[data-open="true"] { transform: translateX(0); }

.layer0ae24-drawer-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--layer0ae24-line-soft);
}
.layer0ae24-drawer-head img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
}
.layer0ae24-drawer-title {
  font-family: var(--layer0ae24-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--layer0ae24-wheat);
  margin-right: auto;
}
.layer0ae24-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: var(--layer0ae24-r-btn);
  font-size: 20px;
  line-height: 1;
  color: var(--layer0ae24-wheat);
  background: rgba(245, 222, 179, 0.07);
}
.layer0ae24-drawer-close:active { transform: scale(0.9); }

.layer0ae24-dnav-group { margin-top: 16px; }

.layer0ae24-dnav-caption {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--layer0ae24-taupe);
  padding: 0 10px 6px;
}

.layer0ae24-dnav-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: var(--layer0ae24-tap);
  padding: 10px 11px;
  border-radius: 11px;
  color: var(--layer0ae24-wheat);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.15s, transform 0.13s var(--layer0ae24-ease);
}
.layer0ae24-dnav-link:active { transform: scale(0.97); }
.layer0ae24-dnav-link:hover { background: rgba(245, 222, 179, 0.08); }
.layer0ae24-dnav-link.is-active {
  background: var(--layer0ae24-choco-soft);   /* active = backed block */
  color: var(--layer0ae24-mint);
  box-shadow: inset 3px 0 0 var(--layer0ae24-choco);
}
.layer0ae24-dnav-link .layer0ae24-dnav-ico {
  width: 20px;
  height: 20px;
  flex: none;
  opacity: 0.9;
}

.layer0ae24-drawer-cta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--layer0ae24-line-soft);
  display: grid;
  gap: 8px;
}

/* ---------- Hero strip ---------- */
.layer0ae24-hero {
  padding: 16px 12px 4px;
}

.layer0ae24-hero h1 {
  font-size: 24px;
  font-weight: 700;
}

.layer0ae24-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--layer0ae24-choco);
  background: var(--layer0ae24-choco-soft);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 9px;
}
.layer0ae24-hero-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--layer0ae24-choco);
}

.layer0ae24-hero-lead {
  margin: 8px 0 10px;
  color: rgba(245, 222, 179, 0.88);
  font-size: 14.5px;
}

.layer0ae24-hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 4px;
}

.layer0ae24-fact {
  border: 1px solid var(--layer0ae24-line-soft);
  background: rgba(69, 69, 69, 0.5);
  border-radius: var(--layer0ae24-r-tile);
  padding: 8px 6px 7px;
  text-align: center;
}
.layer0ae24-fact b {
  display: block;
  font-family: var(--layer0ae24-font-head);
  font-size: 17px;
  color: var(--layer0ae24-mint);
  line-height: 1.1;
}
.layer0ae24-fact span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--layer0ae24-taupe);
  margin-top: 2px;
}

/* ---------- Promo carousel ---------- */
.layer0ae24-show {
  position: relative;
  margin: 14px 10px 4px;
  border-radius: var(--layer0ae24-r-card);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--layer0ae24-line-soft);
}

.layer0ae24-show-viewport { overflow: hidden; }

.layer0ae24-show-track {
  display: flex;
  transition: transform 0.45s var(--layer0ae24-ease);
}

.layer0ae24-slide {
  flex: 0 0 100%;
  width: 100%;
  display: block;
}
.layer0ae24-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.layer0ae24-slide:active img { transform: scale(0.99); }

.layer0ae24-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.layer0ae24-dot {
  width: 34px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.layer0ae24-dot i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(245, 222, 179, 0.45);
  transition: width 0.22s ease, background-color 0.22s ease;
}
.layer0ae24-dot.is-on i {
  width: 16px;
  background: var(--layer0ae24-choco);
}

.layer0ae24-show-hint {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff6e8;
  background: rgba(43, 43, 43, 0.72);
  border-radius: 999px;
  padding: 3px 9px;
  pointer-events: none;
}

/* ---------- Game lobby ---------- */
.layer0ae24-lobby { padding: 4px 10px 2px; }

.layer0ae24-lobby-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 4px;
}
.layer0ae24-lobby-head h2 {
  font-size: 17.5px;
  font-weight: 700;
}
.layer0ae24-chip {
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--layer0ae24-mint);
  border: 1px solid var(--layer0ae24-line);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

.layer0ae24-lobby-note {
  font-size: 12.5px;
  color: rgba(245, 222, 179, 0.72);
  margin: 0 0 9px;
}

.layer0ae24-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
@media (min-width: 392px) {
  .layer0ae24-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Game tile: light floating image card */
.layer0ae24-gtile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 5px 7px;
  border-radius: var(--layer0ae24-r-tile);
  background: linear-gradient(180deg, rgba(245, 222, 179, 0.08), rgba(245, 222, 179, 0.02));
  border: 1px solid var(--layer0ae24-line-soft);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s var(--layer0ae24-ease), border-color 0.15s, box-shadow 0.15s;
}
.layer0ae24-gtile:hover { border-color: rgba(210, 105, 30, 0.6); }
.layer0ae24-gtile:active {
  transform: scale(0.93);
  border-color: var(--layer0ae24-choco);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.layer0ae24-gtile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  pointer-events: none;
}
.layer0ae24-gtile-name {
  font-size: 10.5px;
  line-height: 1.18;
  font-weight: 500;
  text-align: center;
  color: var(--layer0ae24-wheat);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 25px;
  word-break: break-word;
}

/* ---------- Guide-specific reading blocks ---------- */
.layer0ae24-step-card {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--layer0ae24-line-soft);
}
.layer0ae24-step-card:last-child { border-bottom: 0; }
.layer0ae24-step-card h3 { margin: 0 0 3px; }
.layer0ae24-step-card p { font-size: 12.5px; color: rgba(245, 222, 179, 0.78); }
.layer0ae24-trick-row {
  padding: 10px 0;
  border-bottom: 1px dashed var(--layer0ae24-line-soft);
}
.layer0ae24-trick-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.layer0ae24-trick-row b { display: block; color: var(--layer0ae24-wheat); font-size: 13.5px; margin-bottom: 2px; }
.layer0ae24-trick-row p { font-size: 12.5px; color: rgba(245, 222, 179, 0.78); }

/* ---------- Editorial sections ---------- */
.layer0ae24-sec {
  margin: 20px 10px 0;
  padding: 15px 13px 16px;
  border-radius: var(--layer0ae24-r-card);
  background: rgba(69, 69, 69, 0.42);
  border: 1px solid var(--layer0ae24-line-soft);
}
.layer0ae24-sec > h2 { font-size: 18px; }
.layer0ae24-sec > .layer0ae24-sec-lede {
  margin: 7px 0 12px;
  font-size: 13.5px;
  color: rgba(245, 222, 179, 0.8);
}
.layer0ae24-sec h3 { font-size: 14.5px; color: var(--layer0ae24-mint); }

/* Answer-first lead card (fact summary, then expand) */
.layer0ae24-brief {
  border-left: 3px solid var(--layer0ae24-choco);
  background: rgba(210, 105, 30, 0.12);
  border-radius: 0 var(--layer0ae24-r-tile) var(--layer0ae24-r-tile) 0;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--layer0ae24-wheat);
  margin: 0 0 13px;
}

/* Section tail note */
.layer0ae24-tail {
  margin-top: 13px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(245, 222, 179, 0.78);
}

/* Category highlight tiles */
.layer0ae24-cat-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.layer0ae24-cat-tile {
  border-radius: var(--layer0ae24-r-tile);
  border: 1px solid var(--layer0ae24-line-soft);
  border-left: 3px solid var(--layer0ae24-taupe);
  background: rgba(58, 58, 58, 0.65);
  padding: 10px 10px 11px;
}
.layer0ae24-cat-tile:nth-child(odd) { border-left-color: var(--layer0ae24-choco); }
.layer0ae24-cat-tile h3 { margin-bottom: 4px; }
.layer0ae24-cat-tile p {
  font-size: 12px;
  line-height: 1.42;
  color: rgba(245, 222, 179, 0.78);
}

/* Numbered trick list */
.layer0ae24-tricks { counter-reset: layer0ae24-trick; }
.layer0ae24-tricks li {
  counter-increment: layer0ae24-trick;
  position: relative;
  padding: 0 0 13px 38px;
}
.layer0ae24-tricks li:last-child { padding-bottom: 2px; }
.layer0ae24-tricks li::before {
  content: counter(layer0ae24-trick, decimal);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--layer0ae24-choco-soft);
  border: 1px solid rgba(210, 105, 30, 0.55);
  color: var(--layer0ae24-mint);
  font-family: var(--layer0ae24-font-head);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.layer0ae24-tricks b {
  display: block;
  color: var(--layer0ae24-wheat);
  font-size: 13.5px;
  margin-bottom: 2px;
}
.layer0ae24-tricks p {
  font-size: 12.5px;
  color: rgba(245, 222, 179, 0.78);
}

/* Mobile access steps */
.layer0ae24-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--layer0ae24-line-soft);
}
.layer0ae24-steps li:last-child { border-bottom: 0; }
.layer0ae24-step-no {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(139, 115, 85, 0.28);
  border: 1px solid var(--layer0ae24-line);
  color: var(--layer0ae24-mint);
  font-family: var(--layer0ae24-font-head);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.layer0ae24-steps b {
  display: block;
  font-size: 13.5px;
  color: var(--layer0ae24-wheat);
  margin-bottom: 2px;
}
.layer0ae24-steps p {
  font-size: 12.5px;
  color: rgba(245, 222, 179, 0.76);
}

/* Mini Q&A strip inside the mobile-access module */
.layer0ae24-faq {
  margin: 2px 0 13px;
  padding: 11px 12px;
  border-radius: var(--layer0ae24-r-tile);
  border: 1px dashed var(--layer0ae24-line);
  background: rgba(58, 58, 58, 0.55);
}
.layer0ae24-faq-q {
  font-family: var(--layer0ae24-font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--layer0ae24-mint);
  margin: 0 0 3px;
}
.layer0ae24-faq-q::before {
  content: "?";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--layer0ae24-choco-soft);
  border: 1px solid rgba(210, 105, 30, 0.55);
  font-size: 11px;
  vertical-align: -3px;
}
.layer0ae24-faq p {
  font-size: 12.5px;
  line-height: 1.48;
  color: rgba(245, 222, 179, 0.8);
  margin-bottom: 10px;
}
.layer0ae24-faq .layer0ae24-faq-q + p { margin-top: 0; }
.layer0ae24-faq p:last-child { margin-bottom: 0; }

/* Promo offer cards */
.layer0ae24-offers {
  display: grid;
  gap: 10px;
}
.layer0ae24-offer {
  border-radius: 12px;
  padding: 12px 12px 13px;
  background: linear-gradient(135deg, rgba(210, 105, 30, 0.18), rgba(139, 115, 85, 0.12));
  border: 1px solid rgba(210, 105, 30, 0.42);
}
.layer0ae24-offer-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff6e8;
  background: var(--layer0ae24-choco);
  border-radius: 999px;
  padding: 3px 9px;
  margin-bottom: 7px;
}
.layer0ae24-offer h3 { margin-bottom: 4px; }
.layer0ae24-offer p {
  font-size: 12.5px;
  color: rgba(245, 222, 179, 0.82);
  margin-bottom: 10px;
}
.layer0ae24-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.layer0ae24-cta-row .layer0ae24-btn { flex: 1 1 130px; font-size: 12.5px; padding: 9px 10px; }

/* Scenario guidance (expandable) */
.layer0ae24-case {
  border: 1px solid var(--layer0ae24-line-soft);
  border-radius: var(--layer0ae24-r-tile);
  background: rgba(58, 58, 58, 0.6);
  padding: 0 12px;
  margin-bottom: 8px;
}
.layer0ae24-case summary {
  min-height: var(--layer0ae24-tap);
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  list-style: none;
  font-family: var(--layer0ae24-font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--layer0ae24-wheat);
}
.layer0ae24-case summary::-webkit-details-marker { display: none; }
.layer0ae24-case summary::after {
  content: "+";
  margin-left: auto;
  font-size: 18px;
  color: var(--layer0ae24-choco);
  flex: none;
  transition: transform 0.18s ease;
}
.layer0ae24-case[open] summary::after { transform: rotate(45deg); }
.layer0ae24-case[open] summary { color: var(--layer0ae24-mint); }
.layer0ae24-case-body {
  padding: 0 0 12px;
  font-size: 12.8px;
  color: rgba(245, 222, 179, 0.8);
}
.layer0ae24-case-body p { margin-bottom: 8px; }

/* Body links inside copy */
.layer0ae24-copy a {
  color: var(--layer0ae24-mint);
  border-bottom: 1px dotted rgba(232, 245, 232, 0.5);
  padding-bottom: 1px;
}
.layer0ae24-copy a:hover { border-bottom-style: solid; }
.layer0ae24-copy { font-size: 13px; color: rgba(245, 222, 179, 0.82); }
.layer0ae24-copy p { margin-bottom: 11px; }

/* ---------- Extended footer (home only) ---------- */
.layer0ae24-xfoot {
  margin: 22px 10px 0;
  border: 1px solid var(--layer0ae24-line);
  border-radius: var(--layer0ae24-r-card);
  overflow: hidden;
  background: rgba(69, 69, 69, 0.35);
}
.layer0ae24-xfoot-brand {
  padding: 14px 13px 12px;
  border-bottom: 1px solid var(--layer0ae24-line-soft);
}
.layer0ae24-xfoot-brand h2 { font-size: 16px; margin-bottom: 6px; }
.layer0ae24-xfoot-brand p {
  font-size: 12px;
  color: rgba(245, 222, 179, 0.72);
}

.layer0ae24-xfoot-block-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--layer0ae24-taupe);
  padding: 13px 13px 8px;
}

.layer0ae24-xfoot-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 0 13px 13px;
}
.layer0ae24-xfoot-promos .layer0ae24-btn {
  width: 100%;
  min-height: 42px;
  font-size: 11.5px;
  padding: 8px 6px;
  letter-spacing: 0.02em;
}

.layer0ae24-xfoot-dir {
  columns: 2;
  column-gap: 12px;
  padding: 0 13px 13px;
}
.layer0ae24-xfoot-dir a {
  display: block;
  break-inside: avoid;
  font-size: 12px;
  line-height: 1.25;
  color: rgba(245, 222, 179, 0.85);
  padding: 7px 0 7px 12px;
  position: relative;
  border-bottom: 1px dashed var(--layer0ae24-line-soft);
}
.layer0ae24-xfoot-dir a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: var(--layer0ae24-choco);
}
.layer0ae24-xfoot-dir a:hover { color: var(--layer0ae24-mint); }

.layer0ae24-xfoot-note {
  padding: 11px 13px 13px;
  border-top: 1px solid var(--layer0ae24-line-soft);
  background: rgba(43, 43, 43, 0.5);
  font-size: 11px;
  line-height: 1.5;
  color: rgba(245, 222, 179, 0.6);
}

/* ---------- Common footer ---------- */
.layer0ae24-footer {
  margin-top: 20px;
  padding: 16px 14px 10px;
  border-top: 1px solid var(--layer0ae24-line-soft);
  text-align: center;
}
.layer0ae24-footer p {
  font-size: 11.5px;
  color: rgba(245, 222, 179, 0.6);
}

/* ---------- Floating bottom dock ---------- */
.layer0ae24-dock {
  position: fixed;
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 45;
  width: min(430px, calc(100vw - 16px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 6px;
  border-radius: 17px;
  background: rgba(43, 43, 43, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 115, 85, 0.5);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}
.layer0ae24-dock-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 5px 2px;
  border-radius: 12px;
  color: rgba(245, 222, 179, 0.72);
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.13s var(--layer0ae24-ease);
}
.layer0ae24-dock-btn:active { transform: scale(0.9); }
.layer0ae24-dock-btn svg {
  width: 21px;
  height: 21px;
  flex: none;
}
.layer0ae24-dock-btn em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}
.layer0ae24-dock-btn.is-active {
  background: var(--layer0ae24-choco-soft); /* backed block for current page */
  color: var(--layer0ae24-wheat);
  box-shadow: inset 0 0 0 1px rgba(210, 105, 30, 0.4);
}

/* ---------- Restrained reveal (JS-gated) ---------- */
.layer0ae24-js .layer0ae24-reveal {
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.layer0ae24-js .layer0ae24-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Small screens ---------- */
@media (max-width: 339px) {
  .layer0ae24-hero h1 { font-size: 21px; }
  .layer0ae24-grid { gap: 5px; }
  .layer0ae24-gtile { padding: 4px 3px 5px; }
  .layer0ae24-gtile-name { font-size: 9.5px; }
  .layer0ae24-cat-tiles { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .layer0ae24-show-track { transition: none; }
  .layer0ae24-js .layer0ae24-reveal { opacity: 1; transform: none; }
}
