/* ==========================================================================
   188 Casino — visuals-adaptive-03a5ed.css
   Mobile-first stylesheet for the 188casino.click phone canvas (320-430px).
   Design language: technical mono labels + open body text, stroke-dominant
   surfaces with restrained radii, image tiles with bottom name bars,
   step-progressive rhythm, light press motion and color transitions only.
   All classes and custom properties carry the shella5ed4- prefix.
   ========================================================================== */

:root {
  --shella5ed4-canvas: #2c2c2c;
  --shella5ed4-canvas-deep: #232323;
  --shella5ed4-canvas-void: #1b1b1b;
  --shella5ed4-panel: #2a2a2a;
  --shella5ed4-ink: #ced4da;
  --shella5ed4-ink-soft: #aab3ba;
  --shella5ed4-ink-faint: #828b93;
  --shella5ed4-coral: #fa8072;
  --shella5ed4-cocoa: #d2691e;
  --shella5ed4-cocoa-deep: #b5560f;
  --shella5ed4-sand: #deb887;
  --shella5ed4-sandy: #f4a460;
  --shella5ed4-line: rgba(206, 212, 218, 0.16);
  --shella5ed4-line-strong: rgba(222, 184, 135, 0.38);
  --shella5ed4-font-body: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --shella5ed4-font-head: "Segoe UI", "Trebuchet MS", "Helvetica Neue", Arial,
    sans-serif;
  --shella5ed4-font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas,
    "Roboto Mono", "Courier New", monospace;
  --shella5ed4-radius: 3px;
  --shella5ed4-radius-soft: 5px;
  --shella5ed4-tap: 44px;
  --shella5ed4-dock-h: 58px;
}

/* ---------- reset-scale base ---------- */

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

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

body {
  margin: 0;
  background: var(--shella5ed4-canvas-void);
  color: var(--shella5ed4-ink);
  font-family: var(--shella5ed4-font-body);
  font-size: 14px;
  line-height: 1.62;
  overflow-x: hidden;
}

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

a {
  color: var(--shella5ed4-sandy);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--shella5ed4-coral);
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
table {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--shella5ed4-sandy);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection {
  background: var(--shella5ed4-cocoa);
  color: #fff5ec;
}

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

.shella5ed4-shell {
  position: relative;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100dvh;
  background: var(--shella5ed4-canvas);
  border-inline: 1px solid var(--shella5ed4-line);
  box-shadow: 0 0 34px rgba(0, 0, 0, 0.55);
}

/* content column: clears the fixed dock at the bottom */
.shella5ed4-main {
  padding: 14px 12px calc(var(--shella5ed4-dock-h) + 26px + env(safe-area-inset-bottom));
}

/* skip link for keyboard users */
.shella5ed4-skip {
  position: absolute;
  left: -999px;
  top: 6px;
  z-index: 120;
}

.shella5ed4-skip:focus {
  left: 10px;
  padding: 8px 12px;
  background: var(--shella5ed4-cocoa);
  color: #fff;
  border-radius: var(--shella5ed4-radius);
}

/* ==========================================================================
   Top functional header — brand flush left, actions flush right
   ========================================================================== */

.shella5ed4-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  padding: 6px 10px 6px 12px;
  background: rgba(35, 35, 35, 0.97);
  border-bottom: 1px solid var(--shella5ed4-line-strong);
}

.shella5ed4-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shella5ed4-tap);
  color: var(--shella5ed4-ink);
}

.shella5ed4-brand:hover,
.shella5ed4-brand:focus-visible {
  text-decoration: none;
  color: var(--shella5ed4-sand);
}

.shella5ed4-brand-logo {
  width: 32px;
  height: 32px;
  border: 1px solid var(--shella5ed4-line-strong);
  border-radius: var(--shella5ed4-radius);
  background: #141414;
  object-fit: cover;
}

.shella5ed4-brand-name {
  font-family: var(--shella5ed4-font-head);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  white-space: nowrap;
}

.shella5ed4-topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shella5ed4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--shella5ed4-tap);
  padding: 8px 14px;
  border-radius: var(--shella5ed4-radius);
  border: 1px solid transparent;
  font-family: var(--shella5ed4-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.12s ease;
}

.shella5ed4-btn:active {
  transform: scale(0.95);
}

.shella5ed4-btn-register {
  background: var(--shella5ed4-cocoa);
  border-color: var(--shella5ed4-cocoa);
  color: #fff6ee;
}

.shella5ed4-btn-register:hover,
.shella5ed4-btn-register:focus-visible {
  background: var(--shella5ed4-cocoa-deep);
  color: #fff;
  text-decoration: none;
}

.shella5ed4-btn-login {
  background: transparent;
  border-color: var(--shella5ed4-sand);
  color: var(--shella5ed4-sand);
}

.shella5ed4-btn-login:hover,
.shella5ed4-btn-login:focus-visible {
  border-color: var(--shella5ed4-coral);
  color: var(--shella5ed4-coral);
  text-decoration: none;
}

/* menu trigger: three drawn bars, converts to a cross while open */
.shella5ed4-menu-toggle {
  position: relative;
  width: var(--shella5ed4-tap);
  height: var(--shella5ed4-tap);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--shella5ed4-line);
  border-radius: var(--shella5ed4-radius);
  transition: border-color 0.18s ease;
}

.shella5ed4-menu-toggle:hover {
  border-color: var(--shella5ed4-sandy);
}

.shella5ed4-menu-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--shella5ed4-ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.shella5ed4-menu-toggle[aria-expanded="true"] {
  border-color: var(--shella5ed4-coral);
}

.shella5ed4-menu-toggle[aria-expanded="true"]
  .shella5ed4-menu-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--shella5ed4-coral);
}

.shella5ed4-menu-toggle[aria-expanded="true"]
  .shella5ed4-menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.shella5ed4-menu-toggle[aria-expanded="true"]
  .shella5ed4-menu-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--shella5ed4-coral);
}

/* ==========================================================================
   Stacked overlay menu
   ========================================================================== */

.shella5ed4-sheet {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 66px 12px 18px;
  background: rgba(27, 27, 27, 0.985);
  border-inline: 1px solid var(--shella5ed4-line);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.shella5ed4-sheet[data-open="true"] {
  visibility: visible;
  opacity: 1;
}

.shella5ed4-sheet-label {
  margin: 14px 2px 6px;
  font-family: var(--shella5ed4-font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shella5ed4-ink-soft);
}

.shella5ed4-sheet-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 10px 12px 14px;
  border-bottom: 1px solid var(--shella5ed4-line);
  border-left: 2px solid transparent;
  color: var(--shella5ed4-ink);
  font-family: var(--shella5ed4-font-head);
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}

.shella5ed4-sheet-link em {
  font-family: var(--shella5ed4-font-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--shella5ed4-ink-soft);
  white-space: nowrap;
}

.shella5ed4-sheet-link:hover,
.shella5ed4-sheet-link:focus-visible {
  border-left-color: var(--shella5ed4-coral);
  background: rgba(210, 105, 30, 0.08);
  color: var(--shella5ed4-sand);
  text-decoration: none;
}

.shella5ed4-sheet-link--now {
  border-left-color: var(--shella5ed4-cocoa);
  color: var(--shella5ed4-coral);
}

.shella5ed4-sheet-note {
  margin-top: auto;
  padding: 14px 4px 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--shella5ed4-ink-soft);
}

/* ==========================================================================
   Hero block
   ========================================================================== */

.shella5ed4-hero {
  padding: 6px 2px 14px;
  border-bottom: 1px solid var(--shella5ed4-line);
}

.shella5ed4-hero-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 8px;
  border: 1px solid var(--shella5ed4-line-strong);
  border-radius: var(--shella5ed4-radius);
  font-family: var(--shella5ed4-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--shella5ed4-sand);
}

.shella5ed4-hero-title {
  font-family: var(--shella5ed4-font-head);
  font-size: 24px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #e8edf1;
}

.shella5ed4-hero-lead {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--shella5ed4-ink-soft);
}

.shella5ed4-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.shella5ed4-hero-meta li {
  padding: 4px 9px;
  border: 1px solid var(--shella5ed4-line);
  border-radius: 999px;
  font-family: var(--shella5ed4-font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shella5ed4-ink-soft);
  white-space: nowrap;
}

/* ==========================================================================
   Promo carousel
   ========================================================================== */

.shella5ed4-carousel {
  margin-top: 16px;
}

.shella5ed4-carousel-viewport {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--shella5ed4-line-strong);
  border-radius: var(--shella5ed4-radius-soft);
  background: var(--shella5ed4-canvas-deep);
}

.shella5ed4-carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.shella5ed4-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.shella5ed4-slide-img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.shella5ed4-slide:hover .shella5ed4-slide-img {
  filter: brightness(1.06);
}

.shella5ed4-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 22px 10px 8px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, 0.92) 78%);
}

.shella5ed4-slide-caption strong {
  font-family: var(--shella5ed4-font-head);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #f2f5f7;
}

.shella5ed4-slide-caption em {
  flex: none;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--shella5ed4-cocoa);
  font-family: var(--shella5ed4-font-mono);
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff6ee;
  transition: background-color 0.18s ease;
}

.shella5ed4-slide:hover .shella5ed4-slide-caption em,
.shella5ed4-slide:focus-visible .shella5ed4-slide-caption em {
  background: var(--shella5ed4-coral);
}

.shella5ed4-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
}

.shella5ed4-dot {
  width: 26px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
}

.shella5ed4-dot::before {
  content: "";
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: var(--shella5ed4-line);
  transition: width 0.22s ease, background-color 0.22s ease;
}

.shella5ed4-dot--on::before {
  width: 24px;
  background: var(--shella5ed4-coral);
}

/* ==========================================================================
   Shared section chrome
   ========================================================================== */

.shella5ed4-section {
  margin-top: 26px;
}

.shella5ed4-sec-head {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--shella5ed4-line);
}

.shella5ed4-sec-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-family: var(--shella5ed4-font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--shella5ed4-sandy);
}

.shella5ed4-sec-kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--shella5ed4-line);
}

h2.shella5ed4-sec-title,
.shella5ed4-section h2 {
  font-family: var(--shella5ed4-font-head);
  font-size: 18.5px;
  line-height: 1.28;
  font-weight: 800;
  color: #e8edf1;
}

.shella5ed4-sec-note {
  margin-top: 6px;
  font-family: var(--shella5ed4-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--shella5ed4-ink-soft);
}

.shella5ed4-copy {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--shella5ed4-ink-soft);
}

.shella5ed4-copy + .shella5ed4-copy {
  margin-top: 8px;
}

.shella5ed4-copy strong {
  color: var(--shella5ed4-ink);
  font-weight: 600;
}

/* shelf index strip (plain labels, no links) */
.shella5ed4-shelf-index {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.shella5ed4-shelf-index li {
  padding: 3px 8px;
  border: 1px dashed var(--shella5ed4-line);
  border-radius: var(--shella5ed4-radius);
  font-family: var(--shella5ed4-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shella5ed4-ink-soft);
}

/* ==========================================================================
   Game grid — image tile with bottom name bar
   ========================================================================== */

.shella5ed4-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(66px, 1fr));
  gap: 9px 7px;
}

.shella5ed4-tile-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--shella5ed4-line);
  border-radius: var(--shella5ed4-radius);
  background: var(--shella5ed4-canvas-deep);
  overflow: hidden;
  transition: border-color 0.18s ease, background-color 0.18s ease,
    transform 0.12s ease;
}

.shella5ed4-tile-link:hover,
.shella5ed4-tile-link:focus-visible {
  border-color: var(--shella5ed4-sand);
  text-decoration: none;
}

.shella5ed4-tile-link:active {
  transform: scale(0.94);
}

.shella5ed4-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #191919;
}

.shella5ed4-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 4px 5px 5px;
  min-height: 30px;
  border-top: 1px solid var(--shella5ed4-line);
  background: #202020;
  font-family: var(--shella5ed4-font-head);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--shella5ed4-ink);
}

.shella5ed4-tile-link:hover .shella5ed4-tile-name {
  color: var(--shella5ed4-sand);
}

/* ==========================================================================
   Feature comparison table + note strip
   ========================================================================== */

.shella5ed4-tablescroll {
  margin-top: 14px;
  overflow-x: auto;
  border: 1px solid var(--shella5ed4-line);
  border-radius: var(--shella5ed4-radius);
}

.shella5ed4-table {
  width: 100%;
  min-width: 296px;
  border-collapse: collapse;
  font-size: 12px;
}

.shella5ed4-table th,
.shella5ed4-table td {
  padding: 8px 9px;
  border-bottom: 1px solid var(--shella5ed4-line);
  text-align: left;
  vertical-align: top;
}

.shella5ed4-table thead th {
  background: #202020;
  font-family: var(--shella5ed4-font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shella5ed4-sand);
}

.shella5ed4-table tbody tr:last-child th,
.shella5ed4-table tbody tr:last-child td {
  border-bottom: 0;
}

.shella5ed4-table tbody th {
  font-family: var(--shella5ed4-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shella5ed4-ink);
  white-space: nowrap;
}

.shella5ed4-table td {
  color: var(--shella5ed4-ink-soft);
}

.shella5ed4-note-strip {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.shella5ed4-note-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 9px 10px;
  border: 1px solid var(--shella5ed4-line);
  border-left: 2px solid var(--shella5ed4-cocoa);
  border-radius: var(--shella5ed4-radius);
  background: rgba(42, 42, 42, 0.6);
  font-size: 12.5px;
  color: var(--shella5ed4-ink-soft);
  transition: border-color 0.18s ease;
}

.shella5ed4-note-item:hover {
  border-left-color: var(--shella5ed4-coral);
}

.shella5ed4-note-item b {
  display: block;
  font-family: var(--shella5ed4-font-head);
  font-size: 12.5px;
  color: var(--shella5ed4-ink);
}

/* ==========================================================================
   Step rail — progressive numbered blocks on a shared track
   ========================================================================== */

.shella5ed4-steps {
  margin-top: 14px;
  display: grid;
  gap: 0;
}

.shella5ed4-step {
  position: relative;
  display: flex;
  gap: 11px;
  padding: 0 0 16px 0;
}

.shella5ed4-step::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 2px;
  width: 1px;
  background: var(--shella5ed4-line-strong);
}

.shella5ed4-step:last-child::before {
  display: none;
}

.shella5ed4-step-no {
  flex: none;
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shella5ed4-sand);
  border-radius: 50%;
  background: #202020;
  font-family: var(--shella5ed4-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--shella5ed4-sand);
}

.shella5ed4-step-body {
  font-size: 12.5px;
  color: var(--shella5ed4-ink-soft);
  padding-top: 4px;
}

.shella5ed4-step-body b {
  display: block;
  font-family: var(--shella5ed4-font-head);
  font-size: 13px;
  color: var(--shella5ed4-ink);
}

/* ==========================================================================
   Decision checklist
   ========================================================================== */

.shella5ed4-checklist {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.shella5ed4-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid var(--shella5ed4-line);
  border-radius: var(--shella5ed4-radius);
  background: rgba(42, 42, 42, 0.55);
  font-size: 12.5px;
  color: var(--shella5ed4-ink-soft);
  transition: border-color 0.18s ease;
}

.shella5ed4-check-item:hover {
  border-color: var(--shella5ed4-line-strong);
}

.shella5ed4-check-box {
  flex: none;
  position: relative;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1px solid var(--shella5ed4-sand);
  border-radius: 2px;
  background: #202020;
}

.shella5ed4-check-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--shella5ed4-sand);
  border-bottom: 2px solid var(--shella5ed4-sand);
  transform: rotate(40deg);
}

.shella5ed4-check-item b {
  color: var(--shella5ed4-ink);
  font-weight: 600;
}

/* ==========================================================================
   Play-now CTA — staggered primary / secondary buttons
   ========================================================================== */

.shella5ed4-cta {
  margin-top: 26px;
  padding: 16px 14px 14px;
  border: 1px solid var(--shella5ed4-cocoa);
  border-radius: var(--shella5ed4-radius-soft);
  background:
    linear-gradient(160deg, rgba(210, 105, 30, 0.16), rgba(250, 128, 114, 0.07)),
    var(--shella5ed4-canvas-deep);
}

.shella5ed4-cta-copy {
  margin-top: 8px;
  font-size: 13px;
  color: var(--shella5ed4-ink-soft);
}

.shella5ed4-cta-actions {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.shella5ed4-cta-primary {
  min-height: 48px;
  width: 100%;
  background: var(--shella5ed4-cocoa);
  border: 1px solid var(--shella5ed4-cocoa);
  border-radius: var(--shella5ed4-radius);
  color: #fff6ee;
  font-family: var(--shella5ed4-font-head);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.18s ease, transform 0.12s ease;
}

.shella5ed4-cta-primary:hover,
.shella5ed4-cta-primary:focus-visible {
  background: var(--shella5ed4-cocoa-deep);
  color: #fff;
}

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

.shella5ed4-cta-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.shella5ed4-cta-secondary {
  min-height: 42px;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid var(--shella5ed4-sand);
  border-radius: var(--shella5ed4-radius);
  color: var(--shella5ed4-sand);
  font-family: var(--shella5ed4-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.shella5ed4-cta-secondary:hover,
.shella5ed4-cta-secondary:focus-visible {
  border-color: var(--shella5ed4-coral);
  color: var(--shella5ed4-coral);
}

.shella5ed4-cta-secondary:active {
  transform: scale(0.95);
}

.shella5ed4-cta-fine {
  font-size: 10.5px;
  color: var(--shella5ed4-ink-soft);
}

/* ==========================================================================
   FAQ — details / summary accordions
   ========================================================================== */

.shella5ed4-faq {
  margin-top: 14px;
  border-top: 1px solid var(--shella5ed4-line);
}

.shella5ed4-faq-item {
  border-bottom: 1px solid var(--shella5ed4-line);
}

.shella5ed4-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 2px;
  font-family: var(--shella5ed4-font-head);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--shella5ed4-ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.18s ease;
}

.shella5ed4-faq-q::-webkit-details-marker {
  display: none;
}

.shella5ed4-faq-q:hover {
  color: var(--shella5ed4-sand);
}

.shella5ed4-faq-q::after {
  content: "+";
  flex: none;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shella5ed4-line-strong);
  border-radius: 50%;
  font-family: var(--shella5ed4-font-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--shella5ed4-sand);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.shella5ed4-faq-item[open] .shella5ed4-faq-q {
  color: var(--shella5ed4-sand);
}

.shella5ed4-faq-item[open] .shella5ed4-faq-q::after {
  content: "\2212";
  transform: rotate(180deg);
  color: var(--shella5ed4-coral);
  border-color: var(--shella5ed4-coral);
}

.shella5ed4-faq-a {
  padding: 0 2px 13px;
  font-size: 12.5px;
  color: var(--shella5ed4-ink-soft);
}

/* ==========================================================================
   Extended footer — two-column directory, then brand, promos, disclaimer
   ========================================================================== */

.shella5ed4-xfooter {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--shella5ed4-line-strong);
}

.shella5ed4-xfoot-block {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed var(--shella5ed4-line);
}

.shella5ed4-xfoot-h {
  margin: 0 0 8px;
  font-family: var(--shella5ed4-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--shella5ed4-sandy);
}

.shella5ed4-xfoot-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 6px 10px;
}

.shella5ed4-xfoot-links a {
  display: inline-block;
  padding: 6px 2px;
  font-size: 12.5px;
  color: var(--shella5ed4-ink-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.shella5ed4-xfoot-links a:hover,
.shella5ed4-xfoot-links a:focus-visible {
  color: var(--shella5ed4-sand);
  border-bottom-color: var(--shella5ed4-coral);
  text-decoration: none;
}

.shella5ed4-xfoot-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.shella5ed4-xfoot-brand img {
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--shella5ed4-line-strong);
  border-radius: var(--shella5ed4-radius);
  background: #141414;
}

.shella5ed4-xfoot-brand p {
  font-size: 12px;
  color: var(--shella5ed4-ink-soft);
}

.shella5ed4-xfoot-promos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.shella5ed4-xfoot-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--shella5ed4-cocoa);
  border-radius: var(--shella5ed4-radius);
  background: rgba(210, 105, 30, 0.1);
  font-family: var(--shella5ed4-font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shella5ed4-sand);
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.shella5ed4-xfoot-promo span {
  font-family: var(--shella5ed4-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--shella5ed4-coral);
}

.shella5ed4-xfoot-promo:hover,
.shella5ed4-xfoot-promo:focus-visible {
  border-color: var(--shella5ed4-coral);
  color: #f4e3d6;
  text-decoration: none;
}

.shella5ed4-xfoot-promo:active {
  transform: scale(0.96);
}

.shella5ed4-xfoot-disclaimer {
  font-size: 11px;
  line-height: 1.65;
  color: var(--shella5ed4-ink-soft);
}

/* ---------- common footer ---------- */

.shella5ed4-footer {
  margin-top: 26px;
  padding: 14px 12px 12px;
  border-top: 1px solid var(--shella5ed4-line);
  text-align: center;
  font-family: var(--shella5ed4-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--shella5ed4-ink-soft);
}

/* ==========================================================================
   Mobile dock — compact five-slot icon rack, fixed to the canvas bottom
   ========================================================================== */

.shella5ed4-dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: calc(var(--shella5ed4-dock-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(24, 24, 24, 0.97);
  border-top: 1px solid var(--shella5ed4-line-strong);
  backdrop-filter: blur(6px);
}

.shella5ed4-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shella5ed4-dock-h);
  color: var(--shella5ed4-ink-soft);
  transition: color 0.18s ease, transform 0.12s ease;
}

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

.shella5ed4-dock-item:active {
  transform: scale(0.92);
}

.shella5ed4-dock-ico {
  width: 22px;
  height: 22px;
  display: block;
}

.shella5ed4-dock-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.shella5ed4-dock-label {
  font-family: var(--shella5ed4-font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* sliding activation marker under the current slot */
.shella5ed4-dock-item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--shella5ed4-coral);
  transform: translateX(-50%);
  transition: width 0.24s ease;
}

.shella5ed4-dock-item--on {
  color: var(--shella5ed4-coral);
}

.shella5ed4-dock-item--on::after {
  width: 22px;
}

/* promo slots get a warm outline badge to separate them from routes */
.shella5ed4-dock-item--promo .shella5ed4-dock-ico {
  filter: drop-shadow(0 0 3px rgba(244, 165, 96, 0.55));
}

/* ==========================================================================
   Help page patterns — glossary lanes, decision branches, and answer cards
   ========================================================================== */

.shella5ed4-term-list {
  margin-top: 14px;
  display: grid;
  gap: 9px;
}

.shella5ed4-term {
  padding: 11px 12px 12px;
  border: 1px solid var(--shella5ed4-line);
  border-left: 3px solid var(--shella5ed4-sandy);
  background: rgba(35, 35, 35, 0.72);
}

.shella5ed4-term dt {
  font-family: var(--shella5ed4-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shella5ed4-sand);
}

.shella5ed4-term dd {
  margin: 5px 0 0;
  font-size: 12.5px;
  color: var(--shella5ed4-ink-soft);
}

.shella5ed4-branch-grid {
  margin-top: 14px;
  display: grid;
  gap: 9px;
}

.shella5ed4-branch {
  padding: 12px;
  border: 1px solid var(--shella5ed4-line);
  border-radius: var(--shella5ed4-radius);
  background: var(--shella5ed4-canvas-deep);
}

.shella5ed4-branch strong {
  display: block;
  color: var(--shella5ed4-coral);
  font-family: var(--shella5ed4-font-head);
  font-size: 13px;
}

.shella5ed4-branch p {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--shella5ed4-ink-soft);
}

.shella5ed4-help-rail {
  margin-top: 14px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--shella5ed4-line);
}

.shella5ed4-help-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--shella5ed4-line);
}

.shella5ed4-help-row-no {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shella5ed4-cocoa);
  border-radius: 50%;
  color: var(--shella5ed4-sandy);
  font-family: var(--shella5ed4-font-mono);
  font-size: 10px;
}

.shella5ed4-help-row h3 {
  font-size: 14px;
  line-height: 1.3;
  color: var(--shella5ed4-ink);
}

.shella5ed4-help-row p {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--shella5ed4-ink-soft);
}

.shella5ed4-answer-board {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.shella5ed4-answer-card {
  padding: 12px;
  border: 1px solid var(--shella5ed4-line);
  background: rgba(42, 42, 42, 0.62);
}

.shella5ed4-answer-card h3 {
  font-size: 14px;
  line-height: 1.35;
  color: var(--shella5ed4-sand);
}

.shella5ed4-answer-card p {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--shella5ed4-ink-soft);
}

.shella5ed4-answer-card p + p {
  margin-top: 7px;
}

.shella5ed4-signal-list {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.shella5ed4-signal-list li {
  padding: 8px 10px;
  border-left: 2px solid var(--shella5ed4-coral);
  background: rgba(250, 128, 114, 0.06);
  font-size: 12.5px;
  color: var(--shella5ed4-ink-soft);
}

.shella5ed4-signal-list b {
  color: var(--shella5ed4-ink);
}

/* ---------- utility ---------- */

.shella5ed4-noscroll {
  overflow: hidden;
}

/* ---------- motion budget: presses and color shifts only ---------- */

@media (prefers-reduced-motion: reduce) {

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

/* ---------- narrow-canvas fine tuning ---------- */

@media (max-width: 339px) {

  .shella5ed4-btn {
    padding: 8px 9px;
    font-size: 11.5px;
  }

  .shella5ed4-hero-title {
    font-size: 21.5px;
  }
}

@media (min-width: 400px) {

  .shella5ed4-hero-title {
    font-size: 25px;
  }

  .shella5ed4-grid {
    gap: 10px 8px;
  }
}
