/* Compact guild data surfaces; navigation and labels flow over the scene. */
.gp-rating-figure { grid-row:1; grid-template-rows:auto minmax(300px,1fr); }
.guild-profile-shell .gp-summary .gp-rating-chart { width:100%; min-width:0; max-width:100%; min-height:300px !important; min-block-size:300px; background:transparent; }
.guild-profile-shell .gp-section-navigation .workspace-section-tabs { gap:6px 26px; }
.guild-profile-shell .gp-section-navigation .workspace-section-tab { font-size:23px; }
.gp-page-backdrop::after { background:linear-gradient(180deg,#0f13138c 0%,#0f131347 45%,#0f1313a6 100%); }
.guild-profile-shell .gp-summary { grid-template-columns:368px minmax(0,1fr); box-sizing:border-box; padding:22px; border-radius:0; background:rgb(11 18 22 / 28%); border:0; border-block:1px solid rgb(228 187 105 / 46%); box-shadow:none; text-shadow:0 1px 3px #0009; }
.guild-profile-shell .gp-summary .gp-rating-figure { border-inline-start:1px solid #aab8bf35; padding-inline-start:20px; }
.guild-profile-shell .gp-hero { align-content:center; grid-template-columns:112px minmax(0,1fr); gap:8px 12px; }
.guild-profile-shell .gp-cape { width:112px; height:224px; grid-row:1 / 3; align-self:start; }
.guild-profile-shell .gp-cape .guild-cape--profile { inline-size:112px; block-size:224px; }
.guild-profile-shell .gp-identity { align-self:start; }
.guild-profile-shell .gp-identity h1 { font-size:30px; }
.gp-summary-records { grid-column:2; width:100%; max-width:260px; min-width:0; margin:0; border-collapse:collapse; background:none; }
.gp-summary-records :is(th,td) { height:auto; padding:3px 0; border:0; background:none; text-transform:none; letter-spacing:0; font:400 14px/1.4 var(--font-sans); }
.gp-summary-records th { color:var(--gp-muted); text-align:left; }
.gp-summary-records td { color:var(--gp-ink); text-align:right; font-weight:550; }
.gp-summary-records a { color:inherit; text-decoration:none; }
.gp-summary-records a:hover { color:var(--gp-accent); text-decoration:underline; }
.guild-profile-shell .gp-standing-stats { grid-column:2; gap:8px; }
.guild-profile-shell .gp-record-summary { padding-top:0; }
.gp-workspace[data-gp-section="statistics"] .gp-ledger-surface { border:0; border-radius:0; background:none; }
.gp-workspace[data-gp-section="statistics"] .gp-quick-filters { justify-content:space-between; align-items:center; gap:8px 16px; margin-bottom:16px; padding:0; border:0; background:none; }
.gp-workspace[data-gp-section="statistics"] .gp-period-group > div { gap:2px; }
.gp-workspace[data-gp-section="statistics"] .gp-period-group a { height:34px; min-height:34px; border:1px solid transparent; border-radius:3px; background:none; font-size:14px; }
.gp-workspace[data-gp-section="statistics"] .gp-period-group a[aria-current] { color:var(--gp-accent); border-color:#e4bb6966; background:#0f1719bd; }
.gp-workspace[data-gp-section="statistics"] .gp-period-group a:hover { color:var(--gp-ink); background:#0f171980; }
.gp-workspace[data-gp-section="statistics"] .gp-occasion-group { margin-left:auto; }
.gp-workspace[data-gp-section="statistics"] .gp-quick-label { display:none; }
.gp-statistics { padding:0 0 18px; text-shadow:0 1px 3px #0009; }
.gp-stat-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 16px; margin-bottom:10px; }
.gp-stat-heading h2 { margin:0; color:var(--gp-ink); font:600 18px/1.3 var(--font-sans); }
.gp-stat-heading label { display:flex; align-items:center; gap:8px; color:var(--gp-muted); font-size:12px; }
.guild-profile-shell .gp-stat-heading select { min-height:32px; padding:3px 7px; border:0; border-bottom:1px solid #d3d6cb50; border-radius:0; background:#0f131340; font-size:12px; }
.gp-stat-icon { flex:none; }

/* Cumulative reaches and dated placements share one native data surface. */
.gp-stat-achievements { margin:0 0 12px; }
.gp-stat-achievements .gp-honors { display:grid; grid-template-columns:minmax(140px,.8fr) minmax(200px,1.1fr) minmax(220px,1.2fr); align-items:center; gap:16px; margin:0; padding:12px 16px; border:0; border-radius:3px; background:rgb(15 23 25 / 70%); }
.gp-stat-achievements .gp-honors-strip { display:contents; }
.gp-stat-achievements .gp-gold-capes { display:flex; align-items:center; gap:12px; min-width:0; }
.gp-stat-achievements .gp-gold-cape { width:32px; height:64px; }
.gp-stat-achievements .gp-gold-cape .guild-cape--directory { inline-size:32px; block-size:64px; }
.gp-stat-achievements .gp-gold-capes strong, .gp-stat-achievements .gp-gold-capes strong > span { font-size:18px; font-weight:550; }
.gp-stat-achievements .gp-gold-capes small { display:block; margin-top:6px; color:var(--gp-muted); font-size:14px; line-height:1.4; }
.gp-stat-achievements .gp-stage-record { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.gp-stat-achievements .gp-stage-record > div { display:grid; grid-template-columns:22px max-content max-content; align-items:center; justify-content:start; gap:8px; }
.gp-stat-achievements .gp-stage-record .gp-stage-icon { width:22px; height:22px; grid-row:auto; }
.gp-stat-achievements .gp-stage-record span { color:var(--gp-muted); font-size:12px; }
.gp-stat-achievements .gp-stage-record strong { font-size:18px; font-weight:550; }
.gp-stat-achievements .gp-finish-history { display:block; padding:0; border:0; }
.gp-finish-table { width:100%; min-width:0; border-collapse:collapse; }
.gp-finish-table :is(th,td) { background:none; text-transform:none; letter-spacing:0; padding:5px 8px; border-bottom:1px solid #d3d6cb20; text-align:left; font:400 14px/1.4 var(--font-sans); }
.gp-finish-table thead th { padding-block:6px; color:var(--gp-ink); font-size:12px; font-weight:600; background:#ffffff08; border-bottom:1px solid #d3d6cb55; }
.gp-finish-table :is(th,td):first-child { padding-left:0; }
.gp-finish-table :is(th,td):last-child { padding-right:0; }
.gp-stat-achievements .gp-finish-list { display:table-row-group; }
.gp-stat-achievements .gp-finish { display:table-row; }
.gp-stat-achievements .gp-finish time, .gp-stat-achievements .gp-finish-label { font-size:14px; }
.gp-stat-achievements .gp-finish-stage { display:inline-flex; align-items:center; gap:8px; color:inherit; text-decoration:none; }
.gp-stat-achievements a.gp-finish-stage:hover { color:var(--gp-accent); text-decoration:underline; text-underline-offset:3px; }
.gp-stat-achievements .gp-finish-stage.gp-gold-text { color:var(--gp-accent); }
.gp-stat-achievements .gp-finish-stage :is(.gp-stage-icon,.workspace-control-icon) { width:18px; height:18px; }

/* Labelled averages in three paired rows, with qualifications on each value. */
.gp-stat-overview { padding:0 0 12px; }
.gp-stat-metrics { width:min(100%,900px); min-width:0; margin:0; border-collapse:collapse; border-radius:3px; background:rgb(15 23 25 / 70%); }

.gp-stat-metrics :is(th,td) { background:none; text-transform:none; letter-spacing:0; padding:5px 12px; border-bottom:1px solid #d3d6cb18; font:400 14px/1.4 var(--font-sans); }
.gp-stat-metrics th { text-align:left; color:var(--gp-muted); }
.gp-stat-metrics th > span { display:flex; align-items:center; gap:7px; }
.gp-stat-metrics td { text-align:right; color:var(--gp-ink); font-weight:550; white-space:nowrap; }
.gp-stat-metrics .gp-stat-icon { width:16px; height:16px; }
.gp-stat-estimate { font-size:12px; }
.gp-stat-reference { display:block; margin-top:2px; color:var(--gp-muted); font:400 12px/1.3 var(--font-sans); }
.gp-gold-history { margin-top:6px; color:var(--gp-muted); font-size:14px; }
.gp-gold-history summary { cursor:pointer; }
.gp-gold-history ul { margin:8px 0 0; padding-left:16px; }
.gp-gold-history a { color:var(--gp-ink); }
.gp-stat-status { margin:8px 0 0; color:var(--gp-muted); font-size:12px; }
.gp-stat-status button { padding:4px; border:0; background:none; color:var(--gp-accent); font:inherit; text-decoration:underline; cursor:pointer; }

.gp-stat-records { width:100%; max-width:none; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px; align-items:start; }
.gp-stat-panel { min-width:0; padding-top:0; }
.gp-stat-panel .gp-table-scroll { box-sizing:border-box; padding:0 10px 2px; border-radius:3px; background:rgb(15 23 25 / 72%); }
.gp-stat-search { display:flex; align-items:center; gap:8px; width:180px; max-width:100%; margin:0; border-bottom:1px solid #d3d6cb50; color:var(--gp-muted); }
.guild-profile-shell .gp-stat-search input { width:100%; min-width:0; min-height:34px; padding:5px 0; border:0; border-radius:0; background:none; color:var(--gp-ink); font-size:14px; }
.guild-profile-shell .gp-stat-search input::placeholder { color:var(--gp-muted); opacity:1; }
.gp-stat-table { min-width:320px; }
.gp-stat-table thead th { padding:0; border-bottom:1px solid #d3d6cb36; background:none; text-align:right; font-size:12px; }
.gp-stat-table thead th:first-child, .gp-stat-table thead th:last-child { padding:0; }
.gp-stat-table thead button { box-sizing:border-box; display:flex; align-items:center; justify-content:flex-end; gap:5px; width:100%; min-height:38px; padding:8px 6px; border:0; background:none; color:var(--gp-muted); font:inherit; cursor:pointer; white-space:nowrap; }
.gp-stat-table thead th:first-child button { justify-content:flex-start; padding-left:0; }
.gp-stat-table thead th:last-child button { padding-right:0; }
.gp-stat-table thead button .guild-registry-sort-icon { flex:0 0 8px; width:8px; height:12px; }
.gp-stat-table .guild-registry-sort-icon path { opacity:.3; }
.gp-stat-table [aria-sort="ascending"] .sort-up, .gp-stat-table [aria-sort="descending"] .sort-down { opacity:1; }
.gp-stat-table thead th[aria-sort] button { color:var(--gp-accent); }
.gp-stat-table thead button:hover { color:var(--gp-ink); background:#ffffff08; }
.gp-stat-table tbody :is(th,td) { height:auto; padding:6px; border-bottom:1px solid #d3d6cb18; background:none; font-size:14px; }
.gp-stat-table tbody tr:hover { background:#0f131344; }
.gp-stat-table tbody th { padding-left:0; white-space:normal; overflow-wrap:anywhere; }
.gp-stat-table tbody td:last-child { padding-right:0; }
.gp-stat-map, .gp-stat-guild { display:flex; align-items:center; gap:8px; min-height:28px; }
.gp-stat-map img { width:80px; height:44px; object-fit:cover; border-radius:2px; flex:none; }
.gp-stat-guild .guild-cape { flex:none; inline-size:22px; block-size:44px; }
.gp-stat-rate { display:inline-flex; justify-content:flex-end; align-items:center; gap:7px; min-width:62px; }
.gp-stat-rate-track { width:27px; height:4px; background:#39413a; }
.gp-stat-rate-track i { display:block; height:100%; background:#92a686; }
.gp-stat-low { color:var(--gp-muted); }
.gp-stat-table .gp-stat-empty { height:auto; padding:20px 0; white-space:normal; color:var(--gp-muted); }
.gp-stat-footer { display:flex; justify-content:flex-end; align-items:center; gap:18px; min-height:28px; padding-top:0; }
.gp-stat-footer button { min-height:28px; padding:4px 0; border:0; background:none; color:var(--gp-ink); font:400 12px var(--font-sans); text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.gp-stat-footer button:hover { color:var(--gp-accent); }
[data-gp-skill-statistics] { margin-top:8px; width:100%; max-width:none; }
[data-gp-stat-table="skills"] .gp-stat-heading .gp-stat-search { margin-right:auto; }
[data-gp-stat-table="skills"] .skill-token { max-width:100%; padding:0; border:0; border-radius:0; background:none; box-shadow:none; white-space:normal; text-align:left; }
[data-gp-stat-table="skills"] .skill-token-icon { width:28px; height:28px; }
[data-gp-stat-table="skills"] .skill-token.is-elite .skill-token-icon { outline:1px solid var(--gp-accent); outline-offset:1px; }
[data-gp-stat-table="skills"] .skill-token-label { max-width:none; font-size:14px; white-space:normal; overflow:visible; text-overflow:clip; }
@media(max-width:1100px) {
  .guild-profile-shell .gp-summary { grid-template-columns:348px minmax(0,1fr); }
  .guild-profile-shell .gp-section-navigation .workspace-section-tabs { gap:4px 18px; }
  .guild-profile-shell .gp-section-navigation .workspace-section-tab { font-size:18px; }
  .gp-stat-achievements .gp-stage-record { grid-template-columns:minmax(0,1fr); gap:6px; }
  .gp-stat-achievements .gp-stage-record span { font-size:14px; }
  .guild-profile-shell .gp-identity h1 { font-size:26px; }
  .gp-stat-map img { width:48px; height:30px; }
  .gp-stat-guild .guild-cape { inline-size:18px; block-size:36px; }
  .gp-stat-map, .gp-stat-guild { gap:7px; }
  .gp-stat-rate-track { display:none; }
}
@media(max-width:760px) {
  .guild-profile-shell .gp-summary { display:block; padding:18px; }
  .guild-profile-shell .gp-summary .gp-rating-figure { border-inline-start:0; border-block-start:1px solid #aab8bf35; padding-inline-start:0; padding-block-start:18px; }
  .guild-profile-shell .gp-hero { grid-template-columns:84px minmax(0,1fr); gap:12px; }
  .guild-profile-shell .gp-cape { width:84px; height:168px; }
  .guild-profile-shell .gp-cape .guild-cape--profile { inline-size:84px; block-size:168px; }
  .guild-profile-shell .gp-identity h1 { font-size:27px; }
  .guild-profile-shell .gp-section-navigation .workspace-section-tab { min-height:44px; font-size:18px; }
  .guild-profile-shell .gp-section-navigation .workspace-section-tabs { gap:4px 20px; }
  .gp-workspace[data-gp-section="statistics"] .gp-period-group a { width:62px; font-size:12px; }
  .gp-stat-records { grid-template-columns:minmax(0,1fr); gap:12px; }
  .gp-stat-achievements .gp-honors { grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:12px; padding:12px; }
  .gp-stat-achievements .gp-gold-capes { gap:8px; }
  .gp-stat-achievements .gp-gold-capes strong, .gp-stat-achievements .gp-gold-capes strong > span { font-size:16px; }
  .gp-stat-achievements .gp-stage-record { grid-template-columns:minmax(0,1fr); gap:6px; }
  .gp-stat-achievements .gp-stage-record span { font-size:12px; }
  .gp-stat-achievements .gp-finish-history { grid-column:1 / -1; }
  .gp-stat-metrics tbody { display:grid; grid-template-columns:minmax(0,1fr) auto; }
  .gp-stat-metrics tr { display:contents; }
  .gp-stat-metrics :is(th,td) { display:block; padding:6px 8px; font-size:14px; }
  .gp-stat-metrics th > span { gap:4px; }
  .gp-stat-metrics .gp-stat-icon { display:none; }
  .gp-stat-estimate { font-size:10px; }
  .gp-stat-table { min-width:300px; }
  [data-gp-stat-table="skills"] .gp-stat-table { min-width:470px; }
  [data-gp-stat-table="skills"] .gp-stat-search { order:3; width:100%; }
  .guild-profile-shell .gp-summary .gp-rating-chart { height:280px !important; min-height:280px !important; min-block-size:280px; }
}

/* Build counts disclose every proven member; no single-example column. */
.gp-quick-filters .gp-period-group a { width:auto; min-width:76px; gap:7px; }
.gp-filter-count { font-size:11px; color:var(--gp-muted); }
.gp-builds-table thead th { padding:0; background:none; }
.gp-builds-table thead button { display:flex; align-items:center; gap:6px; width:100%; min-height:38px; padding:8px 12px; border:0; background:none; color:var(--gp-muted); font:inherit; cursor:pointer; }
.gp-builds-table thead th:not(:first-child) button { justify-content:flex-end; }
.gp-builds-table thead th[aria-sort] button { color:var(--gp-accent); }
.gp-builds-table .guild-registry-sort-icon path { opacity:.3; }
.gp-builds-table [aria-sort="ascending"] .sort-up,.gp-builds-table [aria-sort="descending"] .sort-down { opacity:1; }
.gp-build-toggle { display:inline-flex; align-items:center; justify-content:flex-end; gap:8px; min-height:36px; padding:4px 0; border:0; background:none; color:var(--gp-accent); font:inherit; cursor:pointer; }
.gp-build-toggle[aria-expanded="true"] svg { transform:rotate(180deg); }
.gp-builds-table .gp-build-details > td { padding:0 12px 12px; white-space:normal; }
.gp-build-match-list { list-style:none; margin:0; padding:0; }
.gp-build-match-list a { display:grid; grid-template-columns:90px minmax(0,1.5fr) minmax(0,1fr) 50px; align-items:center; gap:12px; padding:8px; border-bottom:1px solid #d3d6cb20; color:var(--gp-ink); text-decoration:none; font-size:13px; }
.gp-build-match-list a:hover { background:#ffffff08; color:var(--gp-accent); }
.gp-build-match-list time,.gp-build-match-list strong { color:var(--gp-muted); font-weight:400; }
.gp-build-match-list strong { text-align:right; }
@media(max-width:760px) {
 .gp-quick-filters .gp-period-group a { min-width:62px; }
 .gp-builds-table { min-width:570px; }
 .gp-summary-records :is(th,td) { font-size:13px; }
}

.gp-builds-table thead th:first-child button { justify-content:flex-start; }

/* Profile activity, shared tier disclosure and chart-only calendar windows. */
.gp-profile-badges { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:8px; }
.guild-profile-shell .gp-profile-badges .gp-tier { margin:0; font-size:12px; }
.guild-profile-shell .gp-tier-trigger { display:inline-flex; align-items:center; min-height:30px; padding:0; border:0; background:none; color:inherit; cursor:pointer; }
.gp-tier-trigger .tournament-tier-badge { margin:0; }
.gp-tier-trigger:hover .tournament-tier-badge, .gp-tier-trigger[aria-expanded="true"] .tournament-tier-badge { border-color:var(--tier-ink); }
.gp-activity { display:inline-block; padding:2px 6px; border:1px solid #bdc2cb59; border-radius:3px; color:#bdc2cb; background:#bdc2cb0d; font:600 12px/1.4 var(--font-sans); white-space:nowrap; }
.gp-activity.is-active { color:#75c990; border-color:#75c99066; background:#75c9900f; }
.gp-summary-records .gp-result-win { color:#75c990; }
.gp-summary-records .gp-result-loss { color:#ed7774; }
.gp-rank { display:inline-flex; align-items:center; justify-content:flex-end; gap:5px; white-space:nowrap; }
.gp-rank-trophy { display:inline-flex; }
.gp-rank-trophy.is-gold { color:#e4bb69; }
.gp-rank-trophy.is-silver { color:#c7d0dc; }
.gp-rank-trophy.is-bronze { color:#d6a079; }
.gp-rank-trophy svg { width:15px; height:15px; }
.guild-profile-shell .gp-rating-figure figcaption { display:grid; grid-template-columns:auto auto; align-items:center; justify-content:space-between; gap:7px 12px; }
.gp-rating-figure [data-gp-history-status] { grid-column:1 / -1; margin:0; color:var(--gp-muted); font-size:12px; }
.gp-chart-ranges { justify-self:end; }
.gp-chart-ranges button { min-width:0; padding:4px 10px; white-space:nowrap; }
.gp-tier-popover { position:fixed; inset:auto; margin:0; z-index:100; box-sizing:border-box; width:370px; max-width:calc(100vw - 24px); max-height:min(440px,calc(100dvh - 24px)); overflow:auto; padding:14px; border:1px solid var(--gp-line); border-radius:5px; background:#151b1d; color:var(--gp-ink); box-shadow:0 8px 28px #0009; font:400 13px/1.4 var(--font-sans); text-align:left; text-shadow:none; }
.gp-tier-popover > header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.gp-tier-popover > header strong { font-size:16px; font-weight:600; }
.gp-tier-popover > header button { display:grid; place-items:center; width:30px; height:30px; padding:0; border:0; border-radius:3px; background:none; color:var(--gp-muted); cursor:pointer; }
.gp-tier-popover > header button:hover { color:var(--gp-ink); background:#ffffff0a; }
.gp-tier-popover > p { margin:0 0 10px; color:var(--gp-muted); font-size:12px; }
.gp-tier-popover ol { margin:0; padding:0; list-style:none; }
.gp-tier-popover li { display:grid; grid-template-columns:44px minmax(0,1fr); align-items:center; gap:12px; padding:8px 4px; border-top:1px solid var(--gp-line); }
.gp-tier-popover li.is-current { background:#e4bb690b; }
.gp-tier-popover .guild-row-identity { display:grid; grid-template-columns:24px minmax(0,1fr); align-items:center; gap:10px; min-width:0; color:var(--gp-ink); text-decoration:none; }
.gp-tier-popover .guild-row-identity:hover { color:var(--gp-accent); }
.gp-tier-popover .guild-row-cape { display:inline-flex; }
.gp-tier-popover .guild-cape { inline-size:24px; block-size:48px; }
.gp-tier-popover .guild-row-copy { min-width:0; }
.gp-tier-popover .guild-row-name { font-weight:550; overflow-wrap:anywhere; }
.gp-tier-popover .guild-row-tag { color:var(--gp-muted); font-weight:400; white-space:nowrap; }
.gp-tier-popover :focus-visible { outline:2px solid var(--gp-accent); outline-offset:3px; }
@media(max-width:1100px) and (min-width:761px) {
 .gp-chart-switch button { min-width:0; padding:4px 8px; font-size:12px; }
 .guild-profile-shell .gp-rating-figure figcaption { gap:7px; }
}
@media(max-width:760px) {
 .gp-chart-switch button { min-width:0; padding:4px 7px; font-size:12px; }
 .guild-profile-shell .gp-rating-figure figcaption { gap:6px; }
}

/* A match appears only while a real chart observation is being inspected. */
.gp-event-card { width:250px; max-width:100%; box-sizing:border-box; padding:12px; color:#edf0f4; font:400 12px/1.45 var(--font-sans); text-shadow:none; }
.gp-event-meta { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:10px; color:#bdc2cb; font-size:11px; white-space:normal; }
.gp-event-result { flex-shrink:0; font-weight:600; }
.gp-event-result.is-win,.gp-event-card .is-positive { color:#75c990; }
.gp-event-result.is-loss,.gp-event-card .is-negative { color:#ed7774; }
.gp-event-opponent { display:flex; align-items:center; gap:9px; margin-bottom:12px; white-space:normal; }
.gp-event-cape { display:flex; flex-shrink:0; }
.gp-event-cape .guild-cape { inline-size:20px; block-size:40px; }
.gp-event-opponent > div { min-width:0; }
.gp-event-opponent strong { display:block; font-size:13px; font-weight:600; overflow-wrap:anywhere; }
.gp-event-opponent > div > span { display:block; margin-top:3px; color:#bdc2cb; font-size:11px; }
.gp-event-card dl { margin:0; padding-top:8px; border-top:1px solid #364044; }
.gp-event-card dl > div { display:flex; align-items:baseline; justify-content:space-between; gap:14px; }
.gp-event-card dt { color:#bdc2cb; font-weight:400; }
.gp-event-card dd { margin:0; font-weight:600; font-variant-numeric:tabular-nums; }
.gp-event-note { margin:5px 0 0; color:#bdc2cb; font-size:11px; white-space:normal; }
.gp-event-report { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:32px; margin-top:7px; color:#e4bb69; text-decoration:none; }
.gp-event-report:hover { color:#f4cf84; text-decoration:underline; text-underline-offset:3px; }
.gp-event-report:focus-visible,.gp-rating-chart:focus-visible { outline:2px solid #e4bb69; outline-offset:3px; }

/* One aligned facts table drives the adjacent graph height. */
.guild-profile-shell .gp-summary { margin-bottom:0; }
.guild-profile-shell .gp-hero { align-content:start; }
.gp-summary-records { align-self:start; }
.gp-summary-records th { padding-right:8px; white-space:normal; }
.gp-summary-records th > span { display:flex; align-items:center; gap:6px; }
.gp-summary-records :is(.gp-stage-icon,.gp-stat-icon) { width:15px; height:15px; flex:none; grid-row:auto; }
.gp-summary-records :is(.gp-header-averages,.gp-header-stages) > tr:first-child > :is(th,td) { padding-top:10px; border-top:1px solid #d3d6cb26; }
.gp-hero > [data-gp-header-status] { grid-column:2; margin:0; font-size:11px; }
.gp-trophy-shelf { margin:18px 0 24px; padding:0; background:none; text-shadow:0 1px 3px #0009; }
.gp-trophy-shelf h2 { margin:0 0 12px; color:var(--gp-ink); font:600 18px/1.3 var(--font-sans); }
.gp-trophy-scroll { min-width:0; overflow:auto; scrollbar-width:thin; scrollbar-color:#7c8a8d #101719; }
.gp-trophy-scroll ol { display:flex; width:100%; min-width:100%; margin:0; padding:0; list-style:none; }
.gp-trophy-scroll li { position:relative; flex:1 0 240px; box-sizing:border-box; min-width:240px; padding-right:24px; }
.gp-trophy-scroll li::before { content:''; position:absolute; left:0; right:0; top:28px; height:1px; background:#bdc2cb50; }
.gp-trophy-scroll li::after { content:''; position:absolute; left:0; top:25px; width:1px; height:7px; background:var(--gp-accent); }
.gp-trophy-scroll time { display:block; padding-bottom:18px; color:var(--gp-muted); font-size:12px; line-height:1.4; }
.gp-trophy { display:flex; align-items:center; gap:10px; min-height:60px; padding:4px 0; color:var(--gp-ink); text-decoration:none; }
a.gp-trophy:hover .gp-trophy-outcome { color:var(--gp-accent); text-decoration:underline; text-underline-offset:3px; }
.gp-trophy-cape { display:flex; flex-shrink:0; }
.gp-trophy-cape .guild-cape { inline-size:30px; block-size:60px; }
.gp-trophy-cape .guild-cape__trim { mask-mode:alpha; filter:brightness(1.15); }
.gp-placement-details { padding-right:8px; font-size:12px; line-height:1.5; }
.gp-placement-details p { margin:5px 0 0; }
.gp-placement-points { color:var(--gp-ink); }
.gp-placement-opponent { color:var(--gp-muted); }
.gp-placement-details a { color:inherit; text-decoration:none; }
.gp-placement-details a:hover { color:var(--gp-accent); text-decoration:underline; text-underline-offset:3px; }
.gp-trophy-mark { display:flex; align-items:center; justify-content:center; flex:0 0 30px; color:var(--gp-accent); }
.gp-trophy-mark :is(.gp-stage-icon,.workspace-control-icon) { width:28px; height:28px; grid-row:auto; }
.gp-trophy-outcome { display:block; font-size:16px; font-weight:550; line-height:1.4; }
.is-winner .gp-trophy-outcome { color:var(--gp-accent); }
.gp-trophy-empty { margin:0; color:var(--gp-muted); font-size:13px; }
.gp-statistics > .gp-stat-records { padding-top:0; }
@media(max-width:760px) {
 .guild-profile-shell .gp-summary .gp-rating-chart { height:320px !important; min-height:320px !important; min-block-size:320px; }
 .gp-trophy-shelf h2 { font-size:16px; }
 .gp-trophy-scroll li { flex-basis:210px; min-width:210px; padding-right:20px; }
 .gp-trophy-outcome { font-size:15px; }
}


/* Each month owns its anchor; short histories keep a compact measure. */
.is-dense .gp-trophy-scroll { overflow:visible; }
.is-dense .gp-trophy-scroll ol { display:grid; grid-template-columns:repeat(var(--gp-columns),minmax(0,1fr)); grid-auto-rows:1fr; gap:28px 0; width:min(100%,calc(var(--gp-columns)*96px)); min-width:0; }
.is-dense .gp-trophy-scroll li { grid-column:var(--gp-column) / span 2; grid-row:var(--gp-row); display:flex; flex-direction:column; justify-content:flex-end; min-width:0; padding:8px 6px; }
.is-dense .gp-trophy-scroll li:nth-child(even) { justify-content:flex-start; }
.is-dense .gp-trophy-scroll li::before { left:6px; right:auto; top:auto; bottom:-14px; height:1px; width:calc(var(--gp-axis-span)*50%); background:#bdc2cb70; }
.is-dense .gp-trophy-scroll li:nth-child(even)::before { display:none; }
.is-dense .gp-trophy-scroll li::after { left:6px; top:auto; bottom:-14px; width:1px; height:14px; background:var(--gp-accent); }
.is-dense .gp-trophy-scroll li:nth-child(even)::after { top:-14px; bottom:auto; }
.gp-placement-node { position:absolute; z-index:1; left:3px; bottom:-17px; width:6px; height:6px; border-radius:50%; background:var(--gp-accent); }
.is-dense .gp-trophy-scroll li:nth-child(even) .gp-placement-node { top:-17px; bottom:auto; }
.is-dense .gp-trophy-scroll time { padding:0; margin:0 0 6px; font-size:11px; }
.is-dense .gp-trophy { min-height:36px; gap:4px; padding:0; }
.is-dense .gp-trophy-cape .guild-cape { inline-size:18px; block-size:36px; }
.is-dense .gp-trophy-mark { flex-basis:16px; }
.is-dense .gp-trophy-mark :is(.gp-stage-icon,.workspace-control-icon) { width:16px; height:16px; }
.is-dense .gp-trophy-outcome { font-size:13px; overflow-wrap:anywhere; }
.is-dense .gp-placement-details { padding:0; }
.is-dense .gp-placement-details p { margin:4px 0 0; font:400 11px/1.4 var(--font-sans); white-space:normal; overflow-wrap:anywhere; }
@media(max-width:760px) {
 .is-dense .gp-trophy-scroll ol { grid-template-columns:repeat(var(--gp-mobile-columns),minmax(0,1fr)); width:min(100%,calc(var(--gp-mobile-columns)*96px)); }
 .is-dense .gp-trophy-scroll li { grid-column:var(--gp-mobile-column) / span 2; grid-row:var(--gp-mobile-row); padding-inline:6px; }
 .is-dense .gp-trophy-scroll li::before { width:calc(var(--gp-mobile-axis-span)*50%); }
 .is-dense .gp-trophy-mark { flex-basis:14px; }
 .is-dense .gp-trophy-mark :is(.gp-stage-icon,.workspace-control-icon) { width:14px; height:14px; }
 .is-dense .gp-trophy-outcome { font-size:11px; }
}

/* Tournament totals reuse the existing inspectable chart card. */
.gp-tournament-event { max-height:none; overflow:visible; padding:10px; }
.gp-tournament-event-heading { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; }
.gp-tournament-event-title,.gp-tournament-total { font-size:14px; font-weight:600; }
.gp-tournament-total { font-variant-numeric:tabular-nums; }
.gp-tournament-record { margin:4px 0 8px; color:#bdc2cb; font-size:11px; }

/* Sparse histories keep the same anchored pattern at a comfortable reading size. */
.gp-trophy-scroll ol.is-short { width:min(100%,calc(var(--gp-columns)*120px)); }
.is-short .gp-trophy-outcome { font-size:14px; }
.is-short .gp-placement-details p,.is-dense .is-short time { font-size:12px; }
.is-short .gp-trophy { min-height:44px; }
.is-short .gp-trophy-cape .guild-cape { inline-size:22px; block-size:44px; }
.is-short .gp-trophy-mark { flex-basis:18px; }
.is-short .gp-trophy-mark :is(.gp-stage-icon,.workspace-control-icon) { width:18px; height:18px; }
.gp-tournament-event { width:360px; }
.gp-tournament-reports { margin:8px 0 0; padding:0; list-style:none; }
.gp-tournament-reports li { border-top:1px solid #364044; }
.gp-tournament-reports li .gp-tournament-match { display:flex; align-items:center; gap:8px; padding:6px 0; }
.gp-tournament-match .gp-event-cape { flex:none; }
.gp-tournament-match .guild-cape { inline-size:14px; block-size:28px; }
.gp-tournament-match-copy { flex:1; min-width:0; }
.gp-tournament-match-copy strong { display:block; font-size:11px; font-weight:550; overflow-wrap:anywhere; }
.gp-tournament-match-copy > span { display:block; margin-top:2px; color:#bdc2cb; font-size:11px; line-height:1.4; }
.gp-tournament-match-copy time { white-space:nowrap; }
.gp-tournament-match-change { flex:none; text-align:right; font-size:12px; font-weight:600; }
.gp-tournament-match-change small { display:block; color:#bdc2cb; font-size:10px; font-weight:400; }

.gp-tournament-event.has-many-matches { width:480px; }
.has-many-matches .gp-tournament-reports { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:12px; }
.gp-tournament-event .gp-event-meta { margin-bottom:4px; }
@media(max-width:760px) {
 .has-many-matches .gp-tournament-reports { column-gap:10px; }
 .gp-tournament-match .gp-event-cape { display:none; }
 .gp-tournament-reports li .gp-tournament-match { gap:6px; padding:6px 0; }
}


.gp-tournament-event { pointer-events:none; }

/* Player profile appearance lanes, reversed to show players for one guild. */
.gp-lineups { color:var(--gp-ink); --px-muted:var(--gp-muted); --px-line:var(--gp-line); --px-gold:var(--gp-accent); }
.gp-lineups-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:0 12px; margin:0 0 20px; }
.gp-lineups h2 { margin:0; font:600 22px/1.3 var(--font-sans); }
.gp-lineups-controls { display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; padding:0 12px; margin-bottom:20px; }
.gp-lineups-controls label { display:flex; align-items:center; gap:8px; color:var(--gp-muted); font-size:13px; }
.gp-lineups-controls input { width:280px; max-width:100%; box-sizing:border-box; padding:8px 10px; min-height:38px; border:1px solid var(--gp-line); border-radius:3px; color:var(--gp-ink); background:rgb(15 23 25 / 55%); font:400 13px var(--font-sans); }
.gp-lineups-controls input::placeholder { color:var(--gp-muted); }
.gp-lineups-controls select { min-height:38px; padding:6px 8px; border:1px solid var(--gp-line); border-radius:3px; background:#151d20; color:var(--gp-ink); font:400 13px var(--font-sans); }
.gp-lineups-views { display:flex; gap:3px; padding:3px; border:1px solid var(--gp-line); border-radius:3px; background:none; }
.gp-lineups-views button,.gp-lineups-footer button { min-height:36px; padding:6px 12px; border:0; border-radius:2px; color:var(--gp-muted); background:none; font:500 13px var(--font-sans); cursor:pointer; }
.gp-lineups-views [aria-pressed="true"] { color:var(--gp-accent); background:rgb(232 190 99 / 12%); }
.gp-lineups-results { background:rgb(11 18 22 / 56%); }
.gp-lineups .px-guild-axis,.gp-lineups .px-guild-chart-row { display:grid; grid-template-columns:minmax(170px,.8fr) minmax(0,1.5fr) 52px; gap:8px; align-items:center; }
.gp-lineups .px-guild-axis { padding:8px 12px; color:var(--gp-muted); font-size:12px; }
.gp-lineups .px-guild-axis > div { display:flex; justify-content:space-between; }
.gp-lineups .px-guild-axis > span:last-child { text-align:right; }
.gp-lineups .px-guild-chart { padding:0 12px; }
.gp-lineups .px-guild-chart-row { min-height:52px; border-top:1px solid var(--gp-line); }
.gp-lineups .px-guild-chart-name { display:flex; align-items:center; gap:8px; min-width:0; min-height:44px; color:var(--gp-ink); font-size:14px; text-decoration:none; }
.gp-lineups a.px-guild-chart-name:hover { color:var(--gp-accent); text-decoration:underline; }
.gp-lineups .px-guild-chart-name > span:last-child { min-width:0; overflow-wrap:anywhere; }
.gp-lineups .px-guild-chart-name small { display:block; margin-top:2px; color:var(--gp-muted); font-size:11px; }
.gp-lineups .gp-profession-icon { flex:none; width:22px; height:22px; }
.gp-lineups .px-guild-chart-row > svg { width:100%; height:44px; overflow:visible; }
.gp-lineups .px-timeline-guide { stroke:var(--gp-line); stroke-width:1; }
.gp-lineups .px-appearance { fill:none; stroke-width:6; stroke-linecap:round; vector-effect:non-scaling-stroke; }
.gp-lineups .px-appearance-hit { fill:none; stroke:transparent; stroke-width:16; stroke-linecap:round; vector-effect:non-scaling-stroke; pointer-events:stroke; }
.gp-lineups .px-appearance.win { stroke:#75c990; }
.gp-lineups .px-appearance.loss { stroke:#ed7774; }
.gp-lineups .px-appearance.unknown { stroke:var(--gp-muted); }
.gp-lineups .px-guild-chart-row svg a:hover .px-appearance,.gp-lineups .px-guild-chart-row svg a:focus-visible .px-appearance { stroke-width:9; }
.gp-lineups .px-guild-chart-count { text-align:right; font-size:14px; font-variant-numeric:tabular-nums; }
.gp-lineups .px-guild-legend { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:10px 12px; border-top:1px solid var(--gp-line); color:var(--gp-muted); font-size:12px; }
.gp-lineups .px-guild-legend > span { display:flex; align-items:center; gap:6px; }
.gp-lineups .px-guild-legend i { width:6px; height:6px; border-radius:50%; }
.gp-lineups .px-guild-legend .win { background:#75c990; }
.gp-lineups .px-guild-legend .loss { background:#ed7774; }
.gp-lineups .px-guild-legend .unknown { background:var(--gp-muted); }
.gp-lineups .px-guild-legend small { margin-left:auto; font-size:12px; }
.gp-lineups-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin-top:12px; color:var(--gp-muted); font-size:12px; }
.gp-lineups-footer > div { display:flex; gap:8px; }
.gp-lineups-footer button { border:1px solid var(--gp-line); background:#151d20; }
.gp-lineups-footer button:hover { color:var(--gp-accent); }
.gp-lineups :focus-visible { outline:2px solid var(--gp-accent); outline-offset:3px; }
.gp-lineups-table { width:100%; margin:0; }
.gp-lineups-table :is(th,td) { padding:10px 12px; border-bottom:1px solid var(--gp-line); text-align:right; font-size:13px; }
.gp-lineups-table thead th:first-child { text-align:left; }
.gp-lineups-table tbody th { white-space:normal; text-align:left; }
.gp-lineups-table tbody th > small { display:block; color:var(--gp-muted); font:400 11px/1.5 var(--font-sans); }
.gp-lineups-table .gp-result-win { color:#75c990; }
.gp-lineups-table .gp-result-loss { color:#ed7774; }
.gp-lineup-tooltip { position:fixed; z-index:2000; width:min(360px,calc(100vw - 16px)); box-sizing:border-box; padding:12px; background:#151d20; color:var(--gp-ink); border:1px solid var(--gp-line); border-radius:4px; pointer-events:none; font:400 12px/1.5 var(--font-sans); }
.gp-lineup-tooltip p { margin:5px 0; color:var(--gp-muted); }
.gp-lineup-tooltip small { display:block; color:var(--gp-muted); }
.gp-lineup-tooltip .px-tooltip-elites { display:flex; flex-wrap:wrap; gap:4px; margin:5px 0 8px; }
.gp-lineup-tooltip .px-tooltip-elites > span { display:flex; align-items:center; justify-content:center; width:28px; height:28px; background:#222d31; font-size:10px; }
.gp-lineup-tooltip img { width:28px; height:28px; object-fit:cover; }
@media(max-width:760px) {
 .gp-lineups-controls { gap:10px; }
 .gp-lineups-controls label:first-child { flex:1 0 100%; }
 .gp-lineups-controls input { width:100%; }
 .gp-lineups-controls :is(input,select),.gp-lineups-views button,.gp-lineups-footer button { min-height:44px; }
 .gp-lineups .px-guild-axis,.gp-lineups .px-guild-chart-row { grid-template-columns:minmax(116px,1fr) minmax(0,1.4fr) 28px; gap:6px; }
 .gp-lineups .px-guild-axis { padding:8px; }
 .gp-lineups .px-guild-axis > span:last-child { font-size:0; }
 .gp-lineups .px-guild-axis > div > span:nth-child(2) { display:none; }
 .gp-lineups .px-guild-chart { padding-inline:8px; }
 .gp-lineups .px-guild-chart-name { font-size:12px; gap:6px; }
 .gp-lineups .px-guild-legend small { margin-left:0; flex-basis:100%; }
 .gp-lineups-table thead th:last-child,.gp-lineups-table tbody td:last-child:not([colspan]) { display:none; }
 .gp-lineups-table :is(th,td) { padding:8px; font-size:12px; }
 .gp-lineups-table tbody th { min-width:110px; }
}

.gp-workspace[data-gp-section="lineups"] .gp-quick-filters { padding:0 12px; margin-bottom:24px; border:0; background:none; }
.gp-lineups-footer { padding-inline:12px; }
