@charset "utf-8";

/*!
 * Play Time App - display adaptive stylesheet
 * Scope: header, slide-up route panel, hero carousel, dense game grids,
 *        content modules, extended footer and the five-role mobile rail.
 * Every custom class shares the c0c236- prefix.
 * Palette reference: #E9ECEF | #95A5A6 | #0A0A0A | #808080 | #DCDCDC
 */

:root {
  --c0c236-ink: #0A0A0A;
  --c0c236-ink-soft: #141414;
  --c0c236-ink-card: #1a1a1a;
  --c0c236-ink-edge: #232323;
  --c0c236-paper: #E9ECEF;
  --c0c236-paper-dim: #DCDCDC;
  --c0c236-mute: #95A5A6;
  --c0c236-line: #808080;
  --c0c236-max-canvas: 430px;
  --c0c236-rail-h: 64px;
  --c0c236-header-h: 56px;
  --c0c236-touch: 44px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  background-color: var(--c0c236-ink);
  color: var(--c0c236-paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Roboto, "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  word-break: break-word;
  overflow-x: hidden;
  /* Reserve room for the fixed bottom rail. */
  padding-bottom: calc(var(--c0c236-rail-h) + env(safe-area-inset-bottom, 0px));
}

body.c0c236-scroll-locked {
  overflow: hidden;
}

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

a {
  color: var(--c0c236-paper);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--c0c236-paper);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  margin: 0 0 8px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c0c236-paper);
}

p {
  margin: 0 0 12px;
  color: var(--c0c236-paper-dim);
}

ul, ol {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--c0c236-paper-dim);
}

li {
  margin-bottom: 6px;
}

/* Center the phone canvas on wider screens. */
.c0c236-shell {
  width: 100%;
  max-width: var(--c0c236-max-canvas);
  margin: 0 auto;
  position: relative;
  background-color: var(--c0c236-ink);
  min-height: 100vh;
}

/* Visually hidden but available to assistive tech. */
.c0c236-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================= */
/* Top label-style header bar                                    */
/* ============================================================= */
.c0c236-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  max-width: var(--c0c236-max-canvas);
  margin: 0 auto;
  background: linear-gradient(180deg, #0c0c0c 0%, #050505 100%);
  border-bottom: 1px solid rgba(128, 128, 128, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  min-height: var(--c0c236-header-h);
}

.c0c236-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.c0c236-brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #000;
  border: 1px solid rgba(233, 236, 239, 0.18);
}

.c0c236-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.c0c236-brand__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--c0c236-paper);
  white-space: nowrap;
}

.c0c236-brand__tag {
  font-size: 10.5px;
  color: var(--c0c236-mute);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.c0c236-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.c0c236-btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: 999px;
  min-height: var(--c0c236-touch);
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.4px;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.c0c236-btn--ghost {
  background: transparent;
  color: var(--c0c236-paper);
  border: 1px solid rgba(233, 236, 239, 0.28);
}

.c0c236-btn--ghost:hover {
  border-color: var(--c0c236-paper-dim);
}

.c0c236-btn--primary {
  background: var(--c0c236-paper);
  color: var(--c0c236-ink);
}

.c0c236-btn--primary:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.c0c236-btn--compact {
  padding: 8px 12px;
  font-size: 12.5px;
}

.c0c236-icon-btn {
  width: var(--c0c236-touch);
  height: var(--c0c236-touch);
  border-radius: 12px;
  border: 1px solid rgba(233, 236, 239, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--c0c236-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.c0c236-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.c0c236-icon-btn svg {
  width: 22px;
  height: 22px;
}

/* ============================================================= */
/* Slide-up route panel                                          */
/* ============================================================= */
.c0c236-route-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  pointer-events: none;
}

.c0c236-route-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.c0c236-route-panel__sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: var(--c0c236-max-canvas);
  margin: 0 auto;
  background: linear-gradient(180deg, #111111 0%, #070707 100%);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  border-top: 1px solid rgba(128, 128, 128, 0.5);
  transform: translateY(110%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 18px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.55);
}

.c0c236-route-panel--open {
  visibility: visible;
  pointer-events: auto;
}

.c0c236-route-panel--open .c0c236-route-panel__backdrop {
  opacity: 1;
}

.c0c236-route-panel--open .c0c236-route-panel__sheet {
  transform: translateY(0);
}

.c0c236-route-panel__handle {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: rgba(220, 220, 220, 0.4);
  margin: 0 auto 14px;
}

.c0c236-route-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.c0c236-route-panel__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--c0c236-paper);
}

.c0c236-route-panel__close {
  background: transparent;
  border: 0;
  color: var(--c0c236-paper-dim);
  font-size: 13px;
  cursor: pointer;
  min-height: var(--c0c236-touch);
  padding: 0 8px;
}

.c0c236-route-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.c0c236-route-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(128, 128, 128, 0.28);
  color: var(--c0c236-paper);
  min-height: 52px;
}

.c0c236-route-tile:hover,
.c0c236-route-tile:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(220, 220, 220, 0.6);
}

.c0c236-route-tile__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(233, 236, 239, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.c0c236-route-tile__mark svg {
  width: 16px;
  height: 16px;
}

.c0c236-route-tile__label {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.c0c236-route-tile__name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c0c236-paper);
}

.c0c236-route-tile__hint {
  font-size: 11px;
  color: var(--c0c236-mute);
}

.c0c236-route-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

/* ============================================================= */
/* Hero carousel                                                 */
/* ============================================================= */
.c0c236-hero {
  position: relative;
  margin: 14px 12px 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(128, 128, 128, 0.35);
  background: #050505;
}

.c0c236-hero__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.c0c236-hero-track {
  position: absolute;
  inset: 0;
}

.c0c236-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0s linear 0.55s;
  background-size: cover;
  background-position: center;
  background-color: #0a0a0a;
}

.c0c236-hero-slide--visible {
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.c0c236-hero-slide__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 30%, rgba(10,10,10,0.85) 100%);
}

.c0c236-hero-slide__copy {
  position: relative;
  z-index: 1;
  max-width: 90%;
}

.c0c236-hero-slide__eyebrow {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--c0c236-paper-dim);
  margin-bottom: 6px;
}

.c0c236-hero-slide__title {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #fff;
}

.c0c236-hero-slide__text {
  font-size: 13px;
  margin: 0 0 10px;
  color: var(--c0c236-paper-dim);
}

.c0c236-hero-slide__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c0c236-paper);
  color: var(--c0c236-ink);
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 700;
  min-height: var(--c0c236-touch);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.c0c236-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(220, 220, 220, 0.4);
  color: var(--c0c236-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.c0c236-hero__arrow:hover {
  background: rgba(0, 0, 0, 0.75);
}

.c0c236-hero__arrow svg {
  width: 18px;
  height: 18px;
}

.c0c236-hero__prev {
  left: 8px;
}

.c0c236-hero__next {
  right: 8px;
}

.c0c236-hero__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}

.c0c236-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(220, 220, 220, 0.4);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.c0c236-hero-dot--active {
  background: var(--c0c236-paper);
  width: 18px;
  border-radius: 4px;
}

/* ============================================================= */
/* Section scaffolding                                           */
/* ============================================================= */
.c0c236-page-title {
  margin: 14px 12px 0;
  font-size: 22px;
  letter-spacing: -0.25px;
}

.c0c236-section {
  padding: 18px 12px 4px;
}

.c0c236-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.c0c236-section__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--c0c236-paper);
  margin: 0;
  position: relative;
  padding-left: 12px;
}

.c0c236-section__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: var(--c0c236-paper);
}

.c0c236-section__more {
  font-size: 12px;
  color: var(--c0c236-paper-dim);
  border: 1px solid rgba(220, 220, 220, 0.35);
  border-radius: 999px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
}

.c0c236-section__more:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================================= */
/* Quick action chips                                            */
/* ============================================================= */
.c0c236-chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 12px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.c0c236-chip-row::-webkit-scrollbar {
  display: none;
}

.c0c236-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(128, 128, 128, 0.3);
  color: var(--c0c236-paper);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  min-height: var(--c0c236-touch);
}

.c0c236-chip:hover {
  background: rgba(255, 255, 255, 0.09);
}

.c0c236-chip svg {
  width: 14px;
  height: 14px;
}

/* ============================================================= */
/* Dense game grid                                               */
/* ============================================================= */
.c0c236-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.c0c236-game-card {
  position: relative;
  display: block;
  background: var(--c0c236-ink-card);
  border: 1px solid rgba(128, 128, 128, 0.25);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  text-align: left;
  padding: 0;
  color: inherit;
  font: inherit;
}

.c0c236-game-card:hover,
.c0c236-game-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(220, 220, 220, 0.65);
}

.c0c236-game-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.c0c236-game-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.c0c236-game-card:hover .c0c236-game-card__img {
  transform: scale(1.06);
}

.c0c236-game-card__tag {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 9.5px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.65);
  color: var(--c0c236-paper-dim);
  padding: 2px 6px;
  border-radius: 6px;
}

.c0c236-game-card__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.25;
  color: var(--c0c236-paper-dim);
  padding: 5px 6px 7px;
  min-height: 36px;
  font-weight: 500;
  text-align: center;
}

.c0c236-game-card__name b {
  color: var(--c0c236-paper);
  font-weight: 600;
}

/* Promo variant: bigger, banner-style entry used in VIP/promo blocks. */
.c0c236-promo-card {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(128, 128, 128, 0.35);
  background: #070707;
  padding: 14px;
  cursor: pointer;
}

.c0c236-promo-card:hover {
  border-color: rgba(220, 220, 220, 0.7);
}

.c0c236-promo-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c0c236-paper);
  margin: 0 0 4px;
}

.c0c236-promo-card__text {
  font-size: 12.5px;
  color: var(--c0c236-paper-dim);
  margin: 0;
}

/* ============================================================= */
/* CTA buttons and ripple                                        */
/* ============================================================= */
.c0c236-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.c0c236-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c0c236-paper);
  color: var(--c0c236-ink);
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 700;
  min-height: var(--c0c236-touch);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.c0c236-cta:hover {
  transform: translateY(-1px);
}

.c0c236-cta--ghost {
  background: transparent;
  color: var(--c0c236-paper);
  border: 1px solid rgba(220, 220, 220, 0.5);
}

.c0c236-cta--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.c0c236-cta svg,
.c0c236-hero-slide__action svg {
  width: 14px;
  height: 14px;
}

.c0c236-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  animation: c0c236-ripple-anim 0.6s ease-out;
}

@keyframes c0c236-ripple-anim {
  to {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* ============================================================= */
/* Content modules                                              */
/* ============================================================= */
.c0c236-card {
  background: var(--c0c236-ink-card);
  border: 1px solid rgba(128, 128, 128, 0.22);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
}

.c0c236-card__title {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--c0c236-paper);
}

.c0c236-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--c0c236-paper-dim);
}

.c0c236-card p a {
  color: var(--c0c236-paper);
  text-decoration: underline;
  text-decoration-color: rgba(220, 220, 220, 0.5);
  text-underline-offset: 2px;
}

.c0c236-card p a:hover {
  text-decoration-color: var(--c0c236-paper);
}

.c0c236-card h3 {
  font-size: 14px;
  margin: 14px 0 6px;
  color: var(--c0c236-paper);
}

.c0c236-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.c0c236-feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(128, 128, 128, 0.22);
  border-radius: 12px;
  padding: 12px;
}

.c0c236-feature__label {
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--c0c236-mute);
  margin-bottom: 4px;
}

.c0c236-feature__value {
  font-size: 13px;
  font-weight: 600;
  color: var(--c0c236-paper);
}

.c0c236-feature__hint {
  font-size: 11.5px;
  color: var(--c0c236-paper-dim);
  margin-top: 4px;
}

.c0c236-winners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.c0c236-winner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(128, 128, 128, 0.2);
}

.c0c236-winner__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: rgba(233, 236, 239, 0.12);
  color: var(--c0c236-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.c0c236-winner__body {
  min-width: 0;
  flex: 1;
}

.c0c236-winner__name {
  font-size: 13px;
  color: var(--c0c236-paper);
  font-weight: 600;
}

.c0c236-winner__game {
  font-size: 11.5px;
  color: var(--c0c236-mute);
}

.c0c236-winner__amount {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c0c236-paper);
}

.c0c236-tricks-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}

.c0c236-trick {
  display: flex;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(128, 128, 128, 0.22);
}

.c0c236-trick__num {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(233, 236, 239, 0.14);
  color: var(--c0c236-paper);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.c0c236-trick__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--c0c236-paper);
  margin: 0 0 2px;
}

.c0c236-trick__text {
  font-size: 12px;
  color: var(--c0c236-paper-dim);
  margin: 0;
}

/* Inline highlighted text link used inside body copy. */
.c0c236-inline-link {
  color: var(--c0c236-paper);
  border-bottom: 1px dashed rgba(220, 220, 220, 0.55);
  padding-bottom: 1px;
}

.c0c236-inline-link:hover {
  border-bottom-color: var(--c0c236-paper);
}

/* ============================================================= */
/* Category color accents (still within palette)                 */
/* ============================================================= */
.c0c236-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(233, 236, 239, 0.1);
  color: var(--c0c236-paper-dim);
  border: 1px solid rgba(128, 128, 128, 0.35);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 10.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* ============================================================= */
/* Extended homepage footer                                     */
/* ============================================================= */
.c0c236-home-footer {
  margin: 22px 0 0;
  padding: 18px 12px 24px;
  background: linear-gradient(180deg, #0b0b0b 0%, #050505 100%);
  border-top: 1px solid rgba(128, 128, 128, 0.3);
}

.c0c236-home-footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.c0c236-home-footer__brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #000;
  border: 1px solid rgba(233, 236, 239, 0.18);
}

.c0c236-home-footer__brand-text h3 {
  margin: 0;
  font-size: 14px;
  color: var(--c0c236-paper);
}

.c0c236-home-footer__brand-text span {
  font-size: 11px;
  color: var(--c0c236-mute);
}

.c0c236-home-footer__about {
  font-size: 12.5px;
  color: var(--c0c236-paper-dim);
  margin-bottom: 14px;
  line-height: 1.6;
}

.c0c236-home-footer__group {
  margin-bottom: 14px;
}

.c0c236-home-footer__group h4 {
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--c0c236-mute);
  margin: 0 0 8px;
}

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

.c0c236-home-footer__links li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--c0c236-paper-dim);
  padding: 6px 0;
}

.c0c236-home-footer__links li a:hover {
  color: var(--c0c236-paper);
}

.c0c236-home-footer__links svg {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}

.c0c236-home-footer__promo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.c0c236-home-footer__promo {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.c0c236-home-footer__promo:hover {
  border-color: rgba(220, 220, 220, 0.6);
}

.c0c236-home-footer__promo span {
  font-size: 10.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--c0c236-mute);
}

.c0c236-home-footer__promo strong {
  font-size: 12.5px;
  color: var(--c0c236-paper);
}

.c0c236-home-footer__note {
  font-size: 11px;
  color: var(--c0c236-mute);
  line-height: 1.55;
  border-top: 1px dashed rgba(128, 128, 128, 0.4);
  padding-top: 10px;
}

/* ============================================================= */
/* Universal site footer (copyright)                            */
/* ============================================================= */
.c0c236-footer {
  padding: 16px 14px calc(20px + env(safe-area-inset-bottom, 0px));
  background: #050505;
  border-top: 1px solid rgba(128, 128, 128, 0.3);
  text-align: center;
}

.c0c236-footer__brand {
  font-size: 13px;
  font-weight: 700;
  color: var(--c0c236-paper);
  margin-bottom: 4px;
}

.c0c236-footer__copy {
  font-size: 11px;
  color: var(--c0c236-mute);
  line-height: 1.6;
}

/* ============================================================= */
/* Fixed five-role bottom rail                                  */
/* ============================================================= */
.c0c236-rail {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--c0c236-max-canvas);
  height: calc(var(--c0c236-rail-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: linear-gradient(180deg, rgba(8,8,8,0.96) 0%, rgba(0,0,0,0.98) 100%);
  border-top: 1px solid rgba(128, 128, 128, 0.35);
  display: flex;
  z-index: 70;
}

.c0c236-rail__indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 3px;
  background: var(--c0c236-paper);
  border-radius: 0 0 4px 4px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), width 0.28s ease;
}

.c0c236-rail-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px 4px;
  background: transparent;
  border: 0;
  color: var(--c0c236-mute);
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  position: relative;
  min-height: var(--c0c236-rail-h);
  transition: color 0.22s ease;
}

.c0c236-rail-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s ease;
}

.c0c236-rail-item--promo svg {
  fill: currentColor;
  stroke: currentColor;
}

.c0c236-rail-item:hover {
  color: var(--c0c236-paper-dim);
}

.c0c236-rail-item--active {
  color: var(--c0c236-paper);
}

.c0c236-rail-item--active svg {
  transform: translateY(-1px) scale(1.06);
  fill: rgba(233, 236, 239, 0.16);
}

.c0c236-rail-item--promo.c0c236-rail-item--active svg {
  fill: var(--c0c236-paper);
}

.c0c236-rail-item__label {
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================================= */
/* Larger phones: 4 -> 5 game columns                          */
/* ============================================================= */
@media (min-width: 360px) {
  body { font-size: 15.5px; }
  .c0c236-game-grid { gap: 9px; }
  .c0c236-section__title { font-size: 18px; }
  .c0c236-hero-slide__title { font-size: 21px; }
}

@media (min-width: 390px) {
  .c0c236-game-grid { grid-template-columns: repeat(5, 1fr); }
  .c0c236-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .c0c236-home-footer__links { grid-template-columns: repeat(2, 1fr); }
}

/* Honor reduced motion for accessibility. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ============================================================= */
/* Help-page reading patterns                                    */
/* ============================================================= */
.c0c236-help-main {
  padding: 18px 12px 24px;
}

.c0c236-help-kicker {
  margin: 0 0 8px;
  color: var(--c0c236-mute);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.c0c236-help-lede {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--c0c236-paper);
}

.c0c236-help-answer {
  border-left: 3px solid var(--c0c236-paper);
  padding: 12px 14px;
  margin: 0 0 18px;
  background: rgba(233, 236, 239, 0.07);
  color: var(--c0c236-paper);
  font-size: 14px;
}

.c0c236-help-main h2 {
  margin: 24px 0 10px;
  font-size: 18px;
  color: var(--c0c236-paper);
}

.c0c236-help-main h3 {
  margin: 14px 0 5px;
  font-size: 14px;
  color: var(--c0c236-paper);
}

.c0c236-help-main p,
.c0c236-help-main li {
  font-size: 13.5px;
  color: var(--c0c236-paper-dim);
}

.c0c236-help-main a:not(.c0c236-cta) {
  color: var(--c0c236-paper);
  text-decoration: underline;
  text-decoration-color: rgba(220, 220, 220, 0.55);
  text-underline-offset: 2px;
}

.c0c236-help-steps {
  display: grid;
  gap: 9px;
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: help-step;
}

.c0c236-help-steps li {
  counter-increment: help-step;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0;
  padding: 11px;
  background: var(--c0c236-ink-card);
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 8px;
}

.c0c236-help-steps li::before {
  content: counter(help-step, decimal-leading-zero);
  display: grid;
  place-items: center;
  min-height: 30px;
  background: var(--c0c236-paper);
  color: var(--c0c236-ink);
  border-radius: 5px;
  font: 700 11px/1 "SFMono-Regular", Consolas, monospace;
}

.c0c236-help-steps strong,
.c0c236-help-facts strong {
  color: var(--c0c236-paper);
}

.c0c236-help-facts {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
}

.c0c236-help-fact {
  padding: 11px 12px;
  border-top: 1px solid rgba(220, 220, 220, 0.45);
  border-bottom: 1px solid rgba(128, 128, 128, 0.25);
}

.c0c236-help-fact p { margin: 4px 0 0; }

.c0c236-help-callout {
  margin: 14px 0;
  padding: 14px;
  background: rgba(128, 128, 128, 0.12);
  border: 1px solid rgba(220, 220, 220, 0.35);
  border-radius: 8px;
}

.c0c236-help-callout p:last-child { margin-bottom: 0; }

.c0c236-help-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 4px;
}

.c0c236-safety-main {
  padding: 16px 12px 26px;
}

.c0c236-safety-main h2 {
  margin: 25px 0 9px;
  font-size: 18px;
  color: var(--c0c236-paper);
}

.c0c236-safety-main h3 {
  margin: 13px 0 5px;
  font-size: 14px;
  color: var(--c0c236-paper);
}

.c0c236-safety-main p,
.c0c236-safety-main li {
  font-size: 13.5px;
  color: var(--c0c236-paper-dim);
}

.c0c236-safety-intro {
  padding: 13px 14px;
  margin: 10px 0 18px;
  background: var(--c0c236-ink-card);
  border-right: 4px solid var(--c0c236-paper);
}

.c0c236-safety-intro p:last-child { margin-bottom: 0; }

.c0c236-risk-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
}

.c0c236-risk-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(128, 128, 128, 0.3);
  background: rgba(255, 255, 255, 0.035);
}

.c0c236-risk-level {
  align-self: start;
  padding: 5px 4px;
  border: 1px solid rgba(220, 220, 220, 0.5);
  color: var(--c0c236-paper);
  font: 700 10px/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .5px;
  text-align: center;
  text-transform: uppercase;
}

.c0c236-risk-row p { margin: 0; }

.c0c236-checks {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 11px 0 17px;
  list-style: none;
}

.c0c236-checks li {
  padding: 10px 10px 10px 30px;
  position: relative;
  border-bottom: 1px dashed rgba(128, 128, 128, 0.45);
}

.c0c236-checks li::before {
  content: "✓";
  position: absolute;
  left: 8px;
  color: var(--c0c236-paper);
  font-weight: 800;
}

.c0c236-qa {
  border-top: 1px solid rgba(128, 128, 128, 0.4);
}

.c0c236-qa details {
  padding: 12px 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.3);
}

.c0c236-qa summary {
  cursor: pointer;
  color: var(--c0c236-paper);
  font-weight: 700;
  min-height: 44px;
  padding: 10px 0;
}

.c0c236-qa p { margin: 6px 0 0; }

@media (min-width: 390px) {
  .c0c236-help-main,
  .c0c236-safety-main { padding-left: 16px; padding-right: 16px; }
}
