/* ============================================================
   bmw777.sbs - mobile-first stylesheet
   Canvas: 320-430px phone frame, centered on wide screens
   Prefix: shelle3c2a-
   ============================================================ */

:root {
  --shelle3c2a-ink: #2E4057;
  --shelle3c2a-ink-deep: #23324a;
  --shelle3c2a-ink-soft: #3a4f6b;
  --shelle3c2a-apricot: #FFB347;
  --shelle3c2a-sand: #FFB74D;
  --shelle3c2a-gold: #FFCC02;
  --shelle3c2a-paper: #fdf6e9;
  --shelle3c2a-paper-dim: #e8dfcf;
  --shelle3c2a-line: rgba(255, 204, 2, 0.22);
  --shelle3c2a-shadow: 0 10px 26px rgba(15, 24, 40, 0.45);
  --shelle3c2a-radius-lg: 18px;
  --shelle3c2a-radius-md: 13px;
  --shelle3c2a-radius-pill: 999px;
  --shelle3c2a-font-display: "Trebuchet MS", "Segoe UI", Verdana, Arial, sans-serif;
  --shelle3c2a-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --shelle3c2a-header-h: 106px;
  --shelle3c2a-bnav-h: 62px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  background: #1a2536;
  color: var(--shelle3c2a-paper);
  font-family: var(--shelle3c2a-font-body);
  font-size: 14px;
  line-height: 1.62;
  min-height: 100vh;
}

/* Phone canvas keeps identical layout on desktop */
.shelle3c2a-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 42% at 50% 0%, #35507a 0%, var(--shelle3c2a-ink) 46%, var(--shelle3c2a-ink-deep) 100%);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
}

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

a { color: var(--shelle3c2a-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ============ Fixed header: centered identity bar ============ */

.shelle3c2a-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, #243754 0%, var(--shelle3c2a-ink-deep) 100%);
  border-bottom: 1px solid var(--shelle3c2a-line);
}

.shelle3c2a-brandrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 12px 4px;
}

.shelle3c2a-brandrow img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 204, 2, 0.4);
  object-fit: cover;
}

.shelle3c2a-brandname {
  font-family: var(--shelle3c2a-font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--shelle3c2a-gold);
  text-transform: lowercase;
}

/* Action row sits outside the identity area */
.shelle3c2a-actionrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 9px;
}

.shelle3c2a-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--shelle3c2a-radius-pill);
  font-family: var(--shelle3c2a-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.shelle3c2a-cta svg { width: 16px; height: 16px; flex: none; }

.shelle3c2a-cta:active { transform: scale(0.95); filter: brightness(1.1); }

.shelle3c2a-cta--gold {
  background: linear-gradient(135deg, var(--shelle3c2a-gold) 0%, var(--shelle3c2a-apricot) 100%);
  color: #31240a;
}

.shelle3c2a-cta--ghost {
  background: transparent;
  color: var(--shelle3c2a-sand);
  border: 1px solid rgba(255, 183, 77, 0.55);
}

.shelle3c2a-menubtn {
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: rgba(255, 204, 2, 0.12);
  border: 1px solid var(--shelle3c2a-line);
  border-radius: var(--shelle3c2a-radius-md);
  cursor: pointer;
  color: var(--shelle3c2a-gold);
  font-size: 9px;
  font-family: var(--shelle3c2a-font-body);
  transition: background 0.15s ease;
}

.shelle3c2a-menubtn span:nth-child(2) { font-weight: 600; }

.shelle3c2a-menubtn:active { background: rgba(255, 204, 2, 0.28); }

.shelle3c2a-menubtn--open { background: rgba(255, 204, 2, 0.28); }

/* ============ Compact route panel (slide-in menu) ============ */

.shelle3c2a-routes {
  position: fixed;
  top: var(--shelle3c2a-header-h);
  left: 50%;
  transform: translate(-50%, -12px);
  width: calc(100% - 16px);
  max-width: 414px;
  z-index: 55;
  background: #202e46;
  border: 1px solid var(--shelle3c2a-line);
  border-radius: var(--shelle3c2a-radius-lg);
  box-shadow: var(--shelle3c2a-shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.shelle3c2a-routes--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.shelle3c2a-routes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.shelle3c2a-route {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--shelle3c2a-radius-md);
  color: var(--shelle3c2a-paper);
  font-size: 12.5px;
  font-weight: 600;
}

.shelle3c2a-route svg { width: 17px; height: 17px; flex: none; color: var(--shelle3c2a-sand); }
.shelle3c2a-route:hover { background: rgba(255, 204, 2, 0.14); text-decoration: none; }
.shelle3c2a-route--current { background: rgba(255, 204, 2, 0.2); color: var(--shelle3c2a-gold); }

/* ============ Main column ============ */

.shelle3c2a-main {
  padding: calc(var(--shelle3c2a-header-h) + 10px) 12px calc(var(--shelle3c2a-bnav-h) + 34px);
}

.shelle3c2a-section { margin: 0 0 22px; }

h1, h2, h3 { font-family: var(--shelle3c2a-font-display); line-height: 1.25; margin: 0; }

.shelle3c2a-h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--shelle3c2a-gold);
  letter-spacing: 0.3px;
  padding: 4px 0 8px;
}

.shelle3c2a-h1::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 8px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--shelle3c2a-gold), transparent);
}

.shelle3c2a-h2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--shelle3c2a-paper);
  margin: 0 0 10px;
}

.shelle3c2a-h2::before {
  content: "";
  flex: none;
  width: 8px;
  height: 18px;
  align-self: center;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--shelle3c2a-gold), var(--shelle3c2a-apricot));
}

.shelle3c2a-h3 {
  font-size: 15px;
  color: var(--shelle3c2a-sand);
  margin: 14px 0 6px;
}

.shelle3c2a-p { margin: 0 0 12px; color: var(--shelle3c2a-paper-dim); }
.shelle3c2a-p strong, .shelle3c2a-p b { color: var(--shelle3c2a-paper); }

/* ============ Hero carousel ============ */

.shelle3c2a-hero {
  position: relative;
  border-radius: var(--shelle3c2a-radius-lg);
  overflow: hidden;
  border: 1px solid var(--shelle3c2a-line);
  box-shadow: var(--shelle3c2a-shadow);
  margin: 0 0 18px;
  background: #182336;
}

.shelle3c2a-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.33, 0.9, 0.35, 1);
  touch-action: pan-y;
}

.shelle3c2a-slide {
  flex: 0 0 100%;
  width: 100%;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: none;
  aspect-ratio: 430 / 186;
}

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

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

.shelle3c2a-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(253, 246, 233, 0.4);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.shelle3c2a-dot--on { width: 22px; border-radius: 4px; background: var(--shelle3c2a-gold); }

/* ============ Definition + entity facts ============ */

.shelle3c2a-defbox {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--shelle3c2a-line);
  border-radius: var(--shelle3c2a-radius-lg);
  padding: 14px 14px 12px;
}

.shelle3c2a-defbox .shelle3c2a-p { margin: 0 0 10px; }

.shelle3c2a-facts {
  border-top: 1px dashed rgba(255, 204, 2, 0.3);
  margin-top: 12px;
  padding-top: 10px;
}

.shelle3c2a-facts-title {
  font-family: var(--shelle3c2a-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shelle3c2a-sand);
  margin: 0 0 8px;
}

.shelle3c2a-facts dl { margin: 0; display: grid; gap: 6px; }

.shelle3c2a-facts dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--shelle3c2a-apricot);
}

.shelle3c2a-facts dd {
  margin: 0 0 4px;
  font-size: 12.5px;
  color: var(--shelle3c2a-paper-dim);
}

/* ============ Step rail (step-driven rhythm) ============ */

.shelle3c2a-steps { display: grid; gap: 10px; }

.shelle3c2a-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--shelle3c2a-radius-md);
  padding: 11px 12px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.shelle3c2a-step:active { transform: translateY(-2px); background: rgba(255, 204, 2, 0.08); }

.shelle3c2a-stepnum {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--shelle3c2a-gold), var(--shelle3c2a-apricot));
  color: #31240a;
  font-family: var(--shelle3c2a-font-display);
  font-size: 16px;
  font-weight: 700;
}

.shelle3c2a-steptitle {
  font-family: var(--shelle3c2a-font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shelle3c2a-paper);
  margin: 3px 0 3px;
}

.shelle3c2a-steptext { font-size: 12.5px; color: var(--shelle3c2a-paper-dim); }

/* ============ Game category blocks ============ */

.shelle3c2a-cat {
  margin: 0 0 24px;
  background: rgba(20, 30, 50, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--shelle3c2a-radius-lg);
  padding: 13px 11px 14px;
}

.shelle3c2a-cathead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}

.shelle3c2a-cathead .shelle3c2a-h2 { margin: 0; font-size: 16.5px; flex: 1 1 auto; }

.shelle3c2a-chip {
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #31240a;
  background: linear-gradient(135deg, var(--shelle3c2a-gold), var(--shelle3c2a-sand));
  border-radius: var(--shelle3c2a-radius-pill);
  padding: 3px 10px;
  white-space: nowrap;
}

.shelle3c2a-catintro {
  font-size: 12.5px;
  color: var(--shelle3c2a-paper-dim);
  margin: 0 0 11px;
}

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

@media (min-width: 375px) {
  .shelle3c2a-grid { grid-template-columns: repeat(5, 1fr); gap: 9px; }
}

.shelle3c2a-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 7px 4px 8px;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--shelle3c2a-radius-md);
  cursor: pointer;
  text-align: center;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.shelle3c2a-tile:hover { border-color: rgba(255, 204, 2, 0.5); }

.shelle3c2a-tile:active {
  transform: translateY(-3px);
  border-color: var(--shelle3c2a-gold);
}

.shelle3c2a-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 9px;
  background: #101a2b;
}

.shelle3c2a-tilename {
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--shelle3c2a-paper);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Large card variant: spans 2x2, mixes with small tiles */
.shelle3c2a-tile--wide {
  grid-column: span 2;
  grid-row: span 2;
  padding: 10px 8px 12px;
  background:
    linear-gradient(180deg, rgba(255, 204, 2, 0.14) 0%, rgba(255, 255, 255, 0.04) 62%);
  border-color: rgba(255, 204, 2, 0.42);
  position: relative;
}

.shelle3c2a-tile--wide .shelle3c2a-tilename {
  font-size: 12.5px;
  -webkit-line-clamp: 3;
}

.shelle3c2a-tiletag {
  position: absolute;
  top: 7px;
  left: 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #31240a;
  background: var(--shelle3c2a-gold);
  border-radius: 6px;
  padding: 2px 7px;
}

/* ============ Answer / Q&A blocks ============ */

.shelle3c2a-qblock {
  background: rgba(255, 183, 77, 0.07);
  border-left: 4px solid var(--shelle3c2a-apricot);
  border-radius: 0 var(--shelle3c2a-radius-md) var(--shelle3c2a-radius-md) 0;
  padding: 12px 13px;
  margin: 0 0 14px;
}

.shelle3c2a-qblock .shelle3c2a-p:first-child { color: var(--shelle3c2a-paper); font-weight: 600; }

.shelle3c2a-updated {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--shelle3c2a-apricot);
  border: 1px dashed rgba(255, 183, 77, 0.5);
  border-radius: var(--shelle3c2a-radius-pill);
  padding: 2px 10px;
  margin: 0 0 10px;
}

/* ============ Checklist ============ */

.shelle3c2a-check { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }

.shelle3c2a-check li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  align-items: start;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--shelle3c2a-radius-md);
  padding: 10px 11px;
  font-size: 12.5px;
  color: var(--shelle3c2a-paper-dim);
}

.shelle3c2a-check svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--shelle3c2a-gold);
  flex: none;
}

/* ============ Inline promo link ============ */

.shelle3c2a-inlinecta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: var(--shelle3c2a-radius-pill);
  padding: 9px 16px;
  min-height: 44px;
  background: linear-gradient(135deg, var(--shelle3c2a-gold) 0%, var(--shelle3c2a-apricot) 100%);
  color: #31240a;
  font-family: var(--shelle3c2a-font-display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease;
}

.shelle3c2a-inlinecta:active { transform: scale(0.95); }
.shelle3c2a-inlinecta svg { width: 15px; height: 15px; }

.shelle3c2a-ctawrap { margin: 6px 0 14px; }

/* ============ Extended footer ============ */

.shelle3c2a-xfoot {
  margin: 26px 0 0;
  border-top: 2px solid rgba(255, 204, 2, 0.35);
  padding-top: 16px;
  display: grid;
  gap: 16px;
}

.shelle3c2a-xfoot h2 {
  font-size: 15px;
  color: var(--shelle3c2a-sand);
  margin: 0 0 8px;
}

.shelle3c2a-xfoot h2::before { display: none; }

.shelle3c2a-xfoot-brand .shelle3c2a-p { font-size: 12.5px; }

.shelle3c2a-dirlist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shelle3c2a-dirlist a {
  display: block;
  min-height: 44px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.045);
  border-radius: var(--shelle3c2a-radius-md);
  color: var(--shelle3c2a-paper);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.shelle3c2a-dirlist a:hover { background: rgba(255, 204, 2, 0.12); text-decoration: none; }

.shelle3c2a-promos { display: grid; gap: 9px; }

.shelle3c2a-promoitem {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 183, 77, 0.4);
  background: rgba(255, 183, 77, 0.08);
  border-radius: var(--shelle3c2a-radius-md);
  padding: 10px 12px;
  min-height: 48px;
  cursor: pointer;
  color: var(--shelle3c2a-paper);
  font-family: var(--shelle3c2a-font-body);
  transition: transform 0.12s ease, background 0.12s ease;
}

.shelle3c2a-promoitem:active { transform: scale(0.98); background: rgba(255, 204, 2, 0.16); }

.shelle3c2a-promoitem svg { width: 20px; height: 20px; color: var(--shelle3c2a-gold); flex: none; }

.shelle3c2a-promotitle {
  font-family: var(--shelle3c2a-font-display);
  font-size: 13px;
  font-weight: 700;
  display: block;
}

.shelle3c2a-promosub { font-size: 11px; color: var(--shelle3c2a-paper-dim); display: block; }

.shelle3c2a-closingline {
  text-align: center;
  font-size: 12px;
  color: var(--shelle3c2a-paper-dim);
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  padding-top: 12px;
}

/* ============ Common footer ============ */

.shelle3c2a-foot {
  text-align: center;
  font-size: 11.5px;
  color: rgba(253, 246, 233, 0.55);
  padding: 14px 10px 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 18px;
}

/* ============ Mobile bottom navigation (brand accent band) ============ */

.shelle3c2a-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--shelle3c2a-bnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: linear-gradient(180deg, #263a58 0%, #1c2a41 100%);
  border-top: 2px solid var(--shelle3c2a-gold);
  box-shadow: 0 -6px 18px rgba(10, 16, 28, 0.5);
}

.shelle3c2a-bnavitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  border: 0;
  background: none;
  padding: 4px 2px 6px;
  color: var(--shelle3c2a-paper-dim);
  font-family: var(--shelle3c2a-font-body);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease;
}

.shelle3c2a-bnavitem svg { width: 21px; height: 21px; }

.shelle3c2a-bnavitem:active { transform: scale(0.92); }
.shelle3c2a-bnavitem:active,
.shelle3c2a-bnavitem--on {
  color: var(--shelle3c2a-gold);
}

/* Active state: gold background cradle block behind the label */
.shelle3c2a-bnavitem--on .shelle3c2a-bnavlabel {
  background: rgba(255, 204, 2, 0.18);
  border-radius: 7px;
  padding: 1px 8px;
  color: var(--shelle3c2a-gold);
}

.shelle3c2a-bnavlabel { line-height: 1.3; }
a.shelle3c2a-bnavitem:hover { text-decoration: none; color: var(--shelle3c2a-gold); }

/* ============ Search phrase index (tag rows) ============ */

.shelle3c2a-tagindex {
  background: rgba(20, 30, 50, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--shelle3c2a-radius-lg);
  padding: 13px 12px 14px;
}

.shelle3c2a-tagindex-intro {
  font-size: 12.5px;
  color: var(--shelle3c2a-paper-dim);
  margin: 0 0 12px;
}

.shelle3c2a-taggroup { margin: 0 0 12px; }
.shelle3c2a-taggroup:last-child { margin-bottom: 0; }

.shelle3c2a-taggroup h3 { margin: 0 0 7px; }

.shelle3c2a-tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shelle3c2a-tag {
  display: inline-block;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--shelle3c2a-paper-dim);
  background: rgba(255, 204, 2, 0.09);
  border: 1px solid rgba(255, 204, 2, 0.18);
  border-radius: var(--shelle3c2a-radius-pill);
  padding: 4px 10px;
  white-space: nowrap;
}

/* Compatible reading layouts and accessible controls */
.shelle3c2a-main { padding-bottom: calc(var(--shelle3c2a-bnav-h) + env(safe-area-inset-bottom, 0px) + 34px); }
.shelle3c2a-routes { max-height: calc(100dvh - var(--shelle3c2a-header-h) - var(--shelle3c2a-bnav-h) - 20px); overflow-y: auto; }
.shelle3c2a-routes-grid, .shelle3c2a-dirlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shelle3c2a-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shelle3c2a-tile { min-width: 0; font-family: inherit; }
.shelle3c2a-tilename { display: block; overflow: visible; overflow-wrap: anywhere; }
.shelle3c2a-dot { width: 44px; height: 44px; background: none; position: relative; border-radius: 0; }
.shelle3c2a-dot::after { content: ""; display: block; width: 8px; height: 8px; border-radius: 5px; margin: auto; background: var(--shelle3c2a-paper-dim); }
.shelle3c2a-dot--on { width: 44px; background: none; }
.shelle3c2a-dot--on::after { width: 22px; background: var(--shelle3c2a-gold); }
.shelle3c2a-dots { position: static; gap: 0; background: #182336; }
.shelle3c2a-slide { aspect-ratio: 2 / 1; }
.shelle3c2a-slide img { object-fit: contain; }
.shelle3c2a-h1 { font-family: "Bodoni MT", "Times New Roman", serif; }
.shelle3c2a-h2 { overflow-wrap: anywhere; }
.shelle3c2a-steptext, .shelle3c2a-note, .shelle3c2a-branch { overflow-wrap: anywhere; }
.shelle3c2a-steptext { margin: 0 0 10px; }
.shelle3c2a-steps { padding: 0; list-style: none; counter-reset: shelle3c2a-stage; }
.shelle3c2a-steps > li { counter-increment: shelle3c2a-stage; }
.shelle3c2a-note { padding: 14px 12px; border-block: 1px solid var(--shelle3c2a-line); margin-bottom: 18px; }
.shelle3c2a-note h3 { margin: 12px 0 6px; color: var(--shelle3c2a-sand); font-size: 15px; }
.shelle3c2a-branch { border-left: 2px solid var(--shelle3c2a-apricot); padding: 1px 0 1px 12px; margin: 16px 0; }
.shelle3c2a-branch p, .shelle3c2a-note p { color: var(--shelle3c2a-paper-dim); }
.shelle3c2a-readinglist { margin: 8px 0 16px; padding-left: 22px; }
.shelle3c2a-readinglist li { margin: 0 0 10px; }
.shelle3c2a-notebook { padding: 14px; border-radius: 4px 18px 18px 4px; border: 1px solid var(--shelle3c2a-line); background: rgba(255,255,255,.035); margin-bottom: 18px; }
.shelle3c2a-notebook p { color: var(--shelle3c2a-paper-dim); }
.shelle3c2a-notebook details { border-top: 1px solid var(--shelle3c2a-line); padding-block: 8px; }
.shelle3c2a-notebook summary { min-height: 44px; padding-block: 10px; cursor: pointer; color: var(--shelle3c2a-sand); font-weight: 700; }
.shelle3c2a-notebook details[open] summary { color: var(--shelle3c2a-gold); }
.shelle3c2a-textaction { display: inline; min-height: 44px; background: none; border: 0; padding: 10px 0; text-align: left; color: var(--shelle3c2a-gold); font: inherit; text-decoration: underline; cursor: pointer; }
.shelle3c2a-inlinecta { border-radius: 10px; }
.shelle3c2a-route { overflow-wrap: anywhere; }
.shelle3c2a-canvas { overflow-x: clip; }
@media (min-width: 375px) { .shelle3c2a-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (hover: hover) { .shelle3c2a-tile:hover { transform: translateY(-2px); } }

/* ============ Utilities ============ */

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

.shelle3c2a-keyline {
  height: 1px;
  border: 0;
  margin: 20px 0;
  background: linear-gradient(90deg, transparent, rgba(255, 204, 2, 0.4), transparent);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
