/* ============================================================
   bd baji — canvas-adaptive-7460e3.css
   Mobile-first base styles for the 320-430px phone canvas.
   Palette anchor: #9400D3 / #DDA0DD / #2E4057 (dark base, light text)
   Design brief: tech-flavoured headings over open body text,
   small radii / high density, grouped cover cards, fact-first
   information rhythm, motion budget spent on key CTAs only,
   square high-contrast buttons.
   Every class and custom property carries the surface0e379- prefix.
   ============================================================ */

:root {
  --surface0e379-ink: #141d29;
  --surface0e379-bg: #1b2735;
  --surface0e379-slate: #2E4057;
  --surface0e379-slate-hi: #3a506e;
  --surface0e379-violet: #9400D3;
  --surface0e379-violet-deep: #7001a3;
  --surface0e379-plum: #DDA0DD;
  --surface0e379-plum-dim: rgba(221, 160, 221, 0.66);
  --surface0e379-paper: #f3ecf8;
  --surface0e379-mute: #a9b6c8;
  --surface0e379-line: rgba(221, 160, 221, 0.18);
  --surface0e379-line-strong: rgba(221, 160, 221, 0.38);
  --surface0e379-radius: 4px;
  --surface0e379-radius-lg: 8px;
  --surface0e379-head: "Bahnschrift", "Segoe UI Semibold", "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  --surface0e379-body: "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", sans-serif;
  --surface0e379-tabbar-h: 64px;
}

* , *::before, *::after { box-sizing: border-box; }

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

body.surface0e379-page {
  margin: 0;
  background: var(--surface0e379-ink);
  color: var(--surface0e379-paper);
  font-family: var(--surface0e379-body);
  font-size: 15px;
  line-height: 1.68;
  overflow-x: hidden;
}

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

a { color: var(--surface0e379-plum); text-decoration: none; }

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

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

/* ---------- phone canvas (wide screens keep the same canvas) ---------- */

.surface0e379-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(148, 0, 211, 0.20), transparent 62%),
    linear-gradient(180deg, var(--surface0e379-bg) 0%, var(--surface0e379-ink) 48%);
  overflow-x: clip;
}

@media (min-width: 431px) {
  .surface0e379-shell {
    border-inline: 1px solid var(--surface0e379-line);
    box-shadow: 0 0 48px rgba(0, 0, 0, 0.55);
  }
}

/* ---------- topbar: edge-aligned functional header ---------- */

.surface0e379-tophead { position: sticky; top: 0; z-index: 70; }

.surface0e379-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 60px;
  padding: 8px 10px;
  background: rgba(20, 29, 41, 0.93);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--surface0e379-line);
}

.surface0e379-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--surface0e379-paper);
}

.surface0e379-logo {
  width: 36px; height: 36px;
  flex: 0 0 auto;
  border-radius: var(--surface0e379-radius);
  border: 1px solid var(--surface0e379-line-strong);
  object-fit: cover;
  background: #0d141d;
}

.surface0e379-brandname {
  font-family: var(--surface0e379-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.4px;
  color: var(--surface0e379-paper);
  white-space: nowrap;
}

.surface0e379-brandname em { font-style: normal; color: var(--surface0e379-plum); }

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

/* square, high-contrast CTA buttons */
.surface0e379-btn {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  font-family: var(--surface0e379-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 2px;
  border: 1px solid var(--surface0e379-violet);
  background: var(--surface0e379-violet);
  color: #ffffff;
  transition: transform 0.06s ease, background 0.15s ease;
}

.surface0e379-btn:active {
  transform: translateY(1px) scale(0.98);
  background: var(--surface0e379-violet-deep);
}

.surface0e379-btn--ghost {
  background: transparent;
  color: var(--surface0e379-plum);
  border-color: var(--surface0e379-line-strong);
}

.surface0e379-btn--ghost:active { background: rgba(221, 160, 221, 0.12); }

/* menu button with morphing bars */
.surface0e379-menubtn {
  width: 44px; min-width: 44px; height: 44px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--surface0e379-line);
  border-radius: 2px;
  cursor: pointer;
}

.surface0e379-menubtn i {
  display: block; position: relative;
  width: 18px; height: 2px;
  background: var(--surface0e379-plum);
  border-radius: 1px;
  transition: background 0.15s ease;
}

.surface0e379-menubtn i::before,
.surface0e379-menubtn i::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 2px;
  background: var(--surface0e379-plum);
  border-radius: 1px;
  transition: transform 0.18s ease, top 0.18s ease;
}

.surface0e379-menubtn i::before { top: -6px; }
.surface0e379-menubtn i::after { top: 6px; }

.surface0e379-menubtn[aria-expanded="true"] i { background: transparent; }
.surface0e379-menubtn[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
.surface0e379-menubtn[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }

/* ---------- compact route panel (pull-down menu) ---------- */

.surface0e379-routes {
  display: none;
  background: rgba(27, 39, 53, 0.97);
  border-bottom: 1px solid var(--surface0e379-line-strong);
  padding: 12px 12px 14px;
}

.surface0e379-tophead.surface0e379-tophead--open .surface0e379-routes {
  display: block;
  animation: surface0e379-drop 0.18s ease both;
}

@keyframes surface0e379-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.surface0e379-routelabel {
  margin: 10px 2px 6px;
  font-family: var(--surface0e379-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--surface0e379-plum-dim);
}

.surface0e379-routes .surface0e379-routelabel:first-child { margin-top: 0; }

.surface0e379-routegrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.surface0e379-route {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--surface0e379-line);
  border-radius: var(--surface0e379-radius);
  background: rgba(46, 64, 87, 0.5);
  color: var(--surface0e379-paper);
  font-family: var(--surface0e379-head);
  font-size: 13.5px;
  font-weight: 600;
}

.surface0e379-route::before {
  content: "";
  width: 6px; height: 6px;
  flex: 0 0 auto;
  background: var(--surface0e379-violet);
  border-radius: 1px;
}

.surface0e379-route:active {
  border-color: var(--surface0e379-violet);
  background: rgba(148, 0, 211, 0.16);
}

/* ---------- main column ---------- */

.surface0e379-main {
  padding: 14px 10px calc(var(--surface0e379-tabbar-h) + 40px);
}

.surface0e379-h1 {
  font-family: var(--surface0e379-head);
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: 0.2px;
  margin: 6px 0 8px;
}

.surface0e379-lede {
  margin: 0 0 14px;
  color: var(--surface0e379-mute);
  font-size: 14px;
}

/* ---------- promo banner carousel ---------- */

.surface0e379-carousel {
  position: relative;
  border: 1px solid var(--surface0e379-line-strong);
  border-radius: var(--surface0e379-radius-lg);
  overflow: hidden;
}

.surface0e379-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.surface0e379-track::-webkit-scrollbar { display: none; }

.surface0e379-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  display: block;
}

.surface0e379-slide img {
  width: 100%;
  height: clamp(150px, 42vw, 185px);
  object-fit: cover;
  background: #0d141d;
}

.surface0e379-slidecap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 10px 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(180deg, transparent, rgba(20, 29, 41, 0.92));
}

.surface0e379-dots {
  position: absolute;
  right: 6px; bottom: 6px;
  display: flex;
  gap: 4px;
}

.surface0e379-dots button {
  width: 20px; height: 18px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
}

.surface0e379-dots button::before {
  content: "";
  position: absolute;
  left: 3px; right: 3px; top: 7px;
  height: 4px;
  border-radius: 1px;
  background: rgba(243, 236, 248, 0.45);
}

.surface0e379-dots button.surface0e379-dot--on::before {
  background: var(--surface0e379-plum);
}

/* ---------- quick fact chips ---------- */

.surface0e379-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 2px 2px;
  scrollbar-width: none;
}

.surface0e379-chips::-webkit-scrollbar { display: none; }

.surface0e379-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--surface0e379-mute);
  border: 1px solid var(--surface0e379-line);
  border-radius: 3px;
  background: rgba(46, 64, 87, 0.4);
}

.surface0e379-chip::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--surface0e379-violet);
  border-radius: 1px;
}

/* ---------- game category sections (grouped cover cards) ---------- */

.surface0e379-cat { margin-top: 24px; }

.surface0e379-cathead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  border-left: 3px solid var(--surface0e379-violet);
  padding-left: 9px;
}

.surface0e379-cathead h2 {
  font-family: var(--surface0e379-head);
  font-size: 16.5px;
  line-height: 1.45;
  margin: 0;
}

.surface0e379-catcount {
  flex: 0 0 auto;
  font-family: var(--surface0e379-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--surface0e379-plum);
  border: 1px solid var(--surface0e379-line-strong);
  border-radius: 2px;
  padding: 3px 8px;
  margin-top: 2px;
  white-space: nowrap;
}

.surface0e379-catnote {
  margin: 7px 0 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--surface0e379-mute);
}

.surface0e379-catlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.surface0e379-catlinks a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 10px;
  font-size: 12px;
  border: 1px dashed var(--surface0e379-line-strong);
  border-radius: 3px;
  color: var(--surface0e379-plum);
}

.surface0e379-catlinks a:active { background: rgba(221, 160, 221, 0.12); }

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

@media (min-width: 398px) {
  .surface0e379-ggrid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 340px) {
  .surface0e379-ggrid { gap: 6px 5px; }
}

.surface0e379-gcard {
  display: block;
  background: var(--surface0e379-slate);
  border: 1px solid var(--surface0e379-line);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
}

.surface0e379-gcard:active { border-color: var(--surface0e379-violet); }

.surface0e379-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0d141d;
}

.surface0e379-gcard b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 5px 4px 7px;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.35;
  min-height: 38px;
  color: var(--surface0e379-paper);
}

/* ---------- content modules (fact summary first, then expand) ---------- */

.surface0e379-block {
  margin-top: 26px;
  background: rgba(27, 39, 53, 0.6);
  border: 1px solid var(--surface0e379-line);
  border-radius: var(--surface0e379-radius-lg);
  padding: 14px 12px 8px;
}

.surface0e379-block > h2 {
  font-family: var(--surface0e379-head);
  font-size: 17px;
  line-height: 1.45;
  margin: 0 0 10px;
}

.surface0e379-fact {
  margin: 0 0 12px;
  padding: 9px 10px;
  border-left: 3px solid var(--surface0e379-violet);
  border-radius: 0 var(--surface0e379-radius) var(--surface0e379-radius) 0;
  background: rgba(148, 0, 211, 0.10);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--surface0e379-paper);
}

.surface0e379-block p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--surface0e379-mute);
}

.surface0e379-block p strong { color: var(--surface0e379-paper); font-weight: 600; }

.surface0e379-acc { border-top: 1px solid var(--surface0e379-line); }

.surface0e379-acc summary {
  list-style: none;
  cursor: pointer;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 0;
  font-family: var(--surface0e379-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--surface0e379-paper);
}

.surface0e379-acc summary::-webkit-details-marker { display: none; }

.surface0e379-acc summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--surface0e379-violet);
  font-size: 17px;
  font-weight: 700;
}

.surface0e379-acc[open] summary::after { content: "\2013"; }

.surface0e379-acc p {
  margin: 0 0 12px;
  padding-right: 4px;
}

.surface0e379-mile {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0 0 12px;
}

.surface0e379-mile > div {
  border: 1px solid var(--surface0e379-line);
  border-radius: 5px;
  padding: 10px;
  background: rgba(46, 64, 87, 0.35);
}

.surface0e379-mile b {
  display: block;
  font-family: var(--surface0e379-head);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--surface0e379-plum);
  margin-bottom: 3px;
}

.surface0e379-mile span { font-size: 12px; line-height: 1.55; color: var(--surface0e379-mute); display: block; }

.surface0e379-faq > div { border-top: 1px solid var(--surface0e379-line); padding: 2px 0 10px; }

.surface0e379-faq h3 {
  font-family: var(--surface0e379-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--surface0e379-plum);
  margin: 9px 0 4px;
}

.surface0e379-faq p { margin: 0 0 8px; }

.surface0e379-check {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.surface0e379-check li {
  position: relative;
  padding: 9px 4px 9px 27px;
  border-bottom: 1px dashed var(--surface0e379-line);
  font-size: 13.5px;
  color: var(--surface0e379-mute);
}

.surface0e379-check li:last-child { border-bottom: 0; }

.surface0e379-check li::before {
  content: "";
  position: absolute;
  left: 3px; top: 14px;
  width: 12px; height: 12px;
  border: 2px solid var(--surface0e379-violet);
  border-radius: 2px;
}

/* ---------- homepage extended footer ---------- */

.surface0e379-xfoot {
  margin-top: 30px;
  border-top: 2px solid var(--surface0e379-violet);
  padding-top: 4px;
}

.surface0e379-xfoot > h2 {
  font-family: var(--surface0e379-head);
  font-size: 17px;
  line-height: 1.45;
  margin: 12px 0 8px;
}

.surface0e379-brandnote {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--surface0e379-mute);
}

.surface0e379-shortcuts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scrollbar-width: none;
}

.surface0e379-shortcuts::-webkit-scrollbar { display: none; }

.surface0e379-shortcut {
  flex: 0 0 auto;
  width: 92px;
  min-height: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 6px;
  border: 1px solid var(--surface0e379-violet);
  border-radius: var(--surface0e379-radius);
  background: rgba(148, 0, 211, 0.12);
  color: var(--surface0e379-paper);
  font-family: var(--surface0e379-head);
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

.surface0e379-shortcut:active { background: rgba(148, 0, 211, 0.32); }

.surface0e379-shortcut svg { width: 20px; height: 20px; }

.surface0e379-dirlabel {
  margin: 14px 0 8px;
  font-family: var(--surface0e379-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--surface0e379-plum-dim);
}

.surface0e379-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

@media (min-width: 380px) {
  .surface0e379-directory { grid-template-columns: repeat(3, 1fr); }
}

.surface0e379-directory a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 9px;
  border: 1px solid var(--surface0e379-line);
  border-radius: 3px;
  background: rgba(46, 64, 87, 0.35);
  color: var(--surface0e379-paper);
  font-size: 12.5px;
}

.surface0e379-directory a::before {
  content: "\203A";
  font-weight: 700;
  color: var(--surface0e379-violet);
}

.surface0e379-directory a:active { background: rgba(148, 0, 211, 0.16); }

.surface0e379-disclaimer {
  margin: 14px 0 0;
  padding: 9px 10px;
  border: 1px dashed var(--surface0e379-line-strong);
  border-radius: var(--surface0e379-radius);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--surface0e379-mute);
}

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

.surface0e379-footer {
  margin-top: 20px;
  padding: 14px 10px 8px;
  border-top: 1px solid var(--surface0e379-line);
  text-align: center;
}

.surface0e379-footer p {
  margin: 0;
  font-size: 11.5px;
  color: var(--surface0e379-mute);
}

/* ---------- bottom tabbar: centre-raised navigation ---------- */

.surface0e379-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  background: rgba(16, 24, 35, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--surface0e379-line-strong);
  padding: 5px 4px calc(6px + env(safe-area-inset-bottom, 0px));
}

.surface0e379-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 6px 2px 7px;
  color: var(--surface0e379-mute);
  font-size: 10.5px;
  font-family: var(--surface0e379-head);
}

.surface0e379-tab svg {
  width: 22px; height: 22px;
  transition: transform 0.12s ease;
}

.surface0e379-tab:active svg { transform: scale(0.88); }

.surface0e379-tab .surface0e379-icoA { color: var(--surface0e379-plum-dim); }
.surface0e379-tab .surface0e379-icoB { color: var(--surface0e379-violet); }

.surface0e379-tab--on { color: var(--surface0e379-paper); }

/* underline marker for the active role */
.surface0e379-tab--on::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 3px;
  background: var(--surface0e379-violet);
  border-radius: 0 0 2px 2px;
}

.surface0e379-tab--on .surface0e379-icoA { color: var(--surface0e379-plum); }
.surface0e379-tab--on .surface0e379-icoB { color: #ffffff; }

/* raised centre CTA plate */
.surface0e379-tab--cta { margin-top: -18px; }

.surface0e379-tab--cta .surface0e379-plate {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--surface0e379-violet), var(--surface0e379-violet-deep));
  border: 2px solid var(--surface0e379-plum);
  box-shadow: 0 6px 16px rgba(148, 0, 211, 0.45);
}

.surface0e379-tab--cta svg { width: 24px; height: 24px; }

/* ---------- narrow canvas fine-tuning ---------- */

@media (max-width: 340px) {
  .surface0e379-topbar { padding: 7px 8px; }
  .surface0e379-btn { padding: 0 10px; font-size: 12px; }
  .surface0e379-main { padding-left: 8px; padding-right: 8px; }
  .surface0e379-h1 { font-size: 19px; }
  .surface0e379-mile { grid-template-columns: 1fr; }
}

/* ---------- motion budget: essential feedback only ---------- */

/* ---------- guide and safety page variations ---------- */
.surface0e379-kicker,
.surface0e379-paneltag {
  margin: 0 0 5px;
  color: var(--surface0e379-plum);
  font-family: var(--surface0e379-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.surface0e379-guide-main,
.surface0e379-safety-main { padding-top: 18px; }

.surface0e379-guide-main .surface0e379-lede,
.surface0e379-safety-main .surface0e379-lede { max-width: 62ch; }

.surface0e379-guide-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin: 16px 0 20px;
}

.surface0e379-guide-railitem {
  min-height: 69px;
  padding: 8px 6px;
  border-top: 2px solid var(--surface0e379-violet);
  background: rgba(46, 64, 87, 0.48);
  text-align: center;
}

.surface0e379-guide-railitem b {
  display: block;
  color: var(--surface0e379-plum);
  font-family: var(--surface0e379-head);
  font-size: 14px;
}

.surface0e379-guide-railitem span { display: block; font-size: 10.5px; line-height: 1.35; color: var(--surface0e379-mute); }

.surface0e379-guide-panel,
.surface0e379-safety-slab,
.surface0e379-safety-faq,
.surface0e379-safety-final {
  margin-top: 18px;
  padding: 15px 12px 14px;
  border: 1px solid var(--surface0e379-line);
  border-radius: var(--surface0e379-radius-lg);
  background: rgba(27, 39, 53, 0.72);
}

.surface0e379-guide-panelhead {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 11px;
}

.surface0e379-guide-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--surface0e379-violet);
  color: #fff;
  font-family: var(--surface0e379-head);
  font-weight: 800;
  border-radius: 2px;
}

.surface0e379-guide-panel h2,
.surface0e379-safety-slab h2,
.surface0e379-safety-faq h2,
.surface0e379-safety-final h2,
.surface0e379-safety-alert h2 {
  margin: 0;
  font-family: var(--surface0e379-head);
  font-size: 17px;
  line-height: 1.45;
}

.surface0e379-direct {
  margin: 0 0 12px;
  padding: 10px;
  border-left: 3px solid var(--surface0e379-violet);
  background: rgba(148, 0, 211, 0.11);
  color: var(--surface0e379-paper) !important;
  font-weight: 600;
  font-size: 13px;
}

.surface0e379-guide-panel p,
.surface0e379-safety-slab p,
.surface0e379-safety-faq p,
.surface0e379-safety-final p { color: var(--surface0e379-mute); font-size: 13.5px; }

.surface0e379-guide-panel h3,
.surface0e379-safety-slab h3 { margin: 0 0 4px; color: var(--surface0e379-plum); font-family: var(--surface0e379-head); font-size: 14px; }

.surface0e379-guide-steps { display: grid; gap: 7px; margin: 12px 0; }
.surface0e379-guide-steps article { display: grid; grid-template-columns: 27px 1fr; column-gap: 8px; padding: 9px; border: 1px solid var(--surface0e379-line); background: rgba(46, 64, 87, 0.32); }
.surface0e379-guide-steps article > span { grid-row: span 2; display: grid; place-items: center; width: 25px; height: 25px; background: var(--surface0e379-plum); color: var(--surface0e379-ink); font-weight: 800; }
.surface0e379-guide-steps p { grid-column: 2; margin: 0; }
.surface0e379-guide-steps h3 { margin: 0; }

.surface0e379-guide-columns { display: grid; gap: 10px; margin: 12px 0; }
.surface0e379-guide-columns > div { padding: 10px; border-top: 2px solid var(--surface0e379-plum); background: rgba(46, 64, 87, 0.28); }
.surface0e379-guide-columns .surface0e379-check { margin-bottom: 0; }
.surface0e379-guide-columns .surface0e379-check li { font-size: 12.5px; padding-top: 7px; padding-bottom: 7px; }

.surface0e379-guide-actions,
.surface0e379-safety-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.surface0e379-guide-actions .surface0e379-btn,
.surface0e379-safety-actions .surface0e379-btn { flex: 1 1 140px; }
.surface0e379-guide-cta,
.surface0e379-safety-cta { display: inline-flex; align-items: center; justify-content: center; margin-top: 5px; min-height: 46px; }

.surface0e379-guide-panel--dark { background: #111a26; border-color: var(--surface0e379-line-strong); }
.surface0e379-guide-note { padding: 9px; border: 1px dashed var(--surface0e379-line-strong); }
.surface0e379-guide-diagnostics { display: grid; gap: 7px; margin: 12px 0; }
.surface0e379-guide-diagnostic { display: flex; flex-direction: column; gap: 3px; padding: 9px; border-left: 3px solid var(--surface0e379-plum); background: rgba(46, 64, 87, 0.38); }
.surface0e379-guide-diagnostic b { color: var(--surface0e379-paper); font-size: 13px; }
.surface0e379-guide-diagnostic span { color: var(--surface0e379-mute); font-size: 12.5px; line-height: 1.55; }

.surface0e379-guide-score { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin: 12px 0; }
.surface0e379-guide-score > div { min-height: 145px; padding: 10px; border: 1px solid var(--surface0e379-line); background: rgba(46, 64, 87, 0.28); }
.surface0e379-guide-score strong { color: var(--surface0e379-violet); font-family: var(--surface0e379-head); font-size: 19px; }
.surface0e379-guide-score h3 { margin-top: 3px; font-size: 13px; }
.surface0e379-guide-score p { margin: 0; font-size: 12px; }

.surface0e379-guide-panel--decision { border-top: 3px solid var(--surface0e379-plum); }
.surface0e379-guide-checklist { margin: 0 0 13px; padding: 0; list-style: none; counter-reset: guidecheck; }
.surface0e379-guide-checklist li { counter-increment: guidecheck; padding: 9px 4px 9px 30px; border-bottom: 1px dashed var(--surface0e379-line); position: relative; color: var(--surface0e379-mute); font-size: 13px; }
.surface0e379-guide-checklist li::before { content: counter(guidecheck, decimal-leading-zero); position: absolute; left: 0; top: 9px; color: var(--surface0e379-plum); font-family: var(--surface0e379-head); font-weight: 700; }
.surface0e379-guide-checklist b { color: var(--surface0e379-paper); }
.surface0e379-guide-promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-top: 13px; }
.surface0e379-guide-promo-grid a { display: grid; grid-template-columns: 25px 1fr; column-gap: 4px; padding: 9px; min-height: 60px; border: 1px solid var(--surface0e379-violet); background: rgba(148, 0, 211, 0.13); color: var(--surface0e379-paper); }
.surface0e379-guide-promo-grid span { grid-row: span 2; color: var(--surface0e379-plum); font-size: 20px; }
.surface0e379-guide-promo-grid b { font-family: var(--surface0e379-head); font-size: 12.5px; }
.surface0e379-guide-promo-grid small { color: var(--surface0e379-mute); font-size: 10.5px; }

.surface0e379-safety-alert { display: flex; gap: 10px; margin: 16px 0 18px; padding: 13px 11px; border: 1px solid var(--surface0e379-plum); background: linear-gradient(115deg, rgba(148, 0, 211, 0.27), rgba(46, 64, 87, 0.6)); }
.surface0e379-safety-alerticon { display: grid; flex: 0 0 auto; place-items: center; width: 35px; height: 35px; border: 2px solid var(--surface0e379-plum); color: var(--surface0e379-plum); font-family: var(--surface0e379-head); font-size: 22px; font-weight: 800; }
.surface0e379-safety-alert p:last-child { margin: 5px 0 0; color: var(--surface0e379-paper); font-size: 13px; }
.surface0e379-safety-map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 18px; }
.surface0e379-safety-map div { padding: 8px 5px; background: var(--surface0e379-slate); border-bottom: 2px solid var(--surface0e379-violet); }
.surface0e379-safety-map span { display: block; color: var(--surface0e379-plum); font-family: var(--surface0e379-head); font-size: 11px; }
.surface0e379-safety-map b { display: block; color: var(--surface0e379-paper); font-size: 12px; }
.surface0e379-safety-map small { display: block; color: var(--surface0e379-mute); font-size: 10px; line-height: 1.3; }
.surface0e379-safety-slab { border-radius: 2px; }
.surface0e379-safety-slabtop { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.surface0e379-safety-code { color: var(--surface0e379-plum); font-family: var(--surface0e379-head); font-size: 10px; font-weight: 700; letter-spacing: 1.1px; }
.surface0e379-safety-status { color: var(--surface0e379-mute); font-size: 10px; }
.surface0e379-safety-slab--violet { background: linear-gradient(135deg, rgba(148, 0, 211, 0.22), rgba(27, 39, 53, 0.85)); }
.surface0e379-safety-slab--quiet { background: rgba(46, 64, 87, 0.55); }
.surface0e379-safety-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin: 12px 0; }
.surface0e379-safety-grid article { padding: 9px; border-top: 2px solid var(--surface0e379-violet); background: rgba(46, 64, 87, 0.32); }
.surface0e379-safety-grid b { color: var(--surface0e379-paper); font-size: 13px; }
.surface0e379-safety-grid p { margin: 3px 0 0; font-size: 12px; }
.surface0e379-safety-device { margin: 8px 0; padding: 10px; border: 1px solid rgba(221, 160, 221, 0.3); background: rgba(46, 64, 87, 0.3); }
.surface0e379-safety-device--warn { border-color: rgba(148, 0, 211, 0.8); background: rgba(148, 0, 211, 0.12); }
.surface0e379-safety-devicehead { display: flex; align-items: center; gap: 8px; }
.surface0e379-safety-devicehead span { display: grid; place-items: center; width: 23px; height: 23px; background: var(--surface0e379-violet); color: #fff; font-weight: 800; }
.surface0e379-safety-devicehead h3 { margin: 0; }
.surface0e379-safety-device .surface0e379-check { margin: 4px 0 0; }
.surface0e379-safety-device .surface0e379-check li { font-size: 12.5px; padding: 7px 4px 7px 25px; }
.surface0e379-safety-moneyline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin: 12px 0; }
.surface0e379-safety-moneyline div { padding: 9px; border-left: 2px solid var(--surface0e379-plum); background: rgba(46, 64, 87, 0.3); }
.surface0e379-safety-moneyline b { display: block; color: var(--surface0e379-paper); font-size: 13px; }
.surface0e379-safety-moneyline span { color: var(--surface0e379-mute); font-size: 11.5px; line-height: 1.45; }
.surface0e379-safety-boundary { display: grid; gap: 7px; margin: 12px 0; }
.surface0e379-safety-boundary article { display: grid; grid-template-columns: 46px 1fr; column-gap: 8px; padding: 9px; border-bottom: 1px solid var(--surface0e379-line); }
.surface0e379-safety-boundary article > span { grid-row: span 2; display: grid; place-items: center; height: 28px; border: 1px solid var(--surface0e379-violet); color: var(--surface0e379-plum); font-size: 11px; }
.surface0e379-safety-boundary h3 { margin: 0; }
.surface0e379-safety-boundary p { grid-column: 2; margin: 1px 0 0; }
.surface0e379-safety-compare { display: grid; gap: 7px; margin: 12px 0; }
.surface0e379-safety-compare div { padding: 10px; border-left: 4px solid var(--surface0e379-violet); background: rgba(46, 64, 87, 0.35); }
.surface0e379-safety-compare b { color: var(--surface0e379-plum); font-family: var(--surface0e379-head); }
.surface0e379-safety-compare p { margin: 3px 0 0; }
.surface0e379-safety-faq { background: #121d2b; }
.surface0e379-safety-faq details { border-top: 1px solid var(--surface0e379-line); }
.surface0e379-safety-faq summary { min-height: 47px; display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; color: var(--surface0e379-paper); font-family: var(--surface0e379-head); font-size: 13px; font-weight: 600; list-style: none; }
.surface0e379-safety-faq summary::-webkit-details-marker { display: none; }
.surface0e379-safety-faq summary::after { content: "+"; color: var(--surface0e379-violet); font-size: 18px; }
.surface0e379-safety-faq details[open] summary::after { content: "-"; }
.surface0e379-safety-faq details p { margin: 0 0 11px; padding-right: 5px; }
.surface0e379-safety-final { border-color: var(--surface0e379-plum); background: linear-gradient(160deg, rgba(148, 0, 211, 0.16), rgba(27, 39, 53, 0.75)); }
.surface0e379-safety-signalgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin: 12px 0; }
.surface0e379-safety-signalgrid a { display: flex; flex-direction: column; gap: 2px; padding: 9px; min-height: 55px; border: 1px solid var(--surface0e379-line-strong); color: var(--surface0e379-paper); }
.surface0e379-safety-signalgrid b { color: var(--surface0e379-plum); font-family: var(--surface0e379-head); font-size: 12.5px; }
.surface0e379-safety-signalgrid span { color: var(--surface0e379-mute); font-size: 11px; }

@media (min-width: 380px) {
  .surface0e379-guide-columns { grid-template-columns: repeat(2, 1fr); }
  .surface0e379-guide-diagnostics { grid-template-columns: repeat(2, 1fr); }
  .surface0e379-safety-boundary { grid-template-columns: repeat(2, 1fr); }
  .surface0e379-safety-boundary article { align-content: start; }
}

@media (max-width: 340px) {
  .surface0e379-guide-railitem { padding-inline: 3px; }
  .surface0e379-guide-railitem span { font-size: 9.5px; }
  .surface0e379-guide-score,
  .surface0e379-safety-grid,
  .surface0e379-safety-moneyline { grid-template-columns: 1fr; }
  .surface0e379-safety-alert { gap: 7px; padding-inline: 8px; }
  .surface0e379-safety-alerticon { width: 29px; height: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .surface0e379-tophead.surface0e379-tophead--open .surface0e379-routes { animation: none; }
  .surface0e379-tab svg, .surface0e379-btn { transition: none; }
}
