html {
  zoom: 0.8;
}

/* ── Skin BG ── */
#app-skin-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: background-image .6s var(--ease-out);
  opacity: .45
}

#app-skin-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.45) 0%, rgba(8, 8, 10, 0.85) 100%)
}

/* ── App Shell ── */
#app {
  position: relative;
  z-index: 1;
  display: none;
  min-height: 100vh;
  padding-top: 60px;
  padding-bottom: 80px
}

#app.active {
  display: block;
  animation: fadeIn .4s var(--ease-out)
}

.homepage.active,
.directory-page.active {
  animation: macOsScaleUp 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  transform-origin: bottom center;
}

/* ── Top Nav ── */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
  gap: 16px;
  pointer-events: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  pointer-events: auto
}

.nav-search input {
  width: 100%;
  height: 38px;
  padding: 0 16px 0 40px;
  background: var(--bg-input);
  border: 1px solid var(--border-edge);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--text-hi);
  transition: border-color var(--duration)
}

.nav-search input::placeholder {
  color: var(--text-lo)
}

.nav-search input:focus {
  outline: none;
  border-color: var(--orange)
}

.nav-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text-lo)
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0
}

.nav-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-input);
  font-size: 16px;
  transition: background var(--duration)
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.1)
}

.nav-bell-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  border: 2px solid var(--bg-page)
}

/* ── Skin Picker ── */
.skin-picker {
  position: relative
}

/* Skin toggle — premium clean styling */
.skin-toggle-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-mid);
  font-family: var(--font-sans);
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.skin-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 255, 255, 0.05);
}

.skin-toggle-btn:active {
  transform: scale(0.97);
}

.skin-toggle-thumb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.skin-toggle-btn:hover .skin-toggle-thumb {
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.skin-toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.3px;
  transition: color 0.2s
}

.skin-toggle-btn:hover .skin-toggle-label {
  color: var(--text-hi)
}

.skin-toggle-btn > svg {
  color: var(--text-lo);
  flex-shrink: 0;
  transition: transform 0.2s, color 0.2s;
  position: relative;
  z-index: 1
}

.skin-toggle-btn:hover > svg {
  transform: translateY(1px);
  color: var(--text-mid)
}

/* Download button — SaaS style (filled) */
.download-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  color: #0a0a0a;
  text-decoration: none;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15)
}

.download-btn:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2)
}

.download-btn:active {
  transform: scale(0.97);
  background: #e5e5e5
}

.download-btn svg {
  opacity: 0.7
}

/* Log in link — SaaS style */
.login-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
  letter-spacing: 0.1px;
  pointer-events: auto;
  padding: 4px 0
}

.login-link:hover {
  color: var(--text-hi)
}

.skin-current-thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 50%
}

.skin-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: none;
  padding: 12px;
  background: rgba(15, 15, 18, 0.8);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  z-index: 200;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  flex-direction: row;
  animation: skinAppear 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top left;
}

@keyframes skinAppear {
  from { opacity: 0; transform: scale(0.95) translateY(-10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.skin-grid {
  display: flex;
  flex-wrap: wrap;
  width: 264px;
  gap: 6px;
}

.skin-tools {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 12px;
  margin-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.skin-color-tool {
  color: var(--text-mid);
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skin-color-tool:hover {
  color: var(--orange);
  transform: scale(1.1);
}

.skin-dropdown.open {
  display: flex
}

.skin-dropdown .skin-option {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.skin-dropdown .skin-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--text-mid);
}

.skin-dropdown .skin-upload-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-style: solid;
  color: #fff;
}

.skin-dropdown .skin-option:hover {
  transform: scale(1.1);
  border-color: var(--orange-hot)
}

.skin-dropdown .skin-option.active {
  border-color: var(--orange)
}

.skin-dropdown .skin-name {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--text-lo);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s
}

.skin-dropdown .skin-option:hover .skin-name {
  opacity: 1
}

/* ── User Mini Ribbon (top nav) ── */
.user-mini-ribbon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--duration)
}

.user-mini-ribbon:hover {
  background: rgba(255, 255, 255, 0.06)
}

.user-mini-ribbon .ribbon-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0
}

.user-mini-ribbon .ribbon-title {
  font-size: 11px;
  color: var(--text-mid);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06)
}

.user-mini-ribbon .ribbon-emblem {
  width: 18px;
  height: 18px;
  color: var(--text-mid);
  animation: breathe 3s ease-in-out infinite
}

/* ── Bottom Nav (Floating Glass Pill - Premium) ── */
.bottom-nav {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: calc(100% - 32px);
  max-width: 420px;
  padding: 6px 12px;
  background: rgba(18, 18, 22, 0.72);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  padding: 8px 4px 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  position: relative;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bottom-nav-item:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.bottom-nav-item:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.08);
}

.bottom-nav-item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.bottom-nav-item .nav-icon {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.bottom-nav-item .nav-icon svg {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: rgba(255, 255, 255, 0.45);
  width: 20px;
  height: 20px;
}

.bottom-nav-item:hover .nav-icon svg {
  color: rgba(255, 255, 255, 0.85);
}

.bottom-nav-item.active .nav-icon svg {
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* Center W button (legacy — hidden via v10 CSS) */
.bottom-nav-item.center-w {
  display: none;
}

.bottom-nav-badge {
  position: absolute;
  top: 4px;
  right: calc(50% - 18px);
  min-width: 14px;
  height: 14px;
  padding: 0 4px;
  font-size: 8px;
  font-weight: 800;
  background: #FF3B30;
  color: #fff;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(18, 18, 22, 0.95);
}

/* ── Main Content Area ── */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px
}

/* ── Shared Card Style ── */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--duration), border-color var(--duration), box-shadow var(--duration)
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3)
}

/* ── Profile Overlay ── */
.profile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center
}

.profile-overlay.open {
  display: flex;
  animation: fadeIn .2s
}

.profile-card {
  width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  animation: fadeInUp .3s var(--ease-out)
}

.profile-hero {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
  overflow: hidden
}

.profile-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--bg-page) 100%)
}

.profile-hero .profile-avatar {
  position: absolute;
  bottom: -20px;
  left: 24px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  z-index: 2;
  border: 3px solid var(--bg-page)
}

.profile-hero .profile-emblem {
  position: absolute;
  bottom: 16px;
  right: 20px;
  width: 28px;
  height: 28px;
  z-index: 2;
  animation: breathe 3s ease-in-out infinite
}

.profile-body {
  padding: 32px 24px 24px
}

.profile-body .profile-name {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px
}

.profile-body .profile-name .status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%
}

.profile-body .status-dot.online {
  background: var(--neon-green)
}

.profile-body .status-dot.idle {
  background: #fbbf24
}

.profile-body .status-dot.offline {
  background: var(--text-lo)
}

.profile-body .profile-handle {
  font-size: 13px;
  color: var(--text-lo);
  margin-top: 2px
}

.profile-body .profile-role {
  font-size: 12px;
  color: var(--text-mid);
  margin-top: 4px
}

.profile-badges {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap
}

.profile-badges .badge {
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px
}

.profile-bio {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 12px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.profile-stats {
  display: flex;
  gap: 24px;
  margin-top: 16px
}

.profile-stats .stat {
  text-align: center
}

.profile-stats .stat-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-hi)
}

.profile-stats .stat-label {
  font-size: 10px;
  color: var(--text-lo);
  text-transform: uppercase;
  letter-spacing: 1px
}

.profile-links {
  display: flex;
  gap: 6px;
  margin-top: 16px;
  flex-wrap: wrap
}

.profile-links .link-pill {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  transition: background var(--duration)
}

.profile-links .link-pill:hover {
  background: rgba(255, 255, 255, 0.2)
}

.profile-footer {
  font-size: 11px;
  color: var(--text-lo);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-edge)
}

/* ── Cinematic Landscape Card ── */
.cinematic-landscape-card {
  position: relative;
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 12px 24px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
}
.cinematic-landscape-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.15), 0 24px 48px rgba(0,0,0,0.7);
  border-color: rgba(255,255,255,0.1);
}
.cinematic-landscape-card .c-bg {
  position: absolute;
  inset: -10px;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.cinematic-landscape-card:hover .c-bg {
  transform: scale(1.05);
}
.cinematic-landscape-card .c-overlay-diagonal {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(10,10,15,0.4) 0%, transparent 60%);
  z-index: 2;
  transition: opacity 0.4s ease;
}
.cinematic-landscape-card:hover .c-overlay-diagonal {
  opacity: 0.2;
}
.cinematic-landscape-card .c-content {
  position: absolute;
  inset: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  z-index: 3;
}
.cinematic-landscape-card .c-badge {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: #F44336;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(244,67,54,0.3);
}
.cinematic-landscape-card .c-title {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px 0;
  letter-spacing: -1px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.cinematic-landscape-card .c-cta {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cinematic-landscape-card:hover .c-cta {
  opacity: 1;
  transform: translateX(4px);
}
.cinematic-landscape-card .c-price-tag {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.8), 0 1px 3px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
}

.cinematic-landscape-card .c-members-tag {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.15);
  padding: 8px 16px;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.cinematic-landscape-card .c-members-tag svg {
  color: rgba(255, 255, 255, 0.9);
  width: 18px;
  height: 18px;
}

.directory-grid.advanced-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 24px;
  padding: 0 20px 40px;
}
.directory-main-content {
  padding-top: 40px;
}
.dir-header-group {
  padding: 0 20px;
}

/* ── Category Tabs ── */
.category-tabs-container {
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 32px;
}

.category-tabs {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-lo);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  flex-shrink: 0;
}

.category-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px 2px 0 0;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.category-tab span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transition: all 0.3s;
}

.category-tab:hover {
  color: var(--text-hi);
}

.category-tab:hover span:first-child {
  opacity: 0.8;
  transform: translateY(-1px);
}

.category-tab.active {
  color: #fff;
}

.category-tab.active::after {
  transform: scaleX(1);
}

.category-tab.active span:first-child {
  opacity: 1;
  color: rgba(255, 255, 255, 0.9);
}

.category-tab .tab-count {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-lo);
  margin-left: 4px;
  transition: all 0.3s;
}

.category-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

/* ── Directory Grid ── */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 20px
}

@media(max-width:1024px) {
  .directory-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:640px) {
  .directory-grid {
    grid-template-columns: 1fr
  }
}

/* ── Author Ribbon ── */
.author-ribbon {
  display: flex;
  align-items: center;
  gap: 8px
}

.author-ribbon .ribbon-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  cursor: pointer
}

.author-ribbon .ribbon-info {
  display: flex;
  flex-direction: column
}

.author-ribbon .ribbon-name {
  font-size: 13px;
  font-weight: 600;
  cursor: pointer
}

.author-ribbon .ribbon-name:hover {
  color: var(--orange)
}

.author-ribbon .ribbon-title-chip {
  font-size: 10px;
  color: var(--text-lo);
  padding: 1px 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-top: 1px
}

.author-ribbon .ribbon-emblem {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  animation: breathe 3s ease-in-out infinite
}

/* ── Vault Tease ── */
.vault-section {
  margin: 0 20px 24px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(183, 148, 246, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15)
}

.vault-section .vault-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  margin-bottom: 12px
}

.vault-section .vault-headline {
  font-size: 24px;
  font-weight: 800
}

.vault-section .vault-sub {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 8px;
  max-width: 400px;
  line-height: 1.6
}

.vault-section .vault-cta {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius-pill);
  transition: background var(--duration)
}

.vault-section .vault-cta:hover {
  background: var(--orange-hot)
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px
}

.vault-tile {
  height: 72px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-card);
  transition: border-color var(--duration)
}

.vault-tile:hover {
  border-color: var(--orange)
}

.vault-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6)
}

.vault-tile .lock-chip {
  position: absolute;
  bottom: 4px;
  right: 4px;
  z-index: 1;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  font-weight: 600
}

.vault-tile .lock-chip.level {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-lo)
}

.vault-tile .lock-chip.winr-plus {
  background: rgba(255, 255, 255, 0.2);
  color: var(--orange)
}

/* ── Splash Text ── */
.winnr-splash {
  position: relative;
  font-family: 'Arial Black', Impact, sans-serif;
  font-size: 240px;
  font-weight: 900;
  letter-spacing: -14px;
  line-height: 1;
  background-image: var(--hero-bg, linear-gradient(135deg, #ffffff 0%, var(--orange) 100%));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 4px #fff;
  animation: shineMetal 1200s ease-in-out infinite alternate, liquidMotion 60s ease-in-out infinite;
  display: inline-block;
  padding-right: 24px;
}



@keyframes liquidMotion {
  0% {
    transform: translateY(0) scale(1) skewX(0deg)
  }

  50% {
    transform: translateY(-8px) scale(1.02) skewX(-2deg)
  }

  100% {
    transform: translateY(0) scale(1) skewX(0deg)
  }
}

@keyframes pulseAura {
  0% {
    opacity: 0.3;
    transform: scale(1)
  }

  100% {
    opacity: 0.8;
    transform: scale(1.05)
  }
}

@keyframes shineMetal {
  0% {
    background-position: 0% 50%
  }

  100% {
    background-position: 100% 50%
  }
}

@keyframes cinematicBg {
  0% {
    background-position: 0% 0%;
    transform: scale(1)
  }

  50% {
    transform: scale(1.15)
  }

  100% {
    background-position: 100% 100%;
    transform: scale(1.05)
  }
}

@keyframes holoSweep {
  0% {
    left: -100%
  }

  20%,
  100% {
    left: 200%
  }
}

@keyframes shopTicker {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(calc(-50% - 8px))
  }
}

@keyframes slideArrow {

  0%,
  100% {
    transform: translateX(0)
  }

  50% {
    transform: translateX(4px)
  }
}

.animated-title-text {
  font-family: 'Arial Black', Impact, sans-serif;
  font-weight: 900;
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineMetal 6s linear infinite alternate;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
}

/* ── Quick Access Bar (Floating, no cards) ── */
.quick-access-bar {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  justify-content: center;
  padding: 8px 0;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0
}

.qa-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 14px;
  background: none !important;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275)
}

.qa-icon:hover {
  transform: translateY(-4px) scale(1.08);
  background: none !important
}

.qa-icon:active {
  transform: scale(0.92)
}

.qa-icon-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.25s ease, color 0.2s ease
}

.qa-icon:hover .qa-icon-wrap {
  background: none !important;
  color: #fff;
  filter: drop-shadow(0 0 14px rgba(255,255,255,0.35))
}

.qa-icon-wrap svg {
  width: 26px;
  height: 26px;
  transition: opacity 0.2s
}

.qa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 9px;
  font-weight: 700;
  background: #FF3B30;
  color: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-page);
  line-height: 1
}

.qa-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.2px;
  transition: color 0.2s
}

.qa-icon:hover .qa-label {
  color: rgba(255, 255, 255, 0.7)
}

/* ── Premium CTA Buttons ── */

.btn-premium {
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 1px
}

.btn-premium svg {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275)
}

.btn-premium:hover svg {
  transform: scale(1.15)
}

.btn-premium.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-hi);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3)
}

.btn-premium.glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5)
}

.btn-premium.glow {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--orange);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05), 0 8px 32px rgba(255, 255, 255, 0.1)
}

.btn-premium.glow:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1), 0 12px 40px rgba(255, 255, 255, 0.25);
  text-shadow: 0 0 8px var(--orange)
}

@keyframes floatGlow {

  0%,
  100% {
    transform: translateY(0);
    filter: drop-shadow(0 20px 40px rgba(255, 255, 255, 0.3))
  }

  50% {
    transform: translateY(-12px);
    filter: drop-shadow(0 30px 60px rgba(255, 255, 255, 0.6))
  }
}

/* ── Onboarding Sketch Hints ── */
.sketch-hint {
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: flex;
  align-items: center;
  gap: 4px
}

.sketch-hint.visible {
  opacity: 1;
  transform: translateY(0)
}

.sketch-text {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  font-style: italic;
  letter-spacing: 0.2px;
  white-space: nowrap;
  font-family: var(--font-sans)
}

@keyframes float-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.sketch-okay {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.5px;
  text-transform: uppercase
}

.sketch-okay:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px)
}

.sketch-okay:active {
  transform: scale(0.95)
}

.sketch-arrow-down {
  flex-shrink: 0;
  animation: sketchBob 2s ease-in-out infinite
}

@keyframes sketchBob {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(3px) }
}

/* ══════════════════════════════════════════════════════════════
   AUTH OVERLAY
   ══════════════════════════════════════════════════════════════ */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: authFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes authFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-modal {
  width: 100%;
  max-width: 400px;
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 
    0 24px 48px rgba(0, 0, 0, 0.6),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  position: relative;
  transform: scale(0.95) translateY(10px);
  animation: authModalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.05s;
  opacity: 0;
}

@keyframes authModalIn {
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-lo);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}
.auth-close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}
.auth-w {
  width: auto;
  padding: 0 16px;
  height: 48px;
  background: linear-gradient(180deg, #18181b 0%, #000 100%);
  color: #fff;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  margin: 0 auto 20px auto;
  box-shadow: 
    0 8px 16px rgba(0, 0, 0, 0.6), 
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    inset 0 -2px 4px rgba(0,0,0,1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.auth-w::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-20deg);
  animation: logoShine 4s infinite 2s;
}
.auth-w span {
  color: var(--orange);
  text-shadow: 0 0 12px rgba(255, 255, 255,0.4);
}
.auth-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.auth-header p {
  font-size: 14px;
  color: var(--text-mid);
}

.auth-providers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-btn-social {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-hi);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.auth-btn-social:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.2);
}
.auth-btn-social:active {
  transform: translateY(1px);
}

/* Discord — premium gradient, the marquee provider */
.auth-btn-discord {
  background: linear-gradient(135deg, rgba(88,101,242,0.22) 0%, rgba(88,101,242,0.10) 100%);
  border-color: rgba(88,101,242,0.35);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px -8px rgba(88,101,242,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
}
.auth-btn-discord svg { color: #fff; filter: drop-shadow(0 0 6px rgba(88,101,242,0.6)); }
.auth-btn-discord::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.auth-btn-discord:hover {
  background: linear-gradient(135deg, rgba(88,101,242,0.34) 0%, rgba(88,101,242,0.18) 100%);
  border-color: rgba(88,101,242,0.6);
  box-shadow: 0 8px 32px -8px rgba(88,101,242,0.7), inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateY(-1px);
}
.auth-btn-discord:hover::before { transform: translateX(110%); }

/* ══════════════════════════════════════════════════════════════
   FEED RIBBON — premium identity card on each What's-Happening row
   ══════════════════════════════════════════════════════════════ */
.feed-ribbon {
  position: relative;
  width: 248px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 -20px 30px -16px rgba(0,0,0,0.55),
    0 6px 18px -10px rgba(0,0,0,0.6);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease, border-color 0.3s ease;
  isolation: isolate;
}
.feed-ribbon::before {
  /* Vertical gradient for legibility regardless of bg image */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}
.feed-ribbon::after {
  /* Diagonal shimmer that sweeps on hover */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.85s cubic-bezier(0.16,1,0.3,1);
  z-index: 2;
  pointer-events: none;
}
.feed-item:hover .feed-ribbon { transform: translateY(-1px); border-color: rgba(255,255,255,0.18); }
.feed-item:hover .feed-ribbon::after { transform: translateX(130%); }

.feed-ribbon-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 12px 8px 8px;
  height: 100%;
}

.feed-ribbon-pfp {
  position: relative;
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.45), 0 0 0 3px var(--ribbon-glow, rgba(255,255,255,0.35)), 0 4px 10px rgba(0,0,0,0.5);
}
.feed-ribbon-pfp::after {
  /* Outer halo tinted by emblem color */
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ribbon-glow, rgba(255,255,255,0.35)) 0%, transparent 70%);
  opacity: 0.5;
  z-index: -1;
  filter: blur(4px);
}

.feed-ribbon-text {
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0; flex: 1;
}
.feed-ribbon-name {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 800; color: #fff;
  letter-spacing: 0.3px; line-height: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 150px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.feed-ribbon-verified {
  width: 11px; height: 11px;
  color: #4FC3F7;
  filter: drop-shadow(0 0 3px rgba(79,195,247,0.7));
  flex-shrink: 0;
}
.feed-ribbon-title-chip {
  font-size: 9px; font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.9px;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  max-width: 140px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.feed-ribbon-emblem {
  position: absolute;
  right: 11px; top: 50%; transform: translateY(-50%);
  z-index: 4;
  width: 22px; height: 22px;
  color: var(--ribbon-glow, #fff);
  filter: drop-shadow(0 0 6px var(--ribbon-glow, rgba(255,255,255,0.6)));
  animation: ribbonEmblemPulse 2.4s ease-in-out infinite;
}
.feed-ribbon-emblem svg { width: 100%; height: 100%; display: block; }

@keyframes ribbonEmblemPulse {
  0%, 100% { filter: drop-shadow(0 0 4px var(--ribbon-glow, rgba(255,255,255,0.5))); transform: translateY(-50%) scale(1); }
  50%      { filter: drop-shadow(0 0 10px var(--ribbon-glow, rgba(255,255,255,0.9))); transform: translateY(-50%) scale(1.08); }
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  color: var(--text-lo);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-divider span {
  padding: 0 12px;
}

.auth-email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}
.auth-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}
.auth-input::placeholder {
  color: var(--text-lo);
}

.auth-submit {
  width: 100%;
  padding: 14px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.auth-submit:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}
.auth-submit:active {
  transform: translateY(1px);
}

.auth-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-mid);
}
.auth-footer a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
  transition: color 0.2s;
}
.auth-footer a:hover {
  color: var(--orange);
}

/* ══════════════════════════════════════════════════════════════
   DOWNLOAD OVERLAY
   ══════════════════════════════════════════════════════════════ */
.dl-modal {
  width: 100%;
  max-width: 460px;
  background: rgba(10, 10, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: 
    0 32px 64px rgba(0, 0, 0, 0.7),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  animation: authModalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.05s;
  opacity: 0;
}

.dl-hero {
  position: relative;
  height: 200px;
  background: linear-gradient(180deg, rgba(20,20,24,1) 0%, rgba(10,10,12,1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
}

.dl-hero-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  transform: perspective(500px) rotateX(60deg) translateY(-50px) scale(2);
  opacity: 0.5;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: perspective(500px) rotateX(60deg) translateY(0) scale(2); }
  100% { transform: perspective(500px) rotateX(60deg) translateY(40px) scale(2); }
}

.dl-logo-container {
  position: relative;
  z-index: 2;
}

.dl-logo {
  width: auto;
  padding: 0 24px;
  height: 64px;
  background: linear-gradient(180deg, #18181b 0%, #000 100%);
  color: #fff;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 
    0 16px 32px rgba(0, 0, 0, 0.9), 
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    inset 0 -2px 4px rgba(0,0,0,1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.dl-logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-20deg);
  animation: logoShine 4s infinite 2s;
}
@keyframes logoShine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}
.dl-logo span {
  color: var(--orange);
  text-shadow: 0 0 16px rgba(255, 255, 255,0.4);
}

.dl-pulse {
  position: absolute;
  inset: -20px;
  background: var(--orange);
  border-radius: 30px;
  filter: blur(20px);
  opacity: 0.3;
  z-index: 1;
  animation: dlPulse 3s ease-in-out infinite;
}

@keyframes dlPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.2); opacity: 0.5; }
}

.dl-content {
  padding: 32px;
  text-align: center;
}

.dl-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.dl-content p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 32px;
}

.dl-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dl-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.dl-btn.windows {
  background: #fff;
  color: #000;
  box-shadow: 0 4px 12px rgba(255,255,255,0.1);
}

.dl-btn.windows:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}

/* ══════════════════════════════════════════════════════════════
   CALENDAR PAGE (WINR-V7) - CINEMATIC TIMELINE
   ══════════════════════════════════════════════════════════════ */
.cal-toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}
.cal-toggle {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-pill);
  padding: 4px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}
.cal-toggle-btn {
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.cal-toggle-btn:hover {
  color: #fff;
}
.cal-toggle-btn.active {
  background: var(--bg-elev);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cal-layout {
  display: flex;
  gap: 64px;
  width: 100%;
  max-width: 1100px;
  position: relative;
}

/* ── Left Sidebar (Mini Cal) ── */
.cal-sidebar {
  flex: 0 0 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cal-mini-glass {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.cal-mini-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.cal-month {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.cal-nav-arrows {
  display: flex;
  gap: 12px;
  color: var(--text-mid);
}
.cal-nav-arrows svg {
  cursor: pointer;
  transition: color 0.2s;
}
.cal-nav-arrows svg:hover {
  color: #fff;
}
.cal-mini-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
}
.cal-mini-dow {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-lo);
  margin-bottom: 12px;
}
.cal-mini-day {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-hi);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  margin: 0 auto;
}
.cal-mini-day:hover {
  background: rgba(255, 255, 255, 0.1);
}
.cal-mini-day.active {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}
.cal-mini-day.has-event::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #39ff14;
  box-shadow: 0 0 6px #39ff14;
}
.cal-mini-day.active.has-event::after {
  background: #fff;
  box-shadow: none;
}

/* ── Academy Courses Tracker ── */
.cal-academy-glass {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 24px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ac-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ac-header h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-hi);
  margin: 0;
}
.ac-header span {
  font-size: 11px;
  font-weight: 800;
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  background: rgba(57, 255, 20, 0.1);
  border-radius: var(--radius-pill);
}
.ac-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ac-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 16px;
  border-radius: 16px;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}
.ac-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.ac-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ac-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
}
.ac-deadline {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
}
.ac-deadline.due {
  color: #ff5f56;
}
.ac-ring-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ac-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ac-ring path {
  fill: none;
  stroke-width: 3.5;
}
.ring-bg {
  stroke: rgba(255, 255, 255, 0.1);
}
.ring-fill {
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease-out;
}
.ring-text {
  position: absolute;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

/* ── Right Timeline ── */
.cal-timeline-wrapper {
  flex: 1;
  position: relative;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cal-timeline-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}
.cal-timeline-header h2 {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}
.cal-timeline-header span {
  color: var(--text-lo);
  font-weight: 600;
}
.cal-timeline-pulse {
  width: 10px;
  height: 10px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--neon-green);
  animation: pulse 2s infinite;
}

.cal-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cal-no-events {
  font-size: 16px;
  color: var(--text-mid);
  padding: 40px;
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.1);
  text-align: center;
}
.cal-timeline-item {
  display: flex;
  min-height: 140px;
  opacity: 0;
  animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes slideInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.cal-time-col {
  flex: 0 0 100px;
  text-align: right;
  padding-right: 24px;
  padding-top: 24px;
}
.cal-time-glow {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 12px rgba(255,255,255,0.3);
}
.cal-time-ampm {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-lo);
}

.cal-node-col {
  flex: 0 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.cal-node {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-body);
  border: 4px solid var(--accent);
  box-shadow: 0 0 16px var(--accent);
  margin-top: 26px;
  position: relative;
  z-index: 2;
}
.cal-line {
  position: absolute;
  top: 42px;
  bottom: -26px;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(to bottom, var(--accent) 0%, rgba(255,255,255,0.05) 100%);
  z-index: 1;
}

.cal-content-col {
  flex: 1;
  padding-left: 24px;
  padding-bottom: 32px;
}
.cal-event-glass {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}
.cal-event-glass::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--accent);
  opacity: 0.5;
  transition: opacity 0.3s;
}
.cal-event-glass:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.cal-event-glass:hover::before {
  opacity: 1;
  box-shadow: 0 0 20px var(--accent);
}

.cal-event-top {
  margin-bottom: 16px;
}
.cal-e-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.cal-e-comm {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
}

/* Instant Advanced Description Block */
.cal-desc-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 100%);
  border-left: 2px solid var(--accent);
  border-radius: 0 12px 12px 0;
  margin-bottom: 24px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.05);
}
.cal-desc-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px var(--accent));
}
.cal-desc-icon svg {
  width: 16px; height: 16px;
}
.cal-desc-text {
  font-size: 13px;
  color: var(--text-hi);
  line-height: 1.5;
  font-weight: 500;
}

.cal-event-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.cal-badge-pill {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.cal-rsvp-btn {
  background: #fff;
  color: #000;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}
.cal-rsvp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
}

/* ══════════════════════════════════════════════════════════════
   GUEST LANDING PAGE (3D SCREEN PREVIEW)
   ══════════════════════════════════════════════════════════════ */
.cal-guest-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  padding-bottom: 100px;
}
.cal-guest-landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1400px;
  width: 100%;
  margin-top: 20px;
  gap: 40px;
  padding: 0 40px;
}
.cal-guest-copy {
  max-width: 800px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cal-guest-subtitle {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cinematic-heading {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
  background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 12px rgba(255,255,255,0.15));
}
.cinematic-heading span {
  color: transparent;
}
.cal-guest-copy p {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.6;
}
.cal-guest-dl-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.cal-guest-dl-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
}
.cal-guest-dl-btn:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.05);
}
.cal-guest-dl-btn svg {
  opacity: 0.8;
}

/* The Flat Perspective Screen Wrapper */
.cal-guest-screen-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0 20px;
}
.cal-guest-screen {
  width: 900px;
  height: 560px;
  background: var(--bg-body);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 
    0 32px 64px rgba(0,0,0,0.8),
    0 0 100px rgba(255, 255, 255, 0.1),
    inset 0 1px 1px rgba(255,255,255,0.2);
  transform: none;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cal-screen-content {
  flex: 1;
  position: relative;
  pointer-events: none;
  /* Mathematically shrink the 1100px layout + padding down into the 900px box */
  width: 1200px;
  height: 746px;
  transform: scale(0.75);
  transform-origin: top left;
  padding: 40px;
}

.dl-btn.mac {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}

.dl-btn.mac:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.25);
}

.dl-btn-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dl-btn-title {
  font-size: 16px;
  font-weight: 700;
}

.dl-btn-sub {
  font-size: 12px;
  opacity: 0.7;
}

/* ════════════════════════════════════════════════════════════════
   MOBILE — fresh rewrite. Mobile-first vertical stack with iOS-grade
   rhythm, safe-area awareness, and a hero WINR splash that scales
   fluidly with the viewport while preserving the animated theme
   image fill. Sections: layout, top nav, hero, quick access, marketing
   block, sections+feed, empty states, bottom nav, auth modal,
   auth WINR splash, narrow phones, landscape phones.
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 768px){

  /* ── 1. Layout shell ─────────────────────────────────────── */
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }
  .main-content {
    padding: 14px 16px 24px !important;
  }
  .home-grid {
    flex-direction: column !important;
    gap: 24px !important;
    align-items: stretch !important;
  }
  .home-left,
  .home-right {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    gap: 20px !important;
  }

  /* ── 2. Top nav — compact glass bar ──────────────────────── */
  .top-nav {
    padding: 0 14px !important;
    height: 54px !important;
    background: rgba(10,10,12,0.6);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .top-nav .skin-toggle-label,
  .top-nav .download-btn span        { display: none; }
  .top-nav .skin-toggle-btn          { padding: 6px 10px 6px 6px; gap: 4px; }
  .top-nav .skin-toggle-thumb        { width: 24px; height: 24px; }
  .top-nav .download-btn             { padding: 8px 10px; }
  .top-nav .nav-actions              { gap: 8px !important; padding-right: 0 !important; }
  .top-nav .login-link {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
  }
  /* Theme picker becomes a bottom sheet floating above bottom nav */
  .skin-dropdown {
    position: fixed !important;
    top: auto !important;
    bottom: calc(80px + env(safe-area-inset-bottom)) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    z-index: 9999;
  }

  /* ── 3. Hero: WINR splash + tagline ──────────────────────── */
  /* Fluid sizing so the animated theme fill stays huge but never
     clips. Stays centered and proud on phones. */
  .winnr-splash {
    font-size: clamp(80px, 26vw, 140px) !important;
    letter-spacing: -3px !important;
    line-height: 0.9 !important;
    margin: 14px auto 8px !important;
    padding-right: 0 !important;
    text-align: center;
    -webkit-text-stroke-width: 3px !important;
  }
  /* "WHERE WINNERS SHOW UP" tagline directly under the splash */
  .home-left > div:not(.quick-access-bar):not(.winnr-splash):not(.hero-block) {
    font-size: 11px !important;
    letter-spacing: 6px !important;
    text-align: center;
  }

  /* ── 4. Quick-access bar (authed) ────────────────────────── */
  .quick-access-bar {
    gap: 22px !important;
    margin-top: 16px !important;
    justify-content: center !important;
    flex-wrap: wrap;
  }
  .qa-icon-wrap {
    width: 54px !important;
    height: 54px !important;
    border-radius: 16px !important;
  }
  .qa-icon-wrap svg { width: 22px !important; height: 22px !important; }
  .qa-label {
    font-size: 11px !important;
    margin-top: 6px !important;
    font-weight: 600;
  }

  /* ── 5. Marketing pitch block (unauthed) ─────────────────── */
  .hero-block {
    flex-direction: column !important;
    padding: 22px 18px !important;
    gap: 16px !important;
    text-align: left;
  }
  .hero-left      { max-width: 100% !important; }
  .hero-right     { display: none !important; }
  .hero-headline  { font-size: 26px !important; line-height: 1.15 !important; }
  .hero-sub       { font-size: 13px !important; line-height: 1.5 !important; }
  .hero-ctas      { gap: 10px !important; margin-top: 16px !important; flex-wrap: wrap; }
  .cta-primary,
  .cta-ghost      {
    padding: 12px 22px !important;
    font-size: 13px !important;
    flex: 1 1 auto;
    min-width: 140px;
  }

  /* ── 6. Section headers ──────────────────────────────────── */
  .home-right h2 {
    font-size: 22px !important;
    letter-spacing: -0.5px !important;
  }
  .home-right h2 + div { font-size: 12px !important; margin-top: 3px !important; }
  .home-right > div:last-child > div:first-child { margin-bottom: 14px !important; }

  /* ── 7. Activity feed — full-width tappable rows ─────────── */
  .feed-item {
    padding: 12px !important;
    gap: 12px !important;
    border-radius: 14px !important;
    flex-wrap: wrap;
  }
  .feed-item > div:first-child {
    flex: 1 1 100%;
    gap: 12px !important;
    align-items: center;
    min-width: 0;
  }
  .feed-item > div:last-child {
    flex: 1 1 100%;
    justify-content: flex-end;
    margin-top: 4px;
  }
  .feed-ribbon {
    width: 100% !important;
    max-width: none !important;
    height: 60px !important;
    flex-shrink: 0;
  }
  .feed-ribbon-pfp     { width: 38px; height: 38px; font-size: 13px; }
  .feed-ribbon-name    { font-size: 13px; max-width: 60vw; }
  .feed-ribbon-emblem  { width: 20px; height: 20px; right: 12px; }
  .feed-item > div:first-child > div:last-child {
    font-size: 13px !important;
    line-height: 1.4 !important;
    flex: 1 1 100%;
    margin-top: 8px;
  }

  /* ── 8. Empty state ("It's quiet in here…") ─────────────── */
  .activity-feed > div[style*="It's quiet"] {
    padding: 40px 20px !important;
    border-radius: 18px !important;
    border-width: 1px !important;
  }
  .activity-feed > div[style*="It's quiet"] svg  { width: 52px !important; height: 52px !important; }
  .activity-feed > div[style*="It's quiet"] h3   { font-size: 18px !important; }
  .activity-feed > div[style*="It's quiet"] p    { font-size: 13px !important; }
  .activity-feed > div[style*="It's quiet"] > div:last-child {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
  .activity-feed > div[style*="It's quiet"] button {
    padding: 12px 24px !important;
    font-size: 13px !important;
    flex: 1 1 auto;
    min-width: 130px;
  }

  /* ── 9. Bottom nav — elegant floating island on mobile ───────── */
  .bottom-nav {
    bottom: 16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 6px 10px !important;
    width: calc(100% - 24px) !important;
    max-width: 390px !important;
    background: rgba(18, 18, 22, 0.88) !important;
    backdrop-filter: blur(28px) saturate(1.4) !important;
    -webkit-backdrop-filter: blur(28px) saturate(1.4) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
    justify-content: center !important;
    gap: 4px !important;
  }
  .bottom-nav-item {
    width: auto !important;
    flex: 1 !important;
    padding: 6px 2px 4px !important;
    font-size: 9px !important;
    gap: 2px !important;
    min-height: auto !important;
    border-radius: 999px !important;
  }
  .bottom-nav-item .nav-icon svg { width: 18px !important; height: 18px !important; }
  .bottom-nav-item.center-w {
    display: none !important;
  }
  .bottom-nav-badge {
    top: 2px !important;
    right: calc(50% - 15px) !important;
    font-size: 8px !important;
  }

  /* ── 10. Auth modal — bottom-sheet feel ──────────────────── */
  .auth-overlay {
    align-items: flex-end !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
  }
  .auth-modal {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 24px 22px calc(24px + env(safe-area-inset-bottom)) !important;
    border-radius: 24px 24px 0 0 !important;
    animation: fadeInUp 0.32s var(--ease-cinematic) both;
  }
  .auth-providers   { gap: 10px !important; }
  .auth-btn-social  { padding: 14px !important; font-size: 14px !important; }
  .auth-input       { padding: 14px !important; font-size: 15px !important; }
  .auth-submit      { padding: 14px !important; font-size: 14px !important; }

  /* The animated WINR splash inside the auth header — scaled for the
     modal so the per-theme image fill stays readable on mobile. */
  .auth-winnr-splash {
    font-size: clamp(64px, 18vw, 96px) !important;
    letter-spacing: -4px !important;
    -webkit-text-stroke-width: 2px !important;
    margin: 4px auto 18px !important;
  }
}

/* ── Narrow phones (≤ 380px) ──────────────────────────────── */
@media (max-width: 380px){
  .winnr-splash      { font-size: 28vw !important; letter-spacing: -2px !important; }
  .auth-winnr-splash { font-size: 22vw !important; }
  .quick-access-bar  { gap: 16px !important; }
  .feed-ribbon-name  { max-width: 50vw; }
  .hero-headline     { font-size: 24px !important; }
  .main-content      { padding: 12px 14px 20px !important; }
}

/* ── Landscape phones — keep the splash from eating the screen ── */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 480px){
  .winnr-splash      { font-size: clamp(56px, 14vw, 96px) !important; margin: 6px auto 4px !important; }
  .auth-winnr-splash { font-size: clamp(48px, 12vw, 72px) !important; margin: 0 auto 10px !important; }
  .auth-modal        { border-radius: 18px !important; padding: 18px 22px !important; }
}