/* ==========================================================================
   ph366.click mobile canvas stylesheet
   Prefix: c234b7-  (site hash 234b7cf0)
   Canvas: 320-430px phone-first, centered on wide screens
   Palette: #E0E0E0 #0C0C0C #CC99FF #34495E #8A2BE2 #7B68EE (+ CTA gold)
   Design cues: sans type, knife-cut chamfer corners, light floating
   game cards, conclusion-first info rhythm, light press feedback
   ========================================================================== */

:root {
  --c234b7-ink: #E0E0E0;          /* light text on dark */
  --c234b7-night: #0C0C0C;        /* base background */
  --c234b7-mist: #CC99FF;         /* light violet accent */
  --c234b7-slate: #34495E;        /* slate panel tone */
  --c234b7-royal: #8A2BE2;        /* primary violet */
  --c234b7-peri: #7B68EE;         /* medium violet */
  --c234b7-void: #060609;         /* page backdrop outside canvas */
  --c234b7-gold: #F2C14E;         /* CTA gold top */
  --c234b7-gold-deep: #D99A2B;    /* CTA gold bottom */
  --c234b7-gold-ink: #201503;     /* text on gold */
  --c234b7-muted: #A6A9B4;        /* secondary body text */
  --c234b7-line: rgba(204, 153, 255, 0.16);
  --c234b7-panel: #141219;        /* card surface */
  --c234b7-panel-2: #1A1722;      /* raised surface */
  --c234b7-chamfer: polygon(
    12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px
  );
  --c234b7-chamfer-sm: polygon(
    8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px
  );
}

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

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

body {
  background: var(--c234b7-void);
  color: var(--c234b7-ink);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(420px 320px at 18% -6%, rgba(138, 43, 226, 0.20), transparent 70%),
    radial-gradient(380px 300px at 88% 108%, rgba(123, 104, 238, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

button, a {
  -webkit-tap-highlight-color: rgba(204, 153, 255, 0.18);
  touch-action: manipulation;
}

a { color: var(--c234b7-mist); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--c234b7-mist);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.c234b7-skip {
  position: absolute;
  left: 12px; top: -48px;
  z-index: 120;
  background: var(--c234b7-royal);
  color: #fff;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  transition: top 0.2s ease;
}
.c234b7-skip:focus { top: 8px; text-decoration: none; }

/* --------------------------------------------------------------------------
   Phone canvas shell
   -------------------------------------------------------------------------- */

.c234b7-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--c234b7-night);
  border-inline: 1px solid rgba(204, 153, 255, 0.10);
  overflow-x: clip;
}

.c234b7-main {
  padding: 76px 12px calc(92px + env(safe-area-inset-bottom, 0px));
  display: block;
}

/* --------------------------------------------------------------------------
   Top functional header (edge-aligned)
   -------------------------------------------------------------------------- */

.c234b7-topbar {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 64px;
  padding: 8px 10px;
  background: rgba(12, 12, 12, 0.94);
  border-bottom: 1px solid var(--c234b7-line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.c234b7-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 2px;
}

.c234b7-brand-logo {
  width: 32px; height: 32px;
  flex: 0 0 32px;
  border-radius: 8px;
  border: 1px solid rgba(204, 153, 255, 0.35);
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.45);
  object-fit: cover;
}

.c234b7-brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--c234b7-ink);
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(204, 153, 255, 0.35);
}

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

.c234b7-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 7px 11px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c234b7-ink);
  background: rgba(52, 73, 94, 0.35);
  border: 1px solid rgba(204, 153, 255, 0.35);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.12s ease, border-color 0.18s ease;
}
.c234b7-btn-ghost:hover { background: rgba(52, 73, 94, 0.6); }
.c234b7-btn-ghost:active { transform: scale(0.96); background: rgba(123, 104, 238, 0.35); }

.c234b7-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--c234b7-gold-ink);
  background: linear-gradient(180deg, #F7D774 0%, var(--c234b7-gold) 45%, var(--c234b7-gold-deep) 100%);
  border: 1px solid #F7D774;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(217, 154, 43, 0.35);
  transition: transform 0.12s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.c234b7-btn-gold svg { flex: 0 0 auto; }
.c234b7-btn-gold:hover { filter: brightness(1.06); }
.c234b7-btn-gold:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 2px 8px rgba(217, 154, 43, 0.3);
}

.c234b7-burger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px; height: 44px;
  flex: 0 0 44px;
  background: rgba(138, 43, 226, 0.16);
  border: 1px solid rgba(204, 153, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.12s ease;
}
.c234b7-burger span {
  display: block;
  width: 17px; height: 2px;
  border-radius: 2px;
  background: var(--c234b7-mist);
  box-shadow: 0 0 6px rgba(204, 153, 255, 0.6);
  transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}
.c234b7-burger:active { transform: scale(0.94); }
.c234b7-burger.c234b7-burger-x span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.c234b7-burger.c234b7-burger-x span:nth-child(2) { opacity: 0; width: 0; }
.c234b7-burger.c234b7-burger-x span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Stacked overlay menu
   -------------------------------------------------------------------------- */

.c234b7-drawer {
  position: fixed;
  inset: 0;
  left: 50%;
  transform: translateX(-50%) translateX(104%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: rgba(9, 8, 13, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.28s ease;
  overflow-y: auto;
  visibility: hidden;
}
.c234b7-drawer.c234b7-open { transform: translateX(-50%); visibility: visible; }

.c234b7-drawer-head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(12, 12, 12, 0.95);
  border-bottom: 1px solid var(--c234b7-line);
}
.c234b7-drawer-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--c234b7-mist);
}
.c234b7-drawer-close {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(204, 153, 255, 0.3);
  border-radius: 8px;
  background: rgba(52, 73, 94, 0.3);
  color: var(--c234b7-ink);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.c234b7-drawer-close:active { transform: scale(0.94); }

.c234b7-drawer-body { padding: 14px 14px 28px; }

.c234b7-drawer-group {
  margin-bottom: 14px;
  background: rgba(20, 18, 25, 0.9);
  border: 1px solid rgba(204, 153, 255, 0.14);
  border-radius: 12px;
  padding: 10px;
}
.c234b7-drawer-group-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c234b7-peri);
  padding: 4px 6px 8px;
}
.c234b7-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px 10px;
  border-radius: 8px;
  color: var(--c234b7-ink);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}
.c234b7-drawer-link:hover { background: rgba(138, 43, 226, 0.18); text-decoration: none; }
.c234b7-drawer-link:active { background: rgba(138, 43, 226, 0.3); }
.c234b7-drawer-link.c234b7-here {
  background: rgba(204, 153, 255, 0.14);
  color: var(--c234b7-mist);
  box-shadow: inset 3px 0 0 var(--c234b7-mist);
}
.c234b7-drawer-arrow { color: var(--c234b7-peri); font-size: 12px; }
.c234b7-drawer-cta {
  display: flex;
  gap: 8px;
  padding: 4px 2px 0;
}
.c234b7-drawer-cta .c234b7-btn-gold,
.c234b7-drawer-cta .c234b7-btn-ghost { flex: 1 1 50%; }

/* --------------------------------------------------------------------------
   Hero: headline, fact strip, promo carousel
   -------------------------------------------------------------------------- */

.c234b7-hero { padding: 14px 0 6px; }

.c234b7-h1 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--c234b7-ink);
  padding: 2px 2px 10px;
}
.c234b7-h1 em {
  font-style: normal;
  color: var(--c234b7-mist);
  text-shadow: 0 0 16px rgba(204, 153, 255, 0.5);
}

.c234b7-lede {
  font-size: 13px;
  line-height: 1.68;
  color: var(--c234b7-muted);
  padding: 0 2px 12px;
}
.c234b7-lede strong { color: var(--c234b7-ink); font-weight: 700; }

.c234b7-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 2px 0 14px;
}
.c234b7-fact {
  background: linear-gradient(180deg, rgba(52, 73, 94, 0.5), rgba(20, 18, 25, 0.9));
  border: 1px solid rgba(204, 153, 255, 0.16);
  border-radius: 10px;
  padding: 9px 8px;
  text-align: center;
  clip-path: var(--c234b7-chamfer-sm);
}
.c234b7-fact-num {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--c234b7-mist);
  line-height: 1.25;
}
.c234b7-fact-label {
  display: block;
  font-size: 10px;
  color: var(--c234b7-muted);
  letter-spacing: 0.3px;
  line-height: 1.35;
}

.c234b7-carousel {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(204, 153, 255, 0.22);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 22px rgba(138, 43, 226, 0.16);
  overflow: hidden;
  background: var(--c234b7-panel);
}
.c234b7-track {
  display: flex;
  width: 100%;
  transition: transform 0.42s ease;
}
.c234b7-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--c234b7-panel);
  cursor: pointer;
  text-align: left;
}
.c234b7-slide img {
  width: 100%;
  aspect-ratio: 2.25 / 1;
  object-fit: cover;
}
.c234b7-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 22px 12px 9px;
  background: linear-gradient(180deg, transparent, rgba(6, 6, 9, 0.92));
  pointer-events: none;
}
.c234b7-slide-cap b {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
  line-height: 1.3;
}
.c234b7-slide-cap i {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--c234b7-gold);
  white-space: nowrap;
}

.c234b7-dots {
  position: absolute;
  right: 10px; bottom: 9px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.c234b7-dot {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.c234b7-dot::after {
  content: "";
  position: absolute;
  left: 11px; top: 19px;
  width: 22px; height: 6px;
  border-radius: 4px;
  background: rgba(224, 224, 224, 0.32);
  transition: background 0.2s ease, transform 0.2s ease;
}
.c234b7-dot.c234b7-dot-on::after {
  background: linear-gradient(90deg, var(--c234b7-gold), var(--c234b7-gold-deep));
  transform: scaleY(1.25);
}

/* --------------------------------------------------------------------------
   Section headers (knife-cut bar)
   -------------------------------------------------------------------------- */

.c234b7-sec {
  margin: 22px 0 10px;
}
.c234b7-sec:first-of-type { margin-top: 16px; }

.c234b7-sec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  background: linear-gradient(90deg, rgba(138, 43, 226, 0.38), rgba(123, 104, 238, 0.10) 78%, transparent);
  border-inline-start: 3px solid var(--c234b7-royal);
  clip-path: var(--c234b7-chamfer-sm);
}
.c234b7-sec-head h2 {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--c234b7-ink);
  letter-spacing: 0.1px;
}
.c234b7-count {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--c234b7-mist);
  background: rgba(204, 153, 255, 0.12);
  border: 1px solid rgba(204, 153, 255, 0.3);
  border-radius: 20px;
  padding: 3px 9px;
  white-space: nowrap;
}

.c234b7-sec-intro {
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--c234b7-muted);
  padding: 8px 2px 4px;
}
.c234b7-sec-intro a { border-bottom: 1px dotted rgba(204, 153, 255, 0.55); }

/* --------------------------------------------------------------------------
   Game grids and floating tiles
   -------------------------------------------------------------------------- */

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

.c234b7-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 5px 7px;
  background: linear-gradient(180deg, var(--c234b7-panel-2), var(--c234b7-panel));
  border: 1px solid rgba(204, 153, 255, 0.14);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  text-align: center;
  transition: transform 0.14s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.c234b7-tile:hover {
  border-color: rgba(204, 153, 255, 0.42);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), 0 0 12px rgba(138, 43, 226, 0.22);
}
.c234b7-tile:active {
  transform: translateY(1px) scale(0.955);
  border-color: var(--c234b7-mist);
}

.c234b7-tile-art {
  display: block;
  width: 100%;
  border-radius: 7px;
  overflow: hidden;
  background: #0f0d14;
}
.c234b7-tile-art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.c234b7-tile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: #CFD1DA;
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   Prose modules
   -------------------------------------------------------------------------- */

.c234b7-prose { padding: 2px 1px 4px; }
.c234b7-prose p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c234b7-muted);
  margin: 0 0 11px;
}
.c234b7-prose p:last-child { margin-bottom: 0; }
.c234b7-prose strong { color: var(--c234b7-ink); font-weight: 700; }
.c234b7-prose a { border-bottom: 1px dotted rgba(204, 153, 255, 0.55); }
.c234b7-prose h3 {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--c234b7-mist);
  margin: 14px 0 7px;
  letter-spacing: 0.2px;
}
.c234b7-prose h3::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 7px;
  background: var(--c234b7-royal);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(138, 43, 226, 0.7);
}

.c234b7-note {
  margin: 12px 0;
  padding: 11px 12px;
  background: rgba(138, 43, 226, 0.10);
  border: 1px solid rgba(204, 153, 255, 0.24);
  border-radius: 10px;
  clip-path: var(--c234b7-chamfer-sm);
  font-size: 12.5px;
  line-height: 1.62;
  color: #D4D6DF;
}
.c234b7-note b { color: var(--c234b7-mist); }

.c234b7-compare {
  margin: 12px 0;
  border: 1px solid rgba(204, 153, 255, 0.18);
  border-radius: 10px;
  overflow: hidden;
  background: var(--c234b7-panel);
}
.c234b7-compare-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 10px 11px;
  border-bottom: 1px solid rgba(204, 153, 255, 0.10);
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--c234b7-muted);
}
.c234b7-compare-row:last-child { border-bottom: 0; }
.c234b7-compare-row b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--c234b7-mist);
  line-height: 1.4;
}

.c234b7-steps {
  list-style: none;
  counter-reset: c234b7-steps;
  margin: 12px 0;
}
.c234b7-steps li {
  counter-increment: c234b7-steps;
  position: relative;
  padding: 0 0 12px 34px;
  font-size: 12.8px;
  line-height: 1.62;
  color: var(--c234b7-muted);
}
.c234b7-steps li:last-child { padding-bottom: 0; }
.c234b7-steps li::before {
  content: counter(c234b7-steps);
  position: absolute;
  left: 0; top: 1px;
  width: 23px; height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(160deg, var(--c234b7-royal), var(--c234b7-peri));
  border-radius: 7px;
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.45);
}
.c234b7-steps li strong { color: var(--c234b7-ink); }

.c234b7-checklist {
  list-style: none;
  margin: 12px 0;
}
.c234b7-checklist li {
  position: relative;
  padding: 0 0 10px 26px;
  font-size: 12.8px;
  line-height: 1.6;
  color: var(--c234b7-muted);
}
.c234b7-checklist li:last-child { padding-bottom: 0; }
.c234b7-checklist li::before {
  content: "";
  position: absolute;
  left: 2px; top: 6px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--c234b7-gold);
  border-bottom: 2px solid var(--c234b7-gold);
  transform: rotate(-45deg);
}
.c234b7-checklist li strong { color: var(--c234b7-ink); }

.c234b7-cta-cluster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 4px;
}
.c234b7-cta-cluster .c234b7-btn-gold,
.c234b7-cta-cluster .c234b7-btn-ghost {
  min-height: 44px;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Homepage extended footer (directory > brand > promotions > disclaimer)
   -------------------------------------------------------------------------- */

.c234b7-xfoot {
  margin-top: 26px;
  border-top: 1px solid var(--c234b7-line);
  padding-top: 6px;
}

.c234b7-dir {
  margin: 12px 0;
  border: 1px solid rgba(204, 153, 255, 0.14);
  border-radius: 12px;
  background: var(--c234b7-panel);
  overflow: hidden;
}
.c234b7-dir a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(204, 153, 255, 0.08);
  color: var(--c234b7-ink);
  transition: background 0.15s ease;
}
.c234b7-dir a:last-child { border-bottom: 0; }
.c234b7-dir a:hover { background: rgba(138, 43, 226, 0.14); text-decoration: none; }
.c234b7-dir a:active { background: rgba(138, 43, 226, 0.26); }
.c234b7-dir-ico {
  flex: 0 0 20px;
  margin-top: 2px;
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c234b7-peri);
}
.c234b7-dir-txt { min-width: 0; }
.c234b7-dir-txt b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c234b7-ink);
  line-height: 1.4;
}
.c234b7-dir-txt span {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--c234b7-muted);
}

.c234b7-promos {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.c234b7-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(242, 193, 78, 0.4);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(242, 193, 78, 0.12), rgba(138, 43, 226, 0.10));
  color: var(--c234b7-gold);
  font-size: 12.8px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  clip-path: var(--c234b7-chamfer-sm);
  transition: filter 0.16s ease, transform 0.12s ease, background 0.16s ease;
}
.c234b7-promo small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--c234b7-muted);
  letter-spacing: 0.2px;
}
.c234b7-promo:hover { filter: brightness(1.12); }
.c234b7-promo:active { transform: scale(0.98); }

.c234b7-disclaimer {
  margin: 12px 0 4px;
  padding: 11px 12px;
  border: 1px dashed rgba(204, 153, 255, 0.28);
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.62;
  color: var(--c234b7-muted);
}

.c234b7-termgrid {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.c234b7-term {
  border: 1px solid rgba(204, 153, 255, 0.24);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(20, 18, 25, 0.9);
}
.c234b7-term b {
  display: block;
  margin-bottom: 4px;
  color: var(--c234b7-mist);
  font-size: 13px;
}
.c234b7-term span {
  display: block;
  color: var(--c234b7-muted);
  font-size: 12.6px;
  line-height: 1.62;
}

.c234b7-ifthen {
  margin: 10px 0;
  padding: 10px 12px;
  border-left: 3px solid var(--c234b7-gold);
  border-radius: 0 10px 10px 0;
  background: rgba(52, 73, 94, 0.32);
  font-size: 12.7px;
  line-height: 1.62;
  color: var(--c234b7-muted);
}
.c234b7-ifthen b { color: var(--c234b7-gold); }

.c234b7-take {
  margin: 8px 0;
  padding: 11px 12px;
  border: 1px solid rgba(204, 153, 255, 0.22);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(138, 43, 226, 0.14), rgba(12, 12, 12, 0.2));
  font-size: 12.8px;
  line-height: 1.62;
  color: #D4D6DF;
}
.c234b7-take b { color: var(--c234b7-mist); }

.c234b7-solo {
  margin: 12px 0;
}
.c234b7-solo .c234b7-btn-gold,
.c234b7-solo .c234b7-btn-ghost {
  width: 100%;
  min-height: 44px;
}

/* --------------------------------------------------------------------------
   Common footer + fixed bottom nav
   -------------------------------------------------------------------------- */

.c234b7-footer {
  border-top: 1px solid var(--c234b7-line);
  padding: 14px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  text-align: center;
}
.c234b7-footer p {
  font-size: 11px;
  color: #7E818C;
  letter-spacing: 0.3px;
}

.c234b7-bottomnav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(10, 10, 14, 0.97);
  border-top: 1px solid var(--c234b7-line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.c234b7-navitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 4px 2px;
  border: 0;
  background: none;
  border-radius: 10px;
  color: #9DA0AB;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease;
}
.c234b7-navitem:active { transform: scale(0.94); }
.c234b7-navitem.c234b7-navpromo { color: var(--c234b7-gold); }

.c234b7-navitem svg { width: 22px; height: 22px; }

.c234b7-navitem.c234b7-navon {
  color: var(--c234b7-mist);
  background: rgba(204, 153, 255, 0.10);
  font-weight: 800;
}
.c234b7-navitem.c234b7-navon::before {
  content: "";
  position: absolute;
  top: 2px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--c234b7-mist), var(--c234b7-royal));
  box-shadow: 0 0 8px rgba(204, 153, 255, 0.8);
}

/* --------------------------------------------------------------------------
   Small-canvas hardening (320px first) and gentle wide tweaks
   -------------------------------------------------------------------------- */

@media (max-width: 339px) {
  .c234b7-brand-name { font-size: 16px; }
  .c234b7-btn-gold { padding: 7px 10px; font-size: 11.5px; }
  .c234b7-btn-ghost { padding: 7px 9px; font-size: 11.5px; }
  .c234b7-facts { gap: 6px; }
  .c234b7-fact-num { font-size: 13.5px; }
}

@media (min-width: 390px) {
  .c234b7-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .c234b7-tile-name { font-size: 10.5px; }
}

@media (min-width: 430px) {
  .c234b7-main { padding-left: 16px; padding-right: 16px; }
}

@media (hover: none) {
  .c234b7-tile:hover { border-color: rgba(204, 153, 255, 0.14); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .c234b7-track { transition: none; }
}
