/* ==========================================================================
   KL991 - layers-native-097e47.css
   Mobile-first canvas (320-430px). Prefix: mobilee477c-
   Palette: #262626 canvas / #DEB887 sand / #BC8F8F rose
   Tone: tool-like near-square corners, geometric headings, mixed card sizes,
   question-driven rhythm, compact dual-button CTAs.
   ========================================================================== */

:root {
  --mobilee477c-bg-deep: #151412;
  --mobilee477c-canvas: #262626;
  --mobilee477c-panel: #2d2b28;
  --mobilee477c-panel-2: #363229;
  --mobilee477c-sand: #DEB887;
  --mobilee477c-sand-bright: #f2d3a6;
  --mobilee477c-rose: #BC8F8F;
  --mobilee477c-rose-deep: #a97a7a;
  --mobilee477c-text: #efe6d6;
  --mobilee477c-muted: #b9aa96;
  --mobilee477c-ink: #241f18;
  --mobilee477c-line: rgba(222, 184, 135, 0.22);
  --mobilee477c-line-soft: rgba(222, 184, 135, 0.12);
  --mobilee477c-font-head: "Trebuchet MS", "Segoe UI", Tahoma, Verdana, sans-serif;
  --mobilee477c-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mobilee477c-r-tile: 3px;
  --mobilee477c-r-card: 4px;
  --mobilee477c-dock-h: 60px;
  --mobilee477c-top-h: 56px;
}

/* ---------- base ---------- */

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--mobilee477c-bg-deep);
  background-image: radial-gradient(rgba(188, 143, 143, 0.07), transparent 68%);
  color: var(--mobilee477c-text);
  font-family: var(--mobilee477c-font-body);
  font-size: 15px;
  line-height: 1.62;
  min-height: 100vh;
}

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

h1, h2, h3, p, dl, ol, ul {
  margin: 0;
}

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

a {
  color: var(--mobilee477c-sand);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.mobilee477c-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--mobilee477c-sand);
  color: var(--mobilee477c-ink);
  padding: 8px 14px;
  font-weight: 700;
  z-index: 90;
}

.mobilee477c-skip:focus {
  left: 10px;
  top: 10px;
}

/* ---------- phone canvas ---------- */

.mobilee477c-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--mobilee477c-canvas);
  box-shadow: 0 0 0 1px rgba(222, 184, 135, 0.16), 0 18px 60px rgba(0, 0, 0, 0.55);
  overflow-x: hidden;
  padding-bottom: calc(var(--mobilee477c-dock-h) + env(safe-area-inset-bottom, 0px));
}

/* ---------- fixed top bar ---------- */

.mobilee477c-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--mobilee477c-top-h);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(180deg, #2e2c29 0%, #262421 100%);
  border-bottom: 1px solid var(--mobilee477c-line);
}

.mobilee477c-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 3px 6px 3px 3px;
  margin-right: auto;
  border-radius: var(--mobilee477c-r-tile);
}

.mobilee477c-logo {
  width: 38px;
  height: 38px;
  border-radius: var(--mobilee477c-r-tile);
  border: 1px solid var(--mobilee477c-line);
  object-fit: cover;
}

.mobilee477c-brandname {
  font-family: var(--mobilee477c-font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--mobilee477c-sand);
  line-height: 1;
}

.mobilee477c-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* compact dual-button group */
.mobilee477c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: var(--mobilee477c-r-tile);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1;
  transition: transform 0.12s ease, background-color 0.12s ease, border-color 0.12s ease;
}

.mobilee477c-btn:active {
  transform: scale(0.95);
}

.mobilee477c-btn--solid {
  background: var(--mobilee477c-sand);
  color: var(--mobilee477c-ink);
}

.mobilee477c-btn--solid:hover {
  background: var(--mobilee477c-sand-bright);
}

.mobilee477c-btn--ghost {
  background: transparent;
  color: var(--mobilee477c-sand);
  border-color: var(--mobilee477c-line);
}

.mobilee477c-btn--ghost:hover {
  border-color: var(--mobilee477c-sand);
}

.mobilee477c-btn--reg {
  background: var(--mobilee477c-sand);
  color: var(--mobilee477c-ink);
}

.mobilee477c-btn--login {
  background: rgba(188, 143, 143, 0.16);
  color: #e8c9c9;
  border-color: rgba(188, 143, 143, 0.45);
}

/* menu toggle (hamburger) */
.mobilee477c-menubtn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--mobilee477c-line);
  border-radius: var(--mobilee477c-r-tile);
}

.mobilee477c-menubtn span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--mobilee477c-sand);
  border-radius: 1px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.mobilee477c-menubtn.mobilee477c-is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobilee477c-menubtn.mobilee477c-is-open span:nth-child(2) {
  opacity: 0;
}

.mobilee477c-menubtn.mobilee477c-is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- expandable menu ---------- */

.mobilee477c-menu {
  position: fixed;
  top: var(--mobilee477c-top-h);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 100%;
  max-width: 430px;
  z-index: 55;
  background: #232120;
  border-bottom: 1px solid var(--mobilee477c-line);
  padding: 12px 12px 16px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.mobilee477c-menu.mobilee477c-is-open {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mobilee477c-menu-tag {
  font-family: var(--mobilee477c-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--mobilee477c-rose);
  margin: 10px 2px 6px;
}

.mobilee477c-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.mobilee477c-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 12px;
  background: #2c2a27;
  border: 1px solid var(--mobilee477c-line-soft);
  border-radius: var(--mobilee477c-r-tile);
  color: var(--mobilee477c-text);
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.mobilee477c-menu-item::after {
  content: "\203A";
  color: var(--mobilee477c-sand);
  font-weight: 700;
}

.mobilee477c-menu-item:hover,
.mobilee477c-menu-item:focus-visible {
  border-color: var(--mobilee477c-sand);
  text-decoration: none;
}

.mobilee477c-menu-item:active {
  transform: scale(0.97);
}

.mobilee477c-menu-item.mobilee477c-is-here {
  border-color: var(--mobilee477c-sand);
  background: rgba(222, 184, 135, 0.12);
  color: var(--mobilee477c-sand-bright);
}

.mobilee477c-menu-note {
  margin-top: 12px;
  padding: 9px 11px;
  border-left: 2px solid var(--mobilee477c-rose);
  background: rgba(188, 143, 143, 0.1);
  font-size: 12px;
  color: var(--mobilee477c-muted);
  border-radius: 0 var(--mobilee477c-r-tile) var(--mobilee477c-r-tile) 0;
}

/* ---------- main ---------- */

.mobilee477c-main {
  padding-top: calc(var(--mobilee477c-top-h) + 8px);
}

.mobilee477c-sec {
  padding: 18px 12px 6px;
}

/* short-distance section reveal */
.mobilee477c-reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobilee477c-reveal.mobilee477c-is-in {
  opacity: 1;
  transform: none;
}

/* ---------- hero carousel ---------- */

.mobilee477c-hero {
  padding: 2px 12px 0;
}

.mobilee477c-caro {
  position: relative;
  border-radius: var(--mobilee477c-r-card);
  border: 1px solid var(--mobilee477c-line-soft);
  overflow: hidden;
  background: #1e1c1a;
}

.mobilee477c-track {
  display: flex;
  transition: transform 0.32s ease;
}

.mobilee477c-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  border: 0;
  background: #1e1c1a;
  text-align: left;
  display: block;
}

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

.mobilee477c-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(180deg, rgba(21, 20, 18, 0) 0%, rgba(21, 20, 18, 0.88) 78%);
}

.mobilee477c-slide-kick {
  display: block;
  font-family: var(--mobilee477c-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--mobilee477c-rose);
}

.mobilee477c-slide-ttl {
  display: block;
  font-family: var(--mobilee477c-font-head);
  font-size: 16px;
  font-weight: 700;
  color: #fff4e2;
  line-height: 1.25;
}

.mobilee477c-slide-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  background: var(--mobilee477c-sand);
  color: var(--mobilee477c-ink);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--mobilee477c-r-tile);
  white-space: nowrap;
  transition: transform 0.12s ease;
}

.mobilee477c-slide-cta:active {
  transform: scale(0.94);
}

.mobilee477c-dots {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  gap: 6px;
}

.mobilee477c-dot {
  width: 22px;
  height: 8px;
  padding: 0;
  border-radius: 2px;
  border: 1px solid rgba(222, 184, 135, 0.5);
  background: rgba(21, 20, 18, 0.55);
}

.mobilee477c-dot.mobilee477c-is-on {
  background: var(--mobilee477c-sand);
  border-color: var(--mobilee477c-sand);
}

/* ---------- quick category chips ---------- */

.mobilee477c-chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 12px 12px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mobilee477c-chips::-webkit-scrollbar {
  display: none;
}

.mobilee477c-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--mobilee477c-line-soft);
  border-radius: var(--mobilee477c-r-tile);
  background: #2b2926;
  color: var(--mobilee477c-text);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.mobilee477c-chip i {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--mobilee477c-sand);
}

.mobilee477c-chip:nth-child(2n) i {
  background: var(--mobilee477c-rose);
}

.mobilee477c-chip:hover {
  border-color: var(--mobilee477c-sand);
  text-decoration: none;
}

/* ---------- lead / H1 ---------- */

.mobilee477c-lead {
  padding: 14px 14px 4px;
}

.mobilee477c-h1 {
  font-family: var(--mobilee477c-font-head);
  font-size: 21px;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--mobilee477c-sand-bright);
}

.mobilee477c-qchip {
  display: inline-block;
  margin: 10px 0 2px;
  padding: 4px 9px;
  border: 1px solid rgba(188, 143, 143, 0.5);
  border-radius: var(--mobilee477c-r-tile);
  background: rgba(188, 143, 143, 0.12);
  color: #e7c6c6;
  font-family: var(--mobilee477c-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.mobilee477c-copy {
  margin-top: 8px;
  color: var(--mobilee477c-text);
  font-size: 14px;
}

.mobilee477c-copy + .mobilee477c-copy {
  margin-top: 8px;
}

.mobilee477c-copy b,
.mobilee477c-sec-copy b {
  color: var(--mobilee477c-sand-bright);
  font-weight: 700;
}

/* ---------- section head ---------- */

.mobilee477c-sec-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
}

.mobilee477c-sec-bar {
  width: 4px;
  height: 26px;
  border-radius: 1px;
  background: linear-gradient(180deg, var(--mobilee477c-sand) 0%, var(--mobilee477c-rose) 100%);
  flex: 0 0 auto;
}

.mobilee477c-h2 {
  font-family: var(--mobilee477c-font-head);
  font-size: 16.5px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--mobilee477c-sand-bright);
  flex: 1 1 auto;
}

.mobilee477c-count {
  flex: 0 0 auto;
  padding: 3px 8px;
  border: 1px solid var(--mobilee477c-line);
  border-radius: var(--mobilee477c-r-tile);
  color: var(--mobilee477c-muted);
  font-family: var(--mobilee477c-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
}

.mobilee477c-sec-copy {
  margin: 6px 0 10px;
  font-size: 13.5px;
  color: var(--mobilee477c-muted);
}

/* ---------- game grid (4 tracks, big+small mix) ---------- */

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

.mobilee477c-tile {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--mobilee477c-line-soft);
  border-radius: var(--mobilee477c-r-card);
  background: var(--mobilee477c-panel);
  overflow: hidden;
  text-align: center;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.mobilee477c-tile:hover,
.mobilee477c-tile:focus-visible {
  border-color: var(--mobilee477c-sand);
}

.mobilee477c-tile:active {
  transform: scale(0.96);
}

.mobilee477c-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #201e1c;
}

.mobilee477c-tile-name {
  display: block;
  padding: 5px 4px 6px;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--mobilee477c-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* featured large tile: spans two tracks */
.mobilee477c-tile--big {
  grid-column: span 2;
  flex-direction: row;
  align-items: stretch;
  text-align: left;
  background: linear-gradient(135deg, #34302a 0%, #2a2724 100%);
}

.mobilee477c-tile--big .mobilee477c-tile-img {
  flex: 0 0 52%;
  width: 52%;
  height: auto;
}

.mobilee477c-tile--big .mobilee477c-tile-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  font-size: 12px;
  -webkit-line-clamp: 3;
}

.mobilee477c-tile-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 2px;
  background: var(--mobilee477c-sand);
  color: var(--mobilee477c-ink);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  width: max-content;
}

/* ---------- dual CTA band ---------- */

.mobilee477c-duo {
  display: flex;
  gap: 8px;
  margin: 12px 0 4px;
}

.mobilee477c-duo .mobilee477c-btn {
  flex: 1 1 50%;
  min-height: 44px;
}

/* ---------- offers (promotions module) ---------- */

.mobilee477c-offer {
  border: 1px solid var(--mobilee477c-line-soft);
  border-left: 3px solid var(--mobilee477c-rose);
  border-radius: var(--mobilee477c-r-card);
  background: var(--mobilee477c-panel);
  padding: 11px 12px;
  margin-bottom: 8px;
}

.mobilee477c-offer-kick {
  font-family: var(--mobilee477c-font-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--mobilee477c-rose);
}

.mobilee477c-offer-ttl {
  font-family: var(--mobilee477c-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--mobilee477c-sand-bright);
  margin: 2px 0 3px;
}

.mobilee477c-offer p {
  font-size: 13px;
  color: var(--mobilee477c-muted);
}

/* ---------- steps ---------- */

.mobilee477c-steps {
  counter-reset: mobilee477c-step;
  border-top: 1px dashed var(--mobilee477c-line);
}

.mobilee477c-step {
  position: relative;
  counter-increment: mobilee477c-step;
  display: flex;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px dashed var(--mobilee477c-line);
}

.mobilee477c-step::before {
  content: counter(mobilee477c-step, decimal-leading-zero);
  flex: 0 0 auto;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mobilee477c-line);
  border-radius: var(--mobilee477c-r-tile);
  color: var(--mobilee477c-sand);
  font-family: var(--mobilee477c-font-head);
  font-size: 13px;
  font-weight: 700;
}

.mobilee477c-step-body {
  font-size: 13.5px;
  color: var(--mobilee477c-text);
}

.mobilee477c-step-body b {
  color: var(--mobilee477c-sand-bright);
}

/* ---------- app module ---------- */

.mobilee477c-appbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--mobilee477c-line-soft);
  border-radius: var(--mobilee477c-r-card);
  background: var(--mobilee477c-panel);
  padding: 12px;
}

.mobilee477c-appfig {
  flex: 0 0 64px;
  width: 64px;
  border: 1px solid var(--mobilee477c-line);
  border-radius: var(--mobilee477c-r-tile);
  object-fit: cover;
}

.mobilee477c-specs {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.mobilee477c-spec {
  padding: 8px 10px;
  border: 1px dashed var(--mobilee477c-line-soft);
  border-radius: var(--mobilee477c-r-tile);
  font-size: 12px;
  color: var(--mobilee477c-muted);
}

.mobilee477c-spec b {
  display: block;
  color: var(--mobilee477c-sand);
  font-size: 12.5px;
}

/* ---------- terms ---------- */

.mobilee477c-terms {
  border-top: 1px solid var(--mobilee477c-line-soft);
}

.mobilee477c-term {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--mobilee477c-line-soft);
}

.mobilee477c-term dt {
  font-family: var(--mobilee477c-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--mobilee477c-sand);
}

.mobilee477c-term dd {
  margin: 0;
  font-size: 13px;
  color: var(--mobilee477c-muted);
}

/* ---------- checklist ---------- */

.mobilee477c-checks {
  display: grid;
  gap: 7px;
}

.mobilee477c-check {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--mobilee477c-line-soft);
  border-radius: var(--mobilee477c-r-card);
  background: var(--mobilee477c-panel);
  font-size: 13.5px;
}

.mobilee477c-check::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border: 1.5px solid var(--mobilee477c-sand);
  border-radius: 2px;
  background:
    linear-gradient(var(--mobilee477c-sand), var(--mobilee477c-sand)) center / 8px 8px no-repeat;
}

/* ---------- extended footer (homepage only) ---------- */

.mobilee477c-xfoot {
  margin-top: 16px;
  border-top: 1px solid var(--mobilee477c-line);
  background: #221f1d;
  padding: 14px 12px 10px;
}

.mobilee477c-xtitle {
  font-family: var(--mobilee477c-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--mobilee477c-rose);
  margin: 12px 0 8px;
}

.mobilee477c-xtitle:first-child {
  margin-top: 0;
}

/* page directory: horizontal shortcuts */
.mobilee477c-dir {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.mobilee477c-dir-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 7px 6px;
  border: 1px solid var(--mobilee477c-line-soft);
  border-radius: var(--mobilee477c-r-tile);
  background: #2a2725;
  color: var(--mobilee477c-text);
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  transition: border-color 0.12s ease, transform 0.12s ease;
}

.mobilee477c-dir-link:hover,
.mobilee477c-dir-link:focus-visible {
  border-color: var(--mobilee477c-sand);
  text-decoration: none;
}

.mobilee477c-dir-link:active {
  transform: scale(0.96);
}

.mobilee477c-brandtext {
  font-size: 12.5px;
  color: var(--mobilee477c-muted);
}

/* 5 promo actions, horizontal shortcut row */
.mobilee477c-promorow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.mobilee477c-promoact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 8px;
  border: 1px solid rgba(222, 184, 135, 0.35);
  border-radius: var(--mobilee477c-r-tile);
  background: linear-gradient(135deg, rgba(222, 184, 135, 0.16) 0%, rgba(188, 143, 143, 0.14) 100%);
  color: var(--mobilee477c-sand-bright);
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.mobilee477c-promoact:hover {
  border-color: var(--mobilee477c-sand);
}

.mobilee477c-promoact:active {
  transform: scale(0.96);
}

.mobilee477c-promoact--wide {
  grid-column: span 2;
}

.mobilee477c-disclaim {
  margin-top: 12px;
  padding: 10px 11px;
  border: 1px dashed var(--mobilee477c-line-soft);
  border-radius: var(--mobilee477c-r-card);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--mobilee477c-muted);
}

/* ---------- common footer ---------- */

.mobilee477c-foot {
  border-top: 1px solid var(--mobilee477c-line-soft);
  padding: 14px 14px 12px;
  text-align: center;
  font-size: 12px;
  color: var(--mobilee477c-muted);
}

.mobilee477c-foot b {
  color: var(--mobilee477c-sand);
  letter-spacing: 1px;
}

/* ---------- bottom dock nav (5 roles) ---------- */

.mobilee477c-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 65;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--mobilee477c-dock-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: linear-gradient(180deg, #2b2825 0%, #1d1b19 100%);
  border-top: 1px solid var(--mobilee477c-line);
}

.mobilee477c-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 6px 2px 4px;
  background: transparent;
  border: 0;
  color: var(--mobilee477c-muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2px;
  transition: color 0.14s ease, transform 0.14s ease;
}

.mobilee477c-dock-item:active {
  transform: scale(0.93);
}

/* containerized symbol tile */
.mobilee477c-dock-ic {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mobilee477c-r-tile);
  border: 1px solid var(--mobilee477c-line-soft);
  background: #33302c;
  color: #cbb394;
  transition: transform 0.14s ease, background-color 0.14s ease, color 0.14s ease;
}

.mobilee477c-dock-ic svg {
  width: 16px;
  height: 16px;
}

.mobilee477c-dock-item:hover {
  color: var(--mobilee477c-text);
}

.mobilee477c-dock-item:hover .mobilee477c-dock-ic {
  border-color: var(--mobilee477c-sand);
}

/* active: slight lift */
.mobilee477c-dock-item.mobilee477c-is-on {
  color: var(--mobilee477c-sand-bright);
}

.mobilee477c-dock-item.mobilee477c-is-on .mobilee477c-dock-ic {
  transform: translateY(-3px);
  background: var(--mobilee477c-sand);
  border-color: var(--mobilee477c-sand);
  color: var(--mobilee477c-ink);
  box-shadow: 0 4px 10px rgba(222, 184, 135, 0.28);
}

.mobilee477c-dock-item.mobilee477c-is-on::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--mobilee477c-sand);
}

/* ---------- a11y helpers ---------- */

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--mobilee477c-sand-bright);
  outline-offset: 2px;
}

::selection {
  background: rgba(222, 184, 135, 0.35);
  color: #fff;
}

/* ---------- width tuning ---------- */

@media (min-width: 375px) {
  .mobilee477c-h1 {
    font-size: 22.5px;
  }

  .mobilee477c-h2 {
    font-size: 17.5px;
  }

  .mobilee477c-tile-name {
    font-size: 11px;
  }

  .mobilee477c-dir {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 430px) {
  .mobilee477c-shell {
    margin-top: 14px;
    margin-bottom: 14px;
  }
}

/* keep 4 steady tracks; widen gaps only when space is real */
@media (max-width: 359px) {
  .mobilee477c-actions {
    gap: 3px;
  }

  .mobilee477c-grid {
    gap: 6px;
  }

  .mobilee477c-dir {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* compact header so Register + Login + menu never overflow 320px */
  .mobilee477c-topbar {
    padding: 8px;
    gap: 5px;
  }

  .mobilee477c-logo {
    width: 34px;
    height: 34px;
  }

  .mobilee477c-brandname {
    font-size: 17px;
    letter-spacing: 1.6px;
  }

  .mobilee477c-btn {
    min-height: 38px;
    padding: 7px 9px;
    font-size: 12px;
  }

  .mobilee477c-menubtn {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mobilee477c-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .mobilee477c-track {
    transition: none;
  }
}
