/* DIFFDUEL — battle broadcast UI v3
   One screen, no scroll. Near black, separation by tone. */

:root {
  --bg: #050505;
  --sunk: #0c0c0c;
  --raise: #141414;
  --raise-2: #1c1c1c;
  --ink: #EDE1D3;
  --muted: #8a847a;
  --dim: #55504a;
  --accent: #EE2324;
  --accent-text: #ff5248;
  --accent-sunk: #1a0f0f;
  --ok: #7ddc4e;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --btn: 26px;   /* panel button height; the square arrow is one of these wide */
}

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Archivo, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

img, video { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.disp {
  font-family: Oswald, Archivo, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.tiny {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- the whole broadcast is one screen ---- */
.screen {
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

/* ============================ THE CARD ============================ */

/* The header runs on a baseline grid. Every line box in it is --line tall and
   all three columns start at the same top, so each column's lines land on the
   same three rows no matter what size the type is:

     row 1   DIFFDUEL              THEME / FORMAT      14:32
     row 2   GENERATIVE AI BATTLE  ... the bout ...      "
     row 3   LIVE                  values              ELAPSED

   Big type keeps the rhythm by taking a whole multiple of --line, which is why
   the clock is 2 rows rather than a size of its own. Nothing here uses a gap:
   spacing is the line box, or the grid stops being a grid. */
.card {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr);
  align-items: start;
  column-gap: 20px;
  padding: 12px 16px;

  --line: 19px;   /* the unit everything in the header snaps to */
  --brand: 18px;  /* DIFFDUEL, and the bout, are the same size */
}
.card-id { display: flex; flex-direction: column; }
.card-id .disp { font-size: var(--brand); line-height: var(--line); }

.live {
  display: inline-flex; align-items: center; gap: 7px;
  height: var(--line); line-height: var(--line);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text);
}
.live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); animation: pulse 3.4s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

.card-bout {
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 1.8vw, 24px);
  justify-content: center;
  padding-top: var(--line); /* row 2: level with "Generative AI battle" */
}
.card-bout span { font-size: var(--brand); line-height: var(--line); letter-spacing: 0; }
.card-bout .vs { color: var(--accent); }

.card-right { display: flex; align-items: flex-start; justify-content: flex-end; gap: clamp(14px, 2vw, 28px); }
/* a dl ships with margin: 1em 0, which pushed these a whole 14px off row 1
   and inflated the card by 28px. The grid cannot work with it. */
.card-meta { display: flex; gap: clamp(12px, 1.6vw, 24px); margin: 0; }
.card-meta dt {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim);
  line-height: var(--line); /* row 1, level with DIFFDUEL */
}
.card-meta dd {
  margin: 0; font-size: 11px; text-transform: uppercase;
  line-height: var(--line); /* rows 2 and 3 */
}
/* the theme is the whole point of the round, so it reads at headline size */
.card-meta dd.disp { font-size: var(--brand); letter-spacing: 0; }

/* label on row 1, value on row 2 - the same shape as a Theme/Format pair */
.clock { display: flex; flex-direction: column; text-align: right; }
.clock .tiny { line-height: var(--line); }
.clock .disp {
  font-size: var(--brand);
  line-height: var(--line);
  font-variant-numeric: tabular-nums;
}
.clock .tiny { color: var(--dim); }

/* ============================ THE FLOOR ============================ */

.floor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  min-height: 0;
}

.side {
  min-width: 0;
  min-height: 0;
  background: var(--sunk);
  padding: 12px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 4px;
}

.side-a .who { color: var(--accent); }

/* ---- the work, filling whatever is left ---- */

.work {
  position: relative;
  min-height: 0;
  background: #000;
  overflow: hidden;
}
.work > img, .work > video { width: 100%; height: 100%; object-fit: cover; }

.work-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,0.1); }
.work-prog i { display: block; height: 100%; background: var(--accent); }

.cam {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f0f0f;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}
.cam img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.cam-tag {
  position: absolute; left: 6px; bottom: 4px;
  background: rgba(0,0,0,0.6); padding: 2px 5px;
  font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}

/* ---- tools ---- */

.tools {
  display: grid;
  grid-template-columns: minmax(112px, 148px) 1fr;
  gap: 4px;
  height: 292px;
  min-height: 0;
}

.cells { display: flex; flex-direction: column; gap: 3px; min-height: 0; height: 100%; }
.cell {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  flex: 1 1 0; min-height: 0;
  background: var(--raise);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  border: 0;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}
.cell:hover { background: var(--raise-2); color: var(--ink); }
.cell svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; flex: 0 0 auto; }
.cell-name { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.cell-n { margin-left: auto; font-size: 10px; color: var(--dim); font-variant-numeric: tabular-nums; }
.cell.is-on { background: var(--accent); color: #0a0a0a; }
.cell.is-on .cell-n { color: rgba(0,0,0,0.55); }

.pipe { background: var(--raise); min-width: 0; display: flex; flex-direction: column; min-height: 0; }
.pipe-head {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 10px;
  background: #090909;
  border-bottom: 2px solid var(--raise);  /* the column, not a black seam */
  flex: 0 0 auto;
}
.pipe-title { font-size: 14px; letter-spacing: 0.08em; }
.pipe-body { padding: 0; min-height: 0; flex: 1 1 auto; overflow: hidden; }

.pipe-head .spacer { flex: 1 1 auto; }

.chain { display: flex; align-items: stretch; gap: 3px; }

/* A round is a square the result fills edge to edge. The number and the time
   sit on top of it, over a scrim, so nothing crops the picture. */
.link {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 1 / 1;
  background: var(--raise-2);
  overflow: hidden;
  cursor: pointer;
}
/* hover: a breath of light over the frame, nothing more */
.link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(237, 225, 211, 0.11);
  opacity: 0;
  transition: opacity 150ms var(--ease);
}
.link:hover::before { opacity: 1; }

/* top and bottom scrim: keeps the overlaid type readable on a bright frame */
.link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0, rgba(0,0,0,0) 28%),
    linear-gradient(to top,    rgba(0,0,0,0.55) 0, rgba(0,0,0,0) 28%);
}

.link-thumb { position: absolute; inset: 0; background: #000; display: grid; place-items: center; }
.link-thumb img, .link-thumb video { width: 100%; height: 100%; object-fit: cover; }
.link-thumb span { font-size: 9px; color: #3f3b36; letter-spacing: 0.06em; text-transform: uppercase; }

.link-top { position: absolute; z-index: 2; top: 8px; left: 9px; right: 9px; }
.link-name {
  font-family: Oswald, Archivo, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.link-t {
  position: absolute; z-index: 2; bottom: 8px; left: 9px;
  font-size: 10.5px; color: var(--ink); font-variant-numeric: tabular-nums;
}

.link.is-live .link-name,
.link.is-live .link-t { color: var(--accent-text); }

/* nothing to open yet, so it does not invite a click */
.link.is-queued { opacity: 0.4; cursor: default; }
.link.is-queued:hover::before { opacity: 0; }

/* the round currently showing in the window above */
.link.is-playing { outline: 2px solid var(--accent); outline-offset: -2px; }

/* ============================ THE RAIL ============================ */

.rail { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; }
.rail .spacer { flex: 1 1 auto; }
.viewers { font-size: 12px; color: var(--muted); }
.btn {
  border: 0;
  background: var(--raise);
  color: var(--ink);
  padding: 9px 16px;
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms var(--ease);
}
.btn:hover { background: var(--raise-2); }
.btn-accent { background: var(--accent); color: #0a0a0a; }
.btn-accent:hover { background: #ff3b30; }

/* ============================ FALLBACKS ============================ */

/* short or narrow windows give up on one-screen and scroll instead */
@media (max-height: 700px), (max-width: 900px) {
  .screen { height: auto; overflow: visible; }
  .work { min-height: 240px; aspect-ratio: 16 / 9; }
}

@media (max-width: 1180px) {
  .tools { grid-template-columns: 1fr; }
  .cells { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
  .cell { flex: 1 1 100px; }
  .cam { width: 92px; flex: 0 0 92px; }
}

@media (max-width: 900px) {
  .card { grid-template-columns: 1fr; gap: 10px; }
  .card-bout, .card-right { justify-content: flex-start; flex-wrap: wrap; }
  .floor { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}


/* ============================ ASSETS TRAY ============================ */

.assets { margin-top: 3px; background: var(--raise); padding: 7px 8px 8px; }
.assets .tiny { font-size: 9px; margin-bottom: 5px; display: block; }
.assets-row { display: flex; gap: 3px; }
.assets-row img {
  width: 38px; height: 38px; object-fit: cover; background: #000;
}
.asset-slot {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #232323;
  display: grid; place-items: center;
  color: var(--muted); font-size: 22px; line-height: 1;
  cursor: pointer;
  transition: background 150ms var(--ease), color 150ms var(--ease);
}
.asset-slot:hover { background: #2e2e2e; color: var(--ink); }

/* ============================ THE BOX, AS A MODAL ============================ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.78);
  animation: modal-in 260ms var(--ease) both;
}
.modal.is-gone { display: none; }
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }

.modal-panel {
  width: min(440px, 100%);
  background: #101010;
  padding: 20px;
  text-align: center;
  animation: panel-in 320ms var(--ease) both;
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

.modal-label { color: var(--accent-text); margin-bottom: 14px; }
.modal-art { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.modal-title { font-size: 26px; line-height: 1.02; margin: 16px 0 10px; }
.modal-copy { font-size: 13px; color: var(--muted); max-width: 34ch; margin: 0 auto; }
.modal-acts { display: flex; gap: 3px; margin: 20px 0 14px; }
.modal-acts .btn { flex: 1 1 0; padding: 12px 10px; }
.modal-foot { color: var(--dim); font-size: 9.5px; }

@media (prefers-reduced-motion: reduce) {
  .modal, .modal-panel { animation: none; }
}


/* ---- panel actions ---- */

.pipe-btn {
  border: 0;
  background: var(--raise-2);
  color: var(--muted);
  height: var(--btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.pipe-btn:hover { background: #262626; color: var(--ink); }
.pipe-btn.is-on { background: var(--accent); color: #0a0a0a; }

/* ---- the panel's two views ---- */

.asset-grid { display: none; }
.pipe.show-assets .chain { display: none; }
.pipe.show-assets .asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 3px;
  align-content: start;
  height: 100%;
  overflow-y: auto;
}
.asset-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}


/* ============================ PANEL VIEWS ============================ */

.pipe .chain,
.pipe .asset-grid,
.pipe .view-list,
.pipe .view-run { display: none; }

.pipe[data-view="chain"]  .chain { display: flex; height: 100%; align-items: flex-start; overflow-x: auto; }
.pipe[data-view="assets"] .asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 3px;
  align-content: start;
  height: 100%;
  overflow-y: auto;
}
.pipe[data-view="list"] .view-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: min-content;
  gap: 3px;
  align-content: start;
  height: 100%;
  overflow-y: auto;
}
.pipe[data-view="run"]  .view-run  { display: block; height: 100%; min-height: 0; }

/* ---- workflow list ---- */

.wf {
  display: flex; flex-direction: column; gap: 2px;
  background: transparent;
  padding: 0; min-width: 0; min-height: 0;
  border: 0; cursor: pointer; text-align: left; color: var(--ink);
}
.wf img {
  width: 100%; height: 78px; object-fit: cover; background: #000;
  border-radius: 5px;
  outline: 2px solid transparent; outline-offset: -2px;
  transition: outline-color 150ms var(--ease);
}
.wf:hover img { outline-color: var(--accent); }
.wf-empty { cursor: default; }
/* in the catalogue but with no graph behind it */
.wf-off { opacity: 0.38; cursor: not-allowed; }
.wf-off:hover img, .wf-off:hover .wf-thumb { outline-color: transparent; }
.wf-empty .wf-thumb { opacity: 0.45; }
.wf-thumb {
  display: block;
  width: 100%; height: 78px;
  background: var(--raise-2);
  border-radius: 5px;
  outline: 2px solid transparent;
  outline-offset: -2px;
  transition: outline-color 150ms var(--ease), background 150ms var(--ease);
}
.wf:hover .wf-thumb { outline-color: var(--accent); background: #232323; }
.wf-dot { display: none; }
.wf-name {
  padding-left: 2px;
  font-family: Archivo, sans-serif; font-weight: 500;
  font-size: 11px; letter-spacing: 0; text-transform: none;
  line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wf-t { padding-left: 2px; font-size: 10px; color: var(--muted); margin-top: -3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- the mini UI ---- */


.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot-hint { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; padding: 0 6px; }

.run-prompt {
  background: var(--raise-2); border: 0; color: var(--ink);
  font: inherit; font-size: 12px; padding: 8px 9px; resize: none;
  min-height: 46px; width: 100%;
}
.run-prompt::placeholder { color: var(--dim); }
.run-opts { display: flex; gap: 3px; flex-wrap: wrap; }
.opt {
  background: var(--raise-2); color: var(--muted);
  padding: 6px 9px; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 0; cursor: pointer;
}
.opt:hover { color: var(--ink); }
.opt b { color: var(--ink); font-weight: 500; }

.pipe[data-pick="1"] .asset-grid img,
.pipe[data-pick="1"] .asset-slot { cursor: pointer; outline: 2px solid transparent; }
.pipe[data-pick="1"] .asset-grid img:hover { outline-color: var(--accent); }


/* ============================ SCROLLBARS ============================ */

* { scrollbar-width: thin; scrollbar-color: #2e2e2e transparent; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #2e2e2e;
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); background-clip: content-box; }
::-webkit-scrollbar-corner { background: transparent; }


/* ============================ THE RUN VIEW ============================ */

.run {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  height: 100%;
  min-height: 0;
}

.run-form {
  display: flex; flex-direction: column; gap: 3px;
  min-height: 0; height: 100%; overflow-y: auto;
  align-content: start;
}

/* ---- a collapsible group ---- */

.grp { background: var(--raise-2); }
.grp summary {
  list-style: none; cursor: pointer;
  padding: 7px 9px;
  display: flex; align-items: center; gap: 7px;
  font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted);
}
.grp summary::-webkit-details-marker { display: none; }
.grp summary::before {
  content: "";
  width: 0; height: 0;
  border-left: 4px solid currentColor;
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  transition: transform 160ms var(--ease);
  flex: 0 0 auto;
}
.grp[open] summary::before { transform: rotate(90deg); }
.grp summary:hover { color: var(--ink); }
.grp-sum {
  margin-left: auto;
  text-transform: none; letter-spacing: 0;
  font-size: 10px; color: var(--dim);
}
.grp-body { padding: 0 9px 9px; }

/* ---- media slots ---- */

.slots { display: flex; gap: 4px; flex-wrap: wrap; }
.slot {
  width: 56px; height: 56px;
  background: #232323;
  display: grid; place-items: center;
  border: 0; padding: 0; cursor: pointer;
  color: var(--muted);
  overflow: hidden;
  transition: background 150ms var(--ease);
}
.slot:hover { background: #2e2e2e; }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot-hint {
  font-size: 8.5px; letter-spacing: 0.06em; text-transform: uppercase;
  line-height: 1.25; padding: 0 4px; text-align: center;
}

.run-prompt { width: 100%; min-height: 38px; }

/* ---- run ---- */


/* ---- the result side ---- */

.run-out {
  background: #000;
  display: grid; place-items: center;
  height: 100%; min-height: 0; overflow: hidden;
}
.run-out img, .run-out video {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
}
.run-out-hint {
  font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #3f3b36;
}


/* ---- working wide: the panel takes the column while you build ---- */

.side { transition: none; }
.side.is-wide { grid-template-rows: 116px minmax(0, 1fr); }
.side.is-wide .tools { height: auto; min-height: 0; }
.side.is-wide .work > img,
.side.is-wide .work > video { object-position: center 38%; }

.side.is-wide 
.pipe-run[hidden] { display: none !important; }
.pipe-run { background: var(--accent); color: #0a0a0a; }
.pipe-run:hover { background: #ff3b30; color: #0a0a0a; }

/* Before a round starts nothing has happened yet, so nothing is lit. The red
   is reserved for what is live - spend it here and it stops meaning that. */
[data-state="fresh"] .pipe-run { background: var(--raise-2); color: var(--muted); }
[data-state="fresh"] .pipe-run:hover { background: #262626; color: var(--ink); }
/* square: exactly as tall as the buttons beside it, and just as wide */
.pipe-wide { font-size: 11px; line-height: 1; padding: 0; width: var(--btn); flex: 0 0 auto; }


/* ============================ ASSET TYPES + FILTERS ============================ */

.filters { display: flex; gap: 2px; margin-left: 12px; }
.filters[hidden] { display: none; }
.chip {
  border: 0; background: transparent; color: var(--dim);
  padding: 5px 9px;
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer;
  transition: color 150ms var(--ease), background 150ms var(--ease);
}
.chip:hover { color: var(--ink); }
.chip.is-on { background: var(--raise-2); color: var(--ink); }

.asset {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #000;
  overflow: hidden;
  cursor: pointer;
  display: grid; place-items: center;
}
.asset[hidden] { display: none; }
.asset img { width: 100%; height: 100%; object-fit: cover; }
.asset:hover { outline: 2px solid var(--accent); outline-offset: -2px; }

.asset-badge {
  position: absolute; left: 5px; bottom: 4px;
  font-size: 9px; line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  padding: 3px 5px;
}
.asset[data-kind="audio"] { background: var(--raise-2); gap: 5px; }
.asset[data-kind="audio"] svg {
  width: 26px; height: 26px;
  stroke: var(--muted); fill: none; stroke-width: 1.6; stroke-linecap: round;
}
.asset-cap {
  font-size: 8.5px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--dim); text-align: center; padding: 0 4px; line-height: 1.2;
}


/* ---- submitting a result to the round ---- */

.pipe-submit { background: var(--accent); color: #0a0a0a; }
.pipe-submit[hidden] { display: none !important; }
.pipe-submit:disabled { background: var(--raise-2); color: var(--dim); cursor: default; }
.pipe-submit:not(:disabled):hover { background: #ff3b30; }

.asset.is-picked { outline: 2px solid var(--accent); outline-offset: -2px; }
.asset.is-picked::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(238, 35, 36, 0.18);
}

.side.is-submitted .work::after {
  content: "Submitted to the round";
  position: absolute; left: 10px; top: 10px;
  background: var(--accent); color: #0a0a0a;
  font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 5px 9px;
}

.link.is-failed { background: #1a0f0f; }
.link.is-failed .link-t { color: var(--accent-text); }
