/* ==========================================================================
   S777 Casino - mobile-first token sheet
   File: css/mobile-339ec7-tokens.css
   Class contract: every class uses the "cec7a0-" prefix.
   Design brief: deep ink canvas (#2E4057), mist cyan text (#E0FFFF),
   pale turquoise accent (#AFEEEE), silver secondary (#E0E0E0).
   Humanist serif headlines + clear sans body, rounded buttons,
   square-ish grouped cover cards, intro-per-section rhythm,
   state-colour-only motion, full-width primary CTA.
   Canvas: 320-430px phone frame, centered on wide screens (max 430px).
   ========================================================================== */

:root {
  --cec7a0-ink: #2E4057;
  --cec7a0-ink-deep: #26374C;
  --cec7a0-ink-soft: #34495F;
  --cec7a0-ink-raise: #3A5270;
  --cec7a0-mist: #E0FFFF;
  --cec7a0-aqua: #AFEEEE;
  --cec7a0-silver: #E0E0E0;
  --cec7a0-dim: rgba(224, 224, 224, 0.78);
  --cec7a0-line: rgba(224, 255, 255, 0.16);
  --cec7a0-line-strong: rgba(175, 238, 238, 0.42);
  --cec7a0-letterbox: #1B2735;
  --cec7a0-font-head: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --cec7a0-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cec7a0-radius-btn: 999px;
  --cec7a0-radius-card: 4px;
  --cec7a0-topbar-h: 56px;
  --cec7a0-tabbar-h: 66px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cec7a0-letterbox);
  color: var(--cec7a0-mist);
  font-family: var(--cec7a0-font-body);
  font-size: 14px;
  line-height: 1.55;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--cec7a0-aqua); text-decoration: none; }
a:hover { color: var(--cec7a0-mist); }

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cec7a0-aqua);
  outline-offset: 2px;
  border-radius: var(--cec7a0-radius-card);
}

/* Phone canvas: content column stays a 430px handset frame on any screen. */
.cec7a0-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--cec7a0-ink);
  overflow-x: clip;
}

@media (min-width: 431px) {
  .cec7a0-canvas {
    box-shadow: 0 0 0 1px var(--cec7a0-line), 0 18px 60px rgba(0, 0, 0, 0.45);
  }
}

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

/* --------------------------------------------------------------------------
   Top compact brand bar
   -------------------------------------------------------------------------- */

.cec7a0-topbar {
  position: fixed;
  top: 0; left: 50%;
  width: 100%;
  max-width: 430px;
  transform: translateX(-50%);
  height: var(--cec7a0-topbar-h);
  background: rgba(38, 55, 76, 0.97);
  border-bottom: 1px solid var(--cec7a0-line);
  z-index: 60;
}

.cec7a0-topbar-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 10px;
}

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

.cec7a0-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--cec7a0-line-strong);
  flex: 0 0 auto;
}

.cec7a0-brand-name {
  font-family: var(--cec7a0-font-head);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--cec7a0-mist);
  white-space: nowrap;
}

.cec7a0-brand-name b { color: var(--cec7a0-aqua); font-weight: 700; }

.cec7a0-topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.cec7a0-btn-register {
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--cec7a0-radius-btn);
  background: var(--cec7a0-aqua);
  color: #24344A;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.cec7a0-btn-register:hover,
.cec7a0-btn-register:active {
  background: var(--cec7a0-mist);
  color: var(--cec7a0-ink);
}

.cec7a0-btn-login {
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--cec7a0-radius-btn);
  border: 1px solid var(--cec7a0-line-strong);
  color: var(--cec7a0-aqua);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.cec7a0-btn-login:hover,
.cec7a0-btn-login:active {
  border-color: var(--cec7a0-aqua);
  color: var(--cec7a0-mist);
}

.cec7a0-menu-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--cec7a0-radius-card);
  color: var(--cec7a0-aqua);
  transition: color 0.18s ease;
}

.cec7a0-menu-btn:hover { color: var(--cec7a0-mist); }

.cec7a0-menu-btn svg { display: block; }

/* --------------------------------------------------------------------------
   Side drawer menu
   -------------------------------------------------------------------------- */

.cec7a0-scrim {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 34, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 70;
}

.cec7a0-drawer {
  position: fixed;
  top: 0; bottom: 0;
  left: 50%;
  width: 84%;
  max-width: 330px;
  margin-left: -215px;
  background: var(--cec7a0-ink-deep);
  border-right: 1px solid var(--cec7a0-line);
  transform: translateX(-104%);
  transition: transform 0.26s ease;
  z-index: 80;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

body.cec7a0-nav-open .cec7a0-drawer { transform: translateX(0); }
body.cec7a0-nav-open .cec7a0-scrim { opacity: 1; visibility: visible; }

.cec7a0-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--cec7a0-line);
  position: sticky;
  top: 0;
  background: var(--cec7a0-ink-deep);
}

.cec7a0-drawer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cec7a0-font-head);
  font-size: 17px;
  color: var(--cec7a0-mist);
}

.cec7a0-drawer-brand img {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.cec7a0-drawer-close {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cec7a0-silver);
  font-size: 22px;
  line-height: 1;
  border-radius: var(--cec7a0-radius-card);
  transition: color 0.18s ease;
}

.cec7a0-drawer-close:hover { color: var(--cec7a0-mist); }

.cec7a0-drawer-group { padding: 12px 14px 4px; }

.cec7a0-drawer-group-title {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cec7a0-aqua);
}

.cec7a0-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
}

.cec7a0-drawer-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 10px;
  border-radius: var(--cec7a0-radius-card);
  color: var(--cec7a0-silver);
  font-size: 14px;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.cec7a0-drawer-list a:hover,
.cec7a0-drawer-list a:active {
  background: var(--cec7a0-ink-raise);
  color: var(--cec7a0-mist);
}

.cec7a0-drawer-list a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cec7a0-line-strong);
  flex: 0 0 auto;
}

.cec7a0-drawer-list a:hover::before { background: var(--cec7a0-aqua); }

.cec7a0-drawer-list a[aria-current="page"] {
  background: var(--cec7a0-ink-raise);
  color: var(--cec7a0-mist);
}

.cec7a0-drawer-list a[aria-current="page"]::before { background: var(--cec7a0-aqua); }

.cec7a0-panel h3 {
  margin: 14px 0 6px;
  font-family: var(--cec7a0-font-head);
  font-size: 16px;
  line-height: 1.35;
  color: var(--cec7a0-aqua);
}

.cec7a0-drawer-cta {
  display: block;
  width: calc(100% - 28px);
  margin: 10px 14px 18px;
  min-height: 48px;
  border-radius: var(--cec7a0-radius-btn);
  background: var(--cec7a0-aqua);
  color: #24344A;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.cec7a0-drawer-cta:hover { background: var(--cec7a0-mist); }

/* --------------------------------------------------------------------------
   Main column
   -------------------------------------------------------------------------- */

.cec7a0-main {
  padding: calc(var(--cec7a0-topbar-h) + 14px) 14px
           calc(var(--cec7a0-tabbar-h) + env(safe-area-inset-bottom, 0px) + 26px);
}

/* Hero */
.cec7a0-hero { padding: 6px 0 2px; }

.cec7a0-hero-title {
  margin: 0 0 10px;
  font-family: var(--cec7a0-font-head);
  font-size: 25px;
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--cec7a0-mist);
}

.cec7a0-hero-lead {
  margin: 0 0 14px;
  color: var(--cec7a0-dim);
  font-size: 13.5px;
}

.cec7a0-hero-cta {
  display: block;
  width: 100%;
  min-height: 50px;
  border-radius: var(--cec7a0-radius-btn);
  background: var(--cec7a0-aqua);
  color: #24344A;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.cec7a0-hero-cta:hover,
.cec7a0-hero-cta:active {
  background: var(--cec7a0-mist);
  color: var(--cec7a0-ink);
}

.cec7a0-hero-alt {
  margin: 10px 0 14px;
  font-size: 12.5px;
  color: var(--cec7a0-dim);
  text-align: center;
}

.cec7a0-hero-alt a { border-bottom: 1px dotted var(--cec7a0-line-strong); }

.cec7a0-trustrow {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0 0 6px;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.cec7a0-trustrow::-webkit-scrollbar { display: none; }

.cec7a0-trust {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 12px;
  border: 1px solid var(--cec7a0-line);
  border-radius: var(--cec7a0-radius-btn);
  font-size: 11.5px;
  color: var(--cec7a0-aqua);
  background: rgba(38, 55, 76, 0.6);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Promo carousel
   -------------------------------------------------------------------------- */

.cec7a0-carousel {
  position: relative;
  margin: 18px 0 4px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--cec7a0-line);
  background: var(--cec7a0-ink-deep);
}

.cec7a0-slide {
  display: none;
  position: relative;
  min-height: 170px;
}

.cec7a0-slide.cec7a0-is-active { display: block; }

.cec7a0-slide-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.cec7a0-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(27, 39, 53, 0) 0%, rgba(27, 39, 53, 0.92) 78%);
}

.cec7a0-slide-caption strong {
  font-family: var(--cec7a0-font-head);
  font-size: 15px;
  color: var(--cec7a0-mist);
  font-weight: 700;
}

.cec7a0-slide-caption em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--cec7a0-aqua);
}

.cec7a0-car-prev,
.cec7a0-car-next {
  position: absolute;
  top: 50%;
  margin-top: -22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(38, 55, 76, 0.72);
  color: var(--cec7a0-mist);
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.cec7a0-car-prev { left: 8px; }
.cec7a0-car-next { right: 8px; }

.cec7a0-car-prev:hover,
.cec7a0-car-next:hover {
  background: rgba(58, 82, 112, 0.9);
  color: var(--cec7a0-aqua);
}

.cec7a0-dots {
  position: absolute;
  right: 12px; bottom: 10px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.cec7a0-dot {
  width: 12px; height: 12px;
  padding: 0;
  border-radius: 50%;
  background: rgba(224, 255, 255, 0.35);
  transition: background-color 0.18s ease;
}

.cec7a0-dot.cec7a0-on { background: var(--cec7a0-aqua); }

/* --------------------------------------------------------------------------
   Category quick chips
   -------------------------------------------------------------------------- */

.cec7a0-catnav {
  display: flex;
  gap: 8px;
  margin: 16px 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.cec7a0-catnav::-webkit-scrollbar { display: none; }

.cec7a0-catnav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--cec7a0-line-strong);
  border-radius: var(--cec7a0-radius-btn);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--cec7a0-aqua);
  background: rgba(38, 55, 76, 0.5);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.cec7a0-catnav a:hover,
.cec7a0-catnav a:active {
  background: var(--cec7a0-ink-raise);
  color: var(--cec7a0-mist);
}

/* --------------------------------------------------------------------------
   Game zones (grouped cover-card grids)
   -------------------------------------------------------------------------- */

.cec7a0-zone {
  margin-top: 28px;
  scroll-margin-top: calc(var(--cec7a0-topbar-h) + 8px);
}

.cec7a0-zone-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--cec7a0-line);
  padding-bottom: 6px;
}

.cec7a0-zone-title {
  margin: 0;
  font-family: var(--cec7a0-font-head);
  font-size: 19px;
  line-height: 1.3;
  color: var(--cec7a0-mist);
}

.cec7a0-zone-count {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cec7a0-aqua);
  border: 1px solid var(--cec7a0-line-strong);
  border-radius: var(--cec7a0-radius-btn);
  padding: 2px 10px;
  white-space: nowrap;
}

.cec7a0-zone-lead {
  margin: 8px 0 12px;
  font-size: 12.8px;
  color: var(--cec7a0-dim);
}

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

@media (min-width: 400px) {
  .cec7a0-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
}

.cec7a0-gcard {
  display: block;
  background: var(--cec7a0-ink-deep);
  border: 1px solid var(--cec7a0-line);
  border-radius: var(--cec7a0-radius-card);
  padding: 6px 6px 7px;
  text-align: center;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.cec7a0-gcard:hover,
.cec7a0-gcard:active {
  background: var(--cec7a0-ink-raise);
  border-color: var(--cec7a0-aqua);
}

.cec7a0-gcard img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  background: var(--cec7a0-ink-soft);
}

.cec7a0-gcard span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 5px;
  font-size: 10.5px;
  line-height: 1.3;
  color: var(--cec7a0-silver);
  overflow-wrap: break-word;
  min-height: 2.6em;
}

.cec7a0-gcard:hover span { color: var(--cec7a0-mist); }

/* --------------------------------------------------------------------------
   Content panels (FAQ, guides, reviews, checklists)
   -------------------------------------------------------------------------- */

.cec7a0-panel {
  margin-top: 18px;
  background: var(--cec7a0-ink-deep);
  border: 1px solid var(--cec7a0-line);
  border-radius: var(--cec7a0-radius-card);
  padding: 14px 14px 8px;
}

.cec7a0-panel-title {
  margin: 0 0 8px;
  font-family: var(--cec7a0-font-head);
  font-size: 19px;
  line-height: 1.3;
  color: var(--cec7a0-mist);
}

.cec7a0-panel-lead {
  margin: 0 0 12px;
  font-size: 12.8px;
  color: var(--cec7a0-dim);
}

.cec7a0-panel p { color: var(--cec7a0-silver); font-size: 13px; }
.cec7a0-panel p:last-child { margin-bottom: 8px; }

.cec7a0-faq { border-top: 1px solid var(--cec7a0-line); }

.cec7a0-faq details { border-bottom: 1px solid var(--cec7a0-line); }

.cec7a0-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 2px;
  font-family: var(--cec7a0-font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--cec7a0-mist);
  transition: color 0.16s ease;
}

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

.cec7a0-faq summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  color: var(--cec7a0-aqua);
  flex: 0 0 auto;
}

.cec7a0-faq details[open] summary { color: var(--cec7a0-aqua); }
.cec7a0-faq details[open] summary::after { content: "\2013"; color: var(--cec7a0-mist); }

.cec7a0-faq details p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--cec7a0-silver);
}

.cec7a0-quote {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--cec7a0-aqua);
  background: rgba(38, 55, 76, 0.55);
  border-radius: var(--cec7a0-radius-card);
}

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

.cec7a0-quote cite {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  color: var(--cec7a0-aqua);
  letter-spacing: 0.03em;
}

.cec7a0-takeaway {
  margin: 0 0 14px;
  padding: 0 0 0 4px;
  list-style: none;
  counter-reset: cec7a0take;
}

.cec7a0-takeaway li {
  position: relative;
  counter-increment: cec7a0take;
  padding: 7px 0 7px 34px;
  font-size: 13px;
  color: var(--cec7a0-silver);
  border-bottom: 1px solid var(--cec7a0-line);
}

.cec7a0-takeaway li::before {
  content: counter(cec7a0take);
  position: absolute;
  left: 0; top: 9px;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cec7a0-line-strong);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: var(--cec7a0-aqua);
}

.cec7a0-check {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.cec7a0-check li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 13px;
  color: var(--cec7a0-silver);
  border-bottom: 1px solid var(--cec7a0-line);
}

.cec7a0-check li::before {
  content: "\2713";
  position: absolute;
  left: 2px; top: 8px;
  color: var(--cec7a0-aqua);
  font-size: 14px;
  font-weight: 700;
}

.cec7a0-app-list {
  margin: 0 0 12px;
  padding-left: 18px;
}

.cec7a0-app-list li {
  padding: 5px 0;
  font-size: 13px;
  color: var(--cec7a0-silver);
}

/* --------------------------------------------------------------------------
   Extended homepage footer
   -------------------------------------------------------------------------- */

.cec7a0-xfooter {
  margin-top: 30px;
  border-top: 1px solid var(--cec7a0-line-strong);
  padding-top: 16px;
}

.cec7a0-xfooter h3 {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cec7a0-aqua);
}

.cec7a0-xfooter-group { margin-bottom: 18px; }

.cec7a0-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cec7a0-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--cec7a0-line-strong);
  border-radius: var(--cec7a0-radius-btn);
  background: var(--cec7a0-ink-deep);
  color: var(--cec7a0-aqua);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.cec7a0-shortcut:hover,
.cec7a0-shortcut:active {
  background: var(--cec7a0-ink-raise);
  color: var(--cec7a0-mist);
  border-color: var(--cec7a0-aqua);
}

.cec7a0-shortcut-wide { grid-column: 1 / -1; }

.cec7a0-xbrand {
  margin: 0;
  font-size: 12.5px;
  color: var(--cec7a0-dim);
}

.cec7a0-directory {
  display: grid;
  gap: 4px;
}

.cec7a0-directory a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 8px;
  border-radius: var(--cec7a0-radius-card);
  color: var(--cec7a0-silver);
  font-size: 13px;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.cec7a0-directory a::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cec7a0-line-strong);
  flex: 0 0 auto;
}

.cec7a0-directory a:hover {
  background: var(--cec7a0-ink-raise);
  color: var(--cec7a0-mist);
}

.cec7a0-directory a:hover::before { background: var(--cec7a0-aqua); }

.cec7a0-disclaim {
  margin: 4px 0 0;
  padding: 10px 12px;
  border: 1px dashed var(--cec7a0-line-strong);
  border-radius: var(--cec7a0-radius-card);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--cec7a0-dim);
}

/* --------------------------------------------------------------------------
   Common footer
   -------------------------------------------------------------------------- */

.cec7a0-footer {
  margin-top: 8px;
  padding: 16px 4px 4px;
  border-top: 1px solid var(--cec7a0-line);
  text-align: center;
  font-size: 11.5px;
  color: var(--cec7a0-dim);
}

.cec7a0-footer p { margin: 0 0 4px; }

/* --------------------------------------------------------------------------
   Bottom tab rail
   -------------------------------------------------------------------------- */

.cec7a0-tabbar {
  position: fixed;
  bottom: 0; left: 50%;
  width: 100%;
  max-width: 430px;
  transform: translateX(-50%);
  background: rgba(38, 55, 76, 0.98);
  border-top: 1px solid var(--cec7a0-line-strong);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--cec7a0-tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 55;
}

.cec7a0-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  color: var(--cec7a0-silver);
  border-radius: var(--cec7a0-radius-card);
  transition: color 0.16s ease, transform 0.14s ease;
}

.cec7a0-tab svg { display: block; }

.cec7a0-tab-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cec7a0-tab:active { transform: scale(0.94); }

.cec7a0-tab:hover { color: var(--cec7a0-mist); }

.cec7a0-tab.cec7a0-on {
  color: var(--cec7a0-aqua);
  transform: translateY(-2px);
}

.cec7a0-tab.cec7a0-on .cec7a0-tab-label { color: var(--cec7a0-mist); }

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cec7a0-drawer,
  .cec7a0-tab,
  .cec7a0-gcard,
  .cec7a0-shortcut { transition: none; }
}
