/* ============================================================
   Slot machine - compact-020a5b-chrome.css
   Mobile-first slot education & entertainment canvas.
   Prefix: shella5b33-
   Palette anchors: #FF1493 #2E4057 #FF91A4 #00CED1 #F0FDFF
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --shella5b33-bg: #2E4057;
  --shella5b33-bg-deep: #21303f;
  --shella5b33-bg-rise: #384e6a;
  --shella5b33-surface: #324863;
  --shella5b33-surface-2: #3c5471;
  --shella5b33-line: rgba(240, 253, 255, 0.12);
  --shella5b33-line-strong: rgba(240, 253, 255, 0.22);
  --shella5b33-primary: #FF1493;
  --shella5b33-primary-deep: #d9067c;
  --shella5b33-secondary: #00CED1;
  --shella5b33-soft: #FF91A4;
  --shella5b33-text: #F0FDFF;
  --shella5b33-text-dim: #c8d6e2;
  --shella5b33-text-mute: #8fa3b8;
  --shella5b33-warn: #FFD166;
  --shella5b33-good: #5BE7B9;

  --shella5b33-radius-xs: 6px;
  --shella5b33-radius-sm: 10px;
  --shella5b33-radius-md: 14px;
  --shella5b33-radius-lg: 18px;

  --shella5b33-gap-xs: 6px;
  --shella5b33-gap-sm: 10px;
  --shella5b33-gap-md: 14px;
  --shella5b33-gap-lg: 22px;

  --shella5b33-header-h: 56px;
  --shella5b33-bottomnav-h: 64px;

  --shella5b33-shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.28);
  --shella5b33-shadow-press: 0 2px 0 rgba(0, 0, 0, 0.35);

  --shella5b33-font-head: "Trebuchet MS", "Segoe UI", Verdana, Geneva, sans-serif;
  --shella5b33-font-body: "Helvetica Neue", "Segoe UI", Arial, system-ui, sans-serif;

  --shella5b33-canvas: 430px;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--shella5b33-font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--shella5b33-text);
  background-color: var(--shella5b33-bg-deep);
  background-image:
    radial-gradient(circle at 12% -8%, rgba(255, 20, 147, 0.20), transparent 42%),
    radial-gradient(circle at 92% 4%, rgba(0, 206, 209, 0.18), transparent 46%),
    linear-gradient(180deg, #21303f 0%, #2E4057 38%, #21303f 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

a:hover,
a:focus-visible { color: var(--shella5b33-soft); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--shella5b33-secondary);
  outline-offset: 2px;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

h1, h2, h3, h4 {
  font-family: var(--shella5b33-font-head);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: var(--shella5b33-text);
  letter-spacing: 0.2px;
}

p { margin: 0 0 12px; }

/* ---------- Centered phone canvas ---------- */
.shella5b33-canvas {
  max-width: var(--shella5b33-canvas);
  margin: 0 auto;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(46, 64, 87, 0.0) 0%, rgba(33, 48, 63, 0.55) 100%),
    var(--shella5b33-bg);
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.45);
  padding-bottom: calc(var(--shella5b33-bottomnav-h) + env(safe-area-inset-bottom, 0));
}

/* ---------- Top brand bar ---------- */
.shella5b33-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--shella5b33-header-h);
  display: flex;
  align-items: center;
  gap: var(--shella5b33-gap-sm);
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(33, 48, 63, 0.97) 0%, rgba(33, 48, 63, 0.88) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shella5b33-line-strong);
}

.shella5b33-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.shella5b33-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--shella5b33-radius-xs);
  object-fit: cover;
  border: 1px solid var(--shella5b33-line-strong);
  box-shadow: 0 0 0 2px rgba(255, 20, 147, 0.18);
  flex: 0 0 auto;
}

.shella5b33-brand-name {
  font-family: var(--shella5b33-font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.3px;
  color: var(--shella5b33-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shella5b33-brand-name span {
  color: var(--shella5b33-primary);
}

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

.shella5b33-btn {
  font-family: var(--shella5b33-font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  padding: 9px 14px;
  border-radius: var(--shella5b33-radius-xs);
  min-height: 36px;
  min-width: 44px;
  transition: transform 0.12s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.shella5b33-btn-login {
  background: transparent;
  color: var(--shella5b33-text);
  border: 1px solid var(--shella5b33-line-strong);
}

.shella5b33-btn-login:hover,
.shella5b33-btn-login:focus-visible {
  background: rgba(0, 206, 209, 0.12);
  color: var(--shella5b33-secondary);
}

.shella5b33-btn-register {
  background: var(--shella5b33-primary);
  color: #fff;
  box-shadow: 0 3px 0 var(--shella5b33-primary-deep), var(--shella5b33-shadow-soft);
}

.shella5b33-btn-register:hover,
.shella5b33-btn-register:focus-visible {
  background: var(--shella5b33-soft);
  color: #1a1a1a;
}

.shella5b33-btn:active {
  transform: translateY(1px);
  box-shadow: var(--shella5b33-shadow-press);
}

.shella5b33-menu-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--shella5b33-radius-xs);
  border: 1px solid var(--shella5b33-line-strong);
  background: rgba(240, 253, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.shella5b33-menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--shella5b33-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.shella5b33-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.shella5b33-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.shella5b33-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Slide-down partitioned menu ---------- */
.shella5b33-menu {
  position: fixed;
  top: var(--shella5b33-header-h);
  left: 50%;
  transform: translate(-50%, -12px);
  width: 100%;
  max-width: var(--shella5b33-canvas);
  background: linear-gradient(180deg, rgba(33, 48, 63, 0.99), rgba(46, 64, 87, 0.99));
  border-bottom: 1px solid var(--shella5b33-line-strong);
  box-shadow: var(--shella5b33-shadow-soft);
  z-index: 49;
  padding: 14px 14px 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  max-height: calc(100vh - var(--shella5b33-header-h));
  overflow-y: auto;
}

.shella5b33-menu[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.shella5b33-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 48;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.shella5b33-menu-backdrop[data-open="true"] {
  opacity: 1;
  visibility: visible;
}

.shella5b33-menu-title {
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shella5b33-secondary);
  margin: 4px 0 8px;
  font-family: var(--shella5b33-font-head);
}

.shella5b33-menu-block {
  border: 1px solid var(--shella5b33-line);
  border-radius: var(--shella5b33-radius-sm);
  background: rgba(60, 84, 113, 0.42);
  padding: 6px;
  margin-bottom: 12px;
}

.shella5b33-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--shella5b33-radius-xs);
  color: var(--shella5b33-text);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease;
}

.shella5b33-menu-link:hover,
.shella5b33-menu-link:focus-visible {
  background: rgba(0, 206, 209, 0.14);
  color: var(--shella5b33-secondary);
}

.shella5b33-menu-link::after {
  content: "›";
  color: var(--shella5b33-text-mute);
  font-size: 18px;
  line-height: 1;
}

.shella5b33-menu-cta {
  margin-top: 6px;
  display: flex;
  gap: 8px;
}

.shella5b33-menu-cta .shella5b33-btn { flex: 1; }

/* ---------- Main ---------- */
.shella5b33-main { padding: 0 0 8px; }

.shella5b33-section {
  padding: 18px 12px 6px;
}

.shella5b33-section-eyebrow {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--shella5b33-secondary);
  font-family: var(--shella5b33-font-head);
  margin-bottom: 4px;
}

.shella5b33-h1 {
  font-size: 26px;
  line-height: 1.18;
  margin-bottom: 8px;
}

.shella5b33-h1 em {
  font-style: normal;
  color: var(--shella5b33-primary);
}

.shella5b33-lead {
  color: var(--shella5b33-text-dim);
  font-size: 14px;
  margin: 0 0 14px;
}

.shella5b33-h2 {
  font-size: 19px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shella5b33-h2::before {
  content: "";
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--shella5b33-primary), var(--shella5b33-secondary));
  border-radius: 2px;
}

.shella5b33-h3 {
  font-size: 15px;
  margin: 14px 0 6px;
  color: var(--shella5b33-soft);
  font-family: var(--shella5b33-font-head);
}

.shella5b33-section-intro {
  color: var(--shella5b33-text-dim);
  font-size: 13.5px;
  margin: 0 0 12px;
}

/* ---------- Hero / carousel ---------- */
.shella5b33-hero {
  position: relative;
  margin: 12px 12px 0;
  border-radius: var(--shella5b33-radius-md);
  overflow: hidden;
  box-shadow: var(--shella5b33-shadow-soft);
  border: 1px solid var(--shella5b33-line-strong);
}

.shella5b33-carousel {
  position: relative;
}

.shella5b33-slides {
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.shella5b33-slides::-webkit-scrollbar { display: none; }

.shella5b33-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  cursor: pointer;
}

.shella5b33-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.shella5b33-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33, 48, 63, 0.0) 28%, rgba(33, 48, 63, 0.88) 96%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}

.shella5b33-slide-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--shella5b33-primary);
  color: #fff;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.shella5b33-slide-title {
  font-family: var(--shella5b33-font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--shella5b33-text);
  margin: 0 0 2px;
}

.shella5b33-slide-text {
  font-size: 12.5px;
  color: var(--shella5b33-text-dim);
  margin: 0;
}

.shella5b33-carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

.shella5b33-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(240, 253, 255, 0.45);
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  padding: 0;
}

.shella5b33-carousel-dot[aria-current="true"] {
  background: var(--shella5b33-secondary);
  transform: scale(1.4);
}

.shella5b33-hero-cta {
  display: flex;
  gap: 8px;
  margin: 10px 12px 0;
}

.shella5b33-hero-cta .shella5b33-btn { flex: 1; }

/* ---------- Quick stat strip ---------- */
.shella5b33-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 14px 12px 0;
}

.shella5b33-stat {
  background: rgba(60, 84, 113, 0.55);
  border: 1px solid var(--shella5b33-line);
  border-radius: var(--shella5b33-radius-sm);
  padding: 10px 6px;
  text-align: center;
}

.shella5b33-stat-num {
  font-family: var(--shella5b33-font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--shella5b33-secondary);
  line-height: 1;
}

.shella5b33-stat-label {
  font-size: 10.5px;
  color: var(--shella5b33-text-mute);
  margin-top: 4px;
  letter-spacing: 0.4px;
}

/* ---------- Category section ---------- */
.shella5b33-category {
  margin: 18px 0 0;
}

.shella5b33-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 12px;
  margin-bottom: 8px;
}

.shella5b33-category-title {
  font-size: 17px;
  font-family: var(--shella5b33-font-head);
  color: var(--shella5b33-text);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.shella5b33-category-title-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--shella5b33-primary), var(--shella5b33-soft));
  font-size: 12px;
  color: #1a1a1a;
  font-weight: 800;
}

.shella5b33-category-title-mark.alt {
  background: linear-gradient(135deg, var(--shella5b33-secondary), #4ad8db);
  color: #0d2a2b;
}

.shella5b33-category-count {
  font-size: 11px;
  color: var(--shella5b33-text-mute);
  letter-spacing: 0.5px;
}

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

@media (min-width: 360px) {
  .shella5b33-grid { gap: 9px; }
}

@media (min-width: 400px) {
  .shella5b33-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
}

.shella5b33-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: var(--shella5b33-radius-sm);
  transition: transform 0.16s ease;
  min-width: 0;
}

.shella5b33-card:active { transform: scale(0.96); }

.shella5b33-card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--shella5b33-radius-sm);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #3c5471, #21303f);
  border: 1px solid var(--shella5b33-line-strong);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.shella5b33-card-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(33, 48, 63, 0.45));
  pointer-events: none;
}

.shella5b33-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.shella5b33-card:hover .shella5b33-card-img { transform: scale(1.06); }

.shella5b33-card-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--shella5b33-text);
  margin-top: 5px;
  line-height: 1.25;
  height: 28px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  letter-spacing: 0.1px;
}

/* ---------- Feature / metric blocks ---------- */
.shella5b33-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.shella5b33-feature {
  background: rgba(60, 84, 113, 0.45);
  border: 1px solid var(--shella5b33-line);
  border-left: 3px solid var(--shella5b33-primary);
  border-radius: var(--shella5b33-radius-sm);
  padding: 11px 11px 10px;
}

.shella5b33-feature.alt { border-left-color: var(--shella5b33-secondary); }

.shella5b33-feature-h {
  font-family: var(--shella5b33-font-head);
  font-size: 13.5px;
  margin-bottom: 4px;
  color: var(--shella5b33-text);
}

.shella5b33-feature-p {
  font-size: 12.5px;
  color: var(--shella5b33-text-dim);
  margin: 0;
  line-height: 1.5;
}

.shella5b33-metric-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.shella5b33-metric {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  background: rgba(60, 84, 113, 0.38);
  border: 1px solid var(--shella5b33-line);
  border-radius: var(--shella5b33-radius-xs);
}

.shella5b33-metric-k {
  font-family: var(--shella5b33-font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--shella5b33-secondary);
  text-transform: uppercase;
}

.shella5b33-metric-v {
  font-size: 13px;
  color: var(--shella5b33-text-dim);
  line-height: 1.5;
}

/* ---------- Steps ---------- */
.shella5b33-steps {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  counter-reset: step;
}

.shella5b33-step {
  position: relative;
  padding: 10px 12px 10px 42px;
  background: rgba(60, 84, 113, 0.38);
  border: 1px solid var(--shella5b33-line);
  border-radius: var(--shella5b33-radius-sm);
  counter-increment: step;
}

.shella5b33-step::before {
  content: counter(step);
  position: absolute;
  left: 10px;
  top: 10px;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--shella5b33-primary);
  color: #fff;
  font-family: var(--shella5b33-font-head);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shella5b33-step-title {
  font-family: var(--shella5b33-font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--shella5b33-text);
  margin: 0 0 2px;
}

.shella5b33-step-text {
  font-size: 12.5px;
  color: var(--shella5b33-text-dim);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Tricks grid ---------- */
.shella5b33-tricks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}

.shella5b33-trick {
  display: flex;
  gap: 10px;
  padding: 10px 11px;
  background: rgba(60, 84, 113, 0.38);
  border: 1px solid var(--shella5b33-line);
  border-radius: var(--shella5b33-radius-xs);
}

.shella5b33-trick-ico {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--shella5b33-secondary), #4ad8db);
  color: #0d2a2b;
  font-weight: 800;
  font-family: var(--shella5b33-font-head);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shella5b33-trick-t {
  font-family: var(--shella5b33-font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--shella5b33-text);
  margin: 0 0 2px;
}

.shella5b33-trick-p {
  font-size: 12.5px;
  color: var(--shella5b33-text-dim);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Prose / info ---------- */
.shella5b33-prose p {
  font-size: 13.5px;
  color: var(--shella5b33-text-dim);
  margin-bottom: 10px;
}

.shella5b33-prose strong { color: var(--shella5b33-text); }

.shella5b33-callout {
  border: 1px solid var(--shella5b33-line-strong);
  border-left: 3px solid var(--shella5b33-warn);
  background: rgba(255, 209, 102, 0.08);
  padding: 10px 12px;
  border-radius: var(--shella5b33-radius-xs);
  margin: 10px 0;
  font-size: 13px;
  color: var(--shella5b33-text-dim);
}

.shella5b33-callout strong { color: var(--shella5b33-warn); }

.shella5b33-entity {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.shella5b33-entity-row {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  padding: 9px 10px;
  background: rgba(60, 84, 113, 0.38);
  border: 1px solid var(--shella5b33-line);
  border-radius: var(--shella5b33-radius-xs);
}

.shella5b33-entity-k {
  font-family: var(--shella5b33-font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--shella5b33-soft);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.shella5b33-entity-v {
  font-size: 12.5px;
  color: var(--shella5b33-text-dim);
  line-height: 1.5;
}

/* ---------- Inline CTA in content ---------- */
.shella5b33-inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 12px 0 4px;
  padding: 12px;
  border-radius: var(--shella5b33-radius-sm);
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.16), rgba(0, 206, 209, 0.12));
  border: 1px solid var(--shella5b33-line-strong);
}

.shella5b33-inline-cta-text {
  flex: 1 1 160px;
  font-size: 13px;
  color: var(--shella5b33-text);
}

.shella5b33-inline-cta-text strong { color: var(--shella5b33-soft); }

/* ---------- Extended footer (homepage only) ---------- */
.shella5b33-extended {
  margin: 18px 12px 0;
  border: 1px solid var(--shella5b33-line-strong);
  border-radius: var(--shella5b33-radius-md);
  background: linear-gradient(180deg, rgba(60, 84, 113, 0.55), rgba(33, 48, 63, 0.6));
  padding: 14px;
}

.shella5b33-extended-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.shella5b33-extended-brand img {
  width: 38px;
  height: 38px;
  border-radius: var(--shella5b33-radius-xs);
  border: 1px solid var(--shella5b33-line-strong);
}

.shella5b33-extended-brand-name {
  font-family: var(--shella5b33-font-head);
  font-weight: 700;
  font-size: 15px;
}

.shella5b33-extended-brand-name span { color: var(--shella5b33-primary); }

.shella5b33-extended-intro {
  font-size: 12.5px;
  color: var(--shella5b33-text-dim);
  margin: 0 0 12px;
  line-height: 1.55;
}

.shella5b33-extended-block-title {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shella5b33-secondary);
  font-family: var(--shella5b33-font-head);
  margin: 0 0 7px;
}

.shella5b33-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.shella5b33-directory a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  background: rgba(60, 84, 113, 0.45);
  border: 1px solid var(--shella5b33-line);
  border-radius: var(--shella5b33-radius-xs);
  color: var(--shella5b33-text);
  font-size: 12px;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.shella5b33-directory a:hover,
.shella5b33-directory a:focus-visible {
  background: rgba(0, 206, 209, 0.16);
  color: var(--shella5b33-secondary);
}

.shella5b33-directory a:active { transform: scale(0.97); }

.shella5b33-directory-ico {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--shella5b33-font-head);
  font-weight: 800;
  font-size: 10px;
  background: var(--shella5b33-primary);
  color: #fff;
}

.shella5b33-directory-ico.alt { background: var(--shella5b33-secondary); color: #0d2a2b; }

.shella5b33-promo-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}

.shella5b33-promo-shortcut {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.18), rgba(255, 145, 164, 0.12));
  border: 1px solid var(--shella5b33-line-strong);
  border-radius: var(--shella5b33-radius-xs);
  color: var(--shella5b33-text);
  font-size: 12.5px;
  font-weight: 700;
  transition: transform 0.12s ease, background 0.2s ease;
  min-height: 44px;
}

.shella5b33-promo-shortcut:hover,
.shella5b33-promo-shortcut:focus-visible {
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.32), rgba(255, 145, 164, 0.22));
  color: #fff;
}

.shella5b33-promo-shortcut:active { transform: scale(0.97); }

.shella5b33-promo-shortcut-ico {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #fff;
  color: var(--shella5b33-primary);
  font-family: var(--shella5b33-font-head);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shella5b33-disclaimer {
  font-size: 11.5px;
  color: var(--shella5b33-text-mute);
  line-height: 1.55;
  padding: 10px;
  background: rgba(33, 48, 63, 0.6);
  border-radius: var(--shella5b33-radius-xs);
  border: 1px dashed var(--shella5b33-line-strong);
}

.shella5b33-disclaimer strong { color: var(--shella5b33-warn); }

/* ---------- Universal footer ---------- */
.shella5b33-footer {
  padding: 16px 14px 10px;
  border-top: 1px solid var(--shella5b33-line);
  background: rgba(33, 48, 63, 0.7);
  margin-top: 18px;
}

.shella5b33-footer-copy {
  font-size: 11.5px;
  color: var(--shella5b33-text-mute);
  text-align: center;
  line-height: 1.55;
}

.shella5b33-footer-copy strong { color: var(--shella5b33-text-dim); }

/* ---------- Bottom navigation ---------- */
.shella5b33-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shella5b33-canvas);
  height: calc(var(--shella5b33-bottomnav-h) + env(safe-area-inset-bottom, 0));
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: linear-gradient(180deg, rgba(33, 48, 63, 0.97), rgba(20, 30, 40, 0.99));
  border-top: 1px solid var(--shella5b33-line-strong);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 47;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.32);
}

.shella5b33-bottomnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px 8px;
  color: var(--shella5b33-text-mute);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  min-height: 44px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
  border-radius: 0;
}

.shella5b33-bottomnav-item:hover,
.shella5b33-bottomnav-item:focus-visible {
  color: var(--shella5b33-text);
  background: rgba(0, 206, 209, 0.08);
}

.shella5b33-bottomnav-item[aria-current="page"],
.shella5b33-bottomnav-item.is-active {
  color: var(--shella5b33-text);
  background: rgba(255, 20, 147, 0.16);
  border-top: 2px solid var(--shella5b33-primary);
  padding-top: 4px;
}

.shella5b33-bottomnav-ico {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.shella5b33-bottomnav-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.shella5b33-bottomnav-label {
  font-size: 9.5px;
  text-align: center;
  line-height: 1.1;
}

.shella5b33-bottomnav-badge {
  position: absolute;
  top: -2px;
  right: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shella5b33-primary);
  border: 1px solid rgba(33, 48, 63, 0.9);
}

/* ---------- Utility ---------- */
.shella5b33-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shella5b33-fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.shella5b33-fade-in.is-in {
  opacity: 1;
  transform: translateY(0);
}

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