/* medusa — styles. Colors live in :root. */

:root {
  --bg: #000;
  --fg: #c8c8c8;
  --hi: #f2f2f2;
  --dim: #6c6c6c;
  --line: #262626;
  --red: #e0303a;
  --red-dark: #7a141a;
  --green: #4ec94e;
  --yellow: #d6b84a;
  --mono: "JetBrains Mono", ui-monospace, Consolas, "DejaVu Sans Mono", monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font: 14px/1.55 var(--mono);
  overflow-x: hidden;
}
[hidden] { display: none !important; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
button:hover { color: var(--red); }
a { color: var(--fg); text-decoration: none; }
a:hover, a:focus-visible { color: var(--bg); background: var(--red); outline: none; }
::selection { background: var(--red); color: #000; }

/* faint scanlines */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.022) 0 1px, transparent 1px 3px);
}

.cursor { animation: blink 1s steps(1) infinite; color: var(--red); }
@keyframes blink { 50% { opacity: 0; } }
.p-user { color: var(--red); font-weight: 700; }
.dim { color: var(--dim); }
.hi { color: var(--hi); }

/* ================================================================ GATE */
.gate {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 10;
  cursor: text;
}
.term {
  height: 100%;
  overflow-y: auto;
  padding: 16px;
  color: var(--red);
  font-size: 15px;
  white-space: pre-wrap;
  word-break: break-word;
}
.term .p-user { color: var(--hi); }
.line { min-height: 1.55em; }
.line.dim { color: var(--red-dark); }
.line.ok { color: var(--green); }
.line.final { margin-top: 1em; font-weight: 700; font-size: 20px; }
.typed { color: var(--hi); }

.term-input {
  position: absolute;
  left: 0; bottom: 0;
  width: 1px; height: 1px;
  opacity: 0;
  font-size: 16px; /* stops iOS zooming on focus */
  border: 0; padding: 0;
}
.skip {
  position: absolute;
  right: 16px; bottom: 12px;
  color: #3a3a3a;
  font-size: 12px;
}

/* quick tear-and-cut transition */
.gate.glitch-out { animation: cut 0.65s steps(1) forwards; }
@keyframes cut {
  0%   { clip-path: inset(0); }
  20%  { clip-path: inset(12% 0 55% 0); transform: translateX(-10px); }
  40%  { clip-path: inset(55% 0 15% 0); transform: translateX(12px); }
  60%  { clip-path: inset(0 0 80% 0);   transform: translateX(-4px); filter: invert(1); }
  80%  { clip-path: inset(49% 0 49% 0); transform: none; filter: none; }
  100% { clip-path: inset(50% 0 50% 0); opacity: 0; }
}

/* ================================================================ SITE */
.site {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  flex-wrap: wrap;
  padding: 8px 16px;
  background: #000;
  border-bottom: 1px solid var(--line);
}
.where { color: var(--fg); white-space: nowrap; }
.where .me { color: var(--hi); font-weight: 700; }
.where .path { color: var(--dim); }

/* rank tags: visitor white, member yellow, admin red */
.rank { font-weight: 700; }
.rank-visitor { color: var(--hi); }
.rank-member  { color: var(--yellow); }
.rank-admin   { color: var(--red); }
.where:hover { background: none; color: var(--fg); }

.nav { display: flex; gap: 4px; }
.nav a { padding: 0 2px; color: var(--fg); }
.nav a::before { content: "["; color: var(--dim); }
.nav a::after  { content: "]"; color: var(--dim); }
.nav a.on { color: var(--red); }
.nav a.on::before, .nav a.on::after { color: var(--red); }
.nav a:hover, .nav a:focus-visible { background: var(--red); color: #000; }
.nav a:hover::before, .nav a:hover::after,
.nav a:focus-visible::before, .nav a:focus-visible::after { color: #000; }

.screen {
  flex: 1;
  width: 100%;
  max-width: 880px;
  padding: 20px 16px 150px; /* room for the player */
  outline: none;
}
.cmd { margin-bottom: 10px; }
.cmd + .cmd { margin-top: 14px; }
.screen > :not(.cmd) + .cmd { margin-top: 18px; }
.gap { height: 1.1em; }
.para { margin: 0 0 0.6em; max-width: 72ch; }

/* about */
.banner {
  margin: 4px 0 6px;
  color: var(--red);
  font: inherit;
  font-size: clamp(6.5px, 2.6vw, 14px);
  line-height: 1.12;
  white-space: pre;
  overflow: hidden;
}
.tagline { color: var(--hi); }

.kv { display: flex; gap: 0; max-width: 80ch; }
.kv .k { flex: none; white-space: pre; color: var(--red); }
.kv .k::after { content: " "; }
.kv .v { min-width: 0; }
.links a { color: var(--fg); }

/* members */
.ls-row { white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.rule {
  display: flex;
  align-items: center;
  max-width: 80ch;
  color: var(--hi);
  font-weight: 700;
  margin-bottom: 4px;
}
.rule::before { content: "── "; color: var(--red-dark); font-weight: 400; }
.rule::after {
  content: "";
  flex: 1;
  margin-left: 1ch;
  border-top: 1px solid var(--red-dark);
}

/* operations */
.op-row {
  display: grid;
  grid-template-columns: 3ch 8ch 12ch 12ch 1fr;
  gap: 0 1.5ch;
}
.op-head { color: var(--dim); text-transform: uppercase; border-bottom: 1px dashed var(--line); margin-bottom: 6px; padding-bottom: 2px; }
.op-desc { padding-left: calc(3ch + 1.5ch + 8ch + 1.5ch); max-width: 80ch; }

/* clickable operation rows */
.op-link { color: var(--fg); cursor: pointer; }
.op-link:hover, .op-link:focus-visible { background: #160607; color: var(--fg); outline: none; }
.op-link:hover .hi { text-decoration: underline; text-decoration-color: var(--red); }
.op-mark { color: var(--red); }
.op.open > .op-link { background: #160607; }
.op.open > .op-link .hi { color: var(--red); }

/* expanded report: pastebin-style */
.op-body { margin: 10px 0 4px; max-width: 96ch; }
.paste { border: 1px solid var(--line); background: #050505; }
.paste-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 4px 10px;
  border-bottom: 1px solid var(--line);
  background: #0d0d0d;
  font-size: 12px;
}
.paste-tools { display: flex; gap: 8px; }
.paste-body { padding: 6px 0; overflow-x: auto; }
.pl { display: flex; min-height: 1.55em; }
.pl:hover { background: #0e0e0e; }
.pl .ln {
  flex: none;
  width: 5ch;
  padding-right: 1.5ch;
  margin-right: 1.5ch;
  text-align: right;
  color: #3d3d3d;
  border-right: 1px solid #1c1c1c;
  user-select: none;
}
.pl .lt { flex: 1; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; padding-right: 10px; }
.pl.sep .lt { color: var(--red-dark); }
.pl.title .lt { color: var(--red); font-weight: 700; }
.pl.h .lt { color: var(--red); font-weight: 700; }
.pl.q .lt { color: var(--hi); font-style: italic; }
.m-ok { color: var(--green); }
.m-bad { color: var(--red); font-weight: 700; }
.m-note { color: var(--yellow); }
.m-dim { color: var(--dim); }
.st { color: var(--dim); }
.st-active   { color: var(--red); animation: dimblink 1.6s steps(1) infinite; }
@keyframes dimblink { 50% { opacity: 0.35; } }
.st-complete { color: var(--green); }
.st-planned  { color: var(--yellow); }
.st-failed   { color: var(--dim); text-decoration: line-through; }

/* status bar */
.statusbar {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  justify-content: space-between;
  align-items: center;
  padding: 4px 16px;
  background: #111;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
}
.statusbar .right { display: flex; gap: 12px; }
#relock:hover { color: var(--red); }

.err { color: var(--red); }
.warn { color: var(--yellow); }
.ok { color: var(--green); }
.nav a.nav-admin { color: var(--yellow); }

/* admin dashboard */
.admin { max-width: 80ch; }
.adm-h { margin: 18px 0 8px; font-size: inherit; color: var(--hi); }
.adm-item { margin-bottom: 14px; }
.adm-head { gap: 0; }
.adm-head::after { order: 1; }
.adm-tools { order: 2; display: flex; gap: 6px; margin-left: 1ch; font-weight: 400; }
.adm-row { align-items: baseline; margin: 2px 0; }
.adm-row .k { color: var(--red); }
.fld {
  flex: 1;
  min-width: 0;
  font: inherit;
  color: var(--hi);
  background: transparent;
  border: 0;
  border-bottom: 1px dashed #333;
  padding: 1px 0;
  border-radius: 0;
  outline: none;
  resize: vertical;
}
.fld:focus { border-bottom-color: var(--red); background: #0c0c0c; }
.fld::placeholder { color: #444; }
select.fld { background: #000; cursor: pointer; }
.btn { color: var(--fg); white-space: nowrap; }
.btn::before { content: "["; color: var(--dim); }
.btn::after  { content: "]"; color: var(--dim); }
.btn:hover { color: #000; background: var(--red); }
.btn:hover::before, .btn:hover::after { color: #000; }
.btn.danger { color: var(--red); }
.btn.add { color: var(--green); margin: 2px 0 6px; }
.btn.primary { color: var(--green); font-weight: 700; }
.adm-bar {
  position: sticky;
  bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  margin-top: 18px;
  padding: 8px 0;
  background: #000;
  border-top: 1px solid var(--line);
}

/* admin: tabs */
.adm-tabs { display: flex; gap: 8px; margin-bottom: 4px; }
.btn.tab.on { color: var(--red); }
.btn.tab.on::before, .btn.tab.on::after { color: var(--red); }

/* admin: users */
.users { max-width: none; }
.useradd { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; }
.useradd .fld { flex: 0 1 200px; }
.useradd select.fld { flex: 0 0 auto; }
.adm-msg { min-height: 1.5em; margin: 8px 0; }
.adm-msg.temp { color: var(--hi); border-left: 2px solid var(--yellow); padding-left: 10px; }
.temp-pw { color: var(--yellow); background: #111; padding: 0 6px; font: inherit; user-select: all; }
.screen[data-view="admin"] { max-width: 1280px; }
.utable-wrap { overflow-x: auto; max-width: 100%; scrollbar-color: #333 #000; }
.utable { border-collapse: collapse; white-space: nowrap; }
.utable th {
  text-align: left;
  font-weight: 400;
  color: var(--dim);
  text-transform: uppercase;
  border-bottom: 1px dashed var(--line);
  padding: 0 16px 2px 0;
}
.utable td { padding: 4px 16px 4px 0; vertical-align: baseline; }
.utable tr:not(.ulog) + tr td { border-top: 1px solid #111; }
.uact { display: flex; gap: 8px; }
.rank-sel { font-weight: 700; border-bottom: 0; }
.rank-sel.rank-member { color: var(--yellow); }
.rank-sel.rank-admin { color: var(--red); }
.rank-sel option { color: var(--fg); }
.ulog td { padding: 2px 0 10px 2ch; }
.ulog-row { display: grid; grid-template-columns: 17ch 18ch 22ch 1fr; gap: 0 1.5ch; font-size: 12px; }
.legend { margin: 10px 0 6px; font-size: 12px; }

/* music player, bottom left */
.player {
  position: fixed;
  left: 12px;
  bottom: 36px;
  z-index: 20;
  display: flex;
  gap: 10px;
  width: 280px;
  max-width: calc(100vw - 24px);
  padding: 8px;
  background: #050505;
  border: 1px solid var(--line);
  font-size: 12px;
}
.pl-cover {
  flex: none;
  width: 52px; height: 52px;
  background: #111;
  border: 1px solid var(--line);
}
.pl-cover img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(0.3); }
.pl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pl-title, .pl-artist { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-title { color: var(--hi); font-weight: 700; }
.pl-artist { color: var(--dim); }
.pl-track { height: 2px; background: #222; margin: 3px 0; cursor: pointer; box-shadow: 0 0 0 4px transparent; }
.pl-cover iframe { display: block; width: 100%; height: 100%; pointer-events: none; }
.pl-bar { height: 100%; width: 0; background: var(--red); }
.pl-ctrl { display: flex; align-items: center; gap: 6px; }
#pl-play { width: 18px; color: var(--red); font-size: 11px; font-weight: 700; }
.pl-vol-label { color: var(--dim); }
#pl-vol {
  -webkit-appearance: none; appearance: none;
  flex: 1; min-width: 40px; height: 2px;
  background: #333; accent-color: var(--red);
}
#pl-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 8px; height: 12px; background: var(--red); border: 0; }
#pl-vol::-moz-range-thumb { width: 8px; height: 12px; background: var(--red); border: 0; border-radius: 0; }
.pl-time { color: var(--dim); font-size: 11px; }
.player.spotify { padding: 0; border: 0; background: none; width: 300px; }
.player.spotify iframe { display: block; border-radius: 12px; }

/* ---- mobile */
@media (max-width: 600px) {
  body { font-size: 13px; }
  .topbar { padding: 8px 12px; }
  .where .path { display: none; }
  .utable { font-size: 12px; }
  .screen { padding: 16px 12px 32px; }
  .ls-row .dim:last-child { display: none; }
  .op-row { grid-template-columns: 3ch auto auto 1fr; gap: 0 1ch; }
  .op-row > :nth-child(3) { display: none; } /* hide date column */
  .op-desc { padding-left: 4ch; }
  .pl .ln { width: 4ch; padding-right: 1ch; margin-right: 1ch; }
  .statusbar { padding: 4px 12px; }
  .player { bottom: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* full-screen paste editor (admin) */
body.editing { overflow: hidden; }
.pedit {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
}
.pedit-text {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 12px 14px 40px;
  border: 0;
  outline: none;
  resize: none;
  background: #000;
  color: #e6e6e6;
  font: 12px/1.6 var(--mono);
  tab-size: 4;
  caret-color: var(--red);
}
.pedit-status {
  position: fixed;
  right: 14px;
  bottom: 10px;
  z-index: 101;
  color: #3d3d3d;
  font-size: 11px;
  pointer-events: none;
}
.pedit-bar {
  position: fixed;
  top: 8px;
  right: 14px;
  z-index: 101;
  display: flex;
  gap: 10px;
  padding: 2px 4px;
  background: #000;
  font-size: 12px;
}
.pedit-text { padding-right: 150px; }
@media (max-width: 600px) { .pedit-text { padding-top: 36px; padding-right: 14px; } }
.pedit-status.ok { color: var(--green); }
.pedit-status.warn { color: var(--yellow); }
.pedit-status.err { color: var(--red); }
.op-new { margin-top: 10px; }
.pl .lt { tab-size: 4; }

/* MEDUSA SEES ALL flood (verified login) */
.flood {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  padding: 8px;
  background: #000;
  color: var(--red);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-all;
  text-shadow: 0 0 6px rgba(224, 48, 58, 0.6);
  pointer-events: none;
}
.flood .fl-hi { color: #fff; }
.flood .fl-dim { color: var(--red-dark); text-shadow: none; }
.flood.full { animation: flood-flash 0.35s steps(2) forwards; }
@keyframes flood-flash {
  0% { filter: none; }
  50% { filter: invert(1); }
  100% { filter: brightness(2); }
}

/* [yes] [no] choice in the gate */
.choice {
  color: var(--fg);
  padding: 0 2px;
  font-weight: 700;
}
.choice.on { background: var(--red); color: #000; }
.choice:disabled { cursor: default; }
.choice.gone { opacity: 0.25; background: none; color: var(--fg); }

/* gate intro: medusa speaking */
.line.voice { color: var(--red); }
.input-hint { color: #444; }

/* medusa cuts the connection: old monitor switching off */
.gate.cut .term { animation: crt-off 0.55s ease-in forwards; transform-origin: center; }
@keyframes crt-off {
  0%   { transform: scale(1, 1); filter: brightness(1); }
  40%  { transform: scale(1, 0.004); filter: brightness(3); }
  100% { transform: scale(0, 0.004); filter: brightness(5); opacity: 0; }
}

/* admin: security monitor (SIEM) */
.siem-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 14px 0 4px; }
.siem-tools { display: flex; gap: 8px; margin-left: auto; }
.siem-live { color: var(--dim); }
.siem-live.on { color: var(--red); animation: dimblink 1.6s steps(1) infinite; }
.siem-stats { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; margin: 6px 0 4px; }
.siem-stats > .dim { align-self: center; }
.stat {
  display: flex;
  flex-direction: column;
  min-width: 9ch;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: #070707;
}
.stat-n { font-size: 20px; font-weight: 700; color: var(--hi); line-height: 1.2; }
.stat-l { font-size: 11px; color: var(--dim); text-transform: uppercase; }
.stat-high { border-color: var(--red-dark); }
.stat-high .stat-n { color: var(--red); }
.stat-med .stat-n { color: var(--yellow); }
.sev { font-weight: 700; }
.sev-high { color: var(--red); }
.sev-med { color: var(--yellow); }
.sev-low { color: var(--fg); }
.sev-info { color: var(--dim); }
.siem-table tr.row-high td { background: #120304; }
.siem-link { color: inherit; text-decoration: underline dotted #444; }
.siem-link:hover { color: #000; background: var(--red); text-decoration: none; }
.siem-filter { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: baseline; margin-bottom: 6px; }
.siem-search { flex: 0 1 260px; margin-left: 8px; }
.siem-count { margin-bottom: 4px; font-size: 12px; }
.siem-note { white-space: normal; min-width: 24ch; color: var(--fg); }

/* siem: ip flagging */
.ip-cell { white-space: nowrap; }
.flagged { color: var(--red); font-weight: 700; }
.siem-flagbtn { color: var(--dim); font-size: 11px; text-decoration: underline dotted #333; }
.siem-flagbtn:hover { color: var(--red); }
.siem-table tr.row-flagged td { background: #1a0406; }
.flag-list { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 6px; }

/* ---- middleman bio: fade-in + content blocks */
.site { opacity: 0; transition: opacity 0.8s ease; }
.site.in { opacity: 1; }

.li { padding-left: 2ch; text-indent: -2ch; max-width: 80ch; }
.li::before { content: "- "; color: var(--red); }

.step { max-width: 80ch; margin: 2px 0; }
.step-n { color: var(--red); font-weight: 700; }

.ruleline { max-width: 80ch; margin: 2px 0; }
.ruleline .m-ok { color: var(--green); font-weight: 700; }
.ruleline .m-bad { color: var(--red); font-weight: 700; }
.ruleline .m-note { color: var(--yellow); font-weight: 700; }

.fee {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 10px;
  border: 1px solid var(--red-dark);
  color: var(--hi);
  font-weight: 700;
}

.vouch-head { max-width: 80ch; }
.vouch-val { color: var(--green); font-weight: 700; }
.vouch-meta { max-width: 80ch; }
.vouch-note { max-width: 80ch; color: #c4c4cb; font-style: italic; }


/* ======================== TERMINAL CARD (link-in-bio) ====================== */
.card-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 16px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.card-wrap.in { opacity: 1; }

/* the terminal window */
.card {
  width: 100%;
  max-width: 400px;
  background: #050506;
  border: 1px solid #2a2a2a;
  box-shadow: 0 0 0 1px #000, 0 20px 60px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}
/* faint scanlines over the window */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.022) 0 1px, transparent 1px 3px);
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: #0f0f10;
  border-bottom: 1px solid #222;
}
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 9px; height: 9px; border-radius: 50%; background: #333; display: block; }
.win-dots i:first-child { background: var(--red); }
.win-title { color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.win-body { padding: 24px 22px 22px; text-align: center; }

/* avatar: square, framed like an image preview in a terminal */
.avatar {
  width: 128px; height: 128px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  background: #000;
  box-shadow: 0 0 0 4px #0b0b0c;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.eye { color: var(--red); }
.avatar.eye svg { width: 56%; }

.card .name {
  margin: 0;
  font-size: clamp(30px, 8vw, 44px);
  font-weight: 800;
  line-height: 1;
  color: #f4f4f4;
  letter-spacing: 0.02em;
}
.card .name::before { content: "> "; color: var(--red); font-weight: 400; }

.badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.badge { color: var(--dim); font-size: 12px; }

.bio-line { margin: 12px 0 0; min-height: 1.4em; color: var(--fg); font-size: 14px; }
.bio-line .p { color: var(--red); }
.bio-line .caret { color: var(--red); animation: blink 1s steps(1) infinite; }

.sep { margin: 22px 0 14px; color: #3a3a3a; font-size: 12px; letter-spacing: 0.1em; }

.socials { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.social {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid #2a2a2a;
  background: #0a0a0b;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.social:hover, .social:focus-visible {
  border-color: var(--red);
  background: #160608;
  transform: translateY(-2px);
  outline: none;
}
.social-ico { width: 20px; height: 20px; display: block; }
.social.text {
  width: auto; padding: 0 12px; height: 44px;
  color: var(--fg); font-size: 13px;
}
.social.text::before { content: "["; color: var(--dim); }
.social.text::after  { content: "]"; color: var(--dim); }
.social.text:hover { color: var(--red); }

.card .note { margin: 18px 0 0; font-size: 12px; color: var(--dim); }
.card .note::before { content: "# "; color: #3a3a3a; }

.card-foot {
  display: flex; gap: 14px; align-items: center;
  font-size: 12px; color: var(--dim);
}
#relock { background: none; border: 1px solid #2a2a2a; padding: 3px 10px; color: var(--dim); font: inherit; cursor: pointer; }
#relock:hover { color: var(--red); border-color: var(--red); }

/* player: in-flow under the card, squared off to match */
.card-wrap .player {
  position: static;
  margin: 0;
  width: 320px;
  max-width: 100%;
  border-radius: 0;
}
.card-wrap .pl-cover { border-radius: 0; }
