*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #08080f;
  --surface: rgba(17, 17, 28, 0.82);
  --surface-strong: rgba(24, 24, 38, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f3f1f8;
  --text-dim: rgba(243, 241, 248, 0.7);
  --text-muted: rgba(243, 241, 248, 0.46);
  --violet: #8d71ff;
  --cyan: #4de2d4;
  --gold: #f0bf68;
  --red: #ff5a4d;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.45);

  /* Safe area insets for notched devices */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(141, 113, 255, 0.16), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(77, 226, 212, 0.12), transparent 28%),
    linear-gradient(180deg, #090910 0%, #050507 100%);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
}

body.surface-open {
  overflow: hidden;
}

.loading-state {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--bg);
  z-index: 9999;
}

.loading-logo {
  width: 88px;
  animation: pulse 2s ease-in-out infinite;
}

.loading-text {
  color: var(--text-dim);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.96); }
}

.member-area {
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height - excludes mobile browser chrome */
}

@supports not (min-height: 100dvh) {
  .member-area {
    min-height: -webkit-fill-available;
  }
}

.mall-shell {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 1rem 1rem calc(6rem + var(--safe-bottom));
  display: flex;
  flex-direction: column;
}

@supports not (min-height: 100dvh) {
  .mall-shell {
    min-height: -webkit-fill-available;
  }
}

/* ========== Anchor Model ========== */

.mall-anchor-top {
  flex-shrink: 0;
}

.mall-anchor-middle {
  flex: 1;
  min-height: 0;
}

.mall-anchor-bottom {
  /* Positioned fixed, see .red-dog-anchor */
}

/* ========== Top Anchor: Self / Account ========== */

.mall-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: calc(0.5rem + var(--safe-top)) 0 0.5rem;
}

.mall-brand-minimal {
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}

.mall-brand-minimal:hover {
  opacity: 1;
}

.mall-brand-logo-sm {
  width: 28px;
  height: 28px;
}

.mall-self-anchor {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mall-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text);
}

.mall-brand-logo {
  width: 42px;
  height: 42px;
}

.mall-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mall-brand-copy strong {
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.mall-brand-kicker {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mall-userline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mall-status-chip,
.red-dog-chip,
.mini-badge,
.focus-badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mall-user-handle {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.mall-avatar-trigger {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.mall-avatar-trigger:hover,
.mall-avatar-trigger:focus-visible {
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
  outline: none;
}

.mall-avatar-trigger img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.account-avatar-placeholder {
  font-size: 1.1rem;
  opacity: 0.7;
}

.mall-main {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mall-copy {
  max-width: 760px;
}

.mall-eyebrow {
  margin: 0 0 0.6rem;
  color: var(--cyan);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mall-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.mall-lede {
  margin: 1rem 0 0;
  max-width: 38rem;
  color: var(--text-dim);
  font-size: 1rem;
}

.mall-carousel-shell {
  position: relative;
}

.mall-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(78vw, 78vw);
  gap: 1.25rem;
  overflow-x: auto;
  padding: 0 8vw 0.75rem;
  margin: 0 -1.5rem;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8vw;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mall-track::-webkit-scrollbar {
  display: none;
}

.mall-loading-card,
.mall-focus,
.red-dog-panel,
.foundup-overlay-card {
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.mall-loading-card,
.mall-focus-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: var(--surface);
  color: var(--text-dim);
}

.mall-card {
  position: relative;
  min-height: min(68vh, 42rem);
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 2.25rem;
  scroll-snap-align: center;
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
  opacity: 0.8;
}

.mall-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.16), transparent 16%),
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.14), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 52%);
  pointer-events: none;
}

.mall-card.is-active {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.22);
  opacity: 1;
}

/* Legacy FoundUp themes */
.theme-antifafm {
  background: linear-gradient(145deg, rgba(60, 11, 16, 0.96), rgba(122, 20, 28, 0.72) 48%, rgba(24, 7, 10, 0.98));
}

.theme-gotjunk {
  background: linear-gradient(145deg, rgba(15, 60, 56, 0.96), rgba(27, 108, 92, 0.76) 48%, rgba(17, 25, 19, 0.98));
}

.theme-magadoom {
  background: linear-gradient(145deg, rgba(27, 17, 56, 0.96), rgba(89, 28, 113, 0.76) 48%, rgba(12, 14, 28, 0.98));
}

/* Video Mall lane themes (overlay/preview surfaces) */
.theme-move2japan {
  background: linear-gradient(145deg, rgba(16, 42, 58, 0.96), rgba(30, 90, 120, 0.72) 48%, rgba(8, 18, 28, 0.98));
}

.theme-undaodu {
  background: linear-gradient(145deg, rgba(38, 18, 52, 0.96), rgba(80, 40, 110, 0.72) 48%, rgba(18, 10, 28, 0.98));
}

.theme-foundups_main {
  background: linear-gradient(145deg, rgba(14, 40, 28, 0.96), rgba(30, 90, 60, 0.72) 48%, rgba(8, 20, 14, 0.98));
}

.theme-linkedin_012 {
  background: linear-gradient(145deg, rgba(10, 32, 56, 0.96), rgba(22, 70, 120, 0.72) 48%, rgba(6, 14, 28, 0.98));
}

.theme-linkedin_esingularity {
  background: linear-gradient(145deg, rgba(40, 28, 10, 0.96), rgba(100, 70, 22, 0.72) 48%, rgba(20, 14, 6, 0.98));
}

.theme-linkedin_tsingularity {
  background: linear-gradient(145deg, rgba(20, 14, 42, 0.96), rgba(50, 30, 100, 0.72) 48%, rgba(10, 8, 22, 0.98));
}

.theme-linkedin_foundups {
  background: linear-gradient(145deg, rgba(18, 38, 22, 0.96), rgba(40, 85, 50, 0.72) 48%, rgba(10, 18, 12, 0.98));
}

/* Category fallback themes (overlay/preview surfaces) */
.theme-cat-travel {
  background: linear-gradient(145deg, rgba(16, 42, 58, 0.96), rgba(30, 90, 120, 0.72) 48%, rgba(8, 18, 28, 0.98));
}

.theme-cat-music {
  background: linear-gradient(145deg, rgba(38, 18, 52, 0.96), rgba(80, 40, 110, 0.72) 48%, rgba(18, 10, 28, 0.98));
}

.theme-cat-startup {
  background: linear-gradient(145deg, rgba(14, 40, 28, 0.96), rgba(30, 90, 60, 0.72) 48%, rgba(8, 20, 14, 0.98));
}

.theme-cat-media {
  background: linear-gradient(145deg, rgba(60, 11, 16, 0.96), rgba(122, 20, 28, 0.72) 48%, rgba(24, 7, 10, 0.98));
}

.theme-cat-thought-leadership {
  background: linear-gradient(145deg, rgba(10, 32, 56, 0.96), rgba(22, 70, 120, 0.72) 48%, rgba(6, 14, 28, 0.98));
}

.theme-cat-ai-education {
  background: linear-gradient(145deg, rgba(40, 28, 10, 0.96), rgba(100, 70, 22, 0.72) 48%, rgba(20, 14, 6, 0.98));
}

.theme-cat-ai-research {
  background: linear-gradient(145deg, rgba(20, 14, 42, 0.96), rgba(50, 30, 100, 0.72) 48%, rgba(10, 8, 22, 0.98));
}

.mall-card-topline,
.foundup-overlay-topline {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.mall-card-art {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: space-between;
  min-height: 22rem;
  padding-top: 3rem;
}

.mall-card-token,
.foundup-overlay-token {
  font-family: var(--mono);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.mall-card-hero {
  align-self: end;
  font-size: clamp(4rem, 17vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.94);
}

.mall-card-copy {
  position: relative;
  z-index: 1;
}

.mall-card-name {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
}

.mall-card-tagline {
  margin: 0.35rem 0 0;
  max-width: 24rem;
  color: rgba(255, 255, 255, 0.82);
}

.mall-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.mall-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.mall-dot.active {
  background: var(--text);
}

.mall-focus {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  background: var(--surface);
}

.mall-focus-head {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.focus-ready {
  color: #81f0a3;
}

.focus-conditional {
  color: #ffcf79;
}

.focus-discoverable_only {
  color: var(--text-dim);
}

.focus-meta {
  color: var(--text-muted);
}

.mall-focus h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}

.mall-focus-tagline,
.mall-focus-hint,
.red-dog-muted,
.red-dog-subtitle {
  color: var(--text-dim);
}

.mall-focus-grid,
.foundup-overlay-meta {
  display: grid;
  gap: 1rem;
}

.focus-label,
.red-dog-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.focus-value,
.red-dog-strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
}

/* Red Dog anchor container */
.red-dog-anchor {
  position: fixed;
  right: max(1.25rem, var(--safe-right));
  bottom: calc(1.25rem + var(--safe-bottom));
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  pointer-events: none;
}
.red-dog-anchor > * {
  pointer-events: auto;
}

.red-dog-btn {
  position: relative;
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(141, 113, 255, 0.22));
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.red-dog-btn img {
  width: 40px;
}

/* State ring around FAB */
.red-dog-state-ring {
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.red-dog-state-ring[data-reddog-anchor-state="idle"] {
  border-color: transparent;
}
.red-dog-state-ring[data-reddog-anchor-state="active"] {
  border-color: rgba(141, 113, 255, 0.5);
  box-shadow: 0 0 12px rgba(141, 113, 255, 0.2);
}
.red-dog-state-ring[data-reddog-anchor-state="listening"] {
  border-color: rgba(0, 212, 170, 0.6);
  box-shadow: 0 0 16px rgba(0, 212, 170, 0.25);
  animation: reddog-pulse 1.5s ease-in-out infinite;
}
@keyframes reddog-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(0, 212, 170, 0.25); }
  50% { box-shadow: 0 0 24px rgba(0, 212, 170, 0.45); }
}

.red-dog-btn-listening {
  background: linear-gradient(160deg, rgba(0, 212, 170, 0.18), rgba(141, 113, 255, 0.22));
}

/* Quick summary popover */
.red-dog-summary {
  background: rgba(14, 14, 28, 0.95);
  border: 1px solid rgba(141, 113, 255, 0.2);
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
  max-width: 220px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  animation: reddog-summary-in 0.2s ease-out;
}
@keyframes reddog-summary-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.red-dog-summary-content p {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(228, 226, 236, 0.75);
  line-height: 1.45;
}
.red-dog-summary-content p:first-child {
  font-weight: 600;
  color: rgba(228, 226, 236, 0.9);
}

/* Push-to-talk listening indicator */
.red-dog-listening {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: 20px;
  padding: 0.35rem 0.75rem;
  animation: reddog-summary-in 0.2s ease-out;
}
.red-dog-listening-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(0, 212, 170, 0.85);
}
.red-dog-listening-waves {
  display: flex;
  align-items: center;
  gap: 2px;
}
.red-dog-listening-waves span {
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: rgba(0, 212, 170, 0.6);
  animation: reddog-wave 0.8s ease-in-out infinite;
}
.red-dog-listening-waves span:nth-child(2) { animation-delay: 0.15s; }
.red-dog-listening-waves span:nth-child(3) { animation-delay: 0.3s; }
@keyframes reddog-wave {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

.overlay-scrim {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 9, 0.66);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.red-dog-panel,
.foundup-overlay {
  position: fixed;
  z-index: 101;
}

.red-dog-panel {
  right: 1.25rem;
  bottom: 6rem;
  width: min(24rem, calc(100vw - 2rem));
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1.6rem;
  background: var(--surface-strong);
}

.red-dog-header,
.red-dog-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.red-dog-avatar {
  width: 42px;
}

.red-dog-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.red-dog-message {
  margin: 0;
  line-height: 1.5;
}

.red-dog-section {
  margin-bottom: 0;
}

.red-dog-readiness-key {
  display: grid;
  gap: 0.45rem;
}

.red-dog-readiness-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-size: 0.78rem;
  line-height: 1.4;
}

.rd-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.rd-dot-ready { background: #4ade80; }
.rd-dot-conditional { background: #ffd700; }
.rd-dot-discoverable { background: rgba(243,241,248,0.3); }

.red-dog-readiness-text {
  color: var(--text-dim);
}

.red-dog-readiness-text strong {
  color: var(--text);
  font-weight: 600;
}

.invite-stack {
  display: grid;
  gap: 0.55rem;
}

.invite-chip,
.red-dog-logout {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface-soft);
  color: var(--text);
  cursor: pointer;
}

.invite-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  font-family: var(--mono);
}

.invite-chip.used {
  opacity: 0.5;
  cursor: default;
}

.red-dog-logout {
  padding: 0.95rem 1rem;
  font-weight: 600;
}

.foundup-overlay {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(44rem, calc(100vw - 2rem));
}

.foundup-overlay-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
}

.foundup-overlay-hero {
  display: grid;
  gap: 0.35rem;
}

.foundup-overlay-name {
  font-size: clamp(2.2rem, 7vw, 4.3rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  font-weight: 800;
}

.foundup-overlay-tagline,
.foundup-overlay-description,
.foundup-overlay-footnote {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.foundup-overlay-footnote {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Source context: type + destination domain */
.foundup-overlay-source-context {
  font-size: 0.78rem;
  text-transform: capitalize;
  color: var(--text-muted, rgba(243, 241, 248, 0.46));
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

/* Actions container */
.foundup-overlay-actions {
  display: flex;
  justify-content: center;
  margin: 1rem 0 0.5rem;
}

/* Primary CTA: dominant action button */
.foundup-overlay-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  min-width: 180px;
  background: rgba(0, 212, 170, 0.15);
  border: 1px solid rgba(0, 212, 170, 0.4);
  border-radius: 12px;
  color: #00d4aa;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.1s;
}
.foundup-overlay-primary-cta:hover {
  background: rgba(0, 212, 170, 0.25);
}
.foundup-overlay-primary-cta:active {
  transform: scale(0.98);
}

/* Secondary actions container */
.foundup-overlay-secondary-actions {
  text-align: center;
  margin-bottom: 0.75rem;
}

/* Secondary link: demoted entry-page path */
.foundup-overlay-secondary-link {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  color: var(--text-muted, rgba(243, 241, 248, 0.46));
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.foundup-overlay-secondary-link:hover {
  color: var(--text-dim, rgba(243, 241, 248, 0.7));
  text-decoration: underline;
}

/* Legacy: kept for backwards compatibility */
.foundup-overlay-source-type {
  font-size: 0.78rem;
  text-transform: capitalize;
  color: var(--text-muted, rgba(243, 241, 248, 0.46));
  letter-spacing: 0.04em;
}

.foundup-overlay-source-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: 10px;
  color: #00d4aa;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.15s;
}
.foundup-overlay-source-cta:hover {
  background: rgba(0, 212, 170, 0.18);
}

@media (min-width: 900px) {
  .mall-shell {
    padding: 2rem;
  }

  .mall-track {
    grid-auto-columns: minmax(54rem, 54rem);
    padding-inline: calc((100vw - 54rem) / 2);
    scroll-padding-inline: calc((100vw - 54rem) / 2);
  }

  .mall-focus-grid,
  .foundup-overlay-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .mall-shell {
    padding: 1rem 1rem 6rem;
  }

  .mall-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .mall-userline {
    justify-content: flex-start;
  }

  .mall-track {
    grid-auto-columns: minmax(86vw, 86vw);
    padding-inline: 7vw;
    scroll-padding-inline: 7vw;
    margin-inline: -1rem;
  }

  .mall-card {
    min-height: 60vh;
  }

  .mall-card-art {
    min-height: 18rem;
  }

  .red-dog-panel {
    right: 1rem;
    left: 1rem;
    width: auto;
  }
}
