/* Gaming Fellers stats — vaporwave theme */
:root {
  --bg: #0d0221;
  --bg2: #160636;
  --panel: rgba(22, 6, 54, 0.72);
  --panel-solid: #1a0a3d;
  --line: rgba(255, 43, 214, 0.28);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f3ecff;
  --muted: #b39cd6;
  --dim: #7d6aa3;
  --pink: #ff2bd6;
  --cyan: #2bf0ff;
  --orange: #ff9a3c;
  --yellow: #ffe45c;
  --green: #5cff9d;
  --red: #ff4d6d;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Orbitron', var(--font);
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--line-soft) inset;
}
* { box-sizing: border-box; }
html { color-scheme: dark; overflow-x: hidden; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: rgba(43, 240, 255, 0.5); }
img { display: block; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
main.wrap { flex: 1; padding: 22px 0 48px; position: relative; z-index: 1; }

/* background */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, #0d0221 0%, #2a0a5e 45%, #7a1a8f 68%, #ff2bd6 78%, #ff9a3c 84%, #0d0221 84.2%); }
.bg .sun { position: absolute; left: 50%; top: 52%; width: 520px; height: 520px; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle at 50% 35%, #ffe45c 0%, #ff9a3c 45%, #ff2bd6 100%);
  -webkit-mask: repeating-linear-gradient(180deg, #000 0 26px, transparent 26px 34px); mask: repeating-linear-gradient(180deg, #000 0 26px, transparent 26px 34px);
  opacity: 0.55; filter: blur(0.3px); }
.bg .grid { position: absolute; left: -50%; right: -50%; top: 84%; bottom: -10%; transform-origin: 50% 0;
  background-image: linear-gradient(rgba(255, 43, 214, 0.55) 2px, transparent 2px), linear-gradient(90deg, rgba(255, 43, 214, 0.55) 2px, transparent 2px);
  background-size: 100% 42px, 64px 100%; transform: perspective(420px) rotateX(62deg); opacity: 0.6; }
.bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 2, 33, 0.35), rgba(13, 2, 33, 0.85) 60%, #0d0221 100%); }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(13, 2, 33, 0.78); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 50%; box-shadow: 0 0 0 2px var(--pink), 0 0 18px rgba(255, 43, 214, 0.6); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: 0.08em; text-transform: uppercase;
  background: linear-gradient(90deg, #fff, var(--cyan) 45%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 14px; }
.main-nav a:hover { color: var(--text); text-decoration: none; background: rgba(255, 255, 255, 0.06); }
.main-nav a.on { color: #fff; background: linear-gradient(90deg, rgba(255, 43, 214, 0.35), rgba(43, 240, 255, 0.25)); box-shadow: 0 0 0 1px var(--line) inset; }
.main-nav a.discord { color: var(--cyan); }
.server-switch { display: flex; gap: 6px; padding: 0 0 10px; flex-wrap: wrap; }
.server-switch a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; }
.server-switch a.on { color: var(--text); border-color: var(--line); background: rgba(255, 43, 214, 0.12); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.dot.up { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot.down { background: var(--red); }

/* generic */
.panel { min-width: 0; overflow: hidden; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; backdrop-filter: blur(8px); }
.panel + .panel, section + section { margin-top: 18px; }
.panel.center { text-align: center; padding: 60px 20px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(22px, 3.2vw, 34px); font-weight: 800; }
h2 { font-size: 15px; font-weight: 600; color: var(--muted); }
h2 .accent { color: var(--pink); }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: #0d0221;
  background: linear-gradient(90deg, var(--cyan), #9df7ff); box-shadow: 0 0 22px rgba(43, 240, 255, 0.35); }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.pink { background: linear-gradient(90deg, var(--pink), #ff7ae6); box-shadow: 0 0 22px rgba(255, 43, 214, 0.35); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.chip { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.chip.win { background: rgba(92, 255, 157, 0.15); color: var(--green); }
.chip.loss { background: rgba(255, 77, 109, 0.15); color: var(--red); }
.chip.draw { background: rgba(255, 228, 92, 0.15); color: var(--yellow); }
.chip.hs { background: rgba(255, 154, 60, 0.18); color: var(--orange); }
.chip.tk { background: rgba(255, 77, 109, 0.18); color: var(--red); }
.chip.live { background: rgba(92, 255, 157, 0.15); color: var(--green); }
.chip.live::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 6px; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.tag { color: var(--pink); font-weight: 700; margin-right: 4px; }
.tag.own { color: var(--cyan); }
.stale { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 154, 60, 0.15); color: var(--orange); border: 1px solid rgba(255, 154, 60, 0.35); font-size: 14px; }
.glitch { font-size: 96px; color: var(--pink); text-shadow: 3px 0 var(--cyan), -3px 0 var(--orange); }

/* hero / live */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.hero-title { font-family: var(--display); font-size: clamp(26px, 4vw, 44px); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 4px; line-height: 1.05;
  background: linear-gradient(180deg, #fff 30%, var(--cyan) 50%, var(--pink) 75%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(255, 43, 214, 0.35)); }
.hero-sub { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.live-card { position: relative; overflow: hidden; }
.live-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 43, 214, 0.18), transparent 40%, rgba(43, 240, 255, 0.14)); pointer-events: none; }
.live-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.live-map { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: 0.06em; }
.live-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.scores { display: flex; gap: 10px; margin: 12px 0; }
.score { flex: 1; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.3); border-left: 4px solid var(--c, var(--dim)); }
.score .f { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.score .v { font-family: var(--display); font-size: 26px; font-weight: 800; }
.bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 6px; }
.bar > i { display: block; height: 100%; background: var(--c, var(--pink)); }
.join { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.join code { font-family: var(--mono); font-size: 16px; padding: 6px 12px; border-radius: 8px; background: rgba(0, 0, 0, 0.4); border: 1px dashed var(--line); color: var(--yellow); letter-spacing: 0.1em; }
.copy { cursor: pointer; font: inherit; }
.roster { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.roster table { width: 100%; }
.roster h3 { font-size: 12px; color: var(--c, var(--muted)); margin-bottom: 6px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.stat { padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.32); border: 1px solid var(--line-soft); }
.stat .l { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stat .v { font-family: var(--display); font-size: 24px; font-weight: 800; margin-top: 2px; line-height: 1.1; }
.stat .v.small { font-size: 18px; }
.stat .s { font-size: 12px; color: var(--dim); margin-top: 2px; }

/* top cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.card h3 { font-size: 12px; color: var(--cyan); margin-bottom: 8px; display: flex; justify-content: space-between; }
.card h3 a { color: var(--dim); font-family: var(--font); text-transform: none; letter-spacing: 0; font-weight: 500; }
.card ol { list-style: none; margin: 0; padding: 0; }
.card li { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line-soft); }
.card li:first-child { border-top: 0; }
.card li .r { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.card li:nth-child(1) .r { color: var(--yellow); }
.card li:nth-child(2) .r { color: #dfe4ea; }
.card li:nth-child(3) .r { color: var(--orange); }
.card li .v { font-family: var(--mono); font-weight: 700; color: var(--text); }
.card li a { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* tables */
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { padding: 9px 10px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
th { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; white-space: nowrap; }
th a { color: inherit; }
th.on a { color: var(--cyan); }
td.num, th.num { text-align: right; font-family: var(--mono); white-space: nowrap; }
tr:hover td { background: rgba(255, 255, 255, 0.03); }
td .name a { color: var(--text); font-weight: 600; }
.rank { font-family: var(--mono); color: var(--dim); }
tr.top1 .rank { color: var(--yellow); } tr.top2 .rank { color: #dfe4ea; } tr.top3 .rank { color: var(--orange); }
.move { font-family: var(--mono); font-size: 11px; margin-left: 6px; }
.move.up { color: var(--green); } .move.down { color: var(--red); }
.table-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.two > *, .roster > *, .hero > * { min-width: 0; }
tr.me td { background: rgba(43, 240, 255, 0.07); }

/* filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filters .group { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line-soft); }
.filters .group a, .filters .group button { padding: 5px 11px; border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 600; border: 0; background: transparent; cursor: pointer; font-family: inherit; }
.filters .group a.on { color: #0d0221; background: linear-gradient(90deg, var(--cyan), #9df7ff); }
.filters .group a:hover { text-decoration: none; color: var(--text); }
.filters label { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.1em; }
.filters input, .filters select { font: inherit; color: var(--text); background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line-soft); border-radius: 999px; padding: 6px 12px; }
.filters input:focus { outline: 2px solid var(--pink); outline-offset: 1px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; color: var(--muted); font-size: 13px; }
.pager a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-soft); color: var(--text); }
.pager a.off { opacity: 0.35; pointer-events: none; }

/* player */
.player-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 26px;
  background: conic-gradient(from 200deg, var(--pink), var(--cyan), var(--orange), var(--pink)); color: #0d0221; box-shadow: 0 0 26px rgba(255, 43, 214, 0.45); }
.player-head h1 { margin: 0; }
.ranks { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.rankpill { padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); font-size: 13px; }
.rankpill b { color: var(--yellow); font-family: var(--mono); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.two > section, .two > .panel { margin-top: 0; }
.wld { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin-top: 8px; }
.wld i { display: block; }
.wld .w { background: var(--green); } .wld .l { background: var(--red); } .wld .d { background: var(--yellow); }

/* match */
.timeline { width: 100%; height: 180px; display: block; }
.awards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.award { padding: 12px; border-radius: 12px; background: linear-gradient(160deg, rgba(255, 228, 92, 0.12), rgba(0, 0, 0, 0.3)); border: 1px solid rgba(255, 228, 92, 0.3); }
.award .l { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.award .who { font-weight: 700; margin-top: 4px; }
.award .v { font-family: var(--mono); color: var(--muted); }
.feed li { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 6px 0; border-top: 1px solid var(--line-soft); font-size: 14px; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed .t { font-family: var(--mono); font-size: 11px; color: var(--dim); min-width: 52px; }
.feed .k { font-weight: 700; } .feed .v { font-weight: 700; }
.feed .w { color: var(--muted); font-size: 13px; }
.fx { color: var(--f, var(--text)); }

.kana { font-family: 'Noto Sans JP', var(--font); color: var(--pink); opacity: 0.7; letter-spacing: 0.3em; }
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--line-soft); padding: 18px 0 26px; font-size: 12px; color: var(--dim); }
.site-footer .wrap { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.empty { padding: 26px; text-align: center; color: var(--dim); }

@media (max-width: 840px) {
  .site-header { position: static; }
  .header-inner { gap: 8px; }
  .hero, .two, .roster { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; align-items: flex-start; }
  .main-nav { flex-wrap: wrap; }
  .bg .sun { width: 340px; height: 340px; }
}

/* ---- v2 polish ---------------------------------------------------------------------------- */
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 12px; background: var(--cyan); color: #0d0221; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
main.wrap { animation: rise 0.35s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.header-inner { flex-wrap: wrap; }
.search { position: relative; display: flex; align-items: center; margin-left: auto; }
.search input { width: 200px; font: inherit; font-size: 14px; color: var(--text); background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line-soft); border-radius: 999px; padding: 7px 36px 7px 14px; transition: width 0.2s, border-color 0.2s; }
.search input:focus { width: 260px; border-color: var(--pink); outline: none; }
.search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; }
.search button:hover { color: var(--cyan); }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--panel-solid); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; z-index: 20; }
.suggest a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; color: var(--text); font-size: 14px; }
.suggest a:hover { background: rgba(255, 43, 214, 0.12); text-decoration: none; }
.main-nav a.me-link { color: var(--yellow); }
.main-nav a[hidden] { display: none; }

.notice { padding: 10px 14px; border-radius: 10px; font-size: 14px; border: 1px solid; margin: 0 0 12px; }
.notice.warn { background: rgba(255, 154, 60, 0.15); color: var(--orange); border-color: rgba(255, 154, 60, 0.35); margin-top: 14px; }
.notice.info { background: rgba(43, 240, 255, 0.08); color: var(--text); border-color: rgba(43, 240, 255, 0.3); }
.notice.info b { color: var(--cyan); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; padding: 10px 18px; border-radius: 999px; background: #1a0a3d; color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; z-index: 50; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn.done { background: linear-gradient(90deg, var(--green), #a8ffcf); color: #0d0221; }
.btn.active { border-color: var(--yellow); color: var(--yellow); }
.btn, .card, .rec, .badge { transition: transform 0.15s, box-shadow 0.15s, filter 0.15s; }
.card:hover, .rec:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--line) inset; }
.bar > i { transition: width 0.6s ease; }
.chip.off { background: rgba(255, 77, 109, 0.15); color: var(--red); }
.h2-note, .h2-link { font-family: var(--font); text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--dim); font-size: 13px; margin-left: 8px; }
.h1-sub { font-size: 0.55em; }
.section-title { margin-top: 22px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-title { background: linear-gradient(180deg, #fff 30%, var(--cyan) 50%, var(--pink) 75%); -webkit-background-clip: text; background-clip: text; }
.stat.compact { min-width: 120px; }
.stat .v .bump { animation: bump 0.5s ease; }
.bump { animation: bump 0.5s ease; }
@keyframes bump { 30% { transform: scale(1.12); color: var(--cyan); } }
.howto { margin: 0 0 10px; padding-left: 20px; color: var(--muted); }
.howto li { margin: 6px 0; }
.howto li::marker { color: var(--pink); font-weight: 700; }
.empty.small { padding: 14px; font-size: 13px; }
.fine { font-size: 12px; margin-top: 10px; }
.nowrap { white-space: nowrap; }
.neg { color: var(--red); }
th .tip, th[title] a { cursor: help; text-decoration: underline dotted rgba(255, 255, 255, 0.25); text-underline-offset: 3px; }
tr.me td { background: rgba(255, 228, 92, 0.09); box-shadow: inset 3px 0 0 var(--yellow); }
.name.me a { color: var(--yellow); }
.scroll { position: relative; }
.scroll::after { content: ''; position: sticky; display: block; right: 0; top: 0; height: 0; }
@media (max-width: 840px) { .scroll { mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); } .hide-sm { display: none !important; } }

/* records */
.rec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.rec { padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.32); border: 1px solid var(--line-soft); }
.rec .l { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.rec .who { font-weight: 700; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec .who a { color: var(--text); }
.rec .v { font-family: var(--mono); font-size: 18px; color: var(--yellow); }
.rec .s { font-size: 11px; color: var(--dim); }

/* search page */
.bigsearch { display: flex; gap: 8px; margin-bottom: 8px; }
.bigsearch input { flex: 1; font: inherit; font-size: 16px; color: var(--text); background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line-soft); border-radius: 999px; padding: 10px 16px; }
.bigsearch input:focus { border-color: var(--pink); outline: none; }

/* player */
.player-head { align-items: flex-start; }
.player-head .grow { flex: 1; min-width: 200px; }
.player-head .actions { display: flex; gap: 8px; }
.player-name .tag { margin-right: 8px; }
.avatar { background: conic-gradient(from calc(var(--h, 200) * 1deg), var(--pink), var(--cyan), var(--orange), var(--pink)); }
.rankpill.unranked { color: var(--orange); border-color: rgba(255, 154, 60, 0.4); }
.rankpill.win { color: var(--green); } .rankpill.loss { color: var(--muted); }
.climb { margin-top: 8px; font-size: 14px; color: var(--muted); }
.climb b { color: var(--cyan); font-family: var(--mono); }
.climb .name a { color: var(--text); }
.stat-grid { margin-top: 16px; }
.filters .select { display: inline-flex; align-items: center; gap: 8px; }
.filters select { appearance: none; -webkit-appearance: none; padding-right: 28px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.filters .count { margin-left: auto; }

/* badges */
.badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.badge { display: flex; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.32); border: 1px solid var(--line-soft); }
.badge .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(255, 255, 255, 0.06); flex: none; }
.badge.held .icon { background: linear-gradient(160deg, rgba(255, 228, 92, 0.25), rgba(255, 43, 214, 0.25)); box-shadow: 0 0 16px rgba(255, 228, 92, 0.25); }
.badge.locked { opacity: 0.75; }
.badge.locked .icon { filter: grayscale(1); }
.badge .body { flex: 1; min-width: 0; }
.badge .name { font-weight: 700; }
.badge .track { font-size: 12px; color: var(--muted); }
.badge .bar { margin-top: 6px; }
.badge .bar > i { background: linear-gradient(90deg, var(--cyan), var(--pink)); }
.badge .tiers { display: flex; gap: 3px; margin-top: 6px; }
.badge .tiers i { width: 14px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); }
.badge .tiers i.on { background: var(--yellow); }
.badge.tier5 .name, .badge.tier4 .name { color: var(--yellow); }

/* timeline */
.timeline-wrap { margin-top: 6px; }
.timeline-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; font-size: 12px; }
.legend { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; color: var(--muted); }
.legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.axis { display: flex; justify-content: space-between; font-size: 11px; }

/* about */
.prose p { color: var(--muted); max-width: 70ch; }
.prose h2 { margin-top: 18px; }
.defs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.defs dt { font-weight: 700; color: var(--cyan); }
.defs dd { margin: 0; color: var(--muted); max-width: 70ch; }
@media (max-width: 640px) { .defs { grid-template-columns: 1fr; gap: 2px; } .defs dd { margin-bottom: 10px; } .search { width: 100%; margin-left: 0; } .search input { width: 100%; } .search input:focus { width: 100%; } .main-nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; } .main-nav a { white-space: nowrap; } .filters .count { margin-left: 0; width: 100%; } }
