/* ============================================================
   747 dota 2 - mobile-first visuals
   Palette base: #212F3D / #DB7093 / #495057
   Direction: rounded headings + compact body, low-radius
   sectioned zones, light floating game tiles, lead-in rhythm,
   light press animations, compact dual CTAs.
   All classes and variables use the c559ed- prefix.
   ============================================================ */

:root {
  --c559ed-ink: #212F3D;
  --c559ed-ink-deep: #1A2531;
  --c559ed-ink-raise: #263748;
  --c559ed-ink-line: #35485C;
  --c559ed-rose: #DB7093;
  --c559ed-rose-soft: #E594AE;
  --c559ed-rose-deep: #B45A7A;
  --c559ed-slate: #495057;
  --c559ed-slate-lift: #7E8A95;
  --c559ed-paper: #E9EEF3;
  --c559ed-paper-dim: #B9C4CE;
  --c559ed-warm: #E7B77E;
  --c559ed-ok: #7FBF9B;
  --c559ed-warn: #D9A05B;
  --c559ed-radius: 6px;
  --c559ed-radius-lg: 10px;
  --c559ed-font-head: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", "Segoe UI", sans-serif;
  --c559ed-font-body: "Segoe UI", Arial, Helvetica, sans-serif;
  --c559ed-shadow-tile: 0 6px 14px rgba(10, 18, 26, 0.55);
  --c559ed-shadow-float: 0 10px 26px rgba(10, 18, 26, 0.6);
  --c559ed-dock-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--c559ed-ink-deep);
  color: var(--c559ed-paper);
  font-family: var(--c559ed-font-body);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.1px;
  overflow-x: hidden;
}

/* Phone canvas: content stays centered at 430px max on wide screens */
.c559ed-page {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 52% at 50% 0%, #2B3E51 0%, var(--c559ed-ink) 46%, #1E2B38 100%);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  padding-bottom: calc(var(--c559ed-dock-h) + 26px + env(safe-area-inset-bottom, 0px));
}

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

a { color: var(--c559ed-rose-soft); text-decoration: none; }
a:hover { color: var(--c559ed-warm); }

:focus-visible {
  outline: 2px solid var(--c559ed-warm);
  outline-offset: 2px;
  border-radius: 3px;
}

.c559ed-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c559ed-rose);
  color: #1A2531;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 0 0 var(--c559ed-radius) 0;
  z-index: 90;
}
.c559ed-skip:focus { left: 0; }

h1, h2, h3, h4 {
  font-family: var(--c559ed-font-head);
  color: #F4F7FA;
  line-height: 1.25;
  margin: 0 0 8px;
  letter-spacing: 0.1px;
}

/* ------------------------------------------------------------
   Top action bar: logo-led, fixed to the phone canvas
   ------------------------------------------------------------ */
.c559ed-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(26, 37, 49, 0.96);
  border-bottom: 1px solid var(--c559ed-ink-line);
  padding: 8px 12px calc(8px) 12px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.c559ed-topbar.c559ed-is-scrolled {
  background: rgba(23, 32, 42, 0.99);
  box-shadow: 0 8px 22px rgba(8, 14, 20, 0.5);
}

.c559ed-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.c559ed-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-right: auto;
}

.c559ed-brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--c559ed-radius);
  border: 1px solid var(--c559ed-ink-line);
  background: #101922;
  object-fit: cover;
}

.c559ed-brand-name {
  font-family: var(--c559ed-font-head);
  font-size: 18px;
  font-weight: 700;
  color: #F4F7FA;
  white-space: nowrap;
}
.c559ed-brand-name b { color: var(--c559ed-rose-soft); font-weight: 700; }

/* Compact dual CTA group */
.c559ed-cta-pair {
  display: flex;
  align-items: center;
  gap: 6px;
}

.c559ed-btn {
  font-family: var(--c559ed-font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: var(--c559ed-radius);
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.c559ed-btn:active { transform: scale(0.96); }

.c559ed-btn-main {
  background: linear-gradient(160deg, var(--c559ed-rose) 0%, var(--c559ed-rose-deep) 100%);
  color: #FFF6F9;
}
.c559ed-btn-main:hover { background: linear-gradient(160deg, #E584A3 0%, #C4658550 100%), var(--c559ed-rose-deep); color: #FFFFFF; }

.c559ed-btn-ghost {
  background: rgba(219, 112, 147, 0.08);
  color: var(--c559ed-rose-soft);
  border-color: rgba(219, 112, 147, 0.55);
}
.c559ed-btn-ghost:hover { background: rgba(219, 112, 147, 0.2); color: #F6D9E3; }

.c559ed-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--c559ed-radius);
  border: 1px solid var(--c559ed-ink-line);
  background: #223140;
  color: var(--c559ed-paper-dim);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.c559ed-menu-btn:active { transform: scale(0.94); }
.c559ed-menu-btn:hover { background: #2B3E51; color: #F4F7FA; }
.c559ed-menu-btn svg { width: 20px; height: 20px; }

/* Compact route panel */
.c559ed-routes {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.32s ease, opacity 0.25s ease;
  border-top: 0 solid transparent;
}
.c559ed-routes.c559ed-open {
  max-height: 560px;
  opacity: 1;
  border-top: 1px solid var(--c559ed-ink-line);
  margin-top: 6px;
}

.c559ed-routes-inner {
  padding: 8px 2px 10px;
  display: grid;
  gap: 10px;
}

.c559ed-route-group { border: 0; padding: 0; margin: 0; }

.c559ed-route-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c559ed-slate-lift);
  margin: 0 0 4px 2px;
}

.c559ed-route-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.c559ed-route-list li { margin: 0; }

.c559ed-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: var(--c559ed-radius);
  background: #223140;
  border: 1px solid #2E4053;
  color: var(--c559ed-paper);
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.c559ed-route:hover {
  background: #2C4054;
  color: #FFFFFF;
  border-color: var(--c559ed-rose);
}
.c559ed-route svg { width: 14px; height: 14px; flex: 0 0 auto; color: var(--c559ed-rose); }
.c559ed-route.c559ed-current {
  border-color: var(--c559ed-rose);
  background: rgba(219, 112, 147, 0.14);
  color: #F6D9E3;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.c559ed-hero {
  padding: 84px 14px 6px;
}

.c559ed-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c559ed-warm);
  background: rgba(231, 183, 126, 0.1);
  border: 1px solid rgba(231, 183, 126, 0.35);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.c559ed-hero h1 {
  font-size: 25px;
  margin-bottom: 8px;
}

.c559ed-lead {
  font-size: 14px;
  color: var(--c559ed-paper-dim);
  margin: 0 0 10px;
}

.c559ed-hero-pair {
  display: flex;
  gap: 8px;
  margin: 12px 0 4px;
}
.c559ed-hero-pair .c559ed-btn { flex: 1 1 auto; min-height: 42px; font-size: 13.5px; }

.c559ed-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.c559ed-chip {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--c559ed-paper-dim);
  background: #223140;
  border: 1px solid #2E4053;
  border-radius: 999px;
  padding: 4px 9px;
}
.c559ed-chip b { color: var(--c559ed-rose-soft); }

/* ------------------------------------------------------------
   Carousel
   ------------------------------------------------------------ */
.c559ed-carousel {
  position: relative;
  margin: 14px 0 4px;
  border-radius: var(--c559ed-radius-lg);
  overflow: hidden;
  border: 1px solid var(--c559ed-ink-line);
  box-shadow: var(--c559ed-shadow-float);
  background: #1C2935;
}

.c559ed-track {
  display: flex;
  transition: transform 0.4s ease;
}

.c559ed-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  background: #1C2935;
  cursor: pointer;
  display: block;
  text-align: left;
  font-family: inherit;
}

.c559ed-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.c559ed-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 12px;
  background: linear-gradient(180deg, rgba(16, 24, 32, 0) 0%, rgba(16, 24, 32, 0.9) 78%);
}

.c559ed-slide-caption strong {
  display: block;
  font-family: var(--c559ed-font-head);
  font-size: 16px;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 3px;
}

.c559ed-slide-caption span {
  display: block;
  font-size: 11.5px;
  color: var(--c559ed-paper-dim);
  line-height: 1.35;
}

.c559ed-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 5px;
  z-index: 3;
}

.c559ed-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}
.c559ed-dot.c559ed-on {
  width: 18px;
  background: var(--c559ed-rose);
  border-color: var(--c559ed-rose);
}

/* ------------------------------------------------------------
   Generic content sections (low-radius zones)
   ------------------------------------------------------------ */
.c559ed-wrap { padding: 0 14px; }

.c559ed-sect {
  margin: 16px 0;
  padding: 14px 12px;
  background: #243444;
  border: 1px solid #31455A;
  border-radius: var(--c559ed-radius);
}

.c559ed-sect > h2 {
  font-size: 19px;
  margin-bottom: 6px;
}

.c559ed-sect-intro {
  font-size: 13px;
  color: var(--c559ed-paper-dim);
  margin: 0 0 12px;
}

.c559ed-sect h3 {
  font-size: 15.5px;
  margin: 14px 0 4px;
  color: var(--c559ed-rose-soft);
}

.c559ed-sect p { margin: 0 0 10px; font-size: 13.5px; color: #D6DEE6; }
.c559ed-sect p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------
   Game shelf: heading + floating tile grid
   ------------------------------------------------------------ */
.c559ed-shelf {
  margin: 20px 0;
}

.c559ed-shelf-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.c559ed-shelf-head h2 { font-size: 18px; margin: 0; }

.c559ed-shelf-count {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--c559ed-warm);
  background: rgba(231, 183, 126, 0.12);
  border: 1px solid rgba(231, 183, 126, 0.3);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

.c559ed-shelf-note {
  font-size: 12.5px;
  color: var(--c559ed-paper-dim);
  margin: 6px 0 12px;
}

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

.c559ed-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px 4px 7px;
  background: #223140;
  border: 1px solid #2E4053;
  border-radius: var(--c559ed-radius);
  cursor: pointer;
  font-family: var(--c559ed-font-body);
  color: var(--c559ed-paper);
  transition: transform 0.12s ease, border-color 0.25s ease, background 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.c559ed-tile:hover {
  border-color: var(--c559ed-rose);
  background: #2A3D50;
}
.c559ed-tile:active { transform: scale(0.95); }

.c559ed-tile-frame {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  background: #1A2632;
  box-shadow: var(--c559ed-shadow-tile);
}
.c559ed-tile-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.c559ed-tile-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.c559ed-tile-name {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: #D6DEE6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
}

/* Related page links under a shelf */
.c559ed-related {
  margin-top: 12px;
  padding: 9px 11px;
  background: rgba(219, 112, 147, 0.06);
  border: 1px dashed rgba(219, 112, 147, 0.4);
  border-radius: var(--c559ed-radius);
  font-size: 12.5px;
  color: var(--c559ed-paper-dim);
}
.c559ed-related a { font-weight: 600; }
.c559ed-related a + a { margin-left: 10px; }

/* ------------------------------------------------------------
   Steps, FAQ, comparisons
   ------------------------------------------------------------ */
.c559ed-steps {
  list-style: none;
  counter-reset: c559ed-step;
  margin: 0;
  padding: 0;
}
.c559ed-steps li {
  counter-increment: c559ed-step;
  position: relative;
  padding: 8px 8px 8px 40px;
  margin: 0 0 6px;
  background: #223140;
  border: 1px solid #2E4053;
  border-radius: var(--c559ed-radius);
  font-size: 13px;
  color: #D6DEE6;
}
.c559ed-steps li::before {
  content: counter(c559ed-step);
  position: absolute;
  left: 10px;
  top: 10px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(219, 112, 147, 0.16);
  border: 1px solid var(--c559ed-rose);
  color: var(--c559ed-rose-soft);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c559ed-steps li:last-child { margin-bottom: 0; }

.c559ed-faq { display: grid; gap: 8px; }

.c559ed-faq details {
  background: #223140;
  border: 1px solid #2E4053;
  border-radius: var(--c559ed-radius);
  overflow: hidden;
}

.c559ed-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 38px 11px 12px;
  font-family: var(--c559ed-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: #EDF2F7;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: background 0.22s ease, color 0.22s ease;
}
.c559ed-faq summary::-webkit-details-marker { display: none; }
.c559ed-faq summary:hover { background: #2A3D50; }
.c559ed-faq summary::after {
  content: "+";
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  font-weight: 700;
  color: var(--c559ed-rose);
  transition: transform 0.25s ease;
}
.c559ed-faq details[open] summary::after { content: "–"; }

.c559ed-faq .c559ed-answer {
  padding: 0 12px 12px;
  font-size: 13px;
  color: #C9D3DD;
  margin: 0;
}

/* Style comparison rows */
.c559ed-style-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
  padding: 10px;
  margin-bottom: 6px;
  background: #223140;
  border: 1px solid #2E4053;
  border-left: 3px solid var(--c559ed-rose);
  border-radius: var(--c559ed-radius);
}
.c559ed-style-row:last-child { margin-bottom: 0; }

.c559ed-style-tag {
  font-family: var(--c559ed-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c559ed-rose-soft);
  line-height: 1.3;
}
.c559ed-style-body { font-size: 12.8px; color: #C9D3DD; }

/* Pros / limitations two-up lists */
.c559ed-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.c559ed-duo-col {
  border: 1px solid #2E4053;
  border-radius: var(--c559ed-radius);
  padding: 10px 11px;
  background: #223140;
}
.c559ed-duo-col h3 {
  margin: 0 0 6px;
  font-size: 13.5px;
}
.c559ed-duo-col.c559ed-plus h3 { color: var(--c559ed-ok); }
.c559ed-duo-col.c559ed-minus h3 { color: var(--c559ed-warn); }
.c559ed-duo-col ul { margin: 0; padding-left: 18px; }
.c559ed-duo-col li { font-size: 12.8px; color: #C9D3DD; margin-bottom: 5px; }
.c559ed-duo-col li:last-child { margin-bottom: 0; }

/* Scenario answer block */
.c559ed-answer-lead {
  background: rgba(127, 191, 155, 0.08);
  border: 1px solid rgba(127, 191, 155, 0.35);
  border-left: 3px solid var(--c559ed-ok);
  border-radius: var(--c559ed-radius);
  padding: 10px 12px;
  font-size: 13.5px;
  color: #DFE7ED;
  margin: 0 0 10px;
}

/* Inline promo text link */
.c559ed-inline-promo {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c559ed-rose-soft);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.22s ease;
}
.c559ed-inline-promo:hover { color: var(--c559ed-warm); }

/* Compact promo button strip */
.c559ed-promo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.c559ed-promo-strip .c559ed-btn { min-height: 46px; font-size: 13px; }
.c559ed-promo-strip .c559ed-btn-main { grid-column: 1 / -1; min-height: 48px; font-size: 14px; }

/* ------------------------------------------------------------
   Extended footer: brand > promotions > directory > disclaimer
   ------------------------------------------------------------ */
.c559ed-xfoot {
  margin-top: 20px;
  border-top: 1px solid var(--c559ed-ink-line);
  background: #1D2A37;
  padding: 16px 14px 10px;
}

.c559ed-xfoot-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.c559ed-xfoot-brand img {
  width: 42px;
  height: 42px;
  border-radius: var(--c559ed-radius);
  border: 1px solid var(--c559ed-ink-line);
  background: #101922;
  object-fit: cover;
  flex: 0 0 auto;
}
.c559ed-xfoot-brand h2 {
  font-size: 16px;
  margin: 0 0 4px;
}
.c559ed-xfoot-brand p {
  margin: 0;
  font-size: 12.5px;
  color: var(--c559ed-paper-dim);
}

.c559ed-xfoot-group { margin-top: 16px; }

.c559ed-xfoot-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--c559ed-slate-lift);
  margin: 0 0 8px;
}

.c559ed-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.c559ed-directory a {
  display: block;
  min-height: 42px;
  padding: 9px 10px;
  background: #223140;
  border: 1px solid #2E4053;
  border-radius: var(--c559ed-radius);
  font-size: 12px;
  font-weight: 600;
  color: #D6DEE6;
  line-height: 1.3;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.c559ed-directory a:hover {
  background: #2C4054;
  color: #FFFFFF;
  border-color: var(--c559ed-rose);
}

.c559ed-disclaimer {
  margin-top: 16px;
  padding: 10px 11px;
  border: 1px solid #31455A;
  border-radius: var(--c559ed-radius);
  background: rgba(73, 80, 87, 0.18);
  font-size: 11.5px;
  line-height: 1.5;
  color: #A7B2BD;
}
.c559ed-disclaimer b { color: #C9D3DD; }

/* Common footer bar */
.c559ed-foot {
  text-align: center;
  padding: 14px 14px 8px;
  font-size: 11.5px;
  color: var(--c559ed-slate-lift);
}
.c559ed-foot b { color: var(--c559ed-paper-dim); }

/* ------------------------------------------------------------
   Mobile dock: compact icon rack, 5 roles
   ------------------------------------------------------------ */
.c559ed-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(20, 29, 39, 0.98);
  border-top: 1px solid var(--c559ed-ink-line);
  padding: 4px 2px calc(4px + env(safe-area-inset-bottom, 0px));
}

.c559ed-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  padding: 4px 2px;
  border: 0;
  background: none;
  border-radius: var(--c559ed-radius);
  color: var(--c559ed-slate-lift);
  font-family: var(--c559ed-font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.c559ed-dock-item:active { transform: translateY(1px); }
.c559ed-dock-item:hover { color: var(--c559ed-paper); }

.c559ed-dock-item svg {
  width: 23px;
  height: 23px;
  transition: color 0.25s ease;
}

.c559ed-dock-item .c559ed-dock-fill { display: none; }

.c559ed-dock-item.c559ed-live {
  color: var(--c559ed-rose-soft);
  background: rgba(219, 112, 147, 0.1);
}
.c559ed-dock-item.c559ed-live .c559ed-dock-line { display: none; }
.c559ed-dock-item.c559ed-live .c559ed-dock-fill { display: block; }

.c559ed-dock-item.c559ed-dock-hot svg { color: var(--c559ed-warm); }

/* ------------------------------------------------------------
   Responsive tuning inside the 320-430px band
   ------------------------------------------------------------ */
@media (min-width: 375px) {
  .c559ed-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
  .c559ed-hero h1 { font-size: 27px; }
  .c559ed-directory { grid-template-columns: 1fr 1fr 1fr; }
  .c559ed-duo { grid-template-columns: 1fr 1fr; }
  .c559ed-tile-name { font-size: 11.5px; }
}

@media (min-width: 431px) {
  /* Wider viewports keep the same phone canvas and navigation model */
  .c559ed-hero h1 { font-size: 29px; }
  .c559ed-sect > h2 { font-size: 20px; }
  .c559ed-shelf-head h2 { font-size: 19px; }
}

@media (max-width: 359px) {
  .c559ed-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .c559ed-promo-strip { grid-template-columns: 1fr; }
  .c559ed-brand-name { font-size: 16px; }
  .c559ed-route-list { grid-template-columns: 1fr; }
}

/* Honour reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .c559ed-track { transition: none; }
}

/* Long-name containment guard */
.c559ed-shelf-head h2,
.c559ed-sect > h2,
.c559ed-slide-caption strong {
  overflow-wrap: anywhere;
}

/* Help-page field cards: compact on phones, breathable on wider canvases */
.c559ed-tip-grid {
  display: grid;
  gap: 8px;
  margin: 10px 0 12px;
}

.c559ed-tip-card {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  padding: 10px;
  background: #223140;
  border: 1px solid #2E4053;
  border-left: 3px solid var(--c559ed-rose);
  border-radius: var(--c559ed-radius);
}

.c559ed-tip-card strong {
  display: block;
  color: #F4F7FA;
  font-family: var(--c559ed-font-head);
  font-size: 13.5px;
  line-height: 1.3;
  margin-bottom: 3px;
}

.c559ed-tip-card p {
  margin: 0;
  color: #C9D3DD;
  font-size: 12.8px;
}

.c559ed-tip-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(219, 112, 147, 0.16);
  border: 1px solid var(--c559ed-rose);
  color: var(--c559ed-rose-soft);
  font-size: 11px;
  font-weight: 800;
}

.c559ed-device-list {
  display: grid;
  gap: 7px;
  margin: 10px 0 12px;
}

.c559ed-device-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 9px;
  padding: 9px 10px;
  background: rgba(73, 80, 87, 0.2);
  border-bottom: 1px solid #35485C;
}

.c559ed-device-row b {
  color: var(--c559ed-warm);
  font-size: 12px;
}

.c559ed-device-row span {
  color: #C9D3DD;
  font-size: 12.8px;
}

.c559ed-fact-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 11px 0 13px;
}

.c559ed-fact-ribbon div {
  min-height: 62px;
  padding: 8px 6px;
  background: #223140;
  border: 1px solid #2E4053;
  border-radius: var(--c559ed-radius);
  text-align: center;
}

.c559ed-fact-ribbon b {
  display: block;
  color: var(--c559ed-rose-soft);
  font-family: var(--c559ed-font-head);
  font-size: 15px;
}

.c559ed-fact-ribbon span {
  display: block;
  color: var(--c559ed-paper-dim);
  font-size: 10.5px;
  line-height: 1.25;
}

.c559ed-definition {
  margin: 0 0 8px;
  padding: 9px 11px;
  border-left: 3px solid var(--c559ed-warm);
  background: rgba(231, 183, 126, 0.08);
  color: #D6DEE6;
  font-size: 13px;
}

.c559ed-definition b { color: var(--c559ed-warm); }

@media (min-width: 375px) {
  .c559ed-tip-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 359px) {
  .c559ed-device-row { grid-template-columns: 76px 1fr; gap: 6px; }
  .c559ed-fact-ribbon { gap: 4px; }
}
