/* The guild pages (guild.html, guild-page.js). Built only from the site's tokens, like reviews.css and partners.css; the
   member's most played spec's class colour comes in as the accent variables on <main> (only the top of the page takes it). */
.gpage.rv-guild .wrap.gw{max-width:var(--maxw)}
.rv-guild[style] .rv-hero .eyebrow{color:var(--acc-hi)}
#gdTitle:focus,.rv-guild h2:focus{outline:none}
.rv-guild .rv-sec{scroll-margin-top:90px}

/* the top */
.gd-nav{display:flex;flex-wrap:wrap;gap:6px 22px;margin:18px 0 0}
.gd-jump{font-family:var(--f-head);font-weight:600;font-size:15px;letter-spacing:.08em;text-transform:uppercase}
/* the bracket chips (3v3, 2v2, Solo Shuffle), as match history's; a bracket with no games can't be picked */
.gd-brs{display:grid;gap:6px;margin:18px 0 0}
.gd-brs .rv-h4{margin:0}
.gd-brs .rv-filter{margin:0}
.gd-brs .rv-fb[disabled]{opacity:.45;cursor:default}
.gd-table-sh td small.gd-sm{display:inline;font-size:13px}
.gd-opt{margin-top:20px;max-width:760px;padding:16px 18px}
.gd-switch{display:flex;gap:14px;align-items:flex-start;cursor:pointer}
.gd-switch input{appearance:none;-webkit-appearance:none;flex:none;width:42px;height:24px;margin-top:2px;border-radius:12px;background:var(--well);box-shadow:inset 0 0 0 1px var(--line);position:relative;cursor:pointer;transition:background .15s}
.gd-switch input::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--muted);transition:transform .15s,background .15s}
.gd-switch input:checked{background:var(--acc-soft);box-shadow:inset 0 0 0 1px var(--acc-line)}
.gd-switch input:checked::after{transform:translateX(18px);background:var(--acc-hi)}
.gd-switch input:focus-visible{outline:2px solid var(--acc-hi);outline-offset:2px}
.gd-switch input:disabled{opacity:.6;cursor:default}
.gd-switch > span{display:grid;gap:4px}
.gd-switch b{color:var(--text);font-weight:600;font-size:16px}
.gd-switch small{color:var(--muted);font-size:14px;line-height:1.5}

/* section heads with a control on the right */
.gd-sec-h{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 24px}
.gd-sec-h > div{max-width:72ch}
.gd-pick{display:inline-grid;gap:6px;align-content:start}
.gd-pick .rv-h4{margin:0}
.gd-sel{appearance:none;-webkit-appearance:none;height:38px;min-width:220px;max-width:100%;padding:0 34px 0 12px;border-radius:var(--r);border:1px solid #050306;color:var(--text);
  background:var(--well) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23A69DA6'/%3E%3C/svg%3E") no-repeat right 12px center;
  box-shadow:inset 0 0 0 1px var(--line);font:500 15px/1 var(--f-body);cursor:pointer}
.gd-sel-w{min-width:340px}
.gd-sel:focus-visible{outline:2px solid var(--acc-hi);outline-offset:2px}
.gd-ctl{display:flex;flex-wrap:wrap;gap:16px 28px;align-items:flex-start;margin:0 0 18px}
.gd-filt{margin:0 0 14px}
.gd-ctl .gd-filt{margin:0}
.gd-h3{margin:26px 0 10px}
.rv-guild .gd-sm{font-size:14px;color:var(--muted);line-height:1.5;margin:0}
.rv-guild .gd-none{color:var(--faint);font-size:14.5px;margin:0}
.rv-guild .gd-sure{font-size:13.5px;color:var(--faint);line-height:1.5;margin:0}
.gd-lbl{color:var(--text);font-weight:600}
.gd-lead{font-size:10.5px;padding:0 6px;cursor:help}
.gd-state.is-building p{color:var(--muted)}
.gd-cov{margin:0 0 14px}

/* the week */
.gd-tiles{max-width:none;margin-bottom:16px}
.gd-week{grid-template-columns:repeat(2,minmax(0,1fr))}
.gd-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.gd-list li{display:flex;align-items:center;gap:12px}
.gd-li-b{display:grid;line-height:1.3;flex:1;min-width:0}
.gd-li-b small{font-size:13px;color:var(--muted)}
.gd-up{font-family:var(--f-head);font-weight:700;font-size:20px;color:var(--win)}
.gd-duo{display:flex;gap:14px;align-items:flex-start}
.gd-duo-i{display:flex;gap:4px}
.gd-duo p{margin:4px 0 0;color:#D7CFD3;font-size:15px;line-height:1.5}

/* highlights */
.gd-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.gd-hl-card{padding:16px 18px;display:grid;gap:12px}
.gd-hl-card .rv-h4{margin:0}
.gd-hls{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.gd-hl{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:start;padding:12px 12px 12px 14px;border-radius:var(--r);background:var(--well);box-shadow:inset 0 0 0 1px var(--line),inset 3px 0 0 var(--k)}
.gd-hl.k-onepct{--k:var(--gold)} .gd-hl.k-clutch{--k:var(--win)} .gd-hl.k-fastkill{--k:var(--loss)} .gd-hl.k-ccchain{--k:var(--silver)}
.gd-hl-b{display:grid;gap:3px;min-width:0}
.gd-hl-t{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.gd-hl-t b{font-family:var(--f-head);font-weight:600;font-size:15px;letter-spacing:.06em;text-transform:uppercase;color:var(--text)}
.gd-hl-t .pill{font-size:11px;padding:0 7px}
.gd-hl-c{font-size:13px;color:var(--faint)}
.gd-hl p{margin:0;color:#D7CFD3;font-size:15px;line-height:1.5}
.gd-hl small{font-size:13px;color:var(--muted)}
.gd-copy{white-space:nowrap;align-self:center}
.gd-ta{position:absolute;left:-9999px;width:1px;height:1px}

/* matchups */
.gd-leads{margin-bottom:16px}
.gd-leads p{margin:0;color:#D7CFD3;font-size:16px;line-height:1.6}
.gd-leads p.gd-sure{font-size:13.5px;color:var(--faint)}
.gd-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,22rem),1fr));gap:16px;align-items:start}
.gd-mu{display:grid;gap:14px;padding:16px 18px}
.gd-mu.up{box-shadow:inset 0 0 0 1px var(--line),inset 0 2px 0 rgba(92,203,140,.65)}
.gd-mu.down{box-shadow:inset 0 0 0 1px var(--line),inset 0 2px 0 var(--loss-line)}
.gd-mu-h{display:flex;align-items:center;gap:12px}
.gd-mu-t{display:grid;line-height:1.3;flex:1;min-width:0}
.gd-mu-t small{font-size:13px;color:var(--muted)}
.gd-mu-ae{text-align:right;white-space:nowrap}
.gd-mu-v{display:grid;gap:4px}
.gd-mu .rv-h4{margin:0 0 6px}
.gd-vs,.gd-died{display:block;max-width:100%;height:auto}
.gd-pred{fill:var(--ink);stroke:var(--silver);stroke-width:2}
.gd-won{stroke:#050306;stroke-width:1.5;fill:var(--silver)}
.gd-won.up{fill:var(--win)} .gd-won.down{fill:var(--loss)}
.gd-span{fill:var(--silver);opacity:.55}
.gd-span.up{fill:var(--win);opacity:.75} .gd-span.down{fill:var(--loss);opacity:.75}
.gd-mid{stroke-dasharray:2 2}
.gd-ae{font-family:var(--f-head);font-weight:600;letter-spacing:.02em;color:var(--muted)}
.gd-ae b{font-size:17px}
.gd-ae.up b{color:var(--win)} .gd-ae.down b{color:var(--loss)}
.gd-d-healer{fill:var(--win);background:var(--win)}
.gd-d-melee{fill:var(--loss);background:var(--loss)}
.gd-d-ranged{fill:var(--gold);background:var(--gold)}
.gd-key{list-style:none;margin:8px 0 4px;padding:0;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13.5px;color:var(--muted)}
.gd-key li{display:inline-flex;align-items:center;gap:6px}
.gd-key i{width:9px;height:9px;border-radius:2px;display:inline-block}
.gd-times b{color:var(--text)}
.gd-op{display:grid;gap:8px}
.gd-op-r{display:flex;gap:10px;align-items:flex-start}
.gd-op-r small{font-size:12.5px;color:var(--muted)}
.gd-op-l{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px}
.gd-op-l li{position:relative}
.gd-op-l .rv-ic{width:26px;height:26px;border-radius:4px}
.gd-op-l .rv-ic.ph{font-size:11px}
.gd-op-x{position:absolute;right:-3px;bottom:-4px;font:700 10px/1 var(--f-head);color:var(--text);background:#050306;border-radius:3px;padding:1px 2px}
.gd-you{border-top:1px solid var(--line);padding-top:12px}
.gd-you p{margin:0 0 6px;font-size:14.5px;color:#D7CFD3}
.gd-you-l{list-style:none;margin:0;padding:0;display:grid;gap:4px;font-size:13.5px;color:var(--muted)}
.gd-you-l li{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline}
.gd-you-l li > span:first-child{flex:1;min-width:12rem}
.gd-you-l .gd-ae b{font-size:14px}

/* the meta */
.gd-stand{margin-bottom:8px}
.gd-tcard{padding:4px 6px}
.gd-table td,.gd-table th,.gd-table tbody th{padding:9px 12px}
.gd-table .rv-ic.sm{width:26px;height:26px}
.gd-who{display:inline-flex;align-items:center;gap:10px}
.gd-shc{display:inline-flex;align-items:center;gap:9px}
.gd-sh{flex:none}
.gd-sh-f{fill:var(--silver)}
.gd-tr{font-family:var(--f-head);font-weight:600;font-size:13.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);white-space:nowrap}
.gd-tr.up{color:var(--win)} .gd-tr.down{color:var(--loss)}

@media (max-width:900px){
  .gd-week,.gd-two{grid-template-columns:1fr}
  .gd-sel-w{min-width:0;width:100%}
  .gd-hl{grid-template-columns:auto 1fr}
  .gd-copy{grid-column:2;justify-self:start}
}
@media (prefers-reduced-motion:reduce){.gd-switch input,.gd-switch input::after{transition:none}}
