/* ============================================================
   bd3333.cfd — site chrome stylesheet
   Mobile-first (320-430px canvas), dark warm palette.
   All classes + variables use the frame891ee- prefix.
   Comments in English only.
   ============================================================ */

/* ---------- design tokens ---------- */
:root {
  --frame891ee-ink: #141414;            /* page base (dark) */
  --frame891ee-panel: #201d18;          /* raised panel */
  --frame891ee-panel-2: #26221b;        /* lighter raised panel */
  --frame891ee-line: rgba(245, 222, 179, 0.16);
  --frame891ee-line-soft: rgba(245, 222, 179, 0.09);
  --frame891ee-wheat: #f5deb3;          /* primary text (light) */
  --frame891ee-wheat-dim: #cdb387;      /* secondary text */
  --frame891ee-gold: #cd853f;           /* brand gold */
  --frame891ee-gold-deep: #a96a2c;
  --frame891ee-violet: #8470ff;         /* accent */
  --frame891ee-violet-soft: rgba(132, 112, 255, 0.18);
  --frame891ee-gold-soft: rgba(205, 133, 63, 0.16);
  --frame891ee-radius-lg: 18px;
  --frame891ee-radius-md: 12px;
  --frame891ee-radius-sm: 9px;
  --frame891ee-shadow: 0 10px 26px rgba(0, 0, 0, 0.46);
  --frame891ee-shadow-soft: 0 5px 14px rgba(0, 0, 0, 0.32);
  --frame891ee-touch: 44px;             /* minimum touch target */
  --frame891ee-gap: 10px;
  --frame891ee-pad: 14px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--frame891ee-ink);
  background-image:
    radial-gradient(1200px 500px at 50% -180px, rgba(205, 133, 63, 0.14), transparent 70%),
    radial-gradient(700px 380px at 110% 8%, rgba(132, 112, 255, 0.08), transparent 72%);
  color: var(--frame891ee-wheat);
  font-family: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

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

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

a { color: var(--frame891ee-gold); text-decoration: none; }
a:active { opacity: 0.82; }

:focus-visible {
  outline: 2px solid var(--frame891ee-violet);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Phone canvas: content stays centered on wider screens. */
.frame891ee-page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--frame891ee-ink);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 0 1px var(--frame891ee-line-soft);
}

/* Reserve room for fixed header + floating dock so nothing is occluded. */
.frame891ee-main {
  padding-top: 62px;
  padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px));
}

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

/* ---------- fixed top bar ---------- */
.frame891ee-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(20, 20, 20, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frame891ee-line-soft);
}

.frame891ee-toprow {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 62px;
  padding: 9px var(--frame891ee-pad);
}

/* Centered identity: logo image + site name only. */
.frame891ee-brand {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
}

.frame891ee-logo {
  width: 38px; height: 38px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid rgba(205, 133, 63, 0.55);
  box-shadow: 0 0 0 3px rgba(205, 133, 63, 0.12);
  flex: 0 0 auto;
}

.frame891ee-wordmark {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--frame891ee-wheat);
  white-space: nowrap;
}
.frame891ee-wordmark em {
  font-style: normal;
  color: var(--frame891ee-gold);
}

/* Action cluster lives outside the brand area. */
.frame891ee-actions {
  position: absolute;
  right: var(--frame891ee-pad);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
}

.frame891ee-menu-btn {
  position: absolute;
  left: var(--frame891ee-pad);
  top: 50%;
  transform: translateY(-50%);
  width: var(--frame891ee-touch); height: var(--frame891ee-touch);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
  border-radius: var(--frame891ee-radius-sm);
  transition: background 0.25s ease;
}
.frame891ee-menu-btn:active { background: var(--frame891ee-gold-soft); }

.frame891ee-menu-btn span {
  display: block; width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--frame891ee-wheat);
  transition: transform 0.3s ease, opacity 0.2s ease, background 0.3s ease;
}
.frame891ee-menu-btn.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--frame891ee-gold); }
.frame891ee-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.frame891ee-menu-btn.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--frame891ee-gold); }

/* Solid primary (Register) + outlined secondary (Login) CTAs. */
.frame891ee-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--frame891ee-touch);
  padding: 0 15px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.18s ease, background 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease;
}
.frame891ee-btn:active { transform: scale(0.96); }

.frame891ee-btn-solid {
  background: linear-gradient(180deg, var(--frame891ee-gold) 0%, var(--frame891ee-gold-deep) 100%);
  color: #1c130a;
  box-shadow: 0 4px 14px rgba(205, 133, 63, 0.35);
}
.frame891ee-btn-solid:active { box-shadow: 0 2px 8px rgba(205, 133, 63, 0.3); }

.frame891ee-btn-ghost {
  border: 1.5px solid rgba(245, 222, 179, 0.5);
  color: var(--frame891ee-wheat);
  background: rgba(245, 222, 179, 0.04);
}

/* ---------- expandable nav panel ---------- */
.frame891ee-navpanel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  background: rgba(24, 22, 18, 0.985);
  border-bottom: 1px solid var(--frame891ee-line-soft);
  transition: max-height 0.38s ease, opacity 0.3s ease;
}
.frame891ee-navpanel.is-open { max-height: 620px; opacity: 1; }

.frame891ee-navinner {
  padding: 10px var(--frame891ee-pad) 16px;
}

.frame891ee-navgroup-label {
  margin: 12px 2px 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--frame891ee-wheat-dim);
}

.frame891ee-navlinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.frame891ee-navlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--frame891ee-touch);
  padding: 9px 11px;
  border-radius: var(--frame891ee-radius-sm);
  background: var(--frame891ee-panel);
  border: 1px solid var(--frame891ee-line-soft);
  color: var(--frame891ee-wheat);
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.25s ease, border-color 0.25s ease;
}
.frame891ee-navlink:active { transform: translateY(-1px) scale(0.98); }
.frame891ee-navlink.is-current {
  background: var(--frame891ee-gold-soft);
  border-color: rgba(205, 133, 63, 0.55);
  transform: translateY(-2px);
  box-shadow: var(--frame891ee-shadow-soft);
}

.frame891ee-navdot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--frame891ee-violet);
  flex: 0 0 auto;
}
.frame891ee-navlink.is-current .frame891ee-navdot { background: var(--frame891ee-gold); }

/* ---------- hero carousel ---------- */
.frame891ee-hero {
  padding: 12px var(--frame891ee-pad) 4px;
}

.frame891ee-viewport {
  position: relative;
  border-radius: var(--frame891ee-radius-lg);
  overflow: hidden;
  box-shadow: var(--frame891ee-shadow);
  border: 1px solid var(--frame891ee-line-soft);
}

.frame891ee-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.33, 0.9, 0.3, 1);
}

.frame891ee-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  display: block;
  padding: 0;
}

.frame891ee-slide img {
  width: 100%;
  aspect-ratio: 9 / 5;
  object-fit: cover;
}

.frame891ee-slidecap {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--frame891ee-radius-md);
  background: rgba(20, 20, 20, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--frame891ee-line-soft);
  text-align: left;
}
.frame891ee-slidecap strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--frame891ee-wheat);
  display: block;
  line-height: 1.35;
}
.frame891ee-slidecap small {
  font-size: 11px;
  color: var(--frame891ee-wheat-dim);
  display: block;
}
.frame891ee-slidecap .frame891ee-capcta {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  color: #1c130a;
  background: var(--frame891ee-gold);
  border-radius: 8px;
  padding: 8px 11px;
}

.frame891ee-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
}
.frame891ee-dot {
  width: 26px; height: 6px;
  border-radius: 4px;
  background: rgba(245, 222, 179, 0.22);
  transition: background 0.3s ease, width 0.3s ease;
}
.frame891ee-dot.is-on {
  width: 38px;
  background: var(--frame891ee-gold);
}

/* ---------- quick access strip ---------- */
.frame891ee-quickrow {
  display: flex;
  gap: 8px;
  padding: 10px var(--frame891ee-pad) 2px;
}
.frame891ee-quickrow .frame891ee-btn { flex: 1 1 50%; }

/* ---------- generic block shell ---------- */
.frame891ee-block {
  padding: 18px var(--frame891ee-pad) 4px;
}

.frame891ee-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--frame891ee-gold);
  margin-bottom: 5px;
}
.frame891ee-kicker::before {
  content: "";
  width: 16px; height: 3px;
  border-radius: 2px;
  background: var(--frame891ee-gold);
}

.frame891ee-h1, .frame891ee-h2 {
  font-family: inherit;
  margin: 0 0 8px;
  line-height: 1.3;
  letter-spacing: 0.2px;
}
.frame891ee-h1 { font-size: 21px; font-weight: 800; }
.frame891ee-h2 { font-size: 18px; font-weight: 800; }
.frame891ee-h3 { font-size: 15px; font-weight: 700; margin: 12px 0 4px; color: var(--frame891ee-wheat); }

.frame891ee-lede {
  margin: 0 0 10px;
  color: var(--frame891ee-wheat);
}
.frame891ee-muted { color: var(--frame891ee-wheat-dim); }
.frame891ee-p { margin: 0 0 10px; }

/* ---------- answer card (direct-answer module) ---------- */
.frame891ee-answer {
  position: relative;
  border-radius: var(--frame891ee-radius-lg);
  background: linear-gradient(180deg, var(--frame891ee-panel-2), var(--frame891ee-panel));
  border: 1px solid var(--frame891ee-line-soft);
  padding: 14px 14px 12px 18px;
  box-shadow: var(--frame891ee-shadow-soft);
  overflow: hidden;
}
.frame891ee-answer::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--frame891ee-violet), var(--frame891ee-gold));
}

/* ---------- category sections + game grid ---------- */
.frame891ee-cat {
  padding: 20px var(--frame891ee-pad) 4px;
}

.frame891ee-cathead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.frame891ee-cattitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  color: var(--frame891ee-wheat);
}
.frame891ee-cattitle::before {
  content: "";
  width: 5px; height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--frame891ee-gold), var(--frame891ee-gold-deep));
  flex: 0 0 auto;
}

.frame891ee-catcount {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--frame891ee-wheat-dim);
  border: 1px solid var(--frame891ee-line);
  border-radius: 999px;
  padding: 3px 9px;
}

.frame891ee-catintro {
  margin: 4px 0 8px;
  font-size: 13px;
  color: var(--frame891ee-wheat-dim);
}

.frame891ee-catmore {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 8px 0 10px;
  font-size: 12.5px;
}
.frame891ee-catmore a {
  color: var(--frame891ee-violet);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(132, 112, 255, 0.45);
  text-underline-offset: 3px;
}

/* 320px keeps 4 stable tracks; wider phones get a 5th track. */
.frame891ee-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--frame891ee-gap);
}

/* Game card: light floating-layer image card. */
.frame891ee-gcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 7px 5px 8px;
  border-radius: var(--frame891ee-radius-md);
  background: rgba(38, 34, 27, 0.72);
  border: 1px solid var(--frame891ee-line-soft);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, background 0.25s ease, border-color 0.25s ease;
  text-align: center;
  width: 100%;
}
.frame891ee-gcard:active {
  transform: translateY(-2px) scale(0.97);
  background: var(--frame891ee-gold-soft);
  border-color: rgba(205, 133, 63, 0.5);
}

.frame891ee-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 9px;
  background: var(--frame891ee-ink);
}

.frame891ee-gname {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--frame891ee-wheat);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  word-break: break-word;
}

/* ---------- tips list module ---------- */
.frame891ee-tips {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: frame891ee-tip;
}
.frame891ee-tips li {
  counter-increment: frame891ee-tip;
  position: relative;
  padding: 10px 12px 10px 44px;
  border-radius: var(--frame891ee-radius-md);
  background: var(--frame891ee-panel);
  border: 1px solid var(--frame891ee-line-soft);
  font-size: 13.5px;
  color: var(--frame891ee-wheat);
}
.frame891ee-tips li::before {
  content: counter(frame891ee-tip);
  position: absolute;
  left: 10px; top: 10px;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--frame891ee-violet-soft);
  color: var(--frame891ee-violet);
  border: 1px solid rgba(132, 112, 255, 0.4);
  font-size: 13px;
  font-weight: 800;
}
.frame891ee-tips strong { color: var(--frame891ee-gold); font-weight: 700; }

/* ---------- steps strip module (horizontal snap) ---------- */
.frame891ee-steps {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 2px 12px;
  margin: 0 calc(-1 * var(--frame891ee-pad));
  padding-left: var(--frame891ee-pad);
  padding-right: var(--frame891ee-pad);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.frame891ee-steps::-webkit-scrollbar { display: none; }

.frame891ee-step {
  flex: 0 0 78%;
  scroll-snap-align: start;
  border-radius: var(--frame891ee-radius-lg);
  background: linear-gradient(180deg, var(--frame891ee-panel-2), var(--frame891ee-panel));
  border: 1px solid var(--frame891ee-line-soft);
  padding: 12px 13px;
}
.frame891ee-stepnum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--frame891ee-gold), var(--frame891ee-gold-deep));
  color: #1c130a;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 7px;
}
.frame891ee-step h3 { margin: 0 0 4px; font-size: 14.5px; }
.frame891ee-step p { margin: 0; font-size: 12.8px; color: var(--frame891ee-wheat-dim); }

/* ---------- checklist summary module ---------- */
.frame891ee-cheat {
  border-radius: var(--frame891ee-radius-lg);
  border: 1px dashed rgba(205, 133, 63, 0.5);
  background: rgba(205, 133, 63, 0.06);
  padding: 13px 14px;
}
.frame891ee-cheat ol {
  margin: 8px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13.5px;
}
.frame891ee-cheat li::marker { color: var(--frame891ee-gold); font-weight: 800; }

/* ---------- ordered guidance list ---------- */
.frame891ee-plainlist {
  margin: 10px 0 14px;
  padding: 0 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--frame891ee-wheat);
  font-size: 13.5px;
}
.frame891ee-plainlist li::marker { color: var(--frame891ee-gold); font-weight: 800; }

/* ---------- mini FAQ module ---------- */
.frame891ee-qa {
  border-radius: var(--frame891ee-radius-md);
  background: var(--frame891ee-panel);
  border: 1px solid var(--frame891ee-line-soft);
  padding: 11px 12px;
  margin-bottom: 8px;
}
.frame891ee-qa h3 {
  margin: 0 0 4px;
  font-size: 13.8px;
  color: var(--frame891ee-gold);
}
.frame891ee-qa p { margin: 0; font-size: 13px; color: var(--frame891ee-wheat); }

/* ---------- extended footer (homepage directory) ---------- */
.frame891ee-xfoot {
  margin-top: 22px;
  border-top: 1px solid var(--frame891ee-line);
  padding: 16px var(--frame891ee-pad) 6px;
  background: linear-gradient(180deg, rgba(38, 34, 27, 0.55), rgba(20, 20, 20, 0));
}

.frame891ee-xfoot-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--frame891ee-wheat);
  margin: 14px 0 7px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.frame891ee-xfoot-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--frame891ee-line-soft);
}

.frame891ee-dirlist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.frame891ee-dirlist a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: var(--frame891ee-radius-sm);
  background: var(--frame891ee-panel);
  border: 1px solid var(--frame891ee-line-soft);
  color: var(--frame891ee-wheat);
  font-size: 12.8px;
  font-weight: 600;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.frame891ee-dirlist a:active { background: var(--frame891ee-gold-soft); }
.frame891ee-dirlist small {
  color: var(--frame891ee-wheat-dim);
  font-weight: 500;
  font-size: 11px;
  text-align: right;
  flex: 0 0 auto;
}

.frame891ee-promorow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.frame891ee-promorow .frame891ee-btn { padding: 0 8px; font-size: 12.8px; min-height: 46px; }

.frame891ee-note {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: var(--frame891ee-radius-md);
  background: var(--frame891ee-violet-soft);
  border: 1px solid rgba(132, 112, 255, 0.3);
  font-size: 11.8px;
  line-height: 1.6;
  color: var(--frame891ee-wheat);
}

/* ---------- common footer ---------- */
.frame891ee-footer {
  padding: 16px var(--frame891ee-pad) 8px;
  text-align: center;
  border-top: 1px solid var(--frame891ee-line-soft);
}
.frame891ee-footer p {
  margin: 0;
  font-size: 11.8px;
  color: var(--frame891ee-wheat-dim);
}

/* ---------- floating bottom dock nav ---------- */
.frame891ee-dock {
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  max-width: 456px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2px;
  padding: 6px;
  border-radius: 20px;
  background: rgba(24, 22, 18, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--frame891ee-line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.frame891ee-dockbtn {
  flex: 1 1 0;
  min-width: 0;
  min-height: var(--frame891ee-touch);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 15px;
  padding: 6px 2px 5px;
  color: var(--frame891ee-wheat-dim);
  transition: transform 0.2s ease, color 0.25s ease, background 0.25s ease;
}
.frame891ee-dockbtn:active { transform: scale(0.94); }

.frame891ee-dockbtn svg {
  width: 21px; height: 21px;
  display: block;
}

.frame891ee-dockbtn span {
  font-size: 10.3px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Current page: slight lift + warm tint. */
.frame891ee-dockbtn.is-current {
  color: var(--frame891ee-gold);
  background: var(--frame891ee-gold-soft);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}
.frame891ee-dockbtn.is-current svg { filter: drop-shadow(0 0 6px rgba(205, 133, 63, 0.55)); }

/* Promo dock entries get a violet cue to stand apart from routes. */
.frame891ee-dockbtn.is-promo { color: var(--frame891ee-violet); }
.frame891ee-dockbtn.is-promo:active { background: var(--frame891ee-violet-soft); }

/* ---------- width refinements ---------- */

/* 375px and up: five game columns where names stay readable. */
@media (min-width: 375px) {
  .frame891ee-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .frame891ee-promorow { grid-template-columns: 1fr 1fr; }
  .frame891ee-step { flex: 0 0 62%; }
  .frame891ee-h1 { font-size: 22px; }
}

/* 430px canvas: roomier paddings, wider dock labels. */
@media (min-width: 430px) {
  :root {
    --frame891ee-pad: 18px;
    --frame891ee-gap: 12px;
  }
  .frame891ee-h1 { font-size: 23px; }
  .frame891ee-h2 { font-size: 19px; }
  .frame891ee-gname { font-size: 12px; }
  .frame891ee-step { flex: 0 0 52%; }
  .frame891ee-dirlist { grid-template-columns: 1fr 1fr; }
  .frame891ee-dockbtn span { font-size: 10.8px; }
}

/* Small phones: keep two-line names from clipping the grid. */
@media (max-width: 340px) {
  .frame891ee-gname { font-size: 10.8px; }
  .frame891ee-btn { padding: 0 11px; font-size: 13px; }
  .frame891ee-quickrow { flex-direction: column; }
}

/* Respect users who prefer calmer motion. */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .frame891ee-track { transition: none; }
}
