/* ==========================================================================
   krikaya.click - mobile-first stylesheet
   File   : css/layers-mobile-9ee2ef.css
   Prefix : frame2ef32-
   Canvas : 320-430px phone frame, centered on wide screens
   Look   : dark #1E1E1E base, light ink, stroke-led panels, square CTAs
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens (all custom properties carry the site prefix)
   -------------------------------------------------------------------------- */
:root {
  --frame2ef32-ink-deep: #1E1E1E;             /* page base / darkest */
  --frame2ef32-ink-soft: rgba(30, 30, 30, 1); /* solid panel anchor */
  --frame2ef32-paper: #F5F5F5;                /* primary light text */
  --frame2ef32-mist: #F8F8FF;                 /* highlight text / CTA fill */
  --frame2ef32-line: #DEE2E6;                 /* hairline stroke */
  --frame2ef32-line-strong: #D3D3D3;          /* stronger stroke */

  --frame2ef32-panel: rgba(248, 248, 255, 0.045);
  --frame2ef32-panel-2: rgba(248, 248, 255, 0.08);
  --frame2ef32-hair: rgba(222, 226, 230, 0.16);
  --frame2ef32-hair-2: rgba(211, 211, 211, 0.26);
  --frame2ef32-dim: rgba(245, 245, 245, 0.62);
  --frame2ef32-faint: rgba(245, 245, 245, 0.4);

  --frame2ef32-font-round: 'Baloo Da 2', 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  --frame2ef32-font-body: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;

  --frame2ef32-radius: 6px;                   /* restrained rounding, strokes lead */
  --frame2ef32-radius-tile: 5px;

  --frame2ef32-head-h: 100px;                 /* fixed header total height */
  --frame2ef32-dock-h: 62px;                  /* fixed bottom dock height */
  --frame2ef32-canvas: 430px;                 /* phone canvas width */

  --frame2ef32-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--frame2ef32-ink-deep);
  color: var(--frame2ef32-paper);
  font-family: var(--frame2ef32-font-body);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--frame2ef32-mist);
  text-decoration: none;
  border-bottom: 1px solid var(--frame2ef32-hair-2);
}
a:hover { border-bottom-color: var(--frame2ef32-mist); }

button {
  font: inherit;
  color: inherit;
  margin: 0;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--frame2ef32-font-round);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }

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

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--frame2ef32-mist);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--frame2ef32-mist); color: var(--frame2ef32-ink-deep); }

/* Screen-reader helper */
.frame2ef32-sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   3. Phone canvas shell
   -------------------------------------------------------------------------- */
.frame2ef32-shell {
  position: relative;
  width: 100%;
  max-width: var(--frame2ef32-canvas);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--frame2ef32-ink-deep);
  border-left: 1px solid var(--frame2ef32-hair);
  border-right: 1px solid var(--frame2ef32-hair);
}

/* --------------------------------------------------------------------------
   4. Fixed top bar: centered identity strip + separate action strip
   -------------------------------------------------------------------------- */
.frame2ef32-topbar {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frame2ef32-canvas);
  z-index: 60;
  background: rgba(30, 30, 30, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--frame2ef32-hair-2);
  padding-top: env(safe-area-inset-top);
}

/* Identity strip: only the real logo image + site name, nothing else */
.frame2ef32-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 54px;
  padding: 0 14px;
}

.frame2ef32-brand-logo {
  width: 34px; height: 34px;
  object-fit: contain;
  border: 1px solid var(--frame2ef32-hair-2);
  border-radius: var(--frame2ef32-radius-tile);
  background: var(--frame2ef32-panel);
  padding: 2px;
  flex: 0 0 auto;
}

.frame2ef32-brand-name {
  font-family: var(--frame2ef32-font-round);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--frame2ef32-mist);
}

/* Action strip: menu toggle on the left, auth buttons on the right */
.frame2ef32-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 6px 10px calc(6px);
}

.frame2ef32-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  background: var(--frame2ef32-panel);
  border: 1px solid var(--frame2ef32-hair-2);
  border-radius: var(--frame2ef32-radius);
  color: var(--frame2ef32-paper);
  font-size: 13px;
  font-weight: 600;
}

.frame2ef32-menu-btn-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 15px; height: 12px;
}
.frame2ef32-menu-btn-bars i {
  display: block; height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.frame2ef32-menu-btn:active .frame2ef32-menu-btn-bars i:first-child { transform: translateY(1px); }
.frame2ef32-menu-btn:active .frame2ef32-menu-btn-bars i:last-child { transform: translateY(-1px); }

.frame2ef32-auth {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Square, high-contrast CTAs */
.frame2ef32-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0;                 /* deliberate square corners */
  letter-spacing: 0.2px;
  transition: transform 0.15s var(--frame2ef32-ease), background-color 0.15s var(--frame2ef32-ease);
}

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

.frame2ef32-btn-primary {
  background: var(--frame2ef32-mist);
  color: var(--frame2ef32-ink-deep);
  border: 1px solid var(--frame2ef32-mist);
}
.frame2ef32-btn-primary:hover { background: #ffffff; }

.frame2ef32-btn-ghost {
  background: transparent;
  color: var(--frame2ef32-paper);
  border: 1px solid var(--frame2ef32-line-strong);
}
.frame2ef32-btn-ghost:hover { background: var(--frame2ef32-panel-2); }

/* --------------------------------------------------------------------------
   5. Full-height menu layer
   -------------------------------------------------------------------------- */
.frame2ef32-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  max-width: var(--frame2ef32-canvas);
  left: 50%;
  transform: translateX(-50%);
  visibility: hidden;
  pointer-events: none;
}
.frame2ef32-menu.is-open { visibility: visible; pointer-events: auto; }

.frame2ef32-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.6);
  opacity: 0;
  transition: opacity 0.25s var(--frame2ef32-ease);
  border: 0;
  padding: 0;
}
.frame2ef32-menu.is-open .frame2ef32-menu-backdrop { opacity: 1; }

.frame2ef32-menu-panel {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 84%;
  max-width: 340px;
  background: #232323;
  border-right: 1px solid var(--frame2ef32-hair-2);
  display: flex;
  flex-direction: column;
  transform: translateX(-102%);
  transition: transform 0.28s var(--frame2ef32-ease);
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}
.frame2ef32-menu.is-open .frame2ef32-menu-panel { transform: translateX(0); }

.frame2ef32-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--frame2ef32-hair);
}

.frame2ef32-menu-title {
  font-size: 18px;
  color: var(--frame2ef32-mist);
}

.frame2ef32-menu-close {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--frame2ef32-panel);
  border: 1px solid var(--frame2ef32-hair-2);
  border-radius: var(--frame2ef32-radius);
  color: var(--frame2ef32-paper);
  font-size: 18px;
  line-height: 1;
}

.frame2ef32-menu-list {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px 8px 14px;
}

.frame2ef32-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  min-height: 48px;
  padding: 0 12px;
  color: var(--frame2ef32-paper);
  border-bottom: none;
  border-radius: var(--frame2ef32-radius);
  font-size: 15px;
  font-weight: 500;
}
.frame2ef32-menu-item:hover { background: var(--frame2ef32-panel-2); }
.frame2ef32-menu-item::after {               /* underline active marker */
  content: "";
  position: absolute;
  left: 12px; right: auto;
  bottom: 5px;
  width: 0; height: 2px;
  background: var(--frame2ef32-mist);
  transition: width 0.2s var(--frame2ef32-ease);
}
.frame2ef32-menu-item.is-active { color: var(--frame2ef32-mist); font-weight: 700; }
.frame2ef32-menu-item.is-active::after { width: 26px; }

.frame2ef32-menu-item-ico {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.frame2ef32-menu-item-ico svg { width: 18px; height: 18px; }

.frame2ef32-menu-foot {
  padding: 12px 14px calc(14px);
  border-top: 1px solid var(--frame2ef32-hair);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.frame2ef32-menu-foot .frame2ef32-btn { min-height: 46px; }

/* --------------------------------------------------------------------------
   6. Main column
   -------------------------------------------------------------------------- */
.frame2ef32-main {
  padding: calc(var(--frame2ef32-head-h) + 14px) 14px calc(var(--frame2ef32-dock-h) + 30px);
}

/* Short-distance section entrance */
.frame2ef32-block {
  animation: frame2ef32-rise 0.34s var(--frame2ef32-ease) both;
}
@keyframes frame2ef32-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.frame2ef32-hero {
  border: 1px solid var(--frame2ef32-hair);
  border-radius: var(--frame2ef32-radius);
  background:
    linear-gradient(180deg, rgba(248, 248, 255, 0.06), rgba(248, 248, 255, 0.015)),
    var(--frame2ef32-ink-deep);
  padding: 18px 14px 16px;
  margin-bottom: 14px;
}

.frame2ef32-hero-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--frame2ef32-dim);
  border: 1px solid var(--frame2ef32-hair-2);
  border-radius: 3px;
  padding: 3px 8px;
  margin-bottom: 10px;
}

.frame2ef32-hero-title {
  font-size: 24px;
  color: var(--frame2ef32-mist);
  margin-bottom: 10px;
}

.frame2ef32-hero-text {
  color: var(--frame2ef32-paper);
  margin-bottom: 14px;
}

.frame2ef32-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.frame2ef32-hero-cta .frame2ef32-btn { flex: 1 1 140px; }

.frame2ef32-hero-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--frame2ef32-faint);
}

/* --------------------------------------------------------------------------
   8. Carousel
   -------------------------------------------------------------------------- */
.frame2ef32-carousel {
  margin-bottom: 14px;
}

.frame2ef32-viewport {
  overflow: hidden;
  border: 1px solid var(--frame2ef32-hair-2);
  border-radius: var(--frame2ef32-radius);
  background: var(--frame2ef32-panel);
}

.frame2ef32-track {
  display: flex;
  transition: transform 0.32s var(--frame2ef32-ease);
  will-change: transform;
}

.frame2ef32-slide {
  flex: 0 0 100%;
  display: block;
  padding: 0;
  border: 0;
  background: #26262a;
}
.frame2ef32-slide img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.frame2ef32-carousel-ctl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.frame2ef32-arrow {
  width: 44px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--frame2ef32-panel);
  border: 1px solid var(--frame2ef32-hair-2);
  border-radius: var(--frame2ef32-radius);
  color: var(--frame2ef32-paper);
  font-size: 18px;
  line-height: 1;
}
.frame2ef32-arrow:active { background: var(--frame2ef32-panel-2); }

.frame2ef32-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.frame2ef32-dot {
  width: 26px; height: 6px;
  padding: 0;
  background: var(--frame2ef32-panel-2);
  border: 1px solid var(--frame2ef32-hair-2);
  border-radius: 3px;
  transition: background-color 0.2s var(--frame2ef32-ease);
}
.frame2ef32-dot.is-on {
  background: var(--frame2ef32-mist);
  border-color: var(--frame2ef32-mist);
}

/* --------------------------------------------------------------------------
   9. Stats strip
   -------------------------------------------------------------------------- */
.frame2ef32-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.frame2ef32-stat {
  border: 1px solid var(--frame2ef32-hair);
  border-radius: var(--frame2ef32-radius-tile);
  background: var(--frame2ef32-panel);
  padding: 10px 4px 8px;
  text-align: center;
}

.frame2ef32-stat-num {
  display: block;
  font-family: var(--frame2ef32-font-round);
  font-size: 18px;
  font-weight: 700;
  color: var(--frame2ef32-mist);
  line-height: 1.2;
}

.frame2ef32-stat-cap {
  display: block;
  font-size: 11px;
  color: var(--frame2ef32-dim);
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   10. Game shelves: stable square-tile catalogs
   -------------------------------------------------------------------------- */
.frame2ef32-shelf {
  margin-bottom: 22px;
}

.frame2ef32-shelf-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--frame2ef32-hair-2);
  margin-bottom: 8px;
  position: relative;
}
.frame2ef32-shelf-head::after {               /* underline marker for shelf */
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 44px; height: 2px;
  background: var(--frame2ef32-mist);
}

.frame2ef32-shelf-title {
  font-size: 18px;
  color: var(--frame2ef32-mist);
}

.frame2ef32-shelf-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--frame2ef32-dim);
  border: 1px solid var(--frame2ef32-hair-2);
  border-radius: 3px;
  padding: 2px 7px;
  white-space: nowrap;
}

.frame2ef32-shelf-text {
  font-size: 13.5px;
  color: var(--frame2ef32-dim);
  margin-bottom: 10px;
}

/* 4 columns from 320px, 5 columns on the widest phones */
.frame2ef32-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 6px;
}

.frame2ef32-tile {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
  -webkit-tap-highlight-color: rgba(248, 248, 255, 0.08);
}

.frame2ef32-tile-frame {
  display: block;
  border: 1px solid var(--frame2ef32-hair-2);
  border-radius: var(--frame2ef32-radius-tile);
  background: #26262a;
  padding: 3px;
  transition: transform 0.16s var(--frame2ef32-ease), border-color 0.16s var(--frame2ef32-ease);
}

.frame2ef32-tile-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
}

.frame2ef32-tile:active .frame2ef32-tile-frame {
  transform: scale(0.94);
  border-color: var(--frame2ef32-mist);
}
.frame2ef32-tile:hover .frame2ef32-tile-frame { border-color: var(--frame2ef32-line); }

.frame2ef32-tile-name {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--frame2ef32-paper);
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  max-height: 2.6em;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   11. Editorial modules after the game area
   -------------------------------------------------------------------------- */
.frame2ef32-mod {
  border: 1px solid var(--frame2ef32-hair);
  border-radius: var(--frame2ef32-radius);
  background: var(--frame2ef32-panel);
  padding: 16px 13px 14px;
  margin-bottom: 14px;
}

.frame2ef32-mod-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px solid var(--frame2ef32-hair);
  padding-bottom: 7px;
  margin-bottom: 11px;
}

.frame2ef32-mod-title { font-size: 17px; color: var(--frame2ef32-mist); }

.frame2ef32-mod-text {
  font-size: 14px;
  color: var(--frame2ef32-paper);
}

.frame2ef32-mod h3 {
  font-size: 14.5px;
  color: var(--frame2ef32-mist);
  margin: 12px 0 5px;
}
.frame2ef32-mod h3:first-of-type { margin-top: 10px; }

/* Quotes */
.frame2ef32-quote {
  border-left: 2px solid var(--frame2ef32-line-strong);
  padding: 2px 0 2px 11px;
  margin-bottom: 12px;
}
.frame2ef32-quote:last-child { margin-bottom: 0; }

.frame2ef32-quote-text {
  font-size: 14px;
  color: var(--frame2ef32-paper);
}

.frame2ef32-quote-who {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--frame2ef32-faint);
}

/* Goal table */
.frame2ef32-guide { border: 1px solid var(--frame2ef32-hair); border-radius: var(--frame2ef32-radius-tile); overflow: hidden; }

.frame2ef32-guide-row {
  display: grid;
  grid-template-columns: minmax(96px, 38%) 1fr;
  gap: 8px;
  padding: 10px 11px;
  border-top: 1px solid var(--frame2ef32-hair);
  background: rgba(248, 248, 255, 0.02);
}
.frame2ef32-guide-row:first-child { border-top: 0; }

.frame2ef32-guide-key {
  font-family: var(--frame2ef32-font-round);
  font-weight: 600;
  font-size: 13px;
  color: var(--frame2ef32-mist);
  line-height: 1.4;
}

.frame2ef32-guide-val {
  font-size: 13.5px;
  color: var(--frame2ef32-paper);
}

/* Steps */
.frame2ef32-step {
  display: flex;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--frame2ef32-hair);
}
.frame2ef32-step:last-of-type { border-bottom: 0; }

.frame2ef32-step-num {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--frame2ef32-line-strong);
  border-radius: 50%;
  font-family: var(--frame2ef32-font-round);
  font-size: 14px;
  font-weight: 700;
  color: var(--frame2ef32-mist);
  margin-top: 2px;
}

.frame2ef32-step-body { flex: 1 1 auto; min-width: 0; }
.frame2ef32-step-body strong { color: var(--frame2ef32-mist); font-weight: 600; }
.frame2ef32-step-body p { font-size: 13.5px; color: var(--frame2ef32-dim); }

/* Checklist */
.frame2ef32-check {
  position: relative;
  padding: 9px 11px 9px 34px;
  border: 1px solid var(--frame2ef32-hair);
  border-radius: var(--frame2ef32-radius-tile);
  margin-bottom: 8px;
  background: rgba(248, 248, 255, 0.02);
}
.frame2ef32-check:last-child { margin-bottom: 0; }

.frame2ef32-check::before {
  content: "";
  position: absolute;
  left: 11px; top: 14px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--frame2ef32-mist);
  border-bottom: 2px solid var(--frame2ef32-mist);
  transform: rotate(-45deg);
}

.frame2ef32-check strong {
  display: block;
  font-size: 13.5px;
  color: var(--frame2ef32-mist);
  font-weight: 600;
}
.frame2ef32-check p { font-size: 13px; color: var(--frame2ef32-dim); margin: 2px 0 0; }

/* --------------------------------------------------------------------------
   12. Extended site footer (homepage only)
   -------------------------------------------------------------------------- */
.frame2ef32-xfoot {
  border: 1px solid var(--frame2ef32-hair-2);
  border-radius: var(--frame2ef32-radius);
  background: rgba(248, 248, 255, 0.03);
  padding: 16px 13px;
  margin-top: 6px;
}

.frame2ef32-xfoot > section + section { margin-top: 18px; }

.frame2ef32-xfoot-title {
  font-size: 16px;
  color: var(--frame2ef32-mist);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--frame2ef32-hair);
  margin-bottom: 10px;
}

.frame2ef32-xfoot-brand-text { font-size: 13.5px; color: var(--frame2ef32-dim); }

/* Promotion action list */
.frame2ef32-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  margin-bottom: 7px;
  background: rgba(248, 248, 255, 0.035);
  border: 1px solid var(--frame2ef32-hair-2);
  border-left: 3px solid var(--frame2ef32-mist);
  border-radius: 0 var(--frame2ef32-radius-tile) var(--frame2ef32-radius-tile) 0;
  color: var(--frame2ef32-paper);
  text-align: left;
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color 0.15s var(--frame2ef32-ease), transform 0.15s var(--frame2ef32-ease);
}
.frame2ef32-promo:last-child { margin-bottom: 0; }
.frame2ef32-promo:hover { background: rgba(248, 248, 255, 0.07); }
.frame2ef32-promo:active { transform: translateX(2px); }

.frame2ef32-promo-arrow {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--frame2ef32-mist);
  font-family: var(--frame2ef32-font-round);
  font-size: 16px;
}

/* Page directory */
.frame2ef32-dir { border: 1px solid var(--frame2ef32-hair); border-radius: var(--frame2ef32-radius-tile); }

.frame2ef32-dir-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--frame2ef32-hair);
  border-radius: 0;
}
.frame2ef32-dir-item:last-child { border-bottom: 0; }

.frame2ef32-dir-item b {
  font-size: 13.5px;
  color: var(--frame2ef32-mist);
  font-weight: 600;
}

.frame2ef32-dir-item span {
  font-size: 12px;
  color: var(--frame2ef32-faint);
}

/* Conditional disclaimer */
.frame2ef32-note {
  border: 1px dashed var(--frame2ef32-hair-2);
  border-radius: var(--frame2ef32-radius-tile);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--frame2ef32-faint);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   13. Copyright strip
   -------------------------------------------------------------------------- */
.frame2ef32-copyright {
  text-align: center;
  font-size: 12px;
  color: var(--frame2ef32-faint);
  padding: 18px 14px 6px;
}

/* --------------------------------------------------------------------------
   14. Segmented bottom action dock (fixed)
   -------------------------------------------------------------------------- */
.frame2ef32-dock {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frame2ef32-canvas);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(30, 30, 30, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--frame2ef32-hair-2);
  padding-bottom: env(safe-area-inset-bottom);
}

.frame2ef32-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--frame2ef32-dock-h);
  min-width: 44px;
  padding: 8px 2px 10px;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--frame2ef32-hair);
  color: var(--frame2ef32-dim);
  font-size: 10.5px;
  line-height: 1.2;
  text-align: center;
}
.frame2ef32-dock-item:first-child { border-left: 0; }

.frame2ef32-dock-item.is-active { color: var(--frame2ef32-mist); }

.frame2ef32-dock-item.is-active::after {          /* underline marker */
  content: "";
  position: absolute;
  top: 0; left: 18%; right: 18%;
  height: 2px;
  background: var(--frame2ef32-mist);
}

.frame2ef32-dock-ico {
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s var(--frame2ef32-ease);
}
.frame2ef32-dock-ico svg { width: 21px; height: 21px; }

/* Icon state morph on press / active */
.frame2ef32-dock-item:active .frame2ef32-dock-ico { transform: translateY(-1px) scale(0.9); }
.frame2ef32-dock-item.is-active .frame2ef32-dock-ico { transform: translateY(-1px); }

.frame2ef32-dock-label {
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Promo roles get a subtle tinted marker dot */
.frame2ef32-dock-item--promo .frame2ef32-dock-ico::after {
  content: "";
  position: absolute;
  right: -4px; top: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--frame2ef32-mist);
}

/* --------------------------------------------------------------------------
   15. Wide-screen view: keep the phone canvas centered and framed
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
  body { background: #161616; }
  .frame2ef32-shell {
    box-shadow: 0 0 0 1px rgba(248, 248, 255, 0.04), 0 18px 60px rgba(0, 0, 0, 0.5);
  }
}

/* Larger phones: slightly roomier type and 5-column game grid */
@media (min-width: 375px) {
  .frame2ef32-hero-title { font-size: 26px; }
  .frame2ef32-shelf-title { font-size: 19px; }
  .frame2ef32-mod-title { font-size: 18px; }
}

@media (min-width: 400px) {
  .frame2ef32-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 7px; }
  .frame2ef32-tile-name { font-size: 11.5px; }
  .frame2ef32-stats { gap: 8px; }
}

@media (min-width: 430px) {
  .frame2ef32-main { padding-left: 18px; padding-right: 18px; }
  .frame2ef32-hero { padding: 22px 18px 18px; }
  .frame2ef32-hero-title { font-size: 28px; }
}

/* Very narrow phones: protect the identity bar and hero */
@media (max-width: 340px) {
  .frame2ef32-brand-name { font-size: 19px; }
  .frame2ef32-btn { padding: 0 12px; font-size: 13px; }
  .frame2ef32-hero-title { font-size: 21px; }
  .frame2ef32-grid { gap: 8px 5px; }
}

/* --------------------------------------------------------------------------
   16. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .frame2ef32-block { animation: none; }
  .frame2ef32-track { transition: none; }
  .frame2ef32-menu-panel { transition: none; }
  .frame2ef32-tile-frame,
  .frame2ef32-dock-ico,
  .frame2ef32-promo { transition: none; }
}
