/* ==========================================================================
   joya 9 (joya-9.click) mobile shell stylesheet
   Prefix contract: every class uses "frame98348-", every custom property
   uses "--frame98348-". Canvas targets 320-430px phones; wider screens keep
   a centered phone canvas. Border-first, restrained radii, tech headings.
   ========================================================================== */

/* ---------- 1. Custom properties ---------- */
:root {
  --frame98348-night: #191970;            /* midnight blue base */
  --frame98348-deep: #0e0d33;             /* darker page backdrop */
  --frame98348-slate: #212f3d;            /* panel surface */
  --frame98348-mint: #00fa9a;             /* primary accent / CTA */
  --frame98348-leaf: #90ee90;             /* light green text accent */
  --frame98348-amethyst: #9966cc;         /* secondary accent */
  --frame98348-paper: #eaf6f1;            /* primary text */
  --frame98348-dim: #a9b7c9;              /* secondary text */
  --frame98348-line: rgba(153, 102, 204, 0.38);
  --frame98348-line-mint: rgba(0, 250, 154, 0.34);
  --frame98348-head-font: "Bahnschrift", "Segoe UI Semibold", "Noto Sans Bengali", system-ui, sans-serif;
  --frame98348-body-font: "Segoe UI", "Noto Sans Bengali", system-ui, sans-serif;
  --frame98348-mono-font: "Consolas", "Cascadia Mono", monospace;
  --frame98348-radius: 8px;
  --frame98348-radius-lg: 10px;
  --frame98348-dock-h: 62px;
  --frame98348-head-h: 58px;
}

/* ---------- 2. Reset + base ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--frame98348-deep);
  background-image:
    radial-gradient(120% 52% at 50% -8%, rgba(25, 25, 112, 0.95) 0%, rgba(25, 25, 112, 0) 62%),
    radial-gradient(90% 40% at 85% 108%, rgba(153, 102, 204, 0.14) 0%, rgba(153, 102, 204, 0) 60%);
  color: var(--frame98348-paper);
  font-family: var(--frame98348-body-font);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
}

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

h1, h2, h3 {
  font-family: var(--frame98348-head-font);
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 0.45em;
  letter-spacing: 0.02em;
}

p { margin: 0 0 0.85em; }

a { color: var(--frame98348-leaf); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

::selection { background: rgba(0, 250, 154, 0.32); }

/* ---------- 3. Phone canvas ---------- */
.frame98348-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1a1a52 0%, #141343 46%, #0f0e33 100%);
  box-shadow: 0 0 0 1px rgba(153, 102, 204, 0.22);
  min-height: 100vh;
  overflow-x: clip;
}

.frame98348-main {
  padding: calc(var(--frame98348-head-h) + 10px) 12px calc(var(--frame98348-dock-h) + 26px + env(safe-area-inset-bottom, 0px));
}

/* ---------- 4. Top brand bar ---------- */
.frame98348-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--frame98348-head-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: rgba(20, 19, 64, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--frame98348-line-mint);
}

.frame98348-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-right: auto;
}

.frame98348-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--frame98348-line);
  object-fit: cover;
  flex: none;
}

.frame98348-brand b {
  font-family: var(--frame98348-head-font);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  white-space: nowrap;
}

.frame98348-brand b i {
  font-style: normal;
  color: var(--frame98348-mint);
}

/* Action cluster: register / login / menu */
.frame98348-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.frame98348-btn-register {
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--frame98348-radius);
  background: var(--frame98348-mint);
  color: #0d241c;
  font-family: var(--frame98348-head-font);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 12px rgba(0, 250, 154, 0.35);
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}

.frame98348-btn-register:active {
  filter: brightness(0.88);
  box-shadow: 0 0 18px rgba(0, 250, 154, 0.5);
}

.frame98348-btn-login {
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--frame98348-radius);
  border: 1px solid rgba(0, 250, 154, 0.55);
  color: var(--frame98348-leaf);
  font-family: var(--frame98348-head-font);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.frame98348-btn-login:active { border-color: var(--frame98348-mint); color: #ffffff; }

.frame98348-burger {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--frame98348-line);
  border-radius: var(--frame98348-radius);
  color: var(--frame98348-leaf);
}

.frame98348-burger:active { border-color: var(--frame98348-mint); }

/* ---------- 5. Full-height menu layer ---------- */
.frame98348-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(8, 8, 26, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.frame98348-scrim.frame98348-open { opacity: 1; visibility: visible; }

.frame98348-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(215px) translateX(-50%);
  width: min(84%, 356px);
  max-width: 430px;
  z-index: 80;
  background: linear-gradient(180deg, #1d1c58 0%, #151448 72%, #12113e 100%);
  border-left: 1px solid var(--frame98348-line);
  display: flex;
  flex-direction: column;
  padding: 0 0 18px;
  transition: transform 0.26s ease;
  overflow-y: auto;
}

.frame98348-menu.frame98348-open { transform: translateX(-50%); }

.frame98348-menuhead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--frame98348-line);
  position: sticky;
  top: 0;
  background: #1b1a52;
}

.frame98348-menuhead img { width: 32px; height: 32px; border-radius: 7px; border: 1px solid var(--frame98348-line); }

.frame98348-menuhead b {
  font-family: var(--frame98348-head-font);
  font-size: 17px;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-right: auto;
}

.frame98348-menuclose {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--frame98348-line);
  border-radius: var(--frame98348-radius);
  color: var(--frame98348-leaf);
}

.frame98348-menugroup {
  font-family: var(--frame98348-mono-font);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--frame98348-amethyst);
  padding: 16px 16px 6px;
}

.frame98348-menulinks { display: flex; flex-direction: column; padding: 0 8px; }

.frame98348-menulinks a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: var(--frame98348-radius);
  border: 1px solid transparent;
  color: var(--frame98348-paper);
  font-size: 14.5px;
}

.frame98348-menulinks a span { color: var(--frame98348-amethyst); font-family: var(--frame98348-mono-font); font-size: 12px; }

.frame98348-menulinks a:active,
.frame98348-menulinks a[aria-current="page"] {
  border-color: var(--frame98348-line-mint);
  background: rgba(0, 250, 154, 0.08);
  color: #ffffff;
  text-decoration: none;
}

.frame98348-menu-cta {
  margin: 18px 14px 0;
  min-height: 48px;
  border-radius: var(--frame98348-radius-lg);
  background: var(--frame98348-mint);
  color: #0d241c;
  font-family: var(--frame98348-head-font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 14px rgba(0, 250, 154, 0.4);
}

.frame98348-menu-cta:active { filter: brightness(0.88); }

/* ---------- 6. Page intro strip ---------- */
.frame98348-intro {
  margin: 4px 0 14px;
  padding: 12px 12px 14px;
  border: 1px solid var(--frame98348-line);
  border-left: 3px solid var(--frame98348-mint);
  border-radius: var(--frame98348-radius-lg);
  background: rgba(33, 47, 61, 0.45);
}

.frame98348-intro h1 {
  font-size: 21px;
  letter-spacing: 0.015em;
}

.frame98348-intro h1 em {
  font-style: normal;
  color: var(--frame98348-mint);
}

.frame98348-intro p {
  margin: 0;
  font-size: 13.5px;
  color: var(--frame98348-dim);
}

/* ---------- 7. Hero carousel ---------- */
.frame98348-hero {
  position: relative;
  margin: 0 0 14px;
  border: 1px solid var(--frame98348-line);
  border-radius: var(--frame98348-radius-lg);
  overflow: hidden;
  background: #101030;
}

.frame98348-slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.frame98348-slides::-webkit-scrollbar { display: none; }

.frame98348-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: block;
  width: 100%;
  text-align: left;
}

.frame98348-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.frame98348-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 12px;
  background: linear-gradient(180deg, rgba(10, 10, 32, 0) 0%, rgba(10, 10, 32, 0.92) 78%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.frame98348-slidecap strong {
  display: block;
  font-family: var(--frame98348-head-font);
  font-size: 16.5px;
  color: #ffffff;
  line-height: 1.3;
}

.frame98348-slidecap small {
  display: block;
  font-size: 11.5px;
  color: var(--frame98348-leaf);
}

.frame98348-slidego {
  flex: none;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--frame98348-radius);
  border: 1px solid var(--frame98348-mint);
  color: var(--frame98348-mint);
  font-family: var(--frame98348-head-font);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.frame98348-slide:active .frame98348-slidego {
  background: var(--frame98348-mint);
  color: #0d241c;
  box-shadow: 0 0 14px rgba(0, 250, 154, 0.45);
}

.frame98348-dots {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.frame98348-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(234, 246, 241, 0.75);
  background: rgba(234, 246, 241, 0.25);
  padding: 0;
}

.frame98348-dots button.frame98348-on {
  background: var(--frame98348-mint);
  border-color: var(--frame98348-mint);
  box-shadow: 0 0 8px rgba(0, 250, 154, 0.6);
}

/* ---------- 8. Category chip rail ---------- */
.frame98348-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.frame98348-rail::-webkit-scrollbar { display: none; }

.frame98348-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--frame98348-line);
  color: var(--frame98348-paper);
  font-size: 13px;
  font-weight: 600;
  background: rgba(33, 47, 61, 0.5);
}

.frame98348-chip em {
  font-style: normal;
  font-family: var(--frame98348-mono-font);
  font-size: 11px;
  color: var(--frame98348-mint);
}

.frame98348-chip:active { border-color: var(--frame98348-mint); text-decoration: none; }

/* ---------- 9. Game sections + grid cards ---------- */
.frame98348-sect { margin: 0 0 22px; }

.frame98348-secthead {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(153, 102, 204, 0.4);
}

.frame98348-idx {
  font-family: var(--frame98348-mono-font);
  font-size: 11px;
  color: var(--frame98348-mint);
  border: 1px solid var(--frame98348-line-mint);
  border-radius: 5px;
  padding: 2px 6px;
  flex: none;
}

.frame98348-secthead h2 {
  font-size: 17px;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.frame98348-count {
  font-family: var(--frame98348-mono-font);
  font-size: 11px;
  color: var(--frame98348-dim);
  flex: none;
}

.frame98348-sectlede {
  font-size: 13px;
  color: var(--frame98348-dim);
  margin: 0 0 12px;
}

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

.frame98348-gcard {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  padding: 5px 5px 7px;
  border: 1px solid var(--frame98348-line);
  border-radius: var(--frame98348-radius);
  background: rgba(33, 47, 61, 0.35);
  transition: border-color 0.15s ease;
  min-width: 0;
}

.frame98348-gcard:active { border-color: rgba(0, 250, 154, 0.85); }

.frame98348-gthumb {
  border-radius: 6px;
  overflow: hidden;
  background: #1b2733;
  aspect-ratio: 1 / 1;
}

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

.frame98348-gname {
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  color: var(--frame98348-paper);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  overflow-wrap: anywhere;
}

/* ---------- 10. Content blocks (articles, steps, tiles, terms) ---------- */
.frame98348-block {
  border: 1px solid var(--frame98348-line);
  border-radius: var(--frame98348-radius-lg);
  background: rgba(33, 47, 61, 0.38);
  padding: 14px 13px 15px;
  margin: 0 0 16px;
}

.frame98348-block > h2 { font-size: 17px; }

.frame98348-block h3 {
  font-size: 14.5px;
  color: var(--frame98348-leaf);
  margin: 14px 0 6px;
}

.frame98348-block p { font-size: 13.5px; }

.frame98348-block ul, .frame98348-block ol { margin: 0 0 0.9em; padding-left: 20px; }
.frame98348-block li { font-size: 13.5px; margin-bottom: 5px; }

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

.frame98348-steps li {
  counter-increment: frame98348-steps;
  position: relative;
  padding: 0 0 12px 40px;
  font-size: 13.5px;
}

.frame98348-steps li::before {
  content: counter(frame98348-steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--frame98348-line-mint);
  border-radius: 7px;
  font-family: var(--frame98348-mono-font);
  font-size: 12px;
  color: var(--frame98348-mint);
}

.frame98348-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 32px;
  bottom: 2px;
  width: 1px;
  background: rgba(0, 250, 154, 0.28);
}

.frame98348-steps b { color: #ffffff; display: block; font-size: 13.5px; }

.frame98348-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 12px;
}

.frame98348-tile {
  border: 1px solid var(--frame98348-line);
  border-radius: var(--frame98348-radius);
  padding: 9px 8px;
  text-align: center;
}

.frame98348-tile b {
  display: block;
  font-family: var(--frame98348-mono-font);
  font-size: 14px;
  color: var(--frame98348-mint);
  margin-bottom: 3px;
}

.frame98348-tile span { font-size: 11px; color: var(--frame98348-dim); line-height: 1.35; display: block; }

.frame98348-terms { margin: 10px 0 0; }

.frame98348-terms dt {
  font-family: var(--frame98348-head-font);
  font-size: 13.5px;
  color: #ffffff;
  padding: 9px 0 3px;
  border-top: 1px dashed rgba(153, 102, 204, 0.4);
}

.frame98348-terms dt:first-child { border-top: 0; padding-top: 0; }

.frame98348-terms dd {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--frame98348-dim);
}

/* Scenario cards */
.frame98348-case {
  border: 1px solid var(--frame98348-line);
  border-left: 3px solid var(--frame98348-amethyst);
  border-radius: var(--frame98348-radius);
  padding: 10px 11px;
  margin-bottom: 10px;
}

.frame98348-case:last-child { margin-bottom: 0; }

.frame98348-case b {
  display: block;
  font-family: var(--frame98348-head-font);
  font-size: 13.5px;
  color: #ffffff;
  margin-bottom: 3px;
}

.frame98348-case p { margin: 0; font-size: 12.8px; color: var(--frame98348-dim); }

/* Inline promo text link inside prose */
.frame98348-inline {
  color: var(--frame98348-mint);
  font-weight: 600;
  border-bottom: 1px dotted rgba(0, 250, 154, 0.65);
  padding: 1px 1px;
}

.frame98348-inline:active { color: #ffffff; background: rgba(0, 250, 154, 0.16); text-decoration: none; }

/* Wide CTA row after articles */
.frame98348-ctarow {
  display: flex;
  gap: 8px;
  margin: 14px 0 4px;
}

.frame98348-ctarow .frame98348-btn-register { flex: 1.6; min-height: 46px; font-size: 14.5px; }

.frame98348-ctarow .frame98348-btn-login { flex: 1; min-height: 46px; font-size: 14px; }

/* FAQ details */
.frame98348-faq { border: 1px solid var(--frame98348-line); border-radius: var(--frame98348-radius-lg); overflow: hidden; margin-bottom: 16px; }

.frame98348-faq h2 {
  font-size: 16px;
  padding: 12px 13px;
  margin: 0;
  border-bottom: 1px solid var(--frame98348-line);
  background: rgba(33, 47, 61, 0.5);
}

.frame98348-faq details { border-bottom: 1px solid rgba(153, 102, 204, 0.28); }

.frame98348-faq details:last-of-type { border-bottom: 0; }

.frame98348-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 13px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--frame98348-paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
}

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

.frame98348-faq summary::after {
  content: "+";
  font-family: var(--frame98348-mono-font);
  color: var(--frame98348-mint);
  font-size: 16px;
  flex: none;
}

.frame98348-faq details[open] summary::after { content: "\2013"; }

.frame98348-faq .frame98348-ans {
  padding: 0 13px 12px;
  font-size: 13px;
  color: var(--frame98348-dim);
  margin: 0;
}

/* ---------- 11. Extended footer ---------- */
.frame98348-extfoot {
  margin: 20px 0 0;
  padding: 16px 12px 14px;
  border: 1px solid var(--frame98348-line);
  border-radius: var(--frame98348-radius-lg) var(--frame98348-radius-lg) 0 0;
  background: rgba(14, 13, 51, 0.85);
}

.frame98348-extfoot h2,
.frame98348-extfoot .frame98348-extlabel {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--frame98348-amethyst);
  font-family: var(--frame98348-mono-font);
  margin: 18px 0 9px;
  font-weight: 600;
}

.frame98348-extfoot > h2:first-child,
.frame98348-extfoot .frame98348-extbrand .frame98348-extlabel { margin-top: 0; }

.frame98348-extlabel { line-height: 1.4; }

.frame98348-extbrand p { font-size: 13px; color: var(--frame98348-dim); margin: 0; }

/* Promo wall: 1 hero action + 6 secondary, staggered sizes */
.frame98348-promowall { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.frame98348-promowall .frame98348-btn-register { grid-column: 1 / -1; min-height: 48px; font-size: 15px; }

.frame98348-promowall .frame98348-btn-login { min-height: 46px; font-size: 12.8px; padding: 0 8px; text-align: center; }

/* Two-column page directory */
.frame98348-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.frame98348-dir a {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 6px 9px;
  border: 1px solid rgba(153, 102, 204, 0.3);
  border-radius: var(--frame98348-radius);
  color: var(--frame98348-paper);
  font-size: 12.5px;
  line-height: 1.3;
}

.frame98348-dir a::before {
  content: "\2197";
  color: var(--frame98348-mint);
  font-family: var(--frame98348-mono-font);
  flex: none;
}

.frame98348-dir a:active { border-color: var(--frame98348-mint); text-decoration: none; }

.frame98348-note {
  margin: 14px 0 0;
  padding: 10px 11px;
  border: 1px dashed rgba(144, 238, 144, 0.4);
  border-radius: var(--frame98348-radius);
  font-size: 12px;
  color: var(--frame98348-dim);
  line-height: 1.55;
}

/* ---------- 12. Copyright ---------- */
.frame98348-copyright {
  padding: 14px 12px 10px;
  text-align: center;
  font-size: 12px;
  color: var(--frame98348-dim);
  border-top: 1px solid rgba(153, 102, 204, 0.25);
  background: rgba(10, 10, 30, 0.6);
}

.frame98348-copyright b { color: var(--frame98348-leaf); font-weight: 600; }

/* ---------- 13. Bottom dock ---------- */
.frame98348-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: calc(var(--frame98348-dock-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(18, 17, 56, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--frame98348-line-mint);
}

.frame98348-dock a,
.frame98348-dock button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  color: var(--frame98348-dim);
  position: relative;
}

.frame98348-dock svg { width: 22px; height: 22px; }

.frame98348-dock span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.frame98348-dock a.frame98348-active { color: var(--frame98348-mint); }

.frame98348-dock a.frame98348-active::before,
.frame98348-dock button.frame98348-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--frame98348-mint);
  box-shadow: 0 2px 8px rgba(0, 250, 154, 0.55);
}

.frame98348-dock a:active, .frame98348-dock button:active { color: var(--frame98348-mint); }

/* Two-tone role icon strokes */
.frame98348-ic-main { stroke: currentColor; }
.frame98348-ic-accent { stroke: var(--frame98348-amethyst); }

/* ---------- 14. Utilities + breakpoints ---------- */
.frame98348-sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Slightly roomier rails from 375px up */
@media (min-width: 375px) {
  .frame98348-intro h1 { font-size: 22px; }
  .frame98348-slidecap strong { font-size: 17.5px; }
  .frame98348-secthead h2, .frame98348-block > h2 { font-size: 18px; }
}

/* 5 game columns on wider phones */
@media (min-width: 400px) {
  .frame98348-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .frame98348-gname { font-size: 11.5px; }
}

/* 430px canvas edge: finalize scale */
@media (min-width: 430px) {
  .frame98348-intro h1 { font-size: 23px; }
  .frame98348-block p, .frame98348-block li { font-size: 14px; }
  .frame98348-hero { border-radius: 12px; }
  .frame98348-main { padding-left: 14px; padding-right: 14px; }
}

/* Honour reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Landscape phones: keep dock usable without covering half the screen */
@media (max-height: 420px) and (orientation: landscape) {
  .frame98348-dock { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .frame98348-dock span { font-size: 10px; }
}
