/*
Vibes 2.0 Fresh Foundation Layer
Version: 2.1.0
Purpose: clean visual replacement layer on top of proven WoWonder runtime contracts.
Rules:
- Do not own routes, data, AJAX, auth, chat, or database behavior.
- Do not mutate stock WoWonder stylesheet/style.css.
- Use Vibes-prefixed selectors for new composition surfaces.
- Keep visible copy in templates; keep visual decisions here.
*/

:root {
  --vibes-bg: #070912;
  --vibes-bg-soft: #0d1020;
  --vibes-surface: rgba(17, 24, 39, 0.86);
  --vibes-surface-strong: rgba(24, 31, 52, 0.94);
  --vibes-surface-glass: rgba(17, 24, 39, 0.72);
  --vibes-line: rgba(148, 163, 184, 0.18);
  --vibes-line-strong: rgba(167, 139, 250, 0.28);
  --vibes-text: #f8fafc;
  --vibes-text-muted: #a8b3cf;
  --vibes-text-soft: #cbd5e1;
  --vibes-accent: #8b5cf6;
  --vibes-accent-2: #22d3ee;
  --vibes-accent-3: #f472b6;
  --vibes-success: #34d399;
  --vibes-warn: #fbbf24;
  --vibes-radius-sm: 12px;
  --vibes-radius-md: 18px;
  --vibes-radius-lg: 26px;
  --vibes-radius-xl: 34px;
  --vibes-shadow-card: 0 18px 55px rgba(0, 0, 0, 0.28);
  --vibes-shadow-glow: 0 0 0 1px rgba(139, 92, 246, 0.18), 0 24px 80px rgba(56, 189, 248, 0.10);
  --vibes-page-max: 1480px;
  --vibes-rail: 340px;
  --vibes-gap: 22px;
}

.vibes-page,
.vibes-profile-page,
.vibes-feed-page,
.vibes-market-page {
  color: var(--vibes-text);
  width: 100%;
}

.vibes-surface,
.vibes-card,
.vibes-panel,
.vibes-module {
  background: var(--vibes-surface);
  border: 1px solid var(--vibes-line);
  border-radius: var(--vibes-radius-lg);
  box-shadow: var(--vibes-shadow-card);
  color: var(--vibes-text);
}

.vibes-card--glass,
.vibes-panel--glass {
  background: linear-gradient(145deg, rgba(24, 31, 52, 0.86), rgba(15, 23, 42, 0.72));
  border-color: var(--vibes-line-strong);
  box-shadow: var(--vibes-shadow-glow);
  backdrop-filter: blur(18px);
}

.vibes-kicker {
  color: var(--vibes-accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.vibes-title {
  color: var(--vibes-text);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.vibes-muted { color: var(--vibes-text-muted); }

.vibes-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, var(--vibes-rail));
  gap: var(--vibes-gap);
  align-items: start;
}

.vibes-grid-3 {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(280px, var(--vibes-rail));
  gap: var(--vibes-gap);
  align-items: start;
}

.vibes-button,
.vibes-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--vibes-line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--vibes-text);
  font-weight: 800;
  text-decoration: none;
}

.vibes-button--primary,
.vibes-action--primary {
  background: linear-gradient(135deg, var(--vibes-accent), var(--vibes-accent-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 35px rgba(139, 92, 246, 0.28);
}

.vibes-stack { display: grid; gap: var(--vibes-gap); }

@media (max-width: 1100px) {
  .vibes-grid-2,
  .vibes-grid-3 { grid-template-columns: 1fr; }
}

/* Vibes 2.2.0 Profile 2.0: visual authority layer */
body:has(.vibes2-profile-active) {
  background:
    radial-gradient(circle at 14% 8%, rgba(128, 77, 255, .34), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(0, 214, 255, .22), transparent 30%),
    linear-gradient(135deg, #070811 0%, #101226 48%, #171028 100%) !important;
  color: #f7f3ff;
}
.vibes2-profile-active ~ .row.page-margin.profile > .profile-container { display: none !important; }
.vibes2-profile-active ~ .row.page-margin.profile { margin: 0 !important; }
.vibes2-profile-page,
.vibes2-profile-page * { box-sizing: border-box; }
.vibes2-profile-page {
  width: min(100%, 1420px);
  margin: 0 auto;
  padding: 18px 18px 42px;
  color: #f8f4ff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.vibes2-profile-page a { color: inherit; text-decoration: none; }
.vibes2-profile-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 34px;
  min-height: 360px;
  background: #101224;
  box-shadow: 0 30px 90px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08);
}
.vibes2-hero-cover {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(95deg, rgba(7,8,17,.96) 0%, rgba(15,17,35,.84) 40%, rgba(19,14,36,.58) 100%),
    var(--vibes2-cover);
  background-size: cover;
  background-position: center;
  filter: saturate(1.08) contrast(1.05);
}
.vibes2-hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(166, 99, 255, .55), transparent 66%);
  pointer-events: none;
}
.vibes2-hero-content {
  position: relative;
  z-index: 2;
  min-height: 270px;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  padding: 58px 46px 36px;
}
.vibes2-avatar-wrap { position: relative; width: 156px; height: 156px; }
.vibes2-avatar {
  width: 156px !important;
  height: 156px !important;
  display: block;
  object-fit: cover;
  border-radius: 38px;
  border: 4px solid rgba(255,255,255,.84);
  box-shadow: 0 22px 60px rgba(0,0,0,.46), 0 0 0 10px rgba(255,255,255,.06);
  background: #fff;
}
.vibes2-avatar-ring {
  position: absolute;
  inset: -10px;
  border-radius: 46px;
  border: 1px solid rgba(255,255,255,.16);
  pointer-events: none;
}
.vibes2-identity-block { min-width: 0; max-width: 760px; }
.vibes2-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.13);
  color: #ddd4ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.vibes2-profile-name {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: clamp(42px, 5vw, 74px);
  line-height: .93;
  letter-spacing: -.065em;
  font-weight: 950;
  overflow-wrap: normal;
  word-break: normal;
}
.vibes2-profile-name a { color: #fff !important; }
.vibes2-verified, .vibes2-pro-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.vibes2-verified {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg,#6fe5ff,#9472ff);
  color: #070811;
  font-size: 20px;
}
.vibes2-pro-badge {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(135deg,#ffcc70,#ff7ccf);
  color: #170811;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
}
.vibes2-profile-status {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.55;
}
.vibes2-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.vibes2-profile-meta span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 700;
}
.vibes2-hero-actions {
  min-width: 250px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.vibes2-action-pill .btn,
.vibes2-action-primary,
.vibes2-action-secondary {
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  padding: 0 18px !important;
  font-weight: 900 !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: none !important;
  white-space: nowrap;
}
.vibes2-action-pill .btn,
.vibes2-action-secondary {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
}
.vibes2-action-primary {
  background: linear-gradient(135deg,#ffffff,#cfc3ff) !important;
  color: #16112b !important;
}
.vibes2-stat-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  padding: 0 46px 38px;
}
.vibes2-stat-strip a {
  min-height: 92px;
  border-radius: 24px;
  padding: 18px 20px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
}
.vibes2-stat-strip strong {
  display: block;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.04em;
}
.vibes2-stat-strip span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.65);
  font-weight: 800;
}
.vibes2-profile-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  margin: 18px 0;
  padding: 10px;
  border-radius: 26px;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.1);
}
.vibes2-profile-tabs a {
  flex: 0 0 auto;
  min-width: 108px;
  padding: 13px 18px;
  border-radius: 18px;
  color: rgba(255,255,255,.72);
  text-align: center;
  font-weight: 900;
}
.vibes2-profile-tabs a.active,
.vibes2-profile-tabs a:hover {
  color: #19132e;
  background: #fff;
}
.vibes2-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 20px;
  align-items: start;
}
.vibes2-profile-main,
.vibes2-profile-rail { min-width: 0; }
.vibes2-command-deck {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 16px;
  margin-bottom: 16px;
}
.vibes2-command-card,
.vibes2-composer-card,
.vibes2-feed-card,
.vibes2-rail-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255,255,255,.93);
  color: #17142b;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 65px rgba(0,0,0,.26);
}
.vibes2-command-card { padding: 26px; min-height: 180px; }
.vibes2-command-card:before,
.vibes2-feed-card:before,
.vibes2-rail-card:before,
.vibes2-composer-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg,#8b5cf6,#22d3ee,#f472b6);
}
.vibes2-card-label {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7159ca;
}
.vibes2-pulse-card h2 {
  margin: 12px 0 10px;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: -.05em;
  color: #16132c;
}
.vibes2-pulse-card p {
  margin: 0;
  color: #6b647d;
  font-size: 15px;
  line-height: 1.55;
}
.vibes2-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 18px;
}
.vibes2-action-grid a {
  display: flex;
  min-height: 94px;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg,#f5f1ff,#ffffff);
  border: 1px solid #e9e2ff;
}
.vibes2-action-grid strong { font-size: 27px; line-height: 1; color: #17142b; }
.vibes2-action-grid span { margin-top: 8px; color: #746b86; font-weight: 850; }
.vibes2-composer-card { margin-bottom: 16px; padding: 24px; }
.vibes2-composer-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.vibes2-composer-head img { width: 58px; height: 58px; border-radius: 18px; object-fit: cover; }
.vibes2-composer-head strong { display:block; font-size: 21px; color:#16132c; }
.vibes2-composer-head span { display:block; color:#746b86; font-weight: 650; margin-top: 3px; }
.vibes2-runtime-publisher .publisher-box,
.vibes2-runtime-publisher .wow_content,
.vibes2-runtime-publisher .panel,
.vibes2-runtime-publisher .post .panel { box-shadow: none !important; border-radius: 22px !important; }
.vibes2-feed-card { padding: 24px; }
.vibes2-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.vibes2-feed-head h3 { margin: 4px 0 0; color: #17142b; font-size: 28px; letter-spacing: -.04em; }
.vibes2-filter-wrap { max-width: 360px; }
.vibes2-posts-load .post,
.vibes2-posts-load .wow_content,
.vibes2-posts-load .panel {
  border-radius: 24px !important;
  border-color: rgba(113, 89, 202, .12) !important;
  box-shadow: 0 16px 38px rgba(28,21,58,.08) !important;
}
.vibes2-empty-state {
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border-radius: 28px;
  padding: 38px;
  background:
    radial-gradient(circle at 50% 0%, rgba(139,92,246,.16), transparent 35%),
    linear-gradient(180deg,#fbfaff,#f1effb);
  border: 1px solid #e7e0ff;
}
.vibes2-empty-orb {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(135deg,#7c3aed,#22d3ee);
  color: #fff;
  font-size: 38px;
  box-shadow: 0 18px 35px rgba(124,58,237,.26);
  margin-bottom: 18px;
}
.vibes2-empty-state h3 { margin: 0 0 8px; font-size: 28px; color: #17142b; letter-spacing: -.04em; }
.vibes2-empty-state p { max-width: 500px; color: #736b83; margin: 0 0 18px; font-size: 15px; line-height: 1.55; }
.vibes2-empty-state a,
.vibes2-load-more .btn {
  border-radius: 999px !important;
  background: #17142b !important;
  color: #fff !important;
  border: 0 !important;
  padding: 12px 18px !important;
  font-weight: 900 !important;
}
.vibes2-profile-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 78px;
}
.vibes2-rail-card { padding: 22px; }
.vibes2-rail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.vibes2-rail-title span { color: #716985; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.vibes2-rail-title strong { color: #7c3aed; font-size: 18px; }
.vibes2-snapshot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vibes2-snapshot-list li {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #eee9fb;
}
.vibes2-snapshot-list li:last-child { border-bottom: 0; }
.vibes2-snapshot-list b { color:#17142b; }
.vibes2-snapshot-list span { color:#746b86; text-align: right; overflow-wrap: anywhere; }
.vibes2-about-card p { color: #6d657d; line-height: 1.55; margin: 0 0 14px; }
.vibes2-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.vibes2-chip-row span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #f1edff;
  color: #5f44bd;
  font-weight: 850;
  font-size: 12px;
}
.vibes2-module-card .wow_content,
.vibes2-module-card .list-group,
.vibes2-module-card ul,
.vibes2-module-card .sidebar-users-may-know-container {
  box-shadow: none !important;
  border: 0 !important;
  background: transparent !important;
  margin: 0 !important;
}
.vibes2-module-card .wo_page_hdng_innr,
.vibes2-module-card .list-group-item:first-child,
.vibes2-module-card .page-margin:first-child {
  font-weight: 950 !important;
  color: #17142b !important;
}
.vibes2-completion-card [data-profile-completion],
.vibes2-completion-card ul { margin: 0 !important; }
@media (max-width: 1180px) {
  .vibes2-hero-content { grid-template-columns: 142px minmax(0,1fr); }
  .vibes2-hero-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .vibes2-avatar-wrap, .vibes2-avatar { width: 132px !important; height: 132px !important; }
  .vibes2-profile-grid { grid-template-columns: 1fr; }
  .vibes2-profile-rail { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .vibes2-profile-page { padding: 10px 10px 28px; }
  .vibes2-hero-content { display: flex; flex-direction: column; align-items: flex-start; padding: 32px 22px 24px; }
  .vibes2-profile-name { font-size: 40px; }
  .vibes2-stat-strip { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0 22px 26px; }
  .vibes2-command-deck { grid-template-columns: 1fr; }
  .vibes2-profile-rail { grid-template-columns: 1fr; }
  .vibes2-action-grid { grid-template-columns: 1fr; }
}

/* Vibes 2.2.1: main timeline is Vibes-owned; prevent stock profile duplicate render if fallback markup is present. */
.vibes2-profile-active ~ .page-margin.profile.wo_user_profile {
  display: none !important;
}


/* Vibes 2.2.2: Profile 2.2 visual expansion + polish.
   Purpose: larger Vibes-owned surface, stronger hierarchy, unified rail presence.
   Runtime contracts unchanged. */
body:has(.vibes2-profile-active) #contnet,
body:has(.vibes2-profile-active) .content-container,
body:has(.vibes2-profile-active) .main-container {
  background: transparent !important;
}
.vibes2-profile-page {
  width: min(100%, 1520px);
  padding: 22px 24px 56px;
}
.vibes2-profile-hero {
  min-height: 420px;
  border-radius: 38px;
  box-shadow: 0 36px 110px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.1);
}
.vibes2-hero-cover {
  background-image:
    radial-gradient(circle at 18% 28%, rgba(255,255,255,.18), transparent 18%),
    linear-gradient(95deg, rgba(7,8,17,.96) 0%, rgba(15,17,35,.82) 43%, rgba(26,16,48,.54) 100%),
    var(--vibes2-cover);
}
.vibes2-hero-content {
  min-height: 302px;
  grid-template-columns: 190px minmax(0, 1fr) minmax(260px, 340px);
  gap: 34px;
  padding: 68px 58px 42px;
  align-items: end;
}
.vibes2-avatar-wrap,
.vibes2-avatar {
  width: 174px !important;
  height: 174px !important;
}
.vibes2-avatar {
  border-radius: 42px;
  border-width: 5px;
}
.vibes2-avatar-ring {
  inset: -13px;
  border-radius: 54px;
  box-shadow: 0 0 50px rgba(139,92,246,.34);
}
.vibes2-kicker {
  margin-bottom: 15px;
  background: rgba(255,255,255,.13);
}
.vibes2-profile-name {
  font-size: clamp(52px, 5.8vw, 88px);
  max-width: 100%;
}
.vibes2-profile-status {
  max-width: 840px;
  font-size: 18px;
}
.vibes2-profile-meta span {
  padding: 9px 13px;
  font-size: 13.5px;
}
.vibes2-hero-actions {
  min-width: 280px;
  align-self: center;
  padding: 18px;
  border-radius: 28px;
  background: rgba(3, 7, 18, .38);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
}
.vibes2-action-pill .btn,
.vibes2-action-primary,
.vibes2-action-secondary {
  min-width: 126px;
}
.vibes2-stat-strip {
  gap: 16px;
  padding: 0 58px 44px;
}
.vibes2-stat-strip a {
  min-height: 112px;
  padding: 22px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.075));
}
.vibes2-stat-strip strong {
  font-size: 36px;
}
.vibes2-profile-tabs {
  margin: 22px 0;
  padding: 12px;
  border-radius: 30px;
}
.vibes2-profile-tabs a {
  min-width: 122px;
  padding: 15px 20px;
}
.vibes2-profile-grid {
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 24px;
}
.vibes2-command-deck {
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, .9fr);
  gap: 20px;
  margin-bottom: 20px;
}
.vibes2-command-card,
.vibes2-composer-card,
.vibes2-feed-card,
.vibes2-rail-card {
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(0,0,0,.30);
}
.vibes2-command-card {
  min-height: 210px;
  padding: 30px;
}
.vibes2-pulse-card h2 {
  font-size: 40px;
  max-width: 620px;
}
.vibes2-pulse-card p {
  font-size: 16px;
  max-width: 640px;
}
.vibes2-action-grid {
  gap: 12px;
}
.vibes2-action-grid a {
  min-height: 116px;
  border-radius: 26px;
}
.vibes2-action-grid strong {
  font-size: 32px;
}
.vibes2-composer-card {
  margin-bottom: 20px;
  padding: 28px;
}
.vibes2-composer-head img {
  width: 66px;
  height: 66px;
  border-radius: 22px;
}
.vibes2-composer-head strong {
  font-size: 24px;
}
.vibes2-feed-card {
  padding: 28px;
}
.vibes2-feed-head h3 {
  font-size: 32px;
}
.vibes2-empty-state {
  min-height: 360px;
}
.vibes2-profile-rail {
  gap: 20px;
}
.vibes2-rail-card {
  padding: 26px;
  border-radius: 32px;
}
.vibes2-completion-card {
  min-height: 340px;
}
.vibes2-rail-title {
  margin-bottom: 18px;
}
.vibes2-rail-title strong {
  font-size: 20px;
}
.vibes2-module-card img {
  max-width: 100%;
}
.vibes2-module-card .avatar,
.vibes2-module-card img.avatar {
  border-radius: 18px !important;
}
.vibes2-module-card .user-follow-button,
.vibes2-module-card .btn {
  border-radius: 999px !important;
}
@media (max-width: 1320px) {
  .vibes2-profile-page { width: min(100%, 1320px); }
  .vibes2-profile-grid { grid-template-columns: minmax(0, 1fr) 390px; }
  .vibes2-hero-content { grid-template-columns: 170px minmax(0,1fr) minmax(220px,300px); padding-left: 44px; padding-right: 44px; }
  .vibes2-avatar-wrap, .vibes2-avatar { width: 156px !important; height: 156px !important; }
  .vibes2-stat-strip { padding-left: 44px; padding-right: 44px; }
}
@media (max-width: 1180px) {
  .vibes2-hero-content { grid-template-columns: 142px minmax(0,1fr); }
  .vibes2-hero-actions { grid-column: 1 / -1; justify-content: flex-start; align-self: auto; }
  .vibes2-profile-grid { grid-template-columns: 1fr; }
  .vibes2-profile-rail { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .vibes2-profile-page { padding: 10px 10px 32px; }
  .vibes2-profile-hero { min-height: auto; border-radius: 28px; }
  .vibes2-hero-content { padding: 34px 22px 24px; }
  .vibes2-profile-name { font-size: 42px; }
  .vibes2-stat-strip { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0 22px 28px; }
  .vibes2-stat-strip a { min-height: 94px; }
  .vibes2-command-deck { grid-template-columns: 1fr; }
  .vibes2-profile-rail { grid-template-columns: 1fr; }
  .vibes2-action-grid { grid-template-columns: 1fr; }
}

/* Vibes 2.2.3: Profile 2.3 Full Profile System Expansion.
   Purpose: large visible system-level change, not micropoloish.
   Runtime contracts unchanged. */
.vibes2-profile-system-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
  margin: 0 0 24px;
}
.vibes2-system-tile {
  position: relative;
  min-height: 154px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-radius: 34px;
  background: rgba(255,255,255,.92);
  color: #17142b;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 26px 74px rgba(0,0,0,.28);
}
.vibes2-system-tile:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 86% 14%, rgba(124,58,237,.18), transparent 34%);
  pointer-events: none;
}
.vibes2-system-tile-primary {
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(232,245,255,.9));
}
.vibes2-system-tile span,
.vibes2-system-tile strong,
.vibes2-system-tile em { position: relative; z-index: 1; }
.vibes2-system-tile span {
  color: #7159ca;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.vibes2-system-tile strong {
  display: block;
  margin-top: 14px;
  font-size: clamp(44px, 4.5vw, 72px);
  line-height: .86;
  letter-spacing: -.075em;
  color: #151226;
}
.vibes2-system-tile em {
  color: #6f667f;
  font-style: normal;
  font-weight: 800;
}
.vibes2-command-deck-2-3 {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
  grid-template-areas:
    "pulse action"
    "spotlight spotlight";
}
.vibes2-pulse-card-wide { grid-area: pulse; }
.vibes2-command-deck-2-3 .vibes2-action-center { grid-area: action; }
.vibes2-spotlight-card { grid-area: spotlight; min-height: 0; }
.vibes2-pulse-meter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.vibes2-pulse-meter span {
  display: flex;
  flex-direction: column;
  min-height: 86px;
  justify-content: center;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f6f2ff, #fff);
  border: 1px solid #ebe4ff;
  color: #716985;
  font-weight: 850;
}
.vibes2-pulse-meter b {
  color: #17142b;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.05em;
}
.vibes2-spotlight-card {
  background:
    radial-gradient(circle at 8% 0%, rgba(124,58,237,.18), transparent 30%),
    rgba(255,255,255,.94);
}
.vibes2-spotlight-card h3 {
  margin: 10px 0 18px;
  color: #17142b;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.055em;
}
.vibes2-spotlight-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.vibes2-spotlight-card li {
  min-height: 126px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,.72);
  border: 1px solid #ebe4ff;
}
.vibes2-spotlight-card b {
  display: block;
  color: #17142b;
  font-size: 17px;
  margin-bottom: 8px;
}
.vibes2-spotlight-card span {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #6f667f;
  line-height: 1.45;
  font-weight: 700;
}
.vibes2-navigator-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(34,211,238,.18), transparent 34%),
    rgba(255,255,255,.94);
}
.vibes2-nav-stack {
  display: grid;
  gap: 10px;
}
.vibes2-nav-stack a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f7f4ff, #ffffff);
  border: 1px solid #ebe4ff;
}
.vibes2-nav-stack b {
  color: #17142b;
  font-size: 16px;
}
.vibes2-nav-stack span {
  color: #746b86;
  font-weight: 850;
  font-size: 12px;
  text-align: right;
}
.vibes2-profile-grid {
  grid-template-columns: minmax(0, 1fr) 450px;
}
.vibes2-profile-hero {
  margin-bottom: 24px;
}
.vibes2-command-card,
.vibes2-composer-card,
.vibes2-feed-card,
.vibes2-rail-card,
.vibes2-system-tile {
  isolation: isolate;
}
@media (max-width: 1320px) {
  .vibes2-profile-system-band { grid-template-columns: 1fr 1fr 1fr; }
  .vibes2-profile-grid { grid-template-columns: minmax(0, 1fr) 400px; }
}
@media (max-width: 1180px) {
  .vibes2-profile-system-band { grid-template-columns: 1fr; }
  .vibes2-command-deck-2-3 {
    grid-template-columns: 1fr;
    grid-template-areas: "pulse" "action" "spotlight";
  }
  .vibes2-spotlight-card ul { grid-template-columns: 1fr; }
  .vibes2-profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .vibes2-profile-system-band { gap: 12px; margin-bottom: 16px; }
  .vibes2-system-tile { min-height: 126px; padding: 20px; border-radius: 26px; }
  .vibes2-pulse-meter { grid-template-columns: 1fr; }
  .vibes2-spotlight-card h3 { font-size: 28px; }
}
