/* =====================================================================
   747 Esports - shared stylesheet (mobile-first phone canvas)
   File    : css/747-esports-tokens-07e3cd.css
   Prefix  : viewe3cdf- (classes and custom properties)
   Palette : #333333 / #CC99FF / #4A4A4A / #F8F8FF / #DCDCDC / #F5F5F5
   Visual direction:
     - rounded display headings over compact body text
     - pill (fully round) buttons, square-corner cards
     - game items rendered as horizontal icon + name bars
     - step-advance information rhythm (numbered rails)
     - sliding focus / active indicators
     - segmented action buttons for CTAs
   Canvas  : 320-430px phone layout, centered on wide screens
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------- */
:root {
  --viewe3cdf-ink: #333333;          /* primary background */
  --viewe3cdf-ink-deep: #2b2b2b;     /* deep backdrop behind the canvas */
  --viewe3cdf-surface: #4A4A4A;      /* raised surface */
  --viewe3cdf-accent: #CC99FF;       /* lilac accent */
  --viewe3cdf-accent-soft: rgba(204, 153, 255, 0.16);
  --viewe3cdf-accent-line: rgba(204, 153, 255, 0.42);
  --viewe3cdf-paper: #F8F8FF;        /* main text */
  --viewe3cdf-mute: #DCDCDC;         /* secondary text */
  --viewe3cdf-soft: #F5F5F5;         /* highlight text */
  --viewe3cdf-line: rgba(220, 220, 220, 0.18);
  --viewe3cdf-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  --viewe3cdf-r-pill: 999px;         /* buttons: round */
  --viewe3cdf-r-card: 3px;           /* cards: square */
  --viewe3cdf-r-tile: 4px;
  --viewe3cdf-font-round: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --viewe3cdf-font-compact: "Segoe UI", Tahoma, Arial, sans-serif;
  --viewe3cdf-topbar-h: 58px;
  --viewe3cdf-dock-h: 66px;
  --viewe3cdf-space: 14px;
  --viewe3cdf-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------------------
   2. Reset and base
   --------------------------------------------------------------------- */
* { box-sizing: border-box; }

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

body.viewe3cdf-page {
  margin: 0;
  background: var(--viewe3cdf-ink-deep);
  color: var(--viewe3cdf-paper);
  font-family: var(--viewe3cdf-font-compact);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

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

.viewe3cdf-page button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.viewe3cdf-page a {
  color: var(--viewe3cdf-accent);
  text-decoration: none;
}

.viewe3cdf-page a:hover { text-decoration: underline; }

.viewe3cdf-page :focus-visible {
  outline: 2px solid var(--viewe3cdf-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.viewe3cdf-page ::selection {
  background: var(--viewe3cdf-accent);
  color: #333333;
}

.viewe3cdf-skip {
  position: absolute;
  left: -999px;
  top: 6px;
  z-index: 90;
}

.viewe3cdf-skip:focus {
  left: 8px;
  padding: 8px 14px;
  background: var(--viewe3cdf-accent);
  color: #333333;
  font-weight: 700;
  border-radius: var(--viewe3cdf-r-pill);
}

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

/* ---------------------------------------------------------------------
   3. Phone canvas shell
   --------------------------------------------------------------------- */
.viewe3cdf-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--viewe3cdf-ink);
  box-shadow: 0 0 0 1px rgba(248, 248, 255, 0.06), var(--viewe3cdf-shadow);
  overflow: clip;
}

.viewe3cdf-main {
  padding: 0 var(--viewe3cdf-space) 26px;
  /* reserve room so the fixed dock never covers the last block */
  padding-bottom: calc(var(--viewe3cdf-dock-h) + 34px);
}

.viewe3cdf-main > .viewe3cdf-gsec { content-visibility: auto; contain-intrinsic-size: 480px; }

/* ---------------------------------------------------------------------
   4. Top band: minimal title + action strip
   --------------------------------------------------------------------- */
.viewe3cdf-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(51, 51, 51, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--viewe3cdf-line);
}

.viewe3cdf-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--viewe3cdf-topbar-h);
  padding: 8px var(--viewe3cdf-space);
}

.viewe3cdf-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--viewe3cdf-soft);
  text-decoration: none;
}

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

.viewe3cdf-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--viewe3cdf-accent-line);
  background: #3d3d3d;
  object-fit: cover;
  flex: 0 0 auto;
}

.viewe3cdf-brandname {
  font-family: var(--viewe3cdf-font-round);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  line-height: 1.1;
  white-space: nowrap;
}

.viewe3cdf-brandname em {
  font-style: normal;
  color: var(--viewe3cdf-accent);
}

.viewe3cdf-actionband {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Segmented CTA: joined pill pair */
.viewe3cdf-seg {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--viewe3cdf-accent-line);
  border-radius: var(--viewe3cdf-r-pill);
  padding: 3px;
  background: rgba(74, 74, 74, 0.55);
}

.viewe3cdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: var(--viewe3cdf-r-pill);
  font-family: var(--viewe3cdf-font-round);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
  transition: transform 0.18s var(--viewe3cdf-ease), background 0.18s var(--viewe3cdf-ease), color 0.18s var(--viewe3cdf-ease);
}

.viewe3cdf-btn--primary {
  background: var(--viewe3cdf-accent);
  color: #333333;
}

.viewe3cdf-btn--ghost {
  color: var(--viewe3cdf-mute);
}

.viewe3cdf-btn--primary:hover { background: var(--viewe3cdf-soft); }

.viewe3cdf-btn--ghost:hover {
  background: var(--viewe3cdf-accent-soft);
  color: var(--viewe3cdf-accent);
  text-decoration: none;
}

.viewe3cdf-btn:active { transform: scale(0.96); }

/* Hamburger with icon-state morph (bars -> X) */
.viewe3cdf-menubtn {
  position: relative;
  width: 44px;
  height: 40px;
  border-radius: var(--viewe3cdf-r-pill);
  border: 1px solid var(--viewe3cdf-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.viewe3cdf-menubtn-box {
  position: relative;
  width: 18px;
  height: 12px;
}

.viewe3cdf-menubtn-line {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--viewe3cdf-mute);
  transition: transform 0.24s var(--viewe3cdf-ease), opacity 0.18s var(--viewe3cdf-ease), background 0.18s var(--viewe3cdf-ease), width 0.24s var(--viewe3cdf-ease);
}

.viewe3cdf-menubtn-line:nth-child(1) { top: 0; }
.viewe3cdf-menubtn-line:nth-child(2) { top: 5px; width: 13px; }
.viewe3cdf-menubtn-line:nth-child(3) { top: 10px; }

.viewe3cdf-menubtn:hover .viewe3cdf-menubtn-line { background: var(--viewe3cdf-accent); }

.viewe3cdf-menubtn.is-open { border-color: var(--viewe3cdf-accent-line); }

.viewe3cdf-menubtn.is-open .viewe3cdf-menubtn-line {
  background: var(--viewe3cdf-accent);
  width: 18px;
}

.viewe3cdf-menubtn.is-open .viewe3cdf-menubtn-line:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.viewe3cdf-menubtn.is-open .viewe3cdf-menubtn-line:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.viewe3cdf-menubtn.is-open .viewe3cdf-menubtn-line:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   5. Expandable navigation drawer
   --------------------------------------------------------------------- */
.viewe3cdf-drawer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  border-top: 0 solid transparent;
  transition: max-height 0.3s var(--viewe3cdf-ease), opacity 0.24s var(--viewe3cdf-ease);
}

.viewe3cdf-drawer.is-open {
  max-height: 560px;
  opacity: 1;
  border-top: 1px solid var(--viewe3cdf-line);
}

.viewe3cdf-drawer-in {
  padding: 10px var(--viewe3cdf-space) 16px;
}

.viewe3cdf-drawer-group + .viewe3cdf-drawer-group { margin-top: 12px; }

.viewe3cdf-drawer-label {
  margin: 0 0 6px;
  font-family: var(--viewe3cdf-font-round);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(220, 220, 220, 0.62);
}

.viewe3cdf-drawer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.viewe3cdf-drawer-links a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 12px 9px 14px;
  border-radius: var(--viewe3cdf-r-card);
  background: rgba(74, 74, 74, 0.5);
  color: var(--viewe3cdf-paper);
  font-size: 13px;
  line-height: 1.25;
  overflow: hidden;
}

.viewe3cdf-drawer-links a::before {
  /* sliding indicator: slides in from the left edge */
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--viewe3cdf-accent);
  transform: scaleY(0);
  transition: transform 0.22s var(--viewe3cdf-ease);
}

.viewe3cdf-drawer-links a:hover,
.viewe3cdf-drawer-links a:focus-visible {
  background: rgba(74, 74, 74, 0.9);
  text-decoration: none;
}

.viewe3cdf-drawer-links a:hover::before,
.viewe3cdf-drawer-links a:focus-visible::before,
.viewe3cdf-drawer-links a.is-current::before {
  transform: scaleY(1);
}

.viewe3cdf-drawer-links a.is-current {
  background: var(--viewe3cdf-accent-soft);
  color: var(--viewe3cdf-accent);
  font-weight: 700;
}

.viewe3cdf-drawer-arrow {
  margin-left: auto;
  font-size: 12px;
  color: var(--viewe3cdf-accent);
}

/* ---------------------------------------------------------------------
   6. Hero carousel
   --------------------------------------------------------------------- */
.viewe3cdf-hero {
  position: relative;
  margin: 12px 0 4px;
  border-radius: var(--viewe3cdf-r-card);
  overflow: hidden;
  background: var(--viewe3cdf-surface);
  border: 1px solid var(--viewe3cdf-line);
}

.viewe3cdf-slide {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 43 / 19;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6%) scale(1.01);
  transition: opacity 0.45s var(--viewe3cdf-ease), transform 0.45s var(--viewe3cdf-ease), visibility 0.45s;
  position: absolute;
  inset: 0;
  text-align: left;
}

.viewe3cdf-slide.is-live {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  position: relative;
}

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

.viewe3cdf-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, rgba(43, 43, 43, 0) 0%, rgba(43, 43, 43, 0.88) 72%);
}

.viewe3cdf-slide-cap strong {
  font-family: var(--viewe3cdf-font-round);
  font-size: 15px;
  line-height: 1.2;
  color: var(--viewe3cdf-soft);
}

.viewe3cdf-slide-cap span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--viewe3cdf-accent);
  font-weight: 700;
}

.viewe3cdf-slide-cap span::after { content: "\203A"; font-size: 14px; }

.viewe3cdf-dots {
  position: absolute;
  right: 10px;
  bottom: 9px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.viewe3cdf-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: rgba(220, 220, 220, 0.5);
  transition: width 0.22s var(--viewe3cdf-ease), background 0.22s var(--viewe3cdf-ease);
}

.viewe3cdf-dot.is-on {
  width: 20px;
  border-radius: var(--viewe3cdf-r-pill);
  background: var(--viewe3cdf-accent);
}

/* ---------------------------------------------------------------------
   7. Intro / H1 block
   --------------------------------------------------------------------- */
.viewe3cdf-intro { padding: 16px 0 4px; }

.viewe3cdf-h1 {
  margin: 0 0 10px;
  font-family: var(--viewe3cdf-font-round);
  font-size: 25px;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: 0.1px;
  color: var(--viewe3cdf-soft);
}

.viewe3cdf-h1 mark {
  background: none;
  color: var(--viewe3cdf-accent);
}

.viewe3cdf-lede {
  margin: 0 0 10px;
  color: var(--viewe3cdf-mute);
  font-size: 13.5px;
}

.viewe3cdf-lede strong { color: var(--viewe3cdf-paper); }

.viewe3cdf-kickerrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 4px;
  list-style: none;
  padding: 0;
}

.viewe3cdf-kickerrow li {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--viewe3cdf-accent);
  border: 1px solid var(--viewe3cdf-accent-line);
  border-radius: var(--viewe3cdf-r-pill);
  padding: 4px 10px;
  background: var(--viewe3cdf-accent-soft);
}

/* ---------------------------------------------------------------------
   8. Category chip rail
   --------------------------------------------------------------------- */
.viewe3cdf-catrail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.viewe3cdf-catrail::-webkit-scrollbar { display: none; }

.viewe3cdf-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: var(--viewe3cdf-r-pill);
  border: 1px solid var(--viewe3cdf-line);
  background: var(--viewe3cdf-surface);
  color: var(--viewe3cdf-paper);
  font-family: var(--viewe3cdf-font-round);
  font-size: 12.5px;
  font-weight: 700;
  position: relative;
  transition: border-color 0.18s var(--viewe3cdf-ease), color 0.18s var(--viewe3cdf-ease);
}

.viewe3cdf-chip b {
  font-size: 10px;
  font-weight: 700;
  color: rgba(220, 220, 220, 0.65);
  letter-spacing: 0.06em;
}

.viewe3cdf-chip:hover,
.viewe3cdf-chip:focus-visible {
  border-color: var(--viewe3cdf-accent);
  color: var(--viewe3cdf-accent);
  text-decoration: none;
}

/* ---------------------------------------------------------------------
   9. Game sections: horizontal icon + name bars
   --------------------------------------------------------------------- */
.viewe3cdf-gsec { margin-top: 20px; scroll-margin-top: calc(var(--viewe3cdf-topbar-h) + 12px); }

.viewe3cdf-gsec-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.viewe3cdf-h2 {
  margin: 0;
  font-family: var(--viewe3cdf-font-round);
  font-size: 18.5px;
  line-height: 1.22;
  font-weight: 700;
  color: var(--viewe3cdf-soft);
}

.viewe3cdf-h2 .viewe3cdf-h2dot { color: var(--viewe3cdf-accent); }

.viewe3cdf-count {
  font-size: 11px;
  font-weight: 700;
  color: #333333;
  background: var(--viewe3cdf-accent);
  border-radius: var(--viewe3cdf-r-pill);
  padding: 2px 9px;
  white-space: nowrap;
}

.viewe3cdf-gsec-note {
  margin: 6px 0 10px;
  color: var(--viewe3cdf-mute);
  font-size: 13px;
}

.viewe3cdf-gsec-explore {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0 0 12px;
  font-size: 12.5px;
}

.viewe3cdf-gsec-explore a { font-weight: 600; }

.viewe3cdf-gsec-explore a::before { content: "\2042"; margin-right: 5px; color: var(--viewe3cdf-accent); }

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

/* The game bar: icon on the left, name on the right */
.viewe3cdf-gtile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 50px;
  padding: 4px 4px;
  border-radius: var(--viewe3cdf-r-tile);
  background: var(--viewe3cdf-surface);
  border: 1px solid rgba(220, 220, 220, 0.1);
  text-align: left;
  overflow: hidden;
  transition: border-color 0.18s var(--viewe3cdf-ease), background 0.18s var(--viewe3cdf-ease);
}

.viewe3cdf-gtile::after {
  /* sliding focus indicator along the bottom edge */
  content: "";
  position: absolute;
  left: 8px;
  bottom: 0;
  height: 2px;
  width: calc(100% - 16px);
  border-radius: 2px;
  background: var(--viewe3cdf-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--viewe3cdf-ease);
}

.viewe3cdf-gtile:hover,
.viewe3cdf-gtile:focus-visible {
  border-color: var(--viewe3cdf-accent-line);
  background: rgba(74, 74, 74, 0.92);
}

.viewe3cdf-gtile:hover::after,
.viewe3cdf-gtile:focus-visible::after { transform: scaleX(1); }

.viewe3cdf-gtile:active { transform: scale(0.98); }

.viewe3cdf-gtile img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 4px;
  object-fit: cover;
  flex: 0 0 auto;
  background: #3b3b3b;
}

.viewe3cdf-gname {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  padding: 3px 4px;
  border-radius: 2px;
  background: rgba(43, 43, 43, 0.88);
  font-family: var(--viewe3cdf-font-round);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--viewe3cdf-paper);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.viewe3cdf-gtile:hover .viewe3cdf-gname { color: var(--viewe3cdf-soft); }

/* ---------------------------------------------------------------------
   10. Content modules with step-advance rhythm
   --------------------------------------------------------------------- */
.viewe3cdf-module {
  margin-top: 26px;
  border: 1px solid var(--viewe3cdf-line);
  border-radius: var(--viewe3cdf-r-card);
  background: rgba(74, 74, 74, 0.32);
  padding: 16px 14px 14px;
}

.viewe3cdf-module > .viewe3cdf-h2 { margin-bottom: 8px; }

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

.viewe3cdf-module p strong,
.viewe3cdf-module li strong { color: var(--viewe3cdf-paper); }

.viewe3cdf-module p a { font-weight: 600; }

.viewe3cdf-h3 {
  margin: 14px 0 6px;
  font-family: var(--viewe3cdf-font-round);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--viewe3cdf-accent);
}

/* numbered step rail */
.viewe3cdf-steps {
  list-style: none;
  margin: 6px 0 4px;
  padding: 0;
  counter-reset: viewe3cdf-step;
}

.viewe3cdf-steps li {
  counter-increment: viewe3cdf-step;
  position: relative;
  padding: 0 0 16px 40px;
  font-size: 13.5px;
  color: var(--viewe3cdf-mute);
}

.viewe3cdf-steps li::before {
  content: counter(viewe3cdf-step, decimal);
  position: absolute;
  left: 0;
  top: 0;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--viewe3cdf-accent);
  color: #333333;
  font-family: var(--viewe3cdf-font-round);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewe3cdf-steps li::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 29px;
  bottom: 2px;
  width: 1px;
  background: var(--viewe3cdf-accent-line);
}

.viewe3cdf-steps li:last-child { padding-bottom: 2px; }

.viewe3cdf-steps li:last-child::after { display: none; }

.viewe3cdf-steps b,
.viewe3cdf-steps strong {
  display: block;
  color: var(--viewe3cdf-paper);
  font-family: var(--viewe3cdf-font-round);
  font-size: 13.5px;
  margin-bottom: 2px;
}

/* style comparison rows */
.viewe3cdf-styles {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.viewe3cdf-styles li {
  border: 1px solid var(--viewe3cdf-line);
  border-left: 3px solid var(--viewe3cdf-accent);
  border-radius: var(--viewe3cdf-r-card);
  background: rgba(51, 51, 51, 0.6);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--viewe3cdf-mute);
}

.viewe3cdf-styles b {
  display: block;
  color: var(--viewe3cdf-paper);
  font-family: var(--viewe3cdf-font-round);
  font-size: 13.5px;
  margin-bottom: 2px;
}

/* takeaway ticks */
.viewe3cdf-ticks {
  list-style: none;
  margin: 4px 0 6px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.viewe3cdf-ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  color: var(--viewe3cdf-mute);
}

.viewe3cdf-ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--viewe3cdf-accent);
  border-bottom: 2px solid var(--viewe3cdf-accent);
  transform: rotate(-45deg);
}

/* inline CTA strip inside modules */
.viewe3cdf-ctastrip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px dashed var(--viewe3cdf-accent-line);
  border-radius: var(--viewe3cdf-r-card);
  background: var(--viewe3cdf-accent-soft);
}

.viewe3cdf-ctastrip p {
  margin: 0;
  font-size: 12.5px;
  color: var(--viewe3cdf-paper);
}

.viewe3cdf-ctastrip .viewe3cdf-btn { min-height: 36px; flex: 0 0 auto; }

/* ---------------------------------------------------------------------
   11. Extended footer (homepage only): two-column directory
   --------------------------------------------------------------------- */
.viewe3cdf-xfooter {
  margin-top: 26px;
  padding: 16px var(--viewe3cdf-space) 18px;
  border-top: 1px solid var(--viewe3cdf-accent-line);
  background: rgba(43, 43, 43, 0.6);
}

.viewe3cdf-xf-title {
  margin: 0 0 10px;
  font-family: var(--viewe3cdf-font-round);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--viewe3cdf-accent);
}

/* promotions first */
.viewe3cdf-promos {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.viewe3cdf-promos button {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 56px;
  padding: 9px 10px;
  border-radius: var(--viewe3cdf-r-card);
  border: 1px solid var(--viewe3cdf-line);
  background: rgba(74, 74, 74, 0.6);
  text-align: left;
  transition: border-color 0.18s var(--viewe3cdf-ease), background 0.18s var(--viewe3cdf-ease);
}

.viewe3cdf-promos button:hover,
.viewe3cdf-promos button:focus-visible {
  border-color: var(--viewe3cdf-accent);
  background: rgba(74, 74, 74, 0.95);
}

.viewe3cdf-promos b {
  font-family: var(--viewe3cdf-font-round);
  font-size: 12.5px;
  color: var(--viewe3cdf-accent);
}

.viewe3cdf-promos span {
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--viewe3cdf-mute);
}

/* brand note */
.viewe3cdf-xf-brand {
  margin: 0 0 14px;
  font-size: 12.5px;
  color: var(--viewe3cdf-mute);
  line-height: 1.6;
}

/* page directory: two columns */
.viewe3cdf-dir {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}

.viewe3cdf-dir li { break-inside: avoid; }

.viewe3cdf-dir a {
  display: block;
  padding: 7px 0 7px 14px;
  position: relative;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--viewe3cdf-mute);
  border-bottom: 1px solid rgba(220, 220, 220, 0.08);
}

.viewe3cdf-dir a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--viewe3cdf-accent-line);
  transition: transform 0.18s var(--viewe3cdf-ease), background 0.18s var(--viewe3cdf-ease);
}

.viewe3cdf-dir a:hover,
.viewe3cdf-dir a:focus-visible {
  color: var(--viewe3cdf-accent);
  text-decoration: none;
}

.viewe3cdf-dir a:hover::before,
.viewe3cdf-dir a:focus-visible::before {
  background: var(--viewe3cdf-accent);
  transform: scale(1.35);
}

.viewe3cdf-xf-note {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--viewe3cdf-line);
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(220, 220, 220, 0.68);
}

/* ---------------------------------------------------------------------
   12. Common footer + fixed bottom dock
   --------------------------------------------------------------------- */
.viewe3cdf-foot {
  padding: 14px var(--viewe3cdf-space) calc(var(--viewe3cdf-dock-h) + 22px);
  text-align: center;
  border-top: 1px solid var(--viewe3cdf-line);
}

.viewe3cdf-foot p {
  margin: 0;
  font-size: 11.5px;
  color: rgba(220, 220, 220, 0.62);
}

.viewe3cdf-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 430px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: var(--viewe3cdf-dock-h);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(43, 43, 43, 0.97);
  border-top: 1px solid var(--viewe3cdf-accent-line);
  backdrop-filter: blur(10px);
}

.viewe3cdf-dock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 4px 2px;
  border-radius: var(--viewe3cdf-r-card);
  color: var(--viewe3cdf-mute);
  position: relative;
}

.viewe3cdf-dock svg {
  width: 21px;
  height: 21px;
  transition: transform 0.22s var(--viewe3cdf-ease);
}

.viewe3cdf-dock span {
  font-family: var(--viewe3cdf-font-round);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: color 0.18s var(--viewe3cdf-ease);
}

.viewe3cdf-dock:hover span { color: var(--viewe3cdf-paper); }

.viewe3cdf-dock:hover svg { transform: translateY(-1.5px); }

/* active role: label emphasis + icon state morph */
.viewe3cdf-dock.is-here { color: var(--viewe3cdf-accent); }

.viewe3cdf-dock.is-here span { color: var(--viewe3cdf-accent); }

.viewe3cdf-dock.is-here svg {
  transform: translateY(-1.5px) scale(1.08);
  color: var(--viewe3cdf-accent);
}

.viewe3cdf-dock.is-here::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--viewe3cdf-accent);
}

.viewe3cdf-dock--promo { color: var(--viewe3cdf-soft); }

.viewe3cdf-dock--promo span { color: var(--viewe3cdf-accent); }

.viewe3cdf-dock--promo svg { color: var(--viewe3cdf-accent); }

/* ---------------------------------------------------------------------
   13. Help-page compositions
   --------------------------------------------------------------------- */
.viewe3cdf-helphead {
  position: relative;
  margin: 14px 0 18px;
  padding: 18px 14px 16px;
  border-left: 3px solid var(--viewe3cdf-accent);
  background: linear-gradient(115deg, rgba(74, 74, 74, 0.9), rgba(51, 51, 51, 0.25));
}

.viewe3cdf-helphead::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--viewe3cdf-accent-line);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px rgba(204, 153, 255, 0.06);
}

.viewe3cdf-eyebrow {
  margin: 0 0 8px;
  color: var(--viewe3cdf-accent);
  font-family: var(--viewe3cdf-font-round);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.viewe3cdf-helphead .viewe3cdf-h1 { margin-bottom: 9px; }
.viewe3cdf-helphead p { margin: 0; color: var(--viewe3cdf-mute); font-size: 13.5px; }

.viewe3cdf-routebar {
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin: 0 0 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.viewe3cdf-routebar::-webkit-scrollbar { display: none; }
.viewe3cdf-route {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--viewe3cdf-line);
  border-radius: var(--viewe3cdf-r-card);
  background: var(--viewe3cdf-surface);
  color: var(--viewe3cdf-mute);
  font-family: var(--viewe3cdf-font-round);
  font-size: 11.5px;
  font-weight: 700;
}
.viewe3cdf-route:hover,
.viewe3cdf-route:focus-visible,
.viewe3cdf-route.is-current { border-color: var(--viewe3cdf-accent); color: var(--viewe3cdf-accent); text-decoration: none; }

.viewe3cdf-incident {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--viewe3cdf-line);
}
.viewe3cdf-incident:first-child { border-top: 0; padding-top: 2px; }
.viewe3cdf-incident-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--viewe3cdf-accent);
  color: #333333;
  font-size: 11px;
  font-weight: 800;
}
.viewe3cdf-incident h3 { margin: 0 0 3px; color: var(--viewe3cdf-paper); font-family: var(--viewe3cdf-font-round); font-size: 14px; }
.viewe3cdf-incident p { margin: 0; color: var(--viewe3cdf-mute); font-size: 13px; }
.viewe3cdf-incident p strong { color: var(--viewe3cdf-paper); }

.viewe3cdf-qa-stack { display: grid; gap: 7px; margin-top: 8px; }
.viewe3cdf-qa {
  border: 1px solid var(--viewe3cdf-line);
  border-radius: var(--viewe3cdf-r-card);
  background: rgba(51, 51, 51, 0.56);
}
.viewe3cdf-qa summary {
  min-height: 46px;
  padding: 12px 34px 12px 12px;
  position: relative;
  cursor: pointer;
  color: var(--viewe3cdf-paper);
  font-family: var(--viewe3cdf-font-round);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}
.viewe3cdf-qa summary::-webkit-details-marker { display: none; }
.viewe3cdf-qa summary::after { content: "+"; position: absolute; right: 12px; color: var(--viewe3cdf-accent); font-size: 18px; line-height: 18px; }
.viewe3cdf-qa[open] summary::after { content: "-"; }
.viewe3cdf-qa p { margin: 0; padding: 0 12px 13px; color: var(--viewe3cdf-mute); font-size: 13px; }

.viewe3cdf-checklist {
  display: grid;
  gap: 6px;
  margin: 8px 0 2px;
  padding: 0;
  list-style: none;
}
.viewe3cdf-checklist li {
  position: relative;
  padding: 10px 10px 10px 34px;
  border-bottom: 1px solid var(--viewe3cdf-line);
  color: var(--viewe3cdf-mute);
  font-size: 13px;
}
.viewe3cdf-checklist li::before { content: ""; position: absolute; left: 8px; top: 12px; width: 11px; height: 11px; border: 1px solid var(--viewe3cdf-accent); border-radius: 2px; }
.viewe3cdf-checklist li strong { color: var(--viewe3cdf-paper); }

.viewe3cdf-featureband {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 10px 0 4px;
}
.viewe3cdf-featureband article {
  min-height: 112px;
  padding: 11px 10px;
  border-top: 2px solid var(--viewe3cdf-accent);
  background: rgba(74, 74, 74, 0.56);
}
.viewe3cdf-featureband b { display: block; margin-bottom: 4px; color: var(--viewe3cdf-paper); font-family: var(--viewe3cdf-font-round); font-size: 13px; }
.viewe3cdf-featureband span { color: var(--viewe3cdf-mute); font-size: 11.5px; line-height: 1.4; }

.viewe3cdf-deviceboard { margin-top: 8px; border-top: 1px solid var(--viewe3cdf-accent-line); }
.viewe3cdf-device-row {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 1fr;
  gap: 7px;
  padding: 10px 0;
  border-bottom: 1px solid var(--viewe3cdf-line);
  font-size: 12px;
}
.viewe3cdf-device-row strong { color: var(--viewe3cdf-paper); font-family: var(--viewe3cdf-font-round); }
.viewe3cdf-device-row span { color: var(--viewe3cdf-mute); }
.viewe3cdf-device-row span:last-child { color: var(--viewe3cdf-accent); }

.viewe3cdf-branch {
  margin: 9px 0;
  padding: 11px 12px;
  border-left: 3px solid var(--viewe3cdf-accent-line);
  background: rgba(51, 51, 51, 0.62);
}
.viewe3cdf-branch b { display: block; margin-bottom: 3px; color: var(--viewe3cdf-paper); font-family: var(--viewe3cdf-font-round); font-size: 13px; }
.viewe3cdf-branch p { margin: 0; color: var(--viewe3cdf-mute); font-size: 12.8px; }

.viewe3cdf-scenario {
  position: relative;
  margin: 9px 0;
  padding: 13px 13px 13px 43px;
  border: 1px solid var(--viewe3cdf-accent-line);
  background: var(--viewe3cdf-accent-soft);
}
.viewe3cdf-scenario::before { content: "?"; position: absolute; left: 13px; top: 13px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--viewe3cdf-accent); color: #333333; font-weight: 800; }
.viewe3cdf-scenario b { display: block; margin-bottom: 3px; color: var(--viewe3cdf-paper); font-family: var(--viewe3cdf-font-round); font-size: 13.5px; }
.viewe3cdf-scenario p { margin: 0; color: var(--viewe3cdf-mute); font-size: 13px; }

/* ---------------------------------------------------------------------
   14. Responsive refinements inside the 320-430px canvas
   --------------------------------------------------------------------- */
@media (min-width: 340px) {
  .viewe3cdf-gname { font-size: 10.5px; }
  .viewe3cdf-h1 { font-size: 27px; }
}

@media (min-width: 375px) {
  .viewe3cdf-main { --viewe3cdf-space: 16px; }
  .viewe3cdf-h1 { font-size: 29px; }
  .viewe3cdf-brandname { font-size: 19px; }
  .viewe3cdf-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
  .viewe3cdf-gtile { min-height: 54px; padding: 4px; }
  .viewe3cdf-module { padding: 18px 16px 16px; }
  .viewe3cdf-promos button { min-height: 62px; }
}

@media (min-width: 430px) {
  .viewe3cdf-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .viewe3cdf-h1 { font-size: 31px; }
  .viewe3cdf-btn { padding: 6px 17px; }
  .viewe3cdf-slide-cap strong { font-size: 16px; }
  .viewe3cdf-drawer-links { gap: 7px; }
  .viewe3cdf-promos { gap: 10px; }
  .viewe3cdf-dir { gap: 5px 14px; }
}

/* ---------------------------------------------------------------------
   14. Motion and print
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .viewe3cdf-slide,
  .viewe3cdf-menubtn-line,
  .viewe3cdf-dot,
  .viewe3cdf-gtile::after,
  .viewe3cdf-drawer,
  .viewe3cdf-dock svg {
    transition-duration: 0.01ms;
  }
}

@media print {
  .viewe3cdf-bottomnav,
  .viewe3cdf-top { display: none; }
  body.viewe3cdf-page { background: #fff; color: #111; }
}
