/* ==========================================================================
   ph355 surface stylesheet
   Mobile-first (320-430px) canvas for ph355.homes
   All classes and custom properties use the shelle0eeb- prefix.
   Palette base: #1B263B / #7B68EE / #3C3C3C / #9932CC / #8A2BE2
   Design key: near-square tool corners, grouped cover cards,
   short-list info rhythm, short vertical lift micro-interactions,
   lightly rounded text-button CTAs.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --shelle0eeb-canvas: #1b263b;
  --shelle0eeb-deep: #151d30;
  --shelle0eeb-panel: #222e4a;
  --shelle0eeb-raise: #273452;
  --shelle0eeb-line: #35436a;
  --shelle0eeb-ink: #eef1fb;
  --shelle0eeb-mute: #adb8d6;
  --shelle0eeb-faintx: #8792b4;
  --shelle0eeb-accent: #7b68ee;
  --shelle0eeb-accent-up: #8d7ff2;
  --shelle0eeb-violet: #8a2be2;
  --shelle0eeb-orchid: #9932cc;
  --shelle0eeb-disp: "Arial Black", "Segoe UI Black", "Segoe UI", Arial, sans-serif;
  --shelle0eeb-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --shelle0eeb-r: 3px;
  --shelle0eeb-r-soft: 5px;
  --shelle0eeb-bar-h: 56px;
  --shelle0eeb-dock-h: 60px;
}

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

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

body {
  margin: 0;
  background: var(--shelle0eeb-deep);
  color: var(--shelle0eeb-ink);
  font-family: var(--shelle0eeb-body);
  font-size: 13.5px;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

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

a { color: var(--shelle0eeb-accent-up); text-decoration: none; }
a:hover { color: #a9a0f6; text-decoration: underline; }

button { font-family: inherit; }

::selection { background: var(--shelle0eeb-violet); color: #fff; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--shelle0eeb-accent);
  outline-offset: 2px;
  border-radius: var(--shelle0eeb-r);
}

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

/* ---------- phone canvas ---------- */
.shelle0eeb-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 52% at 50% -8%, rgba(123, 104, 238, 0.20), transparent 60%),
    var(--shelle0eeb-canvas);
  box-shadow: 0 0 42px rgba(0, 0, 0, 0.55);
}

.shelle0eeb-main {
  padding: calc(var(--shelle0eeb-bar-h) + 8px) 13px
           calc(var(--shelle0eeb-dock-h) + 26px);
}

/* ---------- fixed top bar ---------- */
.shelle0eeb-topbar {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(21, 29, 48, 0.97);
  border-bottom: 1px solid var(--shelle0eeb-line);
  backdrop-filter: blur(6px);
}

.shelle0eeb-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shelle0eeb-bar-h);
  padding: 6px 10px 6px 12px;
}

/* brand zone: logo image + name only */
.shelle0eeb-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
}

.shelle0eeb-brand-img {
  width: 36px; height: 36px;
  border-radius: var(--shelle0eeb-r);
  border: 1px solid var(--shelle0eeb-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.shelle0eeb-name {
  font-family: var(--shelle0eeb-disp);
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--shelle0eeb-ink);
  white-space: nowrap;
}

.shelle0eeb-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

/* lightly rounded text buttons */
.shelle0eeb-tbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: var(--shelle0eeb-r-soft);
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease,
              border-color 0.18s ease, color 0.18s ease;
}

.shelle0eeb-tbtn:active { transform: translateY(1px); }

.shelle0eeb-register {
  background: linear-gradient(135deg, var(--shelle0eeb-accent), var(--shelle0eeb-violet));
  color: #fff;
}

.shelle0eeb-register:hover {
  background: linear-gradient(135deg, var(--shelle0eeb-accent-up), var(--shelle0eeb-orchid));
  color: #fff;
  text-decoration: none;
}

.shelle0eeb-login {
  background: transparent;
  border-color: var(--shelle0eeb-accent);
  color: var(--shelle0eeb-ink);
}

.shelle0eeb-login:hover {
  background: rgba(123, 104, 238, 0.16);
  color: var(--shelle0eeb-ink);
  text-decoration: none;
}

/* expandable menu trigger */
.shelle0eeb-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px; height: 44px;
  padding: 10px 11px;
  background: var(--shelle0eeb-panel);
  border: 1px solid var(--shelle0eeb-line);
  border-radius: var(--shelle0eeb-r);
  cursor: pointer;
}

.shelle0eeb-burger-row {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--shelle0eeb-ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.shelle0eeb-burger[aria-expanded="true"] .shelle0eeb-burger-row:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.shelle0eeb-burger[aria-expanded="true"] .shelle0eeb-burger-row:nth-child(2) { opacity: 0; }
.shelle0eeb-burger[aria-expanded="true"] .shelle0eeb-burger-row:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- expandable nav sheet ---------- */
.shelle0eeb-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(24, 33, 55, 0.98);
  border-bottom: 1px solid var(--shelle0eeb-line);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  max-height: calc(100vh - var(--shelle0eeb-bar-h));
  overflow-y: auto;
}

.shelle0eeb-menu.shelle0eeb-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.shelle0eeb-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--shelle0eeb-line);
}

.shelle0eeb-menu-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 11px 13px;
  background: var(--shelle0eeb-panel);
  color: var(--shelle0eeb-mute);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.shelle0eeb-menu-link::before {
  /* top indicator line for the current page */
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--shelle0eeb-accent);
  transition: width 0.2s ease;
}

.shelle0eeb-menu-link:hover {
  color: var(--shelle0eeb-ink);
  background: var(--shelle0eeb-raise);
  text-decoration: none;
}

.shelle0eeb-menu-link.shelle0eeb-on {
  color: var(--shelle0eeb-ink);
  background: var(--shelle0eeb-raise);
}

.shelle0eeb-menu-link.shelle0eeb-on::before { width: 100%; }

/* ---------- hero carousel ---------- */
.shelle0eeb-hero {
  position: relative;
  border: 1px solid var(--shelle0eeb-line);
  border-radius: var(--shelle0eeb-r);
  overflow: hidden;
  background: var(--shelle0eeb-panel);
}

.shelle0eeb-slides {
  position: relative;
  aspect-ratio: 2 / 1;
}

.shelle0eeb-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  background: var(--shelle0eeb-deep);
  cursor: pointer;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: left;
}

.shelle0eeb-slide.shelle0eeb-on {
  opacity: 1;
  transform: translateX(0);
}

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

.shelle0eeb-slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(21, 29, 48, 0) 0%, rgba(21, 29, 48, 0.92) 78%);
}

.shelle0eeb-slide-kick {
  display: inline-block;
  margin-bottom: 3px;
  padding: 2px 7px;
  border-left: 2px solid var(--shelle0eeb-accent);
  background: rgba(123, 104, 238, 0.22);
  border-radius: var(--shelle0eeb-r);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #d9d4ff;
}

.shelle0eeb-slide-cap p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--shelle0eeb-ink);
}

/* arrows */
.shelle0eeb-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 34px; min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 29, 48, 0.72);
  border: 1px solid var(--shelle0eeb-line);
  border-radius: var(--shelle0eeb-r);
  color: var(--shelle0eeb-ink);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.shelle0eeb-hero-arrow:hover { background: rgba(39, 52, 82, 0.9); }

.shelle0eeb-hero-prev { left: 6px; }
.shelle0eeb-hero-next { right: 6px; }

/* dots */
.shelle0eeb-dots {
  position: absolute;
  right: 10px; bottom: 8px;
  z-index: 3;
  display: flex;
  gap: 2px;
}

.shelle0eeb-dot {
  width: 44px; height: 44px;
  padding: 17px 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.shelle0eeb-dot::after {
  content: "";
  display: block;
  width: 14px; height: 5px;
  background: rgba(238, 241, 251, 0.35);
  border-radius: 1px;
  transition: background-color 0.2s ease;
}

.shelle0eeb-dot:hover::after { background: rgba(238, 241, 251, 0.7); }

.shelle0eeb-dot.shelle0eeb-on::after { background: var(--shelle0eeb-accent); }

/* ---------- intro / heading block ---------- */
.shelle0eeb-intro {
  margin-top: 14px;
  padding: 14px 13px;
  background: var(--shelle0eeb-panel);
  border: 1px solid var(--shelle0eeb-line);
  border-left: 3px solid var(--shelle0eeb-accent);
  border-radius: var(--shelle0eeb-r);
}

.shelle0eeb-h1 {
  margin: 0 0 8px;
  font-family: var(--shelle0eeb-disp);
  font-size: 17.5px;
  line-height: 1.3;
  letter-spacing: 0.015em;
  text-transform: none;
  color: var(--shelle0eeb-ink);
}

.shelle0eeb-intro p {
  margin: 0 0 8px;
  color: var(--shelle0eeb-mute);
  font-size: 12.8px;
}

.shelle0eeb-intro p:last-child { margin-bottom: 0; }

.shelle0eeb-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.shelle0eeb-kicker span {
  padding: 3px 8px;
  border: 1px solid var(--shelle0eeb-line);
  border-radius: var(--shelle0eeb-r);
  background: rgba(123, 104, 238, 0.10);
  color: #c9c3f4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* ---------- section shell ---------- */
.shelle0eeb-sec {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--shelle0eeb-line);
  scroll-margin-top: calc(var(--shelle0eeb-bar-h) + 10px);
}

.shelle0eeb-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}

.shelle0eeb-h2 {
  position: relative;
  margin: 0;
  padding-left: 11px;
  font-family: var(--shelle0eeb-disp);
  font-size: 14.5px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--shelle0eeb-ink);
}

.shelle0eeb-h2::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 4px; height: calc(100% - 6px);
  min-height: 14px;
  background: linear-gradient(180deg, var(--shelle0eeb-accent), var(--shelle0eeb-orchid));
  border-radius: 1px;
}

.shelle0eeb-count {
  flex: 0 0 auto;
  padding: 2px 7px;
  border: 1px solid var(--shelle0eeb-line);
  border-radius: var(--shelle0eeb-r);
  color: var(--shelle0eeb-faintx);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.shelle0eeb-lead {
  margin: 0 0 10px;
  color: var(--shelle0eeb-mute);
  font-size: 12.6px;
}

/* compact related-reading strip */
.shelle0eeb-guiderow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 11px;
  padding: 8px 10px;
  background: rgba(34, 46, 74, 0.7);
  border: 1px solid var(--shelle0eeb-line);
  border-radius: var(--shelle0eeb-r);
}

.shelle0eeb-guide-tag {
  color: var(--shelle0eeb-faintx);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.shelle0eeb-guiderow a {
  font-size: 11.8px;
  font-weight: 600;
  color: var(--shelle0eeb-accent-up);
}

.shelle0eeb-guiderow a::before { content: "\203A\00A0"; color: var(--shelle0eeb-orchid); font-weight: 700; }

/* ---------- grouped cover-card game grid ---------- */
.shelle0eeb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

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

.shelle0eeb-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px 5px 7px;
  background: var(--shelle0eeb-panel);
  border: 1px solid var(--shelle0eeb-line);
  border-radius: var(--shelle0eeb-r);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.shelle0eeb-card:hover,
.shelle0eeb-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--shelle0eeb-accent);
  background: var(--shelle0eeb-raise);
}

.shelle0eeb-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  background: var(--shelle0eeb-deep);
}

.shelle0eeb-card-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-align: center;
  font-size: 10.3px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--shelle0eeb-mute);
}

.shelle0eeb-card:hover .shelle0eeb-card-name { color: var(--shelle0eeb-ink); }

/* ---------- short-list blocks (checklists, notes) ---------- */
.shelle0eeb-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shelle0eeb-list li {
  position: relative;
  padding: 7px 8px 7px 22px;
  border-bottom: 1px solid rgba(53, 67, 106, 0.55);
  color: var(--shelle0eeb-mute);
  font-size: 12.5px;
}

.shelle0eeb-list li:last-child { border-bottom: 0; }

.shelle0eeb-list li::before {
  content: "";
  position: absolute;
  left: 6px; top: 13px;
  width: 7px; height: 7px;
  background: var(--shelle0eeb-accent);
  border-radius: 1px;
}

.shelle0eeb-list strong { color: var(--shelle0eeb-ink); font-weight: 700; }

/* panel wrapper for module bodies */
.shelle0eeb-panelbox {
  padding: 12px 12px 6px;
  background: var(--shelle0eeb-panel);
  border: 1px solid var(--shelle0eeb-line);
  border-radius: var(--shelle0eeb-r);
}

.shelle0eeb-note {
  margin: 10px 0 0;
  padding: 9px 11px;
  border-left: 3px solid var(--shelle0eeb-orchid);
  background: rgba(153, 50, 204, 0.12);
  border-radius: var(--shelle0eeb-r);
  color: #d9c9ec;
  font-size: 11.8px;
}

/* ---------- review cards ---------- */
.shelle0eeb-reviews {
  display: grid;
  gap: 9px;
}

.shelle0eeb-review {
  padding: 11px 12px;
  background: var(--shelle0eeb-panel);
  border: 1px solid var(--shelle0eeb-line);
  border-left: 3px solid var(--shelle0eeb-violet);
  border-radius: var(--shelle0eeb-r);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.shelle0eeb-review:hover { transform: translateY(-2px); border-color: var(--shelle0eeb-accent); }

.shelle0eeb-review p {
  margin: 0 0 8px;
  color: var(--shelle0eeb-mute);
  font-size: 12.4px;
}

.shelle0eeb-review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.shelle0eeb-review-meta cite {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--shelle0eeb-ink);
}

.shelle0eeb-review-tag {
  padding: 2px 7px;
  border: 1px solid var(--shelle0eeb-line);
  border-radius: var(--shelle0eeb-r);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9c3f4;
  white-space: nowrap;
}

/* ---------- CTA band ---------- */
.shelle0eeb-ctaband {
  margin-top: 12px;
  padding: 15px 14px;
  background:
    linear-gradient(135deg, rgba(123, 104, 238, 0.28), rgba(138, 43, 226, 0.24)),
    var(--shelle0eeb-panel);
  border: 1px solid var(--shelle0eeb-line);
  border-radius: var(--shelle0eeb-r);
}

.shelle0eeb-ctaband p {
  margin: 0 0 12px;
  color: var(--shelle0eeb-ink);
  font-size: 12.8px;
}

.shelle0eeb-btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.shelle0eeb-btnrow .shelle0eeb-tbtn { flex: 1 1 130px; }

/* ---------- comparison matrix ---------- */
.shelle0eeb-cmp {
  display: grid;
  gap: 8px;
}

.shelle0eeb-cmp-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 4px 10px;
  padding: 10px 11px;
  background: var(--shelle0eeb-panel);
  border: 1px solid var(--shelle0eeb-line);
  border-radius: var(--shelle0eeb-r);
}

.shelle0eeb-cmp-cat {
  grid-row: span 3;
  align-self: start;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 7px;
  background: rgba(123, 104, 238, 0.14);
  border: 1px solid var(--shelle0eeb-line);
  border-radius: var(--shelle0eeb-r);
  font-family: var(--shelle0eeb-disp);
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--shelle0eeb-ink);
}

.shelle0eeb-cmp-cell { font-size: 11.8px; color: var(--shelle0eeb-mute); }

.shelle0eeb-cmp-cell b {
  display: block;
  color: var(--shelle0eeb-faintx);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* ---------- relation map ---------- */
.shelle0eeb-rel {
  display: grid;
  gap: 8px;
}

.shelle0eeb-rel-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  padding: 10px 11px;
  background: var(--shelle0eeb-panel);
  border: 1px solid var(--shelle0eeb-line);
  border-radius: var(--shelle0eeb-r);
}

.shelle0eeb-rel-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: var(--shelle0eeb-r);
  background: rgba(123, 104, 238, 0.18);
  border: 1px solid var(--shelle0eeb-line);
  color: var(--shelle0eeb-accent-up);
  font-size: 11px;
  font-weight: 700;
}

.shelle0eeb-rel-item p {
  margin: 0;
  color: var(--shelle0eeb-mute);
  font-size: 12.3px;
}

.shelle0eeb-rel-item p b { color: var(--shelle0eeb-ink); }

/* ---------- extended site footer ---------- */
.shelle0eeb-xfoot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 2px solid var(--shelle0eeb-line);
}

.shelle0eeb-brandnote {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.shelle0eeb-brandnote img {
  width: 42px; height: 42px;
  border-radius: var(--shelle0eeb-r);
  border: 1px solid var(--shelle0eeb-line);
  flex: 0 0 auto;
}

.shelle0eeb-brandnote p {
  margin: 0;
  color: var(--shelle0eeb-mute);
  font-size: 12px;
}

.shelle0eeb-h3 {
  margin: 0 0 9px;
  font-family: var(--shelle0eeb-disp);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c9c3f4;
}

/* sectioned promo list */
.shelle0eeb-promos {
  margin: 0 0 18px;
  border-top: 1px solid var(--shelle0eeb-line);
}

.shelle0eeb-promo {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 48px;
  padding: 8px 4px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--shelle0eeb-line);
  color: var(--shelle0eeb-ink);
  font-size: 12.6px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease;
}

.shelle0eeb-promo:hover { transform: translateY(-2px); color: var(--shelle0eeb-accent-up); }

.shelle0eeb-promo svg { flex: 0 0 auto; color: var(--shelle0eeb-accent); }

.shelle0eeb-promo .shelle0eeb-promo-sub {
  display: block;
  margin-top: 1px;
  color: var(--shelle0eeb-faintx);
  font-size: 10.6px;
  font-weight: 400;
}

/* directory */
.shelle0eeb-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 0 16px;
}

.shelle0eeb-dir a {
  display: block;
  min-height: 44px;
  padding: 9px 10px;
  background: var(--shelle0eeb-panel);
  border: 1px solid var(--shelle0eeb-line);
  border-radius: var(--shelle0eeb-r);
  color: var(--shelle0eeb-mute);
  font-size: 11.4px;
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.shelle0eeb-dir a:hover {
  transform: translateY(-2px);
  border-color: var(--shelle0eeb-accent);
  color: var(--shelle0eeb-ink);
  text-decoration: none;
}

.shelle0eeb-dir a span {
  display: block;
  margin-top: 1px;
  color: var(--shelle0eeb-faintx);
  font-size: 9.6px;
  font-weight: 400;
}

/* disclaimer */
.shelle0eeb-disclaimer {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid var(--shelle0eeb-line);
  border-left: 3px solid var(--shelle0eeb-orchid);
  border-radius: var(--shelle0eeb-r);
  background: rgba(21, 29, 48, 0.65);
  color: var(--shelle0eeb-faintx);
  font-size: 11.2px;
}

/* ---------- common footer ---------- */
.shelle0eeb-foot {
  padding: 0 13px 4px;
  text-align: center;
}

.shelle0eeb-copy {
  margin: 0;
  color: var(--shelle0eeb-faintx);
  font-size: 10.8px;
  letter-spacing: 0.04em;
}

/* ---------- floating dock (mobile bottom nav) ---------- */
.shelle0eeb-dock {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(21, 29, 48, 0.97);
  border-top: 1px solid var(--shelle0eeb-line);
  backdrop-filter: blur(6px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.shelle0eeb-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shelle0eeb-dock-h);
  padding: 7px 2px 6px;
  color: var(--shelle0eeb-faintx);
  font-size: 9.3px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease;
}

.shelle0eeb-dock-item::before {
  /* top indicator line */
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 0; height: 2px;
  transform: translateX(-50%);
  background: var(--shelle0eeb-accent);
  transition: width 0.2s ease;
}

.shelle0eeb-dock-item:hover,
.shelle0eeb-dock-item:focus-visible { color: var(--shelle0eeb-ink); text-decoration: none; }

.shelle0eeb-dock-item svg { width: 21px; height: 21px; }

.shelle0eeb-dock-item.shelle0eeb-on {
  color: var(--shelle0eeb-accent-up);
  transform: translateY(-2px);
}

.shelle0eeb-dock-item.shelle0eeb-on::before { width: 58%; }

/* ---------- short-distance section reveal ---------- */
.shelle0eeb-js .shelle0eeb-reveal {
  opacity: 0.001;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.shelle0eeb-js .shelle0eeb-reveal.shelle0eeb-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- compatible content and accessibility additions ---------- */
:root { --shelle0eeb-neutral: #3c3c3c; --shelle0eeb-bar-h: 64px; }
.shelle0eeb-shell { padding-bottom: calc(var(--shelle0eeb-dock-h) + 22px + env(safe-area-inset-bottom, 0px)); }
.shelle0eeb-topbar { padding-top: env(safe-area-inset-top, 0px); }
.shelle0eeb-main { padding-top: calc(var(--shelle0eeb-bar-h) + 12px + env(safe-area-inset-top, 0px)); padding-bottom: 20px; }
.shelle0eeb-bar { gap: 6px; padding-left: 9px; padding-right: 9px; }
.shelle0eeb-brand > a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; }
.shelle0eeb-brand { gap: 4px; }
.shelle0eeb-name { font-size: 18px; }
.shelle0eeb-actions { gap: 4px; }
.shelle0eeb-actions .shelle0eeb-tbtn { padding: 8px; min-width: 44px; font-size: 10px; letter-spacing: .015em; }
.shelle0eeb-menu { visibility: hidden; max-height: calc(100dvh - var(--shelle0eeb-bar-h) - var(--shelle0eeb-dock-h) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
.shelle0eeb-menu.shelle0eeb-open { visibility: visible; }
.shelle0eeb-menu-link, .shelle0eeb-copy, .shelle0eeb-count, .shelle0eeb-disclaimer { color: #c0c9df; }
.shelle0eeb-intro { margin-top: 0; }
.shelle0eeb-hero { margin-top: 14px; padding-bottom: 44px; }
.shelle0eeb-slide { pointer-events: none; }
.shelle0eeb-slide.shelle0eeb-on { pointer-events: auto; z-index: 1; }
.shelle0eeb-slide-cap { padding: 10px 46px 7px; background: rgba(21, 29, 48, .94); }
.shelle0eeb-slide-kick { display: none; }
.shelle0eeb-banner-text { display: block; color: #fff; font-size: 10.5px; line-height: 1.35; }
.shelle0eeb-hero-arrow { width: 44px; top: calc(50% - 22px); }
.shelle0eeb-dots { left: 4px; right: auto; bottom: 0; }
.shelle0eeb-carousel-pause { position: absolute; right: 6px; bottom: 0; min-height: 44px; padding: 8px; background: transparent; color: #eef1fb; border: 0; font: inherit; font-size: 11px; cursor: pointer; }
.shelle0eeb-card { min-width: 0; min-height: 44px; }
.shelle0eeb-card-name { color: #d2d9ed; }
.shelle0eeb-sec > .shelle0eeb-h2 { margin-bottom: 10px; }
.shelle0eeb-sec > p { color: #c6cfe6; }
.shelle0eeb-main p a, .shelle0eeb-main li > a, .shelle0eeb-main dd a { display: inline-flex; align-items: center; min-height: 44px; padding: 2px 3px; text-decoration: underline; color: #c3baff; }
.shelle0eeb-crumb { display: flex; align-items: center; gap: 9px; color: #c0c9df; font-size: 11px; margin-bottom: 8px; }
.shelle0eeb-crumb a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; padding: 3px; }
.shelle0eeb-evidence { margin: 12px 0; border: 1px solid var(--shelle0eeb-line); background: var(--shelle0eeb-panel); }
.shelle0eeb-evidence dt { padding: 10px 12px 0; color: #eef1fb; font-weight: 700; }
.shelle0eeb-evidence dd { margin: 0; padding: 3px 12px 11px; color: #c0c9df; border-bottom: 1px solid var(--shelle0eeb-line); }
.shelle0eeb-evidence dd:last-child { border-bottom: 0; }
.shelle0eeb-route { list-style: none; counter-reset: shelle0eeb-route; margin: 12px 0; padding: 0; }
.shelle0eeb-route > li { counter-increment: shelle0eeb-route; border-left: 2px solid var(--shelle0eeb-accent); margin: 0 0 15px 10px; padding: 12px 12px 13px 17px; background: var(--shelle0eeb-panel); }
.shelle0eeb-route > li::before { content: counter(shelle0eeb-route, decimal-leading-zero); display: block; color: #c7bfff; font-weight: 800; margin-bottom: 7px; }
.shelle0eeb-route p, .shelle0eeb-mistakes p, .shelle0eeb-branches p, .shelle0eeb-checkpoints p, .shelle0eeb-case p { color: #c6cfe6; }
.shelle0eeb-mistakes { border-top: 1px solid var(--shelle0eeb-line); }
.shelle0eeb-mistakes article { padding: 13px 0 3px; border-bottom: 1px solid var(--shelle0eeb-line); }
.shelle0eeb-branches { display: grid; gap: 12px; margin: 12px 0; }
.shelle0eeb-branches article { padding: 13px; background: var(--shelle0eeb-panel); border-top: 2px solid var(--shelle0eeb-orchid); }
.shelle0eeb-checkpoints { margin: 13px 0; }
.shelle0eeb-checkpoints > div { padding: 12px 12px 4px; margin-bottom: 9px; border: 1px solid var(--shelle0eeb-line); }
.shelle0eeb-step { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 10px; background: var(--shelle0eeb-neutral); color: #fff; font-weight: 700; }
.shelle0eeb-case { padding: 2px 12px; border-left: 3px solid var(--shelle0eeb-orchid); background: rgba(153, 50, 204, .1); }
.shelle0eeb-promo-sub, .shelle0eeb-dir a span { color: #bac5df; }
.shelle0eeb-foot { padding: 10px 13px 4px; }
.shelle0eeb-dock-item { color: #c0c9df; }
.shelle0eeb-dock-item.shelle0eeb-on { color: #c9c0ff; }
.shelle0eeb-js .shelle0eeb-reveal { opacity: 1; }
.shelle0eeb-sec { scroll-margin-top: calc(var(--shelle0eeb-bar-h) + 16px + env(safe-area-inset-top, 0px)); }
a:focus-visible, button:focus-visible { outline: 3px solid #d2caff; outline-offset: 2px; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .shelle0eeb-js .shelle0eeb-reveal {
    opacity: 1;
    transform: none;
  }
}
