
.wx-breadcrumb{margin:0 0 8px;display:flex;align-items:center;gap:11px;color:#b7c6c4}
.wx-breadcrumb a{text-decoration:none}.wx-member-loading,.wx-member-login-required{border:1px solid #647575;border-radius:18px;padding:25px;background:#203438;margin:18px 0}
.wx-member-dashboard{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:25px 0}
.wx-member-dashboard .card{min-height:220px;position:relative;overflow:hidden}
.wx-member-dashboard .card h2{font-size:clamp(19px,2vw,25px)}
.wx-top-one{grid-column:1;grid-row:1;align-items:center;text-align:center}.wx-top-two{grid-column:2;grid-row:1}.wx-top-three-four{grid-column:3/span 2;grid-row:1;background:linear-gradient(110deg,#203839,#26343e)}
.wx-bottom-one{grid-column:1;grid-row:2}.wx-bottom-two{grid-column:2;grid-row:2}.wx-bottom-three{grid-column:3;grid-row:2}.wx-bottom-four{grid-column:4;grid-row:2}
.wx-avatar-frame{margin:0 auto 2px;width:92px;height:92px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:relative;color:#f4eada;font-size:35px;font-weight:800;background:radial-gradient(circle at 35% 25%,#50747b,#14252e);border:3px solid #aa7851}
.wx-avatar-frame img{width:100%;height:100%;object-fit:cover;border-radius:50%}.wx-avatar-frame.silver{border-color:#c2d1dc}.wx-avatar-frame.gold{border-color:#f1ca60;box-shadow:0 0 16px 3px #f6c86172}.wx-avatar-frame.diamond{border-color:#b5ecf3;box-shadow:0 0 0 2px #7bb7d2,0 0 16px 4px #85c8ea82;animation:wx-diamond-light 5s ease-in-out infinite}
@keyframes wx-diamond-light{50%{filter:brightness(1.3);box-shadow:0 0 0 3px #b1e4ea,0 0 18px 6px #85c8ea9c}}
@media(prefers-reduced-motion:reduce){.wx-avatar-frame.diamond{animation:none}}
.wx-member-level{font-weight:750;color:#ead19f!important}.wx-profile-card small{color:#b9c9c6}.wx-preference-preview{display:flex;flex-wrap:wrap;gap:9px;margin:9px 0 6px}.wx-preference-preview span{border:1px solid #577271;background:#244648;border-radius:10px;padding:6px 10px;color:#f3e6c9}
.wx-member-extras{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:24px 0}.wx-member-extras a{border:1px solid #71857e;border-radius:12px;padding:10px 8px;text-decoration:none;text-align:center}
@media(max-width:880px){.wx-member-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.wx-top-one,.wx-top-two,.wx-top-three-four,.wx-bottom-one,.wx-bottom-two,.wx-bottom-three,.wx-bottom-four{grid-column:auto;grid-row:auto}.wx-top-three-four{grid-column:1/span 2}}
@media(max-width:550px){.wx-member-dashboard{grid-template-columns:1fr}.wx-top-three-four{grid-column:auto}.wx-member-dashboard .card{min-height:170px}}

.wx-plan-details{margin:24px 0;border:1px solid #566e6d;border-radius:14px;background:#1a3034;padding:12px 20px}.wx-plan-details summary{cursor:pointer;color:#f0d7a7;font-weight:700}.wx-plan-details p{color:#c4d1cd}.wx-plan-details .action{margin:8px 0}

.wx-top-three-four { container-type: inline-size; }
.wx-preference-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  gap: 6px;
}
.wx-preference-preview span {
  padding: 8px 2px;
  text-align: center;
  font-size: clamp(.75rem, 3.25vw, .98rem);
  white-space: nowrap;
}
@container (max-width: 223px) {
  .wx-preference-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wx-preference-preview span:last-child { grid-column: 1 / -1; }
}

/* V168: visual breathing room; the approved 4 + 4 membership-card structure remains unchanged. */
body .wx-breadcrumb{margin-top:16px;margin-bottom:16px}
body .hero{margin-top:clamp(25px,4vw,56px);margin-bottom:clamp(26px,4vw,48px)}
.wx-member-dashboard{margin-top:30px;gap:clamp(12px,1.6vw,22px)}
.wx-member-dashboard .card{padding:clamp(15px,1.8vw,24px);min-height:235px}
.wx-member-dashboard .card h2{line-height:1.36}
.wx-member-extras{margin-block:27px 32px}
@media(max-width:550px){body .hero{margin-top:30px;margin-bottom:28px}.wx-member-dashboard{gap:12px}.wx-member-dashboard .card{padding:15px;min-height:225px}}
#wxMemberOwnerFrontends[hidden],
#wxMemberOwnerDashboard[hidden] {
  display: none !important;
}
#wxMemberOwnerFrontends:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
}
.wx-owner-frontend-links .action {
  display: grid;
  place-items: center;
  min-height: 44px;
  text-align: center;
}
