/* ==========================================================================
   phdream111.click - base stylesheet
   File : css/native-a01555-viewport.css
   Design language: stroke-led restrained corners, monospace accent labels,
   outlined tile game cards, step-progress information rhythm,
   icon-state micro motion, light-rounded text CTA groups.
   Canvas: 320-430px mobile first, centered shell on wide screens.
   ========================================================================== */

:root {
  --shell01555-ink: #1C2833;
  --shell01555-deep: #141d26;
  --shell01555-panel: #22323f;
  --shell01555-panel-soft: #1b2a37;
  --shell01555-blush: #FFB6C1;
  --shell01555-lilac: #FFB3FF;
  --shell01555-coral: #F08080;
  --shell01555-azure: #1E90FF;
  --shell01555-paper: #EFF5FA;
  --shell01555-muted: #9FB4C6;
  --shell01555-line: rgba(30, 144, 255, 0.32);
  --shell01555-line-soft: rgba(255, 182, 193, 0.20);
  --shell01555-hairline: rgba(255, 182, 193, 0.13);
  --shell01555-radius: 8px;
  --shell01555-radius-lg: 12px;
  --shell01555-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Roboto Mono", monospace;
  --shell01555-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shell01555-dock-space: 96px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--shell01555-deep);
  color: var(--shell01555-paper);
  font-family: var(--shell01555-sans);
  font-size: 14px;
  line-height: 1.62;
}

body.shell01555-menu-shown { overflow: hidden; }

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

a { color: var(--shell01555-azure); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--shell01555-lilac);
  outline-offset: 2px;
  border-radius: 6px;
}

button {
  font-family: var(--shell01555-mono);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Phone canvas shell: keeps a stable 320-430px column on wide screens.
   -------------------------------------------------------------------------- */

.shell01555-canvas {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell01555-ink);
  border-left: 1px solid rgba(30, 144, 255, 0.16);
  border-right: 1px solid rgba(30, 144, 255, 0.16);
  overflow-x: hidden;
}

.shell01555-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 120;
  background: var(--shell01555-azure);
  color: #0b1723;
  font-family: var(--shell01555-mono);
  font-size: 12px;
  padding: 10px 14px;
  border-radius: var(--shell01555-radius);
  text-decoration: none;
}

.shell01555-skip:focus { left: 10px; top: 10px; }

/* --------------------------------------------------------------------------
   Header: centered identity bar + separate action strip.
   -------------------------------------------------------------------------- */

.shell01555-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(28, 40, 51, 0.97);
  border-bottom: 1px solid var(--shell01555-line);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.shell01555-idbar {
  display: grid;
  grid-template-columns: 56px 1fr 64px;
  align-items: center;
  min-height: 58px;
}

.shell01555-menubtn {
  justify-self: start;
  margin-left: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--shell01555-line-soft);
  border-radius: var(--shell01555-radius);
  display: grid;
  place-items: center;
}

.shell01555-burger,
.shell01555-burger::before,
.shell01555-burger::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell01555-blush);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.shell01555-burger { position: relative; }
.shell01555-burger::before,
.shell01555-burger::after { content: ""; position: absolute; left: 0; }
.shell01555-burger::before { top: -6px; }
.shell01555-burger::after { top: 6px; }

.shell01555-menubtn[aria-expanded="true"] .shell01555-burger { background: transparent; }
.shell01555-menubtn[aria-expanded="true"] .shell01555-burger::before {
  top: 0;
  transform: rotate(45deg);
}
.shell01555-menubtn[aria-expanded="true"] .shell01555-burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.shell01555-brand {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--shell01555-paper);
  min-height: 44px;
}

.shell01555-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--shell01555-radius);
  border: 1px solid var(--shell01555-line);
  object-fit: cover;
}

.shell01555-wordmark {
  font-family: var(--shell01555-mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--shell01555-blush);
  white-space: nowrap;
}

.shell01555-loginbtn {
  justify-self: end;
  margin-right: 10px;
  min-width: 60px;
  height: 44px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--shell01555-azure);
  border-radius: var(--shell01555-radius);
  color: #D6EBFF;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: background-color 0.18s ease;
}

.shell01555-loginbtn:active { background: rgba(30, 144, 255, 0.16); }

.shell01555-ctastrip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 0 12px 11px;
}

.shell01555-registerbtn {
  height: 44px;
  padding: 0 14px;
  background: var(--shell01555-azure);
  border: 1px solid #6FB6FF;
  border-radius: 10px;
  color: #0A1826;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: transform 0.15s ease;
}

.shell01555-registerbtn:active { transform: translateY(1px); }

.shell01555-headhint {
  font-family: var(--shell01555-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shell01555-muted);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Sectioned menu page (overlay).
   -------------------------------------------------------------------------- */

.shell01555-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100%;
  max-width: 480px;
  z-index: 60;
  overflow-y: auto;
  background: rgba(20, 29, 38, 0.99);
  border-left: 1px solid var(--shell01555-line);
  border-right: 1px solid var(--shell01555-line);
  padding: 14px 16px 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s;
}

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

.shell01555-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--shell01555-line);
}

.shell01555-menu-title {
  font-family: var(--shell01555-mono);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--shell01555-lilac);
  margin: 0;
}

.shell01555-menu-close {
  height: 40px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid var(--shell01555-line-soft);
  border-radius: var(--shell01555-radius);
  color: var(--shell01555-blush);
  font-size: 12px;
}

.shell01555-menu-group { margin: 0 0 20px; }

.shell01555-menu-label {
  font-family: var(--shell01555-mono);
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--shell01555-coral);
  margin: 0 0 8px;
}

.shell01555-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.shell01555-menu-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--shell01555-paper);
  font-size: 13.5px;
  background: rgba(30, 144, 255, 0.05);
  border: 1px solid var(--shell01555-line-soft);
  border-radius: var(--shell01555-radius);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.shell01555-menu-link::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--shell01555-azure);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s ease;
}

.shell01555-menu-link:hover,
.shell01555-menu-link:focus-visible,
.shell01555-menu-link[aria-current="page"] {
  border-color: var(--shell01555-azure);
  color: #FFFFFF;
}

.shell01555-menu-link:hover::before,
.shell01555-menu-link:focus-visible::before,
.shell01555-menu-link[aria-current="page"]::before {
  transform: scaleX(1);
}

.shell01555-menu-route {
  font-family: var(--shell01555-mono);
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--shell01555-muted);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Main column + bottom safety space under the floating dock.
   -------------------------------------------------------------------------- */

.shell01555-main {
  padding: 18px 14px 0;
  padding-bottom: calc(var(--shell01555-dock-space) + env(safe-area-inset-bottom, 0px));
}

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

/* --------------------------------------------------------------------------
   Intro block: eyebrow, H1, lede, mono stat chips.
   -------------------------------------------------------------------------- */

.shell01555-eyebrow {
  font-family: var(--shell01555-mono);
  font-size: 11px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--shell01555-lilac);
  margin: 0 0 8px;
}

.shell01555-h1 {
  font-size: 22px;
  line-height: 1.28;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}

.shell01555-lede {
  font-size: 14px;
  color: var(--shell01555-paper);
  margin: 0;
}

.shell01555-statline {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
}

.shell01555-statline li {
  font-family: var(--shell01555-mono);
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--shell01555-blush);
  border: 1px solid var(--shell01555-line-soft);
  border-radius: 6px;
  background: rgba(255, 182, 193, 0.06);
  padding: 6px 10px;
}

/* --------------------------------------------------------------------------
   Banner carousel: cross-fading slides + arrow/dot controls.
   -------------------------------------------------------------------------- */

.shell01555-carousel {
  position: relative;
  aspect-ratio: 720 / 270;
  border: 1px solid var(--shell01555-line);
  border-radius: var(--shell01555-radius-lg);
  overflow: hidden;
  background: var(--shell01555-panel-soft);
}

.shell01555-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.shell01555-slide.shell01555-on { opacity: 1; z-index: 1; }

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

.shell01555-slide-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  font-family: var(--shell01555-mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shell01555-blush);
  background: rgba(20, 29, 38, 0.85);
  border: 1px solid var(--shell01555-line-soft);
  border-radius: 6px;
  padding: 5px 9px;
}

.shell01555-car-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}

.shell01555-car-arrow {
  width: 44px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--shell01555-line-soft);
  border-radius: var(--shell01555-radius);
  color: var(--shell01555-blush);
  font-size: 16px;
  line-height: 1;
}

.shell01555-car-arrow:active { background: rgba(30, 144, 255, 0.14); }

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

.shell01555-dot {
  width: 30px;
  height: 30px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--shell01555-line-soft);
  border-radius: 7px;
  position: relative;
}

.shell01555-dot::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 2px;
  background: rgba(255, 182, 193, 0.35);
  transition: background-color 0.2s ease;
}

.shell01555-dot.shell01555-on { border-color: var(--shell01555-azure); }
.shell01555-dot.shell01555-on::before { background: var(--shell01555-azure); }

/* --------------------------------------------------------------------------
   Section kickers: step number badge + heading (step-progress rhythm).
   -------------------------------------------------------------------------- */

.shell01555-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
}

.shell01555-stepnum {
  flex: 0 0 auto;
  font-family: var(--shell01555-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--shell01555-coral);
  border: 1px solid rgba(240, 128, 128, 0.45);
  border-radius: 5px;
  padding: 3px 7px;
  background: rgba(240, 128, 128, 0.07);
}

.shell01555-h2 {
  font-size: 17.5px;
  line-height: 1.3;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.1px;
}

.shell01555-cat-note {
  font-size: 13px;
  color: var(--shell01555-muted);
  margin: 0 0 12px;
}

.shell01555-related {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
}

.shell01555-related a {
  display: inline-block;
  font-family: var(--shell01555-mono);
  font-size: 11.5px;
  letter-spacing: 0.3px;
  color: #BFDEFF;
  text-decoration: none;
  border: 1px solid var(--shell01555-line);
  border-radius: 7px;
  background: rgba(30, 144, 255, 0.06);
  padding: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.18s ease;
}

.shell01555-related a:active { border-color: var(--shell01555-lilac); }

/* --------------------------------------------------------------------------
   Game grid: outlined tile cards. 4 columns on 320px, 4-5 columns wider.
   -------------------------------------------------------------------------- */

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

.shell01555-tile {
  display: block;
  padding: 5px 5px 7px;
  text-decoration: none;
  background: var(--shell01555-panel-soft);
  border: 1px solid var(--shell01555-line-soft);
  border-radius: var(--shell01555-radius);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.shell01555-tile:active {
  border-color: var(--shell01555-azure);
  background: rgba(30, 144, 255, 0.09);
}

.shell01555-tile-frame {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 182, 193, 0.05);
}

.shell01555-tile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.18s ease;
}

.shell01555-tile:active .shell01555-tile-frame img { transform: scale(1.06); }

.shell01555-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  min-height: 28px;
  font-size: 10.5px;
  line-height: 1.3;
  text-align: center;
  color: var(--shell01555-paper);
}

.shell01555-grid-more {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-family: var(--shell01555-mono);
  font-size: 10.5px;
  letter-spacing: 0.6px;
  color: var(--shell01555-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Content modules.
   A) Feature ledger: hairline definition rows, mono metric column.
   -------------------------------------------------------------------------- */

.shell01555-module { margin: 0 0 28px; }

.shell01555-modintro {
  font-size: 13.5px;
  color: var(--shell01555-paper);
  margin: 0 0 12px;
}

.shell01555-featrow {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--shell01555-hairline);
}

.shell01555-featrow:first-of-type { border-top: 0; padding-top: 2px; }

.shell01555-featkey {
  font-family: var(--shell01555-mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--shell01555-lilac);
  line-height: 1.55;
  padding-top: 3px;
}

.shell01555-featval {
  margin: 0;
  font-size: 13.5px;
  color: var(--shell01555-paper);
}

/* --------------------------------------------------------------------------
   B) Play style ladder: coral left rail + mono index.
   -------------------------------------------------------------------------- */

.shell01555-stylerow {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  margin: 0 0 10px;
  padding: 12px 12px 12px 14px;
  border-left: 2px solid var(--shell01555-coral);
  border-radius: 0 var(--shell01555-radius) var(--shell01555-radius) 0;
  background: rgba(240, 128, 128, 0.05);
}

.shell01555-styletag {
  font-family: var(--shell01555-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--shell01555-coral);
  line-height: 1.2;
}

.shell01555-stylename {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 4px;
}

.shell01555-styleval {
  margin: 0;
  font-size: 13px;
  color: var(--shell01555-muted);
}

.shell01555-styleval a { color: #8FC7FF; }

/* --------------------------------------------------------------------------
   C) RTP panel: bordered panel with mono worked-example strip.
   -------------------------------------------------------------------------- */

.shell01555-panel {
  border: 1px solid var(--shell01555-line);
  border-radius: var(--shell01555-radius-lg);
  background: var(--shell01555-panel-soft);
  padding: 16px 14px;
  margin: 0 0 28px;
}

.shell01555-h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--shell01555-blush);
  margin: 16px 0 6px;
}

.shell01555-h3:first-child { margin-top: 0; }

.shell01555-panel p { margin: 0 0 10px; font-size: 13.5px; }

.shell01555-mathline {
  font-family: var(--shell01555-mono);
  font-size: 12px;
  line-height: 1.8;
  color: var(--shell01555-blush);
  border: 1px dashed rgba(255, 182, 193, 0.38);
  border-radius: var(--shell01555-radius);
  background: rgba(255, 182, 193, 0.05);
  padding: 10px 12px;
  margin: 10px 0 12px;
}

/* --------------------------------------------------------------------------
   D) Decision checklist: numbered outlined squares.
   -------------------------------------------------------------------------- */

.shell01555-checkrow {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px solid rgba(30, 144, 255, 0.16);
}

.shell01555-checkrow:last-child { border-bottom: 0; }

.shell01555-checknum {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  font-family: var(--shell01555-mono);
  font-size: 12px;
  font-weight: 700;
  color: #DFF0FF;
  border: 1.5px solid var(--shell01555-azure);
  border-radius: 6px;
  background: rgba(30, 144, 255, 0.08);
}

.shell01555-checkval {
  margin: 0;
  font-size: 13.5px;
  color: var(--shell01555-paper);
}

/* --------------------------------------------------------------------------
   Extended footer: directory > brand > promo shortcuts > disclaimer.
   -------------------------------------------------------------------------- */

.shell01555-ext {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--shell01555-line);
}

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

.shell01555-dirlist a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-height: 56px;
  padding: 10px 11px;
  text-decoration: none;
  background: rgba(30, 144, 255, 0.05);
  border: 1px solid var(--shell01555-line-soft);
  border-radius: var(--shell01555-radius);
  transition: border-color 0.18s ease;
}

.shell01555-dirlist a:active { border-color: var(--shell01555-azure); }

.shell01555-dirname {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell01555-blush);
  line-height: 1.3;
}

.shell01555-dirdesc {
  font-family: var(--shell01555-mono);
  font-size: 10px;
  letter-spacing: 0.4px;
  color: var(--shell01555-muted);
  line-height: 1.45;
}

.shell01555-ext-brand {
  margin: 0 0 24px;
}

.shell01555-brandnote {
  font-size: 13px;
  color: var(--shell01555-muted);
  margin: 0;
}

.shell01555-promorow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 2px 0 8px;
  margin: 0 0 22px;
}

.shell01555-promochip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 14px;
  font-family: var(--shell01555-mono);
  font-size: 12px;
  letter-spacing: 0.3px;
  color: #EAF4FF;
  text-decoration: none;
  border: 1px solid var(--shell01555-azure);
  border-radius: 10px;
  background: rgba(30, 144, 255, 0.10);
  transition: background-color 0.18s ease;
}

.shell01555-promochip:active { background: rgba(30, 144, 255, 0.22); }

.shell01555-promoarrow { color: var(--shell01555-lilac); font-size: 13px; }

.shell01555-disclaimer {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--shell01555-muted);
  border: 1px dashed rgba(240, 128, 128, 0.4);
  border-radius: var(--shell01555-radius);
  padding: 11px 13px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Common footer line.
   -------------------------------------------------------------------------- */

.shell01555-foot {
  padding: 16px 14px 10px;
  border-top: 1px solid var(--shell01555-hairline);
  text-align: center;
}

.shell01555-foot p {
  margin: 0;
  font-family: var(--shell01555-mono);
  font-size: 10.5px;
  letter-spacing: 0.8px;
  color: var(--shell01555-muted);
}

/* --------------------------------------------------------------------------
   Floating dock bar: 5 roles, containerized icon tiles, top indicator line.
   -------------------------------------------------------------------------- */

.shell01555-dock {
  position: fixed;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(452px, calc(100% - 20px));
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 6px 4px;
  background: rgba(23, 34, 44, 0.97);
  border: 1px solid var(--shell01555-line);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.shell01555-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 54px;
  padding: 6px 2px 4px;
  text-decoration: none;
  border-radius: 10px;
}

.shell01555-dock-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24%;
  right: 24%;
  height: 2px;
  border-radius: 2px;
  background: var(--shell01555-blush);
  transform: scaleX(0);
  transition: transform 0.26s ease;
}

.shell01555-dock-item.shell01555-is-active::before { transform: scaleX(1); }

.shell01555-dock-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--shell01555-line-soft);
  border-radius: 9px;
  background: rgba(255, 182, 193, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.shell01555-dock-ico svg {
  width: 16px;
  height: 16px;
  stroke: var(--shell01555-blush);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shell01555-dock-item:active .shell01555-dock-ico {
  transform: translateY(-2px);
  border-color: var(--shell01555-azure);
}

.shell01555-dock-item:active .shell01555-dock-ico svg { stroke: #FFFFFF; }

.shell01555-dock-label {
  font-family: var(--shell01555-mono);
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--shell01555-muted);
}

.shell01555-dock-item.shell01555-is-active .shell01555-dock-label {
  color: var(--shell01555-blush);
}

.shell01555-dock-item.shell01555-is-active .shell01555-dock-ico {
  border-color: rgba(255, 182, 193, 0.55);
}

/* --------------------------------------------------------------------------
   Breakpoints: 375px tightens gaps, 430px widens the game grid to 5 columns.
   -------------------------------------------------------------------------- */

@media (min-width: 375px) {
  .shell01555-grid { gap: 10px; }
  .shell01555-main { padding-left: 16px; padding-right: 16px; }
  .shell01555-h1 { font-size: 23px; }
  .shell01555-h2 { font-size: 18.5px; }
}

@media (min-width: 430px) {
  .shell01555-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; }
  .shell01555-h1 { font-size: 25px; }
  .shell01555-h2 { font-size: 19px; }
  .shell01555-dirlist { gap: 10px; }
  .shell01555-tile-name { font-size: 11px; }
}

/* --------------------------------------------------------------------------
   Inner pages: step rail, spec stack, prep notes, text buttons,
   diagnostics, mistake notes, device rows, and scenario answers.
   Typography stays on the shared canvas; these blocks are not the
   homepage ledger, ladder, or checklist.
   -------------------------------------------------------------------------- */

.shell01555-canvas { overflow-wrap: break-word; }

.shell01555-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

.shell01555-textbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--shell01555-azure);
  border-radius: 10px;
  background: transparent;
  color: #D6EBFF;
  font-family: var(--shell01555-mono);
  font-size: 12.5px;
  letter-spacing: 0.2px;
  text-decoration: none;
  text-align: center;
}

.shell01555-textbtn:active { background: rgba(30, 144, 255, 0.18); }

.shell01555-rail {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shell01555-rail-item {
  margin: 0 0 12px;
  padding: 12px 12px 12px 14px;
  border: 1px solid var(--shell01555-line-soft);
  border-left: 3px solid var(--shell01555-azure);
  border-radius: 0 var(--shell01555-radius) var(--shell01555-radius) 0;
  background: rgba(30, 144, 255, 0.05);
}

.shell01555-rail-k {
  margin: 0 0 4px;
  font-family: var(--shell01555-mono);
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--shell01555-azure);
}

.shell01555-rail-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #FFFFFF;
}

.shell01555-rail-item p { margin: 0; font-size: 13.5px; }

.shell01555-spec { margin: 0; padding: 0; list-style: none; }

.shell01555-spec-item {
  padding: 11px 0;
  border-bottom: 1px solid var(--shell01555-hairline);
}

.shell01555-spec-item:last-child { border-bottom: 0; }

.shell01555-spec-k {
  display: block;
  margin: 0 0 4px;
  font-family: var(--shell01555-mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--shell01555-lilac);
}

.shell01555-spec-v { margin: 0; font-size: 13.5px; }

.shell01555-prep {
  margin: 0 0 10px;
  padding: 12px 14px;
  border: 1px solid var(--shell01555-line);
  border-radius: var(--shell01555-radius-lg);
  background: var(--shell01555-panel-soft);
}

.shell01555-prep h3 {
  margin: 0 0 6px;
  font-size: 14.5px;
  color: var(--shell01555-blush);
}

.shell01555-prep p { margin: 0; font-size: 13.5px; }

.shell01555-jumps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.shell01555-jumps a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--shell01555-paper);
  border: 1px solid var(--shell01555-line);
  border-radius: 10px;
  background: rgba(255, 179, 255, 0.04);
}

.shell01555-jumps a:active { border-color: var(--shell01555-lilac); }

.shell01555-diag {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid var(--shell01555-line-soft);
  border-radius: var(--shell01555-radius);
  background: rgba(28, 40, 51, 0.35);
}

.shell01555-diag-k {
  font-family: var(--shell01555-mono);
  font-size: 10.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--shell01555-coral);
}

.shell01555-diag p { margin: 0; font-size: 13.5px; }

.shell01555-miss {
  margin: 0 0 10px;
  padding: 12px 12px 12px 14px;
  border-radius: var(--shell01555-radius);
  background: rgba(240, 128, 128, 0.06);
  border: 1px dashed rgba(240, 128, 128, 0.45);
}

.shell01555-miss h3 {
  margin: 0 0 4px;
  font-size: 14.5px;
  color: #FFFFFF;
}

.shell01555-miss p { margin: 0; font-size: 13.5px; }

.shell01555-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: shell01555flow;
}

.shell01555-flow li {
  position: relative;
  margin: 0 0 10px;
  padding: 12px 12px 12px 50px;
  min-height: 44px;
  border-radius: var(--shell01555-radius);
  background: rgba(255, 179, 255, 0.05);
  border: 1px solid var(--shell01555-line-soft);
  font-size: 13.5px;
}

.shell01555-flow li::before {
  counter-increment: shell01555flow;
  content: counter(shell01555flow);
  position: absolute;
  left: 10px;
  top: 12px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-family: var(--shell01555-mono);
  font-size: 12px;
  color: var(--shell01555-lilac);
  border: 1px solid rgba(255, 179, 255, 0.5);
  border-radius: 6px;
}

.shell01555-device {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--shell01555-hairline);
}

.shell01555-device:first-of-type { border-top: 0; }

.shell01555-device-k {
  font-family: var(--shell01555-mono);
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--shell01555-blush);
  padding-top: 2px;
}

.shell01555-device p { margin: 0; font-size: 13.5px; }

.shell01555-qa {
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--shell01555-line-soft);
}

.shell01555-qa h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--shell01555-blush);
}

.shell01555-qa p { margin: 0; font-size: 13.5px; }

.shell01555-judge {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: var(--shell01555-radius);
  border: 1px solid var(--shell01555-line);
  background: rgba(30, 144, 255, 0.06);
  font-size: 13.5px;
}

.shell01555-fine {
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--shell01555-muted);
}

/* --------------------------------------------------------------------------
   Accessibility: honor reduced-motion preferences.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
