/* ==========================================================================
   ceo bet - mobile canvas stylesheet
   File : css/ceo-bet-canvas-68e6d5.css
   Scope: single phone canvas (320-430px), centered on wide screens
   Voice: dark slate board + orangered flare, square CTAs, light-rounded cards
   Prefix: every class and variable uses shell8e6d5-
   ========================================================================== */

:root {
  --shell8e6d5-ink: #0A0A0A;
  --shell8e6d5-slate: #36454F;
  --shell8e6d5-steel: #5D5D5D;
  --shell8e6d5-ash: #808080;
  --shell8e6d5-flare: #FF4500;
  --shell8e6d5-paper: #FAFAFA;
  --shell8e6d5-line: rgba(128, 128, 128, 0.30);
  --shell8e6d5-line-soft: rgba(128, 128, 128, 0.18);
  --shell8e6d5-panel: rgba(54, 69, 79, 0.42);
  --shell8e6d5-panel-deep: rgba(54, 69, 79, 0.72);
  --shell8e6d5-canvas: 430px;
  --shell8e6d5-topbar-h: 106px;
  --shell8e6d5-bottomnav-h: 62px;
  --shell8e6d5-gutter: 12px;
  --shell8e6d5-ease: cubic-bezier(0.33, 1, 0.68, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #000;
  color: var(--shell8e6d5-paper);
  font-family: "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", "Kalpurush",
    system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a { color: inherit; text-decoration: none; }

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

::selection { background: var(--shell8e6d5-flare); color: var(--shell8e6d5-paper); }

/* --------------------------------------------------------------------------
   Phone canvas
   -------------------------------------------------------------------------- */

.shell8e6d5-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell8e6d5-ink);
  overflow-x: hidden;
}

.shell8e6d5-canvas::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--shell8e6d5-flare);
  z-index: 60;
}

/* --------------------------------------------------------------------------
   Fixed top bar - asymmetric brand header + action row
   -------------------------------------------------------------------------- */

.shell8e6d5-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 50;
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid var(--shell8e6d5-line);
  backdrop-filter: blur(8px);
}

.shell8e6d5-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px var(--shell8e6d5-gutter) 8px;
  min-height: 58px;
}

.shell8e6d5-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.shell8e6d5-brand-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 6px;
  border: 1px solid var(--shell8e6d5-line);
  background: var(--shell8e6d5-slate);
  object-fit: cover;
}

.shell8e6d5-brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.shell8e6d5-brand-word {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: lowercase;
  color: var(--shell8e6d5-paper);
}

.shell8e6d5-brand-word::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 3px;
  background: var(--shell8e6d5-flare);
}

.shell8e6d5-menubtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  border: 1px solid var(--shell8e6d5-line);
  border-radius: 4px;
  color: var(--shell8e6d5-paper);
  transition: transform 0.18s var(--shell8e6d5-ease), border-color 0.18s;
}

.shell8e6d5-menubtn:active {
  transform: translateY(-2px);
  border-color: var(--shell8e6d5-flare);
}

.shell8e6d5-menubtn svg { width: 20px; height: 20px; }

.shell8e6d5-menubtn.is-open { border-color: var(--shell8e6d5-flare); color: var(--shell8e6d5-flare); }

/* Action row: register + login, offset under the brand block */
.shell8e6d5-actrow {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 8px;
  padding: 0 var(--shell8e6d5-gutter) 10px calc(var(--shell8e6d5-gutter) + 49px);
}

.shell8e6d5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: center;
  transition: transform 0.18s var(--shell8e6d5-ease), filter 0.18s;
}

.shell8e6d5-btn:active { transform: translateY(-2px); }

.shell8e6d5-btn-flare {
  background: var(--shell8e6d5-flare);
  color: var(--shell8e6d5-paper);
  box-shadow: 0 3px 0 rgba(255, 69, 0, 0.35);
}

.shell8e6d5-btn-flare:active { box-shadow: 0 1px 0 rgba(255, 69, 0, 0.35); }

.shell8e6d5-btn-ghost {
  border: 1px solid var(--shell8e6d5-ash);
  color: var(--shell8e6d5-paper);
  background: transparent;
}

.shell8e6d5-btn-ghost:active { border-color: var(--shell8e6d5-flare); }

/* --------------------------------------------------------------------------
   Layered dropdown menu
   -------------------------------------------------------------------------- */

.shell8e6d5-mpanel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  border-bottom: 1px solid var(--shell8e6d5-line);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s var(--shell8e6d5-ease);
}

.shell8e6d5-mpanel.is-open { max-height: 560px; }

.shell8e6d5-mgroup + .shell8e6d5-mgroup { border-top: 1px solid var(--shell8e6d5-line-soft); }

.shell8e6d5-mgroup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px var(--shell8e6d5-gutter);
  min-height: 46px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--shell8e6d5-ash);
}

.shell8e6d5-mgroup-head::after {
  content: "+";
  font-size: 16px;
  font-weight: 700;
  color: var(--shell8e6d5-flare);
  transition: transform 0.2s var(--shell8e6d5-ease);
}

.shell8e6d5-mgroup.is-open .shell8e6d5-mgroup-head::after { transform: rotate(45deg); }

.shell8e6d5-mgroup-list {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 0 var(--shell8e6d5-gutter) 12px;
}

.shell8e6d5-mgroup.is-open .shell8e6d5-mgroup-list { display: grid; }

.shell8e6d5-mlink {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--shell8e6d5-line-soft);
  border-left: 3px solid var(--shell8e6d5-slate);
  border-radius: 4px;
  background: var(--shell8e6d5-panel);
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.18s var(--shell8e6d5-ease), border-color 0.18s;
}

.shell8e6d5-mlink:active {
  transform: translateY(-2px);
  border-left-color: var(--shell8e6d5-flare);
}

.shell8e6d5-mlink[aria-current="page"] {
  background: var(--shell8e6d5-flare);
  border-left-color: var(--shell8e6d5-paper);
  color: var(--shell8e6d5-paper);
}

/* --------------------------------------------------------------------------
   Main flow
   -------------------------------------------------------------------------- */

.shell8e6d5-main {
  padding: calc(var(--shell8e6d5-topbar-h) + 8px) var(--shell8e6d5-gutter)
    calc(var(--shell8e6d5-bottomnav-h) + 26px + env(safe-area-inset-bottom));
}

.shell8e6d5-sec { margin: 26px 0; scroll-margin-top: calc(var(--shell8e6d5-topbar-h) + 10px); }

.shell8e6d5-sec-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
}

.shell8e6d5-sec-no {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--shell8e6d5-flare);
  border-radius: 3px;
  color: var(--shell8e6d5-flare);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.shell8e6d5-sec-head h2 {
  flex: 1 1 auto;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.1px;
}

.shell8e6d5-sec-tag {
  flex: 0 0 auto;
  padding: 3px 8px;
  border: 1px solid var(--shell8e6d5-line);
  border-radius: 2px;
  color: var(--shell8e6d5-ash);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.shell8e6d5-sec-lead {
  margin: 0 0 12px;
  color: rgba(250, 250, 250, 0.82);
  font-size: 14px;
}

.shell8e6d5-sec-lead a {
  color: var(--shell8e6d5-flare);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 69, 0, 0.5);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.shell8e6d5-hero {
  padding: 18px 0 6px;
}

.shell8e6d5-hero-kicker {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 9px;
  border: 1px solid var(--shell8e6d5-line);
  border-radius: 2px;
  color: var(--shell8e6d5-ash);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.shell8e6d5-hero-title {
  margin: 0 0 12px;
  font-size: 27px;
  line-height: 1.32;
  font-weight: 800;
  color: var(--shell8e6d5-paper);
}

.shell8e6d5-hero-title em {
  font-style: normal;
  color: var(--shell8e6d5-flare);
}

.shell8e6d5-hero-lead {
  margin: 0 0 14px;
  color: rgba(250, 250, 250, 0.85);
  font-size: 14.5px;
}

.shell8e6d5-hero-cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Direct answer block (conclusion-first panel)
   -------------------------------------------------------------------------- */

.shell8e6d5-answer {
  margin: 20px 0;
  padding: 14px;
  background: var(--shell8e6d5-panel-deep);
  border: 1px solid var(--shell8e6d5-line);
  border-left: 4px solid var(--shell8e6d5-flare);
  border-radius: 6px;
}

.shell8e6d5-answer p { margin: 0; font-size: 14px; color: rgba(250, 250, 250, 0.9); }

/* --------------------------------------------------------------------------
   Carousel
   -------------------------------------------------------------------------- */

.shell8e6d5-carousel {
  position: relative;
  margin: 18px 0;
  border: 1px solid var(--shell8e6d5-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--shell8e6d5-slate);
}

.shell8e6d5-ctrack {
  display: flex;
  transition: transform 0.42s var(--shell8e6d5-ease);
}

.shell8e6d5-cslide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  display: block;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.shell8e6d5-cslide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell8e6d5-cslide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.88) 78%);
  text-align: left;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--shell8e6d5-paper);
  line-height: 1.45;
}

.shell8e6d5-cslide-cap small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: var(--shell8e6d5-ash);
}

.shell8e6d5-cdots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

.shell8e6d5-cdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(250, 250, 250, 0.35);
  transition: background 0.2s, transform 0.2s;
}

.shell8e6d5-cdot.is-on {
  background: var(--shell8e6d5-flare);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Category jump strip
   -------------------------------------------------------------------------- */

.shell8e6d5-jumpstrip {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 4px 0 10px;
  scrollbar-width: none;
}

.shell8e6d5-jumpstrip::-webkit-scrollbar { display: none; }

.shell8e6d5-jumpchip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  border: 1px solid var(--shell8e6d5-line);
  border-radius: 3px;
  background: var(--shell8e6d5-panel);
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(250, 250, 250, 0.88);
  transition: transform 0.18s var(--shell8e6d5-ease), border-color 0.18s;
}

.shell8e6d5-jumpchip:active {
  transform: translateY(-2px);
  border-color: var(--shell8e6d5-flare);
  color: var(--shell8e6d5-flare);
}

/* --------------------------------------------------------------------------
   Game grid - horizontal icon-name bars
   -------------------------------------------------------------------------- */

.shell8e6d5-games {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.shell8e6d5-gamebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  min-height: 60px;
  background: var(--shell8e6d5-panel);
  border: 1px solid var(--shell8e6d5-line-soft);
  border-radius: 6px;
  text-align: left;
  transition: transform 0.18s var(--shell8e6d5-ease), border-color 0.18s,
    background 0.18s;
}

.shell8e6d5-gamebar:active {
  transform: translateY(-2px);
  border-color: var(--shell8e6d5-flare);
  background: var(--shell8e6d5-panel-deep);
}

.shell8e6d5-gamebar-img {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 5px;
  border: 1px solid var(--shell8e6d5-line-soft);
  object-fit: cover;
  background: var(--shell8e6d5-slate);
}

.shell8e6d5-gamebar-name {
  min-width: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--shell8e6d5-paper);
}

/* --------------------------------------------------------------------------
   Use case guidance rail
   -------------------------------------------------------------------------- */

.shell8e6d5-usecases {
  display: grid;
  gap: 10px;
}

.shell8e6d5-ucase {
  padding: 12px 12px 12px 14px;
  background: var(--shell8e6d5-panel);
  border: 1px solid var(--shell8e6d5-line-soft);
  border-left: 3px solid var(--shell8e6d5-steel);
  border-radius: 6px;
  transition: transform 0.18s var(--shell8e6d5-ease), border-left-color 0.18s;
}

.shell8e6d5-ucase:active {
  transform: translateY(-2px);
  border-left-color: var(--shell8e6d5-flare);
}

.shell8e6d5-ucase h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--shell8e6d5-paper);
}

.shell8e6d5-ucase p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(250, 250, 250, 0.8);
}

.shell8e6d5-ucase a {
  color: var(--shell8e6d5-flare);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 69, 0, 0.5);
}

/* --------------------------------------------------------------------------
   FAQ (native details/summary)
   -------------------------------------------------------------------------- */

.shell8e6d5-faq {
  display: grid;
  gap: 8px;
}

.shell8e6d5-faq-item {
  background: var(--shell8e6d5-panel);
  border: 1px solid var(--shell8e6d5-line-soft);
  border-radius: 6px;
  overflow: hidden;
}

.shell8e6d5-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--shell8e6d5-paper);
  cursor: pointer;
  list-style: none;
}

.shell8e6d5-faq-item summary::-webkit-details-marker { display: none; }

.shell8e6d5-faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 700;
  color: var(--shell8e6d5-flare);
  transition: transform 0.2s var(--shell8e6d5-ease);
}

.shell8e6d5-faq-item[open] summary::after { transform: rotate(45deg); }

.shell8e6d5-faq-a {
  padding: 0 12px 12px;
  margin: 0;
  font-size: 13.5px;
  color: rgba(250, 250, 250, 0.8);
  border-top: 1px dashed var(--shell8e6d5-line-soft);
  padding-top: 10px;
}

/* --------------------------------------------------------------------------
   Play-now CTA band
   -------------------------------------------------------------------------- */

.shell8e6d5-ctaband {
  margin: 24px 0;
  padding: 16px 14px;
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.16) 0%, rgba(54, 69, 79, 0.6) 60%);
  border: 1px solid rgba(255, 69, 0, 0.45);
  border-radius: 8px;
}

.shell8e6d5-ctaband p {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: rgba(250, 250, 250, 0.88);
}

.shell8e6d5-ctaband-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shell8e6d5-ctaband .shell8e6d5-btn { flex: 1 1 140px; }

/* --------------------------------------------------------------------------
   Extended footer: directory > brand > promotions > disclaimer
   -------------------------------------------------------------------------- */

.shell8e6d5-xfooter {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 2px solid var(--shell8e6d5-slate);
}

.shell8e6d5-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.shell8e6d5-dir-item {
  display: block;
  padding: 10px;
  background: var(--shell8e6d5-panel);
  border: 1px solid var(--shell8e6d5-line-soft);
  border-radius: 6px;
  transition: transform 0.18s var(--shell8e6d5-ease), border-color 0.18s;
}

.shell8e6d5-dir-item:active {
  transform: translateY(-2px);
  border-color: var(--shell8e6d5-flare);
}

.shell8e6d5-dir-name {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--shell8e6d5-paper);
}

.shell8e6d5-dir-desc {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--shell8e6d5-ash);
}

.shell8e6d5-xfoot-brand {
  margin: 18px 0 0;
  padding: 12px;
  border-left: 3px solid var(--shell8e6d5-flare);
  background: var(--shell8e6d5-panel-deep);
  border-radius: 0 6px 6px 0;
}

.shell8e6d5-xfoot-brand h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
}

.shell8e6d5-xfoot-brand p {
  margin: 0;
  font-size: 13px;
  color: rgba(250, 250, 250, 0.8);
}

.shell8e6d5-xfoot-promos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 16px 0 0;
}

.shell8e6d5-xpromo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 62px;
  padding: 8px 4px;
  background: var(--shell8e6d5-flare);
  color: var(--shell8e6d5-paper);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-align: center;
  line-height: 1.3;
  transition: transform 0.18s var(--shell8e6d5-ease), filter 0.18s;
}

.shell8e6d5-xpromo:nth-child(even) {
  background: var(--shell8e6d5-slate);
  border: 1px solid var(--shell8e6d5-line);
}

.shell8e6d5-xpromo svg { width: 18px; height: 18px; }

.shell8e6d5-xpromo:active { transform: translateY(-2px); filter: brightness(1.15); }

.shell8e6d5-xfoot-note {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px dashed var(--shell8e6d5-line);
  border-radius: 6px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--shell8e6d5-ash);
}

/* --------------------------------------------------------------------------
   Common footer + segmented bottom action bar
   -------------------------------------------------------------------------- */

.shell8e6d5-footer {
  margin-top: 22px;
  padding: 14px var(--shell8e6d5-gutter) 10px;
  border-top: 1px solid var(--shell8e6d5-line-soft);
  text-align: center;
  font-size: 11.5px;
  color: var(--shell8e6d5-ash);
}

.shell8e6d5-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(10, 10, 10, 0.97);
  border-top: 1px solid var(--shell8e6d5-line);
  padding-bottom: env(safe-area-inset-bottom);
  backdrop-filter: blur(8px);
}

.shell8e6d5-bn-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--shell8e6d5-bottomnav-h);
  padding: 7px 2px 5px;
  color: rgba(250, 250, 250, 0.72);
  transition: transform 0.18s var(--shell8e6d5-ease), color 0.18s;
}

.shell8e6d5-bn-item + .shell8e6d5-bn-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--shell8e6d5-line-soft);
}

.shell8e6d5-bn-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.shell8e6d5-bn-ico svg { width: 21px; height: 21px; }

.shell8e6d5-bn-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
}

.shell8e6d5-bn-item:active { transform: translateY(-2px); }

/* Contrast-inverted active marker with a light notch under the label */
.shell8e6d5-bn-item.is-active {
  background: var(--shell8e6d5-flare);
  color: var(--shell8e6d5-paper);
}

.shell8e6d5-bn-item.is-active::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--shell8e6d5-paper);
}

.shell8e6d5-bn-item.is-active + .shell8e6d5-bn-item::before,
.shell8e6d5-bn-item:has(+ .shell8e6d5-bn-item.is-active)::before {
  background: transparent;
}

/* --------------------------------------------------------------------------
   Small screens inside the phone range
   -------------------------------------------------------------------------- */

@media (max-width: 360px) {
  .shell8e6d5-actrow { padding-left: var(--shell8e6d5-gutter); }

  .shell8e6d5-hero-title { font-size: 23px; }

  .shell8e6d5-sec-head h2 { font-size: 16.5px; }

  .shell8e6d5-gamebar-name { font-size: 12px; }

  .shell8e6d5-gamebar-img { flex-basis: 40px; width: 40px; height: 40px; }

  .shell8e6d5-xfoot-promos { gap: 5px; }

  .shell8e6d5-xpromo { font-size: 10px; }

  .shell8e6d5-games { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .shell8e6d5-gamebar { display: block; padding: 5px; min-height: 0; }
  .shell8e6d5-gamebar-img { width: 100%; height: auto; aspect-ratio: 1; }
  .shell8e6d5-gamebar-name { display: block; margin-top: 3px; font-size: 10px; line-height: 1.25; }
}

/* Wider phones keep the same canvas rhythm */
@media (min-width: 361px) and (max-width: 430px) {
  .shell8e6d5-games { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
  .shell8e6d5-gamebar { display: block; padding: 5px; min-height: 0; }
  .shell8e6d5-gamebar-img { width: 100%; height: auto; aspect-ratio: 1; }
  .shell8e6d5-gamebar-name { display: block; margin-top: 3px; font-size: 10px; line-height: 1.25; }
}

/* Desktop: keep the centered phone canvas */
@media (min-width: 431px) {
  .shell8e6d5-canvas {
    border-left: 1px solid var(--shell8e6d5-line-soft);
    border-right: 1px solid var(--shell8e6d5-line-soft);
    box-shadow: 0 0 60px rgba(255, 69, 0, 0.06), 0 0 24px rgba(0, 0, 0, 0.9);
  }
}

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

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