/* ==========================================================================
   palette-responsive-14b5c9.css
   TG7776 mobile-first lobby stylesheet (tg7776.cyou)
   All classes use the site prefix: viewb5c9c-
   Canvas strategy: 320-430px phone layout, centered phone frame on wide
   screens. Palette: deep slate base with pink/crimson accents.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --viewb5c9c-bg: #2e4057;            /* page base - deep slate */
  --viewb5c9c-bg-deep: #24344a;       /* top bar, drawer surface */
  --viewb5c9c-bg-deeper: #1a2637;     /* wide-screen backdrop, footer band */
  --viewb5c9c-panel: #374c68;         /* game bars, cards */
  --viewb5c9c-panel-hi: #40577a;      /* card hover surface */
  --viewb5c9c-line: #4a6182;          /* hairline borders */
  --viewb5c9c-line-soft: #42597a;
  --viewb5c9c-text: #ffc0cb;          /* primary body text - light pink */
  --viewb5c9c-text-strong: #ffeef4;   /* headings, emphasis */
  --viewb5c9c-text-dim: #d6a7b5;      /* secondary text */
  --viewb5c9c-accent: #ff69b4;        /* hot pink - indicator, links */
  --viewb5c9c-crimson: #dc143c;       /* primary CTA, active marks */
  --viewb5c9c-crimson-deep: #b31131;  /* pressed state */
  --viewb5c9c-pale: #ffb6c1;          /* chips, secondary labels */
  --viewb5c9c-on-cta: #fff2f6;        /* text on crimson buttons */

  --viewb5c9c-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --viewb5c9c-font-head: "Segoe UI", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --viewb5c9c-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;

  --viewb5c9c-radius: 3px;            /* near-square, tool-like */
  --viewb5c9c-radius-sm: 2px;
  --viewb5c9c-gap: 10px;
  --viewb5c9c-pad-x: 12px;

  --viewb5c9c-dock-h: 62px;
  --viewb5c9c-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   1. Base & reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--viewb5c9c-bg-deeper);
  color: var(--viewb5c9c-text);
  font-family: var(--viewb5c9c-font-body);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: var(--viewb5c9c-accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-family: var(--viewb5c9c-font-head);
  color: var(--viewb5c9c-text-strong);
  margin: 0;
  line-height: 1.22;
  text-wrap: balance;
}

p {
  margin: 0 0 10px;
}

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

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

/* Visible keyboard focus across every component */
.viewb5c9c-canvas :focus-visible,
.viewb5c9c-drawer :focus-visible,
.viewb5c9c-dock :focus-visible,
.viewb5c9c-scrim:focus-visible,
.viewb5c9c-skip:focus {
  outline: 2px solid var(--viewb5c9c-accent);
  outline-offset: 2px;
  border-radius: var(--viewb5c9c-radius-sm);
}

/* --------------------------------------------------------------------------
   2. Phone canvas & shared shells
   -------------------------------------------------------------------------- */
.viewb5c9c-canvas {
  position: relative;
  max-width: 430px; /* hard phone-canvas ceiling */
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--viewb5c9c-bg);
  padding-bottom: calc(var(--viewb5c9c-dock-h) + 54px + env(safe-area-inset-bottom, 0px));
}

.viewb5c9c-skip {
  position: absolute;
  top: -48px;
  left: 8px;
  z-index: 90;
  background: var(--viewb5c9c-crimson);
  color: var(--viewb5c9c-on-cta);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--viewb5c9c-radius-sm);
  transition: top 0.2s var(--viewb5c9c-ease);
}

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

.viewb5c9c-section {
  padding: 20px var(--viewb5c9c-pad-x) 8px;
}

.viewb5c9c-section + .viewb5c9c-section {
  border-top: 1px solid var(--viewb5c9c-line-soft);
}

/* Mono kicker label used above section titles */
.viewb5c9c-kicker {
  display: block;
  font-family: var(--viewb5c9c-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--viewb5c9c-accent);
  margin-bottom: 6px;
}

.viewb5c9c-h2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.viewb5c9c-h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--viewb5c9c-text-strong);
  margin-bottom: 6px;
}

.viewb5c9c-lede {
  font-size: 14px;
  color: var(--viewb5c9c-text);
}

/* Entrance lift for sections (subtle card-rise budget) */
@keyframes viewb5c9cRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.viewb5c9c-rise {
  animation: viewb5c9cRise 0.45s var(--viewb5c9c-ease) both;
}

/* --------------------------------------------------------------------------
   3. Top bar: brand row + action buttons
   -------------------------------------------------------------------------- */
.viewb5c9c-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(36, 52, 74, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--viewb5c9c-line);
}

.viewb5c9c-brandrow {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 8px 10px 6px;
}

/* Hamburger trigger for the side drawer */
.viewb5c9c-menubtn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--viewb5c9c-line);
  border-radius: var(--viewb5c9c-radius-sm);
  background: var(--viewb5c9c-panel);
}

.viewb5c9c-menubtn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--viewb5c9c-pale);
  box-shadow: 0 -5px 0 var(--viewb5c9c-pale), 0 5px 0 var(--viewb5c9c-pale);
}

.viewb5c9c-menubtn:active {
  transform: translateY(1px);
}

/* Brand block: real logo image + wordmark only */
.viewb5c9c-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--viewb5c9c-text-strong);
  text-decoration: none;
}

.viewb5c9c-brand:hover {
  text-decoration: none;
}

.viewb5c9c-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--viewb5c9c-radius-sm);
  border: 1px solid var(--viewb5c9c-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.viewb5c9c-brandname {
  font-family: var(--viewb5c9c-font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

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

.viewb5c9c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--viewb5c9c-radius-sm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.15s var(--viewb5c9c-ease), background 0.15s var(--viewb5c9c-ease);
}

.viewb5c9c-btn:active {
  transform: translateY(1px);
}

.viewb5c9c-btn-register {
  background: linear-gradient(180deg, #e9184b, var(--viewb5c9c-crimson));
  border-color: #f2506e;
  color: var(--viewb5c9c-on-cta);
}

.viewb5c9c-btn-login {
  background: transparent;
  border-color: var(--viewb5c9c-accent);
  color: var(--viewb5c9c-pale);
}

/* --------------------------------------------------------------------------
   4. Tab strip with sliding indicator line
   -------------------------------------------------------------------------- */
.viewb5c9c-tabs {
  position: relative;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-top: 1px solid var(--viewb5c9c-line-soft);
}

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

.viewb5c9c-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-family: var(--viewb5c9c-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--viewb5c9c-text-dim);
  white-space: nowrap;
}

.viewb5c9c-tab:hover {
  color: var(--viewb5c9c-text-strong);
  text-decoration: none;
}

.viewb5c9c-tab.viewb5c9c-is-active {
  color: var(--viewb5c9c-text-strong);
}

.viewb5c9c-tabline {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--viewb5c9c-accent), var(--viewb5c9c-crimson));
  transition: transform 0.28s var(--viewb5c9c-ease), width 0.28s var(--viewb5c9c-ease);
  will-change: transform, width;
}

/* --------------------------------------------------------------------------
   5. Side drawer menu (slide-in from the left)
   -------------------------------------------------------------------------- */
.viewb5c9c-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 26, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--viewb5c9c-ease);
  z-index: 60;
}

.viewb5c9c-scrim.viewb5c9c-is-open {
  opacity: 1;
  pointer-events: auto;
}

.viewb5c9c-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(84vw, 328px);
  z-index: 70;
  background: var(--viewb5c9c-bg-deep);
  border-right: 1px solid var(--viewb5c9c-line);
  display: flex;
  flex-direction: column;
  transform: translateX(-102%);
  transition: transform 0.3s var(--viewb5c9c-ease);
  will-change: transform;
}

.viewb5c9c-drawer.viewb5c9c-is-open {
  transform: translateX(0);
}

.viewb5c9c-drawer-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--viewb5c9c-line);
}

.viewb5c9c-drawer-head .viewb5c9c-logo {
  width: 28px;
  height: 28px;
}

.viewb5c9c-drawer-title {
  font-family: var(--viewb5c9c-font-head);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--viewb5c9c-text-strong);
  margin-right: auto;
}

.viewb5c9c-drawer-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--viewb5c9c-line);
  border-radius: var(--viewb5c9c-radius-sm);
  background: var(--viewb5c9c-panel);
  color: var(--viewb5c9c-pale);
  font-size: 18px;
  line-height: 1;
}

.viewb5c9c-drawer-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 10px 10px 16px;
}

.viewb5c9c-drawer-label {
  display: block;
  font-family: var(--viewb5c9c-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--viewb5c9c-accent);
  padding: 14px 8px 6px;
}

.viewb5c9c-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 6px 10px;
  border-radius: var(--viewb5c9c-radius-sm);
  color: var(--viewb5c9c-text);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
}

.viewb5c9c-drawer-link:hover {
  background: var(--viewb5c9c-panel);
  text-decoration: none;
}

.viewb5c9c-drawer-link .viewb5c9c-drawer-arrow {
  font-family: var(--viewb5c9c-font-mono);
  color: var(--viewb5c9c-text-dim);
  font-size: 12px;
}

.viewb5c9c-drawer-foot {
  padding: 12px;
  border-top: 1px solid var(--viewb5c9c-line);
  display: grid;
  gap: 8px;
}

.viewb5c9c-drawer-cta {
  width: 100%;
  min-height: 48px;
  background: linear-gradient(180deg, #e9184b, var(--viewb5c9c-crimson));
  border: 1px solid #f2506e;
  color: var(--viewb5c9c-on-cta);
  border-radius: var(--viewb5c9c-radius-sm);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.viewb5c9c-drawer-sub {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--viewb5c9c-accent);
  color: var(--viewb5c9c-pale);
  border-radius: var(--viewb5c9c-radius-sm);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.viewb5c9c-hero {
  padding: 22px var(--viewb5c9c-pad-x) 12px;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(255, 105, 180, 0.18), transparent 60%),
    radial-gradient(90% 70% at 0% 0%, rgba(220, 20, 60, 0.16), transparent 55%);
  border-bottom: 1px solid var(--viewb5c9c-line-soft);
}

.viewb5c9c-hero-title {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.viewb5c9c-hero-lead {
  font-size: 14px;
  color: var(--viewb5c9c-text);
  max-width: 40ch;
  margin-bottom: 14px;
}

/* Full-width primary CTA pair */
.viewb5c9c-ctarow {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.viewb5c9c-cta-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  background: linear-gradient(180deg, #e9184b, var(--viewb5c9c-crimson));
  border: 1px solid #f2506e;
  color: var(--viewb5c9c-on-cta);
  border-radius: var(--viewb5c9c-radius-sm);
  font-family: var(--viewb5c9c-font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(220, 20, 60, 0.35);
  transition: transform 0.15s var(--viewb5c9c-ease), box-shadow 0.15s var(--viewb5c9c-ease);
}

.viewb5c9c-cta-main:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
}

.viewb5c9c-cta-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--viewb5c9c-accent);
  color: var(--viewb5c9c-pale);
  border-radius: var(--viewb5c9c-radius-sm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.viewb5c9c-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.viewb5c9c-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--viewb5c9c-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--viewb5c9c-pale);
  border: 1px solid var(--viewb5c9c-line);
  background: rgba(55, 76, 104, 0.65);
  padding: 5px 9px;
  border-radius: var(--viewb5c9c-radius-sm);
}

.viewb5c9c-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--viewb5c9c-accent);
  border-radius: 1px;
}

/* --------------------------------------------------------------------------
   7. Promo banner carousel
   -------------------------------------------------------------------------- */
.viewb5c9c-carousel {
  margin: 14px var(--viewb5c9c-pad-x) 0;
}

.viewb5c9c-caro-vp {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border: 1px solid var(--viewb5c9c-line);
  border-radius: var(--viewb5c9c-radius);
  background: var(--viewb5c9c-bg-deep);
}

.viewb5c9c-caro-vp::-webkit-scrollbar {
  display: none;
}

.viewb5c9c-caro-track {
  display: flex;
}

.viewb5c9c-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: block;
  width: 100%;
  aspect-ratio: 21 / 10;
  overflow: hidden;
  text-align: left;
}

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

.viewb5c9c-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(26, 38, 55, 0) 0%, rgba(26, 38, 55, 0.88) 62%);
}

.viewb5c9c-slide-tag {
  display: block;
  font-family: var(--viewb5c9c-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--viewb5c9c-accent);
  margin-bottom: 3px;
}

.viewb5c9c-slide-title {
  display: block;
  font-family: var(--viewb5c9c-font-head);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--viewb5c9c-text-strong);
  line-height: 1.25;
}

.viewb5c9c-slide-go {
  flex: 0 0 auto;
  font-family: var(--viewb5c9c-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--viewb5c9c-on-cta);
  background: var(--viewb5c9c-crimson);
  border-radius: var(--viewb5c9c-radius-sm);
  padding: 7px 10px;
}

.viewb5c9c-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 9px;
}

.viewb5c9c-dot {
  width: 26px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.viewb5c9c-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--viewb5c9c-line);
  transition: width 0.25s var(--viewb5c9c-ease), background 0.25s var(--viewb5c9c-ease);
}

.viewb5c9c-dot.viewb5c9c-is-on::before {
  background: var(--viewb5c9c-accent);
}

.viewb5c9c-dot.viewb5c9c-is-on::before {
  width: 20px;
}

/* --------------------------------------------------------------------------
   8. Scenario branch paths
   -------------------------------------------------------------------------- */
.viewb5c9c-paths {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.viewb5c9c-path {
  display: block;
  border: 1px solid var(--viewb5c9c-line);
  border-left: 3px solid var(--viewb5c9c-accent);
  border-radius: var(--viewb5c9c-radius-sm);
  background: var(--viewb5c9c-panel);
  padding: 11px 12px;
  transition: transform 0.18s var(--viewb5c9c-ease), border-color 0.18s var(--viewb5c9c-ease);
}

.viewb5c9c-path:hover {
  transform: translateY(-2px);
  border-left-color: var(--viewb5c9c-crimson);
}

.viewb5c9c-path-tag {
  font-family: var(--viewb5c9c-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--viewb5c9c-accent);
}

.viewb5c9c-path-title {
  display: block;
  font-family: var(--viewb5c9c-font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--viewb5c9c-text-strong);
  margin: 3px 0 4px;
}

.viewb5c9c-path-text {
  font-size: 13px;
  color: var(--viewb5c9c-text);
  margin: 0 0 6px;
}

.viewb5c9c-path-go {
  font-family: var(--viewb5c9c-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--viewb5c9c-accent);
}

/* --------------------------------------------------------------------------
   9. Game sections & horizontal icon-name bars
   -------------------------------------------------------------------------- */
.viewb5c9c-gamesec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.viewb5c9c-gamesec-count {
  flex: 0 0 auto;
  font-family: var(--viewb5c9c-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--viewb5c9c-text-dim);
  border: 1px solid var(--viewb5c9c-line);
  padding: 3px 7px;
  border-radius: var(--viewb5c9c-radius-sm);
  white-space: nowrap;
}

.viewb5c9c-gamesec-note {
  font-size: 13px;
  color: var(--viewb5c9c-text-dim);
  margin-bottom: 12px;
}

.viewb5c9c-gamegrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

/* One game = one horizontal strip: square icon left, name right */
.viewb5c9c-gamebar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 7px;
  background: var(--viewb5c9c-panel);
  border: 1px solid var(--viewb5c9c-line-soft);
  border-radius: var(--viewb5c9c-radius-sm);
  text-align: left;
  transition: transform 0.18s var(--viewb5c9c-ease), border-color 0.18s var(--viewb5c9c-ease),
    background 0.18s var(--viewb5c9c-ease);
}

.viewb5c9c-gamebar:hover,
.viewb5c9c-gamebar:focus-visible {
  transform: translateY(-2px); /* light card lift */
  border-color: var(--viewb5c9c-accent);
  background: var(--viewb5c9c-panel-hi);
}

.viewb5c9c-gamebar:active {
  transform: translateY(0);
}

.viewb5c9c-gamebar-img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: var(--viewb5c9c-radius-sm);
  border: 1px solid var(--viewb5c9c-line);
  object-fit: cover;
  background: var(--viewb5c9c-bg-deep);
}

.viewb5c9c-gamebar-name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--viewb5c9c-text-strong);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

/* Corner marker for the hot chart strip */
.viewb5c9c-gamebar.viewb5c9c-hot {
  border-left: 3px solid var(--viewb5c9c-crimson);
}

/* --------------------------------------------------------------------------
   10. Content modules
   -------------------------------------------------------------------------- */

/* 10a. Achievement ladder */
.viewb5c9c-ladder {
  margin-top: 12px;
  border-left: 2px solid var(--viewb5c9c-line);
  padding-left: 14px;
  display: grid;
  gap: 14px;
}

.viewb5c9c-ladder-item {
  position: relative;
}

.viewb5c9c-ladder-item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--viewb5c9c-bg);
  border: 2px solid var(--viewb5c9c-accent);
}

.viewb5c9c-ladder-item:last-child::before {
  background: var(--viewb5c9c-crimson);
  border-color: var(--viewb5c9c-crimson);
}

.viewb5c9c-ladder-step {
  font-family: var(--viewb5c9c-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--viewb5c9c-accent);
}

.viewb5c9c-ladder-title {
  display: block;
  font-family: var(--viewb5c9c-font-head);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--viewb5c9c-text-strong);
  margin: 2px 0 3px;
}

.viewb5c9c-ladder-text {
  font-size: 13px;
  margin: 0;
}

/* 10b. RTP reading rows */
.viewb5c9c-rtp-lead {
  font-size: 14px;
  color: var(--viewb5c9c-text-strong);
  border: 1px solid var(--viewb5c9c-line);
  border-left: 3px solid var(--viewb5c9c-crimson);
  background: var(--viewb5c9c-panel);
  padding: 10px 12px;
  border-radius: var(--viewb5c9c-radius-sm);
  margin-bottom: 12px;
}

.viewb5c9c-rtp-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed var(--viewb5c9c-line-soft);
}

.viewb5c9c-rtp-key {
  font-family: var(--viewb5c9c-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--viewb5c9c-pale);
  padding-top: 2px;
}

.viewb5c9c-rtp-val {
  font-size: 13px;
}

/* 10c. Feature grid */
.viewb5c9c-featgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.viewb5c9c-featcell {
  border: 1px solid var(--viewb5c9c-line);
  border-radius: var(--viewb5c9c-radius-sm);
  background: var(--viewb5c9c-panel);
  padding: 10px;
  transition: transform 0.18s var(--viewb5c9c-ease);
}

.viewb5c9c-featcell:hover {
  transform: translateY(-2px);
}

.viewb5c9c-feat-label {
  display: block;
  font-family: var(--viewb5c9c-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--viewb5c9c-accent);
  margin-bottom: 4px;
}

.viewb5c9c-feat-text {
  font-size: 12.5px;
  line-height: 1.5;
}

/* 10d. Entity relation map */
.viewb5c9c-relhub {
  border: 1px solid var(--viewb5c9c-accent);
  border-radius: var(--viewb5c9c-radius-sm);
  background: rgba(255, 105, 180, 0.08);
  padding: 10px 12px;
  font-weight: 700;
  color: var(--viewb5c9c-text-strong);
  font-size: 13.5px;
  margin-bottom: 8px;
}

.viewb5c9c-relrow {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  padding: 8px 0 8px 6px;
  border-top: 1px solid var(--viewb5c9c-line-soft);
  font-size: 13px;
}

.viewb5c9c-relmark {
  font-family: var(--viewb5c9c-font-mono);
  color: var(--viewb5c9c-accent);
  font-weight: 700;
}

/* 10e. Direct answer block */
.viewb5c9c-answer-q {
  font-family: var(--viewb5c9c-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--viewb5c9c-pale);
  border: 1px dashed var(--viewb5c9c-line);
  border-radius: var(--viewb5c9c-radius-sm);
  padding: 8px 10px;
  margin-bottom: 10px;
}

.viewb5c9c-answer-first {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--viewb5c9c-text-strong);
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   11. Home extended footer (brand > directory > promo actions > note)
   -------------------------------------------------------------------------- */
.viewb5c9c-ext {
  margin-top: 22px;
  border-top: 1px solid var(--viewb5c9c-line);
  background: var(--viewb5c9c-bg-deep);
  padding: 18px var(--viewb5c9c-pad-x) 16px;
}

.viewb5c9c-ext-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.viewb5c9c-ext-brand .viewb5c9c-logo {
  width: 36px;
  height: 36px;
  margin-top: 2px;
}

.viewb5c9c-ext-brandtext {
  font-size: 13px;
  color: var(--viewb5c9c-text);
}

.viewb5c9c-ext-label {
  display: block;
  font-family: var(--viewb5c9c-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--viewb5c9c-accent);
  margin-bottom: 8px;
}

.viewb5c9c-ext-dir {
  columns: 2;
  column-gap: 14px;
  margin-bottom: 18px;
}

.viewb5c9c-ext-dir li {
  break-inside: avoid;
  margin-bottom: 2px;
}

.viewb5c9c-ext-link {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-height: 34px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--viewb5c9c-text);
}

.viewb5c9c-ext-link:hover {
  color: var(--viewb5c9c-text-strong);
}

.viewb5c9c-ext-num {
  font-family: var(--viewb5c9c-font-mono);
  font-size: 10px;
  color: var(--viewb5c9c-text-dim);
}

.viewb5c9c-ext-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.viewb5c9c-ext-act {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid var(--viewb5c9c-line);
  border-radius: var(--viewb5c9c-radius-sm);
  background: var(--viewb5c9c-panel);
  text-align: left;
  transition: transform 0.18s var(--viewb5c9c-ease), border-color 0.18s var(--viewb5c9c-ease);
}

.viewb5c9c-ext-act:hover {
  transform: translateY(-2px);
  border-color: var(--viewb5c9c-accent);
}

.viewb5c9c-ext-act-ico {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--viewb5c9c-radius-sm);
  background: var(--viewb5c9c-bg-deeper);
  border: 1px solid var(--viewb5c9c-line);
}

.viewb5c9c-ext-act-text {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--viewb5c9c-text-strong);
}

.viewb5c9c-ext-note {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--viewb5c9c-text-dim);
  border-top: 1px dashed var(--viewb5c9c-line);
  padding-top: 12px;
}

/* --------------------------------------------------------------------------
   12. Common footer & floating dock
   -------------------------------------------------------------------------- */
.viewb5c9c-footer {
  border-top: 1px solid var(--viewb5c9c-line);
  background: var(--viewb5c9c-bg-deeper);
  padding: 14px var(--viewb5c9c-pad-x) 12px;
  text-align: center;
}

.viewb5c9c-copy {
  font-family: var(--viewb5c9c-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--viewb5c9c-text-dim);
  margin: 0 0 6px;
}

.viewb5c9c-totop {
  font-family: var(--viewb5c9c-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--viewb5c9c-text-dim);
}

.viewb5c9c-totop:hover {
  color: var(--viewb5c9c-accent);
}

/* Floating dock: 5 fixed roles above the safe area */
.viewb5c9c-dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  width: min(calc(100% - 20px), 410px);
  display: flex;
  z-index: 50;
  background: rgba(26, 38, 55, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--viewb5c9c-line);
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(8, 14, 24, 0.55);
}

.viewb5c9c-dock-item {
  position: relative;
  flex: 1 1 20%;
  min-height: var(--viewb5c9c-dock-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--viewb5c9c-text-dim);
  padding: 6px 2px;
}

.viewb5c9c-dock-item:hover {
  color: var(--viewb5c9c-text-strong);
  text-decoration: none;
}

.viewb5c9c-dock-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.viewb5c9c-dock-ico svg {
  width: 22px;
  height: 22px;
  display: block;
}

.viewb5c9c-dock-label {
  font-family: var(--viewb5c9c-font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Active dock role: top indicator line */
.viewb5c9c-dock-item.viewb5c9c-is-active {
  color: var(--viewb5c9c-text-strong);
}

.viewb5c9c-dock-item.viewb5c9c-is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--viewb5c9c-accent), var(--viewb5c9c-crimson));
  border-radius: 0 0 2px 2px;
}

/* Promo dock roles carry a small crimson pulse dot */
.viewb5c9c-dock-item.viewb5c9c-is-promo::after {
  content: "";
  position: absolute;
  top: 8px;
  right: calc(50% - 16px);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--viewb5c9c-crimson);
}

@keyframes viewb5c9cPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.viewb5c9c-dock-item.viewb5c9c-is-promo::after {
  animation: viewb5c9cPulse 2.2s infinite;
}

/* --------------------------------------------------------------------------
   13. Help-page reading structures
   -------------------------------------------------------------------------- */
.viewb5c9c-map {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.viewb5c9c-map-node,
.viewb5c9c-device-row,
.viewb5c9c-gate-row,
.viewb5c9c-payment-step,
.viewb5c9c-condition {
  border: 1px solid var(--viewb5c9c-line);
  background: var(--viewb5c9c-panel);
  border-radius: var(--viewb5c9c-radius-sm);
}

.viewb5c9c-map-node {
  padding: 12px;
  border-top: 3px solid var(--viewb5c9c-accent);
}

.viewb5c9c-map-index,
.viewb5c9c-device-label,
.viewb5c9c-condition-mark {
  display: block;
  font-family: var(--viewb5c9c-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--viewb5c9c-accent);
}

.viewb5c9c-map-node p,
.viewb5c9c-device-row p,
.viewb5c9c-gate-row p,
.viewb5c9c-payment-step p,
.viewb5c9c-condition p {
  font-size: 13px;
  margin: 0 0 9px;
}

.viewb5c9c-map-action,
.viewb5c9c-condition-cta,
.viewb5c9c-text-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--viewb5c9c-pale);
  font-family: var(--viewb5c9c-font-mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--viewb5c9c-accent);
}

.viewb5c9c-map-action:hover,
.viewb5c9c-condition-cta:hover,
.viewb5c9c-text-cta:hover {
  color: var(--viewb5c9c-text-strong);
  text-decoration: none;
}

.viewb5c9c-inline-cta {
  margin-top: 14px;
}

.viewb5c9c-device-list,
.viewb5c9c-gate-list,
.viewb5c9c-payment-flow,
.viewb5c9c-conditional {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.viewb5c9c-device-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 9px;
  padding: 11px;
}

.viewb5c9c-device-row p {
  grid-column: 2;
  margin-top: -4px;
}

.viewb5c9c-ladder-item .viewb5c9c-ladder-text {
  color: var(--viewb5c9c-text);
}

.viewb5c9c-gate-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 9px;
  padding: 11px;
  border-left: 3px solid var(--viewb5c9c-crimson);
}

.viewb5c9c-gate-state {
  color: var(--viewb5c9c-crimson);
  font-family: var(--viewb5c9c-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding-top: 3px;
}

.viewb5c9c-gate-row .viewb5c9c-text-cta,
.viewb5c9c-payment-step .viewb5c9c-text-cta {
  grid-column: 2;
  justify-self: start;
}

.viewb5c9c-direct {
  border-left: 3px solid var(--viewb5c9c-crimson);
  background: var(--viewb5c9c-panel);
  padding: 11px 12px;
  color: var(--viewb5c9c-text-strong);
  font-size: 14px;
  font-weight: 700;
}

.viewb5c9c-condition {
  padding: 12px;
  border-left: 3px solid var(--viewb5c9c-accent);
}

.viewb5c9c-condition-mark {
  margin-bottom: 5px;
}

.viewb5c9c-payment-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  padding: 11px;
  border-top: 3px solid var(--viewb5c9c-accent);
}

.viewb5c9c-payment-number {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  font-family: var(--viewb5c9c-font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--viewb5c9c-pale);
  padding-top: 2px;
}

.viewb5c9c-payment-step .viewb5c9c-h3 {
  margin-bottom: 5px;
}

.viewb5c9c-answer-stack {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}

.viewb5c9c-answer-stack p {
  margin: 0;
  padding: 10px 11px;
  border-left: 2px solid var(--viewb5c9c-accent);
  background: rgba(55, 76, 104, 0.65);
  font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   14. Breakpoints
   -------------------------------------------------------------------------- */

/* Larger phones: roomier hero + wider game grid */
@media (min-width: 375px) {
  .viewb5c9c-hero-title {
    font-size: 27px;
  }

  .viewb5c9c-gamebar-name {
    font-size: 13px;
  }
}

/* 400-430px: three game bars per row keeps strips compact */
@media (min-width: 400px) {
  .viewb5c9c-gamegrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .viewb5c9c-gamebar {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-height: 0;
    padding: 7px;
  }

  .viewb5c9c-gamebar-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .viewb5c9c-gamebar-name {
    min-height: 34px;
    -webkit-line-clamp: 2;
  }

  .viewb5c9c-ext-dir {
    column-gap: 18px;
  }
}

/* Wide screens: keep the centered phone canvas as a framed device column */
@media (min-width: 431px) {
  body {
    background:
      radial-gradient(60% 40% at 50% 0%, rgba(255, 105, 180, 0.07), transparent 70%),
      var(--viewb5c9c-bg-deeper);
  }

  .viewb5c9c-canvas {
    box-shadow: 0 0 60px rgba(5, 10, 18, 0.65);
    border-inline: 1px solid var(--viewb5c9c-line);
  }
}

/* --------------------------------------------------------------------------
   14. Motion preferences & print hygiene
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .viewb5c9c-drawer,
  .viewb5c9c-scrim,
  .viewb5c9c-tabline,
  .viewb5c9c-gamebar,
  .viewb5c9c-path,
  .viewb5c9c-featcell,
  .viewb5c9c-ext-act,
  .viewb5c9c-map-node,
  .viewb5c9c-device-row,
  .viewb5c9c-gate-row,
  .viewb5c9c-payment-step,
  .viewb5c9c-condition,
  .viewb5c9c-cta-main,
  .viewb5c9c-dot::before,
  .viewb5c9c-dock-item.viewb5c9c-is-promo::after {
    transition: none !important;
    animation: none !important;
  }

  .viewb5c9c-rise {
    animation: none !important;
  }
}

@media print {
  .viewb5c9c-topbar,
  .viewb5c9c-dock,
  .viewb5c9c-drawer,
  .viewb5c9c-scrim,
  .viewb5c9c-carousel {
    display: none !important;
  }

  body {
    background: #fff;
    color: #1a2637;
  }
}
