/* ==========================================================================
   phwin77.click - mobile visuals stylesheet
   Class prefix : shellbd3aa-
   Canvas target: 320-430px phone frame, centered on wide screens
   Palette      : #34495E base / #778899 slate / #FF4500 flame / #FF6347 tomato
                  / #F5F5F5 ink
   ========================================================================== */

:root {
  --shellbd3aa-bg-deep: #22303d;
  --shellbd3aa-bg: #34495e;
  --shellbd3aa-panel: #3d5468;
  --shellbd3aa-panel-2: #46607a;
  --shellbd3aa-panel-3: #507090;
  --shellbd3aa-line: #778899;
  --shellbd3aa-ink: #f5f5f5;
  --shellbd3aa-ink-soft: #d7dfe6;
  --shellbd3aa-muted: #a9b7c3;
  --shellbd3aa-flame: #ff4500;
  --shellbd3aa-tomato: #ff6347;
  --shellbd3aa-flame-soft: #ff8a70;
  --shellbd3aa-font-head: 'Poppins', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --shellbd3aa-font-body: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --shellbd3aa-r-card: 12px;
  --shellbd3aa-r-btn: 8px;
  --shellbd3aa-r-tile: 10px;
  --shellbd3aa-header-h: 58px;
  --shellbd3aa-rail-h: 64px;
  --shellbd3aa-gutter: 12px;
  --shellbd3aa-shadow: 0 6px 16px rgba(15, 24, 33, 0.38);
  --shellbd3aa-shadow-soft: 0 3px 10px rgba(15, 24, 33, 0.28);
}

* { box-sizing: border-box; }

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

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

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

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

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

a { color: var(--shellbd3aa-flame-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--shellbd3aa-tomato);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Phone canvas: everything lives inside a 430px column
   -------------------------------------------------------------------------- */

.shellbd3aa-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--shellbd3aa-bg);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
}

@media (min-width: 432px) {
  .shellbd3aa-canvas {
    box-shadow: 0 0 0 1px rgba(119, 136, 153, 0.35), 0 0 44px rgba(10, 18, 26, 0.6);
  }
}

/* Visually hidden but screen-reader available */
.shellbd3aa-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.shellbd3aa-skip {
  position: absolute;
  left: var(--shellbd3aa-gutter);
  top: -48px;
  z-index: 90;
  background: var(--shellbd3aa-flame);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--shellbd3aa-r-btn);
  transition: top 0.2s ease;
}

.shellbd3aa-skip:focus { top: 6px; text-decoration: none; }

/* --------------------------------------------------------------------------
   Top bar - asymmetric brand header with action cluster
   -------------------------------------------------------------------------- */

.shellbd3aa-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--shellbd3aa-header-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 12px;
  background: linear-gradient(180deg, #3b5268 0%, #34495e 100%);
  border-bottom: 1px solid rgba(119, 136, 153, 0.45);
  box-shadow: 0 3px 12px rgba(15, 24, 33, 0.35);
}

/* asymmetric two-tone accent edge under the brand zone */
.shellbd3aa-topbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 58%;
  height: 3px;
  background: linear-gradient(90deg, var(--shellbd3aa-flame) 0%, var(--shellbd3aa-tomato) 78%, transparent 100%);
  border-radius: 0 3px 3px 0;
}

.shellbd3aa-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding-right: 6px;
}

.shellbd3aa-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(245, 245, 245, 0.35);
  background: #f5f5f5;
  flex: 0 0 auto;
}

.shellbd3aa-brand-name {
  font-family: var(--shellbd3aa-font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.4px;
  white-space: nowrap;
  color: var(--shellbd3aa-ink);
}

.shellbd3aa-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* compact icon-text CTA buttons */
.shellbd3aa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 7px 11px;
  border-radius: var(--shellbd3aa-r-btn);
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1;
  letter-spacing: 0.2px;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.shellbd3aa-btn svg { width: 14px; height: 14px; flex: 0 0 auto; }

.shellbd3aa-btn:active { transform: scale(0.95); }

.shellbd3aa-btn-fill {
  background: linear-gradient(135deg, var(--shellbd3aa-flame), var(--shellbd3aa-tomato));
  color: #fff;
  box-shadow: 0 3px 10px rgba(255, 69, 0, 0.35);
}

.shellbd3aa-btn-fill:hover { filter: brightness(1.08); text-decoration: none; }

.shellbd3aa-btn-ghost {
  background: rgba(119, 136, 153, 0.16);
  color: var(--shellbd3aa-ink);
  border: 1px solid rgba(119, 136, 153, 0.55);
}

.shellbd3aa-btn-ghost:hover { background: rgba(119, 136, 153, 0.3); }

/* menu trigger: containerized symbol tile with morphing bars */
.shellbd3aa-menu-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--shellbd3aa-r-tile);
  background: rgba(119, 136, 153, 0.16);
  border: 1px solid rgba(119, 136, 153, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.shellbd3aa-menu-btn:hover { background: rgba(119, 136, 153, 0.3); }

.shellbd3aa-menu-btn .shellbd3aa-bars {
  position: relative;
  width: 17px;
  height: 12px;
}

.shellbd3aa-menu-btn .shellbd3aa-bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--shellbd3aa-ink);
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.shellbd3aa-menu-btn .shellbd3aa-bars i:nth-child(1) { top: 0; }
.shellbd3aa-menu-btn .shellbd3aa-bars i:nth-child(2) { top: 5px; width: 70%; }
.shellbd3aa-menu-btn .shellbd3aa-bars i:nth-child(3) { top: 10px; }

.shellbd3aa-menu-on .shellbd3aa-menu-btn .shellbd3aa-bars i:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.shellbd3aa-menu-on .shellbd3aa-menu-btn .shellbd3aa-bars i:nth-child(2) { opacity: 0; }

.shellbd3aa-menu-on .shellbd3aa-menu-btn .shellbd3aa-bars i:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Sectioned menu sheet
   -------------------------------------------------------------------------- */

.shellbd3aa-menu {
  position: fixed;
  top: var(--shellbd3aa-header-h);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 100%;
  max-width: 430px;
  bottom: 0;
  z-index: 55;
  background: #2e4053;
  border-top: 1px solid rgba(119, 136, 153, 0.4);
  padding: 14px var(--shellbd3aa-gutter) 88px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.shellbd3aa-menu.shellbd3aa-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.shellbd3aa-menu-group { margin-bottom: 16px; }

.shellbd3aa-menu-kicker {
  font-family: var(--shellbd3aa-font-head);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--shellbd3aa-flame-soft);
  margin: 0 0 6px 2px;
}

.shellbd3aa-menu-links {
  display: grid;
  gap: 4px;
}

.shellbd3aa-menu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--shellbd3aa-r-btn);
  background: rgba(61, 84, 104, 0.65);
  border: 1px solid rgba(119, 136, 153, 0.3);
  color: var(--shellbd3aa-ink);
  font-size: 14px;
  font-weight: 500;
}

.shellbd3aa-menu-links a:hover {
  background: rgba(70, 96, 122, 0.9);
  text-decoration: none;
}

.shellbd3aa-menu-links a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--shellbd3aa-flame-soft);
  border-right: 2px solid var(--shellbd3aa-flame-soft);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.shellbd3aa-menu-cta {
  margin-top: 6px;
  width: 100%;
  min-height: 46px;
  font-size: 14px;
}

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

.shellbd3aa-main {
  padding: calc(var(--shellbd3aa-header-h) + 12px) var(--shellbd3aa-gutter)
           calc(var(--shellbd3aa-rail-h) + 30px);
}

.shellbd3aa-block { margin: 0 0 26px; }

.shellbd3aa-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--shellbd3aa-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shellbd3aa-flame-soft);
  margin: 0 0 6px;
}

.shellbd3aa-kicker::before {
  content: "";
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--shellbd3aa-flame), var(--shellbd3aa-tomato));
}

h1.shellbd3aa-h1 {
  font-family: var(--shellbd3aa-font-head);
  font-size: 21px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin: 0 0 8px;
  color: var(--shellbd3aa-ink);
}

h2.shellbd3aa-h2 {
  font-family: var(--shellbd3aa-font-head);
  font-size: 17.5px;
  line-height: 1.32;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--shellbd3aa-ink);
}

h3.shellbd3aa-h3 {
  font-family: var(--shellbd3aa-font-head);
  font-size: 14.5px;
  line-height: 1.35;
  font-weight: 600;
  margin: 14px 0 6px;
  color: var(--shellbd3aa-ink-soft);
}

.shellbd3aa-lead {
  margin: 0 0 14px;
  color: var(--shellbd3aa-ink-soft);
  font-size: 14.5px;
}

.shellbd3aa-p {
  margin: 0 0 12px;
  color: var(--shellbd3aa-muted);
  font-size: 14px;
}

.shellbd3aa-p strong,
.shellbd3aa-lead strong { color: var(--shellbd3aa-ink); font-weight: 600; }

.shellbd3aa-p a,
.shellbd3aa-lead a { font-weight: 600; }

/* --------------------------------------------------------------------------
   Banner carousel
   -------------------------------------------------------------------------- */

.shellbd3aa-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(119, 136, 153, 0.4);
  box-shadow: var(--shellbd3aa-shadow);
  margin: 4px 0 16px;
  background: #2e4053;
}

.shellbd3aa-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.33, 0.9, 0.35, 1);
  will-change: transform;
}

.shellbd3aa-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  display: block;
  padding: 0;
}

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

.shellbd3aa-slide:active img { transform: scale(1.02); }

.shellbd3aa-slide img { transition: transform 0.3s ease; }

.shellbd3aa-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 2;
}

.shellbd3aa-dot {
  width: 22px;
  height: 5px;
  border-radius: 3px;
  background: rgba(245, 245, 245, 0.42);
  transition: background 0.25s ease, width 0.25s ease;
}

.shellbd3aa-dot[aria-current="true"] {
  background: var(--shellbd3aa-flame);
  width: 30px;
}

/* --------------------------------------------------------------------------
   Scenario route chips
   -------------------------------------------------------------------------- */

.shellbd3aa-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 24px;
}

.shellbd3aa-route {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 74px;
  padding: 10px 11px;
  border-radius: var(--shellbd3aa-r-card);
  background: linear-gradient(160deg, var(--shellbd3aa-panel) 0%, #3a5065 100%);
  border: 1px solid rgba(119, 136, 153, 0.35);
  box-shadow: var(--shellbd3aa-shadow-soft);
  text-align: left;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.shellbd3aa-route:hover { border-color: var(--shellbd3aa-tomato); text-decoration: none; }

.shellbd3aa-route:active { transform: scale(0.97); }

.shellbd3aa-route-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--shellbd3aa-font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--shellbd3aa-ink);
}

.shellbd3aa-route-top svg {
  width: 16px;
  height: 16px;
  padding: 3px;
  border-radius: 7px;
  background: rgba(255, 69, 0, 0.22);
  color: var(--shellbd3aa-flame-soft);
  box-sizing: content-box;
  flex: 0 0 auto;
}

.shellbd3aa-route small {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--shellbd3aa-muted);
}

/* --------------------------------------------------------------------------
   Category snapshot tiles
   -------------------------------------------------------------------------- */

.shellbd3aa-snapshot {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 26px;
}

.shellbd3aa-snap {
  padding: 9px 4px 7px;
  border-radius: var(--shellbd3aa-r-tile);
  background: rgba(61, 84, 104, 0.55);
  border: 1px solid rgba(119, 136, 153, 0.3);
  text-align: center;
}

.shellbd3aa-snap b {
  display: block;
  font-family: var(--shellbd3aa-font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--shellbd3aa-flame-soft);
  line-height: 1.1;
}

.shellbd3aa-snap span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--shellbd3aa-muted);
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   Game sections and floating tile cards
   -------------------------------------------------------------------------- */

.shellbd3aa-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.shellbd3aa-count {
  flex: 0 0 auto;
  font-family: var(--shellbd3aa-font-head);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--shellbd3aa-bg);
  background: var(--shellbd3aa-flame-soft);
  border-radius: 20px;
  padding: 3px 9px;
}

.shellbd3aa-related {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}

.shellbd3aa-related a,
.shellbd3aa-related-label {
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--shellbd3aa-muted);
  background: rgba(119, 136, 153, 0.14);
  border: 1px dashed rgba(119, 136, 153, 0.45);
  border-radius: 16px;
  padding: 5px 11px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
}

.shellbd3aa-related a { color: var(--shellbd3aa-flame-soft); font-weight: 600; }

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

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

.shellbd3aa-game {
  display: flex;
  flex-direction: column;
  border-radius: var(--shellbd3aa-r-card);
  background: linear-gradient(180deg, var(--shellbd3aa-panel-2) 0%, var(--shellbd3aa-panel) 100%);
  border: 1px solid rgba(119, 136, 153, 0.38);
  box-shadow: 0 4px 10px rgba(15, 24, 33, 0.3);
  overflow: hidden;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.shellbd3aa-game:hover {
  transform: translateY(-2px);
  border-color: var(--shellbd3aa-tomato);
  box-shadow: 0 8px 16px rgba(15, 24, 33, 0.42);
}

.shellbd3aa-game:active { transform: translateY(0) scale(0.96); }

.shellbd3aa-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #2e4053;
}

.shellbd3aa-game span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 10.8px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--shellbd3aa-ink-soft);
  padding: 5px 5px 7px;
  min-height: 34px;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   Info modules: definition rows, steps, branches, facts, pros and limits
   -------------------------------------------------------------------------- */

.shellbd3aa-note {
  border-radius: var(--shellbd3aa-r-card);
  background: linear-gradient(165deg, rgba(61, 84, 104, 0.85), rgba(52, 73, 94, 0.6));
  border: 1px solid rgba(119, 136, 153, 0.35);
  padding: 14px 14px 6px;
  margin: 0 0 12px;
  box-shadow: var(--shellbd3aa-shadow-soft);
}

.shellbd3aa-def { display: grid; gap: 8px; margin: 4px 0 14px; }

.shellbd3aa-def-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 11px;
  border-radius: var(--shellbd3aa-r-btn);
  background: rgba(46, 64, 83, 0.7);
  border-left: 3px solid var(--shellbd3aa-tomato);
}

.shellbd3aa-def-row b {
  font-family: var(--shellbd3aa-font-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--shellbd3aa-ink);
  line-height: 1.35;
}

.shellbd3aa-def-row p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.5;
  color: var(--shellbd3aa-muted);
}

.shellbd3aa-branch {
  display: grid;
  gap: 8px;
  margin: 10px 0 14px;
}

.shellbd3aa-branch-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 11px;
  border-radius: var(--shellbd3aa-r-card);
  background: rgba(61, 84, 104, 0.5);
  border: 1px solid rgba(119, 136, 153, 0.3);
}

.shellbd3aa-branch-item em {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 69, 0, 0.18);
  color: var(--shellbd3aa-flame-soft);
}

.shellbd3aa-branch-item em svg { width: 16px; height: 16px; }

.shellbd3aa-branch-item b {
  display: block;
  font-family: var(--shellbd3aa-font-head);
  font-size: 13px;
  color: var(--shellbd3aa-ink);
  margin-bottom: 2px;
}

.shellbd3aa-branch-item p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.5;
  color: var(--shellbd3aa-muted);
}

.shellbd3aa-ol {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  counter-reset: shellbd3aa-step;
  display: grid;
  gap: 8px;
}

.shellbd3aa-ol li {
  counter-increment: shellbd3aa-step;
  position: relative;
  padding: 10px 12px 10px 42px;
  border-radius: var(--shellbd3aa-r-btn);
  background: rgba(46, 64, 83, 0.65);
  border: 1px solid rgba(119, 136, 153, 0.28);
  font-size: 13px;
  line-height: 1.55;
  color: var(--shellbd3aa-ink-soft);
}

.shellbd3aa-ol li::before {
  content: counter(shellbd3aa-step);
  position: absolute;
  left: 11px;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--shellbd3aa-flame), var(--shellbd3aa-tomato));
  color: #fff;
  font-family: var(--shellbd3aa-font-head);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shellbd3aa-facts {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.shellbd3aa-facts li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  font-size: 13px;
  line-height: 1.55;
  color: var(--shellbd3aa-ink-soft);
}

.shellbd3aa-facts li svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--shellbd3aa-flame-soft);
}

.shellbd3aa-duo { display: grid; gap: 10px; }

@media (min-width: 380px) {
  .shellbd3aa-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.shellbd3aa-col {
  border-radius: var(--shellbd3aa-r-card);
  padding: 12px;
  background: rgba(46, 64, 83, 0.65);
  border: 1px solid rgba(119, 136, 153, 0.3);
}

.shellbd3aa-col h3.shellbd3aa-h3 { margin: 0 0 8px; }

.shellbd3aa-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.shellbd3aa-col li {
  position: relative;
  padding-left: 18px;
  font-size: 12.6px;
  line-height: 1.5;
  color: var(--shellbd3aa-muted);
}

.shellbd3aa-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
}

.shellbd3aa-col-good li::before { background: #6fd3a2; }

.shellbd3aa-col-warn li::before {
  background: transparent;
  border: 2px solid var(--shellbd3aa-flame-soft);
  width: 6px;
  height: 6px;
}

/* expandable follow-up questions */
.shellbd3aa-qa {
  border: 1px solid rgba(119, 136, 153, 0.32);
  border-radius: var(--shellbd3aa-r-btn);
  background: rgba(46, 64, 83, 0.55);
  margin: 0 0 8px;
  overflow: hidden;
}

.shellbd3aa-qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 11px 12px;
  font-family: var(--shellbd3aa-font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--shellbd3aa-ink);
}

.shellbd3aa-qa summary::-webkit-details-marker { display: none; }

.shellbd3aa-qa summary::after {
  content: "+";
  font-size: 17px;
  font-weight: 600;
  color: var(--shellbd3aa-flame-soft);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
}

.shellbd3aa-qa[open] summary::after { transform: rotate(45deg); }

.shellbd3aa-qa p {
  margin: 0;
  padding: 0 12px 12px;
  font-size: 12.8px;
  line-height: 1.55;
  color: var(--shellbd3aa-muted);
}

/* --------------------------------------------------------------------------
   Play-now CTA panel
   -------------------------------------------------------------------------- */

.shellbd3aa-cta {
  position: relative;
  border-radius: 16px;
  padding: 18px 16px;
  background:
    radial-gradient(120% 150% at 85% 0%, rgba(255, 99, 71, 0.4) 0%, transparent 55%),
    linear-gradient(150deg, #3e566d 0%, #34495e 70%);
  border: 1px solid rgba(255, 99, 71, 0.45);
  box-shadow: var(--shellbd3aa-shadow);
  text-align: center;
  overflow: hidden;
}

.shellbd3aa-cta::before {
  content: "";
  position: absolute;
  left: -30px;
  bottom: -36px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 69, 0, 0.14);
}

.shellbd3aa-cta h2 {
  font-family: var(--shellbd3aa-font-head);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
}

.shellbd3aa-cta p {
  position: relative;
  margin: 0 auto 14px;
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--shellbd3aa-ink-soft);
}

.shellbd3aa-cta-row {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.shellbd3aa-cta-main {
  min-height: 48px;
  padding: 12px 26px;
  font-size: 15px;
  border-radius: 24px;
}

.shellbd3aa-tlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  color: var(--shellbd3aa-flame-soft);
  border-bottom: 1px dashed rgba(255, 138, 112, 0.6);
  padding: 0 2px 2px;
}

.shellbd3aa-tlink:hover { color: #ffb09e; }

/* --------------------------------------------------------------------------
   Extended footer (homepage only) - sectioned list
   -------------------------------------------------------------------------- */

.shellbd3aa-xfoot {
  margin: 34px 0 0;
  padding: 16px 14px 12px;
  border-radius: 16px 16px 0 0;
  background: #2e4053;
  border-top: 2px solid var(--shellbd3aa-tomato);
}

.shellbd3aa-xfoot-group { margin-bottom: 18px; }

.shellbd3aa-xfoot-title {
  font-family: var(--shellbd3aa-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--shellbd3aa-flame-soft);
  margin: 0 0 8px;
}

.shellbd3aa-xfoot-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.shellbd3aa-xfoot-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(245, 245, 245, 0.3);
  background: #f5f5f5;
  flex: 0 0 auto;
}

.shellbd3aa-xfoot-brand p {
  margin: 0;
  font-size: 12.6px;
  line-height: 1.55;
  color: var(--shellbd3aa-muted);
}

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

.shellbd3aa-dir a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: var(--shellbd3aa-r-btn);
  background: rgba(61, 84, 104, 0.55);
  border: 1px solid rgba(119, 136, 153, 0.28);
  font-size: 12.3px;
  font-weight: 500;
  color: var(--shellbd3aa-ink-soft);
}

.shellbd3aa-dir a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--shellbd3aa-tomato);
  flex: 0 0 auto;
}

.shellbd3aa-dir a:hover {
  background: rgba(70, 96, 122, 0.85);
  color: var(--shellbd3aa-ink);
  text-decoration: none;
}

.shellbd3aa-promo-list { display: grid; gap: 7px; }

.shellbd3aa-promo-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 8px 11px;
  border-radius: var(--shellbd3aa-r-card);
  background: linear-gradient(160deg, rgba(255, 69, 0, 0.14), rgba(255, 99, 71, 0.06));
  border: 1px solid rgba(255, 99, 71, 0.35);
  text-align: left;
  transition: transform 0.15s ease;
}

.shellbd3aa-promo-item:active { transform: scale(0.98); }

.shellbd3aa-promo-item em {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--shellbd3aa-flame), var(--shellbd3aa-tomato));
  color: #fff;
}

.shellbd3aa-promo-item em svg { width: 17px; height: 17px; }

.shellbd3aa-promo-item b {
  display: block;
  font-family: var(--shellbd3aa-font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--shellbd3aa-ink);
  line-height: 1.3;
}

.shellbd3aa-promo-item small {
  display: block;
  font-size: 11.4px;
  line-height: 1.4;
  color: var(--shellbd3aa-muted);
  margin-top: 1px;
}

.shellbd3aa-promo-item::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--shellbd3aa-flame-soft);
  border-right: 2px solid var(--shellbd3aa-flame-soft);
  transform: rotate(45deg);
}

.shellbd3aa-disclaim {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--shellbd3aa-r-btn);
  background: rgba(34, 48, 61, 0.8);
  border: 1px dashed rgba(119, 136, 153, 0.4);
  font-size: 11.4px;
  line-height: 1.55;
  color: var(--shellbd3aa-muted);
}

/* --------------------------------------------------------------------------
   Copyright footer
   -------------------------------------------------------------------------- */

.shellbd3aa-foot {
  padding: 14px var(--shellbd3aa-gutter) 16px;
  text-align: center;
  background: #263544;
}

.shellbd3aa-foot p {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 0.4px;
  color: var(--shellbd3aa-muted);
}

/* --------------------------------------------------------------------------
   Fixed bottom navigation rail
   -------------------------------------------------------------------------- */

.shellbd3aa-rail {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(var(--shellbd3aa-rail-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 62;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: linear-gradient(180deg, #3b5268 0%, #2e4053 100%);
  border-top: 1px solid rgba(119, 136, 153, 0.5);
  box-shadow: 0 -4px 14px rgba(15, 24, 33, 0.4);
}

.shellbd3aa-rail-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 7px 2px 5px;
  color: var(--shellbd3aa-muted);
  position: relative;
}

.shellbd3aa-rail-btn .shellbd3aa-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 26px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.shellbd3aa-rail-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.shellbd3aa-rail-btn span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.shellbd3aa-rail-btn:active svg { transform: translateY(-1px) scale(0.92); }

/* active state: icon tile fills, icon switches to filled rendering */
.shellbd3aa-rail-btn.shellbd3aa-on { color: var(--shellbd3aa-ink); }

.shellbd3aa-rail-btn.shellbd3aa-on .shellbd3aa-ico {
  background: linear-gradient(135deg, var(--shellbd3aa-flame), var(--shellbd3aa-tomato));
  color: #fff;
  transform: translateY(-1px);
}

.shellbd3aa-rail-btn.shellbd3aa-on svg {
  stroke-width: 0;
  fill: currentColor;
}

.shellbd3aa-rail-btn.shellbd3aa-on::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26%;
  right: 26%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--shellbd3aa-flame);
}

/* --------------------------------------------------------------------------
   Restrained reveal animation
   -------------------------------------------------------------------------- */

.shellbd3aa-rise {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.shellbd3aa-rise.shellbd3aa-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .shellbd3aa-rise { opacity: 1; transform: none; transition: none; }
  .shellbd3aa-track { transition: none; }
  * { animation: none !important; }
}

/* body lock while the menu sheet is open */
body.shellbd3aa-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   Small-phone refinements (320px)
   -------------------------------------------------------------------------- */

@media (max-width: 359px) {
  .shellbd3aa-topbar { padding: 0 6px; gap: 4px; }
  .shellbd3aa-brand { gap: 5px; }
  .shellbd3aa-brand img { width: 28px; height: 28px; }
  .shellbd3aa-brand-name { font-size: 14px; letter-spacing: 0; }
  .shellbd3aa-actions { gap: 4px; }
  .shellbd3aa-btn { padding: 0 7px; font-size: 11px; gap: 3px; }
  .shellbd3aa-menu-btn { width: 44px; height: 44px; }
  .shellbd3aa-snapshot { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .shellbd3aa-dir { grid-template-columns: minmax(0, 1fr); }
  h1.shellbd3aa-h1 { font-size: 19px; }
}

/* wide helper: keep readable rhythm when canvas sits on large screens */
@media (min-width: 430px) and (max-width: 1024px) {
  .shellbd3aa-main { padding-left: 16px; padding-right: 16px; }
}

/* --------------------------------------------------------------------------
   Help-page layouts: symptom rows, always-open answers, glossary,
   download timeline, and mistake cards
   -------------------------------------------------------------------------- */

.shellbd3aa-stack {
  display: grid;
  gap: 8px;
  margin: 8px 0 14px;
}

.shellbd3aa-stack .shellbd3aa-btn {
  width: 100%;
  justify-content: flex-start;
  min-height: 44px;
  padding: 10px 12px;
  text-align: left;
}

.shellbd3aa-symptom {
  display: grid;
  gap: 8px;
  margin: 8px 0 14px;
}

.shellbd3aa-symptom article {
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border-radius: var(--shellbd3aa-r-card);
  background: rgba(46, 64, 83, 0.7);
  border-left: 3px solid var(--shellbd3aa-tomato);
}

.shellbd3aa-symptom h3 { margin: 0; }

.shellbd3aa-symptom p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--shellbd3aa-muted);
}

.shellbd3aa-qcard {
  padding: 12px;
  margin: 0 0 8px;
  border-radius: var(--shellbd3aa-r-card);
  background: rgba(61, 84, 104, 0.55);
  border: 1px solid rgba(119, 136, 153, 0.32);
}

.shellbd3aa-qcard h3 { margin: 0 0 6px; }

.shellbd3aa-qcard p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--shellbd3aa-muted);
}

.shellbd3aa-gloss {
  display: grid;
  gap: 8px;
  margin: 8px 0 14px;
}

.shellbd3aa-gloss div {
  padding: 10px 12px;
  border-radius: var(--shellbd3aa-r-btn);
  background: rgba(46, 64, 83, 0.72);
  border-top: 2px solid var(--shellbd3aa-line);
}

.shellbd3aa-gloss b {
  display: block;
  font-family: var(--shellbd3aa-font-head);
  font-size: 13px;
  color: var(--shellbd3aa-ink);
  margin-bottom: 3px;
}

.shellbd3aa-gloss p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.5;
  color: var(--shellbd3aa-muted);
}

.shellbd3aa-timeline {
  list-style: none;
  margin: 8px 0 14px;
  padding: 0;
  display: grid;
}

.shellbd3aa-timeline li {
  position: relative;
  margin-left: 10px;
  padding: 0 0 16px 22px;
  border-left: 2px solid rgba(255, 99, 71, 0.5);
  font-size: 13.2px;
  line-height: 1.55;
  color: var(--shellbd3aa-ink-soft);
}

.shellbd3aa-timeline li:last-child { border-left-color: transparent; }

.shellbd3aa-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 3px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--shellbd3aa-flame), var(--shellbd3aa-tomato));
}

.shellbd3aa-timeline strong {
  display: block;
  font-family: var(--shellbd3aa-font-head);
  color: var(--shellbd3aa-ink);
  margin-bottom: 2px;
}

.shellbd3aa-warn {
  display: grid;
  gap: 8px;
  margin: 8px 0 14px;
}

.shellbd3aa-warn article {
  padding: 12px;
  border-radius: var(--shellbd3aa-r-card);
  background: rgba(255, 69, 0, 0.1);
  border: 1px solid rgba(255, 99, 71, 0.42);
}

.shellbd3aa-warn h3 { margin: 0 0 4px; }

.shellbd3aa-warn p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--shellbd3aa-muted);
}

.shellbd3aa-crumb {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--shellbd3aa-muted);
}

.shellbd3aa-crumb a { font-weight: 600; }
