/* ============================================================
   m999.homes — native-e9515d-frame.css
   Mobile-first canvas (320-430px), dark navy base, cornsilk text,
   orange accent. Square high-contrast CTAs, small radii,
   image cards with bottom name bars, floating dock with a
   sliding focus indicator, stacked overlay menu.
   All classes and variables use the mobile515d6- prefix.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --mobile515d6-canvas: #2c3e50;
  --mobile515d6-outside: #16212d;
  --mobile515d6-ink: #fff8dc;
  --mobile515d6-soft: #adb5bd;
  --mobile515d6-accent: #ff5722;
  --mobile515d6-warm: #cd5c5c;
  --mobile515d6-panel: #fffacd;
  --mobile515d6-panel-ink: #22303f;
  --mobile515d6-line: rgba(255, 248, 220, 0.16);
  --mobile515d6-line-strong: rgba(255, 248, 220, 0.3);
  --mobile515d6-surface: rgba(255, 248, 220, 0.05);
  --mobile515d6-surface-2: rgba(255, 248, 220, 0.09);
  --mobile515d6-font-head: "Noto Serif Bengali", "Anek Bangla", "Hind Siliguri", "SolaimanLipi", Georgia, serif;
  --mobile515d6-font-body: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", "Segoe UI", system-ui, sans-serif;
  --mobile515d6-radius-s: 3px;
  --mobile515d6-radius-m: 5px;
  --mobile515d6-topbar-h: 60px;
  --mobile515d6-dock-h: 62px;
  --mobile515d6-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--mobile515d6-outside);
  color: var(--mobile515d6-ink);
  font-family: var(--mobile515d6-font-body);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
}

body.mobile515d6-noscroll {
  overflow: hidden;
}

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

a {
  color: var(--mobile515d6-ink);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--mobile515d6-accent);
  outline-offset: 2px;
  border-radius: var(--mobile515d6-radius-s);
}

h1,
h2,
h3 {
  font-family: var(--mobile515d6-font-head);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
  overflow-wrap: break-word;
}

h2 {
  font-size: 19px;
  letter-spacing: 0.1px;
}

h3 {
  font-size: 16px;
  color: var(--mobile515d6-panel);
}

p {
  margin: 0 0 12px;
  overflow-wrap: break-word;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- phone canvas ---------- */
.mobile515d6-page {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--mobile515d6-canvas);
  box-shadow: 0 0 0 1px rgba(255, 248, 220, 0.06);
}

.mobile515d6-main {
  padding: calc(var(--mobile515d6-topbar-h) + 10px) 14px
    calc(var(--mobile515d6-dock-h) + 34px + env(safe-area-inset-bottom));
}

/* ---------- top action band ---------- */
.mobile515d6-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--mobile515d6-topbar-h);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  background: linear-gradient(180deg, #31435a 0%, #2c3e50 100%);
  border-bottom: 1px solid var(--mobile515d6-line-strong);
}

.mobile515d6-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 2px 4px 2px 2px;
  border-radius: var(--mobile515d6-radius-s);
}

.mobile515d6-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: var(--mobile515d6-radius-s);
  background: var(--mobile515d6-panel);
  padding: 2px;
  flex: none;
}

.mobile515d6-brand-name {
  font-family: var(--mobile515d6-font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--mobile515d6-ink);
}

.mobile515d6-topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* square, high-contrast CTA buttons */
.mobile515d6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--mobile515d6-font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 0; /* square CTA shape */
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--mobile515d6-ease), filter 0.15s var(--mobile515d6-ease);
}

.mobile515d6-btn:active {
  transform: translateY(1px);
}

.mobile515d6-btn--ghost {
  background: transparent;
  color: var(--mobile515d6-ink);
  border-color: var(--mobile515d6-line-strong);
}

.mobile515d6-btn--ghost:hover {
  background: var(--mobile515d6-surface);
}

.mobile515d6-btn--primary {
  background: var(--mobile515d6-accent);
  color: #1d1006;
}

.mobile515d6-btn--primary:hover {
  filter: brightness(1.08);
}

.mobile515d6-btn--panel {
  background: var(--mobile515d6-panel);
  color: var(--mobile515d6-panel-ink);
}

.mobile515d6-btn--wide {
  width: 100%;
}

.mobile515d6-btn--lg {
  min-height: 50px;
  font-size: 16px;
}

.mobile515d6-menubtn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--mobile515d6-line-strong);
  border-radius: var(--mobile515d6-radius-s);
  cursor: pointer;
  padding: 0;
}

.mobile515d6-menubtn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--mobile515d6-ink);
  transition: transform 0.25s var(--mobile515d6-ease), opacity 0.2s linear;
}

.mobile515d6-menubtn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile515d6-menubtn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile515d6-menubtn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- stacked overlay menu ---------- */
.mobile515d6-scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 23, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s;
  z-index: 50;
}

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

.mobile515d6-sheet {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(84vw, 336px);
  z-index: 51;
  background: #243447;
  border-right: 1px solid var(--mobile515d6-line-strong);
  transform: translateX(-102%);
  transition: transform 0.32s var(--mobile515d6-ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile515d6-sheet.mobile515d6-open {
  transform: translateX(0);
}

.mobile515d6-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--mobile515d6-line);
}

.mobile515d6-sheet-title {
  font-family: var(--mobile515d6-font-head);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--mobile515d6-panel);
}

.mobile515d6-sheetclose {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--mobile515d6-line-strong);
  border-radius: var(--mobile515d6-radius-s);
  color: var(--mobile515d6-ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.mobile515d6-sheet-list {
  display: flex;
  flex-direction: column;
  padding: 8px 0 20px;
}

.mobile515d6-sheet-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--mobile515d6-line);
  font-size: 15px;
  font-weight: 600;
  color: var(--mobile515d6-ink);
}

.mobile515d6-sheet-list a:hover {
  background: var(--mobile515d6-surface);
}

.mobile515d6-sheet-num {
  flex: none;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mobile515d6-accent);
  color: var(--mobile515d6-accent);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--mobile515d6-radius-s);
}

.mobile515d6-sheet-note {
  padding: 14px 16px 20px;
  font-size: 12px;
  color: var(--mobile515d6-soft);
  border-top: 1px solid var(--mobile515d6-line);
}

/* ---------- hero ---------- */
.mobile515d6-hero {
  margin: 2px 0 16px;
}

.mobile515d6-hero h1 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--mobile515d6-ink);
}

.mobile515d6-hero-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #1d1006;
  background: var(--mobile515d6-accent);
  padding: 2px 8px;
  margin-bottom: 10px;
  border-radius: 0;
}

.mobile515d6-hero-lead {
  color: #f2ead0;
  font-size: 14px;
}

/* carousel */
.mobile515d6-carousel {
  position: relative;
  margin: 14px 0 10px;
  border: 1px solid var(--mobile515d6-line-strong);
  border-radius: var(--mobile515d6-radius-m);
  overflow: hidden;
  background: #22303f;
}

.mobile515d6-cstrack {
  display: flex;
  transition: transform 0.45s var(--mobile515d6-ease);
}

.mobile515d6-cslide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  min-height: 186px;
}

.mobile515d6-cslide img {
  width: 100%;
  height: 186px;
  object-fit: cover;
}

.mobile515d6-cslide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(20, 30, 41, 0) 0%, rgba(20, 30, 41, 0.92) 62%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mobile515d6-cslide-title {
  display: block;
  font-family: var(--mobile515d6-font-head);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--mobile515d6-panel);
  margin: 0;
}

.mobile515d6-cslide-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--mobile515d6-soft);
}

.mobile515d6-cslide-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  background: var(--mobile515d6-accent);
  color: #1d1006;
  font-size: 12px;
  font-weight: 700;
  border-radius: 0;
  white-space: nowrap;
}

.mobile515d6-cdots {
  position: absolute;
  top: 8px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.mobile515d6-cdot {
  width: 22px;
  height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile515d6-cdot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 248, 220, 0.45);
  transition: background 0.25s linear, transform 0.25s var(--mobile515d6-ease);
}

.mobile515d6-cdot.mobile515d6-on::before {
  background: var(--mobile515d6-accent);
  transform: scale(1.25);
}

.mobile515d6-hero-cta {
  margin-top: 12px;
}

.mobile515d6-hero-note {
  margin: 8px 2px 0;
  font-size: 11.5px;
  color: var(--mobile515d6-soft);
}

/* ---------- section shells ---------- */
.mobile515d6-block {
  margin: 22px 0;
}

.mobile515d6-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-left: 3px solid var(--mobile515d6-accent);
  padding-left: 10px;
  margin-bottom: 10px;
}

.mobile515d6-block-head h2 {
  margin: 0;
}

.mobile515d6-countchip {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--mobile515d6-ink);
  background: var(--mobile515d6-surface-2);
  border: 1px solid var(--mobile515d6-line);
  padding: 1px 7px;
  border-radius: var(--mobile515d6-radius-s);
}

.mobile515d6-qa {
  font-size: 13.5px;
  color: #e9e0c4;
  margin: 0 0 12px;
}

.mobile515d6-qa strong {
  color: var(--mobile515d6-panel);
  font-weight: 700;
}

/* ---------- game grid ---------- */
.mobile515d6-ggrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 6px;
}

/* image card with bottom name bar */
.mobile515d6-gcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--mobile515d6-line);
  border-radius: var(--mobile515d6-radius-m);
  background: #22303f;
  overflow: hidden;
  transition: border-color 0.2s linear, transform 0.15s var(--mobile515d6-ease);
}

.mobile515d6-gcard:hover {
  border-color: var(--mobile515d6-accent);
}

.mobile515d6-gcard:active {
  transform: scale(0.97);
}

.mobile515d6-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #1b2836;
}

.mobile515d6-gname {
  display: block;
  min-height: 32px;
  padding: 3px 4px 4px;
  background: #1b2836;
  border-top: 1px solid var(--mobile515d6-line);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: var(--mobile515d6-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}

/* related internal links row under a category */
.mobile515d6-related {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.mobile515d6-related a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mobile515d6-ink);
  background: var(--mobile515d6-surface);
  border: 1px dashed var(--mobile515d6-line-strong);
  border-radius: var(--mobile515d6-radius-s);
}

.mobile515d6-related a::before {
  content: "\2197";
  color: var(--mobile515d6-accent);
  font-weight: 700;
}

/* ---------- testimonial quotes ---------- */
.mobile515d6-quotes {
  display: grid;
  gap: 10px;
}

.mobile515d6-quote {
  border: 1px solid var(--mobile515d6-line);
  border-left: 3px solid var(--mobile515d6-warm);
  border-radius: var(--mobile515d6-radius-m);
  background: var(--mobile515d6-surface);
  padding: 10px 12px;
}

.mobile515d6-quote p {
  margin: 0 0 6px;
  font-size: 13.5px;
  color: #efe6cb;
}

.mobile515d6-quote-who {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--mobile515d6-soft);
}

.mobile515d6-quote-tag {
  flex: none;
  border: 1px solid var(--mobile515d6-line-strong);
  border-radius: var(--mobile515d6-radius-s);
  padding: 0 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--mobile515d6-panel);
}

.mobile515d6-quotes-note {
  font-size: 11.5px;
  color: var(--mobile515d6-soft);
  margin: 10px 2px 0;
}

/* ---------- FAQ accordions ---------- */
.mobile515d6-faq {
  display: grid;
  gap: 8px;
}

.mobile515d6-faq details {
  border: 1px solid var(--mobile515d6-line);
  border-radius: var(--mobile515d6-radius-m);
  background: var(--mobile515d6-surface);
  overflow: hidden;
}

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

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

.mobile515d6-faq summary::after {
  content: "+";
  flex: none;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mobile515d6-accent);
  color: var(--mobile515d6-accent);
  font-size: 15px;
  font-weight: 700;
  border-radius: 50%;
  transition: transform 0.25s var(--mobile515d6-ease);
}

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

.mobile515d6-faq-a {
  padding: 0 12px 12px;
  font-size: 13.5px;
  color: #e9e0c4;
}

/* ---------- promotions rows ---------- */
.mobile515d6-promos {
  display: grid;
  gap: 8px;
}

.mobile515d6-promorow {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--mobile515d6-line);
  border-radius: var(--mobile515d6-radius-m);
  background: var(--mobile515d6-surface);
  padding: 10px;
}

.mobile515d6-promorow-body {
  flex: 1;
  min-width: 0;
}

.mobile515d6-promorow-title {
  margin: 0 0 2px;
  font-family: var(--mobile515d6-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--mobile515d6-panel);
}

.mobile515d6-promorow-text {
  margin: 0;
  font-size: 12px;
  color: var(--mobile515d6-soft);
  line-height: 1.55;
}

.mobile515d6-promorow .mobile515d6-btn {
  flex: none;
  min-height: 38px;
  padding: 0 10px;
  font-size: 12px;
}

/* ---------- category highlight tiles ---------- */
.mobile515d6-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile515d6-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--mobile515d6-line);
  border-radius: var(--mobile515d6-radius-m);
  background: #243447;
  padding: 10px;
  min-height: 96px;
}

.mobile515d6-tile:hover {
  border-color: var(--mobile515d6-accent);
}

.mobile515d6-tile--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.mobile515d6-tile--wide .mobile515d6-tile-text {
  flex: 1;
}

.mobile515d6-tile--wide .mobile515d6-tile-link {
  margin-top: 0;
  white-space: nowrap;
}

.mobile515d6-tile-title {
  font-family: var(--mobile515d6-font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--mobile515d6-panel);
}

.mobile515d6-tile-text {
  font-size: 12px;
  color: var(--mobile515d6-soft);
  line-height: 1.55;
  margin: 0;
}

.mobile515d6-tile-link {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--mobile515d6-accent);
}

/* ---------- numbered security list ---------- */
.mobile515d6-steps {
  display: grid;
  gap: 8px;
  counter-reset: mobile515d6-step;
}

.mobile515d6-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-bottom: 1px dashed var(--mobile515d6-line);
  padding-bottom: 8px;
}

.mobile515d6-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mobile515d6-step::before {
  counter-increment: mobile515d6-step;
  content: counter(mobile515d6-step, decimal-leading-zero);
  flex: none;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  background: var(--mobile515d6-surface-2);
  border: 1px solid var(--mobile515d6-warm);
  color: var(--mobile515d6-warm);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--mobile515d6-radius-s);
}

.mobile515d6-step p {
  margin: 0;
  font-size: 13.5px;
  color: #e9e0c4;
}

/* ---------- decision checklist ---------- */
.mobile515d6-check {
  display: grid;
  gap: 6px;
}

.mobile515d6-check li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13.5px;
  color: #efe6cb;
  background: var(--mobile515d6-surface);
  border: 1px solid var(--mobile515d6-line);
  border-radius: var(--mobile515d6-radius-s);
  padding: 8px 10px;
  line-height: 1.6;
}

.mobile515d6-check li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border: 2px solid var(--mobile515d6-accent);
  border-radius: 2px;
  background: transparent;
}

/* ---------- extended footer (home only) ---------- */
.mobile515d6-extfoot {
  margin: 26px 0 0;
  border-top: 2px solid var(--mobile515d6-accent);
  background: #243447;
  padding: 16px 14px 14px;
}

.mobile515d6-extfoot-brand p {
  font-size: 12.5px;
  color: var(--mobile515d6-soft);
  line-height: 1.7;
  margin: 0;
}

.mobile515d6-extfoot-title {
  font-family: var(--mobile515d6-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--mobile515d6-panel);
  margin: 16px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--mobile515d6-line);
}

.mobile515d6-extfoot-brand .mobile515d6-extfoot-title {
  margin-top: 0;
}

.mobile515d6-extfoot-promos {
  display: grid;
  gap: 6px;
}

.mobile515d6-extfoot-promos a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding: 6px 10px;
  background: rgba(255, 87, 34, 0.1);
  border: 1px solid rgba(255, 87, 34, 0.45);
  border-radius: var(--mobile515d6-radius-s);
  font-size: 13px;
  font-weight: 700;
  color: var(--mobile515d6-ink);
}

.mobile515d6-extfoot-promos a::after {
  content: "\2192";
  color: var(--mobile515d6-accent);
  font-weight: 700;
}

.mobile515d6-extfoot-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 10px;
}

.mobile515d6-extfoot-dir a {
  font-size: 12.5px;
  color: #e9e0c4;
  padding: 5px 0;
  border-bottom: 1px dotted var(--mobile515d6-line);
}

.mobile515d6-extfoot-dir a::before {
  content: "\00b7 ";
  color: var(--mobile515d6-accent);
  font-weight: 700;
}

.mobile515d6-extfoot-disclaimer {
  margin: 16px 0 0;
  padding: 10px;
  border: 1px dashed var(--mobile515d6-line-strong);
  border-radius: var(--mobile515d6-radius-s);
  font-size: 11.5px;
  color: var(--mobile515d6-soft);
  line-height: 1.7;
}

/* ---------- common footer ---------- */
.mobile515d6-foot {
  padding: 14px 14px 8px;
  text-align: center;
  border-top: 1px solid var(--mobile515d6-line);
}

.mobile515d6-foot-copy {
  margin: 0;
  font-size: 12px;
  color: var(--mobile515d6-soft);
}

/* ---------- floating dock (bottom nav) ---------- */
.mobile515d6-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 40;
  background: #1b2836;
  border-top: 1px solid var(--mobile515d6-line-strong);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile515d6-docknav {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: var(--mobile515d6-dock-h);
}

/* sliding focus indicator */
.mobile515d6-dockbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 3px;
  background: var(--mobile515d6-accent);
  transform: translateX(calc(var(--mobile515d6-dock-index, 0) * 100%));
  transition: transform 0.3s var(--mobile515d6-ease);
}

.mobile515d6-docklink {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  color: var(--mobile515d6-soft);
  padding: 6px 2px 4px;
  border-radius: var(--mobile515d6-radius-m) var(--mobile515d6-radius-m) 0 0;
  transition: color 0.2s linear, background 0.25s linear;
}

.mobile515d6-docklink:hover,
.mobile515d6-docklink:focus-visible {
  color: var(--mobile515d6-ink);
}

.mobile515d6-dockicon {
  width: 24px;
  height: 24px;
  display: block;
}

.mobile515d6-dockicon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* label reveal micro-interaction */
.mobile515d6-docklabel {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  opacity: 0.72;
  transform: translateY(2px);
  transition: opacity 0.22s linear, transform 0.22s var(--mobile515d6-ease);
  white-space: nowrap;
}

.mobile515d6-docklink:hover .mobile515d6-docklabel,
.mobile515d6-docklink:focus-visible .mobile515d6-docklabel {
  opacity: 1;
  transform: translateY(0);
}

/* active role: contrast inversion */
.mobile515d6-docklink.mobile515d6-is-active {
  background: var(--mobile515d6-panel);
  color: var(--mobile515d6-panel-ink);
}

.mobile515d6-docklink.mobile515d6-is-active .mobile515d6-docklabel {
  opacity: 1;
  transform: translateY(0);
  color: #b23c12;
  font-weight: 700;
}

/* ---------- inline helpers ---------- */
.mobile515d6-inlink {
  color: var(--mobile515d6-panel);
  border-bottom: 1px solid var(--mobile515d6-accent);
  font-weight: 600;
}

.mobile515d6-inlink:hover {
  color: var(--mobile515d6-accent);
}

.mobile515d6-note {
  font-size: 12px;
  color: var(--mobile515d6-soft);
  border-left: 2px solid var(--mobile515d6-warm);
  padding: 2px 0 2px 10px;
  margin: 0 0 12px;
}

/* ---------- breakpoints ---------- */
/* slightly larger phones: game grid grows to 5 columns */
@media (min-width: 400px) {
  .mobile515d6-ggrid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* 430px canvas edge: keep 5 columns and refine density */
@media (min-width: 430px) {
  .mobile515d6-ggrid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .mobile515d6-page {
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
  }

  .mobile515d6-hero h1 {
    font-size: 24px;
  }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
