/* ==========================================================================
   joya app - adaptive shell stylesheet (joya-app.click)
   class prefix : c34159-
   canvas       : 320-430px mobile column, centered on wide screens
   palette      : #2E4057 / #7CFC00 / #BF360C / #FF8C00 / #98FB98
   typography   : monospace accents + regular body, small radius, dense grid
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. design tokens
   -------------------------------------------------------------------------- */
:root {
  --c34159-bg: #2E4057;
  --c34159-bg-void: #1B2838;
  --c34159-bg-panel: #263850;
  --c34159-bg-panel-2: #2B4462;
  --c34159-bg-sink: #22334A;
  --c34159-lime: #7CFC00;
  --c34159-mint: #98FB98;
  --c34159-ember: #BF360C;
  --c34159-amber: #FF8C00;
  --c34159-text: #EAF7E6;
  --c34159-text-dim: #B7CCB6;
  --c34159-text-faint: #8FA78F;
  --c34159-line: rgba(152, 251, 152, 0.20);
  --c34159-line-soft: rgba(152, 251, 152, 0.11);
  --c34159-line-hot: rgba(255, 140, 0, 0.35);
  --c34159-r: 5px;
  --c34159-r-lg: 8px;
  --c34159-font-body: "Noto Sans Bengali", "Hind Siliguri", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --c34159-font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
  --c34159-header-h: 102px;
  --c34159-dock-h: 62px;
  --c34159-glow-lime: 0 0 10px rgba(127, 252, 0, 0.28);
  --c34159-glow-amber: 0 0 12px rgba(255, 140, 0, 0.35);
}

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

html {
  background: var(--c34159-bg-void);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  background: var(--c34159-bg);
  color: var(--c34159-text);
  font-family: var(--c34159-font-body);
  font-size: 13.5px;
  line-height: 1.68;
  overflow-x: hidden;
}

@media (min-width: 500px) {
  body {
    border-left: 1px solid var(--c34159-line-soft);
    border-right: 1px solid var(--c34159-line-soft);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
  }
}

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(127, 252, 0, 0.12);
}

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

a:hover,
a:focus-visible {
  color: var(--c34159-lime);
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--c34159-lime);
  outline-offset: 2px;
  border-radius: 3px;
}

.c34159-no-scroll { overflow: hidden; }

.c34159-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.c34159-skip {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 999;
  padding: 8px 12px;
  background: var(--c34159-lime);
  color: #1B2A12;
  font-weight: 700;
  border-radius: var(--c34159-r);
  transition: top 0.15s ease;
}

.c34159-skip:focus { top: 8px; text-decoration: none; }

/* --------------------------------------------------------------------------
   3. fixed header : tab-style top bar
   -------------------------------------------------------------------------- */
.c34159-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 900;
  background: linear-gradient(180deg, #2E4057 0%, #28394E 100%);
  border-bottom: 1px solid var(--c34159-line);
}

.c34159-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 8px 10px 6px;
}

.c34159-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-height: 44px;
  color: var(--c34159-text);
}

.c34159-brand:hover,
.c34159-brand:focus-visible { text-decoration: none; color: var(--c34159-mint); }

.c34159-logo {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  border: 1px solid var(--c34159-line);
  background: var(--c34159-bg-panel);
  object-fit: cover;
  flex: 0 0 auto;
}

.c34159-brand-name {
  font-family: var(--c34159-font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c34159-mint);
  white-space: nowrap;
}

.c34159-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.c34159-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--c34159-r);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.c34159-btn-solid {
  background: var(--c34159-lime);
  color: #1B2A12;
}

.c34159-btn-solid:hover,
.c34159-btn-solid:focus-visible {
  background: #93FF24;
  color: #14200C;
  box-shadow: var(--c34159-glow-lime);
  text-decoration: none;
}

.c34159-btn-line {
  background: transparent;
  color: var(--c34159-mint);
  border-color: rgba(152, 251, 152, 0.55);
}

.c34159-btn-line:hover,
.c34159-btn-line:focus-visible {
  color: var(--c34159-lime);
  border-color: var(--c34159-lime);
  box-shadow: var(--c34159-glow-lime);
  text-decoration: none;
}

.c34159-btn-hot {
  background: var(--c34159-ember);
  color: #FFE9DC;
}

.c34159-btn-hot:hover,
.c34159-btn-hot:focus-visible {
  background: #D64317;
  box-shadow: 0 0 12px rgba(191, 54, 12, 0.45);
  text-decoration: none;
}

.c34159-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--c34159-r);
  border: 1px solid var(--c34159-line);
  background: var(--c34159-bg-panel);
}

.c34159-burger:hover,
.c34159-burger:focus-visible { border-color: var(--c34159-lime); box-shadow: var(--c34159-glow-lime); }

.c34159-burger-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.c34159-burger-line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--c34159-mint);
  transition: background-color 0.18s ease;
}

.c34159-burger:hover .c34159-burger-line { background: var(--c34159-lime); }

/* tab strip row */
.c34159-tabs {
  display: flex;
  gap: 6px;
  align-items: center;
  overflow-x: auto;
  padding: 6px 10px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.c34159-tabs::-webkit-scrollbar { display: none; }

.c34159-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 11px;
  border-radius: 4px;
  border: 1px solid var(--c34159-line-soft);
  background: rgba(38, 56, 80, 0.65);
  color: var(--c34159-text-dim);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.c34159-tab b {
  font-family: var(--c34159-font-mono);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--c34159-text-faint);
  letter-spacing: 0.04em;
}

.c34159-tab:hover,
.c34159-tab:focus-visible { color: var(--c34159-lime); border-color: var(--c34159-line); text-decoration: none; }

.c34159-tab[aria-current="page"] {
  background: var(--c34159-lime);
  border-color: var(--c34159-lime);
  color: #1B2A12;
  box-shadow: var(--c34159-glow-lime);
}

.c34159-tab[aria-current="page"] b { color: rgba(27, 42, 18, 0.72); }

/* --------------------------------------------------------------------------
   4. stacked overlay menu
   -------------------------------------------------------------------------- */
.c34159-menu {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(27, 40, 56, 0.97);
  padding: 14px 14px calc(24px + env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  overflow-y: auto;
}

.c34159-menu-open { opacity: 1; visibility: visible; }

.c34159-menu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c34159-line-soft);
}

.c34159-menu-title {
  font-family: var(--c34159-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c34159-mint);
  margin: 0 auto 0 0;
}

.c34159-menu-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--c34159-r);
  border: 1px solid var(--c34159-line);
  background: var(--c34159-bg-panel);
  color: var(--c34159-mint);
  font-size: 18px;
  line-height: 1;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.c34159-menu-close:hover,
.c34159-menu-close:focus-visible { color: var(--c34159-lime); border-color: var(--c34159-lime); }

.c34159-menu-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 14px;
}

.c34159-menu-nav { display: flex; flex-direction: column; }

.c34159-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--c34159-line-soft);
  border-left: 2px solid transparent;
  color: var(--c34159-text);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.18s ease, border-left-color 0.18s ease, background-color 0.18s ease;
}

.c34159-menu-link b {
  font-family: var(--c34159-font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--c34159-amber);
  letter-spacing: 0.05em;
}

.c34159-menu-link span.c34159-menu-arrow {
  margin-left: auto;
  color: var(--c34159-text-faint);
  font-family: var(--c34159-font-mono);
}

.c34159-menu-link:hover,
.c34159-menu-link:focus-visible {
  color: var(--c34159-lime);
  border-left-color: var(--c34159-lime);
  background: rgba(127, 252, 0, 0.06);
  text-decoration: none;
}

.c34159-menu-link[aria-current="page"] {
  color: var(--c34159-lime);
  border-left-color: var(--c34159-lime);
  background: rgba(127, 252, 0, 0.08);
}

.c34159-menu-note {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--c34159-line-soft);
  border-left: 3px solid var(--c34159-ember);
  border-radius: var(--c34159-r);
  background: rgba(191, 54, 12, 0.10);
  color: var(--c34159-text-dim);
  font-size: 11.5px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. main column
   -------------------------------------------------------------------------- */
.c34159-main {
  padding: calc(var(--c34159-header-h) + 14px) 12px calc(var(--c34159-dock-h) + 34px + env(safe-area-inset-bottom));
}

.c34159-h1 {
  margin: 4px 0 10px;
  font-size: 20px;
  line-height: 1.42;
  font-weight: 800;
  color: var(--c34159-text);
  letter-spacing: -0.01em;
}

.c34159-h1 em {
  font-style: normal;
  color: var(--c34159-lime);
}

.c34159-lead {
  margin: 0 0 12px;
  color: var(--c34159-text-dim);
}

.c34159-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.c34159-cta-row .c34159-btn { flex: 1 1 150px; }

/* quick fact chips */
.c34159-facts {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
}

.c34159-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--c34159-line-soft);
  border-radius: var(--c34159-r);
  background: rgba(38, 56, 80, 0.55);
  font-size: 12px;
  color: var(--c34159-text-dim);
}

.c34159-facts li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--c34159-amber);
  box-shadow: var(--c34159-glow-amber);
}

/* compliance notice strip */
.c34159-note {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--c34159-ember);
  border-radius: var(--c34159-r);
  background: rgba(191, 54, 12, 0.12);
  color: var(--c34159-text-dim);
  font-size: 12px;
  line-height: 1.62;
}

/* --------------------------------------------------------------------------
   6. carousel
   -------------------------------------------------------------------------- */
.c34159-carousel {
  position: relative;
  margin: 0 0 16px;
  aspect-ratio: 2.15 / 1;
  border-radius: var(--c34159-r-lg);
  overflow: hidden;
  border: 1px solid var(--c34159-line);
  background: var(--c34159-bg-panel);
}

.c34159-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--c34159-bg-panel);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.c34159-slide-on {
  opacity: 1;
  visibility: visible;
}

.c34159-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c34159-slide-tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(27, 40, 56, 0) 0%, rgba(23, 33, 47, 0.92) 78%);
  text-align: left;
}

.c34159-slide-tag strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--c34159-lime);
  line-height: 1.35;
}

.c34159-slide-tag small {
  display: block;
  font-family: var(--c34159-font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--c34159-text-dim);
}

.c34159-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 5;
}

.c34159-dot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.c34159-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(234, 247, 230, 0.4);
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.c34159-dot-on::after {
  background: var(--c34159-lime);
  box-shadow: var(--c34159-glow-lime);
}

/* --------------------------------------------------------------------------
   7. game shelves (horizontal icon-name bars)
   -------------------------------------------------------------------------- */
.c34159-shelf { margin: 0 0 20px; }

.c34159-shelf-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--c34159-line-soft);
}

.c34159-shelf-notch {
  flex: 0 0 auto;
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--c34159-amber);
}

.c34159-shelf-poker .c34159-shelf-notch { background: var(--c34159-amber); }
.c34159-shelf-fishing .c34159-shelf-notch { background: var(--c34159-lime); }
.c34159-shelf-slot .c34159-shelf-notch { background: var(--c34159-mint); }
.c34159-shelf-hot .c34159-shelf-notch { background: var(--c34159-ember); }
.c34159-shelf-live .c34159-shelf-notch { background: var(--c34159-amber); }

.c34159-shelf-code {
  font-family: var(--c34159-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c34159-text-faint);
}

.c34159-h2 {
  flex: 1 1 auto;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--c34159-text);
}

.c34159-h2 em {
  font-style: normal;
  font-family: var(--c34159-font-mono);
  font-size: 14.5px;
  color: var(--c34159-lime);
}

.c34159-shelf-count {
  flex: 0 0 auto;
  font-family: var(--c34159-font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--c34159-amber);
  border: 1px solid var(--c34159-line-hot);
  border-radius: 3px;
  padding: 2px 5px;
}

.c34159-shelf-note {
  margin: 8px 0 0;
  color: var(--c34159-text-dim);
  font-size: 12.5px;
  line-height: 1.66;
}

.c34159-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
}

@media (min-width: 400px) {
  .c34159-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.c34159-grid li { margin: 0; }

.c34159-game {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  padding: 5px 8px 5px 5px;
  border: 1px solid var(--c34159-line-soft);
  border-radius: var(--c34159-r);
  background: var(--c34159-bg-panel);
  text-align: left;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.c34159-game:hover,
.c34159-game:focus-visible {
  border-color: var(--c34159-lime);
  background: var(--c34159-bg-panel-2);
  box-shadow: var(--c34159-glow-lime);
}

.c34159-game img {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border: 1px solid var(--c34159-line-soft);
  object-fit: cover;
  background: var(--c34159-bg-sink);
}

.c34159-game-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--c34159-text);
}

.c34159-game:hover .c34159-game-name { color: var(--c34159-mint); }

.c34159-shelf-foot {
  margin: 8px 0 0;
  padding: 7px 10px;
  border-radius: var(--c34159-r);
  background: rgba(38, 56, 80, 0.45);
  border: 1px dashed var(--c34159-line-soft);
  color: var(--c34159-text-faint);
  font-size: 11px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   8. prose modules (direct answer / guide / steps / faq)
   -------------------------------------------------------------------------- */
.c34159-prose { margin: 0 0 20px; }

.c34159-prose .c34159-h2 { margin: 0 0 4px; flex: none; }

.c34159-answer-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 8px;
  padding: 4px 9px;
  border-radius: 3px;
  border: 1px solid var(--c34159-line);
  background: rgba(127, 252, 0, 0.07);
  font-family: var(--c34159-font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c34159-lime);
}

.c34159-prose p {
  margin: 8px 0;
  color: var(--c34159-text-dim);
  font-size: 13px;
  line-height: 1.7;
}

.c34159-prose p strong,
.c34159-prose li strong { color: var(--c34159-text); font-weight: 700; }

.c34159-list,
.c34159-steps {
  margin: 10px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c34159-list li {
  position: relative;
  padding: 9px 10px 9px 34px;
  border: 1px solid var(--c34159-line-soft);
  border-radius: var(--c34159-r);
  background: rgba(38, 56, 80, 0.5);
  color: var(--c34159-text-dim);
  font-size: 12.5px;
  line-height: 1.64;
}

.c34159-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c34159-lime);
  box-shadow: var(--c34159-glow-lime);
}

.c34159-steps {
  counter-reset: c34159step;
}

.c34159-steps li {
  counter-increment: c34159step;
  position: relative;
  padding: 9px 10px 9px 38px;
  border: 1px solid var(--c34159-line-soft);
  border-left: 3px solid var(--c34159-amber);
  border-radius: var(--c34159-r);
  background: rgba(38, 56, 80, 0.5);
  color: var(--c34159-text-dim);
  font-size: 12.5px;
  line-height: 1.64;
}

.c34159-steps li::before {
  content: counter(c34159step, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 11px;
  font-family: var(--c34159-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--c34159-amber);
}

/* faq accordion */
.c34159-faq {
  border: 1px solid var(--c34159-line-soft);
  border-radius: var(--c34159-r-lg);
  background: rgba(38, 56, 80, 0.4);
  padding: 2px 0;
}

.c34159-faq details {
  border-bottom: 1px solid var(--c34159-line-soft);
}

.c34159-faq details:last-child { border-bottom: 0; }

.c34159-faq summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--c34159-text);
  border-radius: var(--c34159-r);
  transition: color 0.18s ease;
}

.c34159-faq summary::-webkit-details-marker { display: none; }

.c34159-faq summary::after {
  content: "+";
  margin-left: auto;
  flex: 0 0 auto;
  font-family: var(--c34159-font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--c34159-amber);
  transition: color 0.18s ease;
}

.c34159-faq details[open] summary::after { content: "-"; color: var(--c34159-lime); }

.c34159-faq summary:hover { color: var(--c34159-mint); }

.c34159-faq details[open] summary { color: var(--c34159-mint); }

.c34159-faq-body {
  padding: 0 12px 12px;
  color: var(--c34159-text-dim);
  font-size: 12.5px;
  line-height: 1.68;
}

/* --------------------------------------------------------------------------
   9. extended footer (homepage)
   -------------------------------------------------------------------------- */
.c34159-xfoot {
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--c34159-line);
}

.c34159-xfoot .c34159-h2 { flex: none; margin-bottom: 8px; }

.c34159-xbrand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 14px;
}

.c34159-xbrand img {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid var(--c34159-line-soft);
  background: var(--c34159-bg-panel);
  object-fit: cover;
}

.c34159-xbrand p {
  margin: 0;
  color: var(--c34159-text-dim);
  font-size: 12px;
  line-height: 1.62;
}

.c34159-xlabel {
  display: block;
  margin: 0 0 8px;
  font-family: var(--c34159-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c34159-amber);
}

.c34159-xpromo {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  margin: 0 0 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.c34159-xpromo::-webkit-scrollbar { display: none; }

.c34159-xp {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 96px;
  min-height: 72px;
  padding: 8px 6px;
  border-radius: var(--c34159-r);
  border: 1px solid var(--c34159-line-soft);
  background: var(--c34159-bg-panel);
  color: var(--c34159-text);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.c34159-xp svg {
  width: 20px;
  height: 20px;
  stroke: var(--c34159-amber);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c34159-xp:hover,
.c34159-xp:focus-visible {
  border-color: var(--c34159-lime);
  background: var(--c34159-bg-panel-2);
  box-shadow: var(--c34159-glow-lime);
}

.c34159-xdir {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
}

.c34159-xdir a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 6px 9px;
  border: 1px solid var(--c34159-line-soft);
  border-radius: var(--c34159-r);
  background: rgba(38, 56, 80, 0.45);
  color: var(--c34159-text-dim);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.c34159-xdir b {
  font-family: var(--c34159-font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--c34159-text-faint);
  letter-spacing: 0.05em;
}

.c34159-xdir a:hover,
.c34159-xdir a:focus-visible {
  color: var(--c34159-lime);
  border-color: var(--c34159-line);
  text-decoration: none;
}

.c34159-xdisc {
  margin: 0;
  padding: 9px 11px;
  border-radius: var(--c34159-r);
  border: 1px solid var(--c34159-line-soft);
  border-left: 3px solid var(--c34159-ember);
  background: rgba(191, 54, 12, 0.08);
  color: var(--c34159-text-faint);
  font-size: 11px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. common footer + layered bottom dock
   -------------------------------------------------------------------------- */
.c34159-foot {
  padding: 6px 12px 10px;
  border-top: 1px solid var(--c34159-line-soft);
  text-align: center;
}

.c34159-copy {
  margin: 0;
  font-family: var(--c34159-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--c34159-text-faint);
}

.c34159-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 430;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  min-height: var(--c34159-dock-h);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #243751 0%, #1D2A3C 100%);
  border-top: 1px solid var(--c34159-line);
}

.c34159-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  min-height: 48px;
  padding: 5px 2px 3px;
  border: 0;
  background: transparent;
  color: var(--c34159-text-dim);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  border-radius: var(--c34159-r);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.c34159-dock-item:hover,
.c34159-dock-item:focus-visible { color: var(--c34159-lime); text-decoration: none; }

.c34159-dock-item svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c34159-dock-item .c34159-ico-fill {
  fill: none;
  stroke: currentColor;
  transition: fill 0.18s ease;
}

.c34159-dock-item[aria-current="page"] {
  color: var(--c34159-lime);
  background: rgba(127, 252, 0, 0.08);
}

.c34159-dock-item[aria-current="page"] .c34159-ico-fill {
  fill: rgba(127, 252, 0, 0.25);
}

/* raised middle layer */
.c34159-dock-mid {
  position: relative;
  align-self: end;
  margin-bottom: 4px;
}

.c34159-dock-mid .c34159-dock-orb {
  position: relative;
  width: 50px;
  height: 50px;
  margin-top: -26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--c34159-amber);
  background: linear-gradient(160deg, #3A5273 0%, #24374F 100%);
  box-shadow: var(--c34159-glow-amber);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.c34159-dock-mid:hover .c34159-dock-orb,
.c34159-dock-mid:focus-visible .c34159-dock-orb {
  border-color: var(--c34159-lime);
  box-shadow: var(--c34159-glow-lime);
}

.c34159-dock-mid .c34159-dock-orb svg {
  width: 22px;
  height: 22px;
  stroke: var(--c34159-amber);
}

.c34159-dock-mid:hover .c34159-dock-orb svg { stroke: var(--c34159-lime); }

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

/* Part1 additions retain the original shell and visual language. */
:root { --c34159-header-h: 120px; --c34159-text-faint: #BED4BE; }
html { scroll-padding-top: 134px; scroll-padding-bottom: 100px; }
body { overflow-x: clip; overflow-wrap: break-word; }
.c34159-top { padding-top: env(safe-area-inset-top); }
.c34159-main { padding-top: calc(var(--c34159-header-h) + env(safe-area-inset-top) + 14px); padding-bottom: 26px; }
.c34159-topbar { gap: 4px; padding-left: 8px; padding-right: 8px; }
.c34159-actions { gap: 4px; }
.c34159-actions .c34159-btn { padding: 7px 8px; font-size: 11px; }
.c34159-cta-row .c34159-btn:first-child { background: var(--c34159-lime); border-color: var(--c34159-lime); color: #1B2A12; }
.c34159-brand { gap: 5px; }
.c34159-tab { min-height: 44px; }
.c34159-menu { background: #1B2838; left: 50%; right: auto; width: 100%; max-width: 430px; transform: translateX(-50%); padding-top: calc(14px + env(safe-area-inset-top)); transition: none; }
.c34159-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; }
.c34159-game { flex-direction: column; justify-content: flex-start; gap: 4px; min-height: 108px; padding: 4px 2px; }
.c34159-game img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.c34159-game-name { font-size: 10.5px; line-height: 1.4; min-height: 30px; width: 100%; text-align: center; }
.c34159-carousel { aspect-ratio: auto; overflow: visible; border: 0; background: transparent; }
.c34159-slide { position: relative; display: none; height: auto; border: 1px solid var(--c34159-line); border-radius: 5px; overflow: hidden; transition: none; }
.c34159-slide-on { display: block; }
.c34159-slide[hidden] { display: none; }
.c34159-slide img { height: auto; aspect-ratio: 1915/450; object-fit: contain; }
.c34159-slide-tag { position: static; padding: 10px; background: var(--c34159-bg-panel); }
.c34159-slide-tag small { font-family: var(--c34159-font-body); letter-spacing: 0; font-size: 11px; }
.c34159-dots { position: static; justify-content: flex-end; margin-top: 3px; }
.c34159-dot { width: 44px; height: 44px; }
.c34159-pause { margin-right: auto; min-width: 92px; min-height: 44px; border: 1px solid var(--c34159-line); border-radius: 4px; background: var(--c34159-bg-panel); }
.c34159-foot { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
.c34159-xfoot { margin: 0 12px 20px; }
.c34159-xdir a { min-height: 48px; }
.c34159-prose a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.c34159-h2 { margin-bottom: 8px; }
.c34159-prose h3 { font-size: 14px; color: var(--c34159-mint); margin: 14px 0 5px; }
.c34159-reading { padding: 12px; border-left: 3px solid var(--c34159-amber); background: var(--c34159-bg-panel); margin: 16px 0; }
.c34159-reading p { margin: 6px 0; }
.c34159-terms { margin: 12px 0; }
.c34159-terms dt { font-weight: 700; color: var(--c34159-mint); padding-top: 10px; }
.c34159-terms dd { margin: 3px 0 12px; padding-left: 10px; border-left: 1px solid var(--c34159-line); }
.c34159-choice { border-top: 1px solid var(--c34159-line); padding: 12px 0; }
.c34159-pair { margin: 10px 0; border: 1px solid var(--c34159-line); border-radius: 5px; padding: 10px; }
.c34159-pair p { margin: 5px 0; }
.c34159-icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; flex: 0 0 auto; }
.c34159-xp .c34159-icon { stroke: var(--c34159-amber); }
.c34159-shelf-head { flex-wrap: wrap; }
.c34159-shelf-head .c34159-h2 { min-width: 0; flex: 1; margin: 0; }
.c34159-shelf-code { display: none; }
.c34159-skip { min-height: 44px; }
@media (max-width: 330px) {
  .c34159-brand-name { font-size: 12.5px; }
  .c34159-h1 { font-size: 18px; }
  .c34159-grid { gap: 6px; }
  .c34159-game { gap: 6px; padding: 4px 6px 4px 4px; }
  .c34159-game img { width: 34px; height: 34px; }
}
