/* ps2tracker.com/streak: RAGE's look (Space Grotesk, near-black) with every row a card in its team's colour */
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 300 700;
  src: url("space-grotesk.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #08070d; --fg: #f7f5ff; --muted: #aaa7c2; --dim: #8b88a3; --faint: #5f5c75; --line: #2a2938; --glass: rgba(26, 25, 38, .62);
  /* the cards: each team's colour, dark enough for white text (contrast 5:1 or more) */
  --vs1: #4c1cb0; --vs2: #7535e8; --nc1: #0c3fa6; --nc2: #236ef0; --tr1: #9c0f25; --tr2: #dd2b3c; --ns1: #3c424e; --ns2: #646c7b;
  --gold: #ffd34d; --hot: linear-gradient(110deg, #ff3d6e, #ff9a3c 45%, #ffe14d);
  /* your own players: rollagain.org's house-card gold (--ra-gold) and the light that sweeps its top bar (--ra-sheen) */
  --mine: #e0b54a; --mine-sheen: #fff3c4;
  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--fg); font: 16px/1.4 var(--font);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg .b { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(100px); opacity: .14; animation: drift 36s ease-in-out infinite alternate; }
.bg .vs { background: #8f4dff; top: -30vmax; left: -22vmax; }
.bg .nc { background: #2f80ff; top: -20vmax; right: -26vmax; animation-delay: -12s; }
.bg .tr { background: #ff2b4a; bottom: -34vmax; left: 10vmax; animation-delay: -24s; }
@keyframes drift { 50% { transform: translate(4vmax, 3vmax) scale(1.06); } 100% { transform: translate(-3vmax, 4vmax) scale(.95); } }

/* ---------------------------------------------------------------- header */
.top { max-width: 880px; margin: 0 auto; padding: max(18px, env(safe-area-inset-top)) 16px 8px; text-align: center; }
.brand-row { display: flex; align-items: center; justify-content: center; gap: 14px; position: relative; }
.brand { margin: 0; line-height: 1; }
.brand a { text-decoration: none; }
.logo {
  display: inline-block; font-size: clamp(46px, 11vw, 96px); font-weight: 700; letter-spacing: -.04em; font-style: italic;
  background: linear-gradient(90deg, #ff3d6e, #ff9a3c, #ffe14d, #7cf8ff, #9a6bff, #ff3d6e); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 7s linear infinite;
  filter: drop-shadow(0 6px 24px rgba(255, 61, 110, .35)); padding: 0 .08em;
}
@keyframes flow { to { background-position: 300% 0; } }
#sound {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%); border: 1px solid var(--line); background: var(--glass);
  border-radius: 999px; padding: 7px 13px; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; color: var(--muted);
}
/* the left of the title: the way back to every server (outfit boards: big, hot, glowing) and ★ My players */
.brand-left { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 8px; }
.back-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px 9px 14px; border-radius: 999px; font-weight: 700; font-size: 15px;
  text-decoration: none; color: #120a0a; background: var(--hot); background-origin: border-box; white-space: nowrap;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .25), 0 0 24px rgba(255, 110, 80, .55), 0 6px 16px rgba(0, 0, 0, .4);
  transition: transform .12s ease, box-shadow .12s ease;
}
.back-btn[hidden] { display: none; }
.back-btn .arr { font-size: 20px; line-height: 1; transition: transform .15s ease; }
.back-btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 2px #fff, 0 0 32px rgba(255, 110, 80, .75), 0 8px 20px rgba(0, 0, 0, .45); }
.back-btn:hover .arr { transform: translateX(-3px); }
.back-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
/* ★ My players: the button opposite the sound's */
.mine-btn {
  border: 1px solid var(--line); background: var(--glass);
  border-radius: 999px; padding: 7px 13px; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; color: var(--muted);
}
.mine-btn > span:first-child { color: var(--mine); }
.mine-btn.on { border-color: transparent; color: #241800; font-weight: 700; background: linear-gradient(135deg, #f7d774, #e0b54a 60%, #b8862b); background-origin: border-box; box-shadow: 0 0 18px rgba(240, 190, 80, .45); }
.mine-btn.on > span:first-child { color: #241800; }
.mine-btn.on .mine-n { background: #241800; color: #f7d774; }
.mine-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--mine); color: #2a1d00; font-size: 12px; display: inline-grid; place-items: center; }
.mine-n[hidden] { display: none; }
#sound[aria-pressed="true"] { color: #0b0b12; background: var(--hot); border-color: transparent; font-weight: 700; background-origin: border-box; }
.tagline[hidden] { display: none; }
.tagline { margin: 8px auto 0; max-width: 34rem; color: var(--muted); font-size: clamp(14px, 2.2vw, 16px); }
.tagline b { color: var(--fg); }
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.stat { background: var(--glass); border: 1px solid var(--line); border-radius: 12px; padding: 5px 11px; }
.stat b { color: var(--fg); font-size: 1.15em; font-variant-numeric: tabular-nums; }
.stat.best b { background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mode-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin: 14px 0 0; }
.modes { display: inline-flex; padding: 4px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); gap: 4px; }
.modes button {
  border: 0; background: none; padding: 9px 18px; border-radius: 12px; font-weight: 700; font-size: 16px; letter-spacing: .06em; color: var(--muted);
  white-space: nowrap;
}
.modes button small { font-weight: 500; letter-spacing: 0; opacity: .75; }
.modes button[aria-selected="true"] { color: #0b0b12; background: var(--hot); box-shadow: 0 6px 22px rgba(255, 90, 90, .35); }
.modes button[data-mode="balanced"][aria-selected="true"] { background: linear-gradient(90deg, #c6ff5c, #3ee8b5); background-origin: border-box; box-shadow: 0 6px 22px rgba(110, 240, 160, .3); }
.modes button[data-mode="boost"][aria-selected="true"] { background: linear-gradient(110deg, #7cf8ff, #8f6bff); box-shadow: 0 6px 22px rgba(124, 248, 255, .3); }
.modes button[data-mode="hourly"][aria-selected="true"] { background: linear-gradient(110deg, #ffe14d, #ff7ad9); background-origin: border-box; box-shadow: 0 6px 22px rgba(255, 150, 200, .3); }
/* Medic: a switch with a green cross; on, revives count like kills */
.medic {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px 8px 12px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--glass); color: var(--muted); font-weight: 700; letter-spacing: .04em; font-size: 15px;
}
.medic .cross { width: 16px; height: 16px; fill: #3ddc84; filter: drop-shadow(0 0 4px rgba(61, 220, 132, .5)); }
.medic .knob { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #2b2a3a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: background .2s; }
.medic .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #c9c6dc; transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), background .2s; }
.medic[aria-checked="true"] { color: #d8ffe8; border-color: rgba(61, 220, 132, .6); box-shadow: 0 0 18px rgba(61, 220, 132, .25); }
.medic[aria-checked="true"] .knob { background: linear-gradient(90deg, #1fb866, #3ddc84); }
.medic[aria-checked="true"] .knob::after { transform: translateX(14px); background: #fff; }
.assist .ring { font-weight: 700; font-size: 17px; line-height: 1; color: #7cf8ff; text-shadow: 0 0 6px rgba(124, 248, 255, .5); }
.assist[aria-checked="true"] { color: #dcfbff; border-color: rgba(124, 248, 255, .6); box-shadow: 0 0 18px rgba(124, 248, 255, .22); }
.assist[aria-checked="true"] .knob { background: linear-gradient(90deg, #2bb8d6, #7cf8ff); }
.plus.assist { font-size: 14px; color: #a9fbff; text-shadow: 0 0 10px rgba(124, 248, 255, .8), 0 2px 6px rgba(0, 0, 0, .6); white-space: nowrap; }
.tip-i {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: var(--muted);
  font: italic 700 13px/1 Georgia, serif; display: inline-grid; place-items: center; padding: 0; margin-left: -4px;
}
/* HOURLY: the hour's countdown and progress, last hour's winner */
.hourline { margin: 10px 0 0; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 8px; }
.hourline[hidden] { display: none; }
.hourline b { color: var(--fg); font-variant-numeric: tabular-nums; }
.hourline .lh a { text-decoration: none; }
.hbar { width: 120px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; display: inline-block; }
.hbar i { display: block; height: 100%; background: linear-gradient(90deg, #ffe14d, #ff7ad9); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1s linear; }
/* outfits: the search box (servers beside it), and an outfit board's chip */
.outfit-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 12px 0 0; }
.outfit-bar .servers { margin: 0; }
.osearch { position: relative; }
.osearch[hidden] { display: none; }
.osearch input {
  width: 190px; font: inherit; font-size: 14px; color: var(--fg); padding: 6px 12px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--glass); outline: none;
}
.osearch input:focus { border-color: #7b61ff; box-shadow: 0 0 0 3px rgba(123, 97, 255, .25); }
.olist {
  position: absolute; z-index: 50; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); width: min(340px, 92vw); margin: 0; padding: 6px;
  list-style: none; text-align: left; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(18, 17, 28, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.olist[hidden], .onote[hidden] { display: none; }
.oitem { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; padding: 7px 9px; border-radius: 10px; cursor: pointer; }
.oitem:hover, .oitem[aria-selected="true"] { background: rgba(255, 255, 255, .08); }
.oitem b { font-weight: 700; }
.oitem .oname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oitem small { grid-column: 2; color: var(--dim); font-size: 12px; }
.t1 { color: #c9a2ff; } .t2 { color: #86c8ff; } .t3 { color: #ff8a8a; } .t4, .t0 { color: #c4c9d4; }
.row.t1, .row.t2, .row.t3 { color: #fff; }
.onote { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; margin: 0; font-size: 13px; color: #ffb347; }
.ochip {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 8px 6px 14px; border-radius: 999px; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .2); background: var(--glass); max-width: 100%;
}
.ochip[hidden] { display: none; }
.ochip-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ochip-x { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .12); text-decoration: none; font-size: 18px; line-height: 1; }
.ochip-x:hover { background: rgba(255, 255, 255, .24); }
.ochip-more { font-size: 12px; font-weight: 500; color: var(--muted); text-decoration: none; }
/* phones: the way back gets its own row under the title (desktop: next to My players) */
.outfit-back { margin: 10px 0 0; display: none; }
/* next to My players only where the title leaves room for both (a wider brand row); else its own row under the title */
@media (min-width: 1180px) { body.is-outfit .brand-row { width: 1100px; margin-left: calc(50% - 550px); } }
@media (max-width: 1179px) { body.is-outfit .outfit-back:not([hidden]) { display: block; } body.is-outfit .brand-left #backAll { display: none; } }
.outfit-back .back-btn { font-size: 16px; padding: 10px 20px 10px 16px; }
.servers { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 12px 0 0; }
.servers button {
  font-size: 13px; font-weight: 600; color: var(--muted); padding: 6px 12px; border-radius: 11px; background: var(--glass); border: 1px solid var(--line);
}
/* border-box: else the gradient repeats under the transparent border and shows a thin bar at the right end */
.servers button[aria-pressed="true"] { color: #0b0b12; border-color: transparent; background: linear-gradient(120deg, #7cf8ff, #7b61ff); background-origin: border-box; }
.status { margin: 10px 0 0; font-size: 13px; color: var(--faint); min-height: 1.4em; }
.status.bad { color: #ffb347; }
button:focus-visible, a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------------------------------------------------------------- the board: one card per player, never a table */
.arena { max-width: 880px; margin: 0 auto; padding: 6px 16px 40px; }
.board { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 10px; }
.empty { text-align: center; color: var(--dim); margin: 40px 0; }
.empty[hidden] { display: none; }

.row {
  --c1: var(--ns1); --c2: var(--ns2);
  position: relative; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 14px;
  min-height: 72px; padding: 10px 18px 14px 12px; border-radius: 18px; isolation: isolate;
  background: linear-gradient(105deg, var(--c1), var(--c2)); color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .12);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 0 14px rgba(0, 0, 0, .3); transform-origin: 50% 50%; will-change: transform;
}
.deco { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: 1; pointer-events: none; }
/* over the art, under the text: keeps names readable however wild the row gets */
.row.m10 .deco::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, .12) 55%, rgba(0, 0, 0, .28)); }
.row.t1 { --c1: var(--vs1); --c2: var(--vs2); }
.row.t2 { --c1: var(--nc1); --c2: var(--nc2); }
.row.t3 { --c1: var(--tr1); --c2: var(--tr2); }
/* the lifted shadow while a row is dragged up (its opacity is animated) */
.row::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 22px 48px rgba(0, 0, 0, .6), 0 0 0 2px rgba(255, 255, 255, .55); opacity: 0; pointer-events: none; z-index: 3; }
/* a flash of colour on each kill */
.row::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 85% 50%, rgba(255, 255, 255, .85), transparent 60%); opacity: 0; z-index: 2; pointer-events: none; }
.row.climbing { z-index: 5; }
.row > .rank, .row > .who, .row > .count { position: relative; z-index: 2; }

.rank {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 20px;
  background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); font-variant-numeric: tabular-nums;
}
/* unranked (a count under RANK_MIN, rank.js): no number, no medal, a quiet dot in the medallion's place */
.row.unranked .rank { background: none; box-shadow: none; }
.row.unranked .rank::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .32); }
.row.mine.unranked .rank::after { background: rgba(36, 24, 0, .35); }
/* medals by the shared rank (ties share it: 1, 2, 2, 4 has no bronze) */
.row.r1 .rank { background: linear-gradient(135deg, #fff2a8, #f5b700); color: #4a3300; text-shadow: none; box-shadow: 0 0 18px rgba(255, 211, 77, .7); }
.row.r2 .rank { background: linear-gradient(135deg, #ffffff, #b9c0cc); color: #2b3040; text-shadow: none; }
.row.r3 .rank { background: linear-gradient(135deg, #ffd0a1, #c8743a); color: #3d1d05; text-shadow: none; }
.who { min-width: 0; }
.name { font-size: clamp(19px, 3.4vw, 26px); font-weight: 700; letter-spacing: -.01em; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.name a { text-decoration: none; }
.name a:hover { text-decoration: underline; }
.tag { opacity: .8; font-weight: 600; font-size: .78em; margin-right: 5px; }
.nso { display: inline-block; margin-left: 7px; font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, .35); vertical-align: middle; text-shadow: none; }
.meta { font-size: 13px; opacity: .85; margin-top: 3px; display: flex; min-width: 0; white-space: nowrap; }
.guns { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.guns.over { -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.gun { display: inline-block; }
.srv { flex: none; }
/* " · " between the parts that are there (kills + revives, weapons, server) */
.split:not([hidden]) ~ .guns:not(:empty)::before, .split:not([hidden]) ~ .srv:not(:empty)::before,
.guns:not(:empty) ~ .srv:not(:empty)::before { content: " · "; color: #fff; opacity: .7; }
.lvl { flex: none; font-size: 11px; font-weight: 600; letter-spacing: .04em; opacity: .8; margin-right: 7px; padding-top: 1px; }
.lvl[hidden], .split[hidden], .offmark[hidden] { display: none; }
.split { flex: none; color: #b8ffd4; }
.guns:empty { display: none; }
/* HOURLY: no charge bar; a logged-off player keeps their place, greyed and struck through */
.row.hourly .charge { display: none; }
.row.off { filter: grayscale(.85) brightness(.82); }
.row.off .name .n { text-decoration: line-through; text-decoration-thickness: 2px; }
.offmark { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 1px 7px; border-radius: 6px; background: rgba(0, 0, 0, .4); text-shadow: none; }
/* your own players (owner: "the entire background should be golden with an animation like on rollagain"): the whole row
   in rich gold with dark text, a narrow stripe of their faction's colour on the left, rollagain's solid gold top bar,
   a diagonal light sweeping across the whole row every 5 s (rollagain's ra-sheen) and a soft gold glow; ★ YOU */
.goldbar, .you { display: none; }
.row.mine {
  background: linear-gradient(105deg, #f7d774 0%, #ecc65c 30%, #e0b54a 55%, #c99a35 80%, #b8862b 100%); color: #241800;
  text-shadow: 0 1px 0 rgba(255, 244, 205, .45);
  box-shadow: inset 7px 0 0 var(--c2), 0 0 0 2px #f7d774, 0 0 30px rgba(240, 190, 80, .55), 0 6px 18px rgba(0, 0, 0, .35);
}
.row.mine .meta { opacity: .9; }
.row.mine .tag { opacity: .75; }
.row.mine .split { color: #0d5a2a; }
.row.mine:not(.r1):not(.r2):not(.r3) .rank { background: rgba(36, 24, 0, .2); box-shadow: inset 0 0 0 2px rgba(36, 24, 0, .45); }
.row.mine .charge { background: rgba(36, 24, 0, .25); }
.row.mine .charge i { background: linear-gradient(90deg, #6b4a00, #241800); }
.row.mine .nso { background: rgba(36, 24, 0, .75); color: #f7d774; }
.row.mine.m10 .deco::after { background: linear-gradient(90deg, rgba(255, 240, 200, .38), rgba(255, 240, 200, .12) 55%, rgba(255, 240, 200, .3)); }
.row.mine .art { mix-blend-mode: soft-light; }
.row.mine .goldbar {
  display: block; position: absolute; z-index: 3; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 250, 225, .75) 50%, transparent 80%) no-repeat;
  background-size: 30% 100%; background-position: -50% 0; animation: mine-sheen 5s ease-in-out infinite;
}
.row.mine .goldbar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #b8862b; box-shadow: 0 1px 0 rgba(255, 243, 196, .6); }
@keyframes mine-sheen { 0% { background-position: -50% 0; } 55%, 100% { background-position: 150% 0; } }
.row.mine .you {
  display: block; position: absolute; z-index: 4; left: 12px; top: -10px; padding: 1px 8px; border-radius: 7px; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; background: linear-gradient(135deg, #fbe7a1, #e0b54a); color: #241800; text-shadow: none;
  border: 1px solid #241800; box-shadow: 0 2px 0 rgba(0, 0, 0, .35);
}
.row.mine .stamp { background: #241800; color: #f7d774; }
/* one of yours just ended: greyed in its slot for a moment, with why */
.row.lingering { background: linear-gradient(105deg, #33353d, #474a54); animation: none !important; z-index: 1; }
.row.lingering > .deco, .row.lingering > .rank, .row.lingering > .who, .row.lingering > .count { filter: grayscale(.95) brightness(.68); }
.row.mine.lingering { background: linear-gradient(105deg, #33353d, #474a54); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); box-shadow: 0 0 0 2px color-mix(in oklab, var(--mine) 40%, #4a4a52), 0 6px 18px rgba(0, 0, 0, .35); }
.row.mine.lingering .goldbar { animation: none; background: none; }
.row.lingering .charge, .row.lingering .sticker, .row.lingering .flames, .row.lingering .shine, .row.lingering .bolt { display: none; }
.row.lingering .art, .row.lingering .goldbar { animation: none; }
.linger-stamp {
  position: absolute; z-index: 7; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; white-space: nowrap;
  padding: 4px 16px 5px; border-radius: 12px; background: rgba(16, 15, 24, .88); border: 2px solid rgba(255, 255, 255, .55);
  color: #fff; text-shadow: none; filter: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
}
.linger-stamp b { display: block; font-size: clamp(18px, 3.6vw, 26px); letter-spacing: .12em; line-height: 1.05; }
.linger-stamp small { display: block; font-size: 12px; font-weight: 600; opacity: .9; }
.linger-stamp small a { text-decoration: underline; }
.linger-stamp em { display: block; font-style: normal; font-size: 11px; letter-spacing: .06em; color: #fbe6ad; margin-top: 1px; }
.wow.gold .wow-card { border-color: var(--mine); box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 70px color-mix(in oklab, var(--mine) 70%, transparent); }
/* your players on the board shown but below the rows: pinned under the board */
.pinned { margin: 10px 0 0; display: grid; gap: 6px; }
.pinned[hidden] { display: none; }
.pin {
  position: relative; overflow: hidden; padding: 9px 14px; border-radius: 12px; font-weight: 700; color: #241800;
  background: linear-gradient(105deg, #f7d774, #e0b54a 55%, #b8862b); text-shadow: 0 1px 0 rgba(255, 244, 205, .45);
  box-shadow: inset 0 3px 0 #b8862b, 0 0 0 2px #f7d774, 0 0 22px rgba(240, 190, 80, .5);
}
.pin::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 250, 225, .75) 50%, transparent 80%) no-repeat;
  background-size: 30% 100%; background-position: -50% 0; animation: mine-sheen 5s ease-in-out infinite;
}
.pin b { color: #241800; }
.pin.hourline-pin { opacity: .92; }   /* not on a streak now: where they are this hour */
.pin a { text-decoration: none; color: #241800; }
/* CHEATER (owner): farmers in their own loud spot above the board, never ranked; a red mark if one reaches a row */
.cheaters { display: grid; gap: 10px; margin: 0 0 14px; }
.cheaters[hidden] { display: none; }
.cheat {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "stamp who n" "stamp line n";
  align-items: center; gap: 2px 14px; padding: 12px 18px 12px 12px; border-radius: 16px; color: #fff; isolation: isolate;
  background: linear-gradient(110deg, #3a0008, #b3001e 35%, #1a0004 60%, #d4102f 85%, #3a0008); background-size: 240% 100%;
  animation: cheat-pulse 2.4s ease-in-out infinite alternate; box-shadow: 0 0 0 2px #ff2b4a, 0 0 30px rgba(255, 30, 60, .55);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}
/* warning stripes along both edges */
.cheat::before, .cheat::after {
  content: ""; position: absolute; left: 0; right: 0; height: 7px; z-index: -1;
  background: repeating-linear-gradient(-45deg, #ffd21a 0 10px, #120006 10px 20px); background-size: 28px 7px; animation: cheat-stripes .8s linear infinite;
}
.cheat::before { top: 0; } .cheat::after { bottom: 0; }
@keyframes cheat-pulse { 0% { background-position: 0% 0; } 100% { background-position: 100% 0; } }
@keyframes cheat-stripes { to { background-position: 28px 0; } }
.cheat-stamp {
  grid-area: stamp; position: relative; font-weight: 700; font-size: clamp(18px, 3.4vw, 26px); letter-spacing: .12em; padding: 6px 12px;
  border: 3px solid #fff; border-radius: 8px; transform: rotate(-6deg); background: rgba(0, 0, 0, .35); text-shadow: 2px 0 #00e5ff, -2px 0 #ff2b4a;
}
/* the glitch: two offset copies flicking through slices */
.cheat-stamp::before, .cheat-stamp::after { content: attr(data-text); position: absolute; inset: 6px 12px; pointer-events: none; }
.cheat-stamp::before { color: #00e5ff; animation: glitch 1.7s steps(1) infinite; }
.cheat-stamp::after { color: #ffd21a; animation: glitch 2.3s steps(1) infinite reverse; }
@keyframes glitch {
  0%, 82%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  84% { clip-path: inset(10% 0 55% 0); transform: translate(-4px, 1px); }
  88% { clip-path: inset(60% 0 8% 0); transform: translate(4px, -1px); }
  92% { clip-path: inset(30% 0 40% 0); transform: translate(-2px, 0); }
}
.cheat-who { grid-area: who; min-width: 0; }
.cheat-name { font-size: clamp(18px, 3.2vw, 24px); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cheat-name a { text-decoration: none; }
.cheat-name a:hover { text-decoration: underline; }
.cheat-meta { font-size: 12px; opacity: .85; }
.cheat-line { grid-area: line; font-size: 13px; font-weight: 600; color: #ffe0e4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cheat-n { grid-area: n; text-align: right; line-height: .95; }
.cheat-n b { display: block; font-size: clamp(30px, 6vw, 44px); font-variant-numeric: tabular-nums; }
.cheat-n small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cheatmark { display: none; }
.row.cheater .cheatmark {
  display: block; position: absolute; z-index: 4; right: 92px; bottom: -9px; padding: 1px 8px; border-radius: 6px; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; background: #ff2b4a; color: #fff; text-shadow: none; box-shadow: 0 0 12px rgba(255, 40, 70, .8);
}
@media (max-width: 560px) {
  .cheat { grid-template-columns: auto 1fr auto; padding: 12px 12px 12px 10px; gap: 2px 10px; }
  .cheat-stamp { font-size: 15px; padding: 4px 8px; letter-spacing: .08em; }
  .row.cheater .cheatmark { right: 62px; }
}
/* Medic: a run of mostly revives */
.row.angel .sticker { display: block; background: linear-gradient(110deg, #eafff2, #7dffb0); color: #064a26; }
.plus.heal { color: #7dffb0; text-shadow: 0 0 10px rgba(60, 255, 150, .8), 0 2px 6px rgba(0, 0, 0, .6); }
.count { text-align: right; line-height: .9; }
.num { display: inline-block; font-size: clamp(36px, 7vw, 54px); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.count small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-top: 2px; }

/* the charge: drains to zero; a kill fills it again. Under a quarter left the whole row pulses. */
.charge { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(0, 0, 0, .35); z-index: 3; }
.charge i { position: absolute; inset: 0; background: linear-gradient(90deg, #fff, #ffe680); transform-origin: 0 50%; }
.row.low .charge i { background: linear-gradient(90deg, #ff3d3d, #ffb347); }
.row.low { animation: tension .6s ease-in-out infinite alternate; }
@keyframes tension { to { transform: scale(1.012); } }
.row.low::after { opacity: .35; box-shadow: 0 0 0 2px rgba(255, 90, 60, .9); }

/* ---------------------------------------------------------------- milestones (engine.ts MILESTONES) */
.sticker {
  position: absolute; z-index: 4; right: 92px; top: -11px; padding: 3px 10px; border-radius: 9px; font-weight: 700; font-size: 13px;
  letter-spacing: .08em; color: #2a1500; background: var(--gold); transform: rotate(-8deg); text-shadow: none;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .35); display: none;
}
.row.m5 .sticker { display: block; }
.row.m15 .sticker { background: linear-gradient(110deg, #ff3d3d, #ffb347); color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .4); }
.row.m20 .sticker { background: linear-gradient(110deg, #7cf8ff, #b98bff, #ff8bd8); color: #160a2e; }
.row.m25 .sticker, .row.m30 .sticker { background: #fff; color: #000; }
/* the art: a layer over the team's colour from 10 kills on, more each step */
/* The colours turn, not the layer: it covers the row exactly at every moment (a rotating box the row's shape went
   thin at 90°, and its edges showed; owner, 2026-11-30). Soft beams, each fading in and out over 60°. */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.art { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; mix-blend-mode: screen; border-radius: inherit; }
.row.m10 .art {
  opacity: .38;
  background: conic-gradient(from var(--spin) at 50% 50%,
    rgba(124, 248, 255, 0) 0deg, rgba(124, 248, 255, .85) 50deg, rgba(124, 248, 255, 0) 110deg,
    rgba(255, 90, 200, 0) 120deg, rgba(255, 90, 200, .8) 170deg, rgba(255, 90, 200, 0) 230deg,
    rgba(255, 225, 77, 0) 240deg, rgba(255, 225, 77, .75) 290deg, rgba(255, 225, 77, 0) 350deg, rgba(124, 248, 255, 0) 360deg);
  animation: spin 7s linear infinite;
}
.row.m15 .art { opacity: .44; animation-duration: 4.5s; }
.row.m20 .art {
  opacity: .32; animation-duration: 3s;
  background: conic-gradient(from var(--spin) at 50% 50%, #ff3d6e, #ff9a3c, #ffe14d, #6dff9b, #7cf8ff, #8f6bff, #ff5ad8, #ff3d6e);
}
@keyframes spin { to { --spin: 360deg; } }
.flames { position: absolute; left: 0; right: 0; bottom: -8px; height: 62%; z-index: 1; pointer-events: none; display: none; mix-blend-mode: screen; opacity: .75; }
.row.m15 .flames { display: block; }
.flames i { position: absolute; bottom: 0; width: 18%; height: 100%; border-radius: 50% 50% 10% 10%; background: radial-gradient(ellipse at 50% 90%, rgba(255, 240, 120, .95), rgba(255, 110, 30, .75) 40%, transparent 70%); transform-origin: 50% 100%; animation: flame 1s ease-in-out infinite alternate; }
.flames i:nth-child(1) { left: 2%; animation-delay: -.2s; } .flames i:nth-child(2) { left: 22%; animation-delay: -.7s; }
.flames i:nth-child(3) { left: 42%; animation-delay: -.4s; } .flames i:nth-child(4) { left: 62%; animation-delay: -.9s; }
.flames i:nth-child(5) { left: 82%; animation-delay: -.1s; }
@keyframes flame { from { transform: scaleY(.55) translateY(10%); opacity: .55; } to { transform: scaleY(1) translateY(0); opacity: .9; } }
.shine { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: none; overflow: hidden; }
.row.m20 .shine { display: block; }
.shine::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); animation: sweep 2.2s ease-in-out infinite; }
@keyframes sweep { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(420%) skewX(-18deg); } }
.bolt { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: none; background: rgba(220, 240, 255, .55); mix-blend-mode: overlay; }
.row.m25 .bolt { display: block; animation: lightning 3.1s steps(1) infinite; }
@keyframes lightning { 0%, 100% { opacity: 0; } 4% { opacity: .8; } 6% { opacity: 0; } 9% { opacity: .6; } 11% { opacity: 0; } 52% { opacity: 0; } 54% { opacity: .7; } 56% { opacity: 0; } }
.row.m30 { box-shadow: 0 0 0 3px rgba(255, 255, 255, .85), 0 0 34px rgba(255, 61, 110, .8); }
.row.m30 .num { animation: throb .5s ease-in-out infinite alternate; }
@keyframes throb { to { transform: scale(1.08); } }

/* ---------------------------------------------------------------- leaving the board */
/* a leaving row keeps its slot (in the flow) while its exit plays; once it has cleared the slot it's taken out of the
   flow (.detached) and the rows below close the gap */
.row.leaving { z-index: 6; pointer-events: none; }
.row.detached, .half { position: absolute; left: 0; right: 0; z-index: 6; pointer-events: none; }
.stamp {
  position: absolute; z-index: 7; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-6deg); white-space: nowrap;
  font-weight: 700; font-size: clamp(16px, 3vw, 22px); letter-spacing: .08em; padding: 4px 14px; border-radius: 10px;
  background: #fff; color: #c8102e; text-shadow: none; box-shadow: 0 4px 0 rgba(0, 0, 0, .35);
}
.stamp.off { color: #2b3040; background: #e8eaf0; }
.stamp a { pointer-events: auto; text-decoration: none; }
.stamp a:hover { text-decoration: underline; }
.row.logged .name .n { text-decoration: line-through; text-decoration-thickness: 3px; }

.crack { position: absolute; inset: 0; z-index: 6; pointer-events: none; }

/* ---------------------------------------------------------------- effects: particles, +1, the WOW */
.fx { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.p { position: absolute; left: 0; top: 0; width: 9px; height: 9px; border-radius: 50%; will-change: transform, opacity; }
/* a shot: a comet with a trail in the killer's team colour, a flash and a shockwave where it lands */
.comet, .trail, .flash, .ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform, opacity; }
.comet { width: 22px; height: 22px; margin: -11px 0 0 -11px; background: radial-gradient(circle, #fff 0 28%, var(--shot) 52%, transparent 72%); box-shadow: 0 0 16px var(--shot), 0 0 34px var(--shot); }
.comet::after { content: ""; position: absolute; right: 50%; top: 50%; width: 46px; height: 6px; margin-top: -3px; border-radius: 6px; background: linear-gradient(90deg, transparent, var(--shot)); opacity: .9; }
.trail { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: radial-gradient(circle, #fff 0 20%, var(--shot) 55%, transparent 75%); }
.flash { width: 90px; height: 90px; margin: -45px 0 0 -45px; background: radial-gradient(circle, #fff 0 22%, var(--shot) 45%, transparent 70%); }
.ring { width: 80px; height: 80px; margin: -40px 0 0 -40px; border: 3px solid var(--shot); box-shadow: 0 0 14px var(--shot); }
.spark { width: 6px; height: 6px; }
.plus { position: absolute; left: 0; top: 0; font-weight: 700; font-size: 22px; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); will-change: transform, opacity; }
.wow { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; pointer-events: none; padding: 16px; }
.wow[hidden] { display: none; }
.wow-card {
  text-align: center; padding: 22px 34px 26px; border-radius: 28px; max-width: 92vw;
  background: radial-gradient(circle at 50% 0%, rgba(255, 90, 140, .45), rgba(20, 12, 40, .94) 65%); border: 2px solid rgba(255, 255, 255, .5);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 60px rgba(255, 61, 110, .45);
}
.wow-big {
  margin: 0; font-size: clamp(76px, 22vw, 168px); font-weight: 700; font-style: italic; letter-spacing: -.05em; line-height: .9;
  background: linear-gradient(100deg, #ffe14d, #ff9a3c, #ff3d6e, #b98bff, #7cf8ff); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .45));
}
.wow-who { margin: 10px 0 0; font-size: clamp(20px, 4.5vw, 32px); font-weight: 700; }
.wow-how { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.wow-who a { text-decoration: none; }
/* NEW HOUR (HOURLY at :00) */
.newhour { position: fixed; inset: 0; z-index: 61; display: grid; place-items: center; pointer-events: none; padding: 16px; }
.newhour[hidden] { display: none; }
.nh-card {
  text-align: center; padding: 20px 34px 24px; border-radius: 28px; max-width: 92vw; pointer-events: auto;
  background: radial-gradient(circle at 50% 0%, rgba(255, 200, 80, .45), rgba(20, 12, 40, .94) 65%); border: 2px solid rgba(255, 255, 255, .5);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 60px rgba(255, 200, 80, .4);
}
.nh-big {
  margin: 0; font-size: clamp(56px, 15vw, 128px); font-weight: 700; font-style: italic; letter-spacing: -.04em; line-height: .95;
  background: linear-gradient(100deg, #ffe14d, #ff7ad9, #7cf8ff); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .45));
}
.nh-win { margin: 10px 0 0; font-size: clamp(18px, 4vw, 26px); font-weight: 700; }
.nh-win a { text-decoration: none; }
/* tooltips: one dark glass card with an arrow (app.js tooltips()), like Mantine's */
.tip {
  position: fixed; left: 0; top: 0; z-index: 80; max-width: 260px; pointer-events: none; opacity: 0; will-change: transform, opacity;
  transition: opacity .15s ease;
}
.tip[hidden] { display: none; }
.tip-body {
  padding: 9px 12px 10px; border-radius: 12px; color: #f2f0ff; font-size: 13px; line-height: 1.4; text-align: left;
  background: rgba(20, 19, 31, .93); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 12px 32px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .35);
  transform: translateY(4px) scale(.96); transition: transform .15s cubic-bezier(.2, .9, .3, 1); overflow-wrap: anywhere;
}
.tip[data-side="bottom"] .tip-body { transform: translateY(-4px) scale(.96); }
.tip.in { opacity: 1; }
.tip.in .tip-body { transform: none; }
.tip-h { margin: 0 0 3px; font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.tip-h[hidden] { display: none; }
.tip-h .cross { width: 14px; height: 14px; fill: #3ddc84; }
.tip-h .tip-ring { color: #7cf8ff; font-size: 15px; }
.tip-t { margin: 0; color: #cfcbe6; }
.tip-arrow {
  position: absolute; left: 0; width: 12px; height: 12px; background: rgba(20, 19, 31, .93); border: 1px solid rgba(255, 255, 255, .14);
  border-top: 0; border-left: 0; bottom: -7px; z-index: 1;   /* turned by app.js (translateX, then the turn) */
}
.tip[data-side="bottom"] .tip-arrow { bottom: auto; top: -7px; }
[data-tip] { cursor: default; }
.guns[data-tip], .lvl[data-tip] { cursor: help; }
.shake { animation: shake .45s cubic-bezier(.36, .07, .19, .97); }
@keyframes shake { 15% { transform: translate(-6px, 3px) rotate(-.6deg); } 35% { transform: translate(7px, -4px) rotate(.6deg); } 55% { transform: translate(-5px, 2px); } 75% { transform: translate(4px, -2px); } }

/* ---------------------------------------------------------------- footer */
.foot { max-width: 880px; margin: 0 auto; padding: 10px 16px max(28px, env(safe-area-inset-bottom)); text-align: center; color: var(--dim); font-size: 13px; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.links a { text-decoration: none; color: var(--muted); }
.links a:hover { color: var(--fg); }
.links .sep { color: var(--faint); }
.small { margin: 8px 0 0; }
.nojs { text-align: center; color: var(--muted); }

/* ---------------------------------------------------------------- My players: the drawer (Mantine's Drawer) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body.drawer-open { overflow: hidden; }
.drawer-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(3, 4, 10, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .25s ease;
}
.drawer-overlay.in { opacity: 1; }
.drawer-overlay[hidden], .drawer[hidden] { display: none; }
.drawer {
  position: fixed; z-index: 91; top: 0; right: 0; bottom: 0; width: min(400px, 100vw); overflow-y: auto; overscroll-behavior: contain;
  padding: max(18px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); text-align: left;
  background: #12111c; border-left: 1px solid rgba(255, 255, 255, .1); box-shadow: -24px 0 60px rgba(0, 0, 0, .55);
  transform: translateX(100%); transition: transform .26s cubic-bezier(.2, .8, .3, 1);
}
.drawer.in { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.drawer-head h2 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.drawer-head .star { color: var(--mine); }
.drawer-x { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--glass); font-size: 20px; line-height: 1; }
.drawer-intro { color: var(--muted); font-size: 14px; margin: 10px 0 16px; }
.drawer-foot { color: var(--dim); font-size: 12px; margin: 16px 0 0; }
.mine-err {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding: 9px 12px; border-radius: 12px;
  background: rgba(255, 70, 90, .14); border: 1px solid rgba(255, 90, 110, .55); color: #ffc2ca; font-size: 14px; font-weight: 600;
}
.mine-err[hidden] { display: none; }
.mine-err button { border: 0; background: none; font-size: 18px; color: inherit; padding: 0 2px; }
/* the name box: ps2immersion.com's big LCD-like input */
.mine-add { position: relative; display: flex; gap: 8px; }
.mine-lcd {
  flex: 1; min-width: 0; font: 700 18px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase;
  color: #b9ffcf; padding: 14px 40px 14px 14px; border-radius: 12px; border: 2px solid #2b3a33; outline: none;
  background: linear-gradient(180deg, #0b1410, #0e1a14); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .6); text-shadow: 0 0 8px rgba(120, 255, 170, .45);
}
.mine-lcd::placeholder { color: #3f6150; text-shadow: none; }
.mine-lcd:focus { border-color: var(--mine); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .6), 0 0 0 3px color-mix(in oklab, var(--mine) 30%, transparent); }
.mine-ok { position: absolute; right: 92px; top: 50%; transform: translateY(-50%); color: #5dff9e; font-weight: 700; font-size: 20px; }
.mine-ok[hidden] { display: none; }
.mine-go { padding: 0 18px; border: 0; border-radius: 12px; font-weight: 700; letter-spacing: .06em; color: #2a1d00; background: linear-gradient(135deg, #f6d77e, var(--mine)); }
.mine-go:disabled { opacity: .45; cursor: default; }
.mine-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.mine-chip { position: relative; padding: 10px 12px 10px 16px; border-radius: 14px; border: 1px solid color-mix(in oklab, var(--mine) 55%, var(--line)); background: var(--glass); box-shadow: inset 4px 0 0 var(--mine), 0 0 14px rgba(240, 190, 80, .12); }
.mine-chip.t1 { background: linear-gradient(105deg, rgba(76, 28, 176, .35), rgba(117, 53, 232, .18)); }
.mine-chip.t2 { background: linear-gradient(105deg, rgba(12, 63, 166, .35), rgba(35, 110, 240, .18)); }
.mine-chip.t3 { background: linear-gradient(105deg, rgba(156, 15, 37, .35), rgba(221, 43, 60, .18)); }
.mc-top { display: flex; align-items: center; gap: 8px; }
.mc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mine); box-shadow: 0 0 8px var(--mine); flex: none; }
.mc-name { flex: 1; min-width: 0; font-weight: 700; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-name a { text-decoration: none; }
.mc-name a:hover { text-decoration: underline; }
.mc-x { width: 28px; height: 28px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, .08); font-size: 18px; line-height: 1; flex: none; }
.mc-x:hover { background: rgba(255, 90, 110, .3); }
.mc-sub { color: var(--muted); font-size: 12px; margin: 2px 0 0 17px; }
.mc-st { font-size: 13px; margin: 6px 0 0 17px; color: var(--dim); }
.mc-st.live { color: #fbe6ad; font-weight: 700; }
.mc-st.off { color: var(--faint); }

/* ---------------------------------------------------------------- small pages: an outfit chooser, unknown, busy */
.plain-main { max-width: 640px; margin: 0 auto; padding: max(28px, env(safe-area-inset-top)) 16px 48px; }
.plain-main .back a { color: var(--muted); text-decoration: none; }
.plain-h { font-size: clamp(30px, 7vw, 48px); line-height: 1.05; margin: 18px 0 8px; letter-spacing: -.02em; }
.plain-main p { color: var(--muted); }
.picks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.pick { display: block; padding: 14px 18px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); text-decoration: none; }
.pick:hover { border-color: rgba(255, 255, 255, .35); }
.pick b { display: block; font-size: 20px; }
.pick span { color: var(--muted); font-size: 14px; }
.pickbtn { display: inline-block; padding: 9px 18px; border-radius: 12px; background: var(--hot); color: #0b0b12; font-weight: 700; text-decoration: none; }
.osearch-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; }
.osearch-form label { width: 100%; color: var(--muted); font-size: 14px; }
.osearch-form input { flex: 1 1 200px; font: inherit; color: var(--fg); padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); }
.osearch-form button { padding: 9px 16px; border-radius: 12px; border: 0; background: var(--hot); color: #0b0b12; font-weight: 700; }

@media (max-width: 560px) {
  .row { grid-template-columns: 40px 1fr auto; gap: 10px; min-height: 64px; padding: 9px 12px 13px 9px; border-radius: 15px; }
  .rank { width: 36px; height: 36px; font-size: 16px; }
  .sticker { right: 62px; font-size: 11px; top: -10px; }
  #sound .tx, .mine-btn .tx { display: none; }
  .modes button { padding: 7px 13px; font-size: 14px; line-height: 1.15; }
  .modes button small { display: block; font-size: 11px; margin-top: 1px; }   /* the window on its own line */
  .modes button { padding: 7px 9px; font-size: 13px; letter-spacing: .03em; }
  .medic { padding: 7px 9px; font-size: 14px; }
  .osearch input { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .tip, .tip-body, .medic .knob, .medic .knob::after, .hbar i, .drawer, .drawer-overlay { transition: none !important; }
  .row.mine .goldbar, .pin::after { animation: none; background: none; }
  .cheat, .cheat::before, .cheat::after, .cheat-stamp::before, .cheat-stamp::after { animation: none !important; }
  .cheat-stamp::before, .cheat-stamp::after { display: none; }
  .bg .b, .logo, .row .art, .flames i, .shine::before, .row.m25 .bolt, .row.m30 .num, .row.low { animation: none !important; }
  .row.m25 .bolt { opacity: 0; }
}
