/* ============================================================
   1111bet app - viewport adaptive stylesheet
   Canvas: 320-430px mobile-first, centered phone canvas on wide screens
   Palette: #1E90FF / #1E1E1E / #00BFFF / #48D1CC / #BA55D3
   Class prefix: shell196f8-
   ============================================================ */

:root {
  --shell196f8-bg: #1E1E1E;
  --shell196f8-bg-deep: #141518;
  --shell196f8-panel: #23262c;
  --shell196f8-panel-2: #2a2e36;
  --shell196f8-ink: #eef4ff;
  --shell196f8-mute: #9db0c8;
  --shell196f8-blue: #1E90FF;
  --shell196f8-sky: #00BFFF;
  --shell196f8-teal: #48D1CC;
  --shell196f8-violet: #BA55D3;
  --shell196f8-line: rgba(148, 178, 210, 0.18);
  --shell196f8-line-strong: rgba(148, 178, 210, 0.32);
  --shell196f8-danger: #ff6b6b;
  --shell196f8-radius-card: 10px;
  --shell196f8-radius-btn: 999px;
  --shell196f8-radius-panel: 14px;
  --shell196f8-font-head: "Rajdhani", "Noto Sans Bengali", "Segoe UI", sans-serif;
  --shell196f8-font-body: "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  --shell196f8-shadow-card: 0 6px 18px rgba(0, 0, 0, 0.38);
  --shell196f8-shadow-float: 0 10px 26px rgba(30, 144, 255, 0.28);
  --shell196f8-topbar-h: 56px;
  --shell196f8-bnav-h: 64px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background: var(--shell196f8-bg-deep);
  color: var(--shell196f8-ink);
  font-family: var(--shell196f8-font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Centered phone canvas: keeps the mobile layout on desktop too */
.shell196f8-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--shell196f8-bg);
  min-height: 100vh;
  box-shadow: 0 0 0 1px rgba(148, 178, 210, 0.08);
  overflow-x: clip;
}

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

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

a {
  color: var(--shell196f8-sky);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--shell196f8-teal);
  outline-offset: 2px;
  border-radius: 4px;
}

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

h1, h2, h3, h4 {
  font-family: var(--shell196f8-font-head);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0.2px;
}

/* ============ Top compact brand bar ============ */
.shell196f8-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--shell196f8-topbar-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #20242b 0%, #1b1e24 100%);
  border-bottom: 1px solid var(--shell196f8-line);
}

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

.shell196f8-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--shell196f8-line-strong);
  flex: 0 0 auto;
}

.shell196f8-brandname {
  font-family: var(--shell196f8-font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--shell196f8-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shell196f8-brandname b {
  color: var(--shell196f8-sky);
  font-weight: 700;
}

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

/* Rounded action buttons (buttons round, cards square-ish) */
.shell196f8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: var(--shell196f8-radius-btn);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.14s ease;
  -webkit-tap-highlight-color: transparent;
}

.shell196f8-btn:active {
  transform: scale(0.95);
}

.shell196f8-btn--solid {
  background: linear-gradient(135deg, var(--shell196f8-blue), var(--shell196f8-violet));
  color: #fff;
  box-shadow: 0 4px 14px rgba(30, 144, 255, 0.35);
}

.shell196f8-btn--ghost {
  background: transparent;
  color: var(--shell196f8-sky);
  border: 1px solid var(--shell196f8-line-strong);
}

.shell196f8-btn--compact {
  padding: 7px 10px;
  font-size: 12.5px;
}

.shell196f8-menubtn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px solid var(--shell196f8-line-strong);
  background: rgba(42, 46, 54, 0.6);
  transition: transform 0.14s ease, background 0.14s ease;
}

.shell196f8-menubtn:active {
  transform: scale(0.92);
}

.shell196f8-menubtn svg {
  width: 20px;
  height: 20px;
  fill: var(--shell196f8-sky);
}

.shell196f8-menubtn[aria-expanded="true"] {
  background: rgba(30, 144, 255, 0.18);
}

/* ============ Compact route panel (drop-down menu) ============ */
.shell196f8-routes {
  position: fixed;
  top: var(--shell196f8-topbar-h);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  background: #1d2027;
  border-bottom: 1px solid var(--shell196f8-line);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.45);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.shell196f8-routes--open {
  max-height: 480px;
}

.shell196f8-routes-inner {
  padding: 12px 12px 14px;
}

.shell196f8-routes-title {
  font-family: var(--shell196f8-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell196f8-mute);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.shell196f8-routegrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.shell196f8-route {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--shell196f8-radius-card);
  background: var(--shell196f8-panel);
  border: 1px solid var(--shell196f8-line);
  color: var(--shell196f8-ink);
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.14s ease, border-color 0.14s ease;
}

.shell196f8-route:hover {
  text-decoration: none;
  border-color: var(--shell196f8-blue);
}

.shell196f8-route:active {
  transform: scale(0.97);
}

.shell196f8-route svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: var(--shell196f8-teal);
}

.shell196f8-route--here {
  border-color: var(--shell196f8-blue);
  background: rgba(30, 144, 255, 0.14);
}

.shell196f8-scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(10, 12, 16, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.shell196f8-scrim--show {
  opacity: 1;
  pointer-events: auto;
}

/* ============ Main flow ============ */
.shell196f8-main {
  padding-top: var(--shell196f8-topbar-h);
  /* keep clear of the fixed bottom navigation */
  padding-bottom: calc(var(--shell196f8-bnav-h) + 44px + env(safe-area-inset-bottom, 0px));
}

.shell196f8-wrap {
  padding: 0 12px;
}

.shell196f8-sec {
  padding: 22px 0 6px;
}

/* Short-distance section reveal motion */
.shell196f8-rv {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.shell196f8-rv.shell196f8-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Hero carousel ============ */
.shell196f8-hero {
  position: relative;
  margin-top: 10px;
  border-radius: var(--shell196f8-radius-panel);
  overflow: hidden;
  border: 1px solid var(--shell196f8-line);
  box-shadow: var(--shell196f8-shadow-card);
  background: #101216;
}

.shell196f8-herotrack {
  display: flex;
  width: 300%;
  transition: transform 0.5s ease;
}

.shell196f8-slide {
  position: relative;
  width: 33.3333%;
  aspect-ratio: 16 / 9;
  flex: 0 0 33.3333%;
}

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

.shell196f8-slidecap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 12px 12px;
  background: linear-gradient(180deg, rgba(16, 18, 22, 0) 0%, rgba(16, 18, 22, 0.92) 62%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shell196f8-slidetitle {
  font-family: var(--shell196f8-font-head);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.shell196f8-slidetext {
  font-size: 12.5px;
  color: var(--shell196f8-mute);
  line-height: 1.5;
}

.shell196f8-dots {
  position: absolute;
  top: 10px;
  right: 12px;
  display: flex;
  gap: 6px;
}

.shell196f8-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(238, 244, 255, 0.35);
  transition: background 0.2s ease, width 0.2s ease;
}

.shell196f8-dot--on {
  width: 20px;
  border-radius: 999px;
  background: var(--shell196f8-sky);
}

/* ============ Segmented action CTA ============ */
.shell196f8-seg {
  display: flex;
  width: 100%;
  border-radius: var(--shell196f8-radius-btn);
  overflow: hidden;
  border: 1px solid rgba(30, 144, 255, 0.55);
  background: #191d24;
}

.shell196f8-seg .shell196f8-segb {
  flex: 1;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--shell196f8-blue) 0%, #1a6fe0 100%);
  transition: filter 0.14s ease, transform 0.14s ease;
}

.shell196f8-seg .shell196f8-segb + .shell196f8-segb {
  border-left: 1px solid rgba(238, 244, 255, 0.28);
  background: linear-gradient(135deg, #2a2e36 0%, #23262c 100%);
  color: var(--shell196f8-sky);
}

.shell196f8-seg .shell196f8-segb:active {
  filter: brightness(1.18);
  transform: scale(0.98);
}

.shell196f8-seg--mini {
  max-width: 240px;
}

.shell196f8-seg--mini .shell196f8-segb {
  min-height: 34px;
  font-size: 12px;
}

/* ============ Headline + lead ============ */
.shell196f8-h1 {
  font-size: 23px;
  margin: 16px 0 8px;
  color: #fff;
}

.shell196f8-h1 em {
  font-style: normal;
  color: var(--shell196f8-sky);
}

.shell196f8-lead {
  color: var(--shell196f8-mute);
  font-size: 14px;
}

.shell196f8-lead + .shell196f8-lead {
  margin-top: 8px;
}

.shell196f8-chipline {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0 4px;
  scrollbar-width: none;
}

.shell196f8-chipline::-webkit-scrollbar {
  display: none;
}

.shell196f8-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 5px 12px;
  border-radius: var(--shell196f8-radius-btn);
  border: 1px solid var(--shell196f8-line-strong);
  background: var(--shell196f8-panel);
  font-size: 12px;
  font-weight: 600;
  color: var(--shell196f8-ink);
  white-space: nowrap;
  transition: transform 0.14s ease, border-color 0.14s ease;
}

.shell196f8-chip:active {
  transform: scale(0.95);
}

.shell196f8-chip svg {
  width: 13px;
  height: 13px;
  fill: var(--shell196f8-teal);
}

/* ============ Section headings (lead-in rhythm) ============ */
.shell196f8-sechead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.shell196f8-secno {
  font-family: var(--shell196f8-font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--shell196f8-violet);
  letter-spacing: 1.5px;
  flex: 0 0 auto;
}

.shell196f8-h2 {
  font-size: 18.5px;
  color: #fff;
  margin-bottom: 6px;
}

.shell196f8-h2 em {
  font-style: normal;
  color: var(--shell196f8-sky);
}

.shell196f8-seclead {
  font-size: 13.5px;
  color: var(--shell196f8-mute);
  margin-bottom: 12px;
}

.shell196f8-secnote {
  font-size: 12.5px;
  color: #7f93ab;
  margin-top: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--shell196f8-line-strong);
}

.shell196f8-h3 {
  font-size: 15.5px;
  color: var(--shell196f8-teal);
  margin: 14px 0 6px;
}

/* ============ Game grid + light floating cards ============ */
.shell196f8-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.shell196f8-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 4px 7px;
  border-radius: var(--shell196f8-radius-card);
  background: linear-gradient(180deg, var(--shell196f8-panel-2) 0%, var(--shell196f8-panel) 100%);
  border: 1px solid var(--shell196f8-line);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  text-align: center;
  min-width: 0;
}

.shell196f8-card:hover {
  border-color: var(--shell196f8-blue);
  box-shadow: var(--shell196f8-shadow-float);
  transform: translateY(-3px);
}

.shell196f8-card:active {
  transform: translateY(0) scale(0.95);
}

.shell196f8-cardframe {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: #171a20;
}

.shell196f8-cardimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell196f8-cardname {
  font-size: 11px;
  line-height: 1.35;
  color: var(--shell196f8-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  word-break: break-word;
}

.shell196f8-card--hero-item {
  position: relative;
}

.shell196f8-card--hero-item::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shell196f8-danger);
  box-shadow: 0 0 6px rgba(255, 107, 107, 0.8);
}

/* ============ Feature rows (scannable compare list) ============ */
.shell196f8-feat {
  border: 1px solid var(--shell196f8-line);
  border-radius: var(--shell196f8-radius-panel);
  background: var(--shell196f8-panel);
  overflow: hidden;
}

.shell196f8-featrow {
  display: grid;
  grid-template-columns: 108px 1fr;
}

.shell196f8-featrow + .shell196f8-featrow {
  border-top: 1px solid var(--shell196f8-line);
}

.shell196f8-featkey {
  padding: 10px;
  font-family: var(--shell196f8-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell196f8-teal);
  background: rgba(72, 209, 204, 0.07);
  border-right: 1px solid var(--shell196f8-line);
}

.shell196f8-featval {
  padding: 10px;
  font-size: 13px;
  color: var(--shell196f8-ink);
}

/* ============ Achievement progress rows ============ */
.shell196f8-achv {
  display: grid;
  gap: 10px;
}

.shell196f8-achrow {
  padding: 11px 12px;
  border-radius: var(--shell196f8-radius-card);
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.1), rgba(186, 85, 211, 0.08));
  border: 1px solid var(--shell196f8-line);
}

.shell196f8-achrow-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 7px;
}

.shell196f8-achname {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--shell196f8-ink);
}

.shell196f8-achpct {
  font-family: var(--shell196f8-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell196f8-violet);
  flex: 0 0 auto;
}

.shell196f8-achbar {
  height: 7px;
  border-radius: 999px;
  background: #14161b;
  overflow: hidden;
}

.shell196f8-achfill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--shell196f8-blue), var(--shell196f8-teal));
}

.shell196f8-achrow-note {
  margin-top: 6px;
  font-size: 12px;
  color: var(--shell196f8-mute);
}

/* ============ Winners board ============ */
.shell196f8-winboard {
  border: 1px solid var(--shell196f8-line);
  border-radius: var(--shell196f8-radius-panel);
  background: #191c22;
  overflow: hidden;
}

.shell196f8-winhead {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--shell196f8-line);
  background: rgba(30, 144, 255, 0.08);
}

.shell196f8-winhead svg {
  width: 15px;
  height: 15px;
  fill: var(--shell196f8-sky);
}

.shell196f8-winhead span {
  font-family: var(--shell196f8-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--shell196f8-sky);
}

.shell196f8-winlist {
  list-style: none;
}

.shell196f8-winrow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(148, 178, 210, 0.08);
  transition: background 0.3s ease;
}

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

.shell196f8-winrow--hot {
  background: rgba(72, 209, 204, 0.09);
}

.shell196f8-winwho {
  font-size: 13px;
  color: var(--shell196f8-ink);
  font-weight: 600;
}

.shell196f8-winwho small {
  display: block;
  font-weight: 400;
  font-size: 11.5px;
  color: var(--shell196f8-mute);
}

.shell196f8-winamt {
  font-family: var(--shell196f8-font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--shell196f8-teal);
  align-self: center;
}

/* ============ About / takeaways ============ */
.shell196f8-about p {
  font-size: 13.5px;
  color: var(--shell196f8-mute);
  margin-bottom: 9px;
}

.shell196f8-about strong {
  color: var(--shell196f8-ink);
  font-weight: 600;
}

.shell196f8-takes {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.shell196f8-takes li {
  position: relative;
  padding: 9px 12px 9px 34px;
  border-radius: var(--shell196f8-radius-card);
  background: var(--shell196f8-panel);
  border: 1px solid var(--shell196f8-line);
  font-size: 13px;
  color: var(--shell196f8-ink);
}

.shell196f8-takes li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 13px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--shell196f8-blue), var(--shell196f8-violet));
}

/* Inline text promo link */
.shell196f8-textlink {
  display: inline;
  padding: 0 2px;
  color: var(--shell196f8-sky);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shell196f8-textlink:active {
  color: var(--shell196f8-teal);
}

/* ============ Extended footer ============ */
.shell196f8-xfoot {
  margin-top: 26px;
  border-top: 1px solid var(--shell196f8-line);
  background: linear-gradient(180deg, #191c22 0%, #15171c 100%);
  padding: 18px 12px 16px;
}

.shell196f8-xbrand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.shell196f8-xbrand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--shell196f8-line-strong);
  flex: 0 0 auto;
}

.shell196f8-xbrandname {
  font-family: var(--shell196f8-font-head);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.shell196f8-xbrandtext {
  font-size: 12.5px;
  color: var(--shell196f8-mute);
}

.shell196f8-xtitle {
  font-family: var(--shell196f8-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shell196f8-teal);
  margin: 18px 0 8px;
}

.shell196f8-dirgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.shell196f8-dirlink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 9px;
  border: 1px solid var(--shell196f8-line);
  background: var(--shell196f8-panel);
  color: var(--shell196f8-ink);
  font-size: 12.5px;
  font-weight: 500;
  transition: transform 0.14s ease, border-color 0.14s ease;
}

.shell196f8-dirlink:hover {
  text-decoration: none;
  border-color: var(--shell196f8-blue);
}

.shell196f8-dirlink:active {
  transform: scale(0.97);
}

.shell196f8-dirlink svg {
  width: 13px;
  height: 13px;
  fill: var(--shell196f8-violet);
  flex: 0 0 auto;
}

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

.shell196f8-promobtn {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 11px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.16), rgba(186, 85, 211, 0.13));
  border: 1px solid rgba(30, 144, 255, 0.4);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  text-align: left;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.shell196f8-promobtn:active {
  transform: scale(0.96);
}

.shell196f8-promobtn svg {
  width: 17px;
  height: 17px;
  fill: var(--shell196f8-sky);
  flex: 0 0 auto;
}

.shell196f8-promobtn small {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--shell196f8-mute);
}

.shell196f8-xnote {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: var(--shell196f8-radius-card);
  border: 1px dashed rgba(186, 85, 211, 0.5);
  background: rgba(186, 85, 211, 0.07);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--shell196f8-mute);
}

/* ============ Common footer ============ */
.shell196f8-footer {
  padding: 14px 12px 10px;
  border-top: 1px solid var(--shell196f8-line);
  text-align: center;
}

.shell196f8-footertext {
  font-size: 12px;
  color: var(--shell196f8-mute);
}

.shell196f8-footer small {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: #6c7f96;
}

/* ============ Bottom navigation (center-raised) ============ */
.shell196f8-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(var(--shell196f8-bnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: linear-gradient(180deg, #1c1f26 0%, #14161a 100%);
  border-top: 1px solid var(--shell196f8-line);
}

.shell196f8-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  min-height: 44px;
  color: #7e8ea6;
  font-size: 10.5px;
  font-weight: 600;
  transition: color 0.18s ease, transform 0.14s ease;
  -webkit-tap-highlight-color: transparent;
}

.shell196f8-bnav-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transition: transform 0.18s ease;
}

.shell196f8-bnav-item:active {
  transform: translateY(1px) scale(0.94);
}

.shell196f8-bnav-item:hover {
  text-decoration: none;
  color: var(--shell196f8-mute);
}

/* Active role = color switch */
.shell196f8-bnav-item--on {
  color: var(--shell196f8-sky);
}

.shell196f8-bnav-item--on svg {
  transform: translateY(-1px);
  filter: drop-shadow(0 3px 6px rgba(0, 191, 255, 0.45));
}

/* Center raised promo hub */
.shell196f8-bnav-hub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  padding-bottom: 7px;
  color: #9db0c8;
  font-size: 10.5px;
  font-weight: 600;
}

.shell196f8-bnav-hubbtn {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--shell196f8-blue) 0%, var(--shell196f8-violet) 100%);
  border: 3px solid #14161a;
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.5), 0 0 0 1px rgba(0, 191, 255, 0.35);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.shell196f8-bnav-hubbtn svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.shell196f8-bnav-hubbtn:active {
  transform: translateX(-50%) scale(0.92);
  box-shadow: 0 5px 14px rgba(30, 144, 255, 0.45);
}

.shell196f8-bnav-hub:active .shell196f8-bnav-hubbtn {
  transform: translateX(-50%) scale(0.92);
}

/* ============ Responsive tuning inside the phone canvas ============ */
@media (min-width: 375px) {
  .shell196f8-h1 {
    font-size: 25px;
  }

  .shell196f8-h2 {
    font-size: 19.5px;
  }

  .shell196f8-slidetitle {
    font-size: 18px;
  }
}

/* Wider phone: 5 game columns fit comfortably up to the 430px canvas */
@media (min-width: 400px) {
  .shell196f8-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .shell196f8-promogrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 430px) {
  .shell196f8-canvas {
    box-shadow: 0 0 0 1px rgba(148, 178, 210, 0.1), 0 24px 60px rgba(0, 0, 0, 0.55);
  }

  .shell196f8-dirgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shell196f8-wrap {
    padding: 0 14px;
  }
}

@media (max-width: 359px) {
  .shell196f8-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .shell196f8-cardname {
    font-size: 10.5px;
  }

  .shell196f8-h1 {
    font-size: 21px;
  }

  .shell196f8-h2 {
    font-size: 17px;
  }

  .shell196f8-brandname {
    font-size: 17px;
  }
}

/* Motion budget: short transitions only, respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .shell196f8-rv {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============ Help-page reading patterns ============ */
.shell196f8-helpintro {
  margin-top: 12px;
  padding: 16px 14px;
  border: 1px solid rgba(0, 191, 255, 0.34);
  border-left: 4px solid var(--shell196f8-sky);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.14), rgba(186, 85, 211, 0.08));
}

.shell196f8-helpintro p,
.shell196f8-helptext p {
  color: var(--shell196f8-mute);
  font-size: 13.5px;
  margin-bottom: 10px;
}

.shell196f8-helpintro p:last-child,
.shell196f8-helptext p:last-child {
  margin-bottom: 0;
}

.shell196f8-signalgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.shell196f8-signal {
  min-height: 112px;
  padding: 11px 10px;
  border: 1px solid var(--shell196f8-line);
  border-radius: 10px;
  background: #20242b;
}

.shell196f8-signal--wide {
  grid-column: 1 / -1;
}

.shell196f8-signal b {
  display: block;
  color: var(--shell196f8-teal);
  font-family: var(--shell196f8-font-head);
  font-size: 14px;
  margin-bottom: 4px;
}

.shell196f8-signal span {
  color: var(--shell196f8-mute);
  font-size: 12.5px;
  line-height: 1.55;
}

.shell196f8-steprail {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  counter-reset: shell196f8-step;
}

.shell196f8-step {
  position: relative;
  padding: 12px 12px 12px 44px;
  border: 1px solid var(--shell196f8-line);
  border-radius: 10px;
  background: var(--shell196f8-panel);
}

.shell196f8-step::before {
  counter-increment: shell196f8-step;
  content: counter(shell196f8-step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--shell196f8-blue);
  color: #fff;
  font-family: var(--shell196f8-font-head);
  font-weight: 700;
}

.shell196f8-step b {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 3px;
}

.shell196f8-step p {
  color: var(--shell196f8-mute);
  font-size: 13px;
}

.shell196f8-callout {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(72, 209, 204, 0.3);
  background: rgba(72, 209, 204, 0.08);
}

.shell196f8-callout strong {
  color: var(--shell196f8-teal);
}

.shell196f8-callout p {
  color: var(--shell196f8-ink);
  font-size: 13px;
  margin-top: 4px;
}

.shell196f8-promo-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 11px;
  border: 1px solid rgba(30, 144, 255, 0.34);
  border-radius: 10px;
  background: rgba(30, 144, 255, 0.08);
}

.shell196f8-promo-line span {
  color: var(--shell196f8-mute);
  font-size: 12.5px;
  line-height: 1.45;
}

.shell196f8-promo-line button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--shell196f8-radius-btn);
  background: var(--shell196f8-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.shell196f8-promo-line button:active {
  transform: scale(0.95);
}

.shell196f8-qa {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.shell196f8-qa details {
  border: 1px solid var(--shell196f8-line);
  border-radius: 10px;
  background: #20242b;
  overflow: hidden;
}

.shell196f8-qa summary {
  min-height: 48px;
  padding: 12px 34px 12px 12px;
  position: relative;
  cursor: pointer;
  color: var(--shell196f8-ink);
  font-size: 13.5px;
  font-weight: 700;
  list-style: none;
}

.shell196f8-qa summary::-webkit-details-marker {
  display: none;
}

.shell196f8-qa summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  color: var(--shell196f8-sky);
  font-size: 20px;
  line-height: 1;
}

.shell196f8-qa details[open] summary::after {
  content: "−";
}

.shell196f8-qa details p {
  padding: 0 12px 12px;
  color: var(--shell196f8-mute);
  font-size: 13px;
}

.shell196f8-checklist {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  list-style: none;
}

.shell196f8-checklist li {
  position: relative;
  padding: 9px 10px 9px 34px;
  border: 1px solid var(--shell196f8-line);
  border-radius: 8px;
  background: var(--shell196f8-panel);
  color: var(--shell196f8-ink);
  font-size: 13px;
}

.shell196f8-checklist li::before {
  content: "✓";
  position: absolute;
  left: 11px;
  color: var(--shell196f8-teal);
  font-weight: 700;
}

.shell196f8-verdict {
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(186, 85, 211, 0.46);
  background: linear-gradient(135deg, rgba(186, 85, 211, 0.16), rgba(30, 144, 255, 0.1));
}

.shell196f8-verdict b {
  display: block;
  color: #fff;
  font-family: var(--shell196f8-font-head);
  font-size: 18px;
  margin-bottom: 5px;
}

.shell196f8-verdict p {
  color: var(--shell196f8-mute);
  font-size: 13.5px;
}

.shell196f8-compare {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.shell196f8-compare article {
  padding: 11px 12px;
  border-left: 3px solid var(--shell196f8-violet);
  border-radius: 0 9px 9px 0;
  background: var(--shell196f8-panel);
}

.shell196f8-compare h3 {
  margin: 0 0 3px;
  color: var(--shell196f8-teal);
  font-size: 15px;
}

.shell196f8-compare p {
  color: var(--shell196f8-mute);
  font-size: 13px;
}

.shell196f8-compat {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  border: 1px solid var(--shell196f8-line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 12px;
}

.shell196f8-compat div {
  padding: 9px 10px;
  color: var(--shell196f8-ink);
  font-size: 12.5px;
  border-bottom: 1px solid var(--shell196f8-line);
}

.shell196f8-compat div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.shell196f8-compat div:nth-child(odd) {
  color: var(--shell196f8-teal);
  background: rgba(72, 209, 204, 0.07);
  border-right: 1px solid var(--shell196f8-line);
  font-weight: 700;
}

.shell196f8-trouble {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.shell196f8-trouble article {
  padding: 11px 12px;
  border-radius: 10px;
  background: #20242b;
  border: 1px solid var(--shell196f8-line);
}

.shell196f8-trouble h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 14.5px;
}

.shell196f8-trouble p {
  color: var(--shell196f8-mute);
  font-size: 13px;
}

@media (max-width: 359px) {
  .shell196f8-promo-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .shell196f8-promo-line button {
    width: 100%;
  }
}
