/* ==========================================================================
   Nustar Online App - interface-responsive-67fe61.css
   Mobile-first stylesheet for the 320-430px phone canvas.
   All class names and custom properties use the site prefix "shelle6160-".
   Palette: #0A0A0A base / #FFCCLB pink / #7B68EE violet / #FFEB3B yellow /
   #FFB347 amber. Design tone: geometric headings, low-radius sectioned
   panels, light floating game cards, sliding focus indicators and
   full-width primary CTAs.
   ========================================================================== */

:root {
  --shelle6160-ink-base: #0A0A0A;
  --shelle6160-ink-panel: #131318;
  --shelle6160-ink-panel-2: #17171e;
  --shelle6160-ink-line: #26262f;
  --shelle6160-ink-line-soft: #1e1e26;
  --shelle6160-text-hi: #F5F2FB;
  --shelle6160-text-mid: #C7C2D6;
  --shelle6160-text-low: #9791A8;
  --shelle6160-pink: #FFCCCB;
  --shelle6160-violet: #7B68EE;
  --shelle6160-violet-deep: #5A4BD8;
  --shelle6160-yellow: #FFEB3B;
  --shelle6160-amber: #FFB347;
  --shelle6160-radius: 4px;
  --shelle6160-radius-sm: 3px;
  --shelle6160-font-head: "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shelle6160-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shelle6160-canvas: 430px;
  --shelle6160-topbar-h: 54px;
  --shelle6160-tabbar-h: 58px;
  --shelle6160-tap: 44px;
  --shelle6160-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--shelle6160-ink-base);
  color: var(--shelle6160-text-hi);
  font-family: var(--shelle6160-font-body);
  font-size: 14px;
  line-height: 1.62;
  overflow-x: hidden;
}

/* Wide screens keep a centered phone canvas with a dimmed violet halo. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(620px 420px at 22% -6%, rgba(123, 104, 238, 0.14), transparent 62%),
    radial-gradient(520px 380px at 86% 104%, rgba(255, 179, 71, 0.07), transparent 60%),
    #060607;
  z-index: -1;
}

/* ---------------------------------------------------------------------------
   Canvas shell
   --------------------------------------------------------------------------- */

.shelle6160-shell {
  position: relative;
  width: 100%;
  max-width: var(--shelle6160-canvas);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shelle6160-ink-base);
  border-left: 1px solid var(--shelle6160-ink-line-soft);
  border-right: 1px solid var(--shelle6160-ink-line-soft);
}

.shelle6160-main {
  padding: calc(var(--shelle6160-topbar-h) + 10px) 14px calc(var(--shelle6160-tabbar-h) + 30px);
}

.shelle6160-skip {
  position: absolute;
  left: -999px;
  top: 6px;
  z-index: 200;
  padding: 8px 14px;
  background: var(--shelle6160-yellow);
  color: #111;
  font-weight: 700;
  border-radius: var(--shelle6160-radius);
}

.shelle6160-skip:focus { left: 10px; }

a { color: var(--shelle6160-pink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.15em; }

:focus-visible {
  outline: 2px solid var(--shelle6160-yellow);
  outline-offset: 2px;
  border-radius: var(--shelle6160-radius-sm);
}

/* ---------------------------------------------------------------------------
   Top bar: compact brand strip + action cluster + expandable route panel
   --------------------------------------------------------------------------- */

.shelle6160-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shelle6160-canvas);
  height: var(--shelle6160-topbar-h);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--shelle6160-ink-line-soft);
  transition: box-shadow 0.25s var(--shelle6160-ease), border-color 0.25s var(--shelle6160-ease);
}

.shelle6160-topbar.shelle6160-topbar-scrolled {
  border-bottom-color: var(--shelle6160-ink-line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
}

.shelle6160-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shelle6160-tap);
  color: var(--shelle6160-text-hi);
}

.shelle6160-brand:hover { text-decoration: none; }

.shelle6160-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: var(--shelle6160-radius);
  border: 1px solid var(--shelle6160-ink-line);
  background: #0d0d11;
  object-fit: cover;
  flex: 0 0 auto;
}

.shelle6160-brand-name {
  font-family: var(--shelle6160-font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: none;
}

.shelle6160-brand-name em {
  font-style: normal;
  color: var(--shelle6160-yellow);
}

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

/* Header action buttons: compact, still >= 44px touch boxes */
.shelle6160-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: var(--shelle6160-radius);
  border: 1px solid transparent;
  font-family: var(--shelle6160-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  transition: transform 0.16s var(--shelle6160-ease), filter 0.16s var(--shelle6160-ease),
    background-color 0.16s var(--shelle6160-ease), border-color 0.16s var(--shelle6160-ease);
  -webkit-tap-highlight-color: transparent;
}

.shelle6160-btn:hover { text-decoration: none; }
.shelle6160-btn:active { transform: translateY(1px); }

.shelle6160-btn-register {
  background: linear-gradient(180deg, #8d7bf5, var(--shelle6160-violet) 60%, var(--shelle6160-violet-deep));
  color: #0d0c16;
  min-width: 74px;
}

.shelle6160-btn-register:hover { filter: brightness(1.08); }

.shelle6160-btn-login {
  background: transparent;
  color: var(--shelle6160-pink);
  border-color: rgba(255, 204, 203, 0.55);
  min-width: 64px;
}

.shelle6160-btn-login:hover { border-color: var(--shelle6160-pink); background: rgba(255, 204, 203, 0.08); }

/* Hamburger trigger with morphing bars */
.shelle6160-menubtn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--shelle6160-ink-panel);
  border: 1px solid var(--shelle6160-ink-line);
  border-radius: var(--shelle6160-radius);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.shelle6160-menubtn-bar {
  width: 16px;
  height: 2px;
  background: var(--shelle6160-text-hi);
  border-radius: 2px;
  transition: transform 0.24s var(--shelle6160-ease), opacity 0.18s linear, width 0.24s var(--shelle6160-ease);
}

.shelle6160-menubtn[aria-expanded="true"] .shelle6160-menubtn-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.shelle6160-menubtn[aria-expanded="true"] .shelle6160-menubtn-bar:nth-child(2) { opacity: 0; width: 0; }
.shelle6160-menubtn[aria-expanded="true"] .shelle6160-menubtn-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Expandable route panel */
.shelle6160-routes {
  position: fixed;
  top: var(--shelle6160-topbar-h);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shelle6160-canvas);
  z-index: 119;
  background: rgba(15, 15, 20, 0.985);
  border-bottom: 1px solid var(--shelle6160-ink-line);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.5);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.3s var(--shelle6160-ease), visibility 0.3s;
}

.shelle6160-routes.shelle6160-routes-open {
  max-height: 560px;
  visibility: visible;
  overflow-y: auto;
}

.shelle6160-routes-inner { padding: 10px 14px 16px; }

.shelle6160-routes-group {
  border: 1px solid var(--shelle6160-ink-line-soft);
  border-radius: var(--shelle6160-radius);
  padding: 10px 12px;
  margin-bottom: 10px;
  background: var(--shelle6160-ink-panel);
}

.shelle6160-routes-group:last-child { margin-bottom: 0; }

.shelle6160-routes-label {
  margin: 0 0 8px;
  font-family: var(--shelle6160-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shelle6160-amber);
}

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

.shelle6160-routes-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: var(--shelle6160-radius-sm);
  border: 1px solid var(--shelle6160-ink-line-soft);
  background: #101015;
  color: var(--shelle6160-text-mid);
  font-size: 12.5px;
  font-weight: 600;
}

.shelle6160-routes-links a:hover {
  color: var(--shelle6160-yellow);
  border-color: rgba(255, 235, 59, 0.4);
  text-decoration: none;
}

.shelle6160-routes-links a.shelle6160-route-current {
  color: var(--shelle6160-yellow);
  border-color: rgba(255, 235, 59, 0.55);
  background: rgba(255, 235, 59, 0.06);
}

/* ---------------------------------------------------------------------------
   Hero block
   --------------------------------------------------------------------------- */

.shelle6160-hero {
  padding: 6px 2px 4px;
}

.shelle6160-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 235, 59, 0.35);
  border-radius: 999px;
  background: rgba(255, 235, 59, 0.07);
  color: var(--shelle6160-yellow);
  font-family: var(--shelle6160-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shelle6160-hero-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shelle6160-yellow);
  box-shadow: 0 0 8px rgba(255, 235, 59, 0.9);
}

h1.shelle6160-hero-title {
  margin: 0 0 10px;
  font-family: var(--shelle6160-font-head);
  font-size: 24px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--shelle6160-text-hi);
}

h1.shelle6160-hero-title span {
  color: var(--shelle6160-violet);
  -webkit-text-stroke: 0.4px rgba(255, 255, 255, 0.12);
}

.shelle6160-hero-lead {
  margin: 0 0 14px;
  color: var(--shelle6160-text-mid);
  font-size: 14px;
}

.shelle6160-hero-lead strong { color: var(--shelle6160-pink); font-weight: 700; }

/* Full-width main CTAs */
.shelle6160-cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0 0 10px;
}

.shelle6160-cta-main {
  width: 100%;
  min-height: var(--shelle6160-tap);
  background: linear-gradient(180deg, #fff07a, var(--shelle6160-yellow) 55%, #f5d81e);
  color: #16130a;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(255, 235, 59, 0.22);
}

.shelle6160-cta-main:hover { filter: brightness(1.05); }

.shelle6160-cta-alt {
  width: 100%;
  min-height: var(--shelle6160-tap);
  background: rgba(123, 104, 238, 0.12);
  border: 1px solid rgba(123, 104, 238, 0.6);
  color: #cdc4ff;
  font-size: 13.5px;
}

.shelle6160-cta-alt:hover { background: rgba(123, 104, 238, 0.22); }

.shelle6160-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}

.shelle6160-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  color: var(--shelle6160-text-low);
  border: 1px solid var(--shelle6160-ink-line-soft);
  border-radius: 999px;
  background: var(--shelle6160-ink-panel);
}

.shelle6160-hero-meta b { color: var(--shelle6160-amber); font-weight: 700; }

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

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

.shelle6160-carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 20 / 9;
  overflow: hidden;
}

.shelle6160-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--shelle6160-ink-panel);
  cursor: pointer;
  opacity: 0;
  transform: translateX(6%) scale(1.015);
  transition: opacity 0.45s var(--shelle6160-ease), transform 0.45s var(--shelle6160-ease);
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
}

.shelle6160-slide.shelle6160-slide-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.shelle6160-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shelle6160-slide-caption {
  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, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.88) 62%);
  pointer-events: none;
  text-align: left;
}

.shelle6160-slide-caption strong {
  display: block;
  font-family: var(--shelle6160-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.shelle6160-slide-caption small {
  display: block;
  font-size: 10.5px;
  color: var(--shelle6160-amber);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.shelle6160-slide-go {
  flex: 0 0 auto;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 800;
  color: #16130a;
  background: var(--shelle6160-yellow);
  border-radius: 999px;
  letter-spacing: 0.04em;
}

/* Sliding focus indicator under the carousel */
.shelle6160-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 26px;
  position: relative;
}

.shelle6160-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: background-color 0.2s linear;
  -webkit-tap-highlight-color: transparent;
}

.shelle6160-carousel-dot:hover { background: rgba(255, 255, 255, 0.45); }

.shelle6160-carousel-track {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 22px;
  height: 8px;
  margin-left: -11px;
  pointer-events: none;
}

.shelle6160-carousel-pill {
  display: block;
  width: 22px;
  height: 8px;
  border-radius: 999px;
  background: var(--shelle6160-yellow);
  box-shadow: 0 0 10px rgba(255, 235, 59, 0.55);
  transition: transform 0.38s var(--shelle6160-ease);
}

/* ---------------------------------------------------------------------------
   Section scaffolding (low-radius sectioned panels)
   --------------------------------------------------------------------------- */

.shelle6160-section {
  margin: 22px 0 0;
  border: 1px solid var(--shelle6160-ink-line-soft);
  border-radius: var(--shelle6160-radius);
  background: linear-gradient(180deg, var(--shelle6160-ink-panel) 0%, #101016 100%);
  padding: 14px 12px 16px;
}

.shelle6160-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--shelle6160-ink-line-soft);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

h2.shelle6160-h2 {
  margin: 0;
  font-family: var(--shelle6160-font-head);
  font-size: 17.5px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.005em;
  color: var(--shelle6160-text-hi);
}

h2.shelle6160-h2 i {
  font-style: normal;
  color: var(--shelle6160-violet);
}

h3.shelle6160-h3 {
  margin: 14px 0 6px;
  font-family: var(--shelle6160-font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--shelle6160-yellow);
  letter-spacing: 0.01em;
}

.shelle6160-section-tag {
  flex: 0 0 auto;
  font-family: var(--shelle6160-font-head);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shelle6160-amber);
  border: 1px solid rgba(255, 179, 71, 0.4);
  background: rgba(255, 179, 71, 0.08);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.shelle6160-section p { margin: 0 0 10px; color: var(--shelle6160-text-mid); }

.shelle6160-section p:last-child { margin-bottom: 0; }

.shelle6160-section strong { color: var(--shelle6160-text-hi); }

/* ---------------------------------------------------------------------------
   Category quick rail with sliding indicator
   --------------------------------------------------------------------------- */

.shelle6160-rail-wrap {
  position: relative;
  margin: 16px 0 0;
  border: 1px solid var(--shelle6160-ink-line-soft);
  border-radius: var(--shelle6160-radius);
  background: var(--shelle6160-ink-panel);
  overflow: hidden;
}

.shelle6160-rail {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 8px 8px 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shelle6160-rail::-webkit-scrollbar { display: none; }

.shelle6160-rail a {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: var(--shelle6160-radius-sm);
  color: var(--shelle6160-text-mid);
  font-family: var(--shelle6160-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.shelle6160-rail a:hover { color: var(--shelle6160-text-hi); text-decoration: none; }

.shelle6160-rail a span.shelle6160-rail-count {
  font-size: 10px;
  font-weight: 800;
  color: var(--shelle6160-amber);
  background: rgba(255, 179, 71, 0.12);
  border-radius: 999px;
  padding: 1px 6px;
}

.shelle6160-rail-indicator {
  position: absolute;
  top: 8px;
  left: 0;
  height: 40px;
  width: 72px;
  border: 1px solid rgba(123, 104, 238, 0.65);
  border-radius: var(--shelle6160-radius-sm);
  background: rgba(123, 104, 238, 0.16);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.34s var(--shelle6160-ease), width 0.34s var(--shelle6160-ease), opacity 0.25s linear;
}

.shelle6160-rail-indicator.shelle6160-rail-indicator-on { opacity: 1; }

.shelle6160-rail a.shelle6160-rail-active { color: #cdc4ff; }
.shelle6160-rail a.shelle6160-rail-active .shelle6160-rail-count {
  background: rgba(123, 104, 238, 0.28);
}

.shelle6160-carousel-dot.shelle6160-dot-live { background: rgba(255, 235, 59, 0.5); }

/* Anchor targets clear the fixed top bar when jumping from the rail. */
#shelle6160-cat-cards,
#shelle6160-cat-fishing,
#shelle6160-cat-hot,
#shelle6160-cat-live,
#shelle6160-cat-slot { scroll-margin-top: 66px; }

/* ---------------------------------------------------------------------------
   Game grids and floating image cards
   --------------------------------------------------------------------------- */

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

.shelle6160-gcard {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-radius: var(--shelle6160-radius);
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.shelle6160-gcard-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--shelle6160-radius);
  border: 1px solid var(--shelle6160-ink-line);
  background: #0e0e13;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s var(--shelle6160-ease), box-shadow 0.18s var(--shelle6160-ease),
    border-color 0.18s var(--shelle6160-ease);
}

.shelle6160-gcard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Soft floating sheen on the card icon */
.shelle6160-gcard-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.shelle6160-gcard:hover .shelle6160-gcard-thumb,
.shelle6160-gcard:focus-visible .shelle6160-gcard-thumb {
  transform: translateY(-3px);
  border-color: rgba(123, 104, 238, 0.75);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(123, 104, 238, 0.35);
}

.shelle6160-gcard:active .shelle6160-gcard-thumb { transform: translateY(-1px) scale(0.97); }

.shelle6160-gcard-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--shelle6160-text-mid);
  text-align: center;
  overflow-wrap: anywhere;
}

.shelle6160-gcard:hover .shelle6160-gcard-name { color: var(--shelle6160-text-hi); }

.shelle6160-cat-intro {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--shelle6160-text-low);
}

.shelle6160-cat-intro a { color: var(--shelle6160-pink); font-weight: 600; }

/* ---------------------------------------------------------------------------
   Content modules
   --------------------------------------------------------------------------- */

.shelle6160-branch {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.shelle6160-branch-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--shelle6160-ink-line-soft);
  border-radius: var(--shelle6160-radius);
  background: var(--shelle6160-ink-panel-2);
}

.shelle6160-branch-glyph {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--shelle6160-radius-sm);
  background: rgba(123, 104, 238, 0.16);
  border: 1px solid rgba(123, 104, 238, 0.45);
  color: #cdc4ff;
  font-family: var(--shelle6160-font-head);
  font-size: 12px;
  font-weight: 800;
}

.shelle6160-branch-row h4 {
  margin: 0 0 3px;
  font-family: var(--shelle6160-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--shelle6160-text-hi);
}

.shelle6160-branch-row p { margin: 0; font-size: 12.5px; color: var(--shelle6160-text-mid); }

/* Feature comparison table-like list */
.shelle6160-feats {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.shelle6160-feat {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--shelle6160-ink-line-soft);
  border-left: 3px solid var(--shelle6160-violet);
  border-radius: var(--shelle6160-radius-sm);
  background: var(--shelle6160-ink-panel-2);
  padding: 9px 11px;
}

.shelle6160-feat dt {
  font-family: var(--shelle6160-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shelle6160-yellow);
  margin-bottom: 3px;
}

.shelle6160-feat dd {
  margin: 0;
  font-size: 12.5px;
  color: var(--shelle6160-text-mid);
}

/* Scenario switch tabs (mobile download) */
.shelle6160-scenes { margin: 10px 0; }

.shelle6160-scene-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.shelle6160-scene-tab {
  flex: 1 1 0;
  min-height: 40px;
  padding: 8px 6px;
  border: 1px solid var(--shelle6160-ink-line);
  border-radius: var(--shelle6160-radius);
  background: var(--shelle6160-ink-panel);
  color: var(--shelle6160-text-mid);
  font-family: var(--shelle6160-font-head);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.18s var(--shelle6160-ease), color 0.18s var(--shelle6160-ease),
    background-color 0.18s var(--shelle6160-ease), transform 0.18s var(--shelle6160-ease);
}

.shelle6160-scene-tab.shelle6160-scene-tab-on {
  color: #16130a;
  background: var(--shelle6160-yellow);
  border-color: var(--shelle6160-yellow);
  transform: translateY(-2px);
}

.shelle6160-scene-panel {
  display: none;
  border: 1px solid var(--shelle6160-ink-line-soft);
  border-radius: var(--shelle6160-radius);
  background: var(--shelle6160-ink-panel-2);
  padding: 11px 12px;
}

.shelle6160-scene-panel.shelle6160-scene-panel-on { display: block; }

.shelle6160-scene-panel ol,
.shelle6160-scene-panel ul { margin: 6px 0 0; color: var(--shelle6160-text-mid); font-size: 12.5px; }
.shelle6160-scene-panel li { margin-bottom: 5px; }
.shelle6160-scene-panel li:last-child { margin-bottom: 0; }

/* Definition glossary rows */
.shelle6160-gloss {
  border: 1px solid var(--shelle6160-ink-line-soft);
  border-radius: var(--shelle6160-radius);
  overflow: hidden;
  margin: 10px 0;
}

.shelle6160-gloss-row {
  display: grid;
  grid-template-columns: 1fr;
  padding: 10px 12px;
  border-bottom: 1px solid var(--shelle6160-ink-line-soft);
  background: var(--shelle6160-ink-panel-2);
}

.shelle6160-gloss-row:last-child { border-bottom: 0; }

.shelle6160-gloss-term {
  font-family: var(--shelle6160-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--shelle6160-pink);
  margin-bottom: 2px;
}

.shelle6160-gloss-def { font-size: 12.5px; color: var(--shelle6160-text-mid); }

/* Step list */
.shelle6160-steps { counter-reset: shelle6160step; margin: 10px 0; display: grid; gap: 8px; }

.shelle6160-step {
  counter-increment: shelle6160step;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
}

.shelle6160-step::before {
  content: counter(shelle6160step);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 235, 59, 0.1);
  border: 1px solid rgba(255, 235, 59, 0.5);
  color: var(--shelle6160-yellow);
  font-family: var(--shelle6160-font-head);
  font-size: 12px;
  font-weight: 800;
}

.shelle6160-step p { margin: 0; font-size: 13px; }

/* Inline note / fact strip */
.shelle6160-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px dashed rgba(255, 179, 71, 0.45);
  border-radius: var(--shelle6160-radius);
  background: rgba(255, 179, 71, 0.06);
  font-size: 12.5px;
  color: var(--shelle6160-text-mid);
}

.shelle6160-note b { color: var(--shelle6160-amber); }

/* ---------------------------------------------------------------------------
   Extended homepage footer: brand > promotions > directory > disclaimer
   --------------------------------------------------------------------------- */

.shelle6160-xf {
  margin: 26px 0 0;
  border-top: 2px solid var(--shelle6160-ink-line);
  background: linear-gradient(180deg, #0e0e13, #0b0b0f);
  padding: 16px 14px 18px;
}

.shelle6160-xf-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.shelle6160-xf-brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--shelle6160-radius);
  border: 1px solid var(--shelle6160-ink-line);
  background: #0d0d11;
  object-fit: cover;
  flex: 0 0 auto;
}

.shelle6160-xf-brand-name {
  margin: 0 0 4px;
  font-family: var(--shelle6160-font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--shelle6160-text-hi);
}

.shelle6160-xf-brand-name em { font-style: normal; color: var(--shelle6160-yellow); }

.shelle6160-xf-brand p { margin: 0; font-size: 12px; color: var(--shelle6160-text-low); }

.shelle6160-xf-label {
  margin: 14px 0 8px;
  font-family: var(--shelle6160-font-head);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--shelle6160-amber);
}

.shelle6160-xf-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shelle6160-xf-promo {
  min-height: var(--shelle6160-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 8px;
  border-radius: var(--shelle6160-radius);
  font-family: var(--shelle6160-font-head);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.16s var(--shelle6160-ease), filter 0.16s var(--shelle6160-ease);
}

.shelle6160-xf-promo:hover { text-decoration: none; }
.shelle6160-xf-promo:active { transform: translateY(1px); }

.shelle6160-xf-promo-gold { background: var(--shelle6160-yellow); color: #16130a; }
.shelle6160-xf-promo-violet { background: rgba(123, 104, 238, 0.16); border: 1px solid rgba(123, 104, 238, 0.6); color: #cdc4ff; }
.shelle6160-xf-promo-line { background: transparent; border: 1px solid rgba(255, 204, 203, 0.5); color: var(--shelle6160-pink); }
.shelle6160-xf-promo-amber { background: rgba(255, 179, 71, 0.12); border: 1px solid rgba(255, 179, 71, 0.55); color: var(--shelle6160-amber); }
.shelle6160-xf-promo-solid { background: linear-gradient(180deg, #8d7bf5, var(--shelle6160-violet-deep)); color: #0d0c16; }

.shelle6160-xf-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}

.shelle6160-xf-dir a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 12px;
  font-weight: 600;
  color: var(--shelle6160-text-low);
  border-bottom: 1px dotted var(--shelle6160-ink-line-soft);
}

.shelle6160-xf-dir a:hover { color: var(--shelle6160-yellow); text-decoration: none; }

.shelle6160-xf-disclaimer {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--shelle6160-ink-line-soft);
  border-radius: var(--shelle6160-radius);
  background: rgba(123, 104, 238, 0.05);
  font-size: 11.5px;
  color: var(--shelle6160-text-low);
}

/* ---------------------------------------------------------------------------
   Generic footer + fixed bottom tab bar
   --------------------------------------------------------------------------- */

.shelle6160-footer {
  padding: 14px 14px 8px;
  border-top: 1px solid var(--shelle6160-ink-line-soft);
  text-align: center;
}

.shelle6160-footer p {
  margin: 0;
  font-size: 11.5px;
  color: var(--shelle6160-text-low);
}

.shelle6160-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shelle6160-canvas);
  height: calc(var(--shelle6160-tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 130;
  display: flex;
  align-items: stretch;
  background: rgba(12, 12, 16, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--shelle6160-ink-line);
}

.shelle6160-tab {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px 4px;
  color: var(--shelle6160-text-low);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.1;
  border-radius: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.shelle6160-tab + .shelle6160-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--shelle6160-ink-line-soft);
}

/* Outlined function bar: each tab sits on a subtle stroked plate */
.shelle6160-tab-plate {
  width: 44px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--shelle6160-radius-sm);
  transition: transform 0.2s var(--shelle6160-ease), border-color 0.2s var(--shelle6160-ease),
    background-color 0.2s var(--shelle6160-ease);
}

.shelle6160-tab svg {
  width: 21px;
  height: 21px;
  display: block;
  transition: transform 0.22s var(--shelle6160-ease);
}

.shelle6160-tab .shelle6160-tab-glyph-main { transition: opacity 0.2s linear, transform 0.22s var(--shelle6160-ease); }
.shelle6160-tab .shelle6160-tab-glyph-alt { opacity: 0; transform: translateY(5px) scale(0.8); transition: opacity 0.2s linear, transform 0.22s var(--shelle6160-ease); }

.shelle6160-tab:hover { color: var(--shelle6160-text-mid); text-decoration: none; }
.shelle6160-tab:hover .shelle6160-tab-plate { border-color: var(--shelle6160-ink-line); }

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

/* Active tab: plate outline + slight lift + icon state morph */
.shelle6160-tab.shelle6160-tab-current {
  color: var(--shelle6160-yellow);
}

.shelle6160-tab.shelle6160-tab-current .shelle6160-tab-plate {
  transform: translateY(-3px);
  border-color: rgba(255, 235, 59, 0.55);
  background: rgba(255, 235, 59, 0.08);
}

.shelle6160-tab.shelle6160-tab-current svg { transform: translateY(-1px); }

.shelle6160-tab.shelle6160-tab-current .shelle6160-tab-glyph-main { opacity: 0; transform: translateY(-5px) scale(0.85); }
.shelle6160-tab.shelle6160-tab-current .shelle6160-tab-glyph-alt { opacity: 1; transform: translateY(0) scale(1); }

.shelle6160-tab-promo .shelle6160-tab-plate { border-color: rgba(123, 104, 238, 0.55); background: rgba(123, 104, 238, 0.1); }
.shelle6160-tab-promo:hover { color: #cdc4ff; }
.shelle6160-tab-promo:active .shelle6160-tab-plate { transform: scale(0.94); }

/* ---------------------------------------------------------------------------
   Utility
   --------------------------------------------------------------------------- */

.shelle6160-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--shelle6160-ease), transform 0.5s var(--shelle6160-ease);
}

.shelle6160-reveal.shelle6160-reveal-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .shelle6160-reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------------
   Responsive ladder: 320px base -> 430px phone canvas
   --------------------------------------------------------------------------- */

@media (min-width: 348px) {
  .shelle6160-games { gap: 12px 10px; }
  .shelle6160-hero-title { font-size: 25px; }
}

@media (min-width: 375px) {
  .shelle6160-main { padding-left: 16px; padding-right: 16px; }
  h1.shelle6160-hero-title { font-size: 27px; }
  h2.shelle6160-h2 { font-size: 18.5px; }
  .shelle6160-gcard-name { font-size: 11.5px; }
  .shelle6160-xf-promos { grid-template-columns: repeat(2, 1fr); }
  .shelle6160-slide-caption strong { font-size: 14.5px; }
}

@media (min-width: 400px) {
  .shelle6160-games { grid-template-columns: repeat(5, 1fr); }
  .shelle6160-xf-dir { grid-template-columns: 1fr 1fr 1fr; }
  .shelle6160-hero-title { font-size: 28px; }
}
