/* Layout: "Current." — pure black stage, glowing white type, ゴゴゴ drifting down both edges. One deliberate dark look. */
:root {
  --bg: #050505;
  --stud: rgba(255, 255, 255, 0.035);
  --surface: #0d0d0e;
  --surface-2: #151517;
  --ink: #f4f4f4;
  --ink-2: #b9b9bd;
  --ink-3: #7d7d83;
  --edge: rgba(255, 255, 255, 0.22);
  --accent: #ffffff;
  --accent-ink: #050505;
  --cobalt: #d6d6da;
  --sun: #ffffff;
  --sun-ink: #050505;
  --online: #3ddc84;
  --idle: #f0b232;
  --dnd: #f23f43;
  --offline: #80848e;
  --glow: 0 0 18px rgba(255, 255, 255, 0.45);
  --shadow: 0 0 0 1px rgba(255,255,255,.04), 0 0 26px rgba(255,255,255,.06);
  --shadow-lg: 0 0 0 1px rgba(255,255,255,.05), 0 0 40px rgba(255,255,255,.09);
  --radius: 12px;
  --display: "Grenze Gotisch", "Unbounded", Georgia, serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(var(--stud) 2.2px, transparent 2.6px);
  background-size: 26px 26px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
[hidden] { display: none !important; }
a { color: inherit; }
.mono { font-family: var(--mono); }
.small { font-size: 12px; }

.wrap {
  max-width: 1200px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--edge);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 15px; min-width: 0; }
.brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-dot { flex: none; width: 12px; height: 12px; border-radius: 3px; background: var(--offline); border: 2px solid var(--edge); }
.topbar nav { display: flex; gap: 4px; align-items: center; }
.topbar nav a {
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2);
  padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s;
}
.topbar nav a:hover { color: var(--ink); background: var(--surface); }
.topbar nav .nav-cta {
  color: var(--accent-ink); background: var(--accent); border: 2px solid var(--edge);
  box-shadow: 3px 3px 0 var(--edge); margin-left: 6px;
}
.topbar nav .nav-cta:hover { color: var(--accent-ink); background: var(--accent); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--edge); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body); font-size: 16px; font-weight: 700; text-decoration: none;
  padding: 13px 22px; border-radius: 10px; border: 2px solid var(--edge);
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--edge); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--edge); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-plain { background: var(--surface); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-lg { font-size: 18px; padding: 16px 28px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 72px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.8fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.hero-copy { min-width: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .02em;
  background: var(--surface); border: 2px solid var(--edge); border-radius: 99px; padding: 6px 14px;
}
.chip-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
h1 { margin: 0; }
.h1-name {
  display: block; font-family: var(--display); font-weight: 900;
  font-size: clamp(44px, 8vw, 104px); line-height: .95; letter-spacing: -0.03em;
  overflow-wrap: anywhere; text-wrap: balance;
}
.h1-role {
  display: block; margin-top: 16px; font-family: var(--display); font-weight: 500;
  font-size: clamp(22px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.01em; color: var(--ink-2);
  text-wrap: balance;
}
.h1-role mark {
  background: var(--sun); color: var(--sun-ink); padding: 0 .18em; border-radius: 6px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.lede { font-size: clamp(19px, 1.7vw, 22px); font-weight: 600; margin: 30px 0 10px; max-width: 40ch; }
.intro { color: var(--ink-2); max-width: 60ch; margin: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.pay-note {
  display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
}
.pay-note::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--online); border: 2px solid var(--edge); }
.pay-note-contact { color: var(--accent-ink); margin-top: 20px; font-size: 16px; }

/* ---------- live player card ---------- */
.player {
  background: var(--surface); border: 2px solid var(--edge); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0;
}
.player-banner {
  --banner: var(--cobalt);
  position: relative; height: 104px;
  background-color: var(--banner);
  background-image: radial-gradient(rgba(255,255,255,.28) 3.5px, transparent 4px);
  background-size: 22px 22px; background-position: 6px 6px;
  border-bottom: 2px solid var(--edge);
  transition: background-color .6s;
}
.player-banner.has-image {
  height: 132px;
  background: var(--banner) var(--banner-image) center / cover no-repeat;
}
.player-tag {
  position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 600; letter-spacing: .08em;
  background: var(--surface); color: var(--ink); border: 2px solid var(--edge); border-radius: 6px; padding: 2px 8px;
}
.player-body { padding: 0 22px 22px; }
.avatar-wrap { position: relative; width: 104px; height: 104px; margin-top: -52px; }
.avatar {
  width: 104px; height: 104px; border-radius: 50%; object-fit: cover; display: block;
  border: 5px solid var(--surface); outline: 2px solid var(--edge); background: var(--surface-2);
  transition: opacity .3s ease, transform .3s ease;
}
.avatar.swap { opacity: 0; transform: scale(.92); }
/* Discord avatar decoration: sits on top of the picture at 120% of its size */
.avatar-deco {
  position: absolute; left: -10%; top: -10%; width: 120%; height: 120%;
  pointer-events: none; z-index: 2; object-fit: contain;
}
.status-ring {
  position: absolute; right: 2px; bottom: 4px; width: 26px; height: 26px; border-radius: 50%; z-index: 3;
  background: var(--offline); border: 4px solid var(--surface); outline: 2px solid var(--edge);
}
[data-status="online"] { background: var(--online) !important; }
[data-status="idle"] { background: var(--idle) !important; }
[data-status="dnd"] { background: var(--dnd) !important; }

.player-id { position: relative; margin: 18px 0 14px; min-width: 0; }
.player-id-text { position: relative; z-index: 1; min-width: 0; }
.player-id strong { display: block; font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.handle { font-size: 13px; color: var(--ink-2); }
.handle-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.clan {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; line-height: 1;
  padding: 3px 7px; border-radius: 6px; background: var(--surface-2); color: var(--ink);
  border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent);
}
.clan img { width: 14px; height: 14px; }
/* Discord nameplate: the animated strip behind the name */
.player-id.has-nameplate {
  overflow: hidden; border-radius: 12px; border: 2px solid var(--edge); padding: 12px 14px;
  background: #0b0b10 var(--plate) center / cover no-repeat; color: #fff;
}
.nameplate-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.player-id.has-nameplate::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.1) 75%);
}
.player-id.has-nameplate strong, .player-id.has-nameplate .handle { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.player-id.has-nameplate .clan { background: rgba(0,0,0,.45); color: #fff; border-color: rgba(255,255,255,.25); }
.status-dd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.platform { font-size: 12px; color: var(--ink-3); }
.player-rows { margin: 0; }
.player-rows > div {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding: 10px 0; border-top: 2px dashed color-mix(in srgb, var(--ink) 14%, transparent); font-size: 15px;
}
.player-rows dt { font-family: var(--mono); font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.player-rows dd { margin: 0; overflow-wrap: anywhere; }
.player-rows dd.mono { color: var(--ink-2); }
.pill {
  font-family: var(--mono); font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 6px;
  background: var(--surface-2); color: var(--ink-2); border: 1.5px solid currentColor;
}
.pill.online { color: var(--online); }
.pill.idle { color: var(--idle); }
.pill.dnd { color: var(--dnd); }
.copy {
  margin-top: 14px; width: 100%; display: flex; justify-content: center; align-items: center; gap: 8px;
  font-family: var(--body); font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer;
  background: var(--surface-2); border: 2px solid var(--edge); border-radius: 10px; padding: 11px;
  box-shadow: 3px 3px 0 var(--edge); transition: transform .12s, box-shadow .12s;
}
.copy:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--edge); }
.copy:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--edge); }
.copy.done { background: var(--online); color: #fff; }

/* custom status bubble */
.custom-status {
  position: relative; display: flex; align-items: center; gap: 8px; margin: 0 0 14px;
  background: var(--surface-2); border: 2px solid var(--edge); border-radius: 12px; padding: 9px 12px;
  font-size: 15px; line-height: 1.4; overflow-wrap: anywhere;
}
.custom-status::before {
  content: ""; position: absolute; top: -8px; left: 22px; width: 12px; height: 12px;
  background: var(--surface-2); border-left: 2px solid var(--edge); border-top: 2px solid var(--edge); transform: rotate(45deg);
}
.cs-emoji { flex: none; font-size: 18px; line-height: 1; }
img.cs-emoji { width: 20px; height: 20px; object-fit: contain; }
.cs-text { min-width: 0; }

/* right now: activities */
.now { margin-top: 4px; padding-top: 12px; border-top: 2px dashed color-mix(in srgb, var(--ink) 14%, transparent); }
.now-label { margin: 0 0 10px; font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.activities { display: flex; flex-direction: column; gap: 10px; }
.act {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center;
  background: var(--surface-2); border: 2px solid var(--edge); border-radius: 12px; padding: 10px;
}
.act:not(:has(.act-art)) { grid-template-columns: minmax(0, 1fr); }
.act-art { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; border: 2px solid var(--edge); background: var(--surface); }
.act-body { display: flex; flex-direction: column; min-width: 0; }
.act-kind { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); text-transform: uppercase; }
.act-spotify .act-kind { color: #1aa34a; }
.act-title { font-weight: 700; font-size: 15px; line-height: 1.3; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
a.act-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.act-sub { font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-bar { height: 6px; margin-top: 8px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 14%, transparent); overflow: hidden; }
.act-fill { display: block; height: 100%; width: 0; background: var(--ink); border-radius: inherit; transition: width 1s linear; }
.act-spotify .act-fill { background: #1db954; }
.act-times { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.act-since { margin-top: 4px; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.act-empty { margin: 0; font-size: 14px; color: var(--ink-2); }

/* skeleton while loading */
.is-loading [data-name], .is-loading .handle {
  color: transparent; border-radius: 8px;
  background: linear-gradient(90deg, var(--surface-2), color-mix(in srgb, var(--ink) 10%, transparent), var(--surface-2));
  background-size: 200% 100%; animation: shimmer 1.3s infinite;
}
.is-loading .h1-name[data-name] { max-width: 7ch; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* stats */
.stats {
  list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.stats li {
  background: var(--surface); border: 2px solid var(--edge); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px; min-width: 0;
}
.stats strong { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.4vw, 42px); line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.stats li:nth-child(1) strong { color: var(--accent); }
.stats li:nth-child(2) strong { color: var(--cobalt); }
/* with a featured stat: the big yellow tile leads, the other three follow */
.stats.has-featured { grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); }
.stats.has-featured li.stat-featured { grid-row: span 2; }
.stats.has-featured li:nth-child(2) strong { color: var(--accent); }
.stats.has-featured li:nth-child(3) strong { color: var(--cobalt); }
.stats.has-featured li:nth-child(4) strong { color: var(--cobalt); }
.stats.has-featured li:nth-child(5) strong { color: var(--accent); }
.stats li.stat-featured {
  background: var(--sun); color: var(--sun-ink); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: center; transform: rotate(-1.2deg);
}
.stats li.stat-featured strong { color: var(--sun-ink); font-size: clamp(44px, 5.4vw, 68px); }
.stats li.stat-featured span { color: var(--sun-ink); font-weight: 700; font-size: 16px; }

/* ---------- tape ---------- */
.tape {
  overflow: hidden; background: var(--sun); color: var(--sun-ink);
  border-block: 2px solid var(--edge); transform: rotate(-1.2deg); margin: 8px -24px 0;
}
.tape-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.tape span { font-family: var(--display); font-weight: 700; font-size: 15px; padding: 14px 22px; white-space: nowrap; text-transform: uppercase; letter-spacing: .02em; }
.tape span::after { content: "■"; margin-left: 44px; font-size: 10px; vertical-align: 3px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px) 0; }
.section-head { margin-bottom: 36px; max-width: 760px; }
.kicker { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
h2 { font-family: var(--display); font-size: clamp(32px, 5vw, 60px); font-weight: 900; letter-spacing: -0.025em; line-height: 1.02; margin: 0; text-wrap: balance; }
.section-sub { color: var(--ink-2); margin: 14px 0 0; max-width: 55ch; }

/* channels */
.channels {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 420px;
  background: var(--surface); border: 2px solid var(--edge); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.channel-list { background: var(--surface-2); border-right: 2px solid var(--edge); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; }
.cat { font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 16px 8px 6px; }
.cat:first-child { margin-top: 0; }
.channel-list button {
  all: unset; cursor: pointer; display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 14px; color: var(--ink-2);
  padding: 8px 10px; border-radius: 8px; border: 2px solid transparent; transition: background .12s, color .12s;
}
.channel-list button:hover { background: var(--surface); color: var(--ink); }
.channel-list button[aria-selected="true"] { background: var(--surface); color: var(--ink); border-color: var(--edge); font-weight: 600; }
.channel-list button[aria-selected="true"] .hash { color: var(--accent); }
.channel-list button:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 1px; }
.hash { color: var(--ink-3); font-weight: 600; }
.channel-panel { display: flex; flex-direction: column; min-width: 0; }
.panel-head { font-size: 15px; font-weight: 600; padding: 16px 24px; border-bottom: 2px solid var(--edge); display: flex; gap: 8px; }
.panel-msgs { padding: 24px; display: flex; flex-direction: column; gap: 22px; flex: 1; }
.panel-input {
  margin: 0 24px 22px; padding: 12px 16px; border-radius: 10px; background: var(--surface-2);
  border: 2px solid color-mix(in srgb, var(--ink) 14%, transparent); color: var(--ink-3); font-size: 14px;
}
.msg { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; animation: msgIn .35s cubic-bezier(.2,.8,.2,1) both; }
.msg:nth-child(2) { animation-delay: .07s; }
.msg img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; background: var(--surface-2); border: 2px solid var(--edge); }
.msg-meta { font-size: 15px; }
.msg-meta strong { font-weight: 700; margin-right: 8px; }
.msg-meta time { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.msg p { margin: 2px 0 0; color: var(--ink-2); max-width: 70ch; }
.msg ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.msg li { font-family: var(--mono); font-size: 12px; font-weight: 500; background: var(--surface); border: 2px solid var(--edge); padding: 3px 9px; border-radius: 6px; }
.msg li:nth-child(4n+1) { background: var(--sun); color: var(--sun-ink); }
@keyframes msgIn { from { opacity: .001; transform: translateY(8px); } }

/* servers */
.servers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.server {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 28px; align-items: start;
  background: var(--surface); border: 2px solid var(--edge); border-radius: 16px; box-shadow: var(--shadow);
  padding: 26px 28px;
}
.server-main { min-width: 0; }
.server-n { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .08em; }
.server h3 { font-family: var(--display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; margin: 6px 0 12px; line-height: 1.15; overflow-wrap: anywhere; }
.server h3 a { text-decoration: none; }
.server h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.server-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.server-tags span { font-family: var(--mono); font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 6px; border: 2px solid var(--edge); background: var(--surface-2); }
.server-tags span:first-child { background: var(--cobalt); color: #fff; }
.server-detail { min-width: 0; }
.server-detail ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); font-size: 15px; }
.server-detail li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 10px; }
.server-detail li::before { content: ""; width: 9px; height: 9px; margin-top: 8px; border-radius: 2px; background: var(--accent); }
.server-members {
  text-align: center; background: var(--sun); color: var(--sun-ink); border: 2px solid var(--edge);
  border-radius: 12px; padding: 14px 18px; min-width: 130px;
}
.server-members strong { display: block; font-family: var(--display); font-size: 30px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.server-members span { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sample-badge { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--accent); border: 2px dashed var(--accent); border-radius: 6px; padding: 2px 8px; margin-bottom: 8px; }
.servers-empty { padding: 32px; color: var(--ink-2); font-family: var(--mono); font-size: 14px; background: var(--surface); border: 2px dashed var(--edge); border-radius: 16px; }

/* reviews */
.reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; align-items: start; }
.review {
  display: flex; flex-direction: column; gap: 16px; min-width: 0;
  background: var(--surface); border: 2px solid var(--edge); border-radius: 16px; box-shadow: var(--shadow);
  padding: 24px; transform: rotate(var(--tilt, 0deg)); transition: transform .2s ease;
}
.review:hover { transform: rotate(0deg) translateY(-3px); }
.review-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.review-meta { display: flex; flex-direction: column; min-width: 0; }
.review-meta strong { font-size: 17px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.review-name { text-decoration: none; }
.review-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.review-meta span { font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
.review-via {
  align-self: start; display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: #fff; background: #5865f2; border: 2px solid var(--edge); border-radius: 99px; padding: 3px 9px;
}
.review-stars { display: flex; gap: 3px; font-size: 22px; line-height: 1; color: color-mix(in srgb, var(--ink) 18%, transparent); }
.review-stars .on { color: #f5b301; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; }
.review-avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--edge); }
.review-initials { display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 14px; background: var(--cobalt); color: #fff; }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.steps li {
  background: var(--surface); border: 2px solid var(--edge); border-radius: 16px; box-shadow: var(--shadow);
  padding: 22px 22px 26px; position: relative; min-width: 0;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 34px; right: -20px; width: 22px; height: 2px; background: var(--edge);
}
.step-n { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--bg); padding: 3px 9px; border-radius: 6px; }
.steps h3 { font-family: var(--display); font-size: 22px; font-weight: 700; margin: 16px 0 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* contact */
.contact {
  background: var(--accent); color: var(--accent-ink); border: 2px solid var(--edge); border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: clamp(32px, 6vw, 72px);
  background-image: radial-gradient(rgba(255,255,255,.16) 3px, transparent 3.5px); background-size: 26px 26px;
}
.contact .kicker { color: var(--accent-ink); opacity: .85; }
.contact-big { font-size: clamp(34px, 6vw, 76px); max-width: 16ch; }
.contact-sub { font-size: 18px; max-width: 52ch; margin: 18px 0 0; opacity: .95; }
.contact-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; }
.contact .btn-dark { background: #14161f; color: #fff; }
.contact-handle { font-size: 14px; background: rgba(0,0,0,.18); padding: 8px 12px; border-radius: 8px; overflow-wrap: anywhere; }
.extra-links { list-style: none; padding: 0; margin: 24px 0 0; display: flex; gap: 18px; flex-wrap: wrap; }
.extra-links:empty { display: none; }
.extra-links a { font-weight: 700; text-underline-offset: 4px; }

.footer { margin-top: clamp(72px, 10vw, 120px); border-top: 2px solid var(--edge); background: var(--surface); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; font-size: 12px; color: var(--ink-3); }

/* load reveal: visible at rest, rises in */
.reveal { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d, 0) * 80ms); }
@keyframes rise { from { opacity: .001; transform: translateY(14px); } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .player { max-width: 440px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li::after { display: none; }
  .stats.has-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats.has-featured li.stat-featured { grid-column: 1 / -1; grid-row: auto; transform: none; }
  .server { grid-template-columns: minmax(0, 1fr) auto; }
  .server-detail { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar nav a:not(.nav-cta) { display: none; }
  .stats, .stats.has-featured { grid-template-columns: minmax(0, 1fr); }
  .channels { grid-template-columns: minmax(0, 1fr); }
  .channel-list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 2px solid var(--edge); padding: 10px; }
  .channel-list .cat { display: none; }
  .channel-list button { white-space: nowrap; }
  .panel-msgs { padding: 18px; }
  .panel-input { margin: 0 18px 18px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .server { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 18px; }
  .server-detail { grid-row: auto; }
  .server-members { display: flex; align-items: baseline; gap: 10px; text-align: left; justify-self: start; min-width: 0; }
  .server-members strong { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ================= "Current." monochrome glow theme ================= */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(1000px 520px at 50% -8%, rgba(255,255,255,.07), transparent 70%),
    radial-gradient(var(--stud) 1.4px, transparent 1.8px);
  background-size: auto, 28px 28px;
}
main, .footer, .topbar { position: relative; z-index: 1; }

/* ゴゴゴ drifting down both edges, like the Current. intro */
.menace { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.menace-col { position: absolute; top: 0; display: flex; flex-direction: column; gap: 4vh; animation: menace-drift 22s linear infinite; }
.menace-col.left { left: -1.5vw; }
.menace-col.right { right: -1.5vw; animation-duration: 26s; animation-direction: reverse; }
.menace-col span {
  font-family: "Dela Gothic One", var(--display); font-size: clamp(54px, 7vw, 110px); line-height: 1;
  color: #ececec; -webkit-text-stroke: 3px #3a3a3a; paint-order: stroke fill;
  text-shadow: 0 0 14px rgba(255,255,255,.55), 0 0 2px #fff;
  transform: rotate(-14deg) skewX(-8deg); opacity: .5;
}
.menace-col span:nth-child(odd) { margin-left: 2.5vw; }
.menace-col.right span { transform: rotate(14deg) skewX(8deg); }
@keyframes menace-drift { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@media (max-width: 980px) { .menace-col span { opacity: .22; font-size: 64px; } }

/* type: gothic display with a white glow */
.h1-name, h2, .h1-role, .player-id strong, .server h3, .steps h3, .stats strong, .server-members strong, .brand {
  font-family: var(--display); letter-spacing: 0;
}
.h1-name { font-weight: 800; font-size: clamp(64px, 11vw, 150px); line-height: .9; text-shadow: var(--glow), 0 0 2px #fff; }
.h1-role { font-weight: 500; font-size: clamp(28px, 3.6vw, 46px); color: var(--ink-2); }
.h1-role mark { background: #fff; color: #050505; box-shadow: 0 0 22px rgba(255,255,255,.5); padding: 0 .22em; }
h2 { font-weight: 800; font-size: clamp(42px, 6vw, 80px); line-height: 1; text-shadow: var(--glow); }
.brand { font-size: 22px; font-weight: 700; text-shadow: 0 0 10px rgba(255,255,255,.4); }
.kicker { color: var(--ink-3); }
.server h3 { font-size: clamp(26px, 3vw, 36px); }
.steps h3 { font-size: 30px; }
.player-id strong { font-size: 30px; }
.stats strong { font-weight: 800; text-shadow: 0 0 14px rgba(255,255,255,.35); }
.stats li:nth-child(n) strong { color: var(--ink); }
.stats.has-featured li:nth-child(n+2) strong { color: var(--ink); }

/* surfaces: thin white edges and soft glow instead of hard offset shadows */
.topbar { background: rgba(5,5,5,.78); border-bottom: 1px solid var(--edge); }
.player, .stats li, .channels, .server, .steps li, .review, .chip, .act, .custom-status, .copy, .btn-plain {
  border-width: 1.5px; border-color: var(--edge);
}
.player, .channels { box-shadow: var(--shadow-lg); }
.player-banner { --banner: #1a1a1d; border-bottom: 1.5px solid var(--edge); }
.btn, .copy, .topbar nav .nav-cta { box-shadow: none; border-width: 1.5px; }
.btn:hover, .topbar nav .nav-cta:hover, .copy:hover { transform: translateY(-2px); box-shadow: 0 0 24px rgba(255,255,255,.35); }
.btn:active, .copy:active { transform: translateY(1px); box-shadow: none; }
.btn-primary, .topbar nav .nav-cta { background: #fff; color: #050505; border-color: #fff; }
.btn-plain { background: transparent; color: var(--ink); }
.btn-dark, .contact .btn-dark { background: #fff; color: #050505; border-color: #fff; }

/* featured stat: white slab with a halo */
.stats li.stat-featured { background: #fff; color: #050505; border-color: #fff; box-shadow: 0 0 46px rgba(255,255,255,.28); }
.stats li.stat-featured strong { color: #050505; text-shadow: none; font-size: clamp(60px, 7vw, 96px); }
.stats li.stat-featured span { color: #050505; }

/* tape: white strip, black gothic caps */
.tape { background: #fff; color: #050505; border-block: 0; box-shadow: 0 0 40px rgba(255,255,255,.25); }
.tape span { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: .02em; }

/* chips and labels */
.server-tags span { border-width: 1.5px; border-color: var(--edge); }
.server-tags span:first-child { background: #fff; color: #050505; border-color: #fff; }
.server-members { background: #fff; color: #050505; border: 0; box-shadow: 0 0 30px rgba(255,255,255,.25); }
.server-detail li::before { background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.7); }
.msg li { border-width: 1.5px; border-color: var(--edge); }
.msg li:nth-child(4n+1) { background: #fff; color: #050505; }
.channel-list button[aria-selected="true"] { border-color: var(--edge); }
.channel-list button[aria-selected="true"] .hash { color: #fff; text-shadow: 0 0 8px #fff; }
.step-n { background: #fff; color: #050505; }
.steps li:not(:last-child)::after { background: var(--edge); }
.review-initials { background: #fff; color: #050505; }
.review-stars .on { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.6); }
.chip-dot { background: #fff; box-shadow: 0 0 8px #fff; }
.pill { border-width: 1px; }

/* contact: black stage with a glowing frame */
.contact {
  background: #000; color: var(--ink); border: 1.5px solid rgba(255,255,255,.35);
  box-shadow: 0 0 60px rgba(255,255,255,.12), inset 0 0 80px rgba(255,255,255,.04);
  background-image: radial-gradient(600px 300px at 80% 0%, rgba(255,255,255,.08), transparent 70%);
}
.contact .kicker { color: var(--ink-3); opacity: 1; }
.contact-handle { background: rgba(255,255,255,.08); }
.pay-note-contact { color: var(--ink); }
.footer { background: #000; border-top: 1px solid var(--edge); }

/* TikTok embeds */
.tiktoks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.tiktok { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tiktok iframe {
  width: 100%; aspect-ratio: 9 / 16.6; max-width: 100%; border: 1.5px solid var(--edge); border-radius: 14px;
  background: #000; box-shadow: var(--shadow-lg);
}
.tiktok figcaption { font-size: 13px; color: var(--ink-2); text-align: center; }
.tiktok-more { margin-top: 26px; }
@media (max-width: 860px) {
  .tiktoks { grid-template-columns: minmax(0, 1fr); max-width: 360px; margin: 0 auto; }
}

/* ================= interactive layer ================= */
.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; }

/* TikTok: fill a clean 9:16 frame */
.tiktok iframe { aspect-ratio: 9 / 16; height: auto; display: block; overflow: hidden; }

/* scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: #fff; box-shadow: 0 0 12px #fff; transform-origin: 0 50%; transform: scaleX(0); }

/* cursor spotlight */
.spotlight {
  position: fixed; left: -260px; top: -260px; width: 520px; height: 520px; border-radius: 50%;
  pointer-events: none; z-index: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle, rgba(255,255,255,.09), rgba(255,255,255,.03) 40%, transparent 70%);
}
.spotlight.on { opacity: 1; }

/* moving glare on tilt cards */
.has-glare { position: relative; transition: transform .25s ease-out; will-change: transform; }
.has-glare::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.13), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.has-glare:hover::before { opacity: 1; }
.player.has-glare { overflow: hidden; }

/* rise when scrolled into view (things are visible at rest) */
.rise-in { animation: rise-in .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--rise-delay, 0ms); }
@keyframes rise-in { from { opacity: .15; transform: translateY(28px); filter: blur(4px); } }

/* hero word: steady width while it scrambles */
.h1-role mark { display: inline-block; min-width: 4.6ch; text-align: center; font-variant-ligatures: none; }
.h1-name { cursor: default; }

/* click bursts */
.go-burst {
  position: fixed; z-index: 70; pointer-events: none; font-family: "Dela Gothic One", var(--display);
  font-size: calc(38px * var(--s, 1)); color: #fff; -webkit-text-stroke: 2px #333; paint-order: stroke fill;
  text-shadow: 0 0 12px rgba(255,255,255,.8); translate: -50% -50%;
  animation: go-burst .9s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes go-burst {
  from { transform: translate(0, 0) rotate(0) scale(.4); opacity: 1; }
  to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(1); opacity: 0; }
}

/* nav "/" button */
.nav-cmd {
  font-size: 16px; font-weight: 600; width: 38px; height: 38px; display: inline-grid; place-items: center;
  color: var(--ink); background: transparent; border: 1.5px solid var(--edge); border-radius: 9px; cursor: pointer;
  transition: box-shadow .2s, border-color .2s; margin-left: 4px;
}
.nav-cmd:hover { border-color: #fff; box-shadow: 0 0 16px rgba(255,255,255,.35); }

/* command menu */
.cmd { position: fixed; inset: 0; z-index: 80; display: grid; place-items: start center; padding: 14vh 16px 0; }
.cmd-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); }
.cmd-box {
  position: relative; width: min(560px, 100%); background: #0c0c0d; border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 14px; box-shadow: 0 0 60px rgba(255,255,255,.12); overflow: hidden; animation: cmd-in .18s ease-out;
}
@keyframes cmd-in { from { transform: translateY(-8px) scale(.98); opacity: 0; } }
.cmd-input-row { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--edge); }
.cmd-slash { font-size: 20px; font-weight: 600; color: #fff; text-shadow: 0 0 10px #fff; }
.cmd-input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ink); font-size: 16px; }
.cmd-input-row kbd { font-size: 11px; color: var(--ink-3); border: 1px solid var(--edge); border-radius: 5px; padding: 2px 6px; }
.cmd-list { list-style: none; margin: 0; padding: 8px; max-height: 50vh; overflow-y: auto; }
.cmd-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 9px; cursor: pointer; }
.cmd-list li[aria-selected="true"] { background: #fff; color: #050505; }
.cmd-list li[aria-selected="true"] .cmd-hint { color: #333; }
.cmd-name { font-weight: 600; font-size: 14px; }
.cmd-hint { font-size: 13px; color: var(--ink-3); text-align: right; }
.cmd-empty { color: var(--ink-3); cursor: default; }
.cmd-foot { margin: 0; padding: 10px 16px; border-top: 1px solid var(--edge); font-size: 11px; color: var(--ink-3); }

/* AutoMod playground */
.automod {
  background: var(--surface); border: 1.5px solid var(--edge); border-radius: 18px; box-shadow: var(--shadow-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.automod.shake { animation: am-shake .4s; }
@keyframes am-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.am-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--edge); font-size: 14px; font-weight: 600; }
.am-score { font-size: 12px; color: var(--ink-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.am-feed { height: 300px; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.am-sys { font-size: 12px; color: var(--ink-3); border: 1px dashed var(--edge); border-radius: 10px; padding: 10px 12px; }
.am-msg { padding: 10px 12px; border-radius: 10px; animation: msgIn .3s ease-out both; }
.am-meta { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.am-meta time { font-size: 11px; color: var(--ink-3); }
.am-msg p { margin: 2px 0 0; overflow-wrap: anywhere; }
.am-msg.blocked { background: rgba(242,63,67,.08); border: 1px solid rgba(242,63,67,.45); }
.am-msg.blocked p { text-decoration: line-through; color: var(--ink-3); }
.am-note { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 600; color: #ff6b6e; }
.am-msg.passed { border: 1px solid var(--edge); }
.am-msg.bot { background: rgba(255,255,255,.05); }
.am-msg.bot strong { color: #fff; text-shadow: 0 0 8px rgba(255,255,255,.6); }
.am-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 20px 0; font-size: 12px; color: var(--ink-3); }
.am-try button {
  font: 600 12px var(--mono); color: var(--ink); background: var(--surface-2); border: 1px solid var(--edge);
  border-radius: 99px; padding: 5px 11px; cursor: pointer; transition: background .15s, color .15s;
}
.am-try button:hover { background: #fff; color: #050505; }
.am-form { display: flex; gap: 10px; padding: 14px 20px 20px; }
.am-input {
  flex: 1; min-width: 0; font: 16px var(--body); color: var(--ink); background: var(--surface-2);
  border: 1.5px solid var(--edge); border-radius: 10px; padding: 12px 14px; outline: 0;
}
.am-input:focus { border-color: #fff; box-shadow: 0 0 16px rgba(255,255,255,.2); }
.am-send { padding: 12px 20px; }

@media (max-width: 720px) {
  .nav-cmd { display: none; }
  .am-feed { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .spotlight, .go-burst { display: none; }
}

/* ================= katana cursor ================= */
html.katana-on, html.katana-on body, html.katana-on a, html.katana-on button, html.katana-on [role=tab], html.katana-on label, html.katana-on .cmd-list li { cursor: none; }
html.katana-on input, html.katana-on textarea { cursor: text; }
.katana {
  position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; width: 0; height: 0;
  opacity: 0; transition: opacity .15s;
}
.katana.show { opacity: 1; }
.katana.hidden-over-text { opacity: 0; }
/* The tip of the blade (viewBox x≈0.6, y≈10.6) sits on the pointer; the sword pivots around it. */
.katana-svg {
  position: absolute; left: -1px; top: -11px; width: 120px; height: 18px; overflow: visible;
  transform-origin: 1px 11px; transform: rotate(45deg);
  filter: drop-shadow(0 0 2px rgba(255,255,255,.65)) drop-shadow(0 0 9px rgba(255,255,255,.22)) drop-shadow(1px 3px 2px rgba(0,0,0,.85));
  transition: filter .2s;
}
.katana.ready .katana-svg { filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 14px rgba(255,255,255,.5)) drop-shadow(1px 3px 2px rgba(0,0,0,.85)); }

/* sheathed by default: the saya covers the blade */
.kt-saya { transition: transform .2s cubic-bezier(.3,.7,.2,1), opacity .2s; }
.katana.drawn .kt-saya { transform: translateX(-58px); opacity: 0; transition: transform .16s cubic-bezier(.5,0,.8,.4), opacity .14s .04s; }
/* a gleam runs down the blade right after it's drawn */
.kt-gleam { fill: #fff; }
.katana.gleam .kt-gleam { animation: kt-gleam .45s .08s ease-out; }
@keyframes kt-gleam {
  0% { transform: translateX(90px) skewX(-30deg); opacity: 0; }
  20% { opacity: .9; }
  100% { transform: translateX(0) skewX(-30deg); opacity: 0; }
}

.slash-cut {
  position: fixed; z-index: 99; pointer-events: none; width: 300px; height: 60px;
  translate: -50% -50%; transform: rotate(var(--a)) scaleX(0); transform-origin: 50% 50%;
  filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 18px rgba(255,255,255,.8));
  animation: slash-cut .38s cubic-bezier(.15,.85,.3,1) forwards;
}
.slash-cut svg { display: block; width: 100%; height: 100%; }
@keyframes slash-cut {
  0% { transform: rotate(var(--a)) scaleX(0) scaleY(.6); opacity: 1; }
  35% { transform: rotate(var(--a)) scaleX(1) scaleY(1); opacity: 1; }
  100% { transform: rotate(var(--a)) scaleX(1.15) scaleY(.15); opacity: 0; }
}
.slash-spark {
  position: fixed; z-index: 99; pointer-events: none; width: 14px; height: 2px; border-radius: 2px;
  background: #fff; box-shadow: 0 0 6px #fff; translate: -50% -50%;
  animation: slash-spark .45s ease-out forwards;
}
@keyframes slash-spark {
  from { transform: translate(0, 0) rotate(var(--sa)) scaleX(1.4); opacity: 1; }
  to { transform: translate(var(--dx), var(--dy)) rotate(var(--sa)) scaleX(.2); opacity: 0; }
}
.slash-flash { position: fixed; inset: 0; z-index: 98; pointer-events: none; background: #fff; opacity: 0; }
.slash-flash.go { animation: slash-flash .22s ease-out; }
@keyframes slash-flash { 0% { opacity: .13; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .slash-cut, .slash-spark, .slash-flash { display: none; }
}

/* AutoMod: removed messages, timeouts */
.am-msg.removed p { text-decoration: none; font-style: italic; color: var(--ink-3); }
.automod.timed-out .am-input { border-color: rgba(242,63,67,.6); color: var(--ink-3); }
.automod.timed-out .am-input::placeholder { color: #ff6b6e; }
.am-input:disabled, .am-send:disabled, .am-try button:disabled { cursor: not-allowed; opacity: .55; }
.am-send:disabled:hover { transform: none; box-shadow: none; }

/* ================= live Discord invite header on each server card ================= */
.server { overflow: hidden; }
.server-banner {
  grid-column: 1 / -1; position: relative; margin: -26px -28px 4px; min-height: 168px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 16px;
  padding: 20px 28px; background: #0b0b0d linear-gradient(135deg, #1b1b1f, #050505);
  border-bottom: 1px solid var(--edge);
}
.server-banner.has-art { background: #0b0b0d var(--server-art) center / cover no-repeat; }
.server-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(5,5,5,.96) 8%, rgba(5,5,5,.55) 55%, rgba(5,5,5,.15));
}
.server-banner > * { position: relative; z-index: 1; }
.server-icon {
  width: 76px; height: 76px; border-radius: 24px; overflow: hidden; display: grid; place-items: center;
  background: #fff; color: #050505; font: 800 32px var(--display);
  border: 3px solid #050505; box-shadow: 0 0 0 1.5px rgba(255,255,255,.35), 0 0 26px rgba(255,255,255,.25);
}
.server-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.server-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-bottom: 4px; }
.server-name { font: 800 clamp(26px, 3vw, 36px)/1.05 var(--display); color: #fff; text-shadow: 0 0 16px rgba(255,255,255,.45); overflow-wrap: anywhere; }
.server-live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.server-live .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--offline); flex: none; }
.server-live .dot.online { background: var(--online); box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: live-pulse 2s infinite; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.server-desc { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); max-width: 52ch; }
.server-join {
  align-self: end; margin-bottom: 4px; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 10px 22px; border-radius: 10px; background: var(--online); color: #04130a; border: 0;
  box-shadow: 0 0 20px rgba(61,220,132,.35); transition: transform .15s, box-shadow .15s;
}
.server-join:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(61,220,132,.6); }
@media (max-width: 980px) {
  .server .server-detail { grid-row: 3; }
}
@media (max-width: 720px) {
  .server-banner { margin: -22px -22px 4px; padding: 18px 22px; grid-template-columns: auto minmax(0, 1fr); min-height: 150px; }
  .server-join { grid-column: 1 / -1; justify-self: start; }
  .server-icon { width: 62px; height: 62px; border-radius: 20px; }
  .server .server-detail { grid-row: auto; }
}

/* Gun's titles next to the hero chip */
.hero-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 22px; }
.hero-chips .chip { margin: 0; }
.hero-titles { display: contents; }
.title-badge {
  display: inline-flex; align-items: center; gap: 8px; font: 700 13px var(--mono); letter-spacing: .02em;
  background: #fff; color: #050505; border-radius: 99px; padding: 7px 14px; box-shadow: 0 0 22px rgba(255,255,255,.3);
}
.title-badge::before { content: "\2726"; font-size: 12px; }

/* Shoujen tag next to each reviewer's name */
.review-tag {
  display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; vertical-align: 2px;
  font: 700 11px var(--body); color: var(--ink); background: rgba(255,255,255,.08);
  border: 1px solid var(--edge); border-radius: 6px; padding: 2px 6px; white-space: nowrap;
}
.review-tag img { width: 14px; height: 14px; border-radius: 4px; }

/* ================= katana scrollbar =================
   Fixed to the right edge on wide screens with a mouse. The saya slides down off the
   blade as the page scrolls: sheathed at the top, fully drawn at the bottom. */
html.kscroll-on { scrollbar-width: none; }
html.kscroll-on::-webkit-scrollbar, html.kscroll-on body::-webkit-scrollbar { width: 0; height: 0; display: none; }
html.kscroll-on body { padding-right: 44px; }
html.kscroll-on .scroll-progress { display: none; }

.kscroll {
  position: fixed; z-index: 55; right: 8px; top: calc(78px + env(safe-area-inset-top, 0px)); bottom: 18px; width: 30px;
  display: flex; flex-direction: column; align-items: center; outline: none; touch-action: none;
  filter: drop-shadow(0 0 3px rgba(255,255,255,.25)) drop-shadow(1px 3px 3px rgba(0,0,0,.9));
  transition: filter .25s;
}
.kscroll:hover, .kscroll.dragging, .kscroll:focus-visible {
  filter: drop-shadow(0 0 6px rgba(255,255,255,.55)) drop-shadow(0 0 18px rgba(255,255,255,.18)) drop-shadow(1px 3px 3px rgba(0,0,0,.9));
}
.kscroll:focus-visible .ks-tsuba { outline: 2px solid #fff; outline-offset: 3px; }

.ks-kashira { width: 16px; height: 7px; border-radius: 6px 6px 2px 2px; background: #141416; border: 1px solid #c9a85c; flex: none; }
.ks-tsuka {
  width: 14px; height: 78px; flex: none; border-left: 1px solid #000; border-right: 1px solid #000;
  background-color: #0b0b0c;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath d='M7 1.2 L11.2 5 L7 8.8 L2.8 5 Z' fill='%23efe9da'/%3E%3Cpath d='M0 0 L7 5 L0 10 M14 0 L7 5 L14 10' stroke='%231d1d20' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-size: 14px 10px; background-repeat: repeat-y;
  box-shadow: inset 2px 0 2px rgba(255,255,255,.15);
}
.ks-fuchi { width: 15px; height: 5px; flex: none; background: linear-gradient(90deg, #8a6a2c, #f3e3b3 45%, #c9a85c); }
.ks-tsuba {
  width: 28px; height: 9px; flex: none; border-radius: 50%; background: radial-gradient(ellipse at 50% 30%, #2a2a2e, #050506 70%);
  border: 1.5px solid #c9a85c; margin: 1px 0;
}
.ks-habaki { width: 14px; height: 7px; flex: none; background: linear-gradient(90deg, #8a6a2c, #f3e3b3 45%, #c9a85c); border-radius: 1px; }

.ks-bladebox { position: relative; flex: 1; width: 18px; display: flex; flex-direction: column; align-items: center; overflow: hidden; min-height: 60px; }
.ks-blade {
  position: relative; width: 14px; flex: 1; overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='24'%3E%3Cpath d='M9.5 0 Q 12.5 6 9.5 12 T 9.5 24' stroke='%23ffffff' stroke-width='1' fill='none' opacity='.9'/%3E%3C/svg%3E") repeat-y,
    linear-gradient(90deg, #8f939c, #f4f5f7 35%, #c7cad1 62%, #eef0f3);
  box-shadow: inset -1px 0 0 rgba(255,255,255,.8), inset 1px 0 0 rgba(0,0,0,.35);
}
.ks-tip { width: 14px; height: 26px; flex: none; display: block; }
.ks-glint {
  position: absolute; left: -4px; right: -4px; height: 70px; top: -80px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.95), transparent);
  opacity: 0;
}
.kscroll.full .ks-glint { animation: ks-glint 1.6s ease-in-out infinite; }
@keyframes ks-glint { 0% { top: -80px; opacity: 0; } 15% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.kscroll.full .ks-blade { box-shadow: inset -1px 0 0 #fff, 0 0 10px rgba(255,255,255,.7); }

.ks-saya {
  position: absolute; left: 0; right: 0; top: 0; height: 100%; will-change: transform;
  border-radius: 3px 3px 9px 9px;
  background: linear-gradient(90deg, #26262b, #0a0a0b 30%, #050506 60%, #2c2c31);
  box-shadow: inset 1.5px 0 0 rgba(255,255,255,.22), inset -1px 0 0 rgba(255,255,255,.08);
}
.ks-saya::after { /* kojiri (end cap) */
  content: ""; position: absolute; left: 1px; right: 1px; bottom: 0; height: 12px; border-radius: 2px 2px 8px 8px;
  background: linear-gradient(90deg, #3a3a40, #151517 50%, #3a3a40);
}
.ks-koiguchi { /* mouth of the saya: the part you grab */
  position: absolute; left: -1px; right: -1px; top: 0; height: 6px; border-radius: 2px;
  background: linear-gradient(90deg, #b9b2a0, #f4efe2 45%, #cfc8b5);
  box-shadow: 0 0 8px rgba(255,255,255,.5);
}
.ks-sageo { position: absolute; left: 2px; top: 12px; width: 14px; height: 30px; overflow: visible; }
.ks-label {
  position: absolute; right: 26px; top: -8px; white-space: nowrap; pointer-events: none;
  font-size: 11px; font-weight: 600; color: #050505; background: #fff; border-radius: 6px; padding: 3px 8px;
  box-shadow: 0 0 14px rgba(255,255,255,.45); opacity: 0; transform: translateX(6px); transition: opacity .15s, transform .15s;
}
/* the label hangs off the saya, which clips: let it show outside */
.ks-bladebox:has(.ks-label) { overflow: visible; clip-path: inset(0 -220px 0 -220px); }
.kscroll:hover .ks-label, .kscroll.dragging .ks-label, .kscroll:focus-visible .ks-label { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .kscroll.full .ks-glint { animation: none; } }
