/* MineMC Reports - the look of the player report page (www.minemc.co/report).
   A calm help desk, on purpose completely different from the vote page's mine (REPORTS.md section 2):
   dark background, plain Inter text, rounded-square cards with a 1px border, lots of space.
   MineMC touches only: the owner's logo (shown as-is, pixelated, never recoloured), the page title in Silkscreen 700,
   grass green main buttons, torch gold highlights, emerald for success, red for errors.

   Part 1 (BASE) is shared: the staff page may <link> this file read-only and use these classes.
     tokens (:root), body, .top (top bar), .wrap, .card / .card-pad, .h1 .h2 .h3 .lead .muted .small,
     .btn + .btn-grass / -stone / -gold / -discord / -quiet / -big / -sm / -block, .input / .area, .label, .field,
     .msg (+ .bad .ok .muted), .chip (+ .chip-open / -answered / -closed), .dot, .head, .tabs / .tab,
     .thumbs, .talk / .say (+ -player / -staff / -note / -system), .progress, .big (photo shown big), .foot, .flash
   Part 2 is only for the player page.
   Silkscreen is a pixel font drawn on an 8-unit grid: use it only at 16, 24 or 32 px so its pixels stay square. */

/* ================================================================ PART 1: BASE (shared) ================ */
:root {
  color-scheme: dark;
  --bg: #121112;          /* page */
  --panel: #1b1a1b;       /* cards */
  --panel-2: #232122;     /* boxes inside cards, hover */
  --field: #141314;       /* text boxes */
  --line: #2d2a2b;        /* card borders */
  --line-2: #3a3637;      /* field borders */
  --text: #eeeae8;
  --muted: #a8a19e;       /* stone grey text */
  --grass: #70b309;       /* main buttons */
  --grass-dark: #529205;
  --grass-hover: #7cc40c;
  --gold: #dec139;        /* highlights, Open */
  --emerald: #18d978;     /* success, Staff replied */
  --red: #e5484d;         /* errors */
  --stone: #2e2b2c;       /* secondary buttons */
  --stone-hover: #3d3839;
  --discord: #5865f2;
  --discord-hover: #4752c4;
  --radius: 14px;
  --radius-sm: 10px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--gold); }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 60;
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--gold); color: #1a1606; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 8px; }

/* ---- top bar ---- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(18, 17, 18, 0.94);
  border-bottom: 1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .top { background: rgba(18, 17, 18, 0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
.top-in {
  max-width: 880px; margin: 0 auto; padding: 0 var(--gutter);
  height: 64px; display: flex; align-items: center; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 44px; color: var(--text); text-decoration: none; }
.brand-logo { width: 40px; height: 40px; image-rendering: pixelated; flex: none; }
.brand-name {
  font: 700 24px/1 Silkscreen, Inter, sans-serif; letter-spacing: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.top-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none; border-radius: var(--radius-sm);
}
.top-link:hover { color: var(--text); background: var(--panel-2); }

/* ---- layout ---- */
.wrap { flex: 1 0 auto; width: 100%; max-width: 880px; margin: 0 auto; padding: 28px var(--gutter) 40px; }
.wrap:focus { outline: none; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 28px; }
.center { text-align: center; }
.row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.center-row { justify-content: center; }

/* ---- text ---- */
.h1 { margin: 0 0 6px; font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.h1.h1-hero { font-size: 36px; }   /* not ".big": that is the photo view */
.h2 { margin: 0 0 6px; font-size: 19px; font-weight: 700; }
.h3 { margin: 22px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.lead { margin: 0 0 18px; font-size: 18px; color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.strong { font-weight: 700; }
p { margin: 0 0 10px; }
.ok-text { color: var(--emerald); }

/* ---- buttons (every one at least 44 px tall) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15px; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s, border-color 0.15s, transform 0.05s;
}
.btn:active { transform: translateY(1px); }
.btn-grass { background: var(--grass); color: #111a04; box-shadow: inset 0 -3px 0 var(--grass-dark); }
.btn-grass:hover { background: var(--grass-hover); }
.btn-stone { background: var(--stone); color: var(--text); border-color: var(--line-2); }
.btn-stone:hover { background: var(--stone-hover); }
.btn-gold { background: var(--gold); color: #1a1606; }
.btn-gold:hover { background: #e8cd4f; }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { background: var(--discord-hover); }
.btn-quiet { background: transparent; color: var(--gold); padding-left: 4px; padding-right: 4px; }
.btn-quiet:hover { text-decoration: underline; }
.btn-big { min-height: 52px; padding: 14px 28px; font-size: 17px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: progress; transform: none; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ---- fields ---- */
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.label { display: block; margin: 0 0 8px; padding: 0; font-weight: 700; font-size: 15px; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.label-row .label { margin-bottom: 2px; }
.input {
  display: block; width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--field); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  font-size: 16px; /* 16 px: phones don't zoom in */
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder { color: #77706d; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(222, 193, 57, 0.18); }
.input.bad { border-color: var(--red); }
.input.ok { border-color: rgba(24, 217, 120, 0.6); }
.area { min-height: 120px; resize: vertical; line-height: 1.5; }
.count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.count.full { color: var(--red); }
.field > .count { margin: 6px 0 0; text-align: right; }

/* ---- status lines ---- */
.msg { margin: 8px 0 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.msg:empty { display: none; }
.msg.bad { color: var(--red); }
.msg.ok { color: var(--emerald); }
.msg.muted { color: var(--muted); font-weight: 400; }
.flash {
  margin: 0 0 18px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--muted);
  font-weight: 600;
}
.flash.bad { border-left-color: var(--red); color: var(--red); }
.flash.ok { border-left-color: var(--emerald); color: var(--emerald); }

/* ---- status chips + the new-reply dot ---- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 3px 10px; border-radius: 999px; border: 1px solid;
  font-size: 13px; font-weight: 700; line-height: 1.4; white-space: nowrap;
}
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-open { color: var(--gold); background: rgba(222, 193, 57, 0.1); border-color: rgba(222, 193, 57, 0.35); }
.chip-answered { color: var(--emerald); background: rgba(24, 217, 120, 0.1); border-color: rgba(24, 217, 120, 0.35); }
.chip-closed { color: var(--muted); background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); }
.dot {
  display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px rgba(222, 193, 57, 0.22);
}

/* ---- Minecraft heads ---- */
.head {
  width: 48px; height: 48px; flex: none; border-radius: 8px;
  background: var(--panel-2); image-rendering: pixelated; object-fit: cover;
}

/* ---- tabs ---- */
.tabs {
  display: flex; gap: 4px; margin: 0 0 20px; padding: 4px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
}
.tab {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 8px 12px; border-radius: 9px;
  color: var(--muted); font-weight: 700; text-decoration: none;
}
.tab:hover { color: var(--text); }
.tab[aria-current="page"] { background: var(--stone); color: var(--text); box-shadow: inset 0 -2px 0 var(--gold); }

/* ---- photo thumbnails ---- */
.thumbs {
  list-style: none; margin: 0 0 12px; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px;
}
.thumbs:empty { display: none; }
.thumb {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--field); border: 1px solid var(--line-2);
}
.thumb-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb-x {
  position: absolute; top: 0; right: 0; width: 44px; height: 44px; padding: 0;
  display: flex; align-items: flex-start; justify-content: flex-end;
  background: none; border: 0; cursor: pointer;
}
.thumb-x span {
  margin: 6px 6px 0 0; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(18, 17, 18, 0.88); border: 1px solid var(--line-2); color: var(--text);
  font-size: 18px; line-height: 1; font-weight: 700;
}
.thumb-x:hover span { background: var(--red); border-color: var(--red); }
.thumb-wait {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 8px;
  font-size: 12px; color: var(--muted); text-align: center;
}

/* ---- the conversation ---- */
.talk { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.say {
  max-width: 86%; padding: 10px 14px; border-radius: 12px;
  background: var(--panel-2); border: 1px solid var(--line-2);
}
.say-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: 2px; font-size: 13px; }
.say-name { font-weight: 700; }
.say-time { color: var(--muted); }
.say-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.say-player { align-self: flex-end; background: rgba(112, 179, 9, 0.1); border-color: rgba(112, 179, 9, 0.35); border-bottom-right-radius: 4px; }
.say-staff { align-self: flex-start; border-left: 3px solid var(--emerald); border-bottom-left-radius: 4px; }
.say-staff .say-name { color: var(--emerald); }
.say-note { align-self: stretch; max-width: none; background: rgba(222, 193, 57, 0.07); border: 1px dashed rgba(222, 193, 57, 0.45); }
.say-note .say-name { color: var(--gold); }
.say-system {
  align-self: center; max-width: 100%; padding: 4px 12px; border: 0; background: none;
  color: var(--muted); font-size: 14px; text-align: center;
}
.say-system .say-who { justify-content: center; }

/* ---- progress bar ---- */
.progress { margin: 14px 0 0; }
.progress .bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress .bar span { display: block; height: 100%; width: 0; background: var(--grass); border-radius: 99px; transition: width 0.2s; }

/* ---- a photo shown big ---- */
.big {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column;
  background: #080808; /* solid: the sticky top bar must not show through on phones */
}
.big-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter); }
.big-count { color: var(--muted); font-weight: 600; }
.big-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter) var(--gutter); }
.big-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; background: var(--panel); }
.big-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(46, 43, 44, 0.92); border: 1px solid var(--line-2); color: var(--text);
  font-size: 32px; line-height: 1; cursor: pointer;
}
.big-nav:hover { background: var(--stone-hover); }
#big-prev { left: 12px; }
#big-next { right: 12px; }
body.big-open { overflow: hidden; }

/* ---- footer ---- */
.foot {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 24px var(--gutter) 32px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px; text-align: center;
}
.foot-logo { width: 32px; height: 32px; image-rendering: pixelated; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--muted); }
.foot a:hover { color: var(--text); }

/* ================================================================ PART 2: player page only ============= */
.loading { padding: 40px 0; text-align: center; }

/* ---- the account button + panel ---- */
.acct-btn {
  width: 44px; height: 44px; padding: 3px; border-radius: 50%;
  background: var(--panel-2); border: 1px solid var(--line-2); cursor: pointer;
}
.acct-btn[aria-expanded="true"] { border-color: var(--gold); }
.acct-img { display: block; width: 36px; height: 36px; border-radius: 50%; background: var(--stone); object-fit: cover; }
.acct {
  position: absolute; right: max(var(--gutter), calc((100vw - 880px) / 2 + var(--gutter))); top: 68px;
  width: 280px; max-width: calc(100vw - 2 * var(--gutter));
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.acct-who { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; min-width: 0; }
.acct-who .acct-img { width: 44px; height: 44px; }
.acct-names { min-width: 0; }
.acct-line { overflow-wrap: anywhere; font-size: 14px; }
.acct-line.strong { font-size: 15px; }

/* ---- logged out ---- */
.hero { text-align: center; padding-top: 40px; padding-bottom: 36px; }
.hero .lead { max-width: 520px; margin-left: auto; margin-right: auto; }
.hero .btn-discord { margin: 6px 0 12px; }
.hero .small { margin: 0; }
/* the Privacy link under the Discord button: quiet, but a full 44 px tap target */
.privacy-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; margin-top: 2px;
  color: var(--muted); font-size: 14px; font-weight: 600; text-underline-offset: 3px;
}
.privacy-link:hover { color: var(--text); }
.steps {
  list-style: none; counter-reset: step; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.step { counter-increment: step; padding: 18px; }
.step::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%;
  background: rgba(222, 193, 57, 0.12); border: 1px solid rgba(222, 193, 57, 0.4); color: var(--gold);
  font-weight: 800; font-size: 15px;
}
.step-title { margin: 0 0 4px; font-weight: 700; }
.step-line { margin: 0; color: var(--muted); font-size: 14px; }

/* ---- the link code box ---- */
.code-box {
  margin: 4px 0 6px; padding: 20px; text-align: center;
  background: var(--field); border: 1px dashed var(--line-2); border-radius: 12px;
}
.code-box .label { color: var(--muted); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.code {
  margin: 0 0 14px; color: var(--gold);
  font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: 0.18em;
  font-variant-numeric: tabular-nums; font-family: Inter, ui-monospace, monospace;
}
.code.old { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 3px; }
.code-step { margin: 0 0 8px; font-weight: 600; }
.code-row { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 8px; }
/* inline-block, not flex: a flex box would drop the space between "link" and the code */
.code-cmd {
  display: inline-block; min-height: 44px; padding: 11px 14px; white-space: pre-wrap; text-align: center;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  font: 600 17px/1.3 ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace; color: var(--text);
  overflow-wrap: anywhere;
}
.code-cmd b { color: var(--gold); font-weight: 800; }
.code-step.code-then { margin: 12px 0 0; }   /* "Then click "Click to link" in chat." under the command */
.code-box .small { margin: 10px 0 0; }

/* ---- the form ---- */
.form .h1 + .muted { margin-bottom: 24px; }
.who { display: flex; align-items: center; gap: 12px; }
.who .input { flex: 1; min-width: 0; }
.reasons {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px;
}
.reason {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  min-height: 56px; padding: 10px 14px 10px 44px; text-align: left;
  background: var(--field); border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer;
}
.reason::before {
  content: ''; position: absolute; left: 14px; top: 50%; margin-top: -10px;
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--panel);
}
.reason:hover { border-color: #5a5354; }
.reason[aria-checked="true"] { border-color: var(--gold); background: rgba(222, 193, 57, 0.08); }
.reason[aria-checked="true"]::before { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 4px var(--panel); }
.reason-name { font-weight: 700; }
.reason-line { font-size: 13px; color: var(--muted); line-height: 1.35; }
.file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.links-edit { display: flex; flex-direction: column; gap: 8px; }
.link-row { display: flex; gap: 8px; }
.link-row .input { flex: 1; min-width: 0; }
.link-x {
  flex: none; width: 48px; min-height: 48px; padding: 0;
  background: var(--stone); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  color: var(--muted); font-size: 20px; cursor: pointer;
}
.link-x:hover { color: var(--text); background: var(--stone-hover); }
.check { display: flex; justify-content: center; }
.check:empty { display: none; }
.check iframe { max-width: 100%; }
.send-row { display: flex; justify-content: center; margin-top: 8px; }
.send-row .btn { min-width: 240px; }
.shake { animation: shake 0.35s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ---- My reports ---- */
.list-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.list-head .muted { margin: 0; }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.item {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-decoration: none; transition: border-color 0.15s, background-color 0.15s;
}
.item:hover { border-color: #4a4445; background: #1f1d1e; }
.item .head { width: 44px; height: 44px; }
.item-main { flex: 1; min-width: 0; }
.item-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.item-name { font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.item-sub { margin-top: 2px; color: var(--muted); font-size: 14px; }
.item-new { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: 13px; font-weight: 700; }
.item-arrow { flex: none; color: var(--muted); font-size: 24px; line-height: 1; }

/* ---- one report ---- */
.back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: -8px 0 8px;
  color: var(--muted); font-weight: 700; text-decoration: none;
}
.back:hover { color: var(--text); }
.thread { overflow: hidden; }
.thread-top { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.thread-title { flex: 1; min-width: 0; }
.thread-title .h1 { margin: 0; overflow-wrap: anywhere; }
.thread-title .muted { margin: 2px 0 0; font-size: 14px; }
.thread-body { padding: 4px 24px 24px; }
.thread-body .h3:first-child { margin-top: 18px; }
.details {
  margin: 0; padding: 14px 16px; white-space: pre-wrap; overflow-wrap: anywhere;
  background: var(--field); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.details.none { color: var(--muted); font-style: italic; }
.links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.links a {
  display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding: 8px 12px;
  background: var(--field); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow-wrap: anywhere; word-break: break-all;
}
.empty-talk { color: var(--muted); font-size: 15px; }
.reply { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: #191819; }
.reply-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.reply-row .count { margin-right: auto; }
.closed-note { margin: 0; padding: 18px 24px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; }
.closed-note.bad { color: var(--red); font-weight: 600; }

/* ================================================================ sizes ================================= */
@media (max-width: 760px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wrap { padding-top: 20px; }
  .card-pad { padding: 20px; }
  .h1 { font-size: 22px; }
  .h1.h1-hero { font-size: 28px; }
  .lead { font-size: 17px; }
  .brand-name { font-size: 16px; }
  .brand { gap: 10px; }
  .top-link, #staff-link { display: none; }  /* phones: Vote page is in the footer, Staff page in the account panel */
  .hero { padding-top: 28px; padding-bottom: 28px; }
  .hero .btn-discord { display: flex; width: 100%; }
  .code { font-size: 36px; letter-spacing: 0.14em; }
  .code-row .btn { flex: 1 1 100%; }
  .code-cmd { flex: 1 1 100%; }
  .row .btn { flex: 1 1 auto; }
  .reasons { grid-template-columns: 1fr; }
  .send-row .btn { width: 100%; min-width: 0; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .thread-top { flex-wrap: wrap; row-gap: 8px; padding: 16px 18px; }
  .thread-title { flex: 1 1 calc(100% - 62px); }              /* the title fills the line beside the head ... */
  .thread-top #one-status { order: 3; margin-left: 62px; }    /* ... and the status sits under it (48 head + 14 gap) */
  .thread-body { padding: 0 18px 20px; }
  .reply { padding: 18px; }
  .reply-row .btn { flex: 1 1 auto; }
  .reply-row .count { flex: 1 1 100%; }
  .say { max-width: 94%; }
  .item { gap: 12px; padding: 12px 14px; }
  .list-head { flex-direction: column; }
  .list-head .btn { align-self: stretch; }
}
@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; padding: 14px 16px; }
  .step::before { grid-row: span 2; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
