/* ==========================================================================
   ok777.homes - palette-responsive-0286d6.css
   Mobile-first casino deck: deep brown shell, copper rails, lavender text.
   Every class and variable is namespaced with the shell6d603- prefix.
   Canvas: 320-430px phone layout, centered phone frame on wide screens.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --shell6d603-ink: #120c06;          /* deepest shell, page edge */
  --shell6d603-bg: #241a10;           /* main canvas background */
  --shell6d603-panel: #2d2013;        /* raised panel */
  --shell6d603-panel-2: #382817;      /* hover / nested panel */
  --shell6d603-line: #4d3820;         /* strong border, copper-brown */
  --shell6d603-line-soft: #3b2c19;    /* quiet separator */
  --shell6d603-copper: #8b4513;       /* brand copper (primary action) */
  --shell6d603-copper-hi: #b0621e;    /* hover copper */
  --shell6d603-copper-glow: #e5943f;  /* small highlight numerals */
  --shell6d603-lav: #e6e6fa;          /* primary lavender text */
  --shell6d603-lav-dim: #b7b1da;      /* secondary text */
  --shell6d603-lav-faint: #8c85b4;    /* muted labels */
  --shell6d603-steel: #3a3a3a;        /* neutral slate panel */
  --shell6d603-steel-soft: #2f2f2f;   /* neutral slate well */
  --shell6d603-good: #8fd08f;         /* positive accent (sparse) */

  --shell6d603-radius: 5px;
  --shell6d603-radius-lg: 10px;

  --shell6d603-font-head: "Bahnschrift", "Segoe UI Semibold", "Segoe UI", system-ui, sans-serif;
  --shell6d603-font-mono: "Cascadia Mono", Consolas, "Roboto Mono", ui-monospace, monospace;
  --shell6d603-font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --shell6d603-topbar-h: 56px;
  --shell6d603-tabbar-h: 64px;
  --shell6d603-canvas-w: 464px;
}

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

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

body {
  margin: 0;
  background: var(--shell6d603-ink);
  color: var(--shell6d603-lav);
  font-family: var(--shell6d603-font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--shell6d603-copper-glow); text-decoration: none; }
a:active { opacity: 0.85; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--shell6d603-copper-glow);
  outline-offset: 2px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   3. Phone canvas + wide screen framing
   -------------------------------------------------------------------------- */
.shell6d603-canvas {
  position: relative;
  width: 100%;
  max-width: var(--shell6d603-canvas-w);
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--shell6d603-bg);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

@media (min-width: 520px) {
  .shell6d603-canvas {
    border-left: 1px solid var(--shell6d603-line-soft);
    border-right: 1px solid var(--shell6d603-line-soft);
  }
}

/* Skip link */
.shell6d603-skip {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 120;
  padding: 8px 14px;
  background: var(--shell6d603-copper);
  color: #fff;
  font-size: 12px;
  border-radius: var(--shell6d603-radius);
  transition: top 0.18s ease;
}
.shell6d603-skip:focus { top: 8px; }

/* Main column keeps clear of fixed bars */
.shell6d603-main {
  padding: calc(var(--shell6d603-topbar-h) + 10px) 12px
           calc(var(--shell6d603-tabbar-h) + 26px + env(safe-area-inset-bottom));
}

/* Shared section rhythm */
.shell6d603-sec { margin-top: 26px; }
.shell6d603-sec:first-child { margin-top: 12px; }

/* --------------------------------------------------------------------------
   4. Fixed top bar - asymmetric brand header
   -------------------------------------------------------------------------- */
.shell6d603-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell6d603-canvas-w);
  height: var(--shell6d603-topbar-h);
  z-index: 90;
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 0 10px 0 0;
  background: linear-gradient(180deg, #2b1f12 0%, #241a10 100%);
  border-bottom: 1px solid var(--shell6d603-line);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

/* copper rail strip on the far left of the header */
.shell6d603-topbar::before {
  content: "";
  width: 6px;
  flex: none;
  background: linear-gradient(180deg, var(--shell6d603-copper-hi), var(--shell6d603-copper));
}

.shell6d603-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding-left: 8px;
}

.shell6d603-brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--shell6d603-line);
  background: var(--shell6d603-panel-2);
  flex: none;
}

.shell6d603-brand-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.12;
}

.shell6d603-brand-name b {
  font-family: var(--shell6d603-font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--shell6d603-lav);
  white-space: nowrap;
}

.shell6d603-brand-name i {
  font-family: var(--shell6d603-font-mono);
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.34em;
  color: var(--shell6d603-lav-faint);
  text-transform: uppercase;
  white-space: nowrap;
}

.shell6d603-topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Header action buttons: compact icon-text CTAs */
.shell6d603-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 7px 11px;
  border-radius: var(--shell6d603-radius);
  font-family: var(--shell6d603-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
}
.shell6d603-btn:active { transform: scale(0.95); }

.shell6d603-btn-join {
  background: linear-gradient(180deg, var(--shell6d603-copper-hi), var(--shell6d603-copper));
  color: #fff7ea;
  box-shadow: 0 2px 0 #5c2d0c;
}
.shell6d603-btn-join:visited { color: #fff7ea; }

.shell6d603-btn-in {
  border: 1px solid var(--shell6d603-line);
  color: var(--shell6d603-lav);
  background: var(--shell6d603-panel);
}
.shell6d603-btn-in:visited { color: var(--shell6d603-lav); }

.shell6d603-burger {
  width: 38px;
  height: 36px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--shell6d603-line);
  border-radius: var(--shell6d603-radius);
  background: var(--shell6d603-panel);
  flex: none;
}
.shell6d603-burger span {
  width: 16px;
  height: 2px;
  background: var(--shell6d603-lav);
  border-radius: 1px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.shell6d603-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.shell6d603-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.shell6d603-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Side drawer menu
   -------------------------------------------------------------------------- */
.shell6d603-scrim {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(10, 6, 3, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.shell6d603-scrim.on { opacity: 1; visibility: visible; }

.shell6d603-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: max(0px, calc(50% - var(--shell6d603-canvas-w) / 2));
  z-index: 100;
  width: min(82vw, 316px);
  background: #1d1409;
  border-left: 1px solid var(--shell6d603-line);
  transform: translateX(102%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
}
.shell6d603-drawer.on { transform: translateX(0); }

.shell6d603-drawer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--shell6d603-line-soft);
}
.shell6d603-drawer-head img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  border: 1px solid var(--shell6d603-line);
}
.shell6d603-drawer-head b {
  font-family: var(--shell6d603-font-head);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.shell6d603-drawer-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--shell6d603-line);
  border-radius: var(--shell6d603-radius);
  color: var(--shell6d603-lav-dim);
  font-family: var(--shell6d603-font-mono);
  font-size: 14px;
  line-height: 1;
}

.shell6d603-drawer-group { padding: 12px 14px 4px; }

.shell6d603-drawer-kicker {
  font-family: var(--shell6d603-font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--shell6d603-lav-faint);
  margin-bottom: 6px;
}

.shell6d603-drawer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 10px;
  border-radius: var(--shell6d603-radius);
  color: var(--shell6d603-lav-dim);
  font-size: 13.5px;
  border-left: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.shell6d603-drawer-link:visited { color: var(--shell6d603-lav-dim); }
.shell6d603-drawer-link:hover,
.shell6d603-drawer-link:focus-visible { background: var(--shell6d603-panel); color: var(--shell6d603-lav); }
.shell6d603-drawer-link em {
  font-style: normal;
  font-family: var(--shell6d603-font-mono);
  font-size: 11px;
  color: var(--shell6d603-copper-glow);
  margin-left: auto;
}
.shell6d603-drawer-link.here {
  border-left-color: var(--shell6d603-copper-glow);
  background: var(--shell6d603-panel);
  color: var(--shell6d603-lav);
}

.shell6d603-drawer-cta {
  margin: 14px 14px 4px;
  display: grid;
  gap: 8px;
}
.shell6d603-drawer-cta .shell6d603-btn { min-height: 44px; }

/* body scroll lock while drawer is open */
.shell6d603-noscroll { overflow: hidden; }

/* --------------------------------------------------------------------------
   6. Hero carousel
   -------------------------------------------------------------------------- */
.shell6d603-hero {
  position: relative;
  border: 1px solid var(--shell6d603-line);
  border-radius: var(--shell6d603-radius-lg);
  overflow: hidden;
  background: var(--shell6d603-panel);
  touch-action: pan-y;
}

.shell6d603-hero-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.33, 0.9, 0.3, 1);
}
.shell6d603-hero.no-motion .shell6d603-hero-track { transition: none; }

.shell6d603-hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  display: block;
}
.shell6d603-hero-slide img {
  width: 100%;
  aspect-ratio: 25 / 14;
  object-fit: cover;
}

.shell6d603-hero-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 20px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(18, 12, 6, 0.82);
  border: 1px solid var(--shell6d603-line);
  border-left: 3px solid var(--shell6d603-copper-glow);
  border-radius: var(--shell6d603-radius);
  font-family: var(--shell6d603-font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--shell6d603-lav);
  line-height: 1.35;
}

.shell6d603-hero-dots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 5px;
}
.shell6d603-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--shell6d603-lav-faint);
  opacity: 0.55;
  transition: width 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}
.shell6d603-hero-dot.on {
  width: 18px;
  background: var(--shell6d603-copper-glow);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   7. Jump rail (category chips with sliding ink)
   -------------------------------------------------------------------------- */
.shell6d603-rail {
  position: sticky;
  top: var(--shell6d603-topbar-h);
  z-index: 60;
  margin: 12px calc(-12px) 0;
  padding: 7px 12px 6px;
  background: linear-gradient(180deg, rgba(36, 26, 16, 0.97) 70%, rgba(36, 26, 16, 0.88));
  border-bottom: 1px solid var(--shell6d603-line-soft);
  overflow-x: auto;
  scrollbar-width: none;
}
.shell6d603-rail::-webkit-scrollbar { display: none; }

.shell6d603-rail-row {
  position: relative;
  display: flex;
  gap: 6px;
  width: max-content;
  min-width: 100%;
}

.shell6d603-rail-chip {
  min-height: 34px;
  padding: 7px 12px 9px;
  border-radius: var(--shell6d603-radius) var(--shell6d603-radius) 0 0;
  font-family: var(--shell6d603-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shell6d603-lav-faint);
  white-space: nowrap;
  border: 1px solid transparent;
  border-bottom: 0;
  transition: color 0.16s ease;
}
.shell6d603-rail-chip:visited { color: var(--shell6d603-lav-faint); }
.shell6d603-rail-chip.on { color: var(--shell6d603-lav); }

.shell6d603-rail-ink {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 52px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, var(--shell6d603-copper-glow), var(--shell6d603-copper));
  transition: transform 0.26s cubic-bezier(0.4, 0.8, 0.3, 1), width 0.26s cubic-bezier(0.4, 0.8, 0.3, 1);
}

/* --------------------------------------------------------------------------
   8. Intro block
   -------------------------------------------------------------------------- */
.shell6d603-intro { margin-top: 16px; }

.shell6d603-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--shell6d603-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--shell6d603-copper-glow);
  margin-bottom: 7px;
}
.shell6d603-kicker::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--shell6d603-copper);
}

.shell6d603-h1 {
  font-family: var(--shell6d603-font-head);
  font-size: 23px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.015em;
  color: var(--shell6d603-lav);
}

.shell6d603-lede {
  margin-top: 9px;
  font-size: 13.5px;
  color: var(--shell6d603-lav-dim);
}

.shell6d603-lede a, .shell6d603-note a, .shell6d603-body-copy a {
  color: var(--shell6d603-copper-glow);
  border-bottom: 1px dotted var(--shell6d603-copper);
}
.shell6d603-lede a:visited, .shell6d603-note a:visited, .shell6d603-body-copy a:visited {
  color: var(--shell6d603-copper-glow);
}

/* access strip under intro: compact horizontal facts */
.shell6d603-facts {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.shell6d603-fact {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 7px 9px;
  background: var(--shell6d603-panel);
  border: 1px solid var(--shell6d603-line-soft);
  border-radius: var(--shell6d603-radius);
  font-family: var(--shell6d603-font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--shell6d603-lav-dim);
  line-height: 1.4;
}
.shell6d603-fact::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--shell6d603-copper-glow);
}

/* --------------------------------------------------------------------------
   9. Section head + game grid
   -------------------------------------------------------------------------- */
.shell6d603-sec-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--shell6d603-line-soft);
  position: relative;
}
.shell6d603-sec-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 2px;
  background: var(--shell6d603-copper-glow);
}

.shell6d603-h2 {
  font-family: var(--shell6d603-font-head);
  font-size: 17.5px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--shell6d603-lav);
  flex: 1 1 auto;
  min-width: 160px;
}

.shell6d603-sec-tag {
  font-family: var(--shell6d603-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--shell6d603-lav-faint);
  border: 1px solid var(--shell6d603-line-soft);
  border-radius: 3px;
  padding: 3px 7px;
  white-space: nowrap;
}

.shell6d603-note {
  margin: 9px 0 4px;
  font-size: 12.5px;
  color: var(--shell6d603-lav-dim);
}

.shell6d603-sec-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 8px 0 10px;
}
.shell6d603-sec-links a {
  font-family: var(--shell6d603-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--shell6d603-copper-glow);
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}
.shell6d603-sec-links a:visited { color: var(--shell6d603-copper-glow); }
.shell6d603-sec-links a::before { content: "\2192\00a0"; color: var(--shell6d603-lav-faint); }

/* game grid: pure image cards, short name below */
.shell6d603-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 6px;
}

.shell6d603-gcard {
  display: block;
  min-width: 0;
  text-align: center;
  border-radius: var(--shell6d603-radius);
  transition: transform 0.12s ease;
}
.shell6d603-gcard:active { transform: scale(0.94); }

.shell6d603-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shell6d603-radius);
  border: 1px solid var(--shell6d603-line-soft);
  background: var(--shell6d603-panel);
  transition: border-color 0.18s ease;
}
.shell6d603-gcard:hover img,
.shell6d603-gcard:focus-visible img { border-color: var(--shell6d603-copper-hi); }

.shell6d603-gcard span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
  font-size: 10.5px;
  line-height: 1.32;
  color: var(--shell6d603-lav-dim);
  overflow-wrap: anywhere;
}
.shell6d603-gcard:hover span, .shell6d603-gcard:focus-visible span { color: var(--shell6d603-lav); }

@media (min-width: 375px) {
  .shell6d603-grid { gap: 12px 8px; }
  .shell6d603-gcard span { font-size: 11px; }
}

@media (min-width: 430px) {
  .shell6d603-grid { grid-template-columns: repeat(5, 1fr); }
  .shell6d603-gcard span { font-size: 11.5px; }
}

/* --------------------------------------------------------------------------
   10. Content modules
   -------------------------------------------------------------------------- */
.shell6d603-module {
  margin-top: 26px;
  padding: 14px 12px;
  background: var(--shell6d603-panel);
  border: 1px solid var(--shell6d603-line-soft);
  border-radius: var(--shell6d603-radius-lg);
}
.shell6d603-module > .shell6d603-sec-head { margin-bottom: 4px; }

.shell6d603-body-copy {
  margin-top: 9px;
  font-size: 13px;
  color: var(--shell6d603-lav-dim);
}
.shell6d603-body-copy + .shell6d603-body-copy { margin-top: 8px; }
.shell6d603-body-copy strong { color: var(--shell6d603-lav); font-weight: 600; }

/* compact info tiles (payment conditions, etc.) */
.shell6d603-tiles {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.shell6d603-tile {
  padding: 9px 9px 8px;
  background: var(--shell6d603-steel-soft);
  border: 1px solid #464646;
  border-radius: var(--shell6d603-radius);
}
.shell6d603-tile b {
  display: block;
  font-family: var(--shell6d603-font-head);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--shell6d603-lav);
  margin-bottom: 3px;
}
.shell6d603-tile p {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--shell6d603-lav-dim);
}

/* comparison rows (play styles) */
.shell6d603-rows { margin-top: 10px; display: grid; gap: 6px; }
.shell6d603-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  background: var(--shell6d603-panel-2);
  border: 1px solid var(--shell6d603-line-soft);
  border-radius: var(--shell6d603-radius);
}
.shell6d603-row b {
  font-family: var(--shell6d603-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shell6d603-copper-glow);
  line-height: 1.45;
  padding-top: 2px;
}
.shell6d603-row p { font-size: 12px; line-height: 1.55; color: var(--shell6d603-lav-dim); }

/* quotes */
.shell6d603-quotes { margin-top: 10px; display: grid; gap: 7px; }
.shell6d603-quote {
  position: relative;
  padding: 10px 11px 9px 14px;
  background: var(--shell6d603-panel-2);
  border: 1px solid var(--shell6d603-line-soft);
  border-left: 3px solid var(--shell6d603-copper);
  border-radius: var(--shell6d603-radius);
}
.shell6d603-quote p { font-size: 12.5px; line-height: 1.55; color: var(--shell6d603-lav-dim); }
.shell6d603-quote footer {
  margin-top: 5px;
  font-family: var(--shell6d603-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell6d603-lav-faint);
}

/* scenario cards */
.shell6d603-cases { margin-top: 10px; display: grid; gap: 6px; }
.shell6d603-case {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 10px 10px;
  background: var(--shell6d603-steel-soft);
  border: 1px solid #454545;
  border-radius: var(--shell6d603-radius);
}
.shell6d603-case-n {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--shell6d603-copper);
  color: #fff7ea;
  font-family: var(--shell6d603-font-mono);
  font-size: 11px;
  margin-top: 1px;
}
.shell6d603-case p { font-size: 12px; line-height: 1.55; color: var(--shell6d603-lav-dim); }
.shell6d603-case b { color: var(--shell6d603-lav); font-weight: 600; }

/* mini Q&A pairs inside a module */
.shell6d603-qa { margin-top: 8px; display: grid; gap: 6px; }
.shell6d603-qa li {
  padding: 8px 10px;
  background: var(--shell6d603-panel-2);
  border: 1px solid var(--shell6d603-line-soft);
  border-radius: var(--shell6d603-radius);
}
.shell6d603-qa b {
  display: block;
  font-family: var(--shell6d603-font-head);
  font-size: 12px;
  color: var(--shell6d603-lav);
  margin-bottom: 2px;
}
.shell6d603-qa p { font-size: 12px; line-height: 1.55; color: var(--shell6d603-lav-dim); }

/* CTA band */
.shell6d603-ctaband {
  margin-top: 26px;
  padding: 15px 13px;
  border-radius: var(--shell6d603-radius-lg);
  background:
    linear-gradient(135deg, rgba(139, 69, 19, 0.5) 0%, rgba(45, 32, 19, 0.92) 55%),
    var(--shell6d603-panel);
  border: 1px solid var(--shell6d603-copper);
}
.shell6d603-ctaband .shell6d603-h2 { margin-bottom: 6px; }
.shell6d603-ctaband p { font-size: 12.5px; color: var(--shell6d603-lav-dim); }
.shell6d603-ctarow {
  margin-top: 11px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.shell6d603-ctabtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 10px 8px;
  border-radius: var(--shell6d603-radius);
  font-family: var(--shell6d603-font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.12s ease, background-color 0.16s ease;
}
.shell6d603-ctabtn:active { transform: scale(0.95); }
.shell6d603-ctabtn-main {
  background: linear-gradient(180deg, var(--shell6d603-copper-hi), var(--shell6d603-copper));
  color: #fff7ea;
  box-shadow: 0 2px 0 #5c2d0c;
}
.shell6d603-ctabtn-alt {
  background: rgba(18, 12, 6, 0.55);
  border: 1px solid var(--shell6d603-line);
  color: var(--shell6d603-lav);
}
.shell6d603-ctabtn .shell6d603-ic { width: 15px; height: 15px; }

/* generic inline icon sizing */
.shell6d603-ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* --------------------------------------------------------------------------
   11. Extended footer (home only) + common end bar
   -------------------------------------------------------------------------- */
.shell6d603-xfoot {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--shell6d603-line);
}

.shell6d603-xfoot-brand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.shell6d603-xfoot-brand img {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  border: 1px solid var(--shell6d603-line);
  flex: none;
}
.shell6d603-xfoot-brand h2 {
  font-family: var(--shell6d603-font-head);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--shell6d603-lav);
  margin-bottom: 3px;
}
.shell6d603-xfoot-brand p { font-size: 12px; line-height: 1.55; color: var(--shell6d603-lav-dim); }

.shell6d603-xfoot-label {
  margin: 18px 0 8px;
  font-family: var(--shell6d603-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--shell6d603-lav-faint);
}

/* two-column page directory */
.shell6d603-xfoot-dir {
  columns: 2;
  column-gap: 14px;
}
.shell6d603-xfoot-dir a {
  display: flex;
  align-items: center;
  min-height: 40px;
  break-inside: avoid;
  font-size: 12px;
  line-height: 1.3;
  color: var(--shell6d603-lav-dim);
  border-bottom: 1px dotted var(--shell6d603-line-soft);
}
.shell6d603-xfoot-dir a:visited { color: var(--shell6d603-lav-dim); }
.shell6d603-xfoot-dir a::before {
  content: "\00b7";
  color: var(--shell6d603-copper-glow);
  margin-right: 7px;
  font-weight: 700;
}

/* six promo entries, descriptive labels */
.shell6d603-xfoot-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.shell6d603-xpromo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 9px;
  background: var(--shell6d603-panel);
  border: 1px solid var(--shell6d603-line-soft);
  border-radius: var(--shell6d603-radius);
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--shell6d603-lav);
  transition: border-color 0.16s ease, transform 0.12s ease;
}
.shell6d603-xpromo:active { transform: scale(0.97); }
.shell6d603-xpromo .shell6d603-ic { color: var(--shell6d603-copper-glow); width: 15px; height: 15px; }

.shell6d603-xfoot-note {
  margin-top: 16px;
  padding: 10px 11px;
  background: var(--shell6d603-steel-soft);
  border: 1px solid #454545;
  border-radius: var(--shell6d603-radius);
  font-size: 11px;
  line-height: 1.6;
  color: var(--shell6d603-lav-faint);
}

.shell6d603-endbar {
  margin-top: 18px;
  padding: 12px 4px 4px;
  border-top: 1px solid var(--shell6d603-line-soft);
  text-align: center;
  font-family: var(--shell6d603-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--shell6d603-lav-faint);
}

/* --------------------------------------------------------------------------
   12. Fixed bottom tab bar - center-raised navigation
   -------------------------------------------------------------------------- */
.shell6d603-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell6d603-canvas-w);
  height: calc(var(--shell6d603-tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 85;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  background: linear-gradient(180deg, #241a10 8%, #1a120a 100%);
  border-top: 1px solid var(--shell6d603-line);
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.45);
}

.shell6d603-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--shell6d603-lav-faint);
  transition: color 0.16s ease;
}
.shell6d603-tab:visited { color: var(--shell6d603-lav-faint); }
.shell6d603-tab.on { color: var(--shell6d603-lav); }
.shell6d603-tab.on::after {
  content: "";
  position: absolute;
  bottom: 6px;
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--shell6d603-copper-glow);
}

/* containerized symbol tile */
.shell6d603-tab-ic {
  width: 34px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(59, 44, 25, 0.55);
  border: 1px solid var(--shell6d603-line-soft);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}
.shell6d603-tab.on .shell6d603-tab-ic {
  border-color: var(--shell6d603-copper-hi);
  background: rgba(139, 69, 19, 0.35);
}
.shell6d603-tab-ic .shell6d603-ic { width: 15px; height: 15px; }

.shell6d603-tab-lb {
  font-family: var(--shell6d603-font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

/* center raised hub */
.shell6d603-tab-hub { padding-bottom: 4px; }
.shell6d603-tab-hub .shell6d603-tab-hubbtn {
  width: 52px;
  height: 52px;
  margin-top: -26px;
  display: grid;
  place-items: center;
  gap: 1px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--shell6d603-copper-hi), var(--shell6d603-copper));
  border: 2px solid #f0b06a;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 240, 220, 0.35);
  color: #fff7ea;
  transition: transform 0.12s ease;
}
.shell6d603-tab-hub .shell6d603-tab-hubbtn:active { transform: scale(0.92); }
.shell6d603-tab-hubbtn .shell6d603-ic { width: 18px; height: 18px; }
.shell6d603-tab-hubbtn span {
  font-family: var(--shell6d603-font-head);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   13. Motion preferences + print safety
   -------------------------------------------------------------------------- */
@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;
  }
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* --------------------------------------------------------------------------
   14. Help / guide pages (bonus, review)
   -------------------------------------------------------------------------- */
.shell6d603-doclead {
  margin-top: 10px;
  padding: 12px 13px;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.22), rgba(58, 58, 58, 0.35));
  border: 1px solid var(--shell6d603-line);
  border-radius: var(--shell6d603-radius-lg);
  font-size: 13px;
  line-height: 1.65;
  color: var(--shell6d603-lav);
}

.shell6d603-pillrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.shell6d603-pill {
  padding: 5px 9px;
  font-family: var(--shell6d603-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shell6d603-lav-dim);
  background: var(--shell6d603-steel-soft);
  border: 1px solid #454545;
  border-radius: var(--shell6d603-radius);
}

.shell6d603-steps {
  counter-reset: shell6d603step;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shell6d603-step {
  position: relative;
  padding: 11px 12px 11px 40px;
  background: var(--shell6d603-panel);
  border: 1px solid var(--shell6d603-line-soft);
  border-radius: var(--shell6d603-radius);
  font-size: 13px;
  line-height: 1.55;
  color: var(--shell6d603-lav-dim);
}
.shell6d603-step::before {
  counter-increment: shell6d603step;
  content: counter(shell6d603step);
  position: absolute;
  left: 10px;
  top: 11px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-family: var(--shell6d603-font-head);
  font-size: 11px;
  font-weight: 700;
  color: #fff7ea;
  background: var(--shell6d603-copper);
  border-radius: 4px;
}
.shell6d603-step b { color: var(--shell6d603-lav); display: block; margin-bottom: 4px; }

.shell6d603-matrix {
  margin-top: 12px;
  border: 1px solid var(--shell6d603-line);
  border-radius: var(--shell6d603-radius-lg);
  overflow: hidden;
}
.shell6d603-matrix-h {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--shell6d603-line);
  font-family: var(--shell6d603-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shell6d603-lav-faint);
}
.shell6d603-matrix-h span {
  padding: 8px 10px;
  background: var(--shell6d603-steel);
}
.shell6d603-matrix-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--shell6d603-line-soft);
  font-size: 12px;
  line-height: 1.5;
  color: var(--shell6d603-lav-dim);
}
.shell6d603-matrix-row span {
  padding: 9px 10px;
  background: var(--shell6d603-panel);
}
.shell6d603-matrix-row span:first-child {
  font-weight: 600;
  color: var(--shell6d603-lav);
}

.shell6d603-fix {
  margin-top: 10px;
  padding: 10px 11px;
  border-left: 3px solid var(--shell6d603-copper-glow);
  background: rgba(58, 58, 58, 0.4);
  border-radius: 0 var(--shell6d603-radius) var(--shell6d603-radius) 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--shell6d603-lav-dim);
}
.shell6d603-fix b { color: var(--shell6d603-lav); display: block; margin-bottom: 3px; }

.shell6d603-textlink {
  color: var(--shell6d603-copper-glow);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
}

.shell6d603-scoregrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 12px;
}
.shell6d603-score {
  text-align: center;
  padding: 10px 6px;
  background: var(--shell6d603-panel);
  border: 1px solid var(--shell6d603-line-soft);
  border-radius: var(--shell6d603-radius);
}
.shell6d603-score strong {
  display: block;
  font-family: var(--shell6d603-font-head);
  font-size: 20px;
  color: var(--shell6d603-copper-glow);
  line-height: 1.1;
}
.shell6d603-score span {
  font-size: 10px;
  color: var(--shell6d603-lav-faint);
  letter-spacing: 0.04em;
}

.shell6d603-verdict {
  margin-top: 14px;
  padding: 12px;
  border: 1px dashed var(--shell6d603-copper-hi);
  border-radius: var(--shell6d603-radius-lg);
  background: rgba(139, 69, 19, 0.12);
  font-size: 13px;
  line-height: 1.6;
}
