/* ============================================================
   dota bet - dotabet.click
   Mobile-first stylesheet for the phone-canvas portal surface.
   All classes and custom properties use the cd2898- prefix.
   Palette: #0E1621 / #FFC0CB / #DB7093 / #E65100 / #CD5C5C
   Direction: rounded headings + compact body, low-radius
   sectioned blocks, compact square-icon game catalog,
   conclusion-first rhythm, color-only state transitions,
   solid primary CTA with outlined secondary CTA.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --cd2898-ink: #0e1621;
  --cd2898-ink-2: #131e2c;
  --cd2898-ink-3: #182536;
  --cd2898-petal: #ffc0cb;
  --cd2898-petal-dim: #e7b4bf;
  --cd2898-text: #f4d7de;
  --cd2898-text-2: #d7a9b6;
  --cd2898-rose: #db7093;
  --cd2898-ember: #e65100;
  --cd2898-clay: #cd5c5c;
  --cd2898-line: rgba(255, 192, 203, 0.16);
  --cd2898-line-2: rgba(255, 192, 203, 0.26);
  --cd2898-font-head: 'Baloo 2', 'Trebuchet MS', sans-serif;
  --cd2898-font-body: 'Barlow Semi Condensed', 'Segoe UI', Arial, sans-serif;
  --cd2898-radius: 8px;
  --cd2898-radius-sm: 6px;
  --cd2898-touch: 44px;
  --cd2898-dock-h: 64px;
}

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

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

body {
  margin: 0;
  background: #080d14;
  color: var(--cd2898-text);
  font-family: var(--cd2898-font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  color: var(--cd2898-petal);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

h1, h2, h3 {
  font-family: var(--cd2898-font-head);
  color: var(--cd2898-petal);
  line-height: 1.22;
  margin: 0 0 8px;
  letter-spacing: 0.2px;
}

h1 { font-size: 25px; font-weight: 700; }
h2 { font-size: 20px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 600; color: var(--cd2898-text); }

p { margin: 0 0 10px; }

ul, ol { margin: 0 0 10px; padding-left: 20px; }
li { margin: 0 0 6px; }

:focus-visible {
  outline: 2px solid var(--cd2898-petal);
  outline-offset: 2px;
}

/* ---------- phone canvas shell ---------- */
.cd2898-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--cd2898-ink);
  box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}

/* skip link for keyboard users */
.cd2898-skip {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 90;
  background: var(--cd2898-petal);
  color: var(--cd2898-ink);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--cd2898-radius-sm);
  transition: top 0.15s linear, background-color 0.2s ease;
}

.cd2898-skip:focus {
  top: 8px;
}

/* ============================================================
   HEADER - two-deck layout: brand deck + action deck
   ============================================================ */
.cd2898-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(14, 22, 33, 0.96);
  border-bottom: 1px solid var(--cd2898-line-2);
  backdrop-filter: blur(6px);
}

.cd2898-branddeck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  padding: 8px 12px 6px;
}

.cd2898-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: var(--cd2898-touch);
  color: var(--cd2898-petal);
}

.cd2898-brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--cd2898-line-2);
  object-fit: cover;
  flex: 0 0 auto;
}

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

.cd2898-brandname span {
  color: var(--cd2898-rose);
}

.cd2898-menubtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: var(--cd2898-touch);
  min-width: var(--cd2898-touch);
  padding: 8px 12px;
  background: transparent;
  color: var(--cd2898-petal);
  border: 1px solid var(--cd2898-line-2);
  border-radius: var(--cd2898-radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cd2898-menubtn:hover,
.cd2898-menubtn:focus-visible {
  color: #ffffff;
  border-color: var(--cd2898-petal);
  background: rgba(255, 192, 203, 0.08);
}

.cd2898-menubtnsvg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.cd2898-actiondeck {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 10px;
}

.cd2898-register {
  min-height: var(--cd2898-touch);
  border: 1px solid var(--cd2898-ember);
  background: var(--cd2898-ember);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--cd2898-radius-sm);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cd2898-register:hover,
.cd2898-register:focus-visible {
  background: #ff6a1a;
  border-color: #ff6a1a;
  color: #ffffff;
}

.cd2898-login {
  min-height: var(--cd2898-touch);
  border: 1px solid var(--cd2898-rose);
  background: transparent;
  color: var(--cd2898-petal);
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--cd2898-radius-sm);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cd2898-login:hover,
.cd2898-login:focus-visible {
  color: #ffffff;
  border-color: var(--cd2898-petal);
  background: rgba(219, 112, 147, 0.16);
}

/* ============================================================
   STACKED OVERLAY MENU
   ============================================================ */
.cd2898-menu {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 100%;
  max-height: 100vh;
  z-index: 60;
  background: rgba(10, 16, 25, 0.98);
  border-left: 1px solid var(--cd2898-line);
  border-right: 1px solid var(--cd2898-line);
  display: flex;
  flex-direction: column;
  padding: 14px 16px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.cd2898-menu.cd2898-menu-open {
  opacity: 1;
  visibility: visible;
}

.cd2898-menutop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  margin-bottom: 6px;
}

.cd2898-menutitle {
  font-family: var(--cd2898-font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--cd2898-petal);
  margin: 0;
}

.cd2898-menuclose {
  min-width: var(--cd2898-touch);
  min-height: var(--cd2898-touch);
  border: 1px solid var(--cd2898-line-2);
  background: transparent;
  color: var(--cd2898-petal);
  border-radius: var(--cd2898-radius-sm);
  font-size: 20px;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cd2898-menuclose:hover,
.cd2898-menuclose:focus-visible {
  color: #ffffff;
  border-color: var(--cd2898-petal);
}

.cd2898-menulist {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 0 auto;
}

.cd2898-menulist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 12px 12px;
  border-bottom: 1px solid var(--cd2898-line);
  color: var(--cd2898-text);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.cd2898-menulist a:hover,
.cd2898-menulist a:focus-visible {
  color: #ffffff;
  background: rgba(219, 112, 147, 0.12);
  text-decoration: none;
}

.cd2898-menulist a span {
  color: var(--cd2898-rose);
  font-size: 13px;
}

.cd2898-menufoot {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ============================================================
   MAIN CANVAS
   ============================================================ */
.cd2898-main {
  padding: 14px 12px 0;
  /* keep clear of the fixed bottom dock */
  padding-bottom: calc(var(--cd2898-dock-h) + env(safe-area-inset-bottom) + 28px);
}

.cd2898-sec {
  margin: 0 0 18px;
  background: var(--cd2898-ink-2);
  border: 1px solid var(--cd2898-line);
  border-radius: var(--cd2898-radius);
  padding: 14px 12px;
}

.cd2898-sec + .cd2898-sec {
  margin-top: 18px;
}

.cd2898-secnote {
  color: var(--cd2898-text-2);
  font-size: 14px;
  margin: 0 0 12px;
}

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

/* ---------- hero carousel ---------- */
.cd2898-hero {
  position: relative;
  border: 1px solid var(--cd2898-line-2);
  border-radius: var(--cd2898-radius);
  overflow: hidden;
  background: var(--cd2898-ink-3);
  margin: 0 0 16px;
}

.cd2898-slide {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--cd2898-ink-3);
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cd2898-slide.cd2898-slide-on {
  opacity: 1;
}

.cd2898-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.cd2898-herospace {
  aspect-ratio: 2 / 1;
}

.cd2898-heronav {
  position: absolute;
  top: 50%;
  margin-top: -22px;
  width: var(--cd2898-touch);
  height: var(--cd2898-touch);
  border-radius: 50%;
  border: 1px solid var(--cd2898-line-2);
  background: rgba(14, 22, 33, 0.72);
  color: var(--cd2898-petal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cd2898-heronav:hover,
.cd2898-heronav:focus-visible {
  color: #ffffff;
  border-color: var(--cd2898-petal);
  background: rgba(14, 22, 33, 0.92);
}

.cd2898-heroprev { left: 8px; }
.cd2898-heronext { right: 8px; }

.cd2898-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.cd2898-dot {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd2898-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 192, 203, 0.45);
  transition: background-color 0.2s ease;
}

.cd2898-dot.cd2898-dot-on::before {
  background: var(--cd2898-petal);
}

/* ---------- intro band ---------- */
.cd2898-intro {
  margin: 0 0 16px;
  padding: 14px 12px;
  background: linear-gradient(160deg, var(--cd2898-ink-3), var(--cd2898-ink-2));
  border: 1px solid var(--cd2898-line-2);
  border-radius: var(--cd2898-radius);
}

.cd2898-ctarow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.cd2898-ctamain {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--cd2898-touch);
  background: var(--cd2898-ember);
  border: 1px solid var(--cd2898-ember);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--cd2898-radius-sm);
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cd2898-ctamain:hover,
.cd2898-ctamain:focus-visible {
  background: #ff6a1a;
  border-color: #ff6a1a;
  color: #ffffff;
  text-decoration: none;
}

.cd2898-ctasub {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--cd2898-touch);
  background: transparent;
  border: 1px solid var(--cd2898-rose);
  color: var(--cd2898-petal);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--cd2898-radius-sm);
  text-align: center;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cd2898-ctasub:hover,
.cd2898-ctasub:focus-visible {
  color: #ffffff;
  border-color: var(--cd2898-petal);
  background: rgba(219, 112, 147, 0.14);
  text-decoration: none;
}

/* ---------- category jump chips ---------- */
.cd2898-catjump {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  margin: 0 0 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cd2898-catjump::-webkit-scrollbar {
  display: none;
}

.cd2898-catjump a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--cd2898-line-2);
  border-radius: 999px;
  background: var(--cd2898-ink-2);
  color: var(--cd2898-text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cd2898-catjump a:hover,
.cd2898-catjump a:focus-visible {
  color: #ffffff;
  border-color: var(--cd2898-petal);
  text-decoration: none;
}

.cd2898-catjump b {
  color: var(--cd2898-rose);
  font-weight: 700;
}

/* ---------- category sections ---------- */
.cd2898-cat {
  margin: 0 0 18px;
  scroll-margin-top: 118px;
}

.cd2898-cathead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 12px 8px;
  border: 1px solid var(--cd2898-line-2);
  border-bottom: 0;
  border-radius: var(--cd2898-radius) var(--cd2898-radius) 0 0;
  background: var(--cd2898-ink-3);
}

.cd2898-cathead h2 {
  margin: 0;
  font-size: 18px;
}

.cd2898-catcount {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--cd2898-ink);
  background: var(--cd2898-petal);
  border-radius: 999px;
  padding: 3px 10px;
}

.cd2898-catbody {
  padding: 10px 12px 12px;
  border: 1px solid var(--cd2898-line);
  border-top: 1px solid var(--cd2898-line);
  border-radius: 0 0 var(--cd2898-radius) var(--cd2898-radius);
  background: var(--cd2898-ink-2);
}

.cd2898-catmore {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--cd2898-line-2);
  font-size: 13px;
  color: var(--cd2898-text-2);
}

.cd2898-catmore a {
  color: var(--cd2898-petal);
  font-weight: 600;
}

/* ---------- compact square game grid ---------- */
.cd2898-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 7px;
}

.cd2898-tile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
  transition: background-color 0.2s ease;
}

.cd2898-tile:hover,
.cd2898-tile:focus-visible {
  background: rgba(219, 112, 147, 0.1);
}

.cd2898-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--cd2898-radius-sm);
  border: 1px solid var(--cd2898-line-2);
  background: var(--cd2898-ink-3);
  transition: border-color 0.2s ease;
}

.cd2898-tile:hover img,
.cd2898-tile:focus-visible img {
  border-color: var(--cd2898-rose);
}

.cd2898-tilename {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--cd2898-text);
  overflow-wrap: break-word;
  word-break: break-word;
}

/* five columns once the canvas widens past 375px */
@media (min-width: 375px) {
  .cd2898-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ---------- payment partner strip ---------- */
.cd2898-partnerrow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  margin-bottom: 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cd2898-partnerrow::-webkit-scrollbar {
  display: none;
}

.cd2898-partner {
  flex: 0 0 auto;
  width: 92px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cd2898-line);
  border-radius: var(--cd2898-radius-sm);
  background: #fdf4f6;
  padding: 4px;
}

.cd2898-partner img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cd2898-caption {
  font-size: 12px;
  color: var(--cd2898-text-2);
  margin: 0 0 10px;
}

/* ---------- checklist / condition rows ---------- */
.cd2898-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cd2898-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--cd2898-line);
  font-size: 14px;
  color: var(--cd2898-text-2);
}

.cd2898-checklist li:last-child {
  border-bottom: 0;
}

.cd2898-checklist b {
  color: var(--cd2898-petal);
  font-weight: 600;
}

.cd2898-checkmark {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid var(--cd2898-rose);
  color: var(--cd2898-rose);
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
}

/* ---------- comparison ledger ---------- */
.cd2898-ledger {
  border: 1px solid var(--cd2898-line);
  border-radius: var(--cd2898-radius-sm);
  overflow: hidden;
}

.cd2898-ledgerrow {
  display: grid;
  grid-template-columns: 96px 1fr;
  border-bottom: 1px solid var(--cd2898-line);
}

.cd2898-ledgerrow:last-child {
  border-bottom: 0;
}

.cd2898-ledgerkey {
  padding: 10px;
  background: var(--cd2898-ink-3);
  font-family: var(--cd2898-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cd2898-petal);
  border-right: 1px solid var(--cd2898-line);
}

.cd2898-ledgerval {
  padding: 10px;
  font-size: 13.5px;
  color: var(--cd2898-text-2);
}

/* ---------- FAQ ---------- */
.cd2898-faq {
  border: 1px solid var(--cd2898-line);
  border-radius: var(--cd2898-radius-sm);
  overflow: hidden;
}

.cd2898-faq details {
  border-bottom: 1px solid var(--cd2898-line);
  background: var(--cd2898-ink-2);
}

.cd2898-faq details:last-child {
  border-bottom: 0;
}

.cd2898-faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--cd2898-touch);
  padding: 12px 12px 12px 14px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cd2898-petal);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.cd2898-faq summary::-webkit-details-marker {
  display: none;
}

.cd2898-faq summary:hover {
  color: #ffffff;
  background: rgba(219, 112, 147, 0.08);
}

.cd2898-faq details[open] summary {
  color: #ffffff;
  background: rgba(219, 112, 147, 0.14);
}

.cd2898-faqmark {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--cd2898-rose);
  color: var(--cd2898-rose);
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  font-weight: 700;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cd2898-faq details[open] .cd2898-faqmark {
  background: var(--cd2898-rose);
  border-color: var(--cd2898-rose);
  color: #ffffff;
}

.cd2898-faqans {
  padding: 0 14px 14px;
  font-size: 14px;
  color: var(--cd2898-text-2);
}

/* ---------- inline emphasis ---------- */
.cd2898-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--cd2898-ink);
  background: var(--cd2898-rose);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 10px;
}

.cd2898-note {
  border-left: 3px solid var(--cd2898-ember);
  background: rgba(230, 81, 0, 0.1);
  border-radius: 0 var(--cd2898-radius-sm) var(--cd2898-radius-sm) 0;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--cd2898-text-2);
}

/* ============================================================
   EXTENDED FOOTER (home-only)
   ============================================================ */
.cd2898-ext {
  margin: 20px 12px 0;
  border: 1px solid var(--cd2898-line);
  border-radius: var(--cd2898-radius);
  background: var(--cd2898-ink-2);
  padding: 14px 12px 12px;
}

/* keep clear of the fixed dock too */
.cd2898-ext,
.cd2898-universal {
  margin-bottom: calc(var(--cd2898-dock-h) + env(safe-area-inset-bottom));
}

.cd2898-shortcuts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.cd2898-short {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--cd2898-rose);
  background: transparent;
  color: var(--cd2898-petal);
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cd2898-short.cd2898-short-lead {
  background: var(--cd2898-ember);
  border-color: var(--cd2898-ember);
  color: #ffffff;
}

.cd2898-short:hover,
.cd2898-short:focus-visible {
  color: #ffffff;
  border-color: var(--cd2898-petal);
  background: rgba(219, 112, 147, 0.2);
}

.cd2898-short.cd2898-short-lead:hover,
.cd2898-short.cd2898-short-lead:focus-visible {
  background: #ff6a1a;
  border-color: #ff6a1a;
}

.cd2898-shortsvg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex: 0 0 auto;
}

.cd2898-extbrand {
  border-top: 1px solid var(--cd2898-line);
  padding-top: 12px;
  margin-bottom: 12px;
}

.cd2898-extbrand h2 {
  font-size: 17px;
}

.cd2898-extbrand p {
  font-size: 13.5px;
  color: var(--cd2898-text-2);
  margin: 0;
}

.cd2898-extdir {
  border-top: 1px solid var(--cd2898-line);
  padding-top: 12px;
}

.cd2898-extdir h3 {
  font-family: var(--cd2898-font-head);
  color: var(--cd2898-petal);
  font-size: 14px;
  margin: 0 0 8px;
}

.cd2898-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cd2898-dirgrid a {
  display: block;
  padding: 8px 4px;
  font-size: 12.5px;
  color: var(--cd2898-text-2);
  border-bottom: 1px dotted var(--cd2898-line-2);
  transition: color 0.2s ease;
}

.cd2898-dirgrid a:hover,
.cd2898-dirgrid a:focus-visible {
  color: #ffffff;
}

.cd2898-disclaim {
  margin-top: 12px;
  border: 1px dashed var(--cd2898-clay);
  border-radius: var(--cd2898-radius-sm);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--cd2898-text-2);
}

.cd2898-disclaim b {
  color: var(--cd2898-clay);
}

/* ============================================================
   UNIVERSAL FOOTER + FIXED BOTTOM DOCK (outlined bar)
   ============================================================ */
.cd2898-universal {
  text-align: center;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--cd2898-line);
  color: var(--cd2898-text-2);
  font-size: 12.5px;
}

.cd2898-copy {
  margin: 0;
}

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

.cd2898-dockbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 4px 2px;
  border: 1px solid transparent;
  border-radius: var(--cd2898-radius-sm);
  background: transparent;
  color: var(--cd2898-text-2);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.cd2898-dockbtn svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cd2898-dockbtn:hover,
.cd2898-dockbtn:focus-visible {
  color: #ffffff;
  border-color: var(--cd2898-line-2);
}

.cd2898-dockbtn span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* active state: contrast inversion */
.cd2898-dockbtn.cd2898-dockon {
  background: var(--cd2898-petal);
  border-color: var(--cd2898-petal);
  color: var(--cd2898-ink);
}

.cd2898-dockbtn.cd2898-dockpromoa {
  color: var(--cd2898-petal);
}

.cd2898-dockbtn.cd2898-dockpromob {
  color: #ffb37a;
}

.cd2898-dockbtn.cd2898-dockpromoa:hover,
.cd2898-dockbtn.cd2898-dockpromob:hover {
  color: #ffffff;
}

/* ============================================================
   UTILITIES / MOTION PREFERENCES
   ============================================================ */
.cd2898-visuallyhidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* wider backdrop note: canvas stays 430px max on any screen */
@media (min-width: 431px) {
  body {
    background:
      radial-gradient(circle at 20% 0%, rgba(219, 112, 147, 0.08), transparent 55%),
      #080d14;
  }
}
