/* ==========================================================================
   ek77.homes - responsive shell stylesheet
   Canvas strategy: 320-430px mobile-first phone canvas, centered on wide
   screens. All class names and custom properties use the frame0c605- prefix.
   Palette: #FFB3FF / #FF5722 / #1C2833 / #E0FFFF / #FF69B4
   ========================================================================== */

:root {
  --frame0c605-bg-deep: #0c1218;
  --frame0c605-bg-canvas: #1C2833;
  --frame0c605-surface: #243543;
  --frame0c605-surface-lift: #2c4052;
  --frame0c605-ink: #E0FFFF;
  --frame0c605-ink-soft: #9fc0c6;
  --frame0c605-ink-faint: #6f8f96;
  --frame0c605-flame: #FF5722;
  --frame0c605-ember: #ff7a45;
  --frame0c605-pink: #FF69B4;
  --frame0c605-pink-soft: #FFB3FF;
  --frame0c605-line: rgba(224, 255, 255, 0.13);
  --frame0c605-line-strong: rgba(255, 179, 255, 0.42);
  --frame0c605-radius-s: 6px;
  --frame0c605-radius-m: 10px;
  --frame0c605-radius-l: 14px;
  --frame0c605-font-stack: 'Hind Siliguri', 'Noto Sans Bengali', 'SolaimanLipi',
    'Segoe UI', -apple-system, Roboto, Arial, sans-serif;
  --frame0c605-shadow-card: 0 8px 20px rgba(4, 9, 14, 0.5);
  --frame0c605-shadow-float: 0 12px 30px rgba(4, 9, 14, 0.62);
  --frame0c605-bnav-h: 64px;
  --frame0c605-topbar-h: 58px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  background: var(--frame0c605-bg-deep);
  background-image: radial-gradient(
      120% 60% at 50% 0%,
      rgba(255, 105, 180, 0.08) 0%,
      rgba(255, 87, 34, 0.05) 42%,
      rgba(12, 18, 24, 0) 70%
    ),
    radial-gradient(90% 50% at 85% 100%, rgba(255, 87, 34, 0.06) 0%, rgba(12, 18, 24, 0) 65%);
  color: var(--frame0c605-ink);
  font-family: var(--frame0c605-font-stack);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
}

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

a { color: var(--frame0c605-pink-soft); text-decoration: none; }
a:hover { color: #ffffff; }

:focus-visible {
  outline: 2px solid var(--frame0c605-pink-soft);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Phone canvas: everything lives inside a 430px column that stays centered
   on tablets and desktop, so fixed bars align with the content column.
   -------------------------------------------------------------------------- */

.frame0c605-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--frame0c605-bg-canvas);
  overflow-x: clip;
}

@media (min-width: 480px) {
  .frame0c605-shell {
    box-shadow: 0 0 0 1px rgba(255, 179, 255, 0.08), 0 0 60px rgba(0, 0, 0, 0.55);
  }
}

/* --------------------------------------------------------------------------
   Top bar - asymmetric brand header
   Brand block (logo + wordmark only) sits left; account actions and the
   route-panel trigger live in a separate action cluster on the right.
   -------------------------------------------------------------------------- */

.frame0c605-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  background: linear-gradient(180deg, rgba(18, 27, 36, 0.98) 0%, rgba(28, 40, 51, 0.96) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frame0c605-line);
}

.frame0c605-topbar::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--frame0c605-pink) 0%, var(--frame0c605-flame) 48%, rgba(255, 87, 34, 0) 100%);
  opacity: 0.85;
}

.frame0c605-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--frame0c605-topbar-h);
  padding: 8px 10px 8px 12px;
}

.frame0c605-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 3px 6px 3px 0;
  border-radius: var(--frame0c605-radius-s);
}

.frame0c605-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--frame0c605-line-strong);
  box-shadow: 0 3px 10px rgba(255, 105, 180, 0.28);
  object-fit: cover;
  flex: 0 0 auto;
}

.frame0c605-wordmark {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--frame0c605-ink);
  line-height: 1.1;
  white-space: nowrap;
}

.frame0c605-wordmark::first-letter {
  color: var(--frame0c605-pink-soft);
}

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

.frame0c605-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: var(--frame0c605-radius-m);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease,
    border-color 0.12s ease, color 0.12s ease;
  border: 1px solid transparent;
}

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

.frame0c605-btn-solid {
  background: linear-gradient(135deg, var(--frame0c605-flame) 0%, #ff8f4d 100%);
  color: #ffffff;
  box-shadow: 0 5px 16px rgba(255, 87, 34, 0.42);
}

.frame0c605-btn-solid:hover {
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.6);
  color: #ffffff;
}

.frame0c605-btn-ghost {
  background: rgba(224, 255, 255, 0.04);
  border-color: var(--frame0c605-line-strong);
  color: var(--frame0c605-pink-soft);
}

.frame0c605-btn-ghost:hover {
  border-color: var(--frame0c605-pink);
  color: #ffffff;
  background: rgba(255, 105, 180, 0.12);
}

/* Menu trigger - icon state micro-change on open */
.frame0c605-menubtn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 10px 11px;
  background: rgba(224, 255, 255, 0.05);
  border: 1px solid var(--frame0c605-line);
  border-radius: var(--frame0c605-radius-m);
  cursor: pointer;
  transition: border-color 0.12s ease, transform 0.12s ease;
}

.frame0c605-menubtn span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--frame0c605-ink);
  transition: transform 0.16s ease, opacity 0.16s ease, background-color 0.16s ease;
}

.frame0c605-menubtn:hover { border-color: var(--frame0c605-line-strong); }
.frame0c605-menubtn:active { transform: scale(0.92); }

.frame0c605-menubtn[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--frame0c605-pink-soft); }
.frame0c605-menubtn[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.frame0c605-menubtn[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--frame0c605-pink-soft); }

/* --------------------------------------------------------------------------
   Compact route panel (expandable menu)
   -------------------------------------------------------------------------- */

.frame0c605-routes {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  background: rgba(16, 24, 33, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: max-height 0.26s ease, border-color 0.26s ease;
  z-index: 59;
}

.frame0c605-routes-open {
  max-height: 420px;
  border-bottom-color: var(--frame0c605-line-strong);
  box-shadow: var(--frame0c605-shadow-float);
}

.frame0c605-routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
}

.frame0c605-route {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 46px;
  padding: 9px 8px 7px;
  background: rgba(224, 255, 255, 0.04);
  border: 1px solid var(--frame0c605-line);
  border-top: 2px solid transparent;
  border-radius: var(--frame0c605-radius-s);
  color: var(--frame0c605-ink-soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease,
    border-color 0.12s ease;
}

.frame0c605-route small {
  font-size: 10px;
  font-weight: 400;
  color: var(--frame0c605-ink-faint);
  letter-spacing: 0.2px;
}

.frame0c605-route:hover,
.frame0c605-route:focus-visible {
  color: #ffffff;
  background: rgba(255, 105, 180, 0.12);
  border-color: var(--frame0c605-line-strong);
  transform: translateY(-1px);
}

/* Active route gets the top indicator line */
.frame0c605-route-on {
  color: #ffffff;
  background: rgba(255, 105, 180, 0.16);
  border-top-color: var(--frame0c605-flame);
}

/* --------------------------------------------------------------------------
   Main column
   -------------------------------------------------------------------------- */

.frame0c605-main {
  padding: calc(var(--frame0c605-topbar-h) + 14px) 12px calc(var(--frame0c605-bnav-h) + 92px);
}

.frame0c605-sec { margin: 0 0 22px; }

.frame0c605-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
}

h1.frame0c605-h1 {
  margin: 4px 0 10px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.2px;
}

h2.frame0c605-h2 {
  margin: 0;
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.38;
  color: var(--frame0c605-ink);
}

h3.frame0c605-h3 {
  margin: 14px 0 6px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--frame0c605-pink-soft);
}

.frame0c605-count {
  flex: 0 0 auto;
  padding: 2px 9px;
  background: rgba(255, 87, 34, 0.16);
  border: 1px solid rgba(255, 87, 34, 0.4);
  border-radius: 999px;
  color: var(--frame0c605-ember);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.frame0c605-lede {
  margin: 0 0 10px;
  color: var(--frame0c605-ink-soft);
  font-size: 13.5px;
}

.frame0c605-lede a {
  color: var(--frame0c605-pink-soft);
  border-bottom: 1px dotted rgba(255, 179, 255, 0.55);
}

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

.frame0c605-hero {
  position: relative;
  padding: 16px 14px 16px;
  margin: 0 0 16px;
  border: 1px solid var(--frame0c605-line);
  border-radius: var(--frame0c605-radius-l);
  background:
    radial-gradient(85% 90% at 88% 8%, rgba(255, 105, 180, 0.2) 0%, rgba(255, 105, 180, 0) 58%),
    radial-gradient(70% 80% at 6% 100%, rgba(255, 87, 34, 0.16) 0%, rgba(255, 87, 34, 0) 62%),
    linear-gradient(160deg, #26394a 0%, #1d2b38 100%);
  box-shadow: var(--frame0c605-shadow-card);
  overflow: hidden;
}

.frame0c605-hero::before {
  content: '';
  position: absolute;
  top: -34px;
  right: -30px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 14px solid rgba(255, 179, 255, 0.1);
}

.frame0c605-hero p { margin: 0 0 9px; color: var(--frame0c605-ink-soft); font-size: 13.5px; }

.frame0c605-ctarow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 13px 0 0;
}

.frame0c605-ctarow .frame0c605-btn { flex: 1 1 130px; }

.frame0c605-hero-note {
  margin: 11px 0 0;
  font-size: 11.5px;
  color: var(--frame0c605-ink-faint);
}

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

.frame0c605-caro {
  position: relative;
  margin: 0 0 20px;
  border-radius: var(--frame0c605-radius-l);
  box-shadow: var(--frame0c605-shadow-card);
}

.frame0c605-cview {
  position: relative;
  overflow: hidden;
  border-radius: var(--frame0c605-radius-l);
  border: 1px solid var(--frame0c605-line);
}

.frame0c605-ctrack {
  display: flex;
  width: 100%;
  transition: transform 0.42s cubic-bezier(0.33, 0.9, 0.3, 1);
}

.frame0c605-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: #141f29;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  -webkit-tap-highlight-color: rgba(255, 105, 180, 0.25);
}

.frame0c605-slide img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.frame0c605-slide::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(12, 18, 24, 0) 0%, rgba(12, 18, 24, 0.88) 100%);
}

.frame0c605-slide-cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}

.frame0c605-slide-tag {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 87, 34, 0.92);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.frame0c605-slide-cap strong {
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.frame0c605-cdots {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.frame0c605-dot {
  width: 22px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(224, 255, 255, 0.28);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.frame0c605-dot:active { transform: scale(0.86); }

.frame0c605-dot-on {
  background: linear-gradient(90deg, var(--frame0c605-pink), var(--frame0c605-flame));
}

/* --------------------------------------------------------------------------
   Game sections - light floating-layer cards, small radius, dense grid
   -------------------------------------------------------------------------- */

.frame0c605-gsec {
  margin: 0 0 20px;
  padding: 12px 11px 13px;
  background: linear-gradient(180deg, rgba(36, 53, 67, 0.66) 0%, rgba(28, 40, 51, 0.4) 100%);
  border: 1px solid var(--frame0c605-line);
  border-radius: var(--frame0c605-radius-l);
}

.frame0c605-ggrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
  margin-top: 10px;
}

@media (min-width: 375px) {
  .frame0c605-ggrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px 7px; }
}

.frame0c605-gcard {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  background: rgba(224, 255, 255, 0.045);
  border: 1px solid var(--frame0c605-line);
  border-radius: var(--frame0c605-radius-s);
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: transform 0.13s ease, border-color 0.13s ease, background-color 0.13s ease,
    box-shadow 0.13s ease;
  -webkit-tap-highlight-color: rgba(255, 105, 180, 0.22);
}

.frame0c605-gcard:hover {
  border-color: var(--frame0c605-line-strong);
  background: rgba(255, 105, 180, 0.09);
  box-shadow: 0 6px 14px rgba(4, 9, 14, 0.5);
}

.frame0c605-gcard:active {
  transform: scale(0.93);
  border-color: var(--frame0c605-pink);
}

.frame0c605-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
  background: #17222c;
}

.frame0c605-gname {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
  color: var(--frame0c605-ink);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   Editorial modules - step-advancing rhythm
   -------------------------------------------------------------------------- */

.frame0c605-mod {
  margin: 0 0 20px;
  padding: 14px 13px 15px;
  background: rgba(36, 53, 67, 0.5);
  border: 1px solid var(--frame0c605-line);
  border-radius: var(--frame0c605-radius-l);
}

.frame0c605-mod > p { margin: 0 0 9px; color: var(--frame0c605-ink-soft); font-size: 13.5px; }

.frame0c605-steps {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  counter-reset: frame0c605-step;
}

.frame0c605-steps li {
  position: relative;
  counter-increment: frame0c605-step;
  padding: 9px 10px 9px 44px;
  margin: 0 0 7px;
  background: rgba(224, 255, 255, 0.035);
  border: 1px solid var(--frame0c605-line);
  border-left: 2px solid var(--frame0c605-flame);
  border-radius: var(--frame0c605-radius-s);
  color: var(--frame0c605-ink-soft);
  font-size: 13px;
}

.frame0c605-steps li::before {
  content: counter(frame0c605-step, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 10px;
  min-width: 24px;
  padding: 1px 3px;
  border-radius: 5px;
  background: rgba(255, 87, 34, 0.18);
  border: 1px solid rgba(255, 87, 34, 0.45);
  color: var(--frame0c605-ember);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

.frame0c605-goalrow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 11px 0 0;
}

.frame0c605-goal {
  padding: 9px 8px;
  background: rgba(224, 255, 255, 0.04);
  border: 1px solid var(--frame0c605-line);
  border-top: 2px solid var(--frame0c605-pink);
  border-radius: var(--frame0c605-radius-s);
  font-size: 11.5px;
  color: var(--frame0c605-ink-soft);
}

.frame0c605-goal strong {
  display: block;
  margin: 0 0 3px;
  color: var(--frame0c605-ink);
  font-size: 12px;
}

.frame0c605-quote {
  margin: 9px 0 0;
  padding: 10px 11px 9px;
  background: rgba(224, 255, 255, 0.035);
  border: 1px solid var(--frame0c605-line);
  border-left: 3px solid var(--frame0c605-pink);
  border-radius: var(--frame0c605-radius-s);
}

.frame0c605-quote p { margin: 0 0 5px; color: var(--frame0c605-ink-soft); font-size: 12.5px; }

.frame0c605-quote footer {
  color: var(--frame0c605-ink-faint);
  font-size: 11px;
}

.frame0c605-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 11px 0 0;
}

@media (min-width: 375px) {
  .frame0c605-duo { grid-template-columns: 1fr 1fr; }
}

.frame0c605-duo h3 { margin: 0 0 5px; }

.frame0c605-duo ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.frame0c605-duo li {
  position: relative;
  margin: 0 0 5px;
  padding: 6px 8px 6px 24px;
  background: rgba(224, 255, 255, 0.03);
  border: 1px solid var(--frame0c605-line);
  border-radius: var(--frame0c605-radius-s);
  color: var(--frame0c605-ink-soft);
  font-size: 12px;
}

.frame0c605-duo li::before {
  position: absolute;
  left: 8px;
  top: 6px;
  font-weight: 700;
}

.frame0c605-pros li::before { content: '+'; color: #7dffb0; }
.frame0c605-cons li::before { content: '\2212'; color: #ff8f7d; }

.frame0c605-note {
  margin: 11px 0 0;
  padding: 9px 11px;
  background: rgba(255, 179, 255, 0.07);
  border: 1px dashed rgba(255, 179, 255, 0.4);
  border-radius: var(--frame0c605-radius-s);
  color: var(--frame0c605-ink-soft);
  font-size: 12px;
}

/* Compact check grids: short actionable lines, two-up on wider phones */
.frame0c605-chips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 11px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 375px) {
  .frame0c605-chips { grid-template-columns: 1fr 1fr; }
}

.frame0c605-chips li {
  padding: 7px 9px;
  background: rgba(224, 255, 255, 0.04);
  border: 1px solid var(--frame0c605-line);
  border-left: 2px solid var(--frame0c605-pink);
  border-radius: var(--frame0c605-radius-s);
  color: var(--frame0c605-ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.frame0c605-chiplabel {
  display: block;
  margin: 12px 0 0;
  color: var(--frame0c605-ember);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* --------------------------------------------------------------------------
   Extended footer - compact groups: brand > promotions > directory > note
   -------------------------------------------------------------------------- */

.frame0c605-xfoot {
  margin: 4px 0 18px;
  padding: 14px 12px 15px;
  background: linear-gradient(180deg, rgba(16, 24, 33, 0.9) 0%, rgba(13, 20, 27, 0.96) 100%);
  border: 1px solid var(--frame0c605-line);
  border-radius: var(--frame0c605-radius-l);
}

.frame0c605-xfoot-title {
  margin: 0 0 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--frame0c605-pink-soft);
}

.frame0c605-xfoot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.frame0c605-xfoot-brand .frame0c605-logo { width: 34px; height: 34px; }

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

.frame0c605-promogrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 13px;
}

.frame0c605-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 9px 10px;
  background: rgba(255, 87, 34, 0.1);
  border: 1px solid rgba(255, 87, 34, 0.38);
  border-radius: var(--frame0c605-radius-m);
  color: var(--frame0c605-ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
  -webkit-tap-highlight-color: rgba(255, 87, 34, 0.25);
}

.frame0c605-promo::after {
  content: '\2192';
  color: var(--frame0c605-ember);
  font-weight: 700;
  flex: 0 0 auto;
}

.frame0c605-promo:hover { background: rgba(255, 87, 34, 0.2); border-color: var(--frame0c605-flame); color: #ffffff; }
.frame0c605-promo:active { transform: scale(0.95); }

.frame0c605-dirgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.frame0c605-dirgrid a {
  display: block;
  padding: 8px 6px;
  background: rgba(224, 255, 255, 0.04);
  border: 1px solid var(--frame0c605-line);
  border-top: 2px solid transparent;
  border-radius: var(--frame0c605-radius-s);
  color: var(--frame0c605-ink-soft);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  transition: color 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}

.frame0c605-dirgrid a:hover {
  color: #ffffff;
  border-top-color: var(--frame0c605-pink);
  transform: translateY(-1px);
}

.frame0c605-xfoot-note {
  margin: 13px 0 0;
  padding-top: 11px;
  border-top: 1px dashed var(--frame0c605-line-strong);
  color: var(--frame0c605-ink-faint);
  font-size: 10.8px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Common footer + segmented action bar (mobile bottom nav)
   -------------------------------------------------------------------------- */

.frame0c605-foot {
  position: relative;
  padding: 4px 0 calc(var(--frame0c605-bnav-h) + 26px);
  text-align: center;
}

.frame0c605-copy {
  margin: 0 0 8px;
  color: var(--frame0c605-ink-faint);
  font-size: 11.5px;
}

.frame0c605-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: var(--frame0c605-bnav-h);
  padding: 4px 2px calc(4px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(18, 27, 36, 0.97) 0%, rgba(13, 20, 27, 0.99) 100%);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--frame0c605-line-strong);
}

.frame0c605-bnav a,
.frame0c605-bnav button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 4px 2px;
  background: none;
  border: 0;
  border-top: 2px solid transparent;
  border-radius: 0;
  color: var(--frame0c605-ink-faint);
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.14s ease, transform 0.14s ease, border-color 0.14s ease;
}

.frame0c605-bnav svg {
  width: 22px;
  height: 22px;
  transition: transform 0.16s ease;
}

.frame0c605-bnav a:active,
.frame0c605-bnav button:active {
  transform: scale(0.9);
}

.frame0c605-bnav a:active svg,
.frame0c605-bnav button:active svg {
  transform: translateY(-1px) scale(1.12);
}

.frame0c605-bnav a:hover,
.frame0c605-bnav button:hover {
  color: var(--frame0c605-ink);
}

/* Active item: top indicator line + brighter label + tinted icon */
.frame0c605-bnav-on {
  color: var(--frame0c605-ink);
  border-top-color: var(--frame0c605-flame);
  background: linear-gradient(180deg, rgba(255, 87, 34, 0.12) 0%, rgba(255, 87, 34, 0) 100%);
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }

  .frame0c605-ctrack { transition: none; }
}
