/* ==========================================================================
   phzzz - interface-adaptive-206049.css
   Mobile-first stylesheet tuned for a 320-430px phone canvas.
   Wide screens keep the centered phone canvas (max-width: 430px).
   Palette: #FFEFD5 / #E9ECEF / #333333 / #FFE4B5 (dark base, light text).
   Visual direction: geometric headings + neutral body, mixed radii with a
   compact hierarchy, pure-image game cards with a short name below,
   intro-then-sections rhythm, slide-in menu + gentle card lift motion,
   compact icon+text CTAs.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --frame06049-bg: #333333;
  --frame06049-bg-deep: #2a2a2a;
  --frame06049-surface: #3b3b3b;
  --frame06049-surface-2: #444444;
  --frame06049-line: rgba(233, 236, 239, 0.16);
  --frame06049-line-soft: rgba(233, 236, 239, 0.09);
  --frame06049-text: #e9ecef;
  --frame06049-text-soft: rgba(233, 236, 239, 0.74);
  --frame06049-text-faint: rgba(233, 236, 239, 0.55);
  --frame06049-cream: #ffefd5;
  --frame06049-accent: #ffe4b5;
  --frame06049-accent-strong: #ffd68a;
  --frame06049-on-accent: #40321c;
  --frame06049-radius-xl: 20px;
  --frame06049-radius-lg: 14px;
  --frame06049-radius-md: 10px;
  --frame06049-radius-sm: 7px;
  --frame06049-shadow-1: 0 8px 20px rgba(0, 0, 0, 0.38);
  --frame06049-shadow-2: 0 14px 34px rgba(0, 0, 0, 0.5);
  --frame06049-ease: cubic-bezier(0.22, 0.72, 0.24, 1);
  --frame06049-font-head: "Trebuchet MS", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --frame06049-font-body: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
}

/* ---------- Base / canvas ---------- */
* {
  box-sizing: border-box;
}

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

body {
  margin: 0 auto;
  max-width: 430px;
  min-height: 100vh;
  background: var(--frame06049-bg);
  background-image: radial-gradient(120% 320px at 50% -80px, rgba(255, 228, 181, 0.07), transparent 62%);
  color: var(--frame06049-text);
  font-family: var(--frame06049-font-body);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (min-width: 431px) {
  body {
    box-shadow: 0 0 0 1px var(--frame06049-line), 0 0 48px rgba(0, 0, 0, 0.55);
  }
}

body.frame06049-noscroll {
  overflow: hidden;
}

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

a {
  color: var(--frame06049-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  font-family: var(--frame06049-font-head);
  line-height: 1.24;
  letter-spacing: 0.012em;
  color: var(--frame06049-cream);
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 0.85em;
}

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

.frame06049-skip {
  position: absolute;
  left: 12px;
  top: -52px;
  z-index: 90;
  padding: 10px 16px;
  background: var(--frame06049-accent);
  color: var(--frame06049-on-accent);
  font-weight: 700;
  border-radius: var(--frame06049-radius-sm);
  transition: top 0.18s var(--frame06049-ease);
}

.frame06049-skip:focus {
  top: 8px;
  text-decoration: none;
}

/* ---------- Top brand bar ---------- */
.frame06049-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 56px;
  padding: 8px 12px;
  padding-top: calc(8px + env(safe-area-inset-top, 0px));
  background: rgba(42, 42, 42, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frame06049-line);
}

.frame06049-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--frame06049-cream);
  text-decoration: none;
}

.frame06049-brand:hover {
  text-decoration: none;
}

.frame06049-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: radial-gradient(circle at 32% 28%, rgba(255, 228, 181, 0.35), rgba(0, 0, 0, 0));
  box-shadow: 0 0 0 1.5px rgba(255, 228, 181, 0.55);
  flex: none;
}

.frame06049-brand-name {
  font-family: var(--frame06049-font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.frame06049-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.frame06049-btn {
  font-family: var(--frame06049-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.14s var(--frame06049-ease), background 0.14s ease, color 0.14s ease;
}

.frame06049-btn:active {
  transform: scale(0.94);
}

.frame06049-btn-register {
  background: linear-gradient(160deg, var(--frame06049-accent-strong), var(--frame06049-accent));
  color: var(--frame06049-on-accent);
  box-shadow: 0 4px 14px rgba(255, 228, 181, 0.22);
}

.frame06049-btn-login {
  background: transparent;
  color: var(--frame06049-cream);
  border-color: rgba(255, 228, 181, 0.6);
}

.frame06049-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 9px 8px;
  background: transparent;
  border: 1px solid var(--frame06049-line);
  border-radius: var(--frame06049-radius-sm);
  cursor: pointer;
}

.frame06049-menu-btn span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--frame06049-cream);
  transition: transform 0.22s var(--frame06049-ease), opacity 0.18s ease;
}

.frame06049-menu-btn span:nth-child(2) {
  width: 75%;
}

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

.frame06049-menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

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

/* ---------- Full-height menu layer ---------- */
.frame06049-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(20, 20, 20, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.frame06049-overlay.is-shown {
  opacity: 1;
  visibility: visible;
}

.frame06049-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  width: min(84vw, 318px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(178deg, #3a3a3a, #2d2d2d 68%);
  border-right: 1px solid var(--frame06049-line);
  box-shadow: var(--frame06049-shadow-2);
  transform: translateX(-104%);
  transition: transform 0.28s var(--frame06049-ease);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 16px calc(20px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 430px) {
  .frame06049-drawer {
    left: calc(50% - 215px);
  }
}

.frame06049-drawer.is-open {
  transform: translateX(0);
}

.frame06049-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--frame06049-line-soft);
  margin-bottom: 6px;
}

.frame06049-drawer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--frame06049-cream);
  font-family: var(--frame06049-font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  min-height: 44px;
}

.frame06049-drawer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.frame06049-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--frame06049-line);
  background: rgba(233, 236, 239, 0.06);
  color: var(--frame06049-cream);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.14s var(--frame06049-ease), background 0.14s ease;
}

.frame06049-drawer-close:active {
  transform: scale(0.9);
  background: rgba(233, 236, 239, 0.14);
}

.frame06049-drawer-label {
  display: block;
  margin: 14px 2px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--frame06049-text-faint);
}

.frame06049-dlink {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 10px;
  margin: 2px 0;
  border-radius: var(--frame06049-radius-md);
  color: var(--frame06049-text);
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.frame06049-dlink::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: rgba(255, 228, 181, 0.4);
  transform: rotate(45deg);
  flex: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.frame06049-dlink:hover,
.frame06049-dlink:focus-visible {
  background: rgba(255, 228, 181, 0.09);
  color: var(--frame06049-cream);
  text-decoration: none;
}

.frame06049-dlink.is-current {
  background: rgba(255, 228, 181, 0.12);
  border-color: rgba(255, 228, 181, 0.4);
  color: var(--frame06049-cream);
  font-weight: 700;
}

.frame06049-dlink.is-current::before {
  background: var(--frame06049-accent);
  transform: rotate(45deg) scale(1.25);
}

.frame06049-drawer-cta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--frame06049-line-soft);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.frame06049-drawer-cta .frame06049-btn {
  min-height: 44px;
  width: 100%;
}

/* ---------- Main canvas flow ---------- */
.frame06049-main {
  padding: calc(66px + env(safe-area-inset-top, 0px)) 14px calc(96px + env(safe-area-inset-bottom, 0px));
}

/* ---------- Hero ---------- */
.frame06049-hero {
  padding: 18px 4px 6px;
}

.frame06049-hero-title {
  font-size: 25px;
  margin-bottom: 10px;
}

@media (min-width: 375px) {
  .frame06049-hero-title {
    font-size: 27px;
  }
}

.frame06049-hero-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--frame06049-accent);
  border: 1px solid rgba(255, 228, 181, 0.38);
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 12px;
}

.frame06049-hero-text {
  color: var(--frame06049-text-soft);
  max-width: 38ch;
}

.frame06049-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 6px;
}

.frame06049-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: var(--frame06049-font-head);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s var(--frame06049-ease), box-shadow 0.15s ease, background 0.15s ease;
}

.frame06049-cta svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.frame06049-cta:active {
  transform: scale(0.95);
}

.frame06049-cta-primary {
  background: linear-gradient(160deg, var(--frame06049-accent-strong), var(--frame06049-accent));
  color: var(--frame06049-on-accent);
  box-shadow: 0 6px 18px rgba(255, 228, 181, 0.24);
}

.frame06049-cta-ghost {
  background: rgba(255, 239, 213, 0.05);
  color: var(--frame06049-cream);
  border-color: rgba(255, 228, 181, 0.5);
}

/* ---------- Carousel ---------- */
.frame06049-carousel {
  position: relative;
  margin: 16px 0 4px;
  border-radius: var(--frame06049-radius-xl);
  overflow: hidden;
  border: 1px solid var(--frame06049-line);
  box-shadow: var(--frame06049-shadow-1);
  background: var(--frame06049-bg-deep);
}

.frame06049-ctrack {
  display: flex;
  transition: transform 0.42s var(--frame06049-ease);
  touch-action: pan-y;
}

.frame06049-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--frame06049-bg-deep);
  cursor: pointer;
  display: block;
}

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

.frame06049-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.frame06049-dot {
  width: 44px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.frame06049-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 239, 213, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: width 0.22s var(--frame06049-ease), background 0.22s ease;
}

.frame06049-dot.is-active::before {
  width: 24px;
  background: var(--frame06049-accent);
}

/* ---------- Intro lede ---------- */
.frame06049-lede {
  margin: 20px 0 6px;
  padding: 14px 14px 8px;
  border-left: 3px solid var(--frame06049-accent);
  border-radius: 0 var(--frame06049-radius-lg) var(--frame06049-radius-lg) 0;
  background: linear-gradient(90deg, rgba(255, 228, 181, 0.08), rgba(255, 228, 181, 0.015));
}

.frame06049-lede p {
  color: var(--frame06049-text-soft);
}

/* ---------- Sections ---------- */
.frame06049-section {
  margin-top: 30px;
}

.frame06049-sec-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.frame06049-section h2 {
  font-size: 19.5px;
  margin: 0;
}

@media (min-width: 375px) {
  .frame06049-section h2 {
    font-size: 21px;
  }
}

.frame06049-chip {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--frame06049-accent);
  border: 1px solid rgba(255, 228, 181, 0.4);
  border-radius: 999px;
  padding: 2.5px 9px;
  white-space: nowrap;
}

.frame06049-sec-note {
  color: var(--frame06049-text-soft);
  font-size: 13.8px;
  margin: 7px 0 14px;
}

.frame06049-sec-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Game grid: pure image card + short name ---------- */
.frame06049-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
}

@media (min-width: 396px) {
  .frame06049-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px 10px;
  }
}

.frame06049-gtile {
  padding: 0;
  border: 1px solid var(--frame06049-line-soft);
  border-radius: var(--frame06049-radius-lg);
  background: var(--frame06049-surface);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.18s var(--frame06049-ease), box-shadow 0.18s ease, border-color 0.18s ease;
}

.frame06049-gtile:hover,
.frame06049-gtile:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 228, 181, 0.45);
  box-shadow: var(--frame06049-shadow-1);
}

.frame06049-gtile:active {
  transform: translateY(-1px) scale(0.97);
}

.frame06049-gtile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--frame06049-radius-lg) var(--frame06049-radius-lg) 0 0;
  background: var(--frame06049-bg-deep);
}

.frame06049-gname {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 2.7em;
  padding: 5px 6px 7px;
  font-size: 11px;
  line-height: 1.34;
  font-weight: 600;
  text-align: center;
  color: var(--frame06049-cream);
  word-break: break-word;
}

/* ---------- Info modules ---------- */
.frame06049-modules {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.frame06049-mod {
  position: relative;
  padding: 16px 15px 13px;
  border-radius: var(--frame06049-radius-xl);
  border: 1px solid var(--frame06049-line-soft);
  background: linear-gradient(175deg, var(--frame06049-surface), rgba(59, 59, 59, 0.55));
  box-shadow: var(--frame06049-shadow-1);
  animation: frame06049-rise 0.5s var(--frame06049-ease) both;
}

.frame06049-mod:nth-child(2) {
  animation-delay: 0.06s;
}

.frame06049-mod:nth-child(3) {
  animation-delay: 0.12s;
}

.frame06049-mod:nth-child(4) {
  animation-delay: 0.18s;
}

.frame06049-mod:hover {
  transform: translateY(-2px);
}

.frame06049-mod,
.frame06049-mod:hover {
  transition: transform 0.2s var(--frame06049-ease);
}

@keyframes frame06049-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.frame06049-mod-mark {
  position: absolute;
  top: -1px;
  left: 16px;
  width: 44px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: var(--frame06049-accent);
}

.frame06049-mod h3 {
  font-size: 17px;
  margin: 2px 0 8px;
}

.frame06049-mod p {
  color: var(--frame06049-text-soft);
  font-size: 13.9px;
  margin-bottom: 0.7em;
}

.frame06049-mod p:last-child {
  margin-bottom: 0;
}

.frame06049-mod a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.frame06049-checklist {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.frame06049-checklist li {
  position: relative;
  padding: 8px 10px 8px 34px;
  border: 1px solid var(--frame06049-line-soft);
  border-radius: var(--frame06049-radius-md);
  background: rgba(42, 42, 42, 0.5);
  font-size: 13.6px;
  color: var(--frame06049-text-soft);
}

.frame06049-checklist li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid var(--frame06049-accent);
  border-bottom: 2.5px solid var(--frame06049-accent);
  transform: rotate(-45deg);
}

/* ---------- Extended footer ---------- */
.frame06049-xfooter {
  margin-top: 34px;
  padding: 18px 16px 16px;
  border-radius: var(--frame06049-radius-xl);
  border: 1px solid var(--frame06049-line-soft);
  background: linear-gradient(180deg, rgba(58, 58, 58, 0.9), rgba(43, 43, 43, 0.92));
}

.frame06049-xfooter h2 {
  font-size: 18px;
}

.frame06049-xbrand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.frame06049-xbrand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1.5px rgba(255, 228, 181, 0.5);
  flex: none;
}

.frame06049-xbrand-text {
  color: var(--frame06049-text-soft);
  font-size: 13.4px;
}

.frame06049-xpromo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0 18px;
}

.frame06049-xpromo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 8px;
  border-radius: var(--frame06049-radius-md);
  font-family: var(--frame06049-font-head);
  font-size: 13.2px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  color: var(--frame06049-on-accent);
  background: linear-gradient(160deg, var(--frame06049-accent-strong), var(--frame06049-accent));
  border: 1px solid rgba(255, 228, 181, 0.65);
  box-shadow: 0 5px 14px rgba(255, 228, 181, 0.16);
  transition: transform 0.15s var(--frame06049-ease), box-shadow 0.15s ease;
}

.frame06049-xpromo:nth-child(even) {
  background: rgba(255, 228, 181, 0.07);
  color: var(--frame06049-cream);
  border-color: rgba(255, 228, 181, 0.42);
}

.frame06049-xpromo svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.frame06049-xpromo:active {
  transform: scale(0.95);
}

.frame06049-dir-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--frame06049-text-faint);
  margin: 0 0 8px;
}

.frame06049-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin-bottom: 16px;
}

.frame06049-dir a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 9px;
  border-radius: var(--frame06049-radius-sm);
  border: 1px solid var(--frame06049-line-soft);
  background: rgba(42, 42, 42, 0.55);
  color: var(--frame06049-text);
  font-size: 12.8px;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s var(--frame06049-ease);
}

.frame06049-dir a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 228, 181, 0.55);
  flex: none;
}

.frame06049-dir a:hover {
  border-color: rgba(255, 228, 181, 0.45);
  color: var(--frame06049-cream);
  text-decoration: none;
  transform: translateY(-1px);
}

.frame06049-disclaimer {
  padding: 11px 12px;
  border-radius: var(--frame06049-radius-md);
  border: 1px dashed rgba(233, 236, 239, 0.28);
  color: var(--frame06049-text-faint);
  font-size: 12.2px;
  line-height: 1.55;
}

/* ---------- Common footer ---------- */
.frame06049-footer {
  margin-top: 18px;
  padding: 14px 4px 4px;
  border-top: 1px solid var(--frame06049-line-soft);
  text-align: center;
  color: var(--frame06049-text-faint);
  font-size: 12.4px;
  letter-spacing: 0.02em;
}

/* ---------- Outlined bottom function bar ---------- */
.frame06049-bottomnav {
  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));
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(40, 40, 40, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--frame06049-line);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}

.frame06049-bn-item {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 5px 2px 7px;
  border: 0;
  background: transparent;
  border-radius: var(--frame06049-radius-sm);
  color: var(--frame06049-text-soft);
  font-family: var(--frame06049-font-body);
  font-size: 10.6px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.13s var(--frame06049-ease), color 0.15s ease;
}

.frame06049-bn-item svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.frame06049-bn-item:hover {
  color: var(--frame06049-cream);
  text-decoration: none;
}

.frame06049-bn-item:active {
  transform: scale(0.9);
}

.frame06049-bn-item::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--frame06049-accent);
  transition: width 0.2s var(--frame06049-ease);
}

.frame06049-bn-item.is-active {
  color: var(--frame06049-cream);
}

.frame06049-bn-item.is-active::after {
  width: 22px;
}

/* ---------- Help and guidance layouts ---------- */
.frame06049-help-main,
.frame06049-tips-main {
  padding-top: calc(66px + env(safe-area-inset-top, 0px));
}

.frame06049-help-hero,
.frame06049-tips-hero {
  padding: 20px 3px 8px;
}

.frame06049-help-hero .frame06049-hero-title,
.frame06049-tips-hero .frame06049-hero-title {
  font-size: 24px;
  margin-bottom: 11px;
}

.frame06049-help-hero .frame06049-hero-text,
.frame06049-tips-hero .frame06049-hero-text {
  max-width: none;
}

.frame06049-help-prompt,
.frame06049-route-card {
  margin: 16px 0 4px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 228, 181, 0.3);
  border-radius: var(--frame06049-radius-lg);
  background: rgba(255, 228, 181, 0.08);
  color: var(--frame06049-text-soft);
  font-size: 13.4px;
}

.frame06049-help-prompt strong,
.frame06049-route-card strong {
  color: var(--frame06049-cream);
}

.frame06049-route-card {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  border-radius: 5px var(--frame06049-radius-xl) 5px var(--frame06049-radius-xl);
}

.frame06049-route-card p {
  margin: 3px 0 0;
}

.frame06049-route-dot {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--frame06049-accent);
  box-shadow: 0 0 0 5px rgba(255, 228, 181, 0.1);
  flex: none;
}

.frame06049-answer-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 21px 0 4px;
}

.frame06049-answer-map > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  column-gap: 7px;
  min-height: 58px;
  padding: 8px 9px;
  border: 1px solid var(--frame06049-line-soft);
  border-radius: var(--frame06049-radius-md);
  background: var(--frame06049-surface);
}

.frame06049-answer-map strong,
.frame06049-answer-map small {
  grid-column: 2;
}

.frame06049-answer-map strong {
  color: var(--frame06049-cream);
  font-size: 13px;
}

.frame06049-answer-map small {
  color: var(--frame06049-text-faint);
  font-size: 11px;
  line-height: 1.25;
}

.frame06049-answer-number,
.frame06049-section-index {
  color: var(--frame06049-accent);
  font-family: var(--frame06049-font-head);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.frame06049-answer-number {
  grid-row: 1 / span 2;
  font-size: 11px;
}

.frame06049-help-section,
.frame06049-quick-qa,
.frame06049-help-close,
.frame06049-principles,
.frame06049-tips-block {
  margin-top: 28px;
  padding: 16px 14px 15px;
  border: 1px solid var(--frame06049-line-soft);
  border-radius: var(--frame06049-radius-xl) 6px var(--frame06049-radius-xl) 6px;
  background: linear-gradient(164deg, var(--frame06049-surface), rgba(59, 59, 59, 0.52));
  box-shadow: var(--frame06049-shadow-1);
}

.frame06049-help-heading {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 10px;
}

.frame06049-help-heading h2 {
  font-size: 19px;
  margin: 0;
}

.frame06049-section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 228, 181, 0.45);
  border-radius: 50%;
  font-size: 12px;
  flex: none;
}

.frame06049-help-section p,
.frame06049-tips-block p,
.frame06049-help-close p {
  color: var(--frame06049-text-soft);
  font-size: 13.8px;
}

.frame06049-help-section .frame06049-direct,
.frame06049-tips-block .frame06049-direct {
  color: var(--frame06049-cream);
  font-size: 14.2px;
  font-weight: 600;
}

.frame06049-help-section a,
.frame06049-tips-block a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.frame06049-promo-strip,
.frame06049-tip-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--frame06049-line-soft);
  color: var(--frame06049-text-faint);
  font-size: 12px;
}

.frame06049-promo-strip button,
.frame06049-tip-action button {
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 228, 181, 0.5);
  border-radius: 999px;
  background: rgba(255, 228, 181, 0.1);
  color: var(--frame06049-cream);
  font: 700 12px var(--frame06049-font-head);
  cursor: pointer;
  flex: none;
}

.frame06049-step-list,
.frame06049-check-steps {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.frame06049-step-list li {
  padding: 10px 11px;
  border-left: 3px solid var(--frame06049-accent);
  border-radius: 0 var(--frame06049-radius-md) var(--frame06049-radius-md) 0;
  background: rgba(42, 42, 42, 0.54);
  color: var(--frame06049-text-soft);
  font-size: 13.2px;
}

.frame06049-step-list strong,
.frame06049-check-steps strong {
  color: var(--frame06049-cream);
}

.frame06049-quick-qa {
  background: var(--frame06049-bg-deep);
}

.frame06049-quick-qa details {
  border-top: 1px solid var(--frame06049-line-soft);
  padding: 10px 0;
}

.frame06049-quick-qa details:last-child {
  border-bottom: 1px solid var(--frame06049-line-soft);
}

.frame06049-quick-qa summary {
  min-height: 28px;
  color: var(--frame06049-cream);
  font-family: var(--frame06049-font-head);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.frame06049-quick-qa details p {
  margin: 7px 0 0;
  color: var(--frame06049-text-soft);
  font-size: 13px;
}

.frame06049-help-close {
  border-color: rgba(255, 228, 181, 0.32);
  background: linear-gradient(145deg, rgba(255, 228, 181, 0.12), rgba(59, 59, 59, 0.62));
}

.frame06049-help-close h2 {
  font-size: 20px;
}

.frame06049-principles {
  margin-top: 21px;
  padding: 15px 13px;
  border-radius: 6px var(--frame06049-radius-xl) 6px var(--frame06049-radius-xl);
}

.frame06049-principles h2 {
  font-size: 18px;
}

.frame06049-principle-row {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 9px;
  padding: 11px 0;
  border-top: 1px solid var(--frame06049-line-soft);
}

.frame06049-principle-row > span {
  color: var(--frame06049-accent);
  font: 700 12px var(--frame06049-font-head);
}

.frame06049-principle-row strong {
  display: block;
  color: var(--frame06049-cream);
  font-size: 13.7px;
}

.frame06049-principle-row p {
  margin: 2px 0 0;
  color: var(--frame06049-text-soft);
  font-size: 12.8px;
  line-height: 1.45;
}

.frame06049-tips-block {
  position: relative;
  padding-top: 22px;
  border-radius: 6px var(--frame06049-radius-xl) 6px var(--frame06049-radius-xl);
}

.frame06049-tips-tab {
  position: absolute;
  top: -1px;
  left: 14px;
  padding: 3px 9px;
  border-radius: 0 0 var(--frame06049-radius-sm) var(--frame06049-radius-sm);
  background: var(--frame06049-accent);
  color: var(--frame06049-on-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frame06049-limit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 12px 0 14px;
}

.frame06049-limit-grid div {
  display: grid;
  gap: 3px;
  padding: 9px 7px;
  border: 1px solid var(--frame06049-line-soft);
  border-radius: var(--frame06049-radius-sm);
  background: rgba(42, 42, 42, 0.45);
}

.frame06049-limit-grid strong {
  color: var(--frame06049-cream);
  font-size: 12.6px;
}

.frame06049-limit-grid span {
  color: var(--frame06049-text-faint);
  font-size: 10.5px;
  line-height: 1.3;
}

.frame06049-check-steps li {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 8px;
  align-items: start;
  padding: 8px 9px;
  border-radius: var(--frame06049-radius-sm);
  background: rgba(42, 42, 42, 0.5);
}

.frame06049-check-steps li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border: 1px solid rgba(255, 228, 181, 0.42);
  border-radius: 50%;
  color: var(--frame06049-accent);
  font: 700 11px var(--frame06049-font-head);
}

.frame06049-check-steps p {
  margin: 0;
  font-size: 12.8px;
}

.frame06049-scenario {
  padding: 11px 0 9px;
  border-top: 1px solid var(--frame06049-line-soft);
}

.frame06049-scenario h3 {
  margin: 0 0 3px;
  font-size: 15px;
}

.frame06049-scenario p {
  margin: 0;
  font-size: 12.9px;
}

.frame06049-compare {
  overflow: hidden;
  margin: 12px 0 14px;
  border: 1px solid var(--frame06049-line-soft);
  border-radius: var(--frame06049-radius-md);
}

.frame06049-compare > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--frame06049-line-soft);
}

.frame06049-compare > div:first-child {
  border-top: 0;
  background: rgba(255, 228, 181, 0.08);
}

.frame06049-compare span,
.frame06049-compare p {
  margin: 0;
  padding: 8px;
  font-size: 11.7px;
  line-height: 1.4;
}

.frame06049-compare span {
  color: var(--frame06049-cream);
  font-weight: 700;
}

.frame06049-compare p + p,
.frame06049-compare span + span {
  border-left: 1px solid var(--frame06049-line-soft);
}

.frame06049-tips-final {
  border-color: rgba(255, 228, 181, 0.36);
}

@media (min-width: 375px) {
  .frame06049-help-hero .frame06049-hero-title,
  .frame06049-tips-hero .frame06049-hero-title {
    font-size: 26px;
  }

  .frame06049-help-section,
  .frame06049-quick-qa,
  .frame06049-help-close,
  .frame06049-principles,
  .frame06049-tips-block {
    padding-left: 16px;
    padding-right: 16px;
  }
}

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

  .frame06049-drawer,
  .frame06049-ctrack {
    transition: none;
  }
}

/* ---------- Tiny helpers ---------- */
.frame06049-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
