/* CoPlaNet Player Hub 0.29.0 — reversible visual refresh.
 * Presentation only: no provider calls, database changes, timers or JavaScript.
 */

/* Shared visual language */
.cpn-ph-library,
.cpn-ph-community,
.cpn-boost-hub,
.cp-gamer-wrap {
  --cpn-r-ink: #142b45;
  --cpn-r-muted: #687b91;
  --cpn-r-line: #e2eaf3;
  --cpn-r-blue: #1769c2;
  --cpn-r-blue-soft: #eef5ff;
  --cpn-r-green: #16833b;
  --cpn-r-green-soft: #eff9f1;
  color: var(--cpn-r-ink);
  font-family: inherit;
}
.cpn-ph-library *,
.cpn-ph-community *,
.cpn-boost-hub *,
.cp-gamer-wrap * { box-sizing: border-box; }

/* Collection / Player Hub dashboard */
.cpn-ph-library {
  width: min(1240px, calc(100% - 36px));
  max-width: 1240px;
  margin: 30px auto 54px;
  padding: clamp(14px, 2.2vw, 26px);
  border: 1px solid #e5ebf3;
  border-radius: 26px;
  background: #f7f9fc;
  box-shadow: 0 18px 48px rgba(17, 43, 75, .065);
}
.cpn-ph-library-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 190px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 21px;
  background:
    radial-gradient(circle at 88% 12%, rgba(60,157,255,.38), transparent 28%),
    radial-gradient(circle at 76% 115%, rgba(0,195,202,.18), transparent 34%),
    linear-gradient(116deg, #0b1e35 0%, #123c69 60%, #145d91 100%);
  box-shadow: 0 16px 36px rgba(13, 49, 88, .16);
}
.cpn-ph-library-head:before,
.cpn-ph-library-head:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 270px;
  height: 270px;
  right: 7%;
  top: -185px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
}
.cpn-ph-library-head:after { width: 370px; height: 370px; right: -1%; top: -225px; }
.cpn-ph-library-head .cpn-ph-eyebrow {
  color: #9bd4ff !important;
  font-size: .68rem;
  letter-spacing: .2em;
  font-weight: 900;
}
.cpn-ph-library-head h2 {
  margin: 9px 0 9px !important;
  color: #fff !important;
  font-size: clamp(2rem, 4vw, 2.85rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -.04em;
  font-weight: 900 !important;
}
.cpn-ph-library-head p {
  max-width: 660px;
  margin: 0 !important;
  color: #d7e8f8 !important;
  font-size: .98rem;
  line-height: 1.6;
}
.cpn-ph-collection-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 20px;
}
.cpn-ph-collection-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #e0e8f1;
  border-radius: 13px;
  background: #fff;
  color: #294966 !important;
  text-align: center;
  text-decoration: none !important;
  font-size: .83rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(19, 48, 79, .035);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.cpn-ph-collection-actions a span { font-size: 1.05rem; line-height: 1; }
.cpn-ph-collection-actions a:first-child { border-color: #cbdff7; background: #f3f8ff; color: #1459a3 !important; }
.cpn-ph-collection-actions a:hover,
.cpn-ph-collection-actions a:focus-visible {
  transform: translateY(-2px);
  border-color: #9ebfe2;
  box-shadow: 0 9px 20px rgba(19, 65, 112, .09);
  outline-offset: 3px;
}
.cpn-ph-platform-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  margin: 0 0 20px;
}
.cpn-ph-platform-overview > .cpn-ph-xbox-summary,
.cpn-ph-platform-overview > .cpn-ph-psn-summary {
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  padding: 19px !important;
  border: 1px solid #dbe7f3 !important;
  border-left: 4px solid var(--cpn-r-blue) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 7px 20px rgba(17, 47, 80, .045) !important;
  color: var(--cpn-r-ink) !important;
}
.cpn-ph-platform-overview > .cpn-ph-xbox-summary { border-color: #d8ebdd !important; border-left-color: #16833b !important; }
.cpn-ph-platform-overview .cpn-ph-xbox-summary h3,
.cpn-ph-platform-overview .cpn-ph-psn-summary h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 13px !important;
  color: #15579e !important;
  font-size: 1.08rem !important;
  font-weight: 900 !important;
}
.cpn-ph-platform-overview .cpn-ph-xbox-summary h3 { color: #147b35 !important; }
.cpn-ph-platform-overview .cpn-ph-xbox-summary-grid,
.cpn-ph-platform-overview .cpn-ph-psn-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 12px !important;
}
.cpn-ph-platform-overview .cpn-ph-xbox-summary-grid > div,
.cpn-ph-platform-overview .cpn-ph-psn-summary-grid > div {
  min-width: 0;
  padding: 12px 11px !important;
  border: 1px solid #e7edf5 !important;
  border-radius: 12px !important;
  background: #f7faff !important;
  box-shadow: none !important;
}
.cpn-ph-platform-overview .cpn-ph-xbox-summary-grid > div { border-color: #e0efe3 !important; background: #f6fbf7 !important; }
.cpn-ph-platform-overview .cpn-ph-xbox-summary-grid strong,
.cpn-ph-platform-overview .cpn-ph-psn-summary-grid strong {
  display: block;
  color: #145ca8 !important;
  font-size: clamp(1.15rem, 2vw, 1.55rem) !important;
  line-height: 1.1;
  font-weight: 900 !important;
  overflow-wrap: anywhere;
}
.cpn-ph-platform-overview .cpn-ph-xbox-summary-grid strong { color: #147b35 !important; }
.cpn-ph-platform-overview .cpn-ph-xbox-summary-grid span,
.cpn-ph-platform-overview .cpn-ph-psn-summary-grid span {
  display: block;
  margin-top: 5px;
  color: #6b7f95 !important;
  font-size: .7rem !important;
  line-height: 1.3;
}
.cpn-ph-platform-overview .cpn-ph-xbox-summary > p,
.cpn-ph-platform-overview .cpn-ph-psn-summary > p {
  margin: 8px 0 0 !important;
  color: #74869a !important;
  font-size: .73rem !important;
  line-height: 1.5;
}
.cpn-ph-platform-overview .cpn-ph-xbox-links,
.cpn-ph-platform-overview .cpn-ph-psn-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}
.cpn-ph-platform-overview .cpn-ph-xbox-links a,
.cpn-ph-platform-overview .cpn-ph-psn-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 0 !important;
  padding: 8px 11px !important;
  border: 1px solid #d7e5f4 !important;
  border-radius: 9px !important;
  background: #f3f8ff !important;
  color: #175a9f !important;
  font-size: .74rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.cpn-ph-platform-overview .cpn-ph-xbox-links a { border-color: #d8eadc !important; background: #f1f9f3 !important; color: #176c32 !important; }
.cpn-ph-platform-overview .cpn-ph-platform-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border: 1px dashed #cbd9e8;
  border-radius: 16px;
  background: #fff;
  color: #62778e;
}
.cpn-ph-connected-libraries { display: grid; gap: 2px; }
.cpn-ph-library .cpn-ph-xbox-library,
.cpn-ph-library .cpn-ph-psn-library {
  margin: 16px 0 !important;
  padding: clamp(15px, 2vw, 22px) !important;
  border-radius: 19px !important;
  box-shadow: 0 7px 22px rgba(17, 47, 80, .045) !important;
}
.cpn-ph-library .cpn-ph-xbox-library { border: 1px solid #dcecdf !important; border-top: 4px solid #16833b !important; background: #fff !important; }
.cpn-ph-library .cpn-ph-psn-library { border: 1px solid #dbe7f5 !important; border-top: 4px solid #1769c2 !important; background: #fff !important; }
.cpn-ph-library .cpn-ph-xbox-library-head,
.cpn-ph-library .cpn-ph-psn-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}
.cpn-ph-library .cpn-ph-xbox-library-head h2,
.cpn-ph-library .cpn-ph-psn-library-head h2 {
  margin: 4px 0 5px !important;
  color: #173a5e !important;
  font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
  font-weight: 900 !important;
}
.cpn-ph-library .cpn-ph-xbox-library-head p,
.cpn-ph-library .cpn-ph-psn-library-head p { margin: 0 !important; color: #74869a !important; font-size: .79rem !important; }
.cpn-ph-library .cpn-ph-xbox-library .cpn-ph-section-kicker { color: #16833b !important; }
.cpn-ph-library .cpn-ph-psn-library .cpn-ph-section-kicker { color: #1769c2 !important; }
.cpn-ph-library .cpn-ph-xbox-search,
.cpn-ph-library .cpn-ph-psn-search { display: flex; gap: 8px; margin: 12px 0 16px !important; }
.cpn-ph-library .cpn-ph-xbox-search input,
.cpn-ph-library .cpn-ph-psn-search input {
  min-width: 0;
  min-height: 43px;
  padding: 10px 13px !important;
  border: 1px solid #dce5ef !important;
  border-radius: 10px !important;
  background: #fbfcfe !important;
  color: #183550 !important;
  box-shadow: none !important;
}
.cpn-ph-library .cpn-ph-xbox-search button,
.cpn-ph-library .cpn-ph-psn-search button {
  min-height: 43px;
  padding: 9px 17px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #1769c2 !important;
  color: #fff !important;
  font-weight: 850 !important;
}
.cpn-ph-library .cpn-ph-xbox-search button { background: #16833b !important; }
.cpn-ph-library .cpn-ph-xbox-grid,
.cpn-ph-library .cpn-ph-psn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 13px !important; }
.cpn-ph-library .cpn-ph-xbox-card,
.cpn-ph-library .cpn-ph-psn-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e2eaf3 !important;
  border-radius: 15px !important;
  background: #fff !important;
  box-shadow: 0 4px 13px rgba(17, 47, 80, .045) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cpn-ph-library .cpn-ph-xbox-card:hover,
.cpn-ph-library .cpn-ph-psn-card:hover { transform: translateY(-3px); border-color: #b6cde7 !important; box-shadow: 0 11px 23px rgba(17, 47, 80, .09) !important; }
.cpn-ph-library .cpn-ph-xbox-art,
.cpn-ph-library .cpn-ph-psn-art { display: grid; place-items: center; height: auto !important; aspect-ratio: 16 / 9; overflow: hidden; background: #eaf0f7; }
.cpn-ph-library .cpn-ph-xbox-art img,
.cpn-ph-library .cpn-ph-psn-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cpn-ph-library .cpn-ph-xbox-card-body,
.cpn-ph-library .cpn-ph-psn-card-body { padding: 13px !important; }
.cpn-ph-library .cpn-ph-xbox-card-body h3,
.cpn-ph-library .cpn-ph-psn-card-body h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 2.55em;
  margin: 0 0 10px !important;
  color: #173a5e !important;
  font-size: .9rem !important;
  line-height: 1.3 !important;
  font-weight: 850 !important;
}
.cpn-ph-library .cpn-ph-xbox-card-body h3 a,
.cpn-ph-library .cpn-ph-psn-card-body h3 a { color: #173a5e !important; text-decoration: none !important; }
.cpn-ph-library .cpn-ph-xbox-progress,
.cpn-ph-library .cpn-ph-psn-progress { height: 7px !important; margin: 7px 0 9px !important; border-radius: 99px; background: #e9eef5 !important; }
.cpn-ph-library .cpn-ph-xbox-progress span { background: linear-gradient(90deg, #16833b, #57bd72) !important; }
.cpn-ph-library .cpn-ph-psn-progress span { background: linear-gradient(90deg, #1769c2, #4da8ef) !important; }
.cpn-ph-library .cpn-ph-xbox-progress-line,
.cpn-ph-library .cpn-ph-psn-progress-label { display: flex; justify-content: space-between; gap: 8px; color: #73849a; font-size: .72rem; }
.cpn-ph-library .cpn-ph-xbox-progress-line strong,
.cpn-ph-library .cpn-ph-psn-progress-label strong { color: #1769c2; font-weight: 900; }
.cpn-ph-library .cpn-ph-xbox-card-body p,
.cpn-ph-library .cpn-ph-psn-card-body p { margin: 7px 0 3px !important; color: #667d94 !important; font-size: .74rem !important; }
.cpn-ph-library .cpn-ph-xbox-detail-link { margin-top: 11px; padding-top: 10px; border-top: 1px solid #edf1f6; color: #16833b !important; font-size: .76rem; }
.cpn-ph-library .cpn-ph-xbox-pagination,
.cpn-ph-library .cpn-ph-psn-pages { margin: 16px 0 3px !important; }
.cpn-ph-library .cpn-ph-xbox-pagination a.cpn-ph-load-more,
.cpn-ph-library .cpn-ph-psn-pages a.cpn-ph-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px !important;
  border: 1px solid #d6e4f3 !important;
  border-radius: 12px !important;
  background: #f3f8ff !important;
  color: #185b9f !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
.cpn-ph-library .cpn-ph-xbox-pagination a.cpn-ph-load-more { border-color: #d6e9db !important; background: #f1f9f3 !important; color: #176b32 !important; }
.cpn-ph-library .cpn-ph-library-collapse { text-align: center; margin: 10px 0 0 !important; }
.cpn-ph-library .cpn-ph-library-collapse a { color: #1769c2; font-size: .8rem; font-weight: 800; }
.cpn-ph-library .cpn-ph-xbox-footnote,
.cpn-ph-library .cpn-ph-psn-footnote { margin: 13px 0 0 !important; color: #8291a2 !important; font-size: .7rem !important; line-height: 1.5; }
.cpn-ph-library .cpn-ph-priorities,
.cpn-ph-library .cpn-ph-activity,
.cpn-ph-library .cpn-ph-milestones,
.cpn-ph-library .cpn-ph-showcase {
  border: 1px solid #e1e9f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 19px rgba(17, 47, 80, .04);
}

/* Rankings */
.cpn-ph-community {
  width: min(1240px, calc(100% - 36px));
  max-width: 1240px;
  margin: 30px auto 58px;
}
.cpn-ph-rankings-page .cpn-ph-community-hero {
  min-height: 220px;
  padding: clamp(25px, 4vw, 42px);
  border-radius: 23px;
  background:
    radial-gradient(circle at 85% 12%, rgba(64,157,255,.35), transparent 30%),
    linear-gradient(118deg, #0a1c31 0%, #123c68 62%, #145c91 100%);
  box-shadow: 0 16px 38px rgba(8, 44, 86, .14);
}
.cpn-ph-rankings-page .cpn-ph-community-hero h2 { font-size: clamp(2rem, 4vw, 2.8rem) !important; }
.cpn-ph-rankings-page .cpn-ph-hero-emblem { width: 138px; height: 138px; flex-basis: 138px; }
.cpn-ph-rankings-page .cpn-ph-hero-emblem span { font-size: 3.5rem; }
.cpn-ph-rankings-page .cpn-ph-platform-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 17px 0 14px; }
.cpn-ph-rankings-page .cpn-ph-platform-tabs a {
  min-height: 58px;
  border: 1px solid #dce6f1 !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #294967 !important;
  box-shadow: 0 4px 13px rgba(17, 47, 80, .04);
  font-size: .94rem;
  font-weight: 900;
}
.cpn-ph-rankings-page .cpn-ph-platform-tabs a.is-active.is-psn { border-color: #1769c2 !important; background: linear-gradient(125deg, #1457a6, #247fd2) !important; color: #fff !important; }
.cpn-ph-rankings-page .cpn-ph-platform-tabs a.is-active.is-xbox { border-color: #16833b !important; background: linear-gradient(125deg, #126d30, #23994c) !important; color: #fff !important; }
.cpn-ph-rankings-page .cpn-ph-rankings-actions { margin: 0 0 22px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 5px 16px rgba(17,47,80,.04); }
.cpn-ph-rankings-page.is-xbox .cpn-ph-rankings-actions > a { border-color: #16833b; background: linear-gradient(125deg,#126d30,#23994c); box-shadow: 0 5px 13px rgba(22,131,59,.15); }
.cpn-ph-rankings-page .cpn-ph-ranking-intro { align-items: center; margin: 28px 0 15px; }
.cpn-ph-rankings-page .cpn-ph-ranking-intro h2 { margin: 5px 0 7px !important; font-size: clamp(1.55rem, 3vw, 2rem) !important; font-weight: 900 !important; }
.cpn-ph-rankings-page .cpn-ph-ranking-count { min-width: 125px; padding: 12px 16px; border: 1px solid #e1eaf3; border-radius: 14px; background: #fff; align-items: center; }
.cpn-ph-rankings-page .cpn-ph-ranking-count strong { color: #1769c2; font-size: 1.6rem; }
.cpn-ph-rankings-page.is-xbox .cpn-ph-ranking-count strong { color: #16833b; }
.cpn-ph-rankings-page .cpn-ph-ranking-metric-tabs { display: flex; gap: 7px; padding: 6px; border: 1px solid #e1e8f0; border-radius: 13px; background: #eef2f7; }
.cpn-ph-rankings-page .cpn-ph-ranking-metric-tab { flex: 1 1 0; min-height: 44px; border-radius: 9px; font-size: .86rem; }
.cpn-ph-rankings-page .cpn-ph-ranking-metric-tab.is-active { background: #fff; color: #145ca8 !important; box-shadow: 0 3px 9px rgba(17,47,80,.09); }
.cpn-ph-rankings-page.is-xbox .cpn-ph-ranking-metric-tab.is-active { color: #16833b !important; }
.cpn-ph-rankings-page .cpn-ph-podium { gap: 13px; margin: 18px 0 23px; }
.cpn-ph-rankings-page .cpn-ph-podium-card { min-height: 225px; border-radius: 17px; box-shadow: 0 8px 22px rgba(17,47,80,.06); }
.cpn-ph-rankings-page.is-xbox .cpn-ph-podium-1 .cpn-ph-podium-score { color: #16833b; }
.cpn-ph-rankings-page.is-xbox .cpn-ph-ranking-score { color: #16833b; }
.cpn-ph-rankings-page .cpn-ph-ranking-table-wrap { border-radius: 16px; box-shadow: 0 6px 20px rgba(17,47,80,.045); }
.cpn-ph-rankings-page .cpn-ph-ranking-list li { transition: background .15s ease; }
.cpn-ph-rankings-page .cpn-ph-ranking-list li:hover { background: #f7faff; }
.cpn-ph-rankings-page.is-xbox .cpn-ph-ranking-score { color: #16833b; }
.cpn-ph-rankings-page .cpn-ph-ranking-footnote { margin-top: 18px; border-radius: 12px; }

/* Public profile from Access Guard. More specific selectors intentionally override its inline baseline styles. */
.cp-gamer-wrap {
  width: min(1160px, calc(100% - 36px));
  max-width: 1160px !important;
  margin: 30px auto 58px !important;
  padding: 0 !important;
}
.cp-gamer-wrap .cp-gamer-card {
  overflow: hidden;
  border: 1px solid #e2eaf3 !important;
  border-radius: 25px !important;
  background: #fff !important;
  box-shadow: 0 18px 48px rgba(17,43,75,.075) !important;
}
.cp-gamer-wrap .cp-gamer-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 185px;
  padding: clamp(24px, 4vw, 40px) !important;
  background:
    radial-gradient(circle at 88% 8%, rgba(62,154,255,.35), transparent 30%),
    linear-gradient(118deg, #0b1d33, #123d6b 65%, #155b91) !important;
}
.cp-gamer-wrap .cp-gamer-hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 330px;
  height: 330px;
  top: -225px;
  right: 5%;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 58px rgba(255,255,255,.02);
}
.cp-gamer-wrap .cp-gamer-avatar img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,.92) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
.cp-gamer-wrap .cp-gamer-name h1,
.cp-gamer-wrap .cp-gamer-name h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 900; letter-spacing: -.03em; }
.cp-gamer-wrap .cp-gamer-rank { color: #dcecff; font-size: .86rem; }
.cp-gamer-wrap .cp-gamer-follow {
  min-height: 43px;
  padding: 10px 18px !important;
  border: 1px solid rgba(255,255,255,.5) !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: #154b7e !important;
  box-shadow: 0 5px 14px rgba(0,0,0,.12);
}
.cp-gamer-wrap .cp-gamer-follow.is-following { background: #e6f2ff !important; color: #145ca8 !important; }
.cp-gamer-wrap .cp-unified-nav {
  display: flex;
  gap: 7px;
  padding: 12px clamp(15px, 3vw, 28px) !important;
  border-bottom: 1px solid #e7edf4 !important;
  background: #fbfcfe !important;
  scrollbar-width: thin;
}
.cp-gamer-wrap .cp-unified-nav a {
  min-height: 40px;
  padding: 9px 14px !important;
  border: 1px solid transparent;
  border-radius: 10px !important;
  color: #47617d !important;
  font-size: .84rem !important;
  font-weight: 850 !important;
}
.cp-gamer-wrap .cp-unified-nav a:hover,
.cp-gamer-wrap .cp-unified-nav a:focus-visible { border-color: #d8e7f7; background: #edf5ff !important; color: #145ca8 !important; }
.cp-gamer-wrap .cp-gamer-body { padding: clamp(17px, 3vw, 32px) !important; }
.cp-gamer-wrap .cp-unified-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 0 0 25px !important; }
.cp-gamer-wrap .cp-unified-shortcuts a {
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px !important;
  border: 1px solid #e0e8f1 !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #294967 !important;
  box-shadow: 0 4px 12px rgba(17,47,80,.035);
  font-size: .8rem !important;
  font-weight: 850 !important;
}
.cp-gamer-wrap .cp-unified-shortcuts a:hover { border-color: #a9c7e7 !important; background: #f4f8ff !important; }
.cp-gamer-wrap .cp-unified-section { margin: 0 0 28px !important; padding: 0 0 25px !important; border-bottom: 1px solid #e9eef4 !important; }
.cp-gamer-wrap .cp-unified-section-head { scroll-margin-top: 95px; margin: 0 0 16px !important; }
.cp-gamer-wrap .cp-unified-section-head h3 { margin: 4px 0 5px !important; color: #173a5e !important; font-size: 1.3rem !important; font-weight: 900 !important; }
.cp-gamer-wrap .cp-unified-section-head p { color: #74869a !important; font-size: .83rem !important; }
.cp-gamer-wrap .cp-unified-eyebrow { color: #2674bd !important; font-size: .66rem !important; letter-spacing: .15em !important; }
.cp-gamer-wrap .cp-unified-platform-grid { gap: 13px !important; }
.cp-gamer-wrap .cp-unified-platform {
  padding: 17px !important;
  border: 1px solid #dce7f3 !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, #f6faff, #fff 70%) !important;
  box-shadow: 0 5px 16px rgba(17,47,80,.04);
}
.cp-gamer-wrap .cp-unified-platform.is-xbox { border-color: #d9ebde !important; background: linear-gradient(145deg,#f4fbf5,#fff 70%) !important; }
.cp-gamer-wrap .cp-unified-platform-top { margin-bottom: 14px !important; }
.cp-gamer-wrap .cp-unified-platform-numbers strong { font-size: clamp(1rem, 1.8vw, 1.28rem) !important; font-weight: 900 !important; }
.cp-gamer-wrap .cp-unified-libraries { overflow: hidden; border: 1px solid #e1e9f2 !important; border-radius: 14px !important; box-shadow: 0 4px 14px rgba(17,47,80,.025); }
.cp-gamer-wrap .cp-unified-libraries > summary { padding: 14px 16px !important; background: #f7faff !important; }
.cp-gamer-wrap .cp-unified-libraries[open] > summary { border-bottom: 1px solid #e7edf4; }
.cp-gamer-wrap .cp-unified-community-head { margin-top: 28px !important; }
.cp-gamer-wrap .cp-gamer-progress { height: 9px !important; background: #e8eef5 !important; }
.cp-gamer-wrap .cp-gamer-progress span { background: linear-gradient(90deg,#1769c2,#3ba4ec) !important; }
.cp-gamer-wrap .cp-gamer-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px !important; margin: 18px 0 26px !important; }
.cp-gamer-wrap .cp-gamer-stat { min-width: 0; padding: 14px !important; border: 1px solid #e4ebf3; border-radius: 13px !important; background: #f8fafc !important; }
.cp-gamer-wrap .cp-gamer-stat span { color: #72849a !important; font-size: .76rem !important; }
.cp-gamer-wrap .cp-gamer-stat strong { color: #173d63; font-size: 1.45rem !important; font-weight: 900; }
.cp-gamer-wrap .cp-author-content-switcher { gap: 10px !important; margin: 18px 0 !important; }
.cp-gamer-wrap .cp-author-content-tab { padding: 13px 15px !important; border-radius: 12px !important; background: #f7f9fc !important; font-size: .86rem; }
.cp-gamer-wrap .cp-author-content-tab.is-active { background: #122b47 !important; border-color: #122b47 !important; color: #fff !important; }
.cp-gamer-wrap .cp-author-content-card { border-radius: 14px !important; box-shadow: 0 5px 16px rgba(17,47,80,.045) !important; }
.cp-gamer-wrap .cp-author-content-copy { padding: 14px !important; }
.cp-gamer-wrap .cp-gamer-activity-item,
.cp-gamer-wrap .cp-gamer-top-comment { border-radius: 13px !important; }
.cp-gamer-wrap .cp-gamer-member { padding-top: 16px; border-top: 1px solid #e9eef4; font-size: .78rem; }

/* Boost Hub shares the same cards, spacing and action language. */
.cpn-boost-hub { width: min(1200px, calc(100% - 36px)); max-width: 1200px; margin: 30px auto 56px; }
.cpn-boost-hub .cpn-boost-header {
  padding: clamp(23px, 4vw, 38px) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 22px !important;
  background: radial-gradient(circle at 88% 8%,rgba(63,151,245,.32),transparent 30%),linear-gradient(118deg,#0b1d33,#123d6b 65%,#155b91) !important;
  box-shadow: 0 15px 34px rgba(13,49,88,.13);
}
.cpn-boost-hub .cpn-boost-header h2 { color: #fff !important; font-weight: 900; }
.cpn-boost-hub .cpn-boost-header p { color: #d8e8f7 !important; }
.cpn-boost-hub .cpn-boost-card,
.cpn-boost-hub .cpn-boost-create,
.cpn-boost-hub .cpn-boost-mine { border-radius: 16px !important; box-shadow: 0 6px 18px rgba(17,47,80,.045) !important; }
.cpn-boost-hub .cpn-boost-card { border-color: #e0e8f1 !important; }
.cpn-boost-hub .cpn-boost-create { border-color: #e0e8f1 !important; }
.cpn-boost-hub .cpn-boost-create-form input,
.cpn-boost-hub .cpn-boost-create-form select,
.cpn-boost-hub .cpn-boost-create-form textarea { border-color: #d7e2ee !important; border-radius: 10px !important; }
.cpn-boost-hub .cpn-boost-create-form > button,
.cpn-boost-hub .cpn-boost-inline-form button { border-radius: 10px !important; background: #1769c2 !important; }

/* Responsive layout */
@media (max-width: 900px) {
  .cpn-ph-collection-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cpn-ph-library .cpn-ph-xbox-grid,
  .cpn-ph-library .cpn-ph-psn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .cp-gamer-wrap .cp-gamer-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cp-gamer-wrap .cp-unified-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .cpn-ph-library,
  .cpn-ph-community,
  .cpn-boost-hub,
  .cp-gamer-wrap { width: calc(100% - 22px); margin-top: 16px; }
  .cpn-ph-library { padding: 10px; border-radius: 18px; }
  .cpn-ph-library-head { min-height: 160px; padding: 21px 18px; border-radius: 15px; }
  .cpn-ph-library-head h2 { font-size: 1.85rem !important; }
  .cpn-ph-collection-actions { gap: 7px; margin: 12px 0 15px; }
  .cpn-ph-collection-actions a { min-height: 44px; padding: 8px 6px; font-size: .73rem; }
  .cpn-ph-platform-overview { grid-template-columns: 1fr; gap: 10px; }
  .cpn-ph-platform-overview > .cpn-ph-xbox-summary,
  .cpn-ph-platform-overview > .cpn-ph-psn-summary { padding: 14px !important; }
  .cpn-ph-platform-overview .cpn-ph-xbox-summary-grid,
  .cpn-ph-platform-overview .cpn-ph-psn-summary-grid { gap: 7px; }
  .cpn-ph-platform-overview .cpn-ph-xbox-summary-grid > div,
  .cpn-ph-platform-overview .cpn-ph-psn-summary-grid > div { padding: 10px 8px !important; }
  .cpn-ph-platform-overview .cpn-ph-xbox-summary-grid strong,
  .cpn-ph-platform-overview .cpn-ph-psn-summary-grid strong { font-size: 1.12rem !important; }
  .cpn-ph-library .cpn-ph-xbox-library,
  .cpn-ph-library .cpn-ph-psn-library { padding: 13px !important; border-radius: 15px !important; }
  .cpn-ph-library .cpn-ph-xbox-grid,
  .cpn-ph-library .cpn-ph-psn-grid { gap: 8px !important; }
  .cpn-ph-library .cpn-ph-xbox-card-body,
  .cpn-ph-library .cpn-ph-psn-card-body { padding: 9px !important; }
  .cpn-ph-library .cpn-ph-xbox-card-body h3,
  .cpn-ph-library .cpn-ph-psn-card-body h3 { font-size: .78rem !important; }
  .cpn-ph-rankings-page .cpn-ph-community-hero { padding: 23px 20px; }
  .cpn-ph-rankings-page .cpn-ph-hero-emblem { display: none; }
  .cpn-ph-rankings-page .cpn-ph-platform-tabs a { min-height: 50px; font-size: .84rem; }
  .cpn-ph-rankings-page .cpn-ph-rankings-actions { align-items: stretch; flex-direction: column; }
  .cpn-ph-rankings-page .cpn-ph-rankings-actions > a { width: 100%; }
  .cpn-ph-rankings-page .cpn-ph-ranking-intro { align-items: flex-start; flex-direction: column; gap: 10px; }
  .cpn-ph-rankings-page .cpn-ph-ranking-count { align-items: flex-start; min-width: 0; }
  .cpn-ph-rankings-page .cpn-ph-ranking-metric-tab { flex-basis: calc(50% - 5px); }
  .cpn-ph-rankings-page .cpn-ph-podium { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .cpn-ph-rankings-page .cpn-ph-podium-card { min-height: 190px; }
  .cpn-ph-rankings-page .cpn-ph-ranking-table-head,
  .cpn-ph-rankings-page .cpn-ph-ranking-list li { grid-template-columns: 42px minmax(0,1fr) 75px; gap: 8px; padding-left: 10px !important; padding-right: 10px !important; }
  .cp-gamer-wrap { margin-bottom: 34px !important; }
  .cp-gamer-wrap .cp-gamer-card { border-radius: 18px !important; }
  .cp-gamer-wrap .cp-gamer-hero { gap: 13px; padding: 21px 17px !important; }
  .cp-gamer-wrap .cp-gamer-avatar img { width: 70px; height: 70px; }
  .cp-gamer-wrap .cp-gamer-follow { margin-left: 0; }
  .cp-gamer-wrap .cp-gamer-body { padding: 16px !important; }
  .cp-gamer-wrap .cp-unified-nav { padding: 8px 10px !important; }
  .cp-gamer-wrap .cp-unified-nav a { padding: 8px 10px !important; font-size: .76rem !important; }
  .cp-gamer-wrap .cp-unified-shortcuts { gap: 7px; }
  .cp-gamer-wrap .cp-unified-shortcuts a { min-height: 42px; padding: 8px 6px !important; font-size: .72rem !important; }
  .cp-gamer-wrap .cp-unified-platform-grid { grid-template-columns: 1fr !important; }
  .cp-gamer-wrap .cp-gamer-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-gamer-wrap .cp-author-content-switcher { grid-template-columns: 1fr !important; }
}
@media (max-width: 390px) {
  .cpn-ph-library .cpn-ph-xbox-grid,
  .cpn-ph-library .cpn-ph-psn-grid { grid-template-columns: 1fr !important; }
  .cpn-ph-library .cpn-ph-xbox-card,
  .cpn-ph-library .cpn-ph-psn-card { display: grid; grid-template-columns: 104px minmax(0,1fr); }
  .cpn-ph-library .cpn-ph-xbox-art,
  .cpn-ph-library .cpn-ph-psn-art { height: 100% !important; min-height: 130px; aspect-ratio: auto; }
  .cpn-ph-library .cpn-ph-xbox-search,
  .cpn-ph-library .cpn-ph-psn-search { flex-wrap: wrap; }
  .cpn-ph-library .cpn-ph-xbox-search input,
  .cpn-ph-library .cpn-ph-psn-search input { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cpn-ph-collection-actions a,
  .cpn-ph-library .cpn-ph-xbox-card,
  .cpn-ph-library .cpn-ph-psn-card,
  .cpn-ph-rankings-page .cpn-ph-ranking-list li { transition: none !important; }
}
