/* ============================================================
   Bunny Umi - mobile-first lobby stylesheet
   Canvas: 320-430px phone frame, centered on wide screens
   Palette: #34495E base / #E0F2F1 ink / #C0C0C0 silver
            #E0FFFF ice accents / #5D5D5D rule lines
   Prefix:  shelle35f4-
   ============================================================ */

:root {
  --shelle35f4-bg: #34495E;
  --shelle35f4-bg-deep: rgba(28, 41, 54, 0.97);
  --shelle35f4-panel: rgba(224, 242, 241, 0.055);
  --shelle35f4-panel-soft: rgba(224, 255, 255, 0.03);
  --shelle35f4-ink: #E0F2F1;
  --shelle35f4-ink-dim: #C0C0C0;
  --shelle35f4-ice: #E0FFFF;
  --shelle35f4-line: #5D5D5D;
  --shelle35f4-line-soft: rgba(93, 93, 93, 0.55);
  --shelle35f4-shadow: 0 3px 12px rgba(12, 20, 28, 0.35);
  --shelle35f4-font-head: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --shelle35f4-font-body: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --shelle35f4-r: 6px;
  --shelle35f4-r-sm: 4px;
  --shelle35f4-canvas: 468px;
}

/* ---------- base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--shelle35f4-bg);
  background-image: linear-gradient(180deg, rgba(224, 255, 255, 0.025) 0%, rgba(12, 20, 28, 0) 240px);
  color: var(--shelle35f4-ink);
  font-family: var(--shelle35f4-font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

a { color: var(--shelle35f4-ice); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--shelle35f4-ice);
  outline-offset: 2px;
  border-radius: var(--shelle35f4-r-sm);
}

.shelle35f4-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--shelle35f4-ink);
  color: var(--shelle35f4-bg);
  padding: 8px 14px;
  border-radius: var(--shelle35f4-r-sm);
  font-weight: 700;
  z-index: 200;
}

.shelle35f4-skip:focus { left: 10px; top: 10px; }

/* ---------- phone canvas ---------- */

.shelle35f4-canvas {
  position: relative;
  max-width: var(--shelle35f4-canvas);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shelle35f4-bg);
}

@media (min-width: 520px) {
  .shelle35f4-canvas {
    box-shadow: 0 0 0 1px var(--shelle35f4-line), 0 0 38px rgba(10, 16, 24, 0.55);
  }
}

/* ---------- fixed header : tabbed top bar ---------- */

.shelle35f4-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shelle35f4-canvas);
  z-index: 80;
  background: var(--shelle35f4-bg-deep);
  border-bottom: 1px solid var(--shelle35f4-line);
}

.shelle35f4-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 10px;
}

/* brand tab : low-radius tab with ice underline */
.shelle35f4-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 6px;
  background: var(--shelle35f4-panel);
  border: 1px solid var(--shelle35f4-line-soft);
  border-bottom: 3px solid var(--shelle35f4-ice);
  border-radius: var(--shelle35f4-r) var(--shelle35f4-r) 0 0;
  text-decoration: none;
  color: var(--shelle35f4-ink);
  font-family: var(--shelle35f4-font-head);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.2px;
  min-height: 44px;
}

.shelle35f4-brand-logo {
  width: 30px;
  height: 30px;
  border-radius: var(--shelle35f4-r-sm);
  border: 1px solid var(--shelle35f4-line-soft);
  object-fit: cover;
  flex: 0 0 auto;
}

.shelle35f4-brand-name { white-space: nowrap; }

.shelle35f4-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shelle35f4-btn {
  font-family: var(--shelle35f4-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--shelle35f4-r);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.shelle35f4-btn:active { transform: translateY(-2px); }

.shelle35f4-btn-solid {
  background: var(--shelle35f4-ink);
  color: var(--shelle35f4-bg);
}

.shelle35f4-btn-solid:hover { background: var(--shelle35f4-ice); }

.shelle35f4-btn-ghost {
  background: transparent;
  color: var(--shelle35f4-ice);
  border-color: var(--shelle35f4-ink-dim);
}

.shelle35f4-btn-ghost:hover { border-color: var(--shelle35f4-ice); color: var(--shelle35f4-ice); }

.shelle35f4-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--shelle35f4-panel);
  border: 1px solid var(--shelle35f4-line-soft);
  border-radius: var(--shelle35f4-r);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.shelle35f4-menu-btn:active { transform: translateY(-2px); border-color: var(--shelle35f4-ice); }

/* zone tab strip under the brand row */
.shelle35f4-tabbar {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 8px;
  border-top: 1px solid var(--shelle35f4-line-soft);
}

.shelle35f4-tabbar::-webkit-scrollbar { display: none; }

.shelle35f4-tab {
  flex: 0 0 auto;
  font-family: var(--shelle35f4-font-head);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--shelle35f4-ink-dim);
  text-decoration: none;
  padding: 9px 12px 10px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color 0.15s ease, box-shadow 0.15s ease;
}

.shelle35f4-tab:hover { color: var(--shelle35f4-ice); }

.shelle35f4-tab.is-on {
  color: var(--shelle35f4-ice);
  box-shadow: inset 0 -2px 0 var(--shelle35f4-ice);
}

/* ---------- side drawer menu ---------- */

.shelle35f4-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 13, 19, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 90;
}

.shelle35f4-overlay.is-open { opacity: 1; visibility: visible; }

.shelle35f4-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(80vw, 292px);
  background: var(--shelle35f4-bg-deep);
  border-right: 1px solid var(--shelle35f4-line);
  z-index: 95;
  padding: 14px 12px 20px;
  overflow-y: auto;
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform 0.22s ease, visibility 0.22s ease;
}

.shelle35f4-drawer.is-open { transform: translateX(0); visibility: visible; }

.shelle35f4-drawer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 12px;
  border-bottom: 1px dashed var(--shelle35f4-line-soft);
  margin-bottom: 10px;
}

.shelle35f4-drawer-brand img {
  width: 28px;
  height: 28px;
  border-radius: var(--shelle35f4-r-sm);
  border: 1px solid var(--shelle35f4-line-soft);
}

.shelle35f4-drawer-brand span {
  font-family: var(--shelle35f4-font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--shelle35f4-ink);
}

.shelle35f4-drawer-title {
  font-family: var(--shelle35f4-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shelle35f4-ink-dim);
  margin: 14px 4px 6px;
}

.shelle35f4-drawer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--shelle35f4-r-sm);
  color: var(--shelle35f4-ink);
  text-decoration: none;
  font-size: 13.5px;
  border-left: 2px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.shelle35f4-drawer-link:hover {
  background: var(--shelle35f4-panel);
  border-left-color: var(--shelle35f4-ice);
}

.shelle35f4-drawer-link.is-on {
  background: var(--shelle35f4-panel);
  border-left-color: var(--shelle35f4-ice);
  color: var(--shelle35f4-ice);
  font-weight: 700;
}

.shelle35f4-drawer-cta {
  margin: 16px 0 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* ---------- main flow ---------- */

.shelle35f4-main {
  padding: 120px 0 20px;
}

.shelle35f4-intro {
  margin: 14px 12px 6px;
}

.shelle35f4-title {
  font-family: var(--shelle35f4-font-head);
  font-size: 23px;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--shelle35f4-ice);
}

.shelle35f4-lede {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--shelle35f4-ink-dim);
}

.shelle35f4-lede strong { color: var(--shelle35f4-ink); font-weight: 600; }

.shelle35f4-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.shelle35f4-facts li {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--shelle35f4-ink);
  background: var(--shelle35f4-panel);
  border: 1px solid var(--shelle35f4-line-soft);
  border-radius: 3px;
  padding: 4px 8px;
}

.shelle35f4-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shelle35f4-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--shelle35f4-r);
  font-family: var(--shelle35f4-font-head);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.shelle35f4-cta:active { transform: translateY(-2px); }

.shelle35f4-cta-solid { background: var(--shelle35f4-ink); color: var(--shelle35f4-bg); }

.shelle35f4-cta-solid:hover { background: var(--shelle35f4-ice); }

.shelle35f4-cta-ghost {
  background: transparent;
  color: var(--shelle35f4-ice);
  border-color: var(--shelle35f4-ink-dim);
}

.shelle35f4-cta-ghost:hover { border-color: var(--shelle35f4-ice); }

.shelle35f4-cta svg { flex: 0 0 auto; }

/* ---------- hero carousel ---------- */

.shelle35f4-hero {
  position: relative;
  margin: 12px;
  border-radius: var(--shelle35f4-r);
  overflow: hidden;
  border: 1px solid var(--shelle35f4-line-soft);
  box-shadow: var(--shelle35f4-shadow);
}

.shelle35f4-slides { position: relative; }

.shelle35f4-slide {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.shelle35f4-slide.is-on { opacity: 1; visibility: visible; }

.shelle35f4-slide-img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.shelle35f4-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  text-align: left;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(12, 20, 28, 0) 0%, rgba(12, 20, 28, 0.88) 78%);
  font-family: var(--shelle35f4-font-head);
}

.shelle35f4-slide-cap strong {
  display: block;
  font-size: 15px;
  color: var(--shelle35f4-ice);
  letter-spacing: 0.3px;
}

.shelle35f4-slide-cap em {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  color: var(--shelle35f4-ink-dim);
  margin-top: 2px;
}

.shelle35f4-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.shelle35f4-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 5px;
  border: 1px solid var(--shelle35f4-ice);
  background: rgba(224, 242, 241, 0.25);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.shelle35f4-dot.is-on { width: 22px; background: var(--shelle35f4-ice); }

/* ---------- zoned sections (low radius, rule-line split) ---------- */

.shelle35f4-zone {
  margin: 0 12px 16px;
  padding: 14px 12px 12px;
  background: linear-gradient(180deg, var(--shelle35f4-panel) 0%, var(--shelle35f4-panel-soft) 100%);
  border: 1px solid var(--shelle35f4-line-soft);
  border-radius: var(--shelle35f4-r);
  scroll-margin-top: 122px;
}

.shelle35f4-zone-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-left: 3px solid var(--shelle35f4-ice);
  padding-left: 9px;
  margin-bottom: 8px;
}

.shelle35f4-zone-head h2 {
  font-family: var(--shelle35f4-font-head);
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
  color: var(--shelle35f4-ice);
}

.shelle35f4-zone-count {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--shelle35f4-bg);
  background: var(--shelle35f4-ink-dim);
  border-radius: 3px;
  padding: 2px 6px;
}

.shelle35f4-zone-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--shelle35f4-ink-dim);
}

.shelle35f4-zone-note a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- game grid : light floating image cards ---------- */

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

.shelle35f4-gcard {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 5px 7px;
  background: rgba(224, 255, 255, 0.035);
  border: 1px solid rgba(93, 93, 93, 0.45);
  border-radius: var(--shelle35f4-r-sm);
  cursor: pointer;
  font-family: var(--shelle35f4-font-body);
  box-shadow: 0 2px 7px rgba(10, 16, 24, 0.28);
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.shelle35f4-gcard:hover {
  border-color: var(--shelle35f4-ink-dim);
  background: rgba(224, 255, 255, 0.06);
}

.shelle35f4-gcard:active {
  transform: translateY(-2px);
  border-color: var(--shelle35f4-ice);
}

.shelle35f4-gcard-frame {
  border: 1px solid rgba(93, 93, 93, 0.5);
  border-radius: 3px;
  padding: 2px;
  background: rgba(224, 242, 241, 0.04);
}

.shelle35f4-gcard-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
}

.shelle35f4-gcard-name {
  font-size: 11px;
  line-height: 1.3;
  color: var(--shelle35f4-ink-dim);
  text-align: center;
  min-height: 29px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

.shelle35f4-gcard:hover .shelle35f4-gcard-name { color: var(--shelle35f4-ink); }

/* ---------- content modules ---------- */

.shelle35f4-zone h3 {
  font-family: var(--shelle35f4-font-head);
  font-size: 14.5px;
  margin: 14px 0 6px;
  color: var(--shelle35f4-ink);
}

.shelle35f4-zone h3:first-of-type { margin-top: 10px; }

.shelle35f4-zone p { font-size: 13.5px; color: var(--shelle35f4-ink-dim); margin: 0 0 10px; }

.shelle35f4-zone p strong { color: var(--shelle35f4-ink); font-weight: 600; }

.shelle35f4-zone p a { text-decoration: underline; text-underline-offset: 2px; }

/* play style rows */
.shelle35f4-style {
  border-left: 2px solid var(--shelle35f4-ink-dim);
  padding: 2px 0 2px 10px;
  margin: 0 0 12px;
}

.shelle35f4-style:last-child { margin-bottom: 0; }

.shelle35f4-style h3 { margin: 0 0 4px; }

.shelle35f4-style p { margin: 0; font-size: 13px; }

.shelle35f4-style-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--shelle35f4-ink-dim);
  border: 1px solid var(--shelle35f4-line-soft);
  border-radius: 3px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: 1px;
}

/* numbered steps */
.shelle35f4-steps { margin: 0 0 14px; padding: 0; list-style: none; }

.shelle35f4-steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.shelle35f4-step-n {
  flex: 0 0 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--shelle35f4-ink);
  color: var(--shelle35f4-bg);
  border-radius: 50%;
  font-family: var(--shelle35f4-font-head);
  font-size: 13px;
  font-weight: 700;
}

.shelle35f4-steps li span:last-child { font-size: 13.5px; color: var(--shelle35f4-ink-dim); }

/* faq blocks */
.shelle35f4-faq-item {
  border: 1px solid var(--shelle35f4-line-soft);
  border-radius: var(--shelle35f4-r-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
  background: var(--shelle35f4-panel-soft);
}

.shelle35f4-faq-item h3 { margin: 0 0 6px; font-size: 13.5px; color: var(--shelle35f4-ice); }

.shelle35f4-faq-item p { margin: 0; font-size: 13px; }

/* rtp rows */
.shelle35f4-rtp-row {
  display: flex;
  gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px dashed var(--shelle35f4-line-soft);
}

.shelle35f4-rtp-row:last-child { border-bottom: 0; }

.shelle35f4-rtp-k {
  flex: 0 0 36%;
  font-family: var(--shelle35f4-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--shelle35f4-ink);
}

.shelle35f4-rtp-v { flex: 1 1 auto; font-size: 13px; color: var(--shelle35f4-ink-dim); }

/* offer rows */
.shelle35f4-offer {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--shelle35f4-line-soft);
  border-radius: var(--shelle35f4-r-sm);
  padding: 10px;
  margin-bottom: 8px;
  background: var(--shelle35f4-panel-soft);
}

.shelle35f4-offer:last-of-type { margin-bottom: 12px; }

.shelle35f4-offer-tag {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--shelle35f4-bg);
  background: var(--shelle35f4-ink);
  border-radius: 3px;
  padding: 3px 7px;
}

.shelle35f4-offer-txt { flex: 1 1 auto; font-size: 12.5px; color: var(--shelle35f4-ink-dim); }

.shelle35f4-offer-txt strong { display: block; color: var(--shelle35f4-ink); font-size: 13px; }

/* verdict callout */
.shelle35f4-verdict {
  border: 1px solid var(--shelle35f4-ice);
  border-radius: var(--shelle35f4-r);
  background: rgba(224, 255, 255, 0.06);
  padding: 12px;
}

.shelle35f4-verdict-chip {
  display: inline-block;
  font-family: var(--shelle35f4-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shelle35f4-bg);
  background: var(--shelle35f4-ice);
  border-radius: 3px;
  padding: 3px 8px;
  margin-bottom: 8px;
}

/* simple checklist */
.shelle35f4-ul {
  margin: 0 0 12px;
  padding-left: 18px;
  list-style: square;
}

.shelle35f4-ul li { font-size: 13px; color: var(--shelle35f4-ink-dim); margin-bottom: 6px; }

.shelle35f4-ul li::marker { color: var(--shelle35f4-ink-dim); }

/* ---------- extended footer (home only) ---------- */

.shelle35f4-ext {
  margin: 4px 12px 12px;
  border: 1px solid var(--shelle35f4-line-soft);
  border-radius: var(--shelle35f4-r);
  background: var(--shelle35f4-panel-soft);
  padding: 14px 12px 12px;
}

.shelle35f4-ext-label {
  font-family: var(--shelle35f4-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shelle35f4-ink-dim);
  margin: 0 0 8px;
}

.shelle35f4-ext-brand { margin: 0 0 14px; font-size: 12.5px; color: var(--shelle35f4-ink-dim); }

.shelle35f4-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

.shelle35f4-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 68px;
  padding: 8px 4px;
  background: var(--shelle35f4-panel);
  border: 1px solid var(--shelle35f4-line-soft);
  border-radius: var(--shelle35f4-r-sm);
  color: var(--shelle35f4-ink);
  font-family: var(--shelle35f4-font-head);
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.shelle35f4-shortcut:active { transform: translateY(-2px); border-color: var(--shelle35f4-ice); }

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

.shelle35f4-dir-link {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: var(--shelle35f4-ink-dim);
  text-decoration: none;
  border: 1px solid transparent;
  border-bottom: 1px dashed var(--shelle35f4-line-soft);
  padding: 8px 6px;
  min-height: 44px;
}

.shelle35f4-dir-link:hover { color: var(--shelle35f4-ice); border-color: var(--shelle35f4-line-soft); }

.shelle35f4-ext-note {
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--shelle35f4-line-soft);
  font-size: 11.5px;
  color: var(--shelle35f4-ink-dim);
}

/* ---------- common footer ---------- */

.shelle35f4-footer {
  text-align: center;
  font-size: 11.5px;
  color: var(--shelle35f4-ink-dim);
  padding: 4px 14px 128px;
}

.shelle35f4-footer strong { color: var(--shelle35f4-ink); }

/* ---------- mobile bottom nav : compact icon rack ---------- */

.shelle35f4-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shelle35f4-canvas);
  z-index: 85;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--shelle35f4-bg-deep);
  border-top: 1px solid var(--shelle35f4-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.shelle35f4-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 62px;
  padding: 7px 2px 6px;
  background: none;
  border: 0;
  color: var(--shelle35f4-ink-dim);
  text-decoration: none;
  font-family: var(--shelle35f4-font-head);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}

.shelle35f4-bnav-item:active { transform: translateY(-2px); color: var(--shelle35f4-ice); }

.shelle35f4-bnav-ic { display: inline-flex; }

.shelle35f4-bnav-lb { position: relative; white-space: nowrap; }

.shelle35f4-bnav-item.is-on { color: var(--shelle35f4-ice); }

.shelle35f4-bnav-item.is-on .shelle35f4-bnav-lb { font-weight: 700; }

.shelle35f4-bnav-item.is-on .shelle35f4-bnav-lb::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--shelle35f4-ice);
}

/* ---------- responsive refinements ---------- */

/* wider phones: five game tiles per row */
@media (min-width: 430px) {
  .shelle35f4-ggrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
  .shelle35f4-dir-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shelle35f4-title { font-size: 25px; }
}

@media (min-width: 400px) and (max-width: 429px) {
  .shelle35f4-gcard-name { font-size: 11.5px; }
}

/* desktop keeps the same phone canvas, just breathes a little */
@media (min-width: 520px) {
  .shelle35f4-zone-note,
  .shelle35f4-zone p { font-size: 14px; }
}

/* ---------- motion budget : light press + color fade only ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- help page layouts ---------- */

.shelle35f4-help-lead {
  margin: 14px 12px 16px;
  padding: 14px 12px;
  border-left: 4px solid var(--shelle35f4-ice);
  background: linear-gradient(135deg, rgba(224, 255, 255, 0.08), rgba(224, 242, 241, 0.025));
}

.shelle35f4-help-lead h1 {
  margin: 0 0 9px;
  font-family: var(--shelle35f4-font-head);
  font-size: 24px;
  line-height: 1.2;
  color: var(--shelle35f4-ice);
}

.shelle35f4-help-lead p { margin: 0 0 10px; color: var(--shelle35f4-ink-dim); font-size: 13.5px; }
.shelle35f4-help-lead p:last-of-type { margin-bottom: 12px; }

.shelle35f4-route-list { margin: 0; padding: 0; list-style: none; counter-reset: shelle35f4-route; }

.shelle35f4-route-list li {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  padding: 0 0 14px;
  counter-increment: shelle35f4-route;
}

.shelle35f4-route-list li:last-child { padding-bottom: 0; }

.shelle35f4-route-list li::before {
  content: counter(shelle35f4-route);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shelle35f4-ice);
  border-radius: 50%;
  color: var(--shelle35f4-bg);
  background: var(--shelle35f4-ice);
  font-family: var(--shelle35f4-font-head);
  font-weight: 700;
}

.shelle35f4-route-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 29px;
  bottom: 0;
  width: 1px;
  background: var(--shelle35f4-line);
}

.shelle35f4-route-list h3 { margin: 1px 0 4px; font-size: 14px; color: var(--shelle35f4-ink); }
.shelle35f4-route-list p { margin: 0; font-size: 13px; color: var(--shelle35f4-ink-dim); }

.shelle35f4-term-grid,
.shelle35f4-mistake-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.shelle35f4-term {
  padding: 10px;
  border-top: 2px solid var(--shelle35f4-ink-dim);
  background: rgba(224, 242, 241, 0.04);
}

.shelle35f4-term strong { display: block; margin-bottom: 4px; color: var(--shelle35f4-ice); font-family: var(--shelle35f4-font-head); font-size: 13.5px; }
.shelle35f4-term span { display: block; color: var(--shelle35f4-ink-dim); font-size: 12.8px; }

.shelle35f4-mistake {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--shelle35f4-line-soft);
}

.shelle35f4-mistake:last-child { border-bottom: 0; }
.shelle35f4-mistake-mark { color: var(--shelle35f4-ice); font-family: var(--shelle35f4-font-head); font-size: 20px; font-weight: 700; text-align: center; }
.shelle35f4-mistake strong { display: block; color: var(--shelle35f4-ink); font-size: 13.5px; }
.shelle35f4-mistake span { display: block; margin-top: 3px; color: var(--shelle35f4-ink-dim); font-size: 12.8px; }

.shelle35f4-compare-table { display: grid; gap: 6px; }
.shelle35f4-compare-row { display: grid; grid-template-columns: minmax(88px, 0.8fr) minmax(0, 1.2fr); gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--shelle35f4-line-soft); }
.shelle35f4-compare-row:last-child { border-bottom: 0; }
.shelle35f4-compare-row strong { color: var(--shelle35f4-ink); font-size: 12.8px; }
.shelle35f4-compare-row span { color: var(--shelle35f4-ink-dim); font-size: 12.8px; }

.shelle35f4-review-shell { margin-top: 2px; }

.shelle35f4-review-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0 12px 16px;
}

.shelle35f4-snapshot-cell { min-height: 78px; padding: 9px 6px; border: 1px solid var(--shelle35f4-line-soft); background: var(--shelle35f4-panel); text-align: center; }
.shelle35f4-snapshot-cell strong { display: block; color: var(--shelle35f4-ice); font-family: var(--shelle35f4-font-head); font-size: 17px; }
.shelle35f4-snapshot-cell span { display: block; margin-top: 4px; color: var(--shelle35f4-ink-dim); font-size: 10.8px; line-height: 1.25; }

.shelle35f4-qa-stack { display: grid; gap: 7px; }
.shelle35f4-qa { padding: 10px 11px; border-left: 3px solid var(--shelle35f4-ink-dim); background: rgba(224, 255, 255, 0.035); }
.shelle35f4-qa strong { display: block; margin-bottom: 4px; color: var(--shelle35f4-ice); font-size: 13px; }
.shelle35f4-qa span { display: block; color: var(--shelle35f4-ink-dim); font-size: 12.8px; }

.shelle35f4-scenario { padding: 12px; background: linear-gradient(180deg, rgba(224, 255, 255, 0.07), rgba(224, 242, 241, 0.02)); border: 1px solid var(--shelle35f4-ice); }
.shelle35f4-scenario h3 { margin-top: 0 !important; color: var(--shelle35f4-ice) !important; }
.shelle35f4-scenario p:last-of-type { margin-bottom: 12px; }

.shelle35f4-select-list { margin: 0; padding: 0; list-style: none; }
.shelle35f4-select-list li { display: flex; align-items: flex-start; gap: 9px; padding: 9px 0; border-bottom: 1px dashed var(--shelle35f4-line-soft); }
.shelle35f4-select-list li:last-child { border-bottom: 0; }
.shelle35f4-select-index { flex: 0 0 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; background: var(--shelle35f4-ink); color: var(--shelle35f4-bg); border-radius: 3px; font-size: 12px; font-weight: 700; }
.shelle35f4-select-list span:last-child { color: var(--shelle35f4-ink-dim); font-size: 13px; }

@media (min-width: 390px) {
  .shelle35f4-term-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shelle35f4-mistake-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
}
