/* ==========================================================================
   c54331.click - surface stylesheet
   Palette: #141414 base / #6A5ACD signal / #FF5722 action / #FFDFBA text
   Tone: tech headings + open body text, stroke-led corners, grouped cover
   cards, fact-first rhythm, motion reserved for key CTAs only.
   All selectors and variables carry the layere4323- prefix.
   ========================================================================== */

:root {
  --layere4323-ink: #141414;
  --layere4323-ink-2: #1d1c21;
  --layere4323-ink-3: #26242d;
  --layere4323-line: #3a3745;
  --layere4323-signal: #6A5ACD;
  --layere4323-signal-soft: #8b7ed6;
  --layere4323-action: #FF5722;
  --layere4323-action-deep: #e64a19;
  --layere4323-paper: #FFDFBA;
  --layere4323-paper-dim: rgba(255, 223, 186, 0.68);
  --layere4323-paper-faint: rgba(255, 223, 186, 0.42);
  --layere4323-shell: 100%;
  --layere4323-edge: 10px;
  --layere4323-edge-lg: 14px;
  --layere4323-tap: 44px;
  --layere4323-head-font: "Rajdhani", "Segoe UI Semibold", system-ui, sans-serif;
  --layere4323-body-font: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: #0c0b0e;
  color: var(--layere4323-paper);
  font-family: var(--layere4323-body-font);
  font-size: 15px;
  line-height: 1.62;
  letter-spacing: 0.1px;
  min-height: 100vh;
}

/* Wide screens keep the phone canvas centered */
.layere4323-shell {
  width: var(--layere4323-shell);
  max-width: 430px;
  margin: 0 auto;
  background: var(--layere4323-ink);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 42px rgba(0, 0, 0, 0.65);
  overflow-x: hidden;
}

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

a { color: var(--layere4323-signal-soft); text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--layere4323-action);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--layere4323-head-font);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   Top action bar - LOGO leads, actions sit apart
   ========================================================================== */

.layere4323-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, #191820 0%, var(--layere4323-ink) 100%);
  border-bottom: 1px solid var(--layere4323-line);
  padding: 8px 12px 10px;
}

.layere4323-topbar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
}

.layere4323-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  min-width: 0;
}

.layere4323-brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid var(--layere4323-signal);
  padding: 2px;
  background: #0f0e12;
  flex: 0 0 auto;
}

.layere4323-brand-name {
  font-family: var(--layere4323-head-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--layere4323-paper);
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.layere4323-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.layere4323-btn {
  font-family: var(--layere4323-head-font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  min-height: var(--layere4323-tap);
  min-width: 44px;
  padding: 9px 14px;
  border-radius: var(--layere4323-edge);
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: none;
  color: var(--layere4323-paper);
  transition: transform 0.12s ease, filter 0.12s ease;
}

.layere4323-btn:active { transform: scale(0.96); }

/* Segmented action buttons: primary filled, partner outlined */
.layere4323-btn-action {
  background: linear-gradient(160deg, var(--layere4323-action) 0%, var(--layere4323-action-deep) 100%);
  border-color: #ff7043;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
}

.layere4323-btn-outline {
  border-color: var(--layere4323-signal);
  color: var(--layere4323-signal-soft);
  background: rgba(106, 90, 205, 0.08);
}

.layere4323-btn-menu {
  border-color: var(--layere4323-line);
  color: var(--layere4323-paper-dim);
  padding: 9px 11px;
  gap: 6px;
}

.layere4323-btn-menu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.layere4323-menu-hint { display: none; }
@media (min-width: 376px) { .layere4323-menu-hint { display: inline; font-size: 13px; } }

/* Compact route panel */
.layere4323-routes {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.layere4323-routes[data-open="1"] { max-height: 560px; }

.layere4323-routes-inner {
  margin-top: 10px;
  border: 1px solid var(--layere4323-line);
  border-radius: var(--layere4323-edge);
  background: var(--layere4323-ink-2);
  padding: 8px;
}

.layere4323-routes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.layere4323-route {
  font-family: var(--layere4323-body-font);
  font-size: 13.5px;
  color: var(--layere4323-paper-dim);
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--layere4323-line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  background: #16151b;
}

.layere4323-route[aria-current="page"] {
  background: var(--layere4323-paper);
  color: var(--layere4323-ink);
  border-color: var(--layere4323-paper);
  font-weight: 600;
}

/* ==========================================================================
   Main flow
   ========================================================================== */

main {
  padding-bottom: 96px; /* keep content clear of the fixed bottom bar */
}

.layere4323-strip {
  padding: 18px 14px 6px;
}

.layere4323-hero-kicker {
  font-family: var(--layere4323-head-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--layere4323-signal-soft);
  margin-bottom: 6px;
}

.layere4323-hero-title {
  font-size: 30px;
  color: var(--layere4323-paper);
  margin-bottom: 10px;
}

.layere4323-hero-title em {
  font-style: normal;
  color: var(--layere4323-action);
}

.layere4323-lede {
  color: var(--layere4323-paper-dim);
  font-size: 14.5px;
  margin-bottom: 14px;
}

.layere4323-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.layere4323-cta-row .layere4323-btn { flex: 1 1 140px; }

.layere4323-factline {
  display: flex;
  gap: 8px;
  margin: 16px 0 4px;
  padding: 10px 12px;
  border: 1px dashed var(--layere4323-line);
  border-radius: var(--layere4323-edge);
  font-size: 13px;
  color: var(--layere4323-paper-dim);
  background: rgba(255, 255, 255, 0.02);
}

.layere4323-factline strong { color: var(--layere4323-paper); font-weight: 600; }

/* ==========================================================================
   Promo carousel
   ========================================================================== */

.layere4323-carousel {
  position: relative;
  margin: 14px 14px 0;
  border: 1px solid var(--layere4323-line);
  border-radius: var(--layere4323-edge-lg);
  overflow: hidden;
  background: var(--layere4323-ink-2);
}

.layere4323-slides {
  display: flex;
  transition: transform 0.36s ease;
}

.layere4323-slide {
  flex: 0 0 100%;
  cursor: pointer;
  position: relative;
}

.layere4323-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.layere4323-slide span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-family: var(--layere4323-head-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--layere4323-paper);
  background: rgba(20, 20, 20, 0.78);
  border: 1px solid var(--layere4323-action);
  border-radius: 7px;
  padding: 4px 10px;
}

.layere4323-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 10px;
}

.layere4323-dots { display: flex; gap: 7px; }

.layere4323-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--layere4323-signal-soft);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.layere4323-dot[data-on="1"] { background: var(--layere4323-action); border-color: var(--layere4323-action); }

.layere4323-carousel-arrows { display: flex; gap: 8px; }

.layere4323-arrow {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--layere4323-line);
  background: #16151b;
  color: var(--layere4323-paper-dim);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.layere4323-arrow svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.layere4323-arrow:active { background: var(--layere4323-ink-3); }

/* ==========================================================================
   Game groups - grouped cover cards
   ========================================================================== */

.layere4323-sec {
  padding: 24px 14px 4px;
}

.layere4323-sec-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 2px solid var(--layere4323-signal);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.layere4323-sec-head h2 {
  font-size: 21px;
  color: var(--layere4323-paper);
}

.layere4323-sec-tag {
  font-family: var(--layere4323-head-font);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--layere4323-action);
  white-space: nowrap;
  margin-left: auto;
}

.layere4323-sec-note {
  font-size: 13px;
  color: var(--layere4323-paper-faint);
  margin: 8px 0 12px;
}

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

@media (min-width: 376px) {
  .layere4323-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
}

.layere4323-game {
  cursor: pointer;
  border: 1px solid var(--layere4323-line);
  border-radius: var(--layere4323-edge);
  background: var(--layere4323-ink-2);
  padding: 5px 5px 7px;
  text-align: center;
  transition: border-color 0.15s ease;
}

.layere4323-game:active { border-color: var(--layere4323-action); }

.layere4323-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px;
  background: #0f0e12;
}

.layere4323-game figcaption,
.layere4323-game-title {
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--layere4323-paper-dim);
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 30px;
}

/* ==========================================================================
   Editorial modules
   ========================================================================== */

.layere4323-block {
  margin: 26px 14px 0;
  border: 1px solid var(--layere4323-line);
  border-radius: var(--layere4323-edge-lg);
  background: var(--layere4323-ink-2);
  padding: 16px 14px 18px;
}

.layere4323-block > h2 {
  font-size: 19.5px;
  color: var(--layere4323-paper);
  margin-bottom: 10px;
}

.layere4323-block h3 {
  font-size: 16px;
  color: var(--layere4323-signal-soft);
  margin: 14px 0 6px;
}

.layere4323-block p {
  color: var(--layere4323-paper-dim);
  font-size: 14.5px;
  margin-bottom: 10px;
}

.layere4323-block ul, .layere4323-block ol {
  margin: 0 0 10px 18px;
  color: var(--layere4323-paper-dim);
  font-size: 14.5px;
}

.layere4323-block li { margin-bottom: 6px; }

.layere4323-answer {
  border-left: 3px solid var(--layere4323-signal);
  padding: 8px 12px;
  margin-bottom: 12px;
  background: rgba(106, 90, 205, 0.07);
  border-radius: 0 8px 8px 0;
}

.layere4323-answer p { margin: 0; color: var(--layere4323-paper); font-size: 14px; }

/* Quote cards for player voices */
.layere4323-voices {
  display: grid;
  gap: 10px;
}

.layere4323-voice {
  border: 1px solid var(--layere4323-line);
  border-radius: var(--layere4323-edge);
  padding: 12px;
  background: #16151b;
}

.layere4323-voice-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.layere4323-voice-who {
  font-family: var(--layere4323-head-font);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--layere4323-paper);
}

.layere4323-voice-meta {
  font-size: 11.5px;
  color: var(--layere4323-paper-faint);
  margin-left: auto;
}

.layere4323-voice p { margin: 0; font-size: 13.5px; }

/* Feature comparison rows */
.layere4323-feat {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px 12px;
  align-items: start;
  border: 1px dashed var(--layere4323-line);
  border-radius: var(--layere4323-edge);
  padding: 10px 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.layere4323-feat dt {
  font-family: var(--layere4323-head-font);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--layere4323-action);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.layere4323-feat dd { font-size: 13.5px; color: var(--layere4323-paper-dim); }

/* Checklist */
.layere4323-check { list-style: none; margin-left: 0; }

.layere4323-check li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}

.layere4323-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--layere4323-signal-soft);
  border-radius: 4px;
}

/* Style comparison mini-table */
.layere4323-styles { display: grid; gap: 10px; }

.layere4323-style {
  border: 1px solid var(--layere4323-line);
  border-radius: var(--layere4323-edge);
  padding: 11px 12px;
  background: #16151b;
}

.layere4323-style h3 { margin: 0 0 4px; font-size: 15px; }

.layere4323-style p { margin: 0; font-size: 13.5px; }

/* Steps */
.layere4323-steps { list-style: none; margin: 0; counter-reset: layere4323step; }

.layere4323-steps li {
  counter-increment: layere4323step;
  position: relative;
  padding: 0 0 10px 34px;
}

.layere4323-steps li::before {
  content: counter(layere4323step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--layere4323-action);
  border-radius: 7px;
  color: var(--layere4323-action);
  font-family: var(--layere4323-head-font);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Inline text link to promo */
.layere4323-inline-promo {
  color: var(--layere4323-action);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* ==========================================================================
   Extended footer: page directory > brand > promotions > disclaimer
   ========================================================================== */

.layere4323-extended {
  margin-top: 30px;
  border-top: 1px solid var(--layere4323-line);
  padding: 20px 14px 10px;
  background: var(--layere4323-ink-2);
}

.layere4323-ext-group { margin-bottom: 18px; }

.layere4323-ext-group > h2,
.layere4323-ext-group > h3 {
  font-size: 14px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--layere4323-signal-soft);
  margin-bottom: 8px;
}

.layere4323-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.layere4323-dir a {
  font-size: 13px;
  color: var(--layere4323-paper-dim);
  border: 1px solid var(--layere4323-line);
  border-radius: 8px;
  padding: 8px 9px;
  min-height: 40px;
  display: flex;
  align-items: center;
  background: #16151b;
}

.layere4323-dir a:active { border-color: var(--layere4323-signal); }

.layere4323-ext-brand {
  font-size: 13.5px;
  color: var(--layere4323-paper-dim);
}

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

.layere4323-promo-set .layere4323-btn { width: 100%; font-size: 13.5px; padding: 10px 8px; }

.layere4323-promo-set .layere4323-btn-wide { grid-column: 1 / -1; }

.layere4323-disclaimer {
  font-size: 12px;
  color: var(--layere4323-paper-faint);
  border-top: 1px dashed var(--layere4323-line);
  padding-top: 10px;
  line-height: 1.55;
}

/* ==========================================================================
   Common footer + layered bottom bar
   ========================================================================== */

.layere4323-footer {
  padding: 14px 14px 18px;
  border-top: 1px solid var(--layere4323-line);
  text-align: center;
  font-size: 12.5px;
  color: var(--layere4323-paper-faint);
}

.layere4323-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: linear-gradient(180deg, #1b1a21 0%, #100f13 100%);
  border-top: 1px solid var(--layere4323-line);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.45);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0));
}

.layere4323-navitem {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: none;
  background: none;
  color: var(--layere4323-paper-dim);
  font-family: var(--layere4323-body-font);
  font-size: 10.5px;
  letter-spacing: 0.2px;
  cursor: pointer;
  padding: 4px 2px;
  border-radius: 10px;
}

/* Containerized symbol tiles */
.layere4323-navitem svg {
  width: 26px;
  height: 26px;
  padding: 4px;
  border: 1px solid var(--layere4323-line);
  border-radius: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: #141318;
}

.layere4323-navitem:active svg { transform: translateY(1px); }

/* Active state: contrast inversion */
.layere4323-navitem[aria-current="page"] {
  color: var(--layere4323-ink);
  background: var(--layere4323-paper);
  font-weight: 700;
}

.layere4323-navitem[aria-current="page"] svg {
  background: var(--layere4323-action);
  border-color: var(--layere4323-action);
  stroke: #fff;
}

.layere4323-navitem-promo { color: var(--layere4323-action); }
.layere4323-navitem-promo svg { border-color: rgba(255, 87, 34, 0.55); stroke: var(--layere4323-action); }

/* ==========================================================================
   Utilities
   ========================================================================== */

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

.layere4323-ticker {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 12px 14px 4px;
  font-size: 12px;
  color: var(--layere4323-paper-faint);
  white-space: nowrap;
  scrollbar-width: none;
}

.layere4323-ticker::-webkit-scrollbar { display: none; }

.layere4323-ticker b { color: var(--layere4323-signal-soft); font-weight: 600; }

@media (max-width: 359px) {
  .layere4323-hero-title { font-size: 26px; }
  .layere4323-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .layere4323-dir, .layere4323-promo-set { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Compatible additions: icon-bearing footer CTAs and inline promo triggers
   ========================================================================== */

.layere4323-promo-set .layere4323-btn { gap: 7px; }

.layere4323-promo-set .layere4323-btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button.layere4323-inline-promo {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  display: inline;
  cursor: pointer;
}
