/* =====================================================================
   FCV 888 - mobile viewport stylesheet
   Site: fcv-888.click  |  prefix: shell35387-
   Canvas: 320-430px phone frame, centered on wide screens (max 430px)
   Palette: #1B263B / #4169E1 / #FF1493 / #48D1CC / #00BFFF
   ===================================================================== */

:root {
  --shell35387-navy: #1B263B;
  --shell35387-royal: #4169E1;
  --shell35387-pink: #FF1493;
  --shell35387-mint: #48D1CC;
  --shell35387-sky: #00BFFF;
  --shell35387-ink: #EAF2FF;
  --shell35387-muted: #9FB3D1;
  --shell35387-panel: #22314F;
  --shell35387-panel2: #1E2B46;
  --shell35387-line: rgba(122, 168, 255, 0.22);
  --shell35387-line-soft: rgba(122, 168, 255, 0.13);
  --shell35387-radius: 12px;
  --shell35387-radius-lg: 16px;
  --shell35387-tap: 44px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #0E1526;
  color: var(--shell35387-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.65;
  overflow-x: clip;
}

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

a {
  color: var(--shell35387-sky);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--shell35387-sky);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------------------------------------------------------------
   Phone canvas: everything lives inside a 430px column
   --------------------------------------------------------------- */
.shell35387-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, #1B263B 0%, #16203A 55%, #131C33 100%);
  box-shadow: 0 0 42px rgba(0, 0, 0, 0.55);
  overflow-x: clip;
  /* room for the fixed outlined bottom bar */
  padding-bottom: 122px;
}

/* ---------------------------------------------------------------
   Fixed top bar - two rows: brand row + action row
   --------------------------------------------------------------- */
.shell35387-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 29, 51, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shell35387-line);
}

.shell35387-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px 5px;
}

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

.shell35387-brand-logo {
  width: 37px;
  height: 37px;
  border-radius: 11px;
  border: 1px solid var(--shell35387-line);
  box-shadow: 0 3px 10px rgba(65, 105, 225, 0.35);
  flex: 0 0 auto;
}

.shell35387-brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--shell35387-ink);
  white-space: nowrap;
}

.shell35387-brand-name em {
  font-style: normal;
  color: var(--shell35387-pink);
}

.shell35387-actionrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 10px;
}

.shell35387-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--shell35387-tap);
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  background: none;
  color: var(--shell35387-ink);
}

.shell35387-btn:active {
  transform: scale(0.94);
}

.shell35387-btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.shell35387-btn-register {
  flex: 1 1 auto;
  background: linear-gradient(135deg, #FF1493 0%, #d50f7c 100%);
  box-shadow: 0 4px 14px rgba(255, 20, 147, 0.4);
  color: #fff;
}

.shell35387-btn-login {
  flex: 1 1 auto;
  border-color: rgba(65, 105, 225, 0.75);
  color: #C9D8F2;
  background: rgba(65, 105, 225, 0.12);
}

.shell35387-menubtn {
  flex: 0 0 48px;
  width: 48px;
  padding: 0;
  border-color: var(--shell35387-line);
  color: var(--shell35387-mint);
  background: rgba(72, 209, 204, 0.08);
}

/* ---------------------------------------------------------------
   Layered dropdown menu (opens under the action row)
   --------------------------------------------------------------- */
.shell35387-menu {
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(100% + 4px);
  z-index: 60;
  background: #18233D;
  border: 1px solid var(--shell35387-line);
  border-radius: var(--shell35387-radius-lg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.2s ease;
}

.shell35387-menu-open {
  max-height: 580px;
  opacity: 1;
}

.shell35387-menugroup {
  padding: 10px 12px 4px;
}

.shell35387-menugroup + .shell35387-menugroup {
  border-top: 1px dashed var(--shell35387-line-soft);
}

.shell35387-menulabel {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell35387-mint);
  padding: 2px 4px 8px;
}

.shell35387-menulinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shell35387-menulink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shell35387-tap);
  padding: 0 10px;
  border: 1px solid var(--shell35387-line-soft);
  border-radius: var(--shell35387-radius);
  color: var(--shell35387-ink);
  font-size: 12.5px;
  font-weight: 400;
  background: rgba(65, 105, 225, 0.07);
}

.shell35387-menulink:hover {
  text-decoration: none;
  border-color: rgba(72, 209, 204, 0.5);
}

.shell35387-menulink svg {
  width: 14px;
  height: 14px;
  color: var(--shell35387-sky);
  flex: 0 0 auto;
}

/* ---------------------------------------------------------------
   Hero + H1
   --------------------------------------------------------------- */
.shell35387-hero {
  padding: 18px 16px 4px;
}

.shell35387-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shell35387-mint);
  border: 1px solid rgba(72, 209, 204, 0.4);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.shell35387-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(23px, 6.6vw, 29px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.shell35387-hero h1 span {
  color: var(--shell35387-pink);
}

.shell35387-hero-lead {
  margin: 0;
  color: var(--shell35387-muted);
  font-size: 13.5px;
}

/* ---------------------------------------------------------------
   Promo carousel - scroll snap + sliding dot indicator
   --------------------------------------------------------------- */
.shell35387-carousel {
  position: relative;
  margin: 14px 14px 0;
  border-radius: var(--shell35387-radius-lg);
  overflow: hidden;
  border: 1px solid var(--shell35387-line);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.shell35387-cslides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shell35387-cslides::-webkit-scrollbar {
  display: none;
}

.shell35387-cslide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  aspect-ratio: 10 / 4.6;
  cursor: pointer;
}

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

.shell35387-cslide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(14, 21, 38, 0) 0%,
      rgba(14, 21, 38, 0.88) 78%);
}

.shell35387-cslide-txt {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.shell35387-cslide-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #FF1493, #d50f7c);
  color: #fff;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.shell35387-cdots {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 9px 0 2px;
}

.shell35387-cdot {
  width: 22px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(159, 179, 209, 0.35);
  cursor: pointer;
}

.shell35387-cdot-on {
  background: rgba(159, 179, 209, 0.55);
}

.shell35387-cdot-thumb {
  position: absolute;
  top: 9px;
  left: calc(50% - 39px);
  width: 22px;
  height: 5px;
  border-radius: 999px;
  background: var(--shell35387-mint);
  box-shadow: 0 0 8px rgba(72, 209, 204, 0.7);
  transition: transform 0.25s ease;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   Quick category strip
   --------------------------------------------------------------- */
.shell35387-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 14px 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shell35387-strip::-webkit-scrollbar {
  display: none;
}

.shell35387-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  min-height: var(--shell35387-tap);
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--shell35387-line);
  background: rgba(34, 49, 79, 0.9);
  color: var(--shell35387-ink);
  font-size: 12.5px;
  font-weight: 400;
  white-space: nowrap;
}

.shell35387-chip svg {
  width: 14px;
  height: 14px;
  color: var(--shell35387-pink);
}

.shell35387-chip:hover {
  text-decoration: none;
  border-color: rgba(255, 20, 147, 0.6);
}

/* ---------------------------------------------------------------
   Game category sections
   --------------------------------------------------------------- */
.shell35387-section {
  padding: 20px 14px 4px;
  scroll-margin-top: 128px;
}

.shell35387-sechead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.shell35387-section h2 {
  margin: 0;
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.shell35387-count {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--shell35387-mint);
  border: 1px solid rgba(72, 209, 204, 0.4);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}

.shell35387-intro {
  margin: 8px 0 13px;
  font-size: 12.8px;
  color: var(--shell35387-muted);
}

.shell35387-intro a {
  color: var(--shell35387-sky);
  text-decoration: underline;
  text-decoration-color: rgba(0, 191, 255, 0.4);
  text-underline-offset: 3px;
}

/* Game grid: 4 columns at 320px, 5 columns from 400px up */
.shell35387-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 400px) {
  .shell35387-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 11px;
  }
}

.shell35387-tile {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.shell35387-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--shell35387-radius);
  border: 1px solid var(--shell35387-line-soft);
  background: var(--shell35387-panel2);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.shell35387-tile:active .shell35387-tile-img {
  transform: scale(0.93);
  border-color: rgba(255, 20, 147, 0.6);
}

.shell35387-tile-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  font-size: 10.5px;
  line-height: 1.32;
  color: #C4D4F0;
  overflow-wrap: anywhere;
  min-height: 28px;
}

/* Wide feature card - mixed card scale inside every category */
.shell35387-tile-wide {
  grid-column: span 2;
  position: relative;
  text-align: left;
}

@media (min-width: 400px) {
  .shell35387-tile-wide {
    grid-column: span 2;
  }
}

.shell35387-tile-wide .shell35387-tile-img {
  aspect-ratio: 2 / 1;
}

.shell35387-tile-wide .shell35387-tile-name {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  margin: 0;
  min-height: 0;
  -webkit-line-clamp: 1;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
  overflow: hidden;
}

.shell35387-tile-flag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #FF1493, #d50f7c);
  border-radius: 999px;
  padding: 3px 8px;
}

/* ---------------------------------------------------------------
   Content modules (panels below the game floor)
   --------------------------------------------------------------- */
/* Small note line under each game grid */
.shell35387-gridnote {
  margin: 10px 0 0;
  font-size: 11.6px;
  line-height: 1.5;
  color: #8DA3C4;
}

.shell35387-module {
  margin: 16px 14px 0;
  background: var(--shell35387-panel2);
  border: 1px solid var(--shell35387-line-soft);
  border-radius: var(--shell35387-radius-lg);
  padding: 16px 15px 15px;
}

.shell35387-module h2 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.shell35387-module h3 {
  margin: 14px 0 6px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--shell35387-mint);
}

/* Conclusion-first lead of every explainer module */
.shell35387-verdict {
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--shell35387-mint);
  color: var(--shell35387-ink);
  font-weight: 400;
  font-size: 13.5px;
}

.shell35387-lead {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--shell35387-muted);
}

.shell35387-lead a,
.shell35387-list a,
.shell35387-qa-body a,
.shell35387-steps a {
  color: var(--shell35387-sky);
  text-decoration: underline;
  text-decoration-color: rgba(0, 191, 255, 0.4);
  text-underline-offset: 3px;
}

.shell35387-list {
  margin: 8px 0 10px;
  padding: 0;
  list-style: none;
}

.shell35387-list li {
  position: relative;
  padding: 4px 0 4px 20px;
  font-size: 12.8px;
  color: var(--shell35387-muted);
}

.shell35387-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--shell35387-mint);
}

/* Payment comparison rows */
.shell35387-paytable {
  margin: 10px 0 12px;
  border: 1px solid var(--shell35387-line-soft);
  border-radius: var(--shell35387-radius);
  overflow: hidden;
}

.shell35387-payrow {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 11px 12px;
}

.shell35387-payrow + .shell35387-payrow {
  border-top: 1px dashed var(--shell35387-line-soft);
}

.shell35387-payname {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--shell35387-mint);
}

.shell35387-payfacts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.shell35387-payfact {
  font-size: 11.5px;
  color: var(--shell35387-muted);
}

.shell35387-payfact b {
  font-weight: 700;
  color: #C4D4F0;
}

/* Numbered steps */
.shell35387-steps {
  margin: 10px 0 6px;
  padding: 0;
  list-style: none;
  counter-reset: shell35387-step;
}

.shell35387-steps li {
  position: relative;
  counter-increment: shell35387-step;
  padding: 0 0 12px 38px;
  font-size: 12.9px;
  color: var(--shell35387-muted);
}

.shell35387-steps li::before {
  content: counter(shell35387-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(65, 105, 225, 0.25);
  border: 1px solid rgba(65, 105, 225, 0.55);
  color: #C9D8F2;
  font-size: 12px;
  font-weight: 800;
}

.shell35387-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 30px;
  bottom: 2px;
  width: 1px;
  background: var(--shell35387-line-soft);
}

/* Promotion cards */
.shell35387-promocards {
  display: grid;
  gap: 10px;
  margin: 10px 0 4px;
}

.shell35387-promocard {
  border: 1px solid var(--shell35387-line-soft);
  border-radius: var(--shell35387-radius);
  padding: 12px;
  background: rgba(34, 49, 79, 0.55);
}

.shell35387-promocard-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 5px;
  font-size: 13px;
  font-weight: 800;
  color: var(--shell35387-ink);
}

.shell35387-promocard-title svg {
  width: 15px;
  height: 15px;
  color: var(--shell35387-pink);
  flex: 0 0 auto;
}

.shell35387-promocard-text {
  margin: 0 0 10px;
  font-size: 12.4px;
  color: var(--shell35387-muted);
}

.shell35387-promocard-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #FF1493, #d50f7c);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.shell35387-promocard-btn:active {
  transform: scale(0.94);
}

.shell35387-promocard-btn svg {
  width: 14px;
  height: 14px;
}

.shell35387-promolink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  color: var(--shell35387-sky);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(0, 191, 255, 0.4);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
}

/* Mobile checklist */
.shell35387-checklist {
  margin: 8px 0 10px;
  padding: 0;
  list-style: none;
}

.shell35387-checklist li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 5px 0;
  font-size: 12.8px;
  color: var(--shell35387-muted);
}

.shell35387-checklist svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--shell35387-mint);
}

/* Fact tiles */
.shell35387-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 10px 0 4px;
}

.shell35387-fact {
  border: 1px solid var(--shell35387-line-soft);
  border-radius: var(--shell35387-radius);
  padding: 10px 11px;
  background: rgba(34, 49, 79, 0.55);
}

.shell35387-fact-num {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--shell35387-mint);
  line-height: 1.2;
}

.shell35387-fact-label {
  display: block;
  margin-top: 2px;
  font-size: 11.3px;
  color: var(--shell35387-muted);
}

/* Quick answers accordion */
.shell35387-qa {
  border: 1px solid var(--shell35387-line-soft);
  border-radius: var(--shell35387-radius);
  margin: 8px 0;
  background: rgba(34, 49, 79, 0.45);
}

.shell35387-qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: var(--shell35387-tap);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--shell35387-ink);
  cursor: pointer;
  list-style: none;
}

.shell35387-qa summary::-webkit-details-marker {
  display: none;
}

.shell35387-qa summary::after {
  content: "+";
  font-size: 16px;
  font-weight: 400;
  color: var(--shell35387-mint);
}

.shell35387-qa[open] summary::after {
  content: "\2013";
}

.shell35387-qa-body {
  margin: 0;
  padding: 0 12px 12px;
  font-size: 12.6px;
  color: var(--shell35387-muted);
}

/* ---------------------------------------------------------------
   Extended footer (site-specific block before the common footer)
   --------------------------------------------------------------- */
.shell35387-extfoot {
  margin-top: 26px;
  border-top: 1px solid var(--shell35387-line);
  padding: 18px 14px 6px;
}

.shell35387-ef-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 16px 0 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--shell35387-sky);
}

.shell35387-ef-label svg {
  width: 14px;
  height: 14px;
  color: var(--shell35387-pink);
}

.shell35387-ef-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.shell35387-ef-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--shell35387-line);
  flex: 0 0 auto;
}

.shell35387-ef-brand-text {
  margin: 0;
  font-size: 12.4px;
  color: var(--shell35387-muted);
}

.shell35387-ef-promos {
  display: grid;
  gap: 8px;
}

.shell35387-ef-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid var(--shell35387-line-soft);
  border-radius: var(--shell35387-radius);
  background: rgba(34, 49, 79, 0.5);
  color: var(--shell35387-ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.shell35387-ef-promo:active {
  transform: scale(0.97);
  border-color: rgba(255, 20, 147, 0.55);
}

.shell35387-ef-promo-ic {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(255, 20, 147, 0.14);
  color: var(--shell35387-pink);
}

.shell35387-ef-promo-ic svg {
  width: 16px;
  height: 16px;
}

.shell35387-ef-promo-txt {
  min-width: 0;
}

.shell35387-ef-promo-txt b {
  display: block;
  font-size: 12.8px;
  font-weight: 700;
}

.shell35387-ef-promo-sub {
  display: block;
  font-size: 11px;
  color: var(--shell35387-muted);
}

.shell35387-ef-chev {
  margin-left: auto;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--shell35387-muted);
}

.shell35387-ef-dirnote {
  margin: 0 0 9px;
  font-size: 11.6px;
  color: var(--shell35387-muted);
}

.shell35387-ef-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.shell35387-ef-link {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: var(--shell35387-tap);
  padding: 6px 10px;
  border: 1px solid var(--shell35387-line-soft);
  border-radius: var(--shell35387-radius);
  color: #C4D4F0;
  font-size: 11.8px;
  background: rgba(34, 49, 79, 0.4);
}

.shell35387-ef-link:hover {
  text-decoration: none;
  border-color: rgba(72, 209, 204, 0.5);
}

.shell35387-ef-link svg {
  width: 12px;
  height: 12px;
  color: var(--shell35387-mint);
  flex: 0 0 auto;
}

.shell35387-ef-disclaimer {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--shell35387-line-soft);
  font-size: 11.4px;
  line-height: 1.6;
  color: var(--shell35387-muted);
}

/* ---------------------------------------------------------------
   Common footer
   --------------------------------------------------------------- */
.shell35387-footer {
  text-align: center;
  padding: 18px 14px 8px;
  font-size: 11.8px;
  color: var(--shell35387-muted);
}

.shell35387-footer b {
  font-weight: 700;
  color: #C4D4F0;
}

/* ---------------------------------------------------------------
   Outlined bottom function bar (5 roles)
   --------------------------------------------------------------- */
.shell35387-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: max(10px, env(safe-area-inset-bottom));
  width: calc(100% - 20px);
  max-width: 410px;
  display: flex;
  gap: 6px;
  padding: 6px;
  background: rgba(15, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--shell35387-line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  z-index: 70;
}

.shell35387-bn-item {
  flex: 1 1 0;
  min-width: 0;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 2px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: none;
  color: var(--shell35387-muted);
  font-family: inherit;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, color 0.14s ease,
    border-color 0.14s ease, background 0.14s ease;
  -webkit-tap-highlight-color: transparent;
}

.shell35387-bn-item:active {
  transform: scale(0.9);
}

.shell35387-bn-item:hover {
  text-decoration: none;
}

.shell35387-bn-ic {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.shell35387-bn-on {
  color: var(--shell35387-mint);
  border-color: rgba(72, 209, 204, 0.55);
  background: rgba(72, 209, 204, 0.1);
}

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

/* Wide-screen note: keep the phone canvas at 430px max width */
@media (min-width: 431px) {
  .shell35387-canvas {
    border-left: 1px solid var(--shell35387-line-soft);
    border-right: 1px solid var(--shell35387-line-soft);
  }
}
