/* ==========================================================================
   AH777 mobile shell stylesheet
   Site: ah777.homes | canvas: 320-430px phone frame, centered on wide screens
   All classes and variables carry the shellbccb3- prefix.
   Palette anchors: #0E1621 ink / #E5E5E5 text / #6A5ACD violet /
   #B03060 maroon / #CD5C5C coral / #DDA0DD plum
   ========================================================================== */

:root {
  --shellbccb3-ink: #0E1621;
  --shellbccb3-ink-deep: #07090D;
  --shellbccb3-panel: #131E2C;
  --shellbccb3-panel-2: #182435;
  --shellbccb3-line: rgba(221, 160, 221, 0.16);
  --shellbccb3-line-strong: rgba(221, 160, 221, 0.34);
  --shellbccb3-text: #E5E5E5;
  --shellbccb3-text-soft: #C7D0DD;
  --shellbccb3-muted: #A3AFBF;
  --shellbccb3-violet: #6A5ACD;
  --shellbccb3-maroon: #B03060;
  --shellbccb3-coral: #CD5C5C;
  --shellbccb3-coral-soft: #E08585;
  --shellbccb3-plum: #DDA0DD;
  --shellbccb3-font-head: "Trebuchet MS", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shellbccb3-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shellbccb3-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Roboto Mono", monospace;
  --shellbccb3-radius-card: 12px;
  --shellbccb3-radius-btn: 9px;
  --shellbccb3-canvas-max: 480px;
}

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

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--shellbccb3-ink-deep);
  color: var(--shellbccb3-text);
  font-family: var(--shellbccb3-font-body);
  font-size: 14px;
  line-height: 1.6;
}

body.shellbccb3-locked {
  overflow: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--shellbccb3-plum);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: #F0C8F0;
}

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

::selection {
  background: rgba(106, 90, 205, 0.55);
  color: #FFFFFF;
}

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

.shellbccb3-canvas {
  position: relative;
  max-width: var(--shellbccb3-canvas-max);
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(120% 46% at 50% -6%, rgba(106, 90, 205, 0.22), transparent 62%),
    var(--shellbccb3-ink);
  box-shadow: 0 0 46px rgba(0, 0, 0, 0.6);
  overflow-x: clip;
}

.shellbccb3-skip {
  position: absolute;
  top: -48px;
  left: 10px;
  z-index: 120;
  padding: 8px 12px;
  background: var(--shellbccb3-violet);
  color: #FFFFFF;
  border-radius: 8px;
  font-size: 12px;
  transition: top 0.2s ease;
}

.shellbccb3-skip:focus {
  top: 6px;
}

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

.shellbccb3-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shellbccb3-canvas-max);
  z-index: 90;
  background: rgba(14, 22, 33, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--shellbccb3-line);
}

.shellbccb3-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 62px;
  padding: 9px 10px;
}

.shellbccb3-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--shellbccb3-text);
}

.shellbccb3-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--shellbccb3-line-strong);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}

.shellbccb3-brand-name {
  font-family: var(--shellbccb3-font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: #F4F6FA;
}

.shellbccb3-topbar-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* segmented register / login pair */
.shellbccb3-seg {
  display: flex;
  border: 1px solid rgba(106, 90, 205, 0.55);
  border-radius: var(--shellbccb3-radius-btn);
  overflow: hidden;
  background: rgba(106, 90, 205, 0.12);
}

.shellbccb3-seg-btn {
  min-height: 44px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-family: var(--shellbccb3-font-head);
  transition: filter 0.16s ease, transform 0.16s ease;
}

.shellbccb3-seg-register {
  background: linear-gradient(135deg, var(--shellbccb3-maroon), var(--shellbccb3-coral));
  color: #FFFFFF;
}

.shellbccb3-seg-login {
  color: var(--shellbccb3-plum);
  border-left: 1px solid rgba(106, 90, 205, 0.55);
}

.shellbccb3-seg-btn:active {
  transform: scale(0.96);
  filter: brightness(1.18);
}

.shellbccb3-menubtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--shellbccb3-line-strong);
  border-radius: var(--shellbccb3-radius-btn);
  color: var(--shellbccb3-plum);
  transition: background 0.16s ease, transform 0.16s ease;
}

.shellbccb3-menubtn:active {
  background: rgba(221, 160, 221, 0.12);
  transform: scale(0.94);
}

.shellbccb3-menubtn svg {
  width: 18px;
  height: 18px;
}

.shellbccb3-menubtn-tag {
  display: none;
  font-family: var(--shellbccb3-font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.shellbccb3-scrim {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(4, 6, 10, 0.64);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s ease, visibility 0.26s ease;
}

.shellbccb3-scrim.shellbccb3-on {
  opacity: 1;
  visibility: visible;
}

.shellbccb3-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 102%);
  width: 100%;
  max-width: var(--shellbccb3-canvas-max);
  max-height: 74dvh;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #16223A, #101A28 58%);
  border-top: 1px solid var(--shellbccb3-line-strong);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.55);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 0.9, 0.3, 1), visibility 0.3s;
}

.shellbccb3-sheet.shellbccb3-open {
  transform: translate(-50%, 0);
  visibility: visible;
}

.shellbccb3-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 8px;
}

.shellbccb3-sheet-title {
  margin: 0;
  font-family: var(--shellbccb3-font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shellbccb3-plum);
}

.shellbccb3-sheet-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--shellbccb3-line);
  border-radius: var(--shellbccb3-radius-btn);
  color: var(--shellbccb3-text-soft);
}

.shellbccb3-sheet-close svg {
  width: 15px;
  height: 15px;
}

.shellbccb3-sheet-body {
  overflow-y: auto;
  padding: 0 8px calc(18px + env(safe-area-inset-bottom));
}

.shellbccb3-sheet-label {
  margin: 14px 10px 4px;
  font-family: var(--shellbccb3-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shellbccb3-muted);
}

.shellbccb3-sheet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--shellbccb3-text-soft);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.16s ease, color 0.16s ease;
}

.shellbccb3-sheet-link:hover {
  background: rgba(106, 90, 205, 0.14);
  color: var(--shellbccb3-plum);
}

.shellbccb3-sheet-link svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--shellbccb3-muted);
}

.shellbccb3-sheet-link span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.shellbccb3-sheet-link small {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--shellbccb3-muted);
}

.shellbccb3-sheet-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin: 14px 6px 4px;
  border-radius: var(--shellbccb3-radius-btn);
  background: linear-gradient(135deg, var(--shellbccb3-maroon), var(--shellbccb3-coral));
  color: #FFFFFF;
  font-family: var(--shellbccb3-font-head);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.shellbccb3-sheet-cta:active {
  transform: scale(0.97);
  filter: brightness(1.15);
}

/* ---------- main column ---------- */

.shellbccb3-main {
  padding: 74px 0 calc(92px + env(safe-area-inset-bottom));
}

.shellbccb3-wrap {
  padding-inline: 14px;
}

.shellbccb3-kicker {
  display: block;
  margin: 0 0 5px;
  font-family: var(--shellbccb3-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--shellbccb3-plum);
}

.shellbccb3-h1,
.shellbccb3-h2 {
  font-family: var(--shellbccb3-font-head);
  color: #F4F6FA;
  letter-spacing: -0.005em;
}

.shellbccb3-h1 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.28;
  font-weight: 800;
}

.shellbccb3-h2 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.32;
  font-weight: 800;
}

.shellbccb3-h3 {
  margin: 16px 0 6px;
  font-family: var(--shellbccb3-font-head);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--shellbccb3-text-soft);
}

.shellbccb3-p {
  margin: 0 0 11px;
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--shellbccb3-text-soft);
}

.shellbccb3-p strong {
  color: var(--shellbccb3-text);
}

.shellbccb3-section {
  margin-top: 30px;
}

.shellbccb3-section-head {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--shellbccb3-line);
  margin-bottom: 12px;
}

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

.shellbccb3-hero {
  margin-top: 4px;
}

.shellbccb3-steps {
  list-style: none;
  margin: 14px 0 0;
  padding: 6px 12px;
  border: 1px solid var(--shellbccb3-line);
  border-radius: var(--shellbccb3-radius-card);
  background: rgba(19, 30, 44, 0.65);
}

.shellbccb3-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
}

.shellbccb3-steps li + li {
  border-top: 1px dashed var(--shellbccb3-line);
}

.shellbccb3-step-n {
  flex: 0 0 auto;
  margin-top: 2px;
  font-family: var(--shellbccb3-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--shellbccb3-coral-soft);
  border: 1px solid rgba(205, 92, 92, 0.4);
  border-radius: 6px;
  padding: 2px 6px;
}

.shellbccb3-steps p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shellbccb3-text-soft);
}

/* metric strips: compact label + explanation rows */
.shellbccb3-stats {
  margin: 16px 0 0;
  padding: 4px 12px;
  border: 1px solid var(--shellbccb3-line);
  border-radius: var(--shellbccb3-radius-card);
  background: linear-gradient(180deg, rgba(24, 36, 53, 0.9), rgba(16, 26, 40, 0.9));
}

.shellbccb3-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
}

.shellbccb3-stat + .shellbccb3-stat {
  border-top: 1px solid rgba(221, 160, 221, 0.1);
}

.shellbccb3-stat dt {
  flex: 0 0 auto;
  font-family: var(--shellbccb3-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--shellbccb3-plum);
  white-space: nowrap;
}

.shellbccb3-stat dd {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--shellbccb3-muted);
  text-align: right;
}

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

.shellbccb3-carousel {
  position: relative;
  margin-top: 18px;
  aspect-ratio: 2.1 / 1;
  min-height: 152px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--shellbccb3-line-strong);
  box-shadow: 0 10px 26px -14px rgba(0, 0, 0, 0.85);
}

.shellbccb3-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.shellbccb3-slide.shellbccb3-on {
  opacity: 1;
  visibility: visible;
}

.shellbccb3-slide-btn {
  display: block;
  width: 100%;
  height: 100%;
}

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

.shellbccb3-slide-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: 74%;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--shellbccb3-line-strong);
  background: rgba(14, 22, 33, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--shellbccb3-font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.45;
  color: var(--shellbccb3-text-soft);
}

.shellbccb3-dots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(7, 9, 13, 0.55);
}

.shellbccb3-dot {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
}

.shellbccb3-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(229, 229, 229, 0.42);
  transition: width 0.22s ease, background 0.22s ease;
}

.shellbccb3-dot.shellbccb3-on::after {
  width: 16px;
  background: linear-gradient(90deg, var(--shellbccb3-violet), var(--shellbccb3-plum));
}

/* ---------- category chips ---------- */

.shellbccb3-chips {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shellbccb3-chips::-webkit-scrollbar {
  display: none;
}

.shellbccb3-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--shellbccb3-line-strong);
  border-radius: 999px;
  font-family: var(--shellbccb3-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shellbccb3-text-soft);
  background: rgba(19, 30, 44, 0.7);
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.shellbccb3-chip b {
  color: var(--shellbccb3-coral-soft);
  font-weight: 700;
}

.shellbccb3-chip:active {
  transform: scale(0.95);
  border-color: var(--shellbccb3-plum);
  color: var(--shellbccb3-plum);
}

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

.shellbccb3-shelf-note {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0 14px;
  padding: 8px 12px;
  border-left: 3px solid var(--shellbccb3-violet);
  border-radius: 0 10px 10px 0;
  background: rgba(106, 90, 205, 0.1);
}

.shellbccb3-shelf-note:nth-of-type(2) {
  border-left-color: var(--shellbccb3-maroon);
  background: rgba(176, 48, 96, 0.1);
}

.shellbccb3-shelf-note b {
  flex: 0 0 auto;
  font-family: var(--shellbccb3-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shellbccb3-plum);
}

.shellbccb3-shelf-note span {
  font-size: 11.5px;
  color: var(--shellbccb3-muted);
}

/* explicit color variants for stacked shelf notes */
.shellbccb3-note-alt {
  border-left-color: var(--shellbccb3-maroon);
  background: rgba(176, 48, 96, 0.12);
}

.shellbccb3-note-alt2 {
  border-left-color: var(--shellbccb3-coral);
  background: rgba(205, 92, 92, 0.1);
}

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

/* light floating-layer tile */
.shellbccb3-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.shellbccb3-tile-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--shellbccb3-radius-card);
  border: 1px solid rgba(221, 160, 221, 0.18);
  background: linear-gradient(160deg, #1D2B44 0%, #131F31 70%);
  box-shadow:
    inset 0 1px 0 rgba(229, 229, 229, 0.07),
    0 8px 16px -10px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.shellbccb3-tile-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(229, 229, 229, 0.05), transparent 42%);
  pointer-events: none;
}

.shellbccb3-tile-frame img {
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.shellbccb3-tile:active .shellbccb3-tile-frame {
  transform: scale(0.93);
  border-color: var(--shellbccb3-coral);
  box-shadow:
    inset 0 1px 0 rgba(229, 229, 229, 0.1),
    0 4px 10px -6px rgba(205, 92, 92, 0.5);
}

.shellbccb3-tile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 28px;
  font-size: 10.5px;
  line-height: 1.32;
  font-weight: 600;
  color: #CBD4E2;
  transition: color 0.16s ease;
}

.shellbccb3-tile:hover .shellbccb3-tile-name {
  color: var(--shellbccb3-plum);
}

/* ---------- content modules ---------- */

.shellbccb3-module {
  margin-top: 30px;
  padding-top: 4px;
}

.shellbccb3-rows {
  margin: 6px 0 0;
}

.shellbccb3-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px dashed var(--shellbccb3-line);
}

.shellbccb3-row:last-child {
  border-bottom: 0;
}

.shellbccb3-row-mark {
  flex: 0 0 auto;
  margin-top: 5px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--shellbccb3-violet);
  transform: rotate(45deg);
}

.shellbccb3-row b {
  display: block;
  font-family: var(--shellbccb3-font-head);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--shellbccb3-text);
}

.shellbccb3-row span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--shellbccb3-muted);
}

/* winners board */
.shellbccb3-board {
  margin-top: 12px;
  border: 1px solid var(--shellbccb3-line);
  border-radius: var(--shellbccb3-radius-card);
  background: rgba(16, 26, 40, 0.85);
  overflow: hidden;
}

.shellbccb3-board-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-family: var(--shellbccb3-font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--shellbccb3-muted);
}

.shellbccb3-board-line + .shellbccb3-board-line {
  border-top: 1px solid rgba(221, 160, 221, 0.08);
}

.shellbccb3-board-time {
  color: var(--shellbccb3-plum);
}

.shellbccb3-board-game {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--shellbccb3-text-soft);
}

.shellbccb3-board-band {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(205, 92, 92, 0.45);
  color: var(--shellbccb3-coral-soft);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shellbccb3-board-note {
  padding: 8px 12px 10px;
  font-size: 10.5px;
  color: var(--shellbccb3-muted);
  border-top: 1px dashed var(--shellbccb3-line);
}

/* persona blocks */
.shellbccb3-personas {
  margin-top: 4px;
}

.shellbccb3-persona {
  margin-top: 12px;
  padding: 10px 12px 11px;
  border-left: 3px solid var(--shellbccb3-violet);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(106, 90, 205, 0.14), rgba(106, 90, 205, 0.03));
}

.shellbccb3-persona:nth-child(2) {
  border-left-color: var(--shellbccb3-maroon);
  background: linear-gradient(90deg, rgba(176, 48, 96, 0.16), rgba(176, 48, 96, 0.03));
}

.shellbccb3-persona:nth-child(3) {
  border-left-color: var(--shellbccb3-coral);
  background: linear-gradient(90deg, rgba(205, 92, 92, 0.15), rgba(205, 92, 92, 0.03));
}

.shellbccb3-persona:nth-child(4) {
  border-left-color: var(--shellbccb3-plum);
  background: linear-gradient(90deg, rgba(221, 160, 221, 0.14), rgba(221, 160, 221, 0.03));
}

.shellbccb3-persona b {
  display: block;
  font-family: var(--shellbccb3-font-head);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--shellbccb3-text);
}

.shellbccb3-persona p {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.58;
  color: var(--shellbccb3-muted);
}

.shellbccb3-persona p a {
  color: var(--shellbccb3-plum);
  text-decoration: underline;
  text-decoration-color: rgba(221, 160, 221, 0.45);
  text-underline-offset: 2px;
}

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

.shellbccb3-ext {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--shellbccb3-line-strong);
}

.shellbccb3-ext-block {
  margin-top: 18px;
}

.shellbccb3-promo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shellbccb3-promo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid rgba(176, 48, 96, 0.5);
  border-radius: var(--shellbccb3-radius-btn);
  background: linear-gradient(120deg, rgba(176, 48, 96, 0.28), rgba(205, 92, 92, 0.1));
  color: var(--shellbccb3-text);
  font-family: var(--shellbccb3-font-head);
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.shellbccb3-promo-item:active {
  transform: scale(0.98);
  filter: brightness(1.2);
}

.shellbccb3-promo-item svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--shellbccb3-coral-soft);
}

.shellbccb3-promo-item > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.shellbccb3-promo-item small {
  font-family: var(--shellbccb3-font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(229, 229, 229, 0.68);
}

.shellbccb3-dir {
  margin-top: 6px;
}

.shellbccb3-dir-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px dashed var(--shellbccb3-line);
}

.shellbccb3-dir-row:last-child {
  border-bottom: 0;
}

.shellbccb3-dir-row a {
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shellbccb3-text);
}

.shellbccb3-dir-row a:hover {
  color: var(--shellbccb3-plum);
}

.shellbccb3-dir-row span {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--shellbccb3-muted);
  text-align: right;
}

.shellbccb3-disclaimer {
  margin-top: 16px;
  padding: 10px 12px;
  border-left: 3px solid var(--shellbccb3-coral);
  border-radius: 0 10px 10px 0;
  background: rgba(205, 92, 92, 0.08);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--shellbccb3-muted);
}

.shellbccb3-copy {
  margin: 26px 0 4px;
  padding-top: 14px;
  border-top: 1px solid var(--shellbccb3-line);
  text-align: center;
  font-family: var(--shellbccb3-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--shellbccb3-muted);
}

/* ---------- bottom dock ---------- */

.shellbccb3-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shellbccb3-canvas-max);
  z-index: 80;
  display: flex;
  background: rgba(11, 17, 26, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--shellbccb3-line-strong);
  padding-bottom: env(safe-area-inset-bottom);
}

.shellbccb3-dock-item {
  position: relative;
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 60px;
  color: #8D9AAE;
  transition: color 0.18s ease;
}

.shellbccb3-dock-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0.4);
  width: 34px;
  height: 2.5px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--shellbccb3-violet), var(--shellbccb3-plum));
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.shellbccb3-dock-item svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.16s ease, fill 0.2s ease, stroke 0.2s ease;
}

.shellbccb3-dock-label {
  font-family: var(--shellbccb3-font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.62;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.shellbccb3-dock-item:active svg {
  transform: scale(0.88);
}

.shellbccb3-dock-item:active .shellbccb3-dock-label {
  opacity: 1;
}

.shellbccb3-dock-item:hover {
  color: #B9C4D6;
}

/* active state: top indicator line + filled icon + label reveal */
.shellbccb3-dock-item.shellbccb3-current {
  color: var(--shellbccb3-plum);
}

.shellbccb3-dock-item.shellbccb3-current::before {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.shellbccb3-dock-item.shellbccb3-current svg {
  stroke: var(--shellbccb3-plum);
  fill: rgba(221, 160, 221, 0.24);
}

.shellbccb3-dock-item.shellbccb3-current .shellbccb3-dock-label {
  opacity: 1;
  color: var(--shellbccb3-plum);
}

/* ---------- wide-phone tuning (430px canvas and up) ---------- */

@media (min-width: 375px) {
  .shellbccb3-menubtn-tag {
    display: block;
  }

  .shellbccb3-seg-btn {
    padding: 0 14px;
    font-size: 12.5px;
  }
}

@media (min-width: 430px) {
  .shellbccb3-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .shellbccb3-h1 {
    font-size: 23px;
  }

  .shellbccb3-h2 {
    font-size: 18px;
  }

  .shellbccb3-tile-name {
    font-size: 11px;
  }

  .shellbccb3-stat dd {
    font-size: 12px;
  }

  .shellbccb3-dir {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }
}

/* ---------- motion budget ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- help-page layouts (withdrawal vs about) ---------- */

.shellbccb3-timeline {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--shellbccb3-line-strong);
  margin-left: 8px;
}

.shellbccb3-timeline li {
  position: relative;
  padding: 0 0 18px 16px;
}

.shellbccb3-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--shellbccb3-violet);
  box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.25);
}

.shellbccb3-timeline li:last-child {
  padding-bottom: 0;
}

.shellbccb3-timeline b {
  display: block;
  font-family: var(--shellbccb3-font-head);
  font-size: 13px;
  color: var(--shellbccb3-text);
  margin-bottom: 4px;
}

.shellbccb3-timeline p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--shellbccb3-muted);
}

.shellbccb3-mistake-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.shellbccb3-mistake {
  padding: 11px 12px 12px;
  border-radius: var(--shellbccb3-radius-card);
  border: 1px solid var(--shellbccb3-line);
  background: rgba(19, 30, 44, 0.85);
}

.shellbccb3-mistake-num {
  display: inline-block;
  min-width: 28px;
  padding: 2px 7px;
  margin-bottom: 6px;
  border-radius: 6px;
  background: rgba(176, 48, 96, 0.35);
  font-family: var(--shellbccb3-font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #F4C4D4;
}

.shellbccb3-mistake b {
  display: block;
  font-size: 13px;
  color: var(--shellbccb3-text);
  margin-bottom: 4px;
}

.shellbccb3-mistake p {
  margin: 0;
  font-size: 12px;
  line-height: 1.58;
  color: var(--shellbccb3-muted);
}

.shellbccb3-tagwarn {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(205, 92, 92, 0.18);
  border: 1px solid rgba(205, 92, 92, 0.45);
  font-size: 11px;
  font-weight: 700;
  color: var(--shellbccb3-coral-soft);
}

.shellbccb3-inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: var(--shellbccb3-radius-btn);
  border: 1px solid rgba(106, 90, 205, 0.55);
  background: rgba(106, 90, 205, 0.2);
  color: var(--shellbccb3-text);
  font-size: 12px;
  font-weight: 700;
}

.shellbccb3-inline-cta:active {
  transform: scale(0.98);
  filter: brightness(1.15);
}

.shellbccb3-help-foot {
  margin: 28px 0 8px;
  padding-top: 14px;
  border-top: 1px solid var(--shellbccb3-line);
  text-align: center;
  font-family: var(--shellbccb3-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--shellbccb3-muted);
}
