/* =====================================================================
   ceo bat — palette adaptive shell (32e33c)
   Mobile-first canvas: 320-430px phone frame, centered on wide screens.
   Palette: deep navy #212F3D surface / warm yellow #FFE135 accent.
   Direction: humanist headings + clear body, small-mid radii, compact
   square-icon game catalog, intro-then-section rhythm, drawer slide +
   card lift motion, square high-contrast CTAs.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------- */
:root {
  --shell2e33c-ink: #212F3D;
  --shell2e33c-ink-deep: #16212C;
  --shell2e33c-ink-panel: #1A2836;
  --shell2e33c-ink-raise: #27394A;
  --shell2e33c-accent: #FFE135;
  --shell2e33c-accent-dim: #C9B21F;
  --shell2e33c-accent-wash: rgba(255, 225, 53, 0.09);
  --shell2e33c-paper: #F2F6F9;
  --shell2e33c-mist: #A9BAC7;
  --shell2e33c-line: #3A4E60;
  --shell2e33c-line-soft: rgba(58, 78, 96, 0.55);
  --shell2e33c-warn-ink: #EBD98F;
  --shell2e33c-ok: #6FDCA9;
  --shell2e33c-radius-s: 6px;
  --shell2e33c-radius-m: 10px;
  --shell2e33c-canvas: 430px;
  --shell2e33c-header-h: 116px;
  --shell2e33c-tabbar-h: 66px;
  --shell2e33c-font-head: "Trebuchet MS", "Verdana", "Noto Sans Bengali", "Hind Siliguri", "Kalpurush", sans-serif;
  --shell2e33c-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", "Kalpurush", "Arial", sans-serif;
  --shell2e33c-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------------------
   2. Base layer
   --------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #0E161E;
  color: var(--shell2e33c-paper);
  font-family: var(--shell2e33c-font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--shell2e33c-font-head);
  color: var(--shell2e33c-paper);
  margin: 0;
  line-height: 1.32;
  letter-spacing: 0.2px;
}

p {
  margin: 0 0 10px;
}

a {
  color: var(--shell2e33c-accent);
}

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

:focus-visible {
  outline: 2px solid var(--shell2e33c-accent);
  outline-offset: 2px;
}

/* Phone canvas: fixed 430px column keeps the mobile layout on desktop. */
.shell2e33c-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell2e33c-ink);
  overflow-x: hidden;
  box-shadow: 0 0 48px rgba(0, 0, 0, 0.55);
}

@media (min-width: 430px) {
  .shell2e33c-shell {
    border-left: 1px solid var(--shell2e33c-line);
    border-right: 1px solid var(--shell2e33c-line);
  }
}

.shell2e33c-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 120;
  background: var(--shell2e33c-accent);
  color: var(--shell2e33c-ink);
  font-weight: 700;
  font-size: 12px;
  padding: 9px 14px;
  border-radius: 0;
  transition: top 0.2s var(--shell2e33c-ease);
}

.shell2e33c-skip:focus {
  top: 8px;
}

/* ---------------------------------------------------------------------
   3. Fixed top bar — asymmetric brand header
   Row 1: brand mark + route-drawer trigger
   Row 2: register / login action strip
   --------------------------------------------------------------------- */
.shell2e33c-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: rgba(22, 33, 44, 0.97);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--shell2e33c-line);
}

.shell2e33c-toprow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 7px;
}

.shell2e33c-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  padding-bottom: 6px;
  text-decoration: none;
  min-height: 48px;
}

/* Asymmetric skewed accent underline under the brand lockup only. */
.shell2e33c-brand::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 0;
  width: 62%;
  height: 3px;
  background: var(--shell2e33c-accent);
  transform: skewX(-24deg);
}

.shell2e33c-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--shell2e33c-radius-s);
  border: 1px solid var(--shell2e33c-line);
  object-fit: cover;
  background: var(--shell2e33c-ink-raise);
}

.shell2e33c-brandname {
  font-family: var(--shell2e33c-font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--shell2e33c-paper);
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.shell2e33c-brandname em {
  font-style: normal;
  color: var(--shell2e33c-accent);
}

.shell2e33c-menubtn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  gap: 0;
  background: var(--shell2e33c-ink-raise);
  border: 1px solid var(--shell2e33c-line);
  border-radius: var(--shell2e33c-radius-s);
  flex: 0 0 auto;
}

.shell2e33c-menubtn-bars {
  display: grid;
  gap: 4px;
}

.shell2e33c-menubtn-bars i {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--shell2e33c-accent);
  transition: transform 0.22s var(--shell2e33c-ease), opacity 0.22s var(--shell2e33c-ease);
}

.shell2e33c-menubtn[aria-expanded="true"] .shell2e33c-menubtn-bars i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.shell2e33c-menubtn[aria-expanded="true"] .shell2e33c-menubtn-bars i:nth-child(2) {
  opacity: 0;
}

.shell2e33c-menubtn[aria-expanded="true"] .shell2e33c-menubtn-bars i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.shell2e33c-actions {
  display: flex;
  gap: 8px;
  padding: 0 12px 9px;
}

/* Square, high-contrast CTA pair. */
.shell2e33c-btn-register {
  flex: 1;
  min-height: 42px;
  background: var(--shell2e33c-accent);
  color: var(--shell2e33c-ink);
  border: 0;
  border-radius: 0;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 0 var(--shell2e33c-accent-dim);
  transition: transform 0.15s var(--shell2e33c-ease), box-shadow 0.15s var(--shell2e33c-ease);
}

.shell2e33c-btn-register:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--shell2e33c-accent-dim);
}

.shell2e33c-btn-login {
  flex: 1;
  min-height: 42px;
  background: transparent;
  color: var(--shell2e33c-accent);
  border: 1.5px solid var(--shell2e33c-accent);
  border-radius: 0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: background 0.15s var(--shell2e33c-ease);
}

.shell2e33c-btn-login:active {
  background: var(--shell2e33c-accent-wash);
}

/* ---------------------------------------------------------------------
   4. Route drawer — compact slide-in panel
   --------------------------------------------------------------------- */
.shell2e33c-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(6, 10, 14, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s var(--shell2e33c-ease);
}

.shell2e33c-scrim[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.shell2e33c-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(84%, 316px);
  background: var(--shell2e33c-ink-panel);
  border-left: 1px solid var(--shell2e33c-line);
  transform: translateX(103%);
  transition: transform 0.28s var(--shell2e33c-ease);
  display: flex;
  flex-direction: column;
  padding: 14px 14px 20px;
  overflow-y: auto;
}

.shell2e33c-drawer[data-open="true"] {
  transform: none;
}

.shell2e33c-drawerhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--shell2e33c-line);
}

.shell2e33c-drawerhead strong {
  font-family: var(--shell2e33c-font-head);
  font-size: 15px;
  color: var(--shell2e33c-accent);
  letter-spacing: 0.4px;
}

.shell2e33c-drawerclose {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--shell2e33c-ink-raise);
  border: 1px solid var(--shell2e33c-line);
  border-radius: var(--shell2e33c-radius-s);
  color: var(--shell2e33c-paper);
  font-size: 18px;
  line-height: 1;
}

.shell2e33c-routes {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.shell2e33c-route {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 10px;
  margin-bottom: 8px;
  background: var(--shell2e33c-ink-raise);
  border: 1px solid var(--shell2e33c-line);
  border-radius: var(--shell2e33c-radius-s);
  text-decoration: none;
  color: var(--shell2e33c-paper);
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color 0.16s var(--shell2e33c-ease), transform 0.16s var(--shell2e33c-ease);
}

.shell2e33c-route:active {
  border-color: var(--shell2e33c-accent);
  transform: translateX(3px);
}

.shell2e33c-route b {
  flex: 0 0 auto;
  min-width: 26px;
  text-align: center;
  font-size: 10.5px;
  color: var(--shell2e33c-accent);
  border: 1px solid var(--shell2e33c-accent-dim);
  border-radius: 4px;
  padding: 2px 3px;
  letter-spacing: 0.5px;
}

.shell2e33c-route[data-current="true"] {
  border-color: var(--shell2e33c-accent);
  background: var(--shell2e33c-accent-wash);
}

.shell2e33c-drawerfoot {
  margin-top: auto;
  padding-top: 14px;
  font-size: 11.5px;
  color: var(--shell2e33c-mist);
  border-top: 1px dashed var(--shell2e33c-line);
}

/* ---------------------------------------------------------------------
   5. Main column + hero
   --------------------------------------------------------------------- */
.shell2e33c-main {
  padding: calc(var(--shell2e33c-header-h) + 10px) 14px calc(var(--shell2e33c-tabbar-h) + 26px);
}

.shell2e33c-hero {
  padding: 12px 2px 4px;
}

.shell2e33c-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--shell2e33c-accent);
  border-left: 3px solid var(--shell2e33c-accent);
  padding: 3px 8px;
  background: var(--shell2e33c-accent-wash);
  margin-bottom: 12px;
}

.shell2e33c-hero h1 {
  font-size: 25px;
  font-weight: 800;
}

.shell2e33c-hero h1 em {
  font-style: normal;
  color: var(--shell2e33c-accent);
}

.shell2e33c-lead {
  margin-top: 12px;
  font-size: 14.5px;
  color: #D8E2EA;
}

.shell2e33c-ctarow {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.shell2e33c-cta-main {
  flex: 1.25;
  min-height: 46px;
  background: var(--shell2e33c-accent);
  color: var(--shell2e33c-ink);
  border: 0;
  border-radius: 0;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 0 var(--shell2e33c-accent-dim);
  transition: transform 0.15s var(--shell2e33c-ease), box-shadow 0.15s var(--shell2e33c-ease);
}

.shell2e33c-cta-main:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--shell2e33c-accent-dim);
}

.shell2e33c-cta-ghost {
  flex: 1;
  min-height: 46px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--shell2e33c-paper);
  border: 1.5px solid var(--shell2e33c-line);
  border-radius: 0;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: border-color 0.16s var(--shell2e33c-ease);
}

.shell2e33c-cta-ghost:active {
  border-color: var(--shell2e33c-accent);
}

/* ---------------------------------------------------------------------
   6. Banner reel
   --------------------------------------------------------------------- */
.shell2e33c-carousel {
  position: relative;
  margin-top: 18px;
  border: 1px solid var(--shell2e33c-line);
  border-radius: var(--shell2e33c-radius-m);
  overflow: hidden;
  background: var(--shell2e33c-ink-panel);
}

.shell2e33c-track {
  display: flex;
  transition: transform 0.45s var(--shell2e33c-ease);
}

.shell2e33c-slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--shell2e33c-ink-deep);
  text-align: left;
  width: 100%;
}

.shell2e33c-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
}

.shell2e33c-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 14px 12px;
  background: linear-gradient(180deg, rgba(22, 33, 44, 0) 0%, rgba(14, 22, 30, 0.92) 78%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shell2e33c-slidecap strong {
  font-family: var(--shell2e33c-font-head);
  font-size: 16.5px;
  color: var(--shell2e33c-accent);
}

.shell2e33c-slidecap span {
  font-size: 11.5px;
  color: #E4ECF2;
}

.shell2e33c-reelarrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(22, 33, 44, 0.78);
  border: 1px solid var(--shell2e33c-line-soft);
  border-radius: 0;
  color: var(--shell2e33c-accent);
}

.shell2e33c-reelarrow svg {
  width: 16px;
  height: 16px;
}

.shell2e33c-reelprev {
  left: 0;
  border-left: 0;
}

.shell2e33c-reelnext {
  right: 0;
  border-right: 0;
}

.shell2e33c-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.shell2e33c-dot {
  width: 22px;
  height: 6px;
  padding: 0;
  border: 0;
  background: rgba(242, 246, 249, 0.42);
  transition: background 0.2s var(--shell2e33c-ease);
}

.shell2e33c-dot[data-on="true"] {
  background: var(--shell2e33c-accent);
}

/* ---------------------------------------------------------------------
   7. Category chip strip
   --------------------------------------------------------------------- */
.shell2e33c-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 2px 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.shell2e33c-chip {
  flex: 0 0 auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--shell2e33c-line);
  border-radius: 999px;
  background: var(--shell2e33c-ink-panel);
  color: var(--shell2e33c-paper);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.shell2e33c-chip b {
  color: var(--shell2e33c-accent);
  font-size: 11px;
  margin-left: 6px;
}

.shell2e33c-chip:active {
  border-color: var(--shell2e33c-accent);
}

/* ---------------------------------------------------------------------
   8. Game catalog — compact square-icon directory
   --------------------------------------------------------------------- */
.shell2e33c-section {
  margin-top: 28px;
}

.shell2e33c-sechead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 2px solid var(--shell2e33c-line);
  padding-bottom: 8px;
}

.shell2e33c-sechead h2 {
  font-size: 18.5px;
  font-weight: 800;
}

.shell2e33c-count {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--shell2e33c-accent);
  border: 1px solid var(--shell2e33c-accent-dim);
  border-radius: 4px;
  padding: 2px 8px;
  letter-spacing: 0.6px;
}

.shell2e33c-secintro {
  font-size: 13.5px;
  color: var(--shell2e33c-mist);
  margin: 10px 0 14px;
}

.shell2e33c-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

/* Slightly wider phones gain a fifth column for the square icons. */
@media (min-width: 392px) {
  .shell2e33c-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }
}

.shell2e33c-gcard {
  appearance: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px 4px 6px;
  background: var(--shell2e33c-ink-panel);
  border: 1px solid var(--shell2e33c-line-soft);
  border-radius: var(--shell2e33c-radius-s);
  color: var(--shell2e33c-paper);
  text-align: center;
  transition: transform 0.18s var(--shell2e33c-ease), border-color 0.18s var(--shell2e33c-ease), box-shadow 0.18s var(--shell2e33c-ease);
}

.shell2e33c-gcard:hover,
.shell2e33c-gcard:active {
  transform: translateY(-3px);
  border-color: var(--shell2e33c-accent);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.38);
}

.shell2e33c-gthumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(58, 78, 96, 0.5);
  background: var(--shell2e33c-ink-raise);
}

.shell2e33c-gthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell2e33c-gname {
  font-size: 10.5px;
  line-height: 1.38;
  font-weight: 600;
  color: #E7EEF4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  word-break: break-word;
}

/* ---------------------------------------------------------------------
   9. Editorial modules — varied shapes, intro-then-section rhythm
   --------------------------------------------------------------------- */
.shell2e33c-module {
  margin-top: 30px;
  padding-top: 6px;
}

.shell2e33c-module > h2 {
  font-size: 18.5px;
  font-weight: 800;
  padding-left: 10px;
  border-left: 4px solid var(--shell2e33c-accent);
}

.shell2e33c-module h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--shell2e33c-accent);
  margin: 18px 0 6px;
}

.shell2e33c-p {
  font-size: 14px;
  line-height: 1.78;
  color: #D7E1E9;
  margin: 10px 0;
}

.shell2e33c-answer {
  font-size: 13.5px;
  color: var(--shell2e33c-mist);
  margin: 6px 0 0;
}

.shell2e33c-inlink {
  color: var(--shell2e33c-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Security checklist — outlined strips with square markers. */
.shell2e33c-checklist {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.shell2e33c-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 12px;
  margin-bottom: 9px;
  background: var(--shell2e33c-ink-panel);
  border: 1px solid var(--shell2e33c-line-soft);
  border-left: 3px solid var(--shell2e33c-accent);
  border-radius: var(--shell2e33c-radius-s);
  font-size: 13.5px;
  color: #D7E1E9;
}

.shell2e33c-check i {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border: 1.5px solid var(--shell2e33c-accent);
  border-radius: 2px;
  position: relative;
}

.shell2e33c-check i::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border-right: 2px solid var(--shell2e33c-accent);
  border-bottom: 2px solid var(--shell2e33c-accent);
  transform: rotate(42deg);
}

/* RTP definition grid — two compact columns. */
.shell2e33c-defgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin: 14px 0 4px;
}

.shell2e33c-def {
  padding: 10px 11px;
  background: var(--shell2e33c-ink-panel);
  border: 1px dashed var(--shell2e33c-line);
  border-radius: var(--shell2e33c-radius-s);
}

.shell2e33c-def strong {
  display: block;
  font-family: var(--shell2e33c-font-head);
  font-size: 13px;
  color: var(--shell2e33c-accent);
  margin-bottom: 3px;
}

.shell2e33c-def span {
  font-size: 12px;
  line-height: 1.6;
  color: var(--shell2e33c-mist);
}

/* Play-style rows — numbered strips. */
.shell2e33c-stylerow {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 12px;
  margin-top: 10px;
  background: var(--shell2e33c-ink-panel);
  border: 1px solid var(--shell2e33c-line-soft);
  border-radius: var(--shell2e33c-radius-m);
}

.shell2e33c-stylerow b {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  font-family: var(--shell2e33c-font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--shell2e33c-ink);
  background: var(--shell2e33c-accent);
  border-radius: 4px;
  transform: skewX(-8deg);
}

.shell2e33c-stylebody strong {
  display: block;
  font-family: var(--shell2e33c-font-head);
  font-size: 14px;
  color: var(--shell2e33c-paper);
  margin-bottom: 3px;
}

.shell2e33c-stylebody span {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--shell2e33c-mist);
}

/* Comparison dimensions — two-column ledger rows. */
.shell2e33c-dimlist {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--shell2e33c-line);
}

.shell2e33c-dim {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--shell2e33c-line);
  align-items: start;
}

.shell2e33c-dim > strong {
  font-family: var(--shell2e33c-font-head);
  font-size: 12.5px;
  color: var(--shell2e33c-accent);
  line-height: 1.5;
}

.shell2e33c-dim > span {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--shell2e33c-mist);
}

/* ---------------------------------------------------------------------
   10. Homepage extended footer
   order: brand > page directory > promo shortcuts > disclaimer
   --------------------------------------------------------------------- */
.shell2e33c-xfoot {
  margin-top: 34px;
  border-top: 1px solid var(--shell2e33c-line);
  padding-top: 18px;
}

.shell2e33c-xbrand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.shell2e33c-xbrand img {
  width: 44px;
  height: 44px;
  border-radius: var(--shell2e33c-radius-s);
  border: 1px solid var(--shell2e33c-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.shell2e33c-xbrand p {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--shell2e33c-mist);
  margin: 0;
}

.shell2e33c-xbrand strong {
  font-family: var(--shell2e33c-font-head);
  color: var(--shell2e33c-paper);
  font-size: 14px;
}

.shell2e33c-xhead {
  font-family: var(--shell2e33c-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--shell2e33c-accent);
  text-transform: uppercase;
  margin: 22px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shell2e33c-xhead::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--shell2e33c-line);
}

.shell2e33c-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell2e33c-dirlink {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 9px;
  background: var(--shell2e33c-ink-panel);
  border: 1px solid var(--shell2e33c-line-soft);
  border-radius: var(--shell2e33c-radius-s);
  text-decoration: none;
  color: #DEE7EE;
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 0.16s var(--shell2e33c-ease), transform 0.16s var(--shell2e33c-ease);
}

.shell2e33c-dirlink:active {
  border-color: var(--shell2e33c-accent);
  transform: translateY(-2px);
}

.shell2e33c-dirlink::before {
  content: "\00BB";
  color: var(--shell2e33c-accent);
  font-weight: 700;
}

/* Promo shortcuts — horizontal scroll of labeled tiles. */
.shell2e33c-shortcuts {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shell2e33c-shortcuts::-webkit-scrollbar {
  display: none;
}

.shell2e33c-shortcut {
  flex: 0 0 auto;
  width: 158px;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px 13px;
  text-align: left;
  background: var(--shell2e33c-ink-panel);
  border: 1px solid var(--shell2e33c-line);
  border-top: 3px solid var(--shell2e33c-accent);
  border-radius: var(--shell2e33c-radius-s);
  color: var(--shell2e33c-paper);
  transition: transform 0.16s var(--shell2e33c-ease), border-color 0.16s var(--shell2e33c-ease);
}

.shell2e33c-shortcut:active {
  transform: translateY(-2px);
  border-color: var(--shell2e33c-accent);
}

.shell2e33c-shortcut strong {
  font-family: var(--shell2e33c-font-head);
  font-size: 13px;
  color: var(--shell2e33c-accent);
}

.shell2e33c-shortcut span {
  font-size: 11px;
  line-height: 1.55;
  color: var(--shell2e33c-mist);
}

.shell2e33c-shortcut em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--shell2e33c-paper);
  letter-spacing: 0.4px;
}

.shell2e33c-note {
  margin-top: 8px;
  padding: 12px 13px;
  background: var(--shell2e33c-accent-wash);
  border: 1px solid #6E5C1D;
  border-radius: var(--shell2e33c-radius-s);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--shell2e33c-warn-ink);
}

/* ---------------------------------------------------------------------
   11. Common footer + bottom tab bar (outlined function bar)
   --------------------------------------------------------------------- */
.shell2e33c-foot {
  margin-top: 6px;
  padding: 14px 4px 12px;
  border-top: 1px solid var(--shell2e33c-line);
  text-align: center;
  font-size: 12px;
  color: var(--shell2e33c-mist);
  margin-bottom: calc(var(--shell2e33c-tabbar-h) + 6px);
}

.shell2e33c-foot b {
  color: var(--shell2e33c-paper);
}

.shell2e33c-tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(18, 28, 38, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--shell2e33c-line);
}

.shell2e33c-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  padding: 4px 2px;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--shell2e33c-radius-s);
  color: var(--shell2e33c-mist);
  text-decoration: none;
  appearance: none;
}

.shell2e33c-tab svg {
  width: 21px;
  height: 21px;
}

.shell2e33c-tablabel {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  opacity: 0.82;
  transition: opacity 0.18s var(--shell2e33c-ease), transform 0.18s var(--shell2e33c-ease);
}

.shell2e33c-tab:hover .shell2e33c-tablabel,
.shell2e33c-tab:active .shell2e33c-tablabel,
.shell2e33c-tab[data-active="true"] .shell2e33c-tablabel {
  opacity: 1;
  transform: translateY(-1px);
}

.shell2e33c-tab[data-active="true"] {
  color: var(--shell2e33c-accent);
  border-color: var(--shell2e33c-line);
  background: var(--shell2e33c-accent-wash);
}

.shell2e33c-tab[data-active="true"]::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  background: var(--shell2e33c-accent);
}

.shell2e33c-tab[data-role="promo"]::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 16%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shell2e33c-accent);
}

/* ---------------------------------------------------------------------
   12. Motion + accessibility guards
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

.shell2e33c-sronly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
