/* PlayerPeek. Light surface, near-black ink, one red accent. */
:root {
  --bg: #FBFAF8; --card: #FFFFFF; --soft: #F1F0ED; --soft2: #F6F5F2;
  --line: #E8E6E1; --line2: #F1F0ED; --line3: #D9D6D0;
  --ink: #1B1A19; --ink2: #5F5C57; --muted: #6F6B65; --ink3: #3A3835;
  --accent: #E8432A; --accent-ink: #C7361F; --ok: #22C55E; --ok-ink: #15803D;
  --on-dark: #C9C5BE;
  --display: Montserrat, "Arial Black", "Segoe UI", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-ink); }
button, select, input { font-family: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, dl, dd, ol { margin: 0; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { left: 8px; color: #fff; }
[hidden] { display: none !important; }
.is-loading [data-swap="list"], .is-loading [data-swap="pager"] { opacity: 0.5; transition: opacity 0.12s 0.1s; }

.page { display: flex; flex-direction: column; gap: 40px; padding: 20px 24px 40px; }
.page--home { gap: 72px; }
.page--server { gap: 28px; }
.main { display: contents; }
.wrap { max-width: 1320px; width: 100%; margin: 0 auto; }
.soft { font-weight: 500; color: var(--muted); }
.soft-ink { color: var(--ink2); }
.strong { font-weight: 700; }
.tnum { font-variant-numeric: tabular-nums; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.dot--stale { background: #D9A441; }
.dot--off { background: #A8A49D; }

/* header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 10px 12px 10px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 10px 30px -22px rgba(27, 26, 25, 0.35); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 900; font-size: 18px; letter-spacing: 0.01em; color: var(--ink); }
.nav { display: flex; flex-wrap: wrap; gap: 6px; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 14px; font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink2); }
.nav a[aria-current] { background: var(--soft); color: var(--ink); }
.nav a:hover { color: var(--accent-ink); }
.top__side { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.acct { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 14px; background: var(--soft); font-weight: 700; font-size: 14px; color: var(--ink); }
.acct:hover { background: #E7E5E0; color: var(--ink); }
.acct[aria-current] { background: var(--ink); color: #fff; }
.live { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; font-size: 14px; font-weight: 600; color: var(--ink2); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 14px; font-weight: 700; font-size: 15px; text-align: center; }
.btn--44 { min-height: 44px; padding: 0 18px; font-size: 14px; gap: 8px; }
.btn--48 { min-height: 48px; padding: 0 22px; }
.btn--52 { min-height: 52px; padding: 0 22px; }
.btn--56 { min-height: 56px; padding: 0 26px; border-radius: 16px; font-size: 16px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--soft { background: var(--soft); color: var(--ink); }
.btn--soft:hover { background: #E7E5E0; color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--soft); color: var(--ink); }
.btn--shadow { box-shadow: 0 14px 28px -16px rgba(27, 26, 25, 0.7); }
.btn--block { display: flex; width: 100%; }
.btn--off { color: var(--muted); cursor: default; }
.btn--off:hover { background: var(--soft); color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--tight { align-items: center; gap: 10px; }

/* type */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
.eyebrow a { color: var(--accent-ink); }
.eyebrow a:hover { text-decoration: underline; }
.h-hero { font-family: var(--display); font-weight: 900; font-size: clamp(44px, 6.4vw, 92px); line-height: 0.96; letter-spacing: -0.02em; text-transform: uppercase; }
.h-sec { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4vw, 56px); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.h-page { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5.4vw, 76px); line-height: 0.98; letter-spacing: -0.02em; text-transform: uppercase; }
.h-find { font-family: var(--display); font-weight: 900; font-size: clamp(32px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.h-server { flex: 1 1 320px; min-width: 0; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.h-card { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: -0.01em; text-transform: uppercase; }
.lead { max-width: 360px; color: var(--ink2); }
.lead--hero { max-width: 520px; font-size: 18px; }
.lead--wide { max-width: 480px; }
.note { font-size: 13px; color: var(--ink2); }

/* home: hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: 64px 56px; background-color: var(--card); background-image: radial-gradient(#E3E1DC 1px, transparent 1px); background-size: 20px 20px; border: 1px solid var(--line); border-radius: 32px; }
.hero__main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.cd { flex: 1 1 340px; max-width: 420px; display: flex; flex-direction: column; gap: 22px; padding: 28px; background: var(--ink); color: #fff; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(27, 26, 25, 0.6); }
.cd__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 700; }
.cd__all { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--on-dark); }
.cd__clock { display: flex; justify-content: space-between; gap: 8px; font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; text-align: center; }
.cd__cell { flex: 1; }
.cd__num { font-size: 64px; line-height: 1; }
.cd__unit { margin-top: 10px; font-size: 12px; letter-spacing: 0.14em; color: #FF9C84; }
.cd__sep { font-size: 44px; line-height: 64px; color: #77736D; }
.cd__track { height: 4px; border-radius: 2px; background: #3A3835; }
.cd__fill { height: 4px; border-radius: 2px; background: var(--accent); }
.cd__note { font-size: 14px; color: var(--on-dark); }

/* home: sections */
.sec { display: flex; flex-direction: column; gap: 32px; }
.sec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.sec__title { display: flex; flex-direction: column; gap: 10px; }
.sec__note { max-width: 400px; color: var(--ink2); }
.games { display: flex; flex-wrap: wrap; gap: 20px; }
.game { flex: 1 1 270px; min-width: 0; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--ink); border-radius: 28px; overflow: hidden; box-shadow: 0 26px 50px -34px rgba(27, 26, 25, 0.55); }
.game--soon { border: 1px dashed #CFCBC4; box-shadow: none; }
.game__cover { position: relative; margin: 10px 10px 0; aspect-ratio: 460 / 215; border-radius: 20px; overflow: hidden; background: var(--soft); }
.game__cover--soon { display: flex; align-items: center; justify-content: center; border: 1px dashed #CFCBC4; background: var(--soft2); color: #A8A49D; }
.game__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.game__nocover { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 900; font-size: 44px; letter-spacing: 0.08em; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink2); }
.badge--live, .badge--soon { position: absolute; left: 10px; top: 10px; }
.badge--live { color: var(--ok-ink); }
.game__body { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 24px; }
.game__name { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1.05; }
.game__name--soon { font-size: 28px; line-height: 1.25; color: var(--ink2); }
.game__sub { margin-top: 6px; font-size: 14px; color: var(--ink2); }
.game--soon .game__sub { color: var(--muted); }
.kv--off dt { color: var(--muted); }
.kv--off dd { color: #A8A49D; }
.btn--bottom { margin-top: auto; }
.kv { display: flex; flex-direction: column; gap: 10px; }
.kv__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.kv__row + .kv__row { padding-top: 10px; border-top: 1px solid var(--line); }
.kv dt { font-size: 14px; color: var(--ink2); }
.kv dd { font-family: var(--display); font-weight: 800; font-size: 26px; font-variant-numeric: tabular-nums; }
.spark { display: block; width: 100%; height: 52px; }
.spark__cap { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--muted); }

.fresh { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.fresh__intro { flex: 1 1 300px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.more { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }
.fresh__list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.fresh__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 16px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; color: var(--ink); }
.fresh__row:hover { border-color: var(--ink); color: var(--ink); }
.fresh__ago { flex: 0 0 104px; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.fresh__name { flex: 999 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fresh__title { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.fresh__tags { font-size: 13px; color: var(--muted); }
.fresh__pop { flex: 0 0 150px; display: flex; flex-direction: column; gap: 6px; }
.fresh__count { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bar { display: block; flex: 1; height: 4px; border-radius: 2px; background: #ECEAE5; }
.bar__fill { display: block; height: 4px; border-radius: 2px; background: var(--ink); }
.bar--dark { flex: none; background: #3A3835; }
.bar--dark .bar__fill { background: var(--accent); }

.find { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 56px; padding: 56px; background: var(--ink); color: #fff; border-radius: 32px; scroll-margin-top: 20px; }
.find__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.find__text p { max-width: 460px; color: var(--on-dark); }
.find__form { flex: 1 1 380px; max-width: 480px; display: flex; flex-direction: column; gap: 12px; }
.find__form label { font-size: 14px; color: var(--on-dark); }
.find__form input[type=search] { min-height: 56px; padding: 0 18px; border: 1px solid #4A4743; border-radius: 16px; background: #262422; color: #fff; font-size: 16px; }
.find__form input::placeholder { color: #A8A49D; }

/* footer */
.foot { display: flex; flex-direction: column; gap: 28px; padding: 0 8px; }
.foot__cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.foot__about { flex: 2 1 280px; display: flex; flex-direction: column; gap: 10px; }
.foot__about p { max-width: 340px; font-size: 14px; color: var(--ink2); }
.foot__brand { font-family: var(--display); font-weight: 900; font-size: 18px; }
.foot__col { flex: 1 1 140px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 600; }
.foot__label { font-size: 13px; font-weight: 500; color: var(--muted); }
.foot__bar, .foot--bar { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot--bar { padding: 20px 8px 0; }
.foot__bar a, .foot--bar a { color: var(--muted); text-decoration: underline; }

/* list page */
.intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.intro__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 12px; }
.tiles { display: flex; flex-wrap: wrap; gap: 12px; }
.tiles--intro { flex: 1 1 520px; max-width: 700px; }
.tile { flex: 1 1 150px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.tile--fact { flex: 1 1 190px; }
.tile dt, .tile__label { font-size: 13px; color: var(--ink2); }
.tile dd { margin-top: 4px; font-family: var(--display); font-weight: 800; font-size: 30px; font-variant-numeric: tabular-nums; }
.tile--fact dd { font-size: 28px; }
.tile--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.tile--dark dt { color: var(--on-dark); }
.tile__big { margin-top: 4px; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 35px; }
.tile__sub { font-size: 13px; color: var(--muted); }
.period { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 14px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.period strong { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--ink); }

.filters { display: flex; flex-direction: column; gap: 22px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; }
.filters__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--grow { flex: 999 1 320px; }
.field--sm { flex: 1 1 180px; }
.field--range { flex: 2 1 260px; }
.field__label { font-size: 13px; font-weight: 600; color: var(--ink2); }
.field__label strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.range { position: relative; height: 48px; }
.range__track, .range__fill { position: absolute; top: 22px; height: 4px; border-radius: 2px; }
.range__track { left: 12px; right: 12px; background: var(--line3); }
.range__fill { background: var(--ink); }
.range input[type=range] { position: absolute; left: 0; top: 0; width: 100%; height: 48px; margin: 0; padding: 0; border: 0; min-height: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input[type=range]::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.range input[type=range]::-moz-range-track { height: 4px; background: transparent; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; pointer-events: auto; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 6px rgba(27, 26, 25, 0.25); cursor: grab; }
.range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 6px rgba(27, 26, 25, 0.25); cursor: grab; }
.range input[type=range]:focus-visible { outline: none; }
.range input[type=range]:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--accent); outline-offset: 2px; }
.range input[type=range]:focus-visible::-moz-range-thumb { outline: 3px solid var(--accent); outline-offset: 2px; }
.field--md { flex: 1 1 200px; }
.field label, .chipgroup__label { font-size: 13px; font-weight: 600; color: var(--ink2); }
.field input, .field select { min-height: 48px; padding: 0 16px; border: 1px solid var(--line3); border-radius: 14px; background: var(--bg); color: var(--ink); font-size: 15px; }
.chipgroups { display: flex; flex-wrap: wrap; gap: 18px 36px; }
.chipgroup { display: flex; flex-direction: column; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft2); color: var(--ink); font-size: 14px; font-weight: 600; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip--on { border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 700; }
.chip--on:hover { color: #fff; }
.filters__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.toggles { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.toggle { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); }
.toggle:hover { color: var(--ink); }
.toggle__box { flex: none; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 5px; background: #fff; }
.toggle[aria-checked=true] .toggle__box { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.5l2.6 2.6L11 4.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.filters__count { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 15px; color: var(--ink2); }
.filters__count strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.reset { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; color: var(--accent-ink); font-size: 15px; font-weight: 700; }
.reset:hover { background: var(--soft2); }

.list { display: flex; flex-direction: column; gap: 12px; }
.tbl-scroll { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.tbl { min-width: 1250px; display: flex; flex-direction: column; font-size: 14px; }
.tbl__head, .tbl__row { display: grid; grid-template-columns: 44px 36px minmax(0, 1fr) 56px 76px 168px 56px 76px 76px 92px 92px 44px; gap: 16px; align-items: center; padding: 0 16px; }
.sorter { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--ink2); white-space: nowrap; }
.sorter:hover { color: var(--ink); }
.sorter--on { color: var(--ink); }
.sorter span { font-size: 9px; }
.tbl__pts { font-weight: 700; font-variant-numeric: tabular-nums; }
.rank { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.rank__place { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.rank__of { color: var(--ink2); }
.rank__pts { margin-left: auto; font-size: 15px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.rank__pts strong { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--ink); }
.rank__f { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--soft); font-size: 12px; font-weight: 700; color: var(--ink2); font-variant-numeric: tabular-nums; }
.tbl__head { min-height: 44px; background: var(--soft2); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink2); }
.tbl__row { min-height: 48px; border-bottom: 1px solid var(--line2); }
.tbl__row:last-child { border-bottom: 0; }
.tbl__row:hover { background: #FDFCFB; }
.tbl__n { color: var(--muted); font-variant-numeric: tabular-nums; }
.tbl__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 15px; }
.avatar { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 12px; overflow: hidden; }
.avatar--lg { flex: 0 0 72px; width: 72px; height: 72px; font-size: 24px; }
.avatar--pic { background: var(--ink); }
.avatar--pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.avatar.is-broken { color: var(--ink); }
.pop { display: flex; align-items: center; gap: 10px; }
.pop__num { flex: 0 0 74px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pop__queue { flex: 0 0 28px; font-size: 12px; font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.copy { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: var(--ink2); }
.copy:hover { background: var(--soft); color: var(--ink); }
.copy.is-done { color: var(--ok-ink); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 0 8px; font-size: 13px; color: var(--ink2); }
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.empty a { text-decoration: underline; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.pager__info { font-size: 15px; color: var(--ink2); }
.pager__links { display: flex; flex-wrap: wrap; gap: 6px; }
.pg { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 6px; border-radius: 12px; background: var(--soft); font-weight: 700; font-variant-numeric: tabular-nums; }
.pg--wide { padding: 0 18px; }
.pg--on { background: var(--ink); color: #fff; }
.pg--on:hover { color: #fff; }
.pg__gap { display: flex; align-items: center; justify-content: center; min-width: 32px; color: var(--muted); }
.msg { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 64px 8px; }

/* server page */
.shero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 32px; }
.shero__main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.shero__title { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.shero__status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 15px; color: var(--ink2); }
.state { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.state--on { color: var(--ok-ink); }
.state--off { color: var(--ink2); }
.state--new { padding: 2px 10px; border-radius: 999px; background: #FDE7E2; color: var(--accent-ink); font-size: 13px; }
.tbl__row--off { color: var(--muted); }
.tbl__row--off .tbl__name { color: var(--ink2); }
.pop--off { font-size: 13px; color: var(--muted); white-space: nowrap; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 4px 12px; border-radius: 999px; background: var(--soft); font-size: 13px; font-weight: 600; }
.connect { max-width: 560px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 6px 6px 6px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft2); }
.connect code { font-family: var(--mono); font-size: 15px; overflow-wrap: anywhere; }
.connect .btn { border-radius: 10px; }
.howto { display: flex; align-items: center; min-height: 44px; padding: 0 6px; font-size: 14px; font-weight: 600; color: var(--ink2); text-decoration: underline; }
.shero__now { flex: 1 1 280px; max-width: 380px; display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--ink); color: #fff; border-radius: 24px; }
.shero__now-label { font-size: 14px; color: var(--on-dark); }
.shero__now-num { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; font-variant-numeric: tabular-nums; }
.shero__now-num span { font-size: 22px; color: var(--on-dark); }
.shero__now-queue { font-size: 14px; font-weight: 700; color: #FF9C84; }
.shero__banner { flex: 1 1 340px; max-width: 460px; aspect-ratio: 2 / 1; border-radius: 20px; overflow: hidden; background: var(--ink); }
.shero__banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile__now { margin-top: 4px; font-family: var(--display); font-weight: 800; font-size: 28px; font-variant-numeric: tabular-nums; }
.tile__now span { font-size: 16px; color: var(--on-dark); }
.tile--dark .tile__label, .tile--dark .tile__sub { color: var(--on-dark); }
.note--label { font-weight: 600; }
.desc { white-space: pre-line; overflow-wrap: anywhere; color: var(--ink3); }
.dl--small { font-size: 13px; margin-top: 4px; }
.dl--small .dl__row { padding: 7px 0; }
.dl--small dt { font-family: var(--mono); }
.block { display: flex; flex-direction: column; gap: 12px; }
.cols { display: flex; flex-wrap: wrap; gap: 20px; }
.card { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; }
.card--3 { flex: 3 1 520px; }
.card--2 { flex: 2 1 360px; }
.card--charts { gap: 26px; }
.summary { padding: 14px 18px; border-radius: 16px; background: var(--soft2); }
.how { font-size: 15px; color: var(--ink3); }
.how summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; color: var(--ink); cursor: pointer; }
.how ol { padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }
.how p { margin-top: 8px; color: var(--ink2); }
.how code { font-family: var(--mono); font-size: 14px; padding: 2px 6px; border-radius: 6px; background: var(--soft2); overflow-wrap: anywhere; }
.cal { display: flex; flex-wrap: wrap; gap: 20px 28px; }
.cal__month { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; }
.cal__name { font-weight: 700; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.cal__head { font-size: 11px; font-weight: 700; color: var(--muted); }
.cal__day { height: 30px; line-height: 26px; border-radius: 8px; font-weight: 600; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink2); }
.cal__legend > span { display: flex; align-items: center; gap: 6px; }
.key { width: 12px; height: 12px; border-radius: 4px; }
.key--wipe { background: var(--ink); }
.key--force { background: var(--accent-ink); }
.key--next { border: 2px dashed var(--ink); }
.key--today { background: #E3E1DC; }
.dl { display: flex; flex-direction: column; }
.dl__row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line2); }
.dl__row dt { color: var(--ink2); }
.dl__row dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.dl--cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 32px; }
.scroll-x { overflow-x: auto; }
.hist { min-width: 560px; display: flex; flex-direction: column; font-size: 14px; font-variant-numeric: tabular-nums; }
.hist__head, .hist__row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 100px 90px 80px; gap: 16px; }
.hist__head { padding: 10px 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink2); }
.hist__row { padding: 11px 0; border-top: 1px solid var(--line2); }
.hist__note { font-size: 12px; font-weight: 700; color: var(--accent-ink); }
.charts__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.charts__key { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink2); }
.wipe-key { width: 0; height: 14px; border-left: 2px dashed var(--ink); }
.chart { display: flex; flex-direction: column; gap: 8px; }
.chart__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; }
.chart__head h3 { font-size: 16px; font-weight: 700; }
.chart__head span { font-size: 14px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.chart__head strong { color: var(--ink); }
.chart__inner { min-width: 560px; padding-right: 8px; }
.chart__plot { position: relative; height: 140px; margin-left: 48px; touch-action: pan-y; }
.chart__plot svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; }
.chart__grid { position: absolute; left: 0; right: 0; border-top: 1px solid #ECEAE5; }
.chart__ylabel { position: absolute; left: -48px; width: 40px; transform: translateY(-50%); text-align: right; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chart__wipe { position: absolute; top: 0; bottom: 0; border-left: 2px dashed var(--ink); }
.chart__cross { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid var(--ink2); pointer-events: none; }
.chart__dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; pointer-events: none; }
.chart__tip { position: absolute; top: 6px; z-index: 2; padding: 6px 10px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.35; white-space: nowrap; pointer-events: none; transform: translateX(12px); font-variant-numeric: tabular-nums; box-shadow: 0 8px 20px -10px rgba(27, 26, 25, 0.6); }
.chart__tip--left { transform: translateX(calc(-100% - 12px)); }
.chart__tip b { font-weight: 700; }
.chart__axis { position: relative; height: 22px; margin: 6px 0 0 48px; }
.chart__axis span { position: absolute; font-size: 12px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rawtags { padding: 12px 14px; border-radius: 12px; background: var(--soft2); font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
.sim { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; color: var(--ink); }
.sim:hover { border-color: var(--ink); color: var(--ink); }
.sim__name { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.sim__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.sim__meta strong { color: var(--ink); }

@media (max-width: 720px) {
  .page { padding: 12px 12px 32px; gap: 28px; }
  .page--home { gap: 48px; }
  .hero { padding: 32px 22px; border-radius: 24px; gap: 28px; }
  .cd { max-width: none; padding: 22px; }
  .cd__num { font-size: 48px; }
  .cd__sep { font-size: 34px; line-height: 48px; }
  .find { padding: 32px 22px; border-radius: 24px; }
  .shero { padding: 24px 20px; border-radius: 24px; }
  .shero__now { max-width: none; }
  .card, .filters { padding: 20px; border-radius: 22px; }
  .live { padding: 0 6px; }
  .tile--fact { flex: 1 1 140px; }
  .tile--fact dd, .period strong { font-size: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .chip, .fresh__row, .sim, .copy { transition: background-color 0.12s, border-color 0.12s, color 0.12s; }
}

/* account, voting, owner panel */
.panel { max-width: 900px; display: flex; flex-direction: column; gap: 20px; }
.panel .lead--wide { max-width: 640px; overflow-wrap: anywhere; }
.panel p { max-width: 720px; }
.panel code { font-family: var(--mono); font-size: 14px; overflow-wrap: anywhere; }
.ul { text-decoration: underline; }
.panel .notice, .notice { max-width: none; padding: 14px 18px; border-radius: 14px; font-weight: 600; }
.notice--ok { background: #E7F6EC; color: #14532D; }
.notice--warn { background: #FDE7E2; color: #8F2414; }
.rows { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.rows li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 10px 0; border-top: 1px solid var(--line2); }
.rows li:first-child { border-top: 0; }
.rows__name { min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.rows__meta { font-size: 14px; color: var(--ink2); }
.formline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.formgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.checks { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 4px; }
.checks legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; }
.check input { flex: none; width: 20px; height: 20px; accent-color: var(--ink); }
.steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.dl--stack .dl__row { flex-direction: column; align-items: stretch; gap: 6px; }
.dl--stack .connect { max-width: none; }
.dl--stack dd { text-align: left; font-weight: 400; }
.dl--stack dt { font-size: 13px; font-weight: 600; }
.votebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding: 18px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.votebar__text { flex: 1 1 320px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--ink2); }
.votebar__num { font-family: var(--display); font-weight: 900; font-size: 32px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.state--owner { padding: 2px 10px; border-radius: 999px; background: #E7F6EC; color: #14532D; font-size: 13px; }

/* named lists, top voted, map picture, what the claim page read */
.h-page--long { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.02; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.popular__label { margin-right: 8px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.popular__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--soft); font-size: 14px; font-weight: 600; color: var(--ink); }
.popular__link:hover { background: #E7E5E0; color: var(--ink); }
.popular__link[aria-current] { background: var(--ink); color: #fff; }
.tbl--votes { min-width: 940px; }
.tbl--votes .tbl__head, .tbl--votes .tbl__row { grid-template-columns: 44px 36px minmax(0, 1fr) 110px 100px 110px 120px 70px 84px; }
.tbl--votes .tbl__row { min-height: 60px; }
.mappic { display: block; margin-bottom: 16px; border-radius: 14px; overflow: hidden; background: #12404D; }
.mappic img { display: block; width: 100%; height: auto; }
.readbox { max-height: 260px; overflow: auto; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft2); font-family: var(--mono); font-size: 13px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.readbox--none { font-family: inherit; font-size: 14px; color: var(--ink2); }

/* the signed-in person's Steam name and picture; the claim check */
.acct--me { gap: 8px; padding: 0 14px 0 8px; }
.acct__pic { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--line3); }
.acct__name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who { display: flex; align-items: center; gap: 16px; }
.who--line { gap: 10px; }
.who__pic { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--line3); }
.who__pic--sm { width: 32px; height: 32px; }
.who__text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.who__name { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.who__id { font-size: 13px; color: var(--ink2); }
.notice--wait { background: var(--soft); color: var(--ink); }
div.notice { font-weight: 400; }
div.notice strong { font-weight: 700; }

/* the anti-bot check above the vote button */
.captcha { margin: 0 0 14px; }
.captcha .cf-turnstile { min-height: 65px; }
.captcha__note { margin: 8px 0 0; font-size: 14px; color: var(--ink2); }
.captcha__note--bad { color: #C7361F; font-weight: 600; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
