/* =====================================================================
   x555.homes mobile interface stylesheet
   Canvas: 320-430px phone frame, dark base, light text
   Palette: #FFF8DC | #0D1117 | #BBBBBB | #FFFACD | #EEE8AA
   Direction: rounded headings + compact body, round buttons on square
   cards, horizontal icon-name game strips, fact-first rhythm,
   sliding focus indicator, square high-contrast CTAs.
   All classes and variables use the view9eb80- prefix.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Tokens
--------------------------------------------------------------------- */
:root {
  --view9eb80-canvas: #0D1117;
  --view9eb80-void: #05070a;
  --view9eb80-panel: rgba(255, 250, 205, 0.045);
  --view9eb80-panel-strong: rgba(255, 250, 205, 0.085);
  --view9eb80-line: rgba(238, 232, 170, 0.20);
  --view9eb80-line-strong: rgba(238, 232, 170, 0.42);
  --view9eb80-text: #FFF8DC;
  --view9eb80-soft: #FFFACD;
  --view9eb80-mute: #BBBBBB;
  --view9eb80-accent: #EEE8AA;
  --view9eb80-ink: #0D1117;
  --view9eb80-cta-bg: #FFFACD;
  --view9eb80-radius-square: 2px;
  --view9eb80-radius-pill: 999px;
  --view9eb80-gap: 10px;
  --view9eb80-gutter: 12px;
  --view9eb80-font-head: "Baloo Da 2", "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  --view9eb80-font-body: "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  --view9eb80-topbar-h: 106px;
  --view9eb80-dock-h: 78px;
  --view9eb80-ease: cubic-bezier(0.22, 0.9, 0.3, 1);
}

/* ---------------------------------------------------------------------
   2. Base
--------------------------------------------------------------------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  background: var(--view9eb80-void);
  color: var(--view9eb80-text);
  font-family: var(--view9eb80-font-body);
  font-size: 15px;
  line-height: 1.62;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

[hidden] { display: none !important; }

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

h1, h2, h3, h4 {
  font-family: var(--view9eb80-font-head);
  font-weight: 700;
  line-height: 1.32;
  margin: 0 0 8px;
  text-wrap: balance;
}

h1 { font-size: 22px; letter-spacing: 0.1px; }
h2 { font-size: 19px; color: var(--view9eb80-soft); }
h3 { font-size: 16.5px; color: var(--view9eb80-accent); font-weight: 600; }

p { margin: 0 0 10px; }

a {
  color: var(--view9eb80-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(238, 232, 170, 0.35);
}

a:hover { color: var(--view9eb80-soft); }

button {
  font-family: var(--view9eb80-font-body);
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--view9eb80-accent);
  outline-offset: 2px;
}

::selection {
  background: var(--view9eb80-accent);
  color: var(--view9eb80-ink);
}

/* The phone canvas: fixed 430px ceiling, centered on wide screens */
.view9eb80-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  background: var(--view9eb80-canvas);
  position: relative;
  overflow-x: hidden;
}

/* ---------------------------------------------------------------------
   3. Fixed tab-style top bar
--------------------------------------------------------------------- */
.view9eb80-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(13, 17, 23, 0.96);
  border-bottom: 1px solid var(--view9eb80-line);
  backdrop-filter: blur(8px);
}

.view9eb80-topmain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 64px;
  padding: 10px var(--view9eb80-gutter) 8px;
}

/* Brand block: logo image + site name only */
.view9eb80-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: none;
  min-height: 44px;
  flex-shrink: 0;
}

.view9eb80-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--view9eb80-line-strong);
  background: var(--view9eb80-panel);
  object-fit: cover;
}

.view9eb80-brandname {
  font-family: var(--view9eb80-font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--view9eb80-soft);
  letter-spacing: 0.4px;
}

.view9eb80-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Round action chips (register / login) */
.view9eb80-btnpill {
  min-height: 44px;
  padding: 0 15px;
  border-radius: var(--view9eb80-radius-pill);
  border: 1px solid var(--view9eb80-line-strong);
  background: transparent;
  color: var(--view9eb80-soft);
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 0.25s var(--view9eb80-ease), color 0.25s var(--view9eb80-ease);
}

.view9eb80-btnpill-solid {
  background: var(--view9eb80-soft);
  color: var(--view9eb80-ink);
  border-color: var(--view9eb80-soft);
}

.view9eb80-btnpill:hover {
  background: var(--view9eb80-accent);
  color: var(--view9eb80-ink);
}

.view9eb80-btnpill-solid:hover {
  background: var(--view9eb80-text);
}

/* Menu trigger tile */
.view9eb80-burger {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--view9eb80-line);
  border-radius: 10px;
  background: var(--view9eb80-panel);
  color: var(--view9eb80-accent);
  transition: background-color 0.25s var(--view9eb80-ease);
}

.view9eb80-burger:hover {
  background: var(--view9eb80-panel-strong);
}

.view9eb80-burger svg { width: 22px; height: 22px; }

/* Category tab strip */
.view9eb80-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 var(--view9eb80-gutter) 8px;
  scrollbar-width: none;
}

.view9eb80-tabs::-webkit-scrollbar { display: none; }

.view9eb80-tab {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 4px 13px;
  border: 1px solid var(--view9eb80-line);
  border-radius: var(--view9eb80-radius-pill);
  border-bottom: 1px solid var(--view9eb80-line);
  color: var(--view9eb80-mute);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.25s var(--view9eb80-ease), border-color 0.25s var(--view9eb80-ease), background-color 0.25s var(--view9eb80-ease);
}

.view9eb80-tab:hover { color: var(--view9eb80-soft); }

.view9eb80-tab[aria-current="true"] {
  color: var(--view9eb80-ink);
  background: var(--view9eb80-accent);
  border-color: var(--view9eb80-accent);
}

/* ---------------------------------------------------------------------
   4. Sectioned menu overlay
--------------------------------------------------------------------- */
.view9eb80-menu {
  position: fixed;
  top: var(--view9eb80-topbar-h);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  max-height: calc(100vh - var(--view9eb80-topbar-h));
  overflow-y: auto;
  z-index: 55;
  background: rgba(13, 17, 23, 0.985);
  border-bottom: 1px solid var(--view9eb80-line-strong);
  padding: 14px var(--view9eb80-gutter) 22px;
}

.view9eb80-menulabel {
  margin: 14px 0 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--view9eb80-mute);
}

.view9eb80-menulabel:first-child { margin-top: 0; }

.view9eb80-menugrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.view9eb80-menulink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 11px;
  border: 1px solid var(--view9eb80-line);
  border-radius: var(--view9eb80-radius-square);
  background: var(--view9eb80-panel);
  color: var(--view9eb80-text);
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--view9eb80-line);
  transition: background-color 0.25s var(--view9eb80-ease), border-color 0.25s var(--view9eb80-ease);
}

.view9eb80-menulink:hover {
  background: var(--view9eb80-panel-strong);
  border-color: var(--view9eb80-line-strong);
  color: var(--view9eb80-soft);
}

.view9eb80-menulink span {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 2px;
  background: var(--view9eb80-accent);
}

.view9eb80-menupromo {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

/* ---------------------------------------------------------------------
   5. Main column
--------------------------------------------------------------------- */
.view9eb80-main {
  padding: calc(var(--view9eb80-topbar-h) + 12px) var(--view9eb80-gutter) calc(var(--view9eb80-dock-h) + 34px);
}

.view9eb80-sec { scroll-margin-top: calc(var(--view9eb80-topbar-h) + 8px); }

/* Hero */
.view9eb80-hero {
  padding: 14px 0 4px;
}

.view9eb80-hero h1 { margin-bottom: 10px; }

.view9eb80-lead {
  color: var(--view9eb80-text);
  font-size: 15px;
}

.view9eb80-ctarow {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 12px 0 4px;
}

/* Square high-contrast CTA buttons */
.view9eb80-cta {
  flex: 1 1 140px;
  min-height: 48px;
  border-radius: var(--view9eb80-radius-square);
  border: 1px solid var(--view9eb80-soft);
  background: var(--view9eb80-cta-bg);
  color: var(--view9eb80-ink);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 0 12px;
  transition: background-color 0.25s var(--view9eb80-ease), color 0.25s var(--view9eb80-ease);
}

.view9eb80-cta:hover { background: var(--view9eb80-text); }

.view9eb80-cta-ghost {
  background: transparent;
  color: var(--view9eb80-soft);
  border-color: var(--view9eb80-line-strong);
}

.view9eb80-cta-ghost:hover {
  background: var(--view9eb80-panel-strong);
  color: var(--view9eb80-text);
}

/* Fact chips row */
.view9eb80-chiprow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 14px 0;
}

.view9eb80-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid var(--view9eb80-line);
  border-radius: var(--view9eb80-radius-square);
  background: var(--view9eb80-panel);
  color: var(--view9eb80-mute);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
}

.view9eb80-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--view9eb80-accent);
}

/* ---------------------------------------------------------------------
   6. Carousel
--------------------------------------------------------------------- */
.view9eb80-carousel {
  margin: 6px 0 8px;
}

.view9eb80-cviewport {
  overflow: hidden;
  border: 1px solid var(--view9eb80-line);
  border-radius: var(--view9eb80-radius-square);
  background: var(--view9eb80-panel);
}

.view9eb80-ctrack {
  display: flex;
  transition: transform 0.5s var(--view9eb80-ease);
}

.view9eb80-slide {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
}

.view9eb80-slidebtn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
}

.view9eb80-slidebtn img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.view9eb80-slidecap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-top: 1px solid var(--view9eb80-line);
}

.view9eb80-slidetext {
  font-size: 12.5px;
  color: var(--view9eb80-mute);
  line-height: 1.45;
  margin: 0;
}

.view9eb80-slidego {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--view9eb80-radius-square);
  border: 1px solid var(--view9eb80-accent);
  background: var(--view9eb80-accent);
  color: var(--view9eb80-ink);
  font-size: 12.5px;
  font-weight: 700;
  transition: background-color 0.25s var(--view9eb80-ease);
}

.view9eb80-slidego:hover { background: var(--view9eb80-text); }

.view9eb80-cdots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 9px;
}

.view9eb80-dot {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
}

.view9eb80-dot::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: var(--view9eb80-radius-square);
  background: var(--view9eb80-line-strong);
  transition: background-color 0.25s var(--view9eb80-ease), transform 0.25s var(--view9eb80-ease);
}

.view9eb80-dot[aria-current="true"]::after {
  background: var(--view9eb80-accent);
  transform: scale(1.25);
}

/* ---------------------------------------------------------------------
   7. Game sections with horizontal icon-name strips
--------------------------------------------------------------------- */
.view9eb80-gsec {
  margin: 22px 0;
  padding-top: 4px;
}

.view9eb80-gsechead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 9px;
  margin-bottom: 4px;
}

.view9eb80-gsechead h2 { margin: 0; }

.view9eb80-countchip {
  flex: 0 0 auto;
  margin-top: 3px;
  padding: 2px 9px;
  border: 1px solid var(--view9eb80-line-strong);
  border-radius: var(--view9eb80-radius-pill);
  color: var(--view9eb80-accent);
  font-size: 12px;
  font-weight: 700;
}

.view9eb80-gintro {
  color: var(--view9eb80-mute);
  font-size: 13.5px;
  margin: 7px 0 12px;
}

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

/* Horizontal icon + name strip, square card corners */
.view9eb80-gstrip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 6px 9px;
  border: 1px solid var(--view9eb80-line);
  border-radius: var(--view9eb80-radius-square);
  background: var(--view9eb80-panel);
  text-align: left;
  transition: background-color 0.25s var(--view9eb80-ease), border-color 0.25s var(--view9eb80-ease);
}

.view9eb80-gstrip:hover {
  background: var(--view9eb80-panel-strong);
  border-color: var(--view9eb80-line-strong);
}

.view9eb80-gstrip img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(238, 232, 170, 0.16);
}

.view9eb80-gname {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--view9eb80-text);
  line-height: 1.38;
  overflow-wrap: anywhere;
}

@media (min-width: 400px) {
  .view9eb80-ggrid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------------------------------------------------------------
   8. Content modules (fact strip + expandable detail)
--------------------------------------------------------------------- */
.view9eb80-module {
  margin: 24px 0;
  padding: 15px 13px;
  border: 1px solid var(--view9eb80-line);
  border-radius: var(--view9eb80-radius-square);
  background: var(--view9eb80-panel);
}

.view9eb80-module h2 { margin-bottom: 10px; }

.view9eb80-fact {
  margin: 0 0 12px;
  padding: 9px 11px;
  border-left: 3px solid var(--view9eb80-accent);
  border-radius: var(--view9eb80-radius-square);
  background: rgba(238, 232, 170, 0.07);
  color: var(--view9eb80-soft);
  font-weight: 600;
  font-size: 13.8px;
  line-height: 1.55;
}

.view9eb80-module ol,
.view9eb80-module ul {
  margin: 0 0 10px;
  padding: 0 0 0 20px;
  color: var(--view9eb80-text);
  font-size: 14px;
}

.view9eb80-module li { margin: 0 0 8px; }

.view9eb80-module li::marker {
  color: var(--view9eb80-accent);
  font-weight: 700;
}

/* Comparison rows for feature scan */
.view9eb80-rows {
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
}

.view9eb80-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--view9eb80-line);
  border-radius: var(--view9eb80-radius-square);
  background: rgba(13, 17, 23, 0.55);
}

.view9eb80-row dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--view9eb80-accent);
  line-height: 1.4;
  padding-top: 2px;
}

.view9eb80-row dd {
  margin: 0;
  font-size: 13px;
  color: var(--view9eb80-text);
  line-height: 1.55;
}

@media (min-width: 400px) {
  .view9eb80-row { grid-template-columns: 110px 1fr; }
}

/* Expandable detail blocks */
.view9eb80-more {
  border: 1px solid var(--view9eb80-line);
  border-radius: var(--view9eb80-radius-square);
  background: rgba(13, 17, 23, 0.55);
  margin: 8px 0;
}

.view9eb80-more summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13.8px;
  color: var(--view9eb80-soft);
  list-style: none;
  transition: color 0.25s var(--view9eb80-ease);
}

.view9eb80-more summary::-webkit-details-marker { display: none; }

.view9eb80-more summary::before {
  content: "+";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--view9eb80-line-strong);
  border-radius: var(--view9eb80-radius-square);
  color: var(--view9eb80-accent);
  font-weight: 700;
  line-height: 1;
}

.view9eb80-more[open] summary::before { content: "\2013"; }

.view9eb80-more[open] summary { color: var(--view9eb80-accent); }

.view9eb80-more .view9eb80-morebody {
  padding: 2px 12px 12px;
  font-size: 13.5px;
  color: var(--view9eb80-text);
}

.view9eb80-more .view9eb80-morebody p { margin: 0 0 8px; }

.view9eb80-more .view9eb80-morebody p:last-child { margin-bottom: 0; }

/* Inline promo text link inside body copy */
.view9eb80-inlink {
  border-bottom: 1px dashed rgba(238, 232, 170, 0.55);
  font-weight: 600;
}

/* ---------------------------------------------------------------------
   9. Extended footer (compact groups)
--------------------------------------------------------------------- */
.view9eb80-ext {
  margin: 26px 0 0;
  border-top: 1px solid var(--view9eb80-line-strong);
  padding: 16px 0 6px;
}

.view9eb80-extlabel {
  margin: 0 0 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--view9eb80-mute);
}

.view9eb80-extpromos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 18px;
}

.view9eb80-extcta {
  min-height: 48px;
  padding: 6px 4px;
  border: 1px solid var(--view9eb80-line-strong);
  border-radius: var(--view9eb80-radius-square);
  background: var(--view9eb80-cta-bg);
  color: var(--view9eb80-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  transition: background-color 0.25s var(--view9eb80-ease);
}

.view9eb80-extcta:hover { background: var(--view9eb80-text); }

.view9eb80-extcta-alt {
  background: transparent;
  color: var(--view9eb80-soft);
  border-color: var(--view9eb80-line-strong);
}

.view9eb80-extcta-alt:hover {
  background: var(--view9eb80-panel-strong);
  color: var(--view9eb80-text);
}

.view9eb80-extbrand {
  font-size: 13px;
  color: var(--view9eb80-mute);
  line-height: 1.6;
  margin: 0 0 18px;
  padding: 11px 12px;
  border: 1px solid var(--view9eb80-line);
  border-radius: var(--view9eb80-radius-square);
  background: var(--view9eb80-panel);
}

.view9eb80-extdir {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.view9eb80-extgroup {
  border: 1px solid var(--view9eb80-line);
  border-radius: var(--view9eb80-radius-square);
  padding: 10px 11px 4px;
  background: rgba(13, 17, 23, 0.5);
}

.view9eb80-extgroup p {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--view9eb80-accent);
}

.view9eb80-extlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.view9eb80-extlinks a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border: 1px solid var(--view9eb80-line);
  border-radius: var(--view9eb80-radius-pill);
  border-bottom: 1px solid var(--view9eb80-line);
  color: var(--view9eb80-text);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 0.25s var(--view9eb80-ease), color 0.25s var(--view9eb80-ease);
}

.view9eb80-extlinks a:hover {
  border-color: var(--view9eb80-line-strong);
  color: var(--view9eb80-soft);
}

.view9eb80-note {
  font-size: 12px;
  color: var(--view9eb80-mute);
  line-height: 1.6;
  padding: 10px 11px;
  border-left: 3px solid var(--view9eb80-line-strong);
  border-radius: var(--view9eb80-radius-square);
  background: rgba(13, 17, 23, 0.5);
}

/* ---------------------------------------------------------------------
   10. Common footer + layered bottom dock
--------------------------------------------------------------------- */
.view9eb80-foot {
  padding: 4px 0 8px;
  text-align: center;
}

.view9eb80-copy {
  font-size: 12px;
  color: var(--view9eb80-mute);
  margin: 0;
}

/* Layered dock: indicator track layer above the icon tile layer */
.view9eb80-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 58;
  background: rgba(13, 17, 23, 0.97);
  border-top: 1px solid var(--view9eb80-line);
  backdrop-filter: blur(8px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.view9eb80-docktrack {
  position: relative;
  height: 3px;
  background: rgba(238, 232, 170, 0.10);
}

.view9eb80-dockind {
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 3px;
  background: var(--view9eb80-accent);
  border-radius: var(--view9eb80-radius-square);
  transition: transform 0.35s var(--view9eb80-ease);
}

.view9eb80-dockrow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  padding: 4px 4px 6px;
}

/* Containerized symbol tile */
.view9eb80-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 64px;
  padding: 4px 2px;
  border: 0;
  background: none;
  border-radius: var(--view9eb80-radius-square);
  color: var(--view9eb80-mute);
  text-decoration: none;
  transition: color 0.25s var(--view9eb80-ease);
}

.view9eb80-tile:hover { color: var(--view9eb80-soft); }

.view9eb80-tilebox {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--view9eb80-line);
  border-radius: 11px;
  background: var(--view9eb80-panel);
  transition: background-color 0.25s var(--view9eb80-ease), border-color 0.25s var(--view9eb80-ease);
}

.view9eb80-tile svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.25s var(--view9eb80-ease);
}

.view9eb80-tilelabel {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.25;
  text-align: center;
}

/* Active state: icon fill change + tile glow */
.view9eb80-tile[aria-current="page"],
.view9eb80-tile[data-on="1"] {
  color: var(--view9eb80-accent);
}

.view9eb80-tile[aria-current="page"] .view9eb80-tilebox,
.view9eb80-tile[data-on="1"] .view9eb80-tilebox {
  background: rgba(238, 232, 170, 0.14);
  border-color: var(--view9eb80-line-strong);
}

.view9eb80-tile[aria-current="page"] svg,
.view9eb80-tile[data-on="1"] svg {
  fill: rgba(238, 232, 170, 0.30);
  stroke: var(--view9eb80-accent);
}

/* ---------------------------------------------------------------------
   11. Wide-screen framing: keep the phone canvas
--------------------------------------------------------------------- */
@media (min-width: 431px) {
  .view9eb80-shell {
    border-left: 1px solid var(--view9eb80-line);
    border-right: 1px solid var(--view9eb80-line);
    box-shadow: 0 0 42px rgba(238, 232, 170, 0.06);
  }
}

/* ---------------------------------------------------------------------
   12. Motion and print
--------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .view9eb80-ctrack,
  .view9eb80-dockind,
  .view9eb80-btnpill,
  .view9eb80-gstrip,
  .view9eb80-tile,
  .view9eb80-dot::after {
    transition: none;
  }
}

@media print {
  .view9eb80-topbar,
  .view9eb80-dock,
  .view9eb80-menu { display: none !important; }
  .view9eb80-main { padding: 0; }
  body { background: #fff; color: #000; }
}

/* ---------------------------------------------------------------------
   13. Help-page compositions
--------------------------------------------------------------------- */
.view9eb80-helpintro {
  padding: 16px 14px;
  border: 1px solid var(--view9eb80-line-strong);
  border-radius: 18px 2px 18px 2px;
  background: linear-gradient(135deg, rgba(238,232,170,0.14), rgba(13,17,23,0.72));
}

.view9eb80-helpintro h1 { margin-bottom: 10px; }
.view9eb80-helpintro p:last-child { margin-bottom: 0; }

.view9eb80-helpsteps {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  counter-reset: helpstep;
}

.view9eb80-helpstep {
  position: relative;
  padding: 12px 12px 11px 45px;
  border: 1px solid var(--view9eb80-line);
  border-left: 3px solid var(--view9eb80-accent);
  border-radius: 2px 14px 2px 14px;
  background: rgba(255,250,205,0.045);
}

.view9eb80-helpstep::before {
  counter-increment: helpstep;
  content: counter(helpstep, decimal-leading-zero);
  position: absolute;
  left: 11px;
  top: 12px;
  color: var(--view9eb80-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.view9eb80-helpstep h3 { margin-bottom: 5px; }
.view9eb80-helpstep p { margin-bottom: 0; font-size: 13.5px; }

.view9eb80-helprail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 3px 1px 8px;
  scrollbar-width: none;
}

.view9eb80-helprail::-webkit-scrollbar { display: none; }
.view9eb80-helprail a {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border: 1px solid var(--view9eb80-line-strong);
  border-radius: var(--view9eb80-radius-pill);
  background: var(--view9eb80-panel);
  font-size: 12.5px;
  font-weight: 700;
}

.view9eb80-comparegrid {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.view9eb80-compareitem {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 9px;
  align-items: start;
  padding: 10px;
  border-top: 2px solid var(--view9eb80-line-strong);
  background: rgba(13,17,23,0.58);
}

.view9eb80-compareitem strong {
  color: var(--view9eb80-accent);
  font-size: 12px;
  line-height: 1.4;
}

.view9eb80-compareitem span { font-size: 13px; line-height: 1.52; }

.view9eb80-answer {
  margin: 12px 0 0;
  padding: 13px;
  border: 1px solid var(--view9eb80-accent);
  border-radius: 2px;
  background: rgba(238,232,170,0.1);
  color: var(--view9eb80-soft);
}

.view9eb80-answer strong { color: var(--view9eb80-accent); }
.view9eb80-helpcta { margin-top: 12px; }

.view9eb80-safetyflag {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--view9eb80-line-strong);
  border-radius: 2px 16px 2px 16px;
  background: rgba(255,250,205,0.06);
}

.view9eb80-safetyflag::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 50%;
  background: var(--view9eb80-accent);
  color: var(--view9eb80-ink);
  font-weight: 800;
}

.view9eb80-safetyflag p { margin: 0; font-size: 13.5px; }

.view9eb80-safetygrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 10px;
}

.view9eb80-safetycell {
  min-height: 122px;
  padding: 10px;
  border: 1px solid var(--view9eb80-line);
  border-radius: 2px;
  background: rgba(13,17,23,0.62);
}

.view9eb80-safetycell h3 { font-size: 14px; margin-bottom: 5px; }
.view9eb80-safetycell p { margin: 0; font-size: 12.5px; line-height: 1.5; }

.view9eb80-checkline {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 8px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--view9eb80-line);
  font-size: 13.5px;
}

.view9eb80-checkline::before {
  content: "✓";
  color: var(--view9eb80-accent);
  font-weight: 800;
}

.view9eb80-risk {
  margin-top: 10px;
  padding: 10px 11px;
  border-left: 3px solid var(--view9eb80-accent);
  background: rgba(238,232,170,0.07);
  font-size: 13.5px;
}

.view9eb80-risk p { margin: 0 0 7px; }
.view9eb80-risk p:last-child { margin-bottom: 0; }

@media (max-width: 345px) {
  .view9eb80-safetygrid { grid-template-columns: 1fr; }
  .view9eb80-compareitem { grid-template-columns: 78px 1fr; }
}
