@font-face { font-family:Unbounded; src:url('/assets/unbounded-bold.woff2') format('woff2'); font-weight:700; font-display:swap; }
body { min-height:100svh; }
.shell { max-width:1080px; }
.site-header .header-inner { min-height:57px; }
.home-search {
  position:relative; z-index:2; display:flex; flex-direction:column; align-items:center;
  padding:clamp(36px,4.8vw,65px) 0 clamp(34px,3.6vw,50px);
}
.home-search h1 { font:700 clamp(32px,4.2vw,60px)/1.18 Unbounded,Golos,sans-serif; letter-spacing:-.055em; text-align:center; text-wrap:balance; }
.home-search h1 span { color:#eacb9a; }
.home-search .header-search { flex:none; width:min(650px,100%); margin-top:25px; }
.home-search .search-field { border-radius:10px; background:#121b1ff5; border-color:#85775c; box-shadow:0 6px 30px #04080b4d; }
.home-search .search-field svg { margin-inline-start:19px; }
.home-search .search-field input { min-height:56px; font-size:17px; padding-inline-start:12px; }
.home-search .search-popup { z-index:3; }
.pin { margin-top:10px; display:inline-flex; align-items:center; gap:8px; font-size:12px; color:var(--muted); }
.pin strong { color:var(--gold); font-weight:500; }
.pin .avatar { width:22px; height:22px; border-radius:4px; }
[hidden] { display:none !important; }
.meta-heading { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:14px; margin-bottom:14px; }
.meta-heading h2 { font-weight:500; font-size:clamp(24px,2.2vw,32px); letter-spacing:-.055em; }
.meta-heading p,.meta-source { color:var(--muted); font-size:12px; }
.meta-heading p { margin-top:3px; }
.mode-switch { display:flex; gap:3px; padding:3px; border-radius:7px; border:1px solid var(--line); background:#101a1ef2; }
.mode-switch a { display:grid; place-items:center; min-height:34px; padding:2px 13px; border-radius:4px; font-weight:500; white-space:nowrap; }
.mode-switch a[aria-current=true] { color:#f8e1b8; background:#36362e; box-shadow:inset 0 0 0 1px #847451; }
.meta-summary,.meta-card { border:1px solid #3a4748; border-radius:9px; background:#162125f7; overflow:hidden; }
.meta-summary { display:grid; grid-template-columns:3fr 2fr; gap:clamp(16px,4vw,60px); align-items:center; padding:15px 24px; margin-bottom:12px;
  background:radial-gradient(ellipse at 0 0,#28463b85,transparent 64%),linear-gradient(110deg,#1a282a,#142124); }
.meta-summary dl { margin:0; display:grid; grid-template-columns:1.25fr 1fr; gap:16px; }
.meta-summary dl > div+div { border-left:1px solid #718b7f55; padding-left:20px; }
.meta-summary dt,.meta-activity p { color:var(--muted); font-size:12px; }
.meta-summary dd { margin:1px 0 0; font-size:clamp(24px,2.3vw,34px); font-weight:500; line-height:1.2; letter-spacing:-.055em; font-variant-numeric:tabular-nums; color:#f1e4c9; }
.meta-activity { display:flex; justify-content:flex-end; gap:18px; align-items:center; }
.meta-days { display:flex; flex:1; gap:5px; }
.meta-day { display:grid; grid-template-rows:32px auto; flex:1; min-width:0; text-align:center; }
.meta-day i { display:block; width:100%; height:var(--height); align-self:end; background:linear-gradient(#94bdaa,#557768); border-radius:2px 2px 0 0; }
.meta-day:last-child i { background:linear-gradient(#ddc398,#a98b5e); }
.meta-day time { font-style:normal; color:var(--muted); font-size:10px; line-height:16px; }
.meta-toolbar { position:relative; z-index:1; padding:7px 17px; display:flex; align-items:center; justify-content:space-between; gap:10px;
  color:var(--muted); font-size:12px; background:#1d2a2d; border-bottom:1px solid #354344; }
#tier-guide { min-width:0; }
#tier-guide summary { width:fit-content; min-height:25px; display:list-item; align-content:center; color:#e5d6b6; cursor:pointer; }
.tier-key { margin:5px 0 3px; }
.tier-key p+p { margin-top:3px; }
.tier-key b { color:#e6cf9d; }
.ban-info { text-align:right; }
.meta-table { width:100%; font-variant-numeric:tabular-nums; }
.meta-table thead { background:#182326; }
.meta-table th,.meta-table td { padding:7px clamp(8px,1.7vw,24px); text-align:right; white-space:nowrap; }
.meta-table th { font-size:12px; }
.meta-table th:first-child,.meta-table td:first-child { text-align:left; white-space:normal; }
.meta-table :is(td,th):first-child { padding-inline-start:16px; }
.meta-table :is(td,th):last-child { padding-inline-end:20px; }
.meta-table td { font-size:14px; border-color:#2d3b3e; }
.meta-table tr:nth-child(even) td { background:#1a2528; }
.meta-table tbody tr:hover td { background:#253136; }
.meta-table button { padding:3px 0; }
.meta-hero { width:45%; }
.hero-identity { display:flex; align-items:center; gap:11px; }
.hero-identity strong { display:block; font-weight:500; }
.hero-identity img { width:34px; height:34px; object-fit:contain; }
.hero-tier { width:25px; height:24px; border-radius:4px; flex:none; display:grid; place-items:center;
  background:#344348; color:#c8d4d1; line-height:1; font-size:12px; font-weight:500; }
.hero-tier[data-tier=S] { background:#55452d; color:#f4d59a; }
.hero-tier[data-tier=A] { background:#27493e; color:#b1e0bd; }
.hero-tier[data-tier=B] { background:#2b404e; color:#b4ccd8; }
.hero-tier[data-tier=C] { background:#413d4c; color:#cec0db; }
.hero-tier[data-tier=D] { background:#493733; color:#e8b9a7; }
.hero-identity small,.mobile-games-sort { display:none; }
.hero-win { font-weight:500; color:#d0e0d3; }
.meta-source { padding:13px 0 30px; }
#mode-status:not(:empty) { position:fixed; z-index:5; bottom:16px; left:50%; transform:translateX(-50%); padding:8px 12px; border:1px solid var(--line); border-radius:5px; background:var(--panel); }
.meta-unavailable { padding:18px 0; color:var(--muted); }

@media(max-width:690px) {
  .shell { width:calc(100% - 28px); }
  .site-header .header-inner { flex-wrap:nowrap; }
  .home-search { padding:38px 0 31px; }
  .home-search h1 { font-size:clamp(25px,6.3vw,40px); }
  .home-search .header-search { margin-top:17px; }
  .home-search .search-field input { min-height:52px; font-size:16px; }
  .meta-summary { padding:12px; gap:14px; }
  .meta-summary dl { gap:10px; }
  .meta-summary dl > div+div { padding-left:12px; }
  .meta-activity { display:block; }
  .meta-activity p { font-size:10px; margin-bottom:4px; }
  .meta-days { gap:3px; }
  .meta-day { grid-template-rows:22px auto; }
  .meta-day time { font-size:9px; }
  .meta-heading { gap:8px; }
  .meta-heading h2 { font-size:22px; }
  .mode-switch a { padding-inline:9px; min-height:32px; }
  .meta-table td { font-size:13px; }
  .meta-table :is(td,th) { padding-inline:7px; }
  .meta-table :is(td,th):first-child { padding-inline-start:9px; }
  .meta-table :is(td,th):last-child { padding-inline-end:9px; }
  .hero-identity { gap:6px; }
}
@media(max-width:490px) {
  .home-search { padding:30px 0 23px; }
  .meta-heading p { font-size:10px; }
  .mode-switch a { font-size:11px; min-height:32px; padding-inline:7px; }
  .meta-summary { grid-template-columns:minmax(0,1fr) 26%; gap:7px; }
  .meta-summary dt { font-size:10px; }
  .meta-summary dd { font-size:22px; }
  .meta-days { gap:2px; }
  .meta-day:not(:first-child):not(:last-child) time { visibility:hidden; }
  .meta-toolbar { padding-inline:9px; font-size:10px; }
  .meta-table .hero-games { display:none; }
  .meta-table .mobile-games-sort { display:inline; font-size:10px; margin-inline-start:5px; color:var(--muted); text-decoration:underline dotted; text-underline-offset:3px; }
  .hero-identity img { width:25px; height:25px; }
  .hero-identity small { display:block; font-size:9px; color:var(--muted); }
  .hero-tier { width:16px; height:19px; font-size:10px; }
  .hero-identity { gap:4px; }
  .meta-table th,.meta-table td { padding:6px 3px; font-size:11px; }
  .meta-table th { font-size:10px; }
  .meta-hero { width:48%; }
  .hero-identity-text { min-width:0; overflow-wrap:anywhere; line-height:1.3; }
}

.meta-controls { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:10px; margin:0 0 14px; padding:0 1px; }
.meta-views { display:flex; align-self:stretch; gap:5px; align-items:stretch; }
.meta-views a { display:inline-flex; align-items:center; padding:7px 11px; border-bottom:2px solid transparent; font-size:14px; }
.meta-views a[aria-current=page] { border-color:var(--gold); color:var(--gold); font-weight:500; }
.meta-rank-select { display:flex; align-items:center; gap:9px; margin:0; font-size:12px; }
.meta-rank-select label { color:var(--muted); }
.meta-rank-select select,.meta-rank-select button,.meta-retry {
  min-height:35px; max-width:100%; border:1px solid var(--line); border-radius:5px; color:var(--text); background:#1b272a; padding:5px 9px;
}
.meta-rank-select select { cursor:pointer; }
.meta-rank-select option { background:var(--panel); }
.meta-empty { padding:18px 14px; color:var(--muted); }
.meta-retry { margin:0 0 22px 14px; }
.duo-pair,.duo-member,.rank-link { display:flex; align-items:center; gap:8px; }
.duo-pair { gap:16px; }
.duo-position { color:var(--muted); min-width:19px; text-align:right; font-size:12px; }
.duo-members { flex:1; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.duo-member { min-width:0; }
.duo-member img,.rank-link img { flex:none; width:30px; height:30px; object-fit:contain; }
.duo-member strong,.rank-link strong { font-weight:500; }
.duo-table td:first-child { width:69%; }
.rank-table { table-layout:fixed; }
.rank-table th:first-child { width:36%; }
.rank-table th:last-child { width:24%; }
.rank-table td:nth-child(2) { position:relative; }
.rank-magnitude { display:inline-block; width:calc(100% - 60px); height:7px; margin-right:12px; background:#31403f; vertical-align:middle; border-radius:4px; overflow:hidden; }
.rank-magnitude::before { content:''; display:block; width:var(--share); height:100%; border-radius:3px; background:linear-gradient(90deg,#597f70,#9dc3a6); }
.selected-rank .rank-magnitude::before { background:linear-gradient(90deg,#997a51,#e8c18c); }
.rank-link { width:fit-content; min-height:30px; }
.rank-link span { color:var(--gold); }
.selected-rank .rank-link { color:var(--gold); }
@media(max-width:620px) {
  .meta-views { gap:0; }
  .meta-views a { padding:7px; }
  .meta-rank-select { flex-direction:column; align-items:stretch; gap:1px; }
  .meta-rank-select label { font-size:10px; }
  .meta-rank-select select { font-size:12px; min-height:32px; }
  .duo-members { display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
  .duo-pair { gap:5px; }
  .duo-member { gap:4px; }
  .duo-member img { width:22px; height:22px; }
  .duo-position { min-width:12px; font-size:10px; }
  .rank-link { gap:4px; }
  .rank-link img { width:24px; height:24px; }
  .rank-table th:first-child { width:42%; }
  .rank-magnitude { display:block; width:100%; max-width:90px; height:4px; margin:0 0 1px auto; }
}
