/* ============================================================
   betsobet adaptive mobile stylesheet
   Palette anchors : #FFB347 (light) / #3A3A3A (dark base) / #FF5722 (accent)
   Class prefix    : shell96cc3-
   Canvas target   : 320–430px phone frame, centered on wide screens
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --shell96cc3-amber: #FFB347;
  --shell96cc3-amber-soft: rgba(255, 179, 71, 0.14);
  --shell96cc3-amber-line: rgba(255, 179, 71, 0.46);
  --shell96cc3-flame: #FF5722;
  --shell96cc3-flame-line: #FF7A47;
  --shell96cc3-flame-soft: rgba(255, 87, 34, 0.16);
  --shell96cc3-ink: #FBF3E4;
  --shell96cc3-ink-dim: #D9CFBE;
  --shell96cc3-base: #3A3A3A;
  --shell96cc3-bg: #232323;
  --shell96cc3-canvas: #333333;
  --shell96cc3-panel: #414141;
  --shell96cc3-panel-hi: #4A4A4A;
  --shell96cc3-line: #5C5C5C;
  --shell96cc3-line-soft: #4D4D4D;
  --shell96cc3-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  --shell96cc3-r-lg: 16px;
  --shell96cc3-r-md: 10px;
  --shell96cc3-r-sm: 6px;
  --shell96cc3-font-head: "Segoe UI", "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --shell96cc3-font-body: "Segoe UI", "Noto Sans", Arial, sans-serif;
  --shell96cc3-font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
}

/* ---------- base ---------- */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--shell96cc3-bg);
  background-image: radial-gradient(circle at 50% 0%, #2c2c2c 0%, var(--shell96cc3-bg) 62%);
  color: var(--shell96cc3-ink);
  font-family: var(--shell96cc3-font-body);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 96px; /* keeps content clear of the fixed bottom bar */
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: var(--shell96cc3-amber);
}

button {
  font-family: inherit;
}

::selection {
  background: var(--shell96cc3-flame);
  color: #FFFFFF;
}

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

/* ---------- phone frame ---------- */
.shell96cc3-frame {
  position: relative;
  width: 100%;
  max-width: 448px;
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--shell96cc3-canvas);
  box-shadow: var(--shell96cc3-shadow);
  overflow-x: clip;
}

.shell96cc3-main {
  display: grid;
  gap: 18px;
  padding: 14px 12px 10px;
}

/* ============================================================
   Top bar — minimal brand strip with inline action band
   ============================================================ */
.shell96cc3-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, #3E3E3E 0%, #363636 100%);
  border-bottom: 1px solid var(--shell96cc3-line-soft);
  padding: 8px 12px 9px;
}

.shell96cc3-toprow {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shell96cc3-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  text-decoration: none;
  flex: 0 1 auto;
}

.shell96cc3-brand img {
  width: 30px;
  height: 30px;
  display: block;
  border-radius: 9px 4px 9px 4px;
  border: 1px solid var(--shell96cc3-amber-line);
  background: #2C2C2C;
  object-fit: cover;
  flex: 0 0 30px;
}

.shell96cc3-brandname {
  font-family: var(--shell96cc3-font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.3px;
  color: var(--shell96cc3-ink);
  white-space: nowrap;
}

.shell96cc3-brandname b {
  color: var(--shell96cc3-amber);
  font-weight: 800;
}

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

.shell96cc3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 13px;
  font-family: var(--shell96cc3-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.shell96cc3-btn:active {
  transform: scale(0.96);
}

.shell96cc3-btn--cta {
  background: var(--shell96cc3-flame);
  border: 1px solid var(--shell96cc3-flame-line);
  color: #FFFFFF;
  border-radius: 11px 11px 11px 4px;
}

.shell96cc3-btn--ghost {
  background: transparent;
  border: 1px solid var(--shell96cc3-amber);
  color: var(--shell96cc3-amber);
  border-radius: 4px 11px 11px 11px;
}

.shell96cc3-burger {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2F2F2F;
  border: 1px solid var(--shell96cc3-line);
  border-radius: 10px 4px 10px 4px;
  color: var(--shell96cc3-amber);
  cursor: pointer;
  flex: 0 0 44px;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.shell96cc3-burger.shell96cc3-open {
  border-color: var(--shell96cc3-flame);
  color: var(--shell96cc3-flame);
}

.shell96cc3-burger svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* ---------- expandable drawer ---------- */
.shell96cc3-drawer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.shell96cc3-drawer.shell96cc3-open {
  grid-template-rows: 1fr;
}

.shell96cc3-drawerclip {
  overflow: hidden;
  min-height: 0;
}

.shell96cc3-drawerinner {
  margin-top: 9px;
  padding: 4px 0 10px;
  border-top: 1px dashed var(--shell96cc3-line-soft);
  display: grid;
  gap: 10px;
}

.shell96cc3-dgrouplabel {
  font-family: var(--shell96cc3-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell96cc3-ink-dim);
  padding: 2px 4px 0;
}

.shell96cc3-dlinks {
  display: grid;
  gap: 7px;
}

.shell96cc3-dlink {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 11px;
  background: var(--shell96cc3-panel);
  border: 1px solid var(--shell96cc3-line-soft);
  border-radius: 9px 9px 9px 3px;
  color: var(--shell96cc3-ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.shell96cc3-dlink .shell96cc3-darrow {
  margin-left: auto;
  color: var(--shell96cc3-flame);
  font-family: var(--shell96cc3-font-mono);
  font-size: 12px;
}

.shell96cc3-dlink.shell96cc3-current {
  background: var(--shell96cc3-amber-soft);
  border-color: var(--shell96cc3-amber);
  color: var(--shell96cc3-amber);
}

/* ============================================================
   Hero carousel
   ============================================================ */
.shell96cc3-hero {
  position: relative;
  border: 1px solid var(--shell96cc3-line-soft);
  border-radius: 14px 14px 7px 7px;
  overflow: hidden;
  background: #2B2B2B;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.shell96cc3-viewport {
  overflow: hidden;
}

.shell96cc3-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.shell96cc3-slide {
  flex: 0 0 100%;
  position: relative;
}

.shell96cc3-slide a {
  display: block;
  cursor: pointer;
}

.shell96cc3-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shell96cc3-slidetag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-family: var(--shell96cc3-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shell96cc3-amber);
  background: rgba(34, 34, 34, 0.85);
  border: 1px solid var(--shell96cc3-amber-line);
  border-radius: 7px 3px 7px 3px;
  padding: 5px 9px;
  pointer-events: none;
}

.shell96cc3-dots {
  position: absolute;
  right: 10px;
  bottom: 12px;
  display: flex;
  gap: 6px;
}

.shell96cc3-dot {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.shell96cc3-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--shell96cc3-amber);
  background: transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}

.shell96cc3-dot.shell96cc3-on::before {
  background: var(--shell96cc3-amber);
  transform: scale(1.15);
}

/* ============================================================
   Definition block (H1 + lead + fact strip)
   ============================================================ */
.shell96cc3-defblock {
  background: linear-gradient(180deg, #3F3F3F 0%, #383838 100%);
  border: 1px solid var(--shell96cc3-line);
  border-radius: 5px 16px 16px 16px;
  padding: 16px 14px 14px;
}

.shell96cc3-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--shell96cc3-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--shell96cc3-flame);
  margin: 0 0 8px;
}

.shell96cc3-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--shell96cc3-flame);
  flex: 0 0 8px;
}

.shell96cc3-defblock h1,
.shell96cc3-mod h2,
.shell96cc3-cathead h2 {
  font-family: var(--shell96cc3-font-head);
  color: var(--shell96cc3-ink);
  margin: 0;
}

.shell96cc3-defblock h1 {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}

.shell96cc3-defblock h1 .shell96cc3-hi {
  color: var(--shell96cc3-amber);
}

.shell96cc3-lead {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--shell96cc3-ink);
  margin: 0;
}

.shell96cc3-facts {
  display: grid;
  gap: 8px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px dashed var(--shell96cc3-line-soft);
  list-style: none;
}

.shell96cc3-facts li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shell96cc3-ink-dim);
}

.shell96cc3-facts svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 2px;
  color: var(--shell96cc3-amber);
}

.shell96cc3-updated {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-family: var(--shell96cc3-font-mono);
  font-size: 11px;
  letter-spacing: 0.6px;
  color: var(--shell96cc3-ink-dim);
}

.shell96cc3-updated::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shell96cc3-flame);
}

/* ============================================================
   Game category sections — pure image cards, short name below
   ============================================================ */
.shell96cc3-cat {
  display: grid;
  gap: 10px;
}

.shell96cc3-cathead {
  display: flex;
  align-items: center;
  gap: 9px;
  border-left: 3px solid var(--shell96cc3-flame);
  padding-left: 10px;
}

.shell96cc3-cathead h2 {
  font-size: 17.5px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.shell96cc3-catchip {
  margin-left: auto;
  font-family: var(--shell96cc3-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--shell96cc3-amber);
  border: 1px solid var(--shell96cc3-amber-line);
  border-radius: 6px 2px 6px 2px;
  padding: 3px 7px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.shell96cc3-catnote {
  margin: 0;
  padding-left: 13px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--shell96cc3-ink-dim);
}

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

.shell96cc3-gcard {
  display: grid;
  gap: 5px;
  justify-items: center;
  padding: 7px 4px 8px;
  background: var(--shell96cc3-panel);
  border: 1px solid var(--shell96cc3-line-soft);
  border-radius: 11px 11px 7px 7px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.shell96cc3-gcard:hover,
.shell96cc3-gcard:focus-visible {
  transform: translateY(-2px);
  border-color: var(--shell96cc3-amber);
  background: var(--shell96cc3-panel-hi);
}

.shell96cc3-gimg {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 7px 7px 5px 5px;
  background: #2D2D2D;
}

.shell96cc3-gname {
  font-family: var(--shell96cc3-font-head);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--shell96cc3-ink);
  text-align: center;
  min-height: 26px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

/* ============================================================
   Content modules below the game lobby
   ============================================================ */
.shell96cc3-mod {
  display: grid;
  gap: 11px;
  padding: 15px 14px;
  background: linear-gradient(180deg, #3E3E3E 0%, #383838 100%);
  border: 1px solid var(--shell96cc3-line);
  border-radius: 14px 5px 14px 14px;
}

.shell96cc3-mod h2 {
  font-size: 17.5px;
  line-height: 1.32;
  font-weight: 800;
  letter-spacing: 0.2px;
  padding-left: 10px;
  border-left: 3px solid var(--shell96cc3-amber);
}

.shell96cc3-mod h3 {
  font-family: var(--shell96cc3-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shell96cc3-amber);
  margin: 4px 0 2px;
}

.shell96cc3-mod p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.66;
  color: var(--shell96cc3-ink);
}

.shell96cc3-mod strong {
  color: var(--shell96cc3-amber);
  font-weight: 700;
}

.shell96cc3-direct {
  border: 1px solid var(--shell96cc3-amber-line);
  background: var(--shell96cc3-amber-soft);
  border-radius: 10px 4px 10px 4px;
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--shell96cc3-ink);
}

/* numbered steps */
.shell96cc3-steps {
  display: grid;
  gap: 8px;
  counter-reset: shell96cc3-step;
  padding: 0;
  margin: 0;
  list-style: none;
}

.shell96cc3-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 11px;
  background: var(--shell96cc3-base);
  border: 1px solid var(--shell96cc3-line-soft);
  border-radius: 9px;
}

.shell96cc3-stepnum {
  flex: 0 0 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: var(--shell96cc3-flame);
  color: #FFFFFF;
  border-radius: 7px 2px 7px 2px;
  font-family: var(--shell96cc3-font-mono);
  font-size: 12px;
  font-weight: 700;
  counter-increment: shell96cc3-step;
}

.shell96cc3-stepnum::before {
  content: counter(shell96cc3-step);
}

.shell96cc3-step p {
  font-size: 12.8px;
  line-height: 1.58;
}

/* two-column highlight tiles */
.shell96cc3-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shell96cc3-duo article {
  background: var(--shell96cc3-base);
  border: 1px solid var(--shell96cc3-line-soft);
  border-radius: 10px 3px 10px 3px;
  padding: 10px 10px 11px;
}

.shell96cc3-duo h3 {
  margin: 0 0 4px;
}

.shell96cc3-duo p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--shell96cc3-ink-dim);
}

/* want -> pick rows */
.shell96cc3-pick {
  display: grid;
  gap: 2px;
}

.shell96cc3-pickrow {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 10px;
  align-items: center;
  padding: 9px 2px;
  border-bottom: 1px dashed var(--shell96cc3-line-soft);
}

.shell96cc3-pickrow:last-child {
  border-bottom: 0;
}

.shell96cc3-want {
  font-family: var(--shell96cc3-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-align: center;
  color: var(--shell96cc3-flame);
  background: var(--shell96cc3-flame-soft);
  border: 1px solid rgba(255, 87, 34, 0.42);
  border-radius: 7px 2px 7px 2px;
  padding: 7px 6px;
  line-height: 1.4;
}

.shell96cc3-pickrow p {
  font-size: 12.6px;
  line-height: 1.58;
}

/* pros / limits lists */
.shell96cc3-pl {
  display: grid;
  gap: 10px;
}

.shell96cc3-pl ul {
  list-style: none;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
}

.shell96cc3-pl li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.8px;
  line-height: 1.58;
}

.shell96cc3-pl li svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-top: 3px;
}

.shell96cc3-pl--plus li svg {
  color: var(--shell96cc3-amber);
}

.shell96cc3-pl--limit li svg {
  color: var(--shell96cc3-flame);
}

/* compact icon-text CTA */
.shell96cc3-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  background: var(--shell96cc3-flame);
  border: 1px solid var(--shell96cc3-flame-line);
  border-radius: 11px 11px 11px 4px;
  color: #FFFFFF;
  font-family: var(--shell96cc3-font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.16s ease, background 0.16s ease;
}

.shell96cc3-cta:active {
  transform: scale(0.97);
}

.shell96cc3-cta svg {
  width: 16px;
  height: 16px;
}

.shell96cc3-cta--alt {
  background: var(--shell96cc3-amber-soft);
  border-color: var(--shell96cc3-amber);
  color: var(--shell96cc3-amber);
}

/* ============================================================
   Extended site footer
   ============================================================ */
.shell96cc3-extfoot {
  display: grid;
  gap: 15px;
  margin: 18px 12px 0;
  padding: 15px 13px 14px;
  background: #343434;
  border: 1px solid var(--shell96cc3-line-soft);
  border-radius: 14px 14px 6px 6px;
}

.shell96cc3-xtlabel {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--shell96cc3-font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell96cc3-flame);
  margin: 0 0 9px;
}

.shell96cc3-xtlabel::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--shell96cc3-line-soft);
}

.shell96cc3-promolist {
  display: grid;
  gap: 8px;
}

.shell96cc3-promoitem {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  background: #3D3D3D;
  border: 1px solid var(--shell96cc3-amber-line);
  border-radius: 10px 10px 10px 3px;
  color: var(--shell96cc3-ink);
  font-family: var(--shell96cc3-font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.shell96cc3-promoitem:active {
  transform: scale(0.98);
}

.shell96cc3-promoitem svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--shell96cc3-amber);
}

.shell96cc3-promoitem .shell96cc3-arr {
  margin-left: auto;
  color: var(--shell96cc3-flame);
}

.shell96cc3-brandnote {
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--shell96cc3-ink-dim);
}

.shell96cc3-directory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}

.shell96cc3-dirlink {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 2px;
  border-bottom: 1px dashed var(--shell96cc3-line-soft);
  color: var(--shell96cc3-ink-dim);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.4;
}

.shell96cc3-dirlink::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--shell96cc3-flame);
  flex: 0 0 5px;
}

.shell96cc3-dirlink:hover,
.shell96cc3-dirlink:focus-visible {
  color: var(--shell96cc3-amber);
}

.shell96cc3-disclaimer {
  margin: 0;
  padding-top: 11px;
  border-top: 1px solid var(--shell96cc3-line-soft);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--shell96cc3-ink-dim);
}

.shell96cc3-sitefoot {
  padding: 14px 12px 16px;
  text-align: center;
}

.shell96cc3-sitefoot p {
  margin: 0;
  font-family: var(--shell96cc3-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.5px;
  color: var(--shell96cc3-ink-dim);
}

/* ============================================================
   Fixed bottom function bar — outlined icons + sliding marker
   ============================================================ */
.shell96cc3-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 448px);
  z-index: 70;
  background: rgba(38, 38, 38, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--shell96cc3-line);
}

.shell96cc3-tablist {
  position: relative;
  display: flex;
  padding: 7px 6px calc(7px + env(safe-area-inset-bottom, 0px));
}

.shell96cc3-tabind {
  position: absolute;
  top: -1px;
  left: 0;
  height: 3px;
  width: 40px;
  background: var(--shell96cc3-flame);
  border-radius: 0 0 3px 3px;
  transition: transform 0.32s cubic-bezier(0.3, 0.7, 0.3, 1), width 0.32s cubic-bezier(0.3, 0.7, 0.3, 1);
  will-change: transform, width;
}

.shell96cc3-tab {
  flex: 1;
  min-height: 52px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  padding: 6px 2px 5px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px 5px 12px 5px;
  color: var(--shell96cc3-ink-dim);
  text-decoration: none;
  cursor: pointer;
  font-family: var(--shell96cc3-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.shell96cc3-tab svg {
  width: 20px;
  height: 20px;
}

.shell96cc3-tab.shell96cc3-on {
  color: var(--shell96cc3-amber);
  background: var(--shell96cc3-amber-soft);
  border-color: var(--shell96cc3-amber-line);
}

/* ============================================================
   Short-distance reveal transitions
   ============================================================ */
.shell96cc3-rv {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.shell96cc3-rv.shell96cc3-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .shell96cc3-rv,
  .shell96cc3-track,
  .shell96cc3-tabind,
  .shell96cc3-drawer {
    transition: none;
  }
}

/* ============================================================
   Breakpoints — 320 base, step up at 375 and 430
   ============================================================ */
@media (min-width: 375px) {
  .shell96cc3-defblock h1 {
    font-size: 26px;
  }

  .shell96cc3-cathead h2,
  .shell96cc3-mod h2 {
    font-size: 18.5px;
  }

  .shell96cc3-grid {
    gap: 9px 8px;
  }

  .shell96cc3-gname {
    font-size: 11px;
  }

  .shell96cc3-directory {
    gap: 7px 12px;
  }
}

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

  .shell96cc3-main {
    padding: 16px 14px 12px;
  }

  .shell96cc3-lead {
    font-size: 15px;
  }
}

/* ============================================================
   Help pages — deposit rail vs about fault rows
   ============================================================ */
.shell96cc3-inline {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  background: none;
  border: 0;
  color: var(--shell96cc3-amber);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shell96cc3-rail {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell96cc3-rail li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px;
  padding: 0 0 12px;
}

.shell96cc3-railmark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--shell96cc3-flame);
  color: #fff;
  font-family: var(--shell96cc3-font-mono);
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px 2px 8px 2px;
  position: relative;
}

.shell96cc3-rail li:not(:last-child) .shell96cc3-railmark::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 13px;
  width: 2px;
  height: calc(100% + 8px);
  background: var(--shell96cc3-line);
}

.shell96cc3-rail p {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.58;
}

.shell96cc3-branch {
  display: grid;
  gap: 8px;
}

.shell96cc3-branch article {
  background: var(--shell96cc3-base);
  border: 1px solid var(--shell96cc3-line-soft);
  border-top: 3px solid var(--shell96cc3-flame);
  border-radius: 4px 12px 12px 12px;
  padding: 10px 11px 11px;
}

.shell96cc3-branch article:nth-child(even) {
  border-top-color: var(--shell96cc3-amber);
}

.shell96cc3-branch h3 {
  margin: 0 0 4px;
}

.shell96cc3-branch p {
  margin: 0;
  font-size: 12.6px;
  line-height: 1.55;
  color: var(--shell96cc3-ink-dim);
}

.shell96cc3-meter {
  display: grid;
  gap: 8px;
}

.shell96cc3-meter div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 44px;
}

.shell96cc3-meter span {
  font-family: var(--shell96cc3-font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--shell96cc3-flame);
}

.shell96cc3-meter p {
  margin: 0;
  font-size: 12.8px;
}

.shell96cc3-fault {
  display: grid;
  gap: 8px;
}

.shell96cc3-fault article {
  display: grid;
  gap: 4px;
  padding: 10px 11px;
  background: var(--shell96cc3-base);
  border-left: 4px solid var(--shell96cc3-amber);
  border-radius: 0 10px 10px 0;
}

.shell96cc3-fault h3 {
  margin: 0;
}

.shell96cc3-fault p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.55;
}

.shell96cc3-jumps {
  display: grid;
  gap: 8px;
}

.shell96cc3-jumps a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  background: #3A3A3A;
  border: 1px solid var(--shell96cc3-amber-line);
  border-radius: 12px 4px 12px 4px;
  color: var(--shell96cc3-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
}

.shell96cc3-qa {
  display: grid;
  gap: 12px;
  padding-top: 2px;
}

.shell96cc3-qa h2 {
  margin-bottom: 0;
}

.shell96cc3-verdict {
  margin: 0;
  padding: 10px 12px;
  background: #2E2E2E;
  border-radius: 3px 12px 12px 12px;
  border: 1px solid var(--shell96cc3-line);
  font-size: 13.6px;
  font-weight: 650;
  line-height: 1.6;
}

.shell96cc3-must {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.shell96cc3-must li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 13px;
  line-height: 1.55;
}

.shell96cc3-must li span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--shell96cc3-amber);
  color: var(--shell96cc3-amber);
  border-radius: 4px;
  font-family: var(--shell96cc3-font-mono);
  font-size: 11px;
}

/* very narrow guards so nothing overflows at 320px */
@media (max-width: 359px) {
  .shell96cc3-brandname {
    font-size: 15.5px;
  }

  .shell96cc3-btn {
    padding: 0 10px;
    font-size: 12.5px;
  }

  .shell96cc3-pickrow {
    grid-template-columns: 96px 1fr;
  }

  .shell96cc3-directory {
    grid-template-columns: 1fr;
  }

  .shell96cc3-meter div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
