/* ==========================================================================
   American Blackjack - americanblackjack.click
   Mobile-first token sheet | class prefix: shellf98df-
   Palette: #F8F9FA / #9400D3 / #DA70D6 / #2C3E50 / #CC99FF
   Direction: humanist serif headings + clear sans body,
   stroke-led restrained radii, mixed large/small game cards,
   conclusion-first rhythm, state-color-only motion, staggered CTAs.
   Canvas: stable 320-430px phone layout, centered on wide screens.
   ========================================================================== */

:root {
  --shellf98df-paper: #F8F9FA;
  --shellf98df-violet: #9400D3;
  --shellf98df-orchid: #DA70D6;
  --shellf98df-slate: #2C3E50;
  --shellf98df-lilac: #CC99FF;

  --shellf98df-bg: #2C3E50;
  --shellf98df-bg-deep: #23303f;
  --shellf98df-panel: #33465e;
  --shellf98df-panel-soft: #2e3f54;
  --shellf98df-ink: #F8F9FA;
  --shellf98df-ink-soft: rgba(248, 249, 250, 0.74);
  --shellf98df-ink-faint: rgba(248, 249, 250, 0.56);
  --shellf98df-line: rgba(204, 153, 255, 0.26);
  --shellf98df-line-strong: rgba(204, 153, 255, 0.48);
  --shellf98df-line-faint: rgba(204, 153, 255, 0.14);

  --shellf98df-font-head: "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --shellf98df-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --shellf98df-r-s: 6px;
  --shellf98df-r-m: 8px;
  --shellf98df-dock-h: 62px;
  --shellf98df-canvas: 480px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

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

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: var(--shellf98df-bg-deep);
  color: var(--shellf98df-ink);
  font-family: var(--shellf98df-font-body);
  font-size: 14px;
  line-height: 1.62;
  min-height: 100vh;
}

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

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

a {
  color: var(--shellf98df-lilac);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--shellf98df-orchid);
  text-decoration: underline;
}

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

/* Skip link */
.shellf98df-skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--shellf98df-violet);
  color: var(--shellf98df-paper);
  padding: 10px 16px;
  border-radius: 0 0 var(--shellf98df-r-s) 0;
  font-weight: 700;
}

.shellf98df-skip:focus {
  left: 0;
}

/* Phone canvas: fills small screens, centered column on wide screens */
.shellf98df-page {
  position: relative;
  width: 100%;
  max-width: var(--shellf98df-canvas);
  margin: 0 auto;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(148, 0, 211, 0.16), transparent 70%),
    var(--shellf98df-bg);
  min-height: 100vh;
  overflow-x: clip;
}

@media (min-width: 520px) {
  .shellf98df-page {
    border-left: 1px solid var(--shellf98df-line);
    border-right: 1px solid var(--shellf98df-line);
    box-shadow: 0 0 48px rgba(0, 0, 0, 0.45);
  }
}

/* --------------------------------------------------------------------------
   Fixed top bar: two rows - brand layer above, action layer below
   -------------------------------------------------------------------------- */

.shellf98df-topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(35, 48, 63, 0.97);
  border-bottom: 1px solid var(--shellf98df-line-strong);
  backdrop-filter: saturate(1.2);
}

.shellf98df-brandrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px 7px;
  border-bottom: 1px solid var(--shellf98df-line-faint);
}

.shellf98df-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--shellf98df-ink);
  min-height: 44px;
}

.shellf98df-brand:hover,
.shellf98df-brand:focus-visible {
  color: var(--shellf98df-ink);
  text-decoration: none;
}

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

.shellf98df-brandname {
  font-family: var(--shellf98df-font-head);
  font-size: 19px;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.shellf98df-actionrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 9px;
}

.shellf98df-btn {
  min-height: 44px;
  border-radius: var(--shellf98df-r-s);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.shellf98df-btn-register {
  flex: 1 1 auto;
  background: var(--shellf98df-violet);
  color: var(--shellf98df-paper);
}

.shellf98df-btn-register:hover,
.shellf98df-btn-register:focus-visible {
  background: #7c00b8;
  color: var(--shellf98df-paper);
  text-decoration: none;
}

.shellf98df-btn-login {
  flex: 1 1 auto;
  background: transparent;
  color: var(--shellf98df-ink);
  border-color: var(--shellf98df-line-strong);
}

.shellf98df-btn-login:hover,
.shellf98df-btn-login:focus-visible {
  color: var(--shellf98df-orchid);
  border-color: var(--shellf98df-orchid);
  text-decoration: none;
}

/* Compact square menu toggle closes the action row */
.shellf98df-menubtn {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--shellf98df-line-strong);
  border-radius: var(--shellf98df-r-s);
  color: var(--shellf98df-lilac);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.shellf98df-menubtn:hover,
.shellf98df-menubtn:focus-visible {
  color: var(--shellf98df-orchid);
  border-color: var(--shellf98df-orchid);
}

.shellf98df-menubtn svg {
  width: 20px;
  height: 20px;
}

/* Compact route panel - outlined dropdown of real internal routes */
.shellf98df-routes {
  border-top: 1px solid var(--shellf98df-line);
  background: var(--shellf98df-panel-soft);
  padding: 8px 12px 12px;
}

.shellf98df-routes[hidden] {
  display: none;
}

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

.shellf98df-route {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--shellf98df-line);
  border-radius: var(--shellf98df-r-s);
  color: var(--shellf98df-ink-soft);
  font-size: 12.5px;
  line-height: 1.25;
  background: rgba(44, 62, 80, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.shellf98df-route::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 1px;
  transform: rotate(45deg);
  border: 1px solid var(--shellf98df-lilac);
  background: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.shellf98df-route:hover,
.shellf98df-route:focus-visible {
  color: var(--shellf98df-ink);
  border-color: var(--shellf98df-line-strong);
  text-decoration: none;
}

.shellf98df-route:hover::before,
.shellf98df-route:focus-visible::before {
  background: var(--shellf98df-orchid);
  border-color: var(--shellf98df-orchid);
}

/* --------------------------------------------------------------------------
   Main column
   -------------------------------------------------------------------------- */

.shellf98df-main {
  padding: 18px 14px 120px;
}

.shellf98df-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shellf98df-lilac);
  font-weight: 700;
}

.shellf98df-h1 {
  font-family: var(--shellf98df-font-head);
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: 0.2px;
  margin: 0 0 12px;
  color: var(--shellf98df-paper);
}

.shellf98df-lede {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--shellf98df-ink-soft);
}

.shellf98df-lede strong {
  color: var(--shellf98df-ink);
}

/* Quick-fact chip strip: horizontal, compact */
.shellf98df-chips {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.shellf98df-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 11px;
  border: 1px solid var(--shellf98df-line);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--shellf98df-ink-soft);
  background: rgba(51, 70, 94, 0.55);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Hero carousel
   -------------------------------------------------------------------------- */

.shellf98df-hero {
  margin: 0 0 22px;
}

.shellf98df-hero-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border: 1px solid var(--shellf98df-line-strong);
  border-radius: var(--shellf98df-r-m);
  background: var(--shellf98df-bg-deep);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shellf98df-hero-track::-webkit-scrollbar {
  display: none;
}

.shellf98df-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--shellf98df-bg-deep);
  aspect-ratio: 1000 / 420;
  width: 100%;
  overflow: hidden;
  border-radius: var(--shellf98df-r-m);
}

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

.shellf98df-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 22px 14px 9px;
  background: linear-gradient(180deg, rgba(35, 48, 63, 0) 0%, rgba(35, 48, 63, 0.92) 78%);
  color: var(--shellf98df-ink);
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.2px;
}

.shellf98df-hero-ctl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}

.shellf98df-arrow {
  width: 44px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--shellf98df-line-strong);
  border-radius: var(--shellf98df-r-s);
  color: var(--shellf98df-lilac);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.shellf98df-arrow:hover,
.shellf98df-arrow:focus-visible {
  color: var(--shellf98df-orchid);
  border-color: var(--shellf98df-orchid);
}

.shellf98df-arrow svg {
  width: 16px;
  height: 16px;
}

.shellf98df-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

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

.shellf98df-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--shellf98df-lilac);
  background: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.shellf98df-dot:hover::before,
.shellf98df-dot:focus-visible::before {
  border-color: var(--shellf98df-orchid);
}

.shellf98df-dot-on::before,
.shellf98df-dot-on:hover::before {
  background: var(--shellf98df-violet);
  border-color: var(--shellf98df-lilac);
}

/* --------------------------------------------------------------------------
   Game sections: fixed order, spotlight card + compact grid
   -------------------------------------------------------------------------- */

.shellf98df-sec {
  margin: 0 0 30px;
}

.shellf98df-sec-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 6px;
}

.shellf98df-sec-title {
  font-family: var(--shellf98df-font-head);
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0.2px;
  color: var(--shellf98df-paper);
  margin: 0;
  padding-left: 9px;
  border-left: 3px solid var(--shellf98df-violet);
}

.shellf98df-count {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid var(--shellf98df-line-strong);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--shellf98df-lilac);
  white-space: nowrap;
}

.shellf98df-sec-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--shellf98df-ink-soft);
}

/* Large mixed card: the category spotlight */
.shellf98df-spot {
  margin: 0 0 10px;
}

.shellf98df-spot-btn {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 10px;
  background: linear-gradient(135deg, rgba(148, 0, 211, 0.18), rgba(44, 62, 80, 0.25)), var(--shellf98df-panel-soft);
  border: 1px solid var(--shellf98df-line-strong);
  border-radius: var(--shellf98df-r-m);
  color: var(--shellf98df-ink);
  min-height: 44px;
  transition: border-color 0.15s ease;
}

.shellf98df-spot-btn:hover,
.shellf98df-spot-btn:focus-visible {
  border-color: var(--shellf98df-orchid);
}

.shellf98df-spot-img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: var(--shellf98df-r-s);
  border: 1px solid var(--shellf98df-line);
  background: var(--shellf98df-bg-deep);
}

.shellf98df-spot-txt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.shellf98df-spot-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shellf98df-orchid);
}

.shellf98df-spot-name {
  font-family: var(--shellf98df-font-head);
  font-size: 17px;
  line-height: 1.2;
  color: var(--shellf98df-paper);
}

.shellf98df-spot-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--shellf98df-ink-soft);
  margin: 0;
}

/* Small cards: stable 4-column grid, 5 columns on wider phone canvas */
.shellf98df-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shellf98df-tile-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-height: 44px;
  padding: 6px 4px 7px;
  background: rgba(51, 70, 94, 0.4);
  border: 1px solid var(--shellf98df-line);
  border-radius: var(--shellf98df-r-s);
  transition: border-color 0.15s ease;
}

.shellf98df-tile-btn:hover,
.shellf98df-tile-btn:focus-visible {
  border-color: var(--shellf98df-orchid);
}

.shellf98df-tile-btn img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--shellf98df-bg-deep);
}

.shellf98df-tile-name {
  font-size: 10.5px;
  line-height: 1.22;
  font-weight: 600;
  text-align: center;
  color: var(--shellf98df-ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

.shellf98df-tile-btn:hover .shellf98df-tile-name,
.shellf98df-tile-btn:focus-visible .shellf98df-tile-name {
  color: var(--shellf98df-ink);
}

@media (min-width: 430px) {
  .shellf98df-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
  }

  .shellf98df-spot-btn {
    grid-template-columns: 124px 1fr;
  }

  .shellf98df-spot-img {
    width: 124px;
    height: 124px;
  }
}

/* --------------------------------------------------------------------------
   Content modules after the game area
   -------------------------------------------------------------------------- */

.shellf98df-mod {
  margin: 0 0 30px;
}

.shellf98df-mod-title {
  font-family: var(--shellf98df-font-head);
  font-size: 17px;
  line-height: 1.3;
  margin: 0 0 6px;
  padding-left: 9px;
  border-left: 3px solid var(--shellf98df-orchid);
  color: var(--shellf98df-paper);
}

.shellf98df-mod-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--shellf98df-ink-soft);
}

/* Achievement milestone rows with static meters */
.shellf98df-milestones {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--shellf98df-line);
  border-radius: var(--shellf98df-r-m);
  background: rgba(51, 70, 94, 0.35);
  overflow: hidden;
}

.shellf98df-milestone {
  padding: 11px 12px 12px;
  border-bottom: 1px solid var(--shellf98df-line-faint);
}

.shellf98df-milestone:last-child {
  border-bottom: 0;
}

.shellf98df-ms-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.shellf98df-ms-name {
  font-family: var(--shellf98df-font-head);
  font-size: 14px;
  color: var(--shellf98df-paper);
}

.shellf98df-ms-stage {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shellf98df-lilac);
  white-space: nowrap;
}

.shellf98df-meter {
  height: 6px;
  border-radius: 3px;
  border: 1px solid var(--shellf98df-line);
  background: rgba(204, 153, 255, 0.12);
  margin: 0 0 6px;
  overflow: hidden;
}

.shellf98df-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--shellf98df-violet), var(--shellf98df-orchid));
  border-radius: 2px;
}

.shellf98df-ms-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--shellf98df-ink-soft);
}

/* Numbered mobile-access steps */
.shellf98df-steps {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  counter-reset: shellf98df-step;
  border: 1px solid var(--shellf98df-line);
  border-radius: var(--shellf98df-r-m);
  background: rgba(51, 70, 94, 0.35);
  overflow: hidden;
}

.shellf98df-step {
  counter-increment: shellf98df-step;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-bottom: 1px solid var(--shellf98df-line-faint);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shellf98df-ink-soft);
}

.shellf98df-step:last-child {
  border-bottom: 0;
}

.shellf98df-step::before {
  content: counter(shellf98df-step, decimal-leading-zero);
  font-family: var(--shellf98df-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--shellf98df-orchid);
  border: 1px solid var(--shellf98df-line-strong);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.shellf98df-after {
  margin: 0;
  font-size: 12.5px;
  color: var(--shellf98df-ink-soft);
}

/* Fact sheet: label / value rows */
.shellf98df-facts {
  margin: 0;
  border: 1px solid var(--shellf98df-line);
  border-radius: var(--shellf98df-r-m);
  background: rgba(51, 70, 94, 0.35);
  overflow: hidden;
}

.shellf98df-fact {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--shellf98df-line-faint);
}

.shellf98df-fact:last-child {
  border-bottom: 0;
}

.shellf98df-fact dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--shellf98df-lilac);
  padding-top: 2px;
}

.shellf98df-fact dd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shellf98df-ink-soft);
}

/* Pros and limitations: two contrasted stroke panels */
.shellf98df-pc {
  display: grid;
  gap: 12px;
}

.shellf98df-pc-panel {
  border: 1px solid var(--shellf98df-line);
  border-radius: var(--shellf98df-r-m);
  background: rgba(51, 70, 94, 0.35);
  padding: 12px 12px 8px;
}

.shellf98df-pc-good {
  border-left: 3px solid var(--shellf98df-violet);
}

.shellf98df-pc-warn {
  border-left: 3px solid var(--shellf98df-orchid);
}

.shellf98df-pc-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shellf98df-lilac);
}

.shellf98df-pc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shellf98df-pc-list li {
  position: relative;
  padding: 0 0 9px 20px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shellf98df-ink-soft);
}

.shellf98df-pc-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.shellf98df-pc-good .shellf98df-pc-list li::before {
  content: "+";
  color: var(--shellf98df-lilac);
}

.shellf98df-pc-warn .shellf98df-pc-list li::before {
  content: "\2013";
  color: var(--shellf98df-orchid);
}

/* --------------------------------------------------------------------------
   Extended footer (homepage): sectioned list,
   promotions > brand > directory > conditional disclaimer
   -------------------------------------------------------------------------- */

.shellf98df-ext {
  margin-top: 8px;
  padding: 18px 14px 16px;
  border-top: 1px solid var(--shellf98df-line-strong);
  background: var(--shellf98df-bg-deep);
}

.shellf98df-ext-label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shellf98df-lilac);
}

.shellf98df-ext-block {
  margin: 0 0 22px;
}

.shellf98df-ext-block:last-child {
  margin-bottom: 0;
}

/* Staggered CTA sizes: one large, two medium, one slim */
.shellf98df-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shellf98df-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--shellf98df-r-s);
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  padding: 10px 12px;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.shellf98df-cta:hover,
.shellf98df-cta:focus-visible {
  text-decoration: none;
}

.shellf98df-cta-lg {
  grid-column: 1 / -1;
  min-height: 52px;
  font-size: 15px;
  background: var(--shellf98df-violet);
  color: var(--shellf98df-paper);
}

.shellf98df-cta-lg:hover,
.shellf98df-cta-lg:focus-visible {
  background: #7c00b8;
  color: var(--shellf98df-paper);
}

.shellf98df-cta-md {
  min-height: 46px;
  font-size: 13px;
  background: transparent;
  color: var(--shellf98df-ink);
  border-color: var(--shellf98df-line-strong);
}

.shellf98df-cta-md:hover,
.shellf98df-cta-md:focus-visible {
  color: var(--shellf98df-orchid);
  border-color: var(--shellf98df-orchid);
}

.shellf98df-cta-sm {
  grid-column: 1 / -1;
  min-height: 40px;
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(148, 0, 211, 0.14);
  color: var(--shellf98df-lilac);
  border-color: var(--shellf98df-line);
}

.shellf98df-cta-sm:hover,
.shellf98df-cta-sm:focus-visible {
  color: var(--shellf98df-orchid);
  border-color: var(--shellf98df-orchid);
}

.shellf98df-ext-brand {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--shellf98df-ink-soft);
}

.shellf98df-ext-dir {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}

.shellf98df-ext-dir a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--shellf98df-ink-soft);
  border-bottom: 1px solid var(--shellf98df-line-faint);
}

.shellf98df-ext-dir a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  transform: rotate(45deg);
  border: 1px solid var(--shellf98df-lilac);
}

.shellf98df-ext-dir a:hover,
.shellf98df-ext-dir a:focus-visible {
  color: var(--shellf98df-orchid);
}

.shellf98df-ext-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px dashed var(--shellf98df-line-strong);
  border-radius: var(--shellf98df-r-s);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--shellf98df-ink-faint);
}

/* Common copyright strip */
.shellf98df-copy {
  padding: 14px 16px calc(18px + var(--shellf98df-dock-h) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--shellf98df-line);
  text-align: center;
  font-size: 11.5px;
  color: var(--shellf98df-ink-faint);
  background: var(--shellf98df-bg-deep);
}

/* --------------------------------------------------------------------------
   Fixed bottom dock: outlined function bar, 5 semantic roles,
   compact icons with text labels, active state = contrast inversion,
   short vertical lift on the active icon
   -------------------------------------------------------------------------- */

.shellf98df-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shellf98df-canvas);
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: var(--shellf98df-dock-h);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(35, 48, 63, 0.98);
  border-top: 2px solid var(--shellf98df-violet);
}

.shellf98df-dock-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shellf98df-dock-h);
  padding: 6px 2px 5px;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--shellf98df-line-faint);
  border-radius: 0;
  color: var(--shellf98df-ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.shellf98df-dock-link:first-child {
  border-left: 0;
}

.shellf98df-dock-link:hover,
.shellf98df-dock-link:focus-visible {
  color: var(--shellf98df-ink);
  text-decoration: none;
  background: rgba(204, 153, 255, 0.08);
}

.shellf98df-dock-ico {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--shellf98df-lilac);
  transition: transform 0.15s ease, color 0.15s ease;
}

.shellf98df-dock-ico svg {
  width: 22px;
  height: 22px;
}

/* Active route: inverted contrast block with lifted icon */
.shellf98df-dock-on {
  background: var(--shellf98df-violet);
  color: var(--shellf98df-paper);
}

.shellf98df-dock-on:hover,
.shellf98df-dock-on:focus-visible {
  background: #7c00b8;
  color: var(--shellf98df-paper);
}

.shellf98df-dock-on .shellf98df-dock-ico {
  color: var(--shellf98df-paper);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Small-canvas guards: nothing may overflow between 320px and 430px
   -------------------------------------------------------------------------- */

@media (max-width: 359px) {
  .shellf98df-brandname {
    font-size: 17px;
  }

  .shellf98df-route {
    font-size: 11.5px;
  }

  .shellf98df-fact {
    grid-template-columns: 84px 1fr;
  }
}

@media (min-width: 375px) {
  .shellf98df-h1 {
    font-size: 23px;
  }

  .shellf98df-main {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Reduced motion: strip the dock lift entirely */
@media (prefers-reduced-motion: reduce) {
  .shellf98df-dock-ico,
  .shellf98df-hero-track {
    transition: none;
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Part1 add-on: promo strip + help-guide components.
   The app guide and the download guide use deliberately different
   module shapes; both reuse the token variables above.
   ========================================================================== */

/* In-flow promotion strip: short copy left, action right */
.shellf98df-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  margin: 0 0 22px;
  border: 1px solid var(--shellf98df-line-strong);
  border-left: 3px solid var(--shellf98df-violet);
  border-radius: var(--shellf98df-r-m);
  background:
    linear-gradient(135deg, rgba(148, 0, 211, 0.16), rgba(44, 62, 80, 0.2)),
    var(--shellf98df-panel-soft);
}

.shellf98df-strip-copy {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--shellf98df-ink-soft);
  min-width: 0;
}

.shellf98df-strip-btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--shellf98df-violet);
  color: var(--shellf98df-paper);
  border: 1px solid transparent;
  border-radius: var(--shellf98df-r-s);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.3px;
  transition: background-color 0.15s ease;
}

.shellf98df-strip-btn:hover,
.shellf98df-strip-btn:focus-visible {
  background: #7c00b8;
  color: var(--shellf98df-paper);
}

/* Text-style promotion trigger inside running copy */
.shellf98df-inline {
  display: inline;
  padding: 0;
  min-height: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--shellf98df-lilac);
  color: var(--shellf98df-lilac);
  font: inherit;
  font-weight: 600;
  letter-spacing: inherit;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.shellf98df-inline:hover,
.shellf98df-inline:focus-visible {
  color: var(--shellf98df-orchid);
  border-color: var(--shellf98df-orchid);
}

/* App guide: device scenario rows */
.shellf98df-scenes {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  border: 1px solid var(--shellf98df-line);
  border-radius: var(--shellf98df-r-m);
  background: rgba(51, 70, 94, 0.35);
  overflow: hidden;
}

.shellf98df-scene {
  padding: 11px 12px;
  border-bottom: 1px solid var(--shellf98df-line-faint);
}

.shellf98df-scene:last-child {
  border-bottom: 0;
}

.shellf98df-scene-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 4px;
}

.shellf98df-scene-name {
  font-family: var(--shellf98df-font-head);
  font-size: 14px;
  color: var(--shellf98df-paper);
}

.shellf98df-scene-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--shellf98df-lilac);
  border: 1px solid var(--shellf98df-line);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

.shellf98df-scene-body {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shellf98df-ink-soft);
}

/* App guide: symptom / cause / fix cards */
.shellf98df-fixes {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.shellf98df-fix {
  border: 1px solid var(--shellf98df-line);
  border-radius: var(--shellf98df-r-m);
  background: rgba(51, 70, 94, 0.35);
  padding: 11px 12px;
}

.shellf98df-fix-sym {
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 13px;
  color: var(--shellf98df-paper);
}

.shellf98df-fix-line {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shellf98df-ink-soft);
}

.shellf98df-fix-line + .shellf98df-fix-line {
  margin-top: 3px;
}

.shellf98df-fix-label {
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--shellf98df-orchid);
}

/* App guide: avoid / instead pairs */
.shellf98df-mistakes {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.shellf98df-mist {
  display: grid;
  gap: 6px;
  border: 1px solid var(--shellf98df-line);
  border-radius: var(--shellf98df-r-m);
  padding: 11px 12px;
  background: rgba(51, 70, 94, 0.35);
}

.shellf98df-mist-no,
.shellf98df-mist-yes {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shellf98df-ink-soft);
}

.shellf98df-mist-no::before {
  content: "\00d7";
  font-weight: 700;
  color: var(--shellf98df-orchid);
  flex: 0 0 14px;
}

.shellf98df-mist-yes::before {
  content: "\2713";
  font-weight: 700;
  color: var(--shellf98df-lilac);
  flex: 0 0 14px;
}

/* App guide: carry-forward tick list */
.shellf98df-takes {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  border: 1px solid var(--shellf98df-line);
  border-left: 3px solid var(--shellf98df-violet);
  border-radius: var(--shellf98df-r-m);
  background: rgba(51, 70, 94, 0.35);
  overflow: hidden;
}

.shellf98df-take {
  position: relative;
  padding: 10px 12px 10px 36px;
  border-bottom: 1px solid var(--shellf98df-line-faint);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shellf98df-ink-soft);
}

.shellf98df-take:last-child {
  border-bottom: 0;
}

.shellf98df-take::before {
  content: "\2713";
  position: absolute;
  left: 11px;
  top: 11px;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--shellf98df-lilac);
  border: 1px solid var(--shellf98df-line);
  border-radius: 3px;
}

/* Download guide: condition / action branch cards */
.shellf98df-branches {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.shellf98df-branch {
  border: 1px solid var(--shellf98df-line);
  border-radius: var(--shellf98df-r-m);
  background: rgba(51, 70, 94, 0.35);
  overflow: hidden;
}

.shellf98df-branch-if {
  margin: 0;
  padding: 8px 12px;
  background: rgba(148, 0, 211, 0.14);
  border-bottom: 1px solid var(--shellf98df-line-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--shellf98df-lilac);
}

.shellf98df-branch-then {
  margin: 0;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shellf98df-ink-soft);
}

/* Download guide: compact one-line question / answer pairs */
.shellf98df-qas {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--shellf98df-line);
  border-radius: var(--shellf98df-r-m);
  background: rgba(51, 70, 94, 0.35);
  overflow: hidden;
}

.shellf98df-qa {
  padding: 11px 12px;
  border-bottom: 1px solid var(--shellf98df-line-faint);
}

.shellf98df-qa:last-child {
  border-bottom: 0;
}

.shellf98df-qa-q {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 13px;
  color: var(--shellf98df-paper);
}

.shellf98df-qa-a {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shellf98df-ink-soft);
}

/* Download guide: payment method rows */
.shellf98df-pays {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.shellf98df-pay {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--shellf98df-line);
  border-radius: var(--shellf98df-r-s);
  padding: 10px 12px;
  background: rgba(51, 70, 94, 0.35);
}

.shellf98df-pay-name {
  font-family: var(--shellf98df-font-head);
  font-size: 13.5px;
  color: var(--shellf98df-paper);
  padding-top: 1px;
}

.shellf98df-pay-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--shellf98df-ink-soft);
}

/* Download guide: dashed decision checklist */
.shellf98df-checks {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  border: 1px dashed var(--shellf98df-line-strong);
  border-radius: var(--shellf98df-r-m);
  overflow: hidden;
}

.shellf98df-check {
  position: relative;
  padding: 10px 12px 10px 36px;
  border-bottom: 1px solid var(--shellf98df-line-faint);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shellf98df-ink-soft);
  background: rgba(51, 70, 94, 0.25);
}

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

.shellf98df-check::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 13px;
  width: 13px;
  height: 13px;
  border: 1px solid var(--shellf98df-orchid);
  border-radius: 3px;
  background: transparent;
}

/* Download guide: recap rail with stop dots */
.shellf98df-recap {
  list-style: none;
  margin: 0 0 14px 6px;
  padding: 0 0 0 18px;
  border-left: 2px solid var(--shellf98df-line-strong);
  display: grid;
  gap: 9px;
}

.shellf98df-recap li {
  position: relative;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shellf98df-ink-soft);
}

.shellf98df-recap li::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--shellf98df-lilac);
  background: var(--shellf98df-bg);
}

/* Labeled lead-in list (support preparation) */
.shellf98df-leadins {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.shellf98df-leadins li {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shellf98df-ink-soft);
  padding: 10px 12px;
  border: 1px solid var(--shellf98df-line);
  border-radius: var(--shellf98df-r-s);
  background: rgba(51, 70, 94, 0.35);
}

.shellf98df-leadins strong {
  display: block;
  color: var(--shellf98df-paper);
  font-size: 13px;
  margin-bottom: 2px;
}

@media (max-width: 359px) {
  .shellf98df-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .shellf98df-pay {
    grid-template-columns: 76px 1fr;
  }
}
