/* ==========================================================================
   vin 88 - mobile shell stylesheet
   File: css/vin-88-shell-ea500a.css
   Palette anchors: #CC99FF (primary) / #DDA0DD (secondary) / #2D2D2D (canvas)
   Direction: humanist headings over a clear body face, near-square utility
   surfaces, compact square game tiles, fact-first information rhythm,
   solid primary CTA with outlined secondary CTA, icon-only micro motion.
   Every class and custom property carries the mobile00ace- prefix.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --mobile00ace-canvas: #2D2D2D;
  --mobile00ace-deep: #241f28;
  --mobile00ace-panel: #38313d;
  --mobile00ace-panel-2: #413a46;
  --mobile00ace-primary: #CC99FF;
  --mobile00ace-primary-soft: #b383ea;
  --mobile00ace-secondary: #DDA0DD;
  --mobile00ace-ink: #F4ECFA;
  --mobile00ace-muted: #cbb9da;
  --mobile00ace-faint: #a491b3;
  --mobile00ace-line: #544561;
  --mobile00ace-line-soft: #443a4d;
  --mobile00ace-on-primary: #2D2D2D;
  --mobile00ace-good: #9fdcae;
  --mobile00ace-warm: #f2c9a0;
  --mobile00ace-radius: 3px;
  --mobile00ace-radius-lg: 5px;
  --mobile00ace-topbar-h: 56px;
  --mobile00ace-bnav-h: 64px;
  --mobile00ace-font-head: 'Be Vietnam Pro', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --mobile00ace-font-body: 'Be Vietnam Pro', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --mobile00ace-shell-max: 430px;
}

/* --------------------------------------------------------------------------
   2. Reset + shell frame
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #17131b;
  color: var(--mobile00ace-ink);
  font-family: var(--mobile00ace-font-body);
  font-size: 14px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { color: var(--mobile00ace-secondary); }

button { font-family: inherit; }

.mobile00ace-shell {
  position: relative;
  width: 100%;
  max-width: var(--mobile00ace-shell-max);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--mobile00ace-canvas);
  box-shadow: 0 0 36px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
}

.mobile00ace-skip {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--mobile00ace-primary);
  color: var(--mobile00ace-on-primary);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--mobile00ace-radius);
  transition: top 0.15s ease;
}

.mobile00ace-skip:focus { top: 8px; }

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

:focus-visible {
  outline: 2px solid var(--mobile00ace-secondary);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   3. Top action band (minimal header: brand left, actions right)
   -------------------------------------------------------------------------- */
.mobile00ace-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobile00ace-shell-max);
  height: var(--mobile00ace-topbar-h);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: linear-gradient(180deg, #2b2431 0%, var(--mobile00ace-deep) 100%);
  border-bottom: 1px solid var(--mobile00ace-line);
}

.mobile00ace-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: var(--mobile00ace-ink);
  margin-right: auto;
}

.mobile00ace-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: var(--mobile00ace-radius);
  border: 1px solid var(--mobile00ace-line-soft);
  background: #1e1a22;
  flex: 0 0 auto;
}

.mobile00ace-brand b {
  font-family: var(--mobile00ace-font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.mobile00ace-brand b i {
  font-style: normal;
  color: var(--mobile00ace-primary);
}

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

/* --------------------------------------------------------------------------
   4. Buttons: solid primary + outlined secondary
   -------------------------------------------------------------------------- */
.mobile00ace-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--mobile00ace-radius);
  border: 1px solid transparent;
  font-family: var(--mobile00ace-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.mobile00ace-btn-solid {
  background: var(--mobile00ace-primary);
  color: var(--mobile00ace-on-primary);
}

.mobile00ace-btn-solid:active { background: var(--mobile00ace-primary-soft); }

.mobile00ace-btn-line {
  background: transparent;
  color: var(--mobile00ace-secondary);
  border-color: var(--mobile00ace-secondary);
}

.mobile00ace-btn-line:active { color: var(--mobile00ace-ink); border-color: var(--mobile00ace-ink); }

.mobile00ace-btn-mini { padding: 0 10px; min-height: 36px; font-size: 12px; }

.mobile00ace-btn-wide { width: 100%; }

.mobile00ace-menubtn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--mobile00ace-line);
  border-radius: var(--mobile00ace-radius);
  color: var(--mobile00ace-secondary);
  cursor: pointer;
}

.mobile00ace-menubtn span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.mobile00ace-menubtn:active { color: var(--mobile00ace-primary); border-color: var(--mobile00ace-primary); }

/* --------------------------------------------------------------------------
   5. Stacked overlay menu
   -------------------------------------------------------------------------- */
.mobile00ace-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobile00ace-shell-max);
  z-index: 120;
  background: rgba(18, 15, 22, 0.96);
  padding: 12px 14px calc(var(--mobile00ace-bnav-h) + 14px);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.mobile00ace-drawer.mobile00ace-open {
  visibility: visible;
  opacity: 1;
}

.mobile00ace-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0 12px;
  border-bottom: 1px solid var(--mobile00ace-line-soft);
}

.mobile00ace-drawer-head b {
  font-family: var(--mobile00ace-font-head);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mobile00ace-primary);
}

.mobile00ace-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--mobile00ace-line);
  border-radius: var(--mobile00ace-radius);
  background: transparent;
  color: var(--mobile00ace-muted);
  cursor: pointer;
}

.mobile00ace-close:active { color: var(--mobile00ace-primary); border-color: var(--mobile00ace-primary); }

.mobile00ace-drawer-group { padding: 14px 0 4px; }

.mobile00ace-drawer-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mobile00ace-faint);
}

.mobile00ace-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  margin: 0 0 6px;
  border: 1px solid var(--mobile00ace-line-soft);
  border-radius: var(--mobile00ace-radius);
  background: var(--mobile00ace-panel);
  color: var(--mobile00ace-ink);
  text-decoration: none;
  font-family: var(--mobile00ace-font-head);
  font-weight: 600;
  font-size: 14px;
}

.mobile00ace-drawer-link small {
  font-family: var(--mobile00ace-font-body);
  font-weight: 400;
  font-size: 11px;
  color: var(--mobile00ace-faint);
}

.mobile00ace-drawer-link:active {
  border-color: var(--mobile00ace-primary);
  color: var(--mobile00ace-primary);
}

/* --------------------------------------------------------------------------
   6. Main column + masthead
   -------------------------------------------------------------------------- */
.mobile00ace-main {
  padding: calc(var(--mobile00ace-topbar-h) + 12px) 12px
           calc(var(--mobile00ace-bnav-h) + 24px + env(safe-area-inset-bottom, 0px));
}

.mobile00ace-mast { padding: 14px 0 4px; }

.mobile00ace-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mobile00ace-primary);
}

.mobile00ace-kicker::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--mobile00ace-primary);
}

.mobile00ace-mast h1 {
  margin: 0 0 10px;
  font-family: var(--mobile00ace-font-head);
  font-size: 24px;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--mobile00ace-ink);
}

.mobile00ace-mast h1 em {
  font-style: normal;
  color: var(--mobile00ace-primary);
}

.mobile00ace-lead {
  margin: 0 0 12px;
  color: var(--mobile00ace-muted);
  font-size: 14px;
}

.mobile00ace-lead strong { color: var(--mobile00ace-ink); }

.mobile00ace-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 12px 0;
}

.mobile00ace-fact {
  padding: 8px 6px;
  background: var(--mobile00ace-panel);
  border: 1px solid var(--mobile00ace-line-soft);
  border-radius: var(--mobile00ace-radius);
  text-align: center;
}

.mobile00ace-fact b {
  display: block;
  font-family: var(--mobile00ace-font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--mobile00ace-primary);
}

.mobile00ace-fact span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  line-height: 1.35;
  color: var(--mobile00ace-faint);
}

.mobile00ace-mast-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 4px;
}

/* --------------------------------------------------------------------------
   7. Banner carousel (scroll-snap track + dots)
   -------------------------------------------------------------------------- */
.mobile00ace-slider {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border: 1px solid var(--mobile00ace-line);
  border-radius: var(--mobile00ace-radius-lg);
  background: var(--mobile00ace-deep);
}

.mobile00ace-slider::-webkit-scrollbar { display: none; }

.mobile00ace-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  text-decoration: none;
  display: block;
}

.mobile00ace-slide img {
  width: 100%;
  aspect-ratio: 430 / 172;
  object-fit: cover;
}

.mobile00ace-slide-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: 75%;
  padding: 5px 9px;
  background: rgba(36, 31, 40, 0.9);
  border-left: 3px solid var(--mobile00ace-primary);
  border-radius: var(--mobile00ace-radius);
  font-family: var(--mobile00ace-font-head);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--mobile00ace-ink);
}

.mobile00ace-slide-tag small {
  display: block;
  font-family: var(--mobile00ace-font-body);
  font-size: 10px;
  font-weight: 400;
  color: var(--mobile00ace-secondary);
}

.mobile00ace-slide-cta {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 6px 10px;
  background: var(--mobile00ace-primary);
  color: var(--mobile00ace-on-primary);
  border-radius: var(--mobile00ace-radius);
  font-family: var(--mobile00ace-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.mobile00ace-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 2px;
}

.mobile00ace-dot {
  width: 26px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: var(--mobile00ace-line-soft);
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.mobile00ace-dot.mobile00ace-dot-on { background: var(--mobile00ace-primary); }

/* --------------------------------------------------------------------------
   8. Section scaffold: heading, fact line
   -------------------------------------------------------------------------- */
.mobile00ace-sec {
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--mobile00ace-line-soft);
}

.mobile00ace-sec:first-of-type { border-top: 0; }

.mobile00ace-sec > h2 {
  margin: 0 0 8px;
  font-family: var(--mobile00ace-font-head);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--mobile00ace-ink);
}

.mobile00ace-sec > h2 em { font-style: normal; color: var(--mobile00ace-primary); }

.mobile00ace-factline {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 12px;
  padding: 9px 11px;
  background: var(--mobile00ace-panel);
  border: 1px solid var(--mobile00ace-line-soft);
  border-left: 3px solid var(--mobile00ace-secondary);
  border-radius: var(--mobile00ace-radius);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--mobile00ace-muted);
}

.mobile00ace-factline::before {
  content: "»";
  flex: 0 0 auto;
  font-weight: 800;
  color: var(--mobile00ace-secondary);
}

.mobile00ace-sec p { margin: 0 0 10px; color: var(--mobile00ace-muted); }

.mobile00ace-sec p strong { color: var(--mobile00ace-ink); }

.mobile00ace-sec h3 {
  margin: 16px 0 8px;
  font-family: var(--mobile00ace-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--mobile00ace-secondary);
}

/* --------------------------------------------------------------------------
   9. Game category blocks + compact square tile grid
   -------------------------------------------------------------------------- */
.mobile00ace-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
}

.mobile00ace-cat-head h3 {
  margin: 0;
  font-family: var(--mobile00ace-font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--mobile00ace-secondary);
}

.mobile00ace-cat-count {
  flex: 0 0 auto;
  padding: 2px 8px;
  border: 1px solid var(--mobile00ace-line);
  border-radius: var(--mobile00ace-radius);
  font-size: 10px;
  font-weight: 600;
  color: var(--mobile00ace-faint);
}

.mobile00ace-cat-note { margin: 0 0 8px; font-size: 12.5px; color: var(--mobile00ace-muted); }

.mobile00ace-catlinks {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin: 0 0 8px;
  scrollbar-width: none;
}

.mobile00ace-catlinks::-webkit-scrollbar { display: none; }

.mobile00ace-catlink {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 4px 10px;
  border: 1px dashed var(--mobile00ace-line);
  border-radius: var(--mobile00ace-radius);
  color: var(--mobile00ace-secondary);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.mobile00ace-catlink:active { border-color: var(--mobile00ace-secondary); color: var(--mobile00ace-ink); }

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

.mobile00ace-gtile {
  display: block;
  min-width: 0;
  background: var(--mobile00ace-panel);
  border: 1px solid var(--mobile00ace-line-soft);
  border-radius: var(--mobile00ace-radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.mobile00ace-gtile:active { border-color: var(--mobile00ace-secondary); }

.mobile00ace-gtile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #1e1a22;
}

.mobile00ace-gtile span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  padding: 5px 4px 6px;
  min-height: 34px;
  font-size: 10.5px;
  line-height: 1.3;
  text-align: center;
  color: var(--mobile00ace-muted);
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   10. Content panels: quotes, features, FAQ, payments, winners, scenarios
   -------------------------------------------------------------------------- */
.mobile00ace-quote {
  margin: 0 0 8px;
  padding: 10px 12px;
  background: var(--mobile00ace-panel);
  border: 1px solid var(--mobile00ace-line-soft);
  border-radius: var(--mobile00ace-radius);
}

.mobile00ace-quote p { margin: 0 0 6px; font-size: 13px; color: var(--mobile00ace-ink); }

.mobile00ace-quote p::before { content: "“"; color: var(--mobile00ace-primary); font-weight: 800; }
.mobile00ace-quote p::after { content: "”"; color: var(--mobile00ace-primary); font-weight: 800; }

.mobile00ace-quote footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--mobile00ace-faint);
}

.mobile00ace-quote footer b { color: var(--mobile00ace-secondary); }

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

.mobile00ace-feat {
  padding: 10px;
  background: var(--mobile00ace-panel);
  border: 1px solid var(--mobile00ace-line-soft);
  border-radius: var(--mobile00ace-radius);
}

.mobile00ace-feat b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mobile00ace-font-head);
  font-size: 13px;
  color: var(--mobile00ace-primary);
}

.mobile00ace-feat p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--mobile00ace-muted); }

.mobile00ace-faq { margin: 0; padding: 0; }

.mobile00ace-faq details {
  margin: 0 0 6px;
  background: var(--mobile00ace-panel);
  border: 1px solid var(--mobile00ace-line-soft);
  border-radius: var(--mobile00ace-radius);
}

.mobile00ace-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
  font-family: var(--mobile00ace-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--mobile00ace-ink);
}

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

.mobile00ace-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mobile00ace-line);
  border-radius: 50%;
  color: var(--mobile00ace-secondary);
  font-weight: 700;
  line-height: 1;
}

.mobile00ace-faq details[open] summary::after { content: "–"; }

.mobile00ace-faq details > div {
  padding: 0 12px 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mobile00ace-muted);
}

.mobile00ace-faq details > div p { margin: 0; }

.mobile00ace-payrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  margin: 0 0 6px;
  padding: 10px 12px;
  background: var(--mobile00ace-panel);
  border: 1px solid var(--mobile00ace-line-soft);
  border-radius: var(--mobile00ace-radius);
}

.mobile00ace-payrow b {
  font-family: var(--mobile00ace-font-head);
  font-size: 13px;
  color: var(--mobile00ace-ink);
}

.mobile00ace-payrow small {
  grid-column: 1 / -1;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--mobile00ace-faint);
}

.mobile00ace-paytag {
  padding: 3px 8px;
  border: 1px solid var(--mobile00ace-line);
  border-radius: var(--mobile00ace-radius);
  font-size: 10px;
  font-weight: 600;
  color: var(--mobile00ace-good);
  white-space: nowrap;
}

.mobile00ace-winners {
  border: 1px solid var(--mobile00ace-line-soft);
  border-radius: var(--mobile00ace-radius);
  overflow: hidden;
}

.mobile00ace-winrow {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) auto;
  gap: 6px;
  align-items: center;
  padding: 9px 10px;
  background: var(--mobile00ace-panel);
  border-bottom: 1px solid var(--mobile00ace-line-soft);
  font-size: 12px;
}

.mobile00ace-winrow:last-child { border-bottom: 0; }

.mobile00ace-winrow b { color: var(--mobile00ace-secondary); font-weight: 600; overflow-wrap: anywhere; }

.mobile00ace-winrow small { color: var(--mobile00ace-faint); font-size: 11px; }

.mobile00ace-winrow strong {
  color: var(--mobile00ace-warm);
  font-family: var(--mobile00ace-font-head);
  font-weight: 800;
  white-space: nowrap;
}

.mobile00ace-scene {
  margin: 0 0 8px;
  padding: 10px 12px;
  border: 1px solid var(--mobile00ace-line-soft);
  border-left: 3px solid var(--mobile00ace-primary);
  border-radius: var(--mobile00ace-radius);
  background: var(--mobile00ace-panel);
}

.mobile00ace-scene b {
  display: block;
  margin-bottom: 3px;
  font-family: var(--mobile00ace-font-head);
  font-size: 13px;
  color: var(--mobile00ace-primary);
}

.mobile00ace-scene p { margin: 0; font-size: 12.5px; color: var(--mobile00ace-muted); }

/* --------------------------------------------------------------------------
   11. Home extended footer: brand > promotions > directory > note
   -------------------------------------------------------------------------- */
.mobile00ace-ext {
  margin: 28px 0 0;
  padding: 18px 12px 16px;
  border: 1px solid var(--mobile00ace-line);
  border-radius: var(--mobile00ace-radius-lg);
  background: var(--mobile00ace-deep);
}

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

.mobile00ace-ext-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--mobile00ace-radius);
  border: 1px solid var(--mobile00ace-line-soft);
  background: #1e1a22;
  flex: 0 0 auto;
}

.mobile00ace-ext-brand h2 {
  margin: 0 0 6px;
  font-family: var(--mobile00ace-font-head);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--mobile00ace-ink);
}

.mobile00ace-ext-brand p { margin: 0; font-size: 12.5px; color: var(--mobile00ace-muted); }

.mobile00ace-ext-label {
  margin: 14px 0 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mobile00ace-faint);
}

.mobile00ace-ext-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.mobile00ace-ext-promos .mobile00ace-btn { min-height: 40px; font-size: 12px; padding: 0 8px; }

.mobile00ace-ext-promos .mobile00ace-btn:last-child { grid-column: 1 / -1; }

.mobile00ace-ext-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.mobile00ace-ext-dir a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 4px 10px;
  border: 1px solid var(--mobile00ace-line-soft);
  border-radius: var(--mobile00ace-radius);
  background: var(--mobile00ace-panel);
  color: var(--mobile00ace-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.mobile00ace-ext-dir a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--mobile00ace-secondary);
  transform: rotate(45deg);
}

.mobile00ace-ext-dir a:active { color: var(--mobile00ace-primary); border-color: var(--mobile00ace-primary); }

.mobile00ace-ext-note {
  margin: 14px 0 0;
  padding: 9px 11px;
  border: 1px dashed var(--mobile00ace-line);
  border-radius: var(--mobile00ace-radius);
  font-size: 11px;
  line-height: 1.55;
  color: var(--mobile00ace-faint);
}

/* --------------------------------------------------------------------------
   12. Common footer (copyright only)
   -------------------------------------------------------------------------- */
.mobile00ace-foot {
  padding: 16px 12px 10px;
  border-top: 1px solid var(--mobile00ace-line-soft);
  text-align: center;
}

.mobile00ace-foot p {
  margin: 0;
  font-size: 11.5px;
  color: var(--mobile00ace-faint);
}

/* --------------------------------------------------------------------------
   13. Layered mobile bottom bar (5 roles, fixed to the phone canvas)
   -------------------------------------------------------------------------- */
.mobile00ace-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobile00ace-shell-max);
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: var(--mobile00ace-bnav-h);
  padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #2b2431 0%, #1f1a24 100%);
  border-top: 1px solid var(--mobile00ace-line);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.35);
}

.mobile00ace-bnav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 56px;
  padding: 2px 2px;
  border-radius: var(--mobile00ace-radius);
  color: var(--mobile00ace-faint);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile00ace-bnav svg {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform 0.18s ease;
}

.mobile00ace-bnav span {
  position: relative;
  z-index: 1;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.62;
  transform: translateY(1px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mobile00ace-bnav a:active svg { transform: translateY(-1px) scale(1.06); }

/* Active role: contrast inversion inside a filled plate. */
.mobile00ace-bnav a.mobile00ace-is-on {
  color: var(--mobile00ace-on-primary);
}

.mobile00ace-bnav a.mobile00ace-is-on::before {
  content: "";
  position: absolute;
  inset: 4px 3px;
  background: var(--mobile00ace-primary);
  border-radius: var(--mobile00ace-radius);
}

.mobile00ace-bnav a.mobile00ace-is-on span {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   14. Review and guide information patterns
   -------------------------------------------------------------------------- */
.mobile00ace-review-stamp {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0;
  padding: 10px 11px;
  background: var(--mobile00ace-panel);
  border-left: 3px solid var(--mobile00ace-primary);
  border-radius: var(--mobile00ace-radius);
}

.mobile00ace-review-stamp b { color: var(--mobile00ace-primary); font-family: var(--mobile00ace-font-head); font-size: 13px; }
.mobile00ace-review-stamp span { color: var(--mobile00ace-faint); font-size: 10.5px; text-align: right; }
.mobile00ace-review-devices { display: grid; gap: 8px; }
.mobile00ace-review-device { position: relative; padding: 12px 11px; background: var(--mobile00ace-panel); border: 1px solid var(--mobile00ace-line-soft); border-radius: var(--mobile00ace-radius); }
.mobile00ace-review-device h3 { margin: 0 0 5px; padding-right: 30px; }
.mobile00ace-review-device p { font-size: 12px; }
.mobile00ace-device-mark { position: absolute; right: 10px; top: 10px; color: var(--mobile00ace-primary); font: 800 12px var(--mobile00ace-font-head); }
.mobile00ace-review-flow { list-style: none; padding: 0; margin: 0 0 12px; counter-reset: none; }
.mobile00ace-review-flow li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--mobile00ace-line-soft); }
.mobile00ace-review-flow li:last-child { border-bottom: 0; }
.mobile00ace-review-flow li > span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: var(--mobile00ace-primary); color: var(--mobile00ace-on-primary); font: 800 11px var(--mobile00ace-font-head); border-radius: var(--mobile00ace-radius); }
.mobile00ace-review-flow b, .mobile00ace-review-safety b { display: block; margin-bottom: 3px; color: var(--mobile00ace-ink); font-family: var(--mobile00ace-font-head); font-size: 13px; }
.mobile00ace-review-flow p { margin: 0; font-size: 12px; }
.mobile00ace-review-safety { display: grid; gap: 7px; }
.mobile00ace-review-safety > div { padding: 10px 11px; border: 1px solid var(--mobile00ace-line-soft); border-radius: var(--mobile00ace-radius); background: linear-gradient(105deg, var(--mobile00ace-panel), #302936); }
.mobile00ace-review-safety p { font-size: 12px; }
.mobile00ace-review-mistakes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
.mobile00ace-review-mistakes article { position: relative; min-width: 0; padding: 11px 9px 9px; background: var(--mobile00ace-panel); border-top: 2px solid var(--mobile00ace-secondary); border-radius: var(--mobile00ace-radius); }
.mobile00ace-review-mistakes article > strong { display: block; margin-bottom: 3px; color: var(--mobile00ace-primary); font: 800 17px var(--mobile00ace-font-head); }
.mobile00ace-review-mistakes h3 { margin: 0 0 4px; font-size: 12.5px; line-height: 1.35; }
.mobile00ace-review-mistakes p { margin: 0; font-size: 11.5px; line-height: 1.5; }
.mobile00ace-review-ledger { display: grid; gap: 7px; }
.mobile00ace-review-ledger > div { padding: 10px 11px; border-left: 3px solid var(--mobile00ace-line); background: var(--mobile00ace-panel); }
.mobile00ace-review-ledger span { display: block; margin-bottom: 3px; color: var(--mobile00ace-secondary); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mobile00ace-review-ledger b { display: block; margin-bottom: 3px; color: var(--mobile00ace-ink); font-family: var(--mobile00ace-font-head); font-size: 13px; }
.mobile00ace-review-ledger p { margin: 0; font-size: 12px; }
.mobile00ace-review-verdict { margin-top: 12px !important; padding: 11px; border: 1px solid var(--mobile00ace-secondary); color: var(--mobile00ace-ink) !important; font-size: 12.5px; }
.mobile00ace-review-takeaways { margin: 0 0 14px; padding: 0; list-style: none; }
.mobile00ace-review-takeaways li { padding: 9px 10px 9px 28px; border-bottom: 1px solid var(--mobile00ace-line-soft); position: relative; font-size: 12.5px; color: var(--mobile00ace-muted); }
.mobile00ace-review-takeaways li::before { content: "✓"; position: absolute; left: 8px; color: var(--mobile00ace-primary); font-weight: 800; }
.mobile00ace-review-takeaways b { color: var(--mobile00ace-ink); }
.mobile00ace-guide-route { display: flex; align-items: center; gap: 5px; overflow-x: auto; padding: 9px 0 12px; color: var(--mobile00ace-secondary); white-space: nowrap; font-size: 10.5px; font-weight: 700; scrollbar-width: none; }
.mobile00ace-guide-route::-webkit-scrollbar { display: none; }
.mobile00ace-guide-route i { color: var(--mobile00ace-faint); font-style: normal; }
.mobile00ace-guide-checklist { display: grid; gap: 6px; margin: 0 0 12px; }
.mobile00ace-guide-checklist label { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 10px; background: var(--mobile00ace-panel); border: 1px solid var(--mobile00ace-line-soft); border-radius: var(--mobile00ace-radius); color: var(--mobile00ace-ink); font-size: 12px; }
.mobile00ace-guide-checklist input { width: 18px; height: 18px; accent-color: var(--mobile00ace-primary); flex: 0 0 auto; }
.mobile00ace-guide-steps { display: grid; gap: 8px; }
.mobile00ace-guide-steps article { display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 8px; padding: 11px; background: var(--mobile00ace-panel); border: 1px solid var(--mobile00ace-line-soft); border-radius: var(--mobile00ace-radius); }
.mobile00ace-guide-steps article > em { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--mobile00ace-secondary); color: var(--mobile00ace-on-primary); font: 800 11px var(--mobile00ace-font-head); font-style: normal; border-radius: 50%; }
.mobile00ace-guide-steps h3 { margin: 0 0 4px; font-size: 13px; }
.mobile00ace-guide-steps p { margin: 0; font-size: 12px; }
.mobile00ace-guide-steps article > .mobile00ace-btn { grid-column: 2; justify-self: start; min-height: 38px; margin-top: 4px; font-size: 11px; }
.mobile00ace-guide-troubleshoot { display: grid; gap: 7px; }
.mobile00ace-guide-symptom { padding: 11px; background: var(--mobile00ace-deep); border: 1px solid var(--mobile00ace-line); border-radius: var(--mobile00ace-radius); }
.mobile00ace-guide-symptom span { display: inline-block; margin-bottom: 4px; padding: 2px 6px; color: var(--mobile00ace-on-primary); background: var(--mobile00ace-primary); font-size: 10px; font-weight: 700; }
.mobile00ace-guide-symptom b { display: block; margin-bottom: 4px; color: var(--mobile00ace-ink); font-family: var(--mobile00ace-font-head); font-size: 13px; }
.mobile00ace-guide-symptom p { margin: 0 0 7px; font-size: 12px; }
.mobile00ace-guide-compare { overflow-x: auto; border: 1px solid var(--mobile00ace-line-soft); border-radius: var(--mobile00ace-radius); }
.mobile00ace-guide-compare > div { display: grid; grid-template-columns: minmax(118px,1.2fr) minmax(108px,1fr) minmax(108px,1fr); min-width: 344px; border-bottom: 1px solid var(--mobile00ace-line-soft); }
.mobile00ace-guide-compare > div:last-child { border-bottom: 0; }
.mobile00ace-guide-compare span, .mobile00ace-guide-compare p, .mobile00ace-guide-compare b { margin: 0; padding: 8px; font-size: 11px; line-height: 1.4; }
.mobile00ace-guide-compare span { color: var(--mobile00ace-ink); font-weight: 600; }
.mobile00ace-guide-compare p { color: var(--mobile00ace-muted); border-left: 1px solid var(--mobile00ace-line-soft); }
.mobile00ace-guide-compare-head { background: var(--mobile00ace-primary); color: var(--mobile00ace-on-primary); }
.mobile00ace-guide-compare-head span, .mobile00ace-guide-compare-head b { font-size: 11px; color: var(--mobile00ace-on-primary); }
.mobile00ace-guide-next { display: grid; gap: 7px; }
.mobile00ace-guide-next a { display: grid; grid-template-columns: 30px minmax(0,1fr) 20px; gap: 8px; align-items: center; min-height: 58px; padding: 8px 10px; background: var(--mobile00ace-panel); border: 1px solid var(--mobile00ace-line-soft); color: var(--mobile00ace-ink); text-decoration: none; border-radius: var(--mobile00ace-radius); }
.mobile00ace-guide-next a > span { color: var(--mobile00ace-primary); font: 800 11px var(--mobile00ace-font-head); }
.mobile00ace-guide-next b { display: block; font-family: var(--mobile00ace-font-head); font-size: 13px; }
.mobile00ace-guide-next small { display: block; color: var(--mobile00ace-muted); font-size: 11px; line-height: 1.4; }
.mobile00ace-guide-next i { color: var(--mobile00ace-secondary); font-size: 18px; font-style: normal; }
.mobile00ace-guide-scenarios { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
.mobile00ace-guide-scenarios article { padding: 10px; background: var(--mobile00ace-panel); border: 1px solid var(--mobile00ace-line-soft); border-radius: var(--mobile00ace-radius); }
.mobile00ace-guide-scenarios b { display: block; margin-bottom: 4px; color: var(--mobile00ace-primary); font: 700 12.5px var(--mobile00ace-font-head); }
.mobile00ace-guide-scenarios p { margin: 0 0 7px; font-size: 11.5px; line-height: 1.5; }
.mobile00ace-guide-scenarios .mobile00ace-btn { min-height: 36px; padding: 0 8px; font-size: 10.5px; }
.mobile00ace-guide-note { margin-top: 12px !important; padding: 10px; border: 1px dashed var(--mobile00ace-secondary); font-size: 12px; }

/* --------------------------------------------------------------------------
   15. Wider phone canvas: 5 columns per game row, roomier masthead
   -------------------------------------------------------------------------- */
@media (min-width: 430px) {
  .mobile00ace-gtiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 8px; }

  .mobile00ace-mast h1 { font-size: 26px; }

  .mobile00ace-facts { gap: 8px; }

  .mobile00ace-slide-tag { font-size: 13px; }

  .mobile00ace-ext-dir { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Very narrow phones: keep facts readable as a 2x2 block. */
@media (max-width: 359px) {
  .mobile00ace-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .mobile00ace-mast-cta { grid-template-columns: 1fr; }

  .mobile00ace-brand b { font-size: 15px; }
}

/* Respect users who ask for less motion: drop the auto-slide glide. */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
