/* ==========================================================================
   ph fun casino - adaptive-88187a-visuals.css
   Mobile-first visual system for phfuncasino.click
   Voice: rounded headings over compact body copy, mixed corner radii,
   horizontal icon+name game bars, verdict-first blocks, restrained fades,
   square high-contrast CTAs. Every class uses the shell88187- prefix.
   ========================================================================== */

:root {
  --shell88187-bg: #273746;
  --shell88187-sky: #87CEFA;
  --shell88187-mist: #EEEEEE;
  --shell88187-forest: #006400;
  --shell88187-teal: #48D1CC;
  --shell88187-ice: #E0FFFF;
  --shell88187-panel: rgba(224, 255, 255, 0.05);
  --shell88187-panel-strong: rgba(224, 255, 255, 0.09);
  --shell88187-line: rgba(135, 206, 250, 0.20);
  --shell88187-line-soft: rgba(135, 206, 250, 0.12);
  --shell88187-night: rgba(16, 25, 33, 0.94);
  --shell88187-head-font: ui-rounded, "Hiragino Maru Gothic ProN", "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --shell88187-body-font: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --shell88187-r-lg: 16px;
  --shell88187-r-md: 9px;
  --shell88187-r-sm: 5px;
  --shell88187-r-cta: 3px;
  --shell88187-tap: 44px;
}

/* ---------- base ---------- */

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--shell88187-bg);
  background-image:
    radial-gradient(120% 46% at 50% 0%, rgba(72, 209, 204, 0.10), transparent 62%),
    radial-gradient(90% 34% at 50% 100%, rgba(135, 206, 250, 0.07), transparent 60%);
  color: var(--shell88187-mist);
  font-family: var(--shell88187-body-font);
  font-size: 13px;
  line-height: 1.62;
  min-height: 100vh;
}

body.shell88187-locked { overflow: hidden; }

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

a { color: var(--shell88187-sky); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--shell88187-teal);
  outline-offset: 2px;
}

.shell88187-skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 90;
}
.shell88187-skip:focus {
  left: 8px;
  background: var(--shell88187-ice);
  color: var(--shell88187-bg);
  padding: 8px 12px;
  border-radius: var(--shell88187-r-sm);
  font-weight: 700;
}

::selection { background: var(--shell88187-teal); color: #10201c; }

/* ---------- phone canvas ---------- */

.shell88187-page {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  border-inline: 1px solid var(--shell88187-line-soft);
  background: rgba(15, 24, 32, 0.25);
}

/* ---------- top bar ---------- */

.shell88187-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(31, 46, 58, 0.96);
  border-bottom: 1px solid var(--shell88187-line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.shell88187-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
  text-decoration: none;
}

.shell88187-brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid var(--shell88187-line);
  object-fit: cover;
}

.shell88187-brand-name {
  font-family: var(--shell88187-head-font);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.2px;
  color: var(--shell88187-ice);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.shell88187-btn {
  font-family: var(--shell88187-body-font);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  border-radius: var(--shell88187-r-cta);
  min-height: var(--shell88187-tap);
  padding: 8px 12px;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.shell88187-btn:active { transform: scale(0.96); }

.shell88187-btn-join {
  background: var(--shell88187-forest);
  border: 1px solid rgba(224, 255, 255, 0.35);
  color: var(--shell88187-ice);
}
.shell88187-btn-join:hover { filter: brightness(1.18); text-decoration: none; }

.shell88187-btn-in {
  background: transparent;
  border: 1.5px solid var(--shell88187-sky);
  color: var(--shell88187-sky);
}
.shell88187-btn-in:hover { background: rgba(135, 206, 250, 0.12); text-decoration: none; }

.shell88187-burger {
  width: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--shell88187-panel-strong);
  border: 1px solid var(--shell88187-line);
  border-radius: var(--shell88187-r-sm);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.shell88187-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell88187-ice);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.shell88187-burger.shell88187-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.shell88187-burger.shell88187-open span:nth-child(2) { opacity: 0; }
.shell88187-burger.shell88187-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- slide-up route sheet ---------- */

.shell88187-veil {
  position: fixed;
  inset: 0;
  z-index: 58;
  background: rgba(8, 14, 20, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}
.shell88187-veil.shell88187-open { opacity: 1; visibility: visible; }

.shell88187-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 60;
  width: 100%;
  max-width: 430px;
  transform: translate(-50%, 103%);
  transition: transform 0.28s cubic-bezier(0.22, 0.9, 0.3, 1);
  background: var(--shell88187-night);
  border: 1px solid var(--shell88187-line);
  border-bottom: none;
  border-radius: var(--shell88187-r-lg) var(--shell88187-r-lg) 0 0;
  padding: 12px 12px calc(14px + env(safe-area-inset-bottom, 0px));
  max-height: 78vh;
  overflow-y: auto;
}
.shell88187-sheet.shell88187-open { transform: translate(-50%, 0); }

.shell88187-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 2px 10px;
}

.shell88187-sheet-title {
  margin: 0;
  font-family: var(--shell88187-head-font);
  font-size: 14px;
  font-weight: 800;
  color: var(--shell88187-ice);
}

.shell88187-sheet-close {
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  border: 1px solid var(--shell88187-line);
  background: var(--shell88187-panel-strong);
  color: var(--shell88187-sky);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

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

.shell88187-route {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--shell88187-line-soft);
  border-radius: var(--shell88187-r-md);
  background: var(--shell88187-panel);
  color: var(--shell88187-mist);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
}
.shell88187-route svg { flex: 0 0 auto; }
.shell88187-route:hover {
  border-color: var(--shell88187-teal);
  background: rgba(72, 209, 204, 0.10);
  text-decoration: none;
}
.shell88187-route[aria-current="page"] {
  border-color: var(--shell88187-teal);
  box-shadow: inset 3px 0 0 var(--shell88187-teal);
}

.shell88187-sheet-cta {
  margin-top: 10px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--shell88187-tap);
  background: var(--shell88187-forest);
  border: 1px solid rgba(224, 255, 255, 0.35);
  color: var(--shell88187-ice);
  font-family: var(--shell88187-body-font);
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--shell88187-r-cta);
  cursor: pointer;
}
.shell88187-sheet-cta:active { transform: scale(0.98); }

/* ---------- main flow ---------- */

.shell88187-main {
  padding: 12px 12px calc(96px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.shell88187-block {
  background: var(--shell88187-panel);
  border: 1px solid var(--shell88187-line-soft);
  border-radius: var(--shell88187-r-lg);
  padding: 14px 13px;
}

.shell88187-block > :first-child { margin-top: 0; }
.shell88187-block > :last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--shell88187-head-font);
  color: var(--shell88187-ice);
  margin: 0 0 8px;
  line-height: 1.28;
  text-wrap: balance;
}

h2 {
  font-size: 17.5px;
  font-weight: 800;
  padding-left: 10px;
  border-left: 4px solid var(--shell88187-teal);
}

h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--shell88187-sky);
}

p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }

.shell88187-block strong { color: var(--shell88187-ice); }

.shell88187-block a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(135, 206, 250, 0.55); }

/* ---------- hero ---------- */

.shell88187-hero {
  padding: 16px 14px 14px;
  border-radius: var(--shell88187-r-lg);
  background:
    linear-gradient(160deg, rgba(0, 100, 0, 0.55), rgba(39, 55, 70, 0.2) 46%),
    radial-gradient(120% 90% at 85% 8%, rgba(135, 206, 250, 0.18), transparent 55%);
  border: 1px solid var(--shell88187-line);
}

.shell88187-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shell88187-teal);
  border: 1px solid rgba(72, 209, 204, 0.45);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.shell88187-hero h1 {
  font-size: 23px;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}

.shell88187-hero-sub {
  margin: 0 0 14px;
  color: var(--shell88187-mist);
  font-size: 13px;
}

.shell88187-cta-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shell88187-cta-main {
  flex: 1 1 auto;
  min-height: 48px;
  background: var(--shell88187-forest);
  border: 1px solid rgba(224, 255, 255, 0.4);
  color: var(--shell88187-ice);
  font-size: 14px;
  font-weight: 800;
  border-radius: var(--shell88187-r-cta);
  cursor: pointer;
  font-family: var(--shell88187-body-font);
}
.shell88187-cta-main:active { transform: scale(0.97); }

.shell88187-cta-alt {
  flex: 1 1 auto;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--shell88187-sky);
  color: var(--shell88187-sky);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--shell88187-r-cta);
}
.shell88187-cta-alt:hover { background: rgba(135, 206, 250, 0.12); text-decoration: none; }

/* ---------- promo deck (carousel) ---------- */

.shell88187-deck {
  position: relative;
  border-radius: var(--shell88187-r-lg);
  overflow: hidden;
  border: 1px solid var(--shell88187-line);
  aspect-ratio: 12 / 5;
  background: #16222c;
}

.shell88187-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  cursor: pointer;
  background: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  -webkit-tap-highlight-color: transparent;
}
.shell88187-slide.shell88187-on { opacity: 1; visibility: visible; }
.shell88187-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shell88187-slide-tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  background: rgba(16, 25, 33, 0.82);
  border: 1px solid var(--shell88187-line);
  color: var(--shell88187-ice);
  font-family: var(--shell88187-body-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 5px 9px;
  border-radius: var(--shell88187-r-sm);
  pointer-events: none;
}

.shell88187-dots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.shell88187-dot {
  width: 26px;
  height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}
.shell88187-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(224, 255, 255, 0.45);
  border: 1px solid rgba(224, 255, 255, 0.6);
  transition: width 0.2s ease, background 0.2s ease;
}
.shell88187-dot[aria-selected="true"]::after {
  width: 20px;
  background: var(--shell88187-teal);
  border-color: var(--shell88187-teal);
}

/* ---------- verdict strip ---------- */

.shell88187-verdict {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 375px) {
  .shell88187-verdict { grid-template-columns: 1fr 1fr 1fr; }
}

.shell88187-verdict li {
  background: var(--shell88187-panel-strong);
  border: 1px solid var(--shell88187-line-soft);
  border-radius: var(--shell88187-r-md);
  padding: 10px;
}

.shell88187-verdict b {
  display: block;
  font-family: var(--shell88187-head-font);
  font-size: 12.5px;
  color: var(--shell88187-teal);
  margin-bottom: 4px;
}

.shell88187-verdict span { font-size: 11.5px; line-height: 1.5; color: var(--shell88187-mist); display: block; }

/* ---------- game shelves ---------- */

.shell88187-shelf {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shell88187-shelf-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell88187-mist);
  background: rgba(72, 209, 204, 0.07);
  border-inline-start: 3px solid var(--shell88187-teal);
  border-radius: 0 var(--shell88187-r-sm) var(--shell88187-r-sm) 0;
  padding: 8px 10px;
}
.shell88187-shelf-note a { text-decoration: underline; text-underline-offset: 3px; }

.shell88187-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
@media (min-width: 375px) {
  .shell88187-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.shell88187-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 6px 7px;
  text-align: left;
  background: var(--shell88187-panel-strong);
  border: 1px solid var(--shell88187-line-soft);
  border-radius: var(--shell88187-r-md);
  cursor: pointer;
  color: var(--shell88187-mist);
  font-family: var(--shell88187-body-font);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.shell88187-tile:active {
  transform: scale(0.96);
  border-color: var(--shell88187-teal);
}
.shell88187-tile img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: var(--shell88187-r-sm);
  object-fit: cover;
  background: #16222c;
}
.shell88187-tile-name {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.22;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-width: 0;
}

/* ---------- prose helpers ---------- */

.shell88187-kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--shell88187-teal);
  margin-bottom: 6px;
}

.shell88187-verdict-line {
  background: rgba(135, 206, 250, 0.10);
  border: 1px dashed rgba(135, 206, 250, 0.4);
  border-radius: var(--shell88187-r-md);
  padding: 9px 11px;
  font-size: 12.5px;
  color: var(--shell88187-ice);
  margin: 0 0 10px;
}

/* comparison matrix: stacked rows, safe at 320px */
.shell88187-matrix {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 10px 0;
}

.shell88187-matrix-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  background: var(--shell88187-panel-strong);
  border: 1px solid var(--shell88187-line-soft);
  border-radius: var(--shell88187-r-md);
  padding: 9px 10px;
}

.shell88187-matrix-key {
  font-family: var(--shell88187-head-font);
  font-size: 12px;
  font-weight: 800;
  color: var(--shell88187-sky);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.shell88187-matrix-row p { margin: 0; font-size: 12px; }

/* steps */
.shell88187-steps {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: shell88187-step;
}

.shell88187-steps li {
  counter-increment: shell88187-step;
  position: relative;
  padding: 8px 10px 8px 40px;
  background: var(--shell88187-panel-strong);
  border: 1px solid var(--shell88187-line-soft);
  border-radius: var(--shell88187-r-md);
  font-size: 12.5px;
}
.shell88187-steps li::before {
  content: counter(shell88187-step);
  position: absolute;
  left: 10px;
  top: 9px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: var(--shell88187-forest);
  border: 1px solid rgba(224, 255, 255, 0.4);
  color: var(--shell88187-ice);
  border-radius: var(--shell88187-r-sm);
  font-family: var(--shell88187-head-font);
  font-size: 11.5px;
  font-weight: 800;
}
.shell88187-steps b { color: var(--shell88187-ice); }

/* faq */
.shell88187-faq { display: flex; flex-direction: column; gap: 7px; }

.shell88187-faq details {
  background: var(--shell88187-panel-strong);
  border: 1px solid var(--shell88187-line-soft);
  border-radius: var(--shell88187-r-md);
  overflow: hidden;
}

.shell88187-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  min-height: var(--shell88187-tap);
  font-family: var(--shell88187-head-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--shell88187-ice);
}
.shell88187-faq summary::-webkit-details-marker { display: none; }
.shell88187-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--shell88187-line);
  border-radius: 50%;
  color: var(--shell88187-teal);
  font-size: 14px;
  font-weight: 800;
}
.shell88187-faq details[open] summary::after { content: "\2212"; }
.shell88187-faq details[open] summary { border-bottom: 1px solid var(--shell88187-line-soft); }
.shell88187-faq details > p { padding: 10px 12px; margin: 0; font-size: 12.5px; }

/* ---------- extended home footer ---------- */

.shell88187-xfoot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 2px solid var(--shell88187-line);
  padding-top: 16px;
}

.shell88187-xfoot h2 { border-left-color: var(--shell88187-sky); font-size: 15px; }

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

.shell88187-xfoot-page {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 7px 9px;
  border: 1px solid var(--shell88187-line-soft);
  border-radius: var(--shell88187-r-md);
  background: var(--shell88187-panel);
  color: var(--shell88187-mist);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
}
.shell88187-xfoot-page svg { flex: 0 0 auto; color: var(--shell88187-teal); }
.shell88187-xfoot-page:hover { border-color: var(--shell88187-sky); text-decoration: none; color: var(--shell88187-ice); }

.shell88187-xfoot-brand {
  font-size: 12px;
  color: var(--shell88187-mist);
  border-inline-start: 3px solid var(--shell88187-teal);
  padding: 2px 0 2px 10px;
}

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

.shell88187-xpromo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shell88187-tap);
  padding: 8px 10px;
  background: rgba(0, 100, 0, 0.32);
  border: 1px solid rgba(135, 206, 250, 0.35);
  border-radius: var(--shell88187-r-md);
  color: var(--shell88187-ice);
  font-family: var(--shell88187-body-font);
  font-size: 11.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease;
}
.shell88187-xpromo:active { transform: scale(0.97); }
.shell88187-xpromo svg { flex: 0 0 auto; color: var(--shell88187-sky); }
.shell88187-xpromo:nth-child(even) { background: rgba(72, 209, 204, 0.14); border-color: rgba(72, 209, 204, 0.4); }

.shell88187-xfoot-note {
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(238, 238, 238, 0.72);
  background: var(--shell88187-panel);
  border: 1px dashed var(--shell88187-line);
  border-radius: var(--shell88187-r-md);
  padding: 9px 11px;
}

/* ---------- common end bar + dock ---------- */

.shell88187-endbar {
  text-align: center;
  padding: 10px 12px calc(18px + env(safe-area-inset-bottom, 0px));
  font-size: 11px;
  color: rgba(238, 238, 238, 0.66);
  border-top: 1px solid var(--shell88187-line-soft);
}

.shell88187-dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 55;
  width: 100%;
  max-width: 430px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(18, 28, 37, 0.97);
  border-top: 1px solid var(--shell88187-line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.shell88187-dock-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 56px;
  padding: 6px 2px 7px;
  background: none;
  border: none;
  border-top: 2px solid transparent;
  color: rgba(238, 238, 238, 0.68);
  font-family: var(--shell88187-body-font);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease, transform 0.15s ease;
}
.shell88187-dock-link:active { transform: translateY(1px); }
.shell88187-dock-link:hover { color: var(--shell88187-ice); text-decoration: none; }

.shell88187-dock-link svg { width: 21px; height: 21px; }

.shell88187-dock-link.shell88187-dock-on {
  color: var(--shell88187-teal);
  border-top-color: var(--shell88187-teal);
  transform: translateY(-2px);
}

.shell88187-dock-link.shell88187-dock-cta {
  color: var(--shell88187-ice);
}
.shell88187-dock-link.shell88187-dock-cta svg { color: var(--shell88187-sky); }

/* ---------- restrained reveal (JS-gated) ---------- */

.shell88187-js .shell88187-fade {
  opacity: 0;
  transform: translateY(10px);
}
.shell88187-js .shell88187-fade.shell88187-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ---------- motion and contrast preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .shell88187-js .shell88187-fade { opacity: 1; transform: none; }
}

/* ---------- small phones ---------- */

@media (max-width: 339px) {
  .shell88187-brand-name { font-size: 13.5px; max-width: 96px; }
  .shell88187-btn { padding: 8px 9px; font-size: 11px; }
  .shell88187-tile-name { font-size: 10.5px; }
  .shell88187-hero h1 { font-size: 21px; }
}

/* ---------- help pages: device board, packing list, branches, lanes ---------- */

.shell88187-shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--shell88187-line);
  border-radius: var(--shell88187-r-md) var(--shell88187-r-sm) var(--shell88187-r-lg) var(--shell88187-r-sm);
  overflow: hidden;
  cursor: pointer;
  background: #16222c;
  -webkit-tap-highlight-color: transparent;
}
.shell88187-shot img {
  width: 100%;
  height: 132px;
  object-fit: cover;
}
.shell88187-shot span {
  display: flex;
  align-items: center;
  min-height: var(--shell88187-tap);
  padding: 8px 10px;
  background: var(--shell88187-forest);
  color: var(--shell88187-ice);
  font-family: var(--shell88187-body-font);
  font-size: 12.5px;
  font-weight: 800;
}

.shell88187-diag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 10px 0;
}
.shell88187-diag article {
  background: var(--shell88187-panel-strong);
  border: 1px solid var(--shell88187-line-soft);
  border-radius: var(--shell88187-r-lg) var(--shell88187-r-sm) var(--shell88187-r-md) var(--shell88187-r-sm);
  padding: 8px 9px;
  min-height: 88px;
}
.shell88187-diag h3 { margin-bottom: 4px; font-size: 13px; }
.shell88187-diag p { margin: 0; font-size: 12px; }

.shell88187-pack {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.shell88187-pack li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  background: rgba(135, 206, 250, 0.06);
  border-radius: var(--shell88187-r-sm);
  padding: 8px;
  font-size: 12.5px;
}
.shell88187-pack b {
  font-family: var(--shell88187-head-font);
  color: var(--shell88187-teal);
  font-size: 12px;
}

.shell88187-branch {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}
.shell88187-branch div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  border-top: 1px solid var(--shell88187-line-soft);
  padding-top: 7px;
}
.shell88187-branch strong {
  font-family: var(--shell88187-head-font);
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--shell88187-sky);
}

.shell88187-lanes {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  margin: 10px 0;
}
.shell88187-lanes article {
  flex: 0 0 78%;
  scroll-snap-align: start;
  background: var(--shell88187-panel-strong);
  border: 1px solid var(--shell88187-line);
  border-radius: var(--shell88187-r-sm);
  padding: 10px;
}
.shell88187-lanes h3 { margin-bottom: 4px; }
.shell88187-lanes p { margin: 0; font-size: 12.5px; }

.shell88187-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--shell88187-tap);
  margin-top: 8px;
  padding: 8px 12px;
  background: transparent;
  border: 1.5px solid var(--shell88187-teal);
  border-radius: var(--shell88187-r-cta);
  color: var(--shell88187-ice);
  font-family: var(--shell88187-body-font);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.shell88187-go:active { transform: scale(0.98); }

/* ---------- help pages: exceptions, timeline, split, faults ---------- */

.shell88187-exception {
  margin: 8px 0;
  padding: 9px 11px;
  border-left: 4px solid var(--shell88187-sky);
  border-radius: 0 var(--shell88187-r-md) var(--shell88187-r-sm) 0;
  background: rgba(135, 206, 250, 0.08);
  font-size: 12.5px;
}
.shell88187-exception b { display: block; color: var(--shell88187-ice); margin-bottom: 3px; }

.shell88187-timeline {
  list-style: none;
  margin: 10px 0 0;
  padding: 0 0 0 14px;
  border-left: 2px solid var(--shell88187-teal);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.shell88187-timeline li { position: relative; font-size: 12.5px; }
.shell88187-timeline li::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--shell88187-forest);
  border: 2px solid var(--shell88187-teal);
}

.shell88187-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 10px 0;
}
.shell88187-split section {
  border: 1px solid var(--shell88187-line);
  border-radius: var(--shell88187-r-sm) var(--shell88187-r-lg) var(--shell88187-r-sm) var(--shell88187-r-md);
  padding: 10px;
  background: var(--shell88187-panel-strong);
}
.shell88187-split h3 { margin-bottom: 4px; }
.shell88187-split p { margin: 0; font-size: 12.5px; }

.shell88187-fault {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 10px 0;
  font-size: 12px;
}
.shell88187-fault th,
.shell88187-fault td {
  text-align: left;
  vertical-align: top;
  padding: 8px 6px;
  border-bottom: 1px solid var(--shell88187-line-soft);
  overflow-wrap: break-word;
}
.shell88187-fault th {
  font-family: var(--shell88187-head-font);
  color: var(--shell88187-teal);
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.shell88187-banner {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 1px solid var(--shell88187-line);
  border-radius: var(--shell88187-r-sm);
  overflow: hidden;
  background: #16222c;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.shell88187-banner img {
  width: 108px;
  height: 84px;
  object-fit: cover;
}
.shell88187-banner span {
  padding-right: 8px;
  color: var(--shell88187-ice);
  font-family: var(--shell88187-body-font);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.3;
}
