/* =========================================================
   Casino Plus PH - screen-c279.css
   Mobile-first (320-430px) canvas. Desktop keeps centered phone canvas.
   Prefix: wc279-
   Palette: #FF6347 | #F0F0F0 | #00BFFF | #FFB6C1 | #0C0C0C
   Navigation direction:
     top = compact brand bar
     menu = slide-up route panel
     bottom = segmented action bar
     icons = two-tone role icons
     active = contrast inversion
     micro = lightweight press feedback
   ========================================================= */

:root {
  --wc279-tomato: #FF6347;
  --wc279-mist: #F0F0F0;
  --wc279-sky: #00BFFF;
  --wc279-pink: #FFB6C1;
  --wc279-ink: #0C0C0C;

  --wc279-bg: #0C0C0C;
  --wc279-bg-soft: #15151a;
  --wc279-bg-card: #1c1c22;
  --wc279-bg-elev: #24242c;
  --wc279-line: #2e2e38;
  --wc279-text: #F0F0F0;
  --wc279-text-dim: #a9a9b4;
  --wc279-text-mute: #6f6f7a;

  --wc279-grad-hot: linear-gradient(135deg, #FF6347 0%, #FFB6C1 100%);
  --wc279-grad-cool: linear-gradient(135deg, #00BFFF 0%, #FF6347 100%);
  --wc279-grad-card: linear-gradient(160deg, #1c1c22 0%, #15151a 100%);

  --wc279-radius-sm: 8px;
  --wc279-radius: 14px;
  --wc279-radius-lg: 20px;

  --wc279-touch: 44px;

  --wc279-header-h: 56px;
  --wc279-bottom-h: 64px;

  --wc279-shadow-sm: 0 4px 12px rgba(0,0,0,0.35);
  --wc279-shadow-md: 0 10px 26px rgba(0,0,0,0.45);
  --wc279-shadow-glow: 0 0 24px rgba(255,99,71,0.25);

  --wc279-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--wc279-bg);
  color: var(--wc279-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--wc279-sky); text-decoration: none; }
a:focus, button:focus { outline: 2px solid var(--wc279-sky); outline-offset: 2px; }

/* ---- Phone canvas frame (centered on wide screens) ---- */
.wc279-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(0,191,255,0.08), transparent 60%),
    radial-gradient(800px 400px at 90% 10%, rgba(255,99,71,0.10), transparent 60%),
    var(--wc279-bg);
  min-height: 100vh;
  padding-bottom: calc(var(--wc279-bottom-h) + 24px);
}

/* =========================================================
   HEADER - Compact brand bar
   ========================================================= */
.wc279-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--wc279-header-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: rgba(12,12,12,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--wc279-line);
}

.wc279-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.wc279-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--wc279-bg-elev);
  border: 1px solid var(--wc279-line);
  flex-shrink: 0;
}
.wc279-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.wc279-brand-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--wc279-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc279-brand-tag {
  font-size: 10px;
  color: var(--wc279-sky);
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.wc279-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.wc279-btn {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  padding: 0 16px;
  height: 36px;
  min-height: var(--wc279-touch);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.12s var(--wc279-ease), box-shadow 0.18s var(--wc279-ease), background 0.18s var(--wc279-ease);
  font-family: inherit;
}
.wc279-btn:active { transform: scale(0.96); }

.wc279-btn-register {
  background: var(--wc279-grad-hot);
  color: #1a0a06;
  box-shadow: var(--wc279-shadow-glow);
}
.wc279-btn-login {
  background: transparent;
  color: var(--wc279-text);
  border: 1.5px solid var(--wc279-sky);
}
.wc279-btn-login:active { background: rgba(0,191,255,0.12); }

.wc279-icon-btn {
  width: 40px;
  height: 40px;
  min-height: var(--wc279-touch);
  border-radius: 12px;
  background: var(--wc279-bg-elev);
  border: 1px solid var(--wc279-line);
  color: var(--wc279-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.12s var(--wc279-ease), background 0.18s var(--wc279-ease);
  padding: 0;
}
.wc279-icon-btn:active { transform: scale(0.94); background: var(--wc279-ink); }
.wc279-icon-btn svg { width: 22px; height: 22px; }

/* =========================================================
   SLIDE-UP ROUTE PANEL (expandable menu)
   ========================================================= */
.wc279-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--wc279-ease);
  z-index: 60;
}
.wc279-overlay.wc279-open {
  opacity: 1;
  pointer-events: auto;
}

.wc279-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1a1a20 0%, #0C0C0C 100%);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  border: 1px solid var(--wc279-line);
  padding: 14px 16px calc(env(safe-area-inset-bottom, 0px) + 18px);
  transform: translateY(110%);
  transition: transform 0.32s var(--wc279-ease);
  box-shadow: 0 -16px 40px rgba(0,0,0,0.55);
  max-height: 78vh;
  overflow-y: auto;
}
.wc279-panel.wc279-open { transform: translateY(0); }

.wc279-panel-grip {
  width: 44px;
  height: 5px;
  border-radius: 3px;
  background: var(--wc279-line);
  margin: 2px auto 12px;
}

.wc279-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.wc279-panel-title {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  color: var(--wc279-text);
}
.wc279-panel-title span { color: var(--wc279-tomato); }

.wc279-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.wc279-route {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  background: var(--wc279-bg-card);
  border: 1px solid var(--wc279-line);
  border-radius: var(--wc279-radius);
  color: var(--wc279-text);
  text-align: center;
  min-height: 78px;
  transition: transform 0.12s var(--wc279-ease), border-color 0.18s var(--wc279-ease), background 0.18s var(--wc279-ease);
}
.wc279-route:active { transform: scale(0.95); border-color: var(--wc279-sky); }
.wc279-route svg { width: 22px; height: 22px; color: var(--wc279-tomato); }
.wc279-route span {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}
.wc279-route.wc279-route-promo {
  background: var(--wc279-grad-hot);
  color: #1a0a06;
  border-color: transparent;
}
.wc279-route.wc279-route-promo svg { color: #1a0a06; }

/* =========================================================
   MAIN CONTENT
   ========================================================= */
.wc279-main { padding: 14px 12px 8px; }

.wc279-section { margin: 22px 0; }
.wc279-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  gap: 10px;
}
.wc279-section-title {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  color: var(--wc279-text);
  position: relative;
  padding-left: 12px;
  line-height: 1.3;
}
.wc279-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--wc279-grad-hot);
}
.wc279-section-title em {
  font-style: normal;
  color: var(--wc279-sky);
}
.wc279-section-more {
  font-size: 12px;
  color: var(--wc279-text-dim);
  font-weight: 600;
  white-space: nowrap;
}

/* =========================================================
   HERO CAROUSEL
   ========================================================= */
.wc279-hero {
  position: relative;
  border-radius: var(--wc279-radius-lg);
  overflow: hidden;
  margin: 6px 0 4px;
  box-shadow: var(--wc279-shadow-md);
  border: 1px solid var(--wc279-line);
}
.wc279-hero-track {
  display: flex;
  transition: transform 0.5s var(--wc279-ease);
}
.wc279-hero-slide {
  flex: 0 0 100%;
  position: relative;
  cursor: pointer;
}
.wc279-hero-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.wc279-hero-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
.wc279-hero-eyebrow {
  align-self: flex-start;
  background: rgba(12,12,12,0.7);
  border: 1px solid var(--wc279-tomato);
  color: var(--wc279-tomato);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 8px;
  border-radius: 999px;
}
.wc279-hero-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  line-height: 1.25;
}
.wc279-hero-cta {
  align-self: flex-start;
  background: var(--wc279-grad-hot);
  color: #1a0a06;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  pointer-events: auto;
  border: none;
  cursor: pointer;
  box-shadow: var(--wc279-shadow-glow);
}

.wc279-hero-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}
.wc279-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.wc279-hero-dot.wc279-active {
  background: var(--wc279-tomato);
  width: 18px;
  border-radius: 4px;
}

/* =========================================================
   QUICK STATS STRIP
   ========================================================= */
.wc279-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 14px 0 4px;
}
.wc279-stat {
  background: var(--wc279-bg-card);
  border: 1px solid var(--wc279-line);
  border-radius: var(--wc279-radius);
  padding: 10px 6px;
  text-align: center;
}
.wc279-stat-num {
  font-size: 16px;
  font-weight: 800;
  color: var(--wc279-tomato);
  line-height: 1.1;
}
.wc279-stat-label {
  font-size: 10px;
  color: var(--wc279-text-dim);
  margin-top: 3px;
  letter-spacing: 0.3px;
}

/* =========================================================
   GAME GRID - dense mobile grid (4 cols at 320px, 4-5 at wider)
   ========================================================= */
.wc279-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 360px) {
  .wc279-game-grid { gap: 9px; }
}
@media (min-width: 395px) {
  .wc279-game-grid { grid-template-columns: repeat(5, 1fr); }
}

.wc279-game {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s var(--wc279-ease);
  font-family: inherit;
}
.wc279-game:active { transform: scale(0.93); }

.wc279-game-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--wc279-bg-card);
  border: 1px solid var(--wc279-line);
}
.wc279-game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wc279-game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}
.wc279-game-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  background: var(--wc279-tomato);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.wc279-game-name {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--wc279-text-dim);
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 28px;
}

/* =========================================================
   CATEGORY PILLS (decorative anchor to category)
   ========================================================= */
.wc279-cat-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.wc279-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 4px;
  background: var(--wc279-bg-card);
  border: 1px solid var(--wc279-line);
  border-radius: var(--wc279-radius);
  color: var(--wc279-text);
  transition: transform 0.12s var(--wc279-ease), border-color 0.18s var(--wc279-ease);
}
.wc279-cat:active { transform: scale(0.94); border-color: var(--wc279-tomato); }
.wc279-cat-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--wc279-grad-cool);
  display: flex;
  align-items: center;
  justify-content: center;
}
.wc279-cat-ico svg { width: 18px; height: 18px; color: #0C0C0C; }
.wc279-cat span { font-size: 10px; font-weight: 700; color: var(--wc279-text); }

/* =========================================================
   INFO CARDS / CONTENT BLOCKS
   ========================================================= */
.wc279-card {
  background: var(--wc279-grad-card);
  border: 1px solid var(--wc279-line);
  border-radius: var(--wc279-radius-lg);
  padding: 16px;
  box-shadow: var(--wc279-shadow-sm);
}
.wc279-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--wc279-text);
}
.wc279-card p {
  margin: 0 0 8px;
  color: var(--wc279-text-dim);
  font-size: 13px;
  line-height: 1.6;
}
.wc279-card p:last-child { margin-bottom: 0; }
.wc279-card a { color: var(--wc279-sky); font-weight: 600; }
.wc279-card a:active { color: var(--wc279-tomato); }

.wc279-prose {
  background: var(--wc279-bg-card);
  border: 1px solid var(--wc279-line);
  border-radius: var(--wc279-radius-lg);
  padding: 18px 16px;
}
.wc279-prose h2 {
  font-size: 17px;
  font-weight: 800;
  margin: 18px 0 8px;
  color: var(--wc279-text);
  line-height: 1.35;
}
.wc279-prose h2:first-child { margin-top: 0; }
.wc279-prose h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 14px 0 6px;
  color: var(--wc279-sky);
}
.wc279-prose p {
  margin: 0 0 10px;
  color: var(--wc279-text-dim);
  font-size: 13px;
  line-height: 1.7;
}
.wc279-prose ul {
  margin: 0 0 10px;
  padding-left: 18px;
  color: var(--wc279-text-dim);
  font-size: 13px;
  line-height: 1.7;
}
.wc279-prose li { margin-bottom: 4px; }
.wc279-prose strong { color: var(--wc279-text); }
.wc279-prose a { color: var(--wc279-sky); font-weight: 600; }

/* ---- Highlight strip (Popular Play Styles etc.) ---- */
.wc279-pill-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.wc279-pill {
  background: var(--wc279-bg-card);
  border: 1px solid var(--wc279-line);
  border-radius: var(--wc279-radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wc279-pill h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--wc279-text);
}
.wc279-pill p {
  margin: 0;
  font-size: 11px;
  color: var(--wc279-text-dim);
  line-height: 1.45;
}

/* ---- Testimonials ---- */
.wc279-quote-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.wc279-quote {
  background: var(--wc279-bg-card);
  border: 1px solid var(--wc279-line);
  border-radius: var(--wc279-radius);
  padding: 12px;
}
.wc279-quote-stars {
  color: var(--wc279-tomato);
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.wc279-quote p {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--wc279-text);
  line-height: 1.5;
}
.wc279-quote cite {
  font-style: normal;
  font-size: 11px;
  color: var(--wc279-text-mute);
  font-weight: 600;
}

/* ---- Payment methods ---- */
.wc279-pay-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.wc279-pay {
  background: var(--wc279-bg-card);
  border: 1px solid var(--wc279-line);
  border-radius: var(--wc279-radius);
  padding: 12px 6px;
  text-align: center;
}
.wc279-pay-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--wc279-text);
}
.wc279-pay-desc {
  font-size: 10px;
  color: var(--wc279-text-dim);
  margin-top: 3px;
}

/* ---- Winners ticker ---- */
.wc279-winner-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wc279-winner {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  background: var(--wc279-bg-card);
  border: 1px solid var(--wc279-line);
  border-radius: 10px;
  padding: 8px 10px;
}
.wc279-winner-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wc279-grad-cool);
  color: #0C0C0C;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wc279-winner-meta { min-width: 0; }
.wc279-winner-game {
  font-size: 12px;
  font-weight: 700;
  color: var(--wc279-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc279-winner-user {
  font-size: 10px;
  color: var(--wc279-text-mute);
}
.wc279-winner-amt {
  font-size: 13px;
  font-weight: 800;
  color: var(--wc279-tomato);
  white-space: nowrap;
}

/* ---- Promo CTA banner ---- */
.wc279-cta-banner {
  background: var(--wc279-grad-hot);
  border-radius: var(--wc279-radius-lg);
  padding: 16px;
  color: #1a0a06;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--wc279-shadow-glow);
}
.wc279-cta-banner h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
}
.wc279-cta-banner p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
}
.wc279-cta-banner button {
  align-self: flex-start;
  background: #0C0C0C;
  color: var(--wc279-text);
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  min-height: var(--wc279-touch);
  font-family: inherit;
}
.wc279-cta-banner button:active { transform: scale(0.96); }

/* =========================================================
   EXTENDED FOOTER (homepage-only)
   ========================================================= */
.wc279-ext-foot {
  margin-top: 26px;
  background: var(--wc279-bg-soft);
  border-top: 1px solid var(--wc279-line);
  padding: 22px 16px 18px;
  border-radius: 22px 22px 0 0;
}
.wc279-ext-foot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.wc279-ext-foot h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--wc279-tomato);
}
.wc279-ext-foot p {
  font-size: 12px;
  color: var(--wc279-text-dim);
  line-height: 1.6;
  margin: 0 0 8px;
}
.wc279-ext-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wc279-ext-foot li { margin-bottom: 6px; }
.wc279-ext-foot a {
  color: var(--wc279-text-dim);
  font-size: 12px;
  font-weight: 500;
}
.wc279-ext-foot a:active { color: var(--wc279-tomato); }

.wc279-ext-foot-promos {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 4px;
}
.wc279-promo-chip {
  background: var(--wc279-bg-card);
  border: 1px solid var(--wc279-line);
  border-radius: 10px;
  padding: 10px 4px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--wc279-text);
  cursor: pointer;
  transition: transform 0.12s var(--wc279-ease), border-color 0.18s var(--wc279-ease);
}
.wc279-promo-chip:active { transform: scale(0.94); border-color: var(--wc279-tomato); }
.wc279-promo-chip strong {
  display: block;
  color: var(--wc279-tomato);
  font-size: 13px;
  margin-bottom: 2px;
}

.wc279-disclaimer {
  grid-column: 1 / -1;
  border-top: 1px solid var(--wc279-line);
  padding-top: 12px;
  font-size: 10px;
  color: var(--wc279-text-mute);
  line-height: 1.55;
}

/* =========================================================
   COPYRIGHT BAR
   ========================================================= */
.wc279-copyright {
  text-align: center;
  padding: 12px 16px 4px;
  font-size: 11px;
  color: var(--wc279-text-mute);
}

/* =========================================================
   BOTTOM NAV - Segmented action bar (mobile only)
   ========================================================= */
.wc279-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  max-width: 430px;
  margin: 0 auto;
  height: var(--wc279-bottom-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(12,12,12,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--wc279-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.wc279-nav-item {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  color: var(--wc279-text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  position: relative;
  transition: color 0.18s var(--wc279-ease), transform 0.12s var(--wc279-ease);
  min-height: var(--wc279-touch);
}
.wc279-nav-item:active { transform: scale(0.92); }
.wc279-nav-item svg {
  width: 22px;
  height: 22px;
  transition: transform 0.18s var(--wc279-ease);
}
.wc279-nav-item.wc279-active {
  color: var(--wc279-text);
}
.wc279-nav-item.wc279-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--wc279-tomato);
}
.wc279-nav-item.wc279-active svg {
  transform: translateY(-1px);
}
.wc279-nav-item.wc279-nav-promo {
  color: var(--wc279-pink);
}
.wc279-nav-item.wc279-nav-promo svg { color: var(--wc279-tomato); }
.wc279-nav-item span { letter-spacing: 0.2px; }

/* ---- Keep the five-role navigation available on every viewport ---- */
@media (min-width: 768px) {
  .wc279-shell { min-height: 100vh; }
  .wc279-bottom { left: 50%; right: auto; transform: translateX(-50%); width: 100%; }
}

/* =========================================================
   UTILITIES
   ========================================================= */
.wc279-hide { display: none !important; }
.wc279-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;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
