/* ============================================================
   pla6.click - adaptive-756f3e-layers.css
   Mobile-first casino lobby stylesheet (320-430px phone canvas,
   centered canvas on wide screens).
   Class prefix: c56f3e-  |  Palette: coffee browns + dark orange
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --c56f3e-void: #17110c;
  --c56f3e-bg: #241c15;
  --c56f3e-bg-deep: #1e1710;
  --c56f3e-surface: #33271c;
  --c56f3e-surface-2: #3f2f22;
  --c56f3e-line: #57432f;
  --c56f3e-line-soft: #493723;
  --c56f3e-text: #f3e8d8;
  --c56f3e-text-soft: #eaddc9;
  --c56f3e-muted: #c9b096;
  --c56f3e-accent: #ff8c00;
  --c56f3e-accent-hi: #ffb05c;
  --c56f3e-clay: #a0522d;
  --c56f3e-coffee: #6f4e37;
  --c56f3e-taupe: #8b7355;
  --c56f3e-ink: #333333;
  --c56f3e-radius: 12px;
  --c56f3e-radius-sm: 9px;
  --c56f3e-font-display: "Bahnschrift", "DIN Alternate", "Franklin Gothic Medium", "Arial Narrow", system-ui, sans-serif;
  --c56f3e-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --c56f3e-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, Menlo, monospace;
  --c56f3e-head-h: 92px;
  --c56f3e-rail-h: 66px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html {
  background: var(--c56f3e-void);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  max-width: 430px;
  min-height: 100vh;
  background:
    radial-gradient(120% 52% at 50% 0%, rgba(160, 82, 45, 0.16), transparent 62%),
    var(--c56f3e-bg);
  color: var(--c56f3e-text-soft);
  font-family: var(--c56f3e-font-body);
  font-size: 14.5px;
  line-height: 1.6;
  padding-top: calc(var(--c56f3e-head-h) + 8px);
  padding-bottom: calc(var(--c56f3e-rail-h) + 26px + env(safe-area-inset-bottom));
  position: relative;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(255, 140, 0, 0.18);
}
a { color: var(--c56f3e-accent); }
::selection { background: var(--c56f3e-accent); color: var(--c56f3e-void); }
:focus-visible {
  outline: 2px solid var(--c56f3e-accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.c56f3e-locked { overflow: hidden; }

/* Wide screens: keep the centered phone canvas visible */
@media (min-width: 480px) {
  body {
    border-inline: 1px solid var(--c56f3e-line-soft);
    box-shadow: 0 0 46px rgba(0, 0, 0, 0.55);
    min-height: 100vh;
  }
}

/* Skip link */
.c56f3e-skip {
  position: absolute;
  top: -48px;
  left: 10px;
  z-index: 120;
  background: var(--c56f3e-accent);
  color: var(--c56f3e-void);
  font-family: var(--c56f3e-font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.c56f3e-skip:focus { top: 8px; }

/* ---------- Header: tab-style top bar ---------- */
.c56f3e-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 40;
  background: rgba(30, 23, 16, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c56f3e-line);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

/* Brand row - logo image + site name only */
.c56f3e-brandbar {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(63, 47, 34, 0.55), rgba(36, 28, 21, 0));
}
.c56f3e-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--c56f3e-text);
}
.c56f3e-logo {
  height: 34px;
  width: auto;
  border-radius: 8px;
  border: 1px solid var(--c56f3e-line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.c56f3e-brandname {
  font-family: var(--c56f3e-font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--c56f3e-text);
}
.c56f3e-brandname::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--c56f3e-accent);
  vertical-align: 2px;
}

/* Top action area (outside brand) */
.c56f3e-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}
.c56f3e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.c56f3e-btn svg { width: 14px; height: 14px; }
.c56f3e-btn--reg {
  background: linear-gradient(135deg, var(--c56f3e-accent), var(--c56f3e-clay));
  color: #241405;
  box-shadow: 0 3px 10px rgba(255, 140, 0, 0.3);
}
.c56f3e-btn--reg:active { transform: scale(0.94); box-shadow: 0 1px 4px rgba(255, 140, 0, 0.3); }
.c56f3e-btn--log {
  border: 1px solid var(--c56f3e-line);
  color: var(--c56f3e-text);
  background: rgba(51, 39, 28, 0.5);
}
.c56f3e-btn--log:active { transform: scale(0.94); background: var(--c56f3e-surface); }
.c56f3e-menubtn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--c56f3e-line-soft);
  color: var(--c56f3e-accent);
  background: rgba(51, 39, 28, 0.4);
}
.c56f3e-menubtn svg { width: 20px; height: 20px; }
.c56f3e-menubtn:active { transform: scale(0.92); }

/* Tab strip */
.c56f3e-tabs {
  display: flex;
  gap: 4px;
  padding: 0 8px;
  background: rgba(36, 28, 21, 0.6);
  border-top: 1px solid var(--c56f3e-line-soft);
  overflow-x: auto;
  scrollbar-width: none;
}
.c56f3e-tabs::-webkit-scrollbar { display: none; }
.c56f3e-tab {
  flex: none;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  font-family: var(--c56f3e-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c56f3e-muted);
  text-decoration: none;
  border-radius: 9px 9px 0 0;
  position: relative;
  transition: color 0.15s ease, transform 0.15s ease;
}
.c56f3e-tab::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
  transition: background 0.15s ease;
}
.c56f3e-tab.is-active {
  color: var(--c56f3e-accent);
  transform: translateY(-1px); /* slight lift for the active tab */
}
.c56f3e-tab.is-active::after { background: var(--c56f3e-accent); }

/* ---------- Side drawer + scrim ---------- */
.c56f3e-fixedwrap {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 430px;
  pointer-events: none;
  z-index: 70;
}
.c56f3e-scrim {
  position: absolute;
  inset: 0;
  background: rgba(12, 8, 5, 0.66);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.c56f3e-scrim.is-open { opacity: 1; pointer-events: auto; }
.c56f3e-drawer {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(84%, 312px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #2e2318, #241b12);
  border-left: 1px solid var(--c56f3e-line);
  box-shadow: -14px 0 34px rgba(0, 0, 0, 0.5);
  transform: translateX(103%);
  transition: transform 0.28s ease;
  pointer-events: auto;
}
.c56f3e-drawer.is-open { transform: none; }
.c56f3e-drawer__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--c56f3e-line-soft);
}
.c56f3e-drawer__title {
  margin: 0;
  font-family: var(--c56f3e-font-display);
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--c56f3e-text);
}
.c56f3e-drawer__title span { color: var(--c56f3e-accent); }
.c56f3e-drawer__close {
  margin-left: auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--c56f3e-line-soft);
  color: var(--c56f3e-muted);
}
.c56f3e-drawer__close svg { width: 18px; height: 18px; }
.c56f3e-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 12px 20px;
  overscroll-behavior: contain;
}
.c56f3e-drawer__cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 6px;
}
.c56f3e-drawer__cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}
.c56f3e-drawer__cta svg { width: 15px; height: 15px; }
.c56f3e-drawer__cta--reg {
  background: linear-gradient(135deg, var(--c56f3e-accent), var(--c56f3e-clay));
  color: #241405;
}
.c56f3e-drawer__cta--log {
  border: 1px solid var(--c56f3e-line);
  color: var(--c56f3e-text);
}
.c56f3e-drawer__group { margin-top: 16px; }
.c56f3e-drawer__label {
  margin: 0 0 4px;
  font-family: var(--c56f3e-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c56f3e-taupe);
}
.c56f3e-drawer__link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 10px;
  border-radius: 10px;
  color: var(--c56f3e-text-soft);
  text-decoration: none;
  font-size: 14px;
  opacity: 0;
  transform: translateX(12px);
}
.c56f3e-drawer__link svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--c56f3e-accent);
}
.c56f3e-drawer__link.is-active {
  background: var(--c56f3e-surface);
  color: var(--c56f3e-accent-hi);
  font-weight: 700;
}
/* Label reveal: labels slide in as the drawer opens */
.c56f3e-drawer.is-open .c56f3e-drawer__link {
  animation: c56f3e-label-in 0.32s ease forwards;
}
.c56f3e-drawer.is-open .c56f3e-drawer__link:nth-child(1) { animation-delay: 0.05s; }
.c56f3e-drawer.is-open .c56f3e-drawer__link:nth-child(2) { animation-delay: 0.1s; }
.c56f3e-drawer.is-open .c56f3e-drawer__link:nth-child(3) { animation-delay: 0.15s; }
.c56f3e-drawer.is-open .c56f3e-drawer__link:nth-child(4) { animation-delay: 0.2s; }
.c56f3e-drawer.is-open .c56f3e-drawer__link:nth-child(5) { animation-delay: 0.25s; }
@keyframes c56f3e-label-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Main column ---------- */
.c56f3e-main { padding: 4px 0 8px; }

/* ---------- Hero carousel ---------- */
.c56f3e-hero {
  position: relative;
  margin: 8px 10px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--c56f3e-line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  background: var(--c56f3e-surface);
}
.c56f3e-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.c56f3e-track::-webkit-scrollbar { display: none; }
.c56f3e-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  position: relative;
  text-align: left;
}
.c56f3e-slide__img {
  width: 100%;
  aspect-ratio: 2.35 / 1;
  object-fit: cover;
}
.c56f3e-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(23, 17, 12, 0.28) 0%, transparent 30%, transparent 58%, rgba(23, 17, 12, 0.62) 100%);
}
.c56f3e-slide__cap {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  max-width: 72%;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 140, 0, 0.4);
  background: rgba(23, 17, 12, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-size: 12px;
  line-height: 1.3;
  color: var(--c56f3e-text-soft);
}
.c56f3e-slide__cap b { color: var(--c56f3e-accent); font-weight: 700; }
.c56f3e-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 2px;
  padding: 2px;
}
.c56f3e-dot {
  min-width: 44px;
  height: 36px;
  display: grid;
  place-items: center;
}
.c56f3e-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(243, 232, 216, 0.42);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
  transition: width 0.2s ease, background 0.2s ease;
}
.c56f3e-dot.is-on::before {
  width: 22px;
  background: var(--c56f3e-accent);
}

/* ---------- Intro block ---------- */
.c56f3e-intro { padding: 18px 14px 4px; }
.c56f3e-h1 {
  margin: 0 0 10px;
  font-family: var(--c56f3e-font-display);
  font-size: clamp(21px, 6.4vw, 25px);
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--c56f3e-text);
}
.c56f3e-h1 em {
  font-style: normal;
  color: var(--c56f3e-accent);
}
.c56f3e-lede {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.66;
  color: var(--c56f3e-text-soft);
}
.c56f3e-lede a, .c56f3e-prose a {
  color: var(--c56f3e-accent-hi);
  text-decoration: underline;
  text-decoration-color: rgba(255, 140, 0, 0.45);
  text-underline-offset: 3px;
  font-weight: 600;
}
.c56f3e-facts {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.c56f3e-facts li {
  background: linear-gradient(180deg, var(--c56f3e-surface), rgba(51, 39, 28, 0.55));
  border: 1px solid var(--c56f3e-line-soft);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--c56f3e-text-soft);
}
.c56f3e-facts b {
  display: block;
  font-family: var(--c56f3e-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c56f3e-accent-hi);
  margin-bottom: 2px;
}

/* ---------- Jump chips ---------- */
.c56f3e-chips {
  display: flex;
  gap: 8px;
  padding: 14px 10px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.c56f3e-chips::-webkit-scrollbar { display: none; }
.c56f3e-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 11px 15px;
  border-radius: 999px;
  border: 1px solid var(--c56f3e-line);
  background: var(--c56f3e-surface);
  color: var(--c56f3e-muted);
  font-family: var(--c56f3e-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.c56f3e-chip:active { color: var(--c56f3e-accent); }
.c56f3e-chip--real {
  border-color: rgba(255, 140, 0, 0.55);
  color: var(--c56f3e-accent);
}

/* ---------- Sections ---------- */
.c56f3e-section { padding: 20px 12px 4px; }
.c56f3e-kicker {
  margin: 0 0 5px;
  font-family: var(--c56f3e-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c56f3e-accent);
}
.c56f3e-h2 {
  margin: 0 0 8px;
  font-family: var(--c56f3e-font-display);
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--c56f3e-text);
}
.c56f3e-brief {
  margin: 0 0 10px;
  padding: 9px 11px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--c56f3e-text-soft);
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.14), rgba(51, 39, 28, 0.25));
  border-left: 3px solid var(--c56f3e-accent);
  border-radius: 0 var(--c56f3e-radius-sm) var(--c56f3e-radius-sm) 0;
}
.c56f3e-prose { margin: 0 0 4px; }
.c56f3e-prose p { margin: 0 0 10px; font-size: 13.8px; line-height: 1.66; }

/* ---------- Game grid + cards ---------- */
.c56f3e-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}
.c56f3e-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: var(--c56f3e-surface);
  border: 1px solid var(--c56f3e-line-soft);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.c56f3e-card:active {
  transform: scale(0.94);
  border-color: var(--c56f3e-accent);
}
.c56f3e-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--c56f3e-bg-deep);
}
.c56f3e-card__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 5px 5px 6px;
  min-height: 38px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.28;
  text-align: center;
  color: var(--c56f3e-text);
  background: linear-gradient(180deg, rgba(160, 82, 45, 0.28), rgba(36, 28, 21, 0.85));
  border-top: 1px solid rgba(87, 67, 47, 0.7);
}

/* Verdict line that follows a game grid */
.c56f3e-aftergrid { margin-top: 12px; }

/* ---------- Expandable details (fact-then-expand rhythm) ---------- */
.c56f3e-details {
  border: 1px solid var(--c56f3e-line-soft);
  border-radius: var(--c56f3e-radius-sm);
  background: var(--c56f3e-surface);
  margin: 9px 0;
}
.c56f3e-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c56f3e-text);
}
.c56f3e-details summary::-webkit-details-marker { display: none; }
.c56f3e-details summary::before {
  content: "+";
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  font-family: var(--c56f3e-font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--c56f3e-accent);
  border: 1px solid rgba(255, 140, 0, 0.4);
}
.c56f3e-details[open] summary::before { content: "\2013"; }
.c56f3e-details__body {
  padding: 0 12px 12px;
  font-size: 13.5px;
  line-height: 1.62;
  color: #e4d5bf;
}
.c56f3e-details__body p { margin: 0 0 8px; }
.c56f3e-details__body p:last-child { margin: 0; }

/* ---------- Numbered steps ---------- */
.c56f3e-steps {
  margin: 10px 0 6px;
  padding-left: 0;
  list-style: none;
  counter-reset: c56f3e-step;
  display: grid;
  gap: 8px;
}
.c56f3e-steps li {
  counter-increment: c56f3e-step;
  position: relative;
  padding: 10px 12px 10px 44px;
  background: var(--c56f3e-surface);
  border: 1px solid var(--c56f3e-line-soft);
  border-radius: var(--c56f3e-radius-sm);
  font-size: 13.5px;
  line-height: 1.55;
}
.c56f3e-steps li::before {
  content: counter(c56f3e-step, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 11px;
  font-family: var(--c56f3e-font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--c56f3e-accent);
}

/* ---------- Comparison rows / glossary rows ---------- */
.c56f3e-compare, .c56f3e-terms {
  display: grid;
  gap: 8px;
  margin: 10px 0 6px;
}
.c56f3e-crow {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  background: var(--c56f3e-surface);
  border: 1px solid var(--c56f3e-line-soft);
  border-radius: var(--c56f3e-radius-sm);
  padding: 10px 11px;
}
.c56f3e-crow__term {
  font-family: var(--c56f3e-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c56f3e-accent-hi);
  padding-top: 2px;
}
.c56f3e-crow__txt {
  font-size: 13.2px;
  line-height: 1.58;
  color: #e6d7c1;
}

/* ---------- Extended footer (homepage shortcut deck) ---------- */
.c56f3e-extfoot {
  margin-top: 26px;
  padding: 18px 12px 10px;
  border-top: 1px solid var(--c56f3e-line);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(255, 140, 0, 0.07), transparent 70%),
    var(--c56f3e-bg-deep);
}
.c56f3e-extbrand {
  margin: 8px 0 4px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--c56f3e-text-soft);
}
.c56f3e-shortslabel {
  margin: 16px 0 6px;
  font-family: var(--c56f3e-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c56f3e-taupe);
}
.c56f3e-shortcuts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: none;
}
.c56f3e-shortcuts::-webkit-scrollbar { display: none; }
.c56f3e-shortcut {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 15px;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--c56f3e-line);
  background: var(--c56f3e-surface-2);
  color: var(--c56f3e-text);
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.c56f3e-shortcut svg { width: 16px; height: 16px; color: var(--c56f3e-accent); }
.c56f3e-shortcut:active { transform: scale(0.94); border-color: var(--c56f3e-accent); }
.c56f3e-shortcut--hot {
  background: linear-gradient(135deg, var(--c56f3e-accent), var(--c56f3e-clay));
  border-color: transparent;
  color: #241405;
}
.c56f3e-shortcut--hot svg { color: #241405; }
.c56f3e-directory { margin-top: 6px; }
.c56f3e-dirgroup__label {
  margin: 14px 0 2px;
  font-family: var(--c56f3e-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c56f3e-taupe);
}
.c56f3e-dirlink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 6px;
  border-bottom: 1px solid var(--c56f3e-line-soft);
  color: var(--c56f3e-text-soft);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.14s ease;
}
.c56f3e-dirlink:active { color: var(--c56f3e-accent); }
.c56f3e-dirlink svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--c56f3e-accent);
}
.c56f3e-note {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--c56f3e-line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--c56f3e-muted);
}

/* ---------- Common footer ---------- */
.c56f3e-footer {
  padding: 16px 12px 8px;
  text-align: center;
}
.c56f3e-copy {
  margin: 0;
  font-family: var(--c56f3e-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--c56f3e-muted);
}

/* ---------- Mobile bottom nav rail ---------- */
.c56f3e-navrail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  background: rgba(30, 23, 16, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--c56f3e-line);
}
.c56f3e-railitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 5px 2px;
  border-radius: 11px;
  color: var(--c56f3e-muted);
  text-decoration: none;
  transition: transform 0.18s ease, color 0.18s ease;
}
.c56f3e-railitem svg { width: 21px; height: 21px; }
.c56f3e-raillabel {
  font-family: var(--c56f3e-font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.82;
}
.c56f3e-railitem.is-active {
  color: var(--c56f3e-accent);
  transform: translateY(-3px); /* slight lift on the active role */
  background: linear-gradient(180deg, rgba(255, 140, 0, 0.12), transparent);
}
.c56f3e-railitem.is-active .c56f3e-raillabel { opacity: 1; }
.c56f3e-railitem:active { transform: translateY(-3px); }

/* ---------- Canvas width steps ---------- */
@media (min-width: 390px) {
  .c56f3e-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .c56f3e-card__name { font-size: 11px; }
  .c56f3e-h2 { font-size: 20px; }
}
@media (min-width: 430px) {
  body { font-size: 15px; }
  .c56f3e-slide__cap { font-size: 12.5px; }
  .c56f3e-prose p { font-size: 14.2px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
