/* A listing's page, and the small parts the publisher's page shares with it (the breadcrumb, the section heads, the places the parts that write fill:
   the Diamond and Heart bar, the review form, the support box, with every class wr-). The header sits on a dark picture tinted by the publisher, so its text is white in either theme; everything under it follows the
   theme. Every class here starts with dt-, because the stylesheet of the page is shared by every page. */
.dt-page { padding-top: 22px; }
.dt-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 14px; color: var(--dim); font-size: 13px; }
.dt-crumb a { color: var(--accT); font-weight: 600; }
.dt-crumb a:hover { text-decoration: underline; }
.dt-crumb .ic { width: 14px; height: 14px; }
.dt-sech { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 10px; }
.dt-sech h2 { margin: 0; font-size: 20px; }
.dt-how { color: var(--dim); font-size: 12.5px; }
.dt-fine { margin: 6px 0 0; color: var(--dim); font-size: 12.5px; max-width: 68ch; }
.dt-mount:empty { display: none; }
.dt-mount:not(:empty) { margin: 0 0 24px; }

.dt-head { position: relative; border-radius: 14px; overflow: hidden; background: #0c1420; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); margin: 0 0 22px; }
.dt-head > .pic { background: radial-gradient(70% 100% at 18% 0%, var(--tint), transparent 66%), repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px), linear-gradient(160deg, color-mix(in srgb, var(--tint) 62%, #0c1420), color-mix(in srgb, var(--tint) 24%, #0c1420)); }
.dt-fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 12, 19, 0.55) 0, rgba(7, 12, 19, 0.86) 70%, rgba(7, 12, 19, 0.94) 100%); }
.dt-hi { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 32px; padding: 32px clamp(20px, 4vw, 44px); }
.dt-tile { width: 136px; height: 136px; border-radius: 30px; overflow: hidden; display: grid; place-items: center; background: var(--tint); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.26); flex: none; }
.dt-tile.pictured { background: rgba(255, 255, 255, 0.14); }
.dt-tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dt-tile .ltr { font-size: 84px; }
.dt-main { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.dt-kick { font-size: 13px; color: var(--accT); }
.page h1.dt-title { margin: 0; font-size: clamp(36px, 6vw, 64px); line-height: 1; letter-spacing: 0.03em; color: #f4f8fc; overflow-wrap: anywhere; }
.dt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; }
.dt-chip, .dt-bx { display: inline-flex; align-items: center; gap: 6px; padding: 1px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--raised); font-size: 12px; line-height: 20px; font-weight: 600; }
.dt-chip .ic { width: 14px; height: 14px; color: var(--accT); }
.dt-bx { padding: 1px 9px; font-size: 11.5px; line-height: 18px; white-space: nowrap; }
.dt-bx.ok { color: var(--ok); }
.dt-bx .ic { width: 14px; height: 14px; }
.dt-line { margin: 0; max-width: 56ch; font-size: 15px; color: #d4dde8; }
.dt-act { flex: 0 1 270px; min-width: min(270px, 100%); display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.dt-big { min-height: 46px; padding: 10px 24px; font-size: 16px; border-radius: 10px; }
.dt-cap { margin: 0; color: #c6d4e4; font-size: 12.5px; text-align: center; }
.dt-row { display: flex; gap: 10px; }
.dt-row > * { flex: 1; }
.dt-act .b[aria-pressed='true'] { border-color: var(--acc); background: var(--hover); box-shadow: 0 0 12px var(--glow); }

.dt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; margin: 0 0 22px; }
.dt-st { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; }
.dt-sl { font-size: 12.5px; color: var(--dim); }
.dt-sv { font-family: var(--fcond); font-weight: 600; font-size: 42px; line-height: 1; letter-spacing: 0.02em; }
.dt-ss { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; color: var(--dim); font-size: 12.5px; }
.dt-note { display: inline-flex; align-items: center; gap: 5px; }
.dt-note-w2 { flex-basis: 100%; }

.dt-shotsec { margin: 0 0 28px; }
.dt-shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; scrollbar-width: thin; }
.dt-shot { flex: 0 0 min(360px, 86%); height: 226px; border-radius: 12px; scroll-snap-align: start; border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; background: color-mix(in srgb, var(--tint) 46%, #0c1420); }
.dt-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dt-shot .ltr { display: none; }

.dt-cols { display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-start; }
.dt-colL { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.dt-colR { flex: 1 1 340px; min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 22px; }
.dt-box { padding: 16px 18px; }
.dt-box h2 { margin: 0 0 12px; font-size: 18px; }
.dt-txt { max-width: 68ch; font-size: 15px; }
.dt-txt .md p { margin: 0 0 10px; }
.dt-txt .md ul { margin: 0 0 10px; padding-left: 20px; }
.dt-txt .md-url { color: var(--dim); font-size: 12.5px; overflow-wrap: anywhere; }
.dt-chg { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); max-width: 68ch; color: var(--dim); font-size: 13.5px; }
.dt-chg b { color: var(--text); }
.dt-chg .md p { margin: 0; }

.dt-mrow { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.dt-mrow:first-of-type { border-top: 0; }
.dt-mg { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--bg0); color: var(--accT); flex: none; }
.dt-mt { display: flex; flex-direction: column; min-width: 0; }
.dt-mt a { color: var(--accT); font-size: 13px; font-weight: 600; }
.dt-mt a:hover { text-decoration: underline; }
.dt-mt b { font-size: 15px; overflow-wrap: anywhere; }

.dt-grants { list-style: none; margin: 0; padding: 12px; display: flex; flex-direction: column; gap: 6px; border-radius: 12px; background: var(--bg0); font-size: 13px; line-height: 1.5; }
.dt-grants li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 6px; background: var(--panel); }
.dt-gi { width: 16px; height: 16px; color: var(--dim); flex: none; }
.dt-uw { flex: 1; min-width: 0; font-weight: 500; overflow-wrap: anywhere; }
.dt-req { padding: 0 8px; border-radius: 4px; font-size: 11px; line-height: 20px; font-weight: 600; white-space: nowrap; background: var(--raised); color: var(--dim); }
.dt-req.high { background: color-mix(in srgb, var(--amber) 24%, transparent); color: var(--amberT); }
.dt-req.severe { background: color-mix(in srgb, var(--bad) 22%, transparent); color: var(--bad); }
.dt-gnote { margin: 10px 2px 0; color: var(--dim); font-size: 12.5px; }

.dt-rv { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); }
.dt-rv:first-of-type { border-top: 0; padding-top: 4px; }
.dt-rvh { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.dt-rvh b { font-size: 14px; overflow-wrap: anywhere; }
.dt-idn { width: 30px; height: 30px; }
.dt-date { margin-left: auto; color: var(--dim); font-size: 12.5px; }
.dt-rvt { margin: 0; max-width: 68ch; overflow-wrap: anywhere; white-space: pre-line; }

.dt-kv { display: grid; grid-template-columns: minmax(0, 96px) minmax(0, 1fr); gap: 4px 14px; padding: 9px 0; border-top: 1px solid var(--line); }
.dt-kv:first-child { border-top: 0; padding-top: 0; }
.dt-kv dt { color: var(--dim); font-size: 12.5px; }
.dt-kv dd { margin: 0; font-size: 13.5px; overflow-wrap: anywhere; white-space: pre-line; }
.dt-kv small { display: block; color: var(--dim); font-size: 12px; }
.dt-lnkb { margin-top: 4px; padding: 3px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg0); font-size: 12px; font-weight: 600; }
.dt-lnkb:hover { border-color: var(--acc); }
.dt-steps summary { margin-top: 4px; cursor: pointer; color: var(--accT); font-size: 12.5px; font-weight: 600; }
.dt-steps pre { margin: 6px 0 0; padding: 10px; overflow: auto; border-radius: 8px; background: var(--bg0); font-size: 12px; line-height: 1.5; white-space: pre-wrap; }
.dt-box dl { margin: 0; }

@media (max-width: 560px) {
  .dt-kv { grid-template-columns: minmax(0, 1fr); }
  .dt-tile { width: 96px; height: 96px; border-radius: 22px; }
  .dt-tile .ltr { font-size: 60px; }
  .dt-hi { padding: 24px 18px; gap: 18px; }
  .dt-sv { font-size: 36px; }
}

/* The parts that write: the Diamond and Heart bar, the review form, the support box (the publisher's page has the last), and what a write shows as it runs. */
.wr-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 18px; }
.wr-card { padding: 16px 18px; }
.wr-card h2 { margin: 0 0 4px; font-size: 16px; }
.wr-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 0; }
.wr-sub { margin: 6px 0 0; color: var(--dim); font-size: 12.5px; }
.wr-as { display: flex; align-items: center; gap: 8px; margin: 4px 0 6px; font-size: 13px; color: var(--dim); }
.wr-as select { min-height: 32px; padding: 3px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg0); color: var(--text); font: inherit; }
.wr-seg, .wr-amts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.wr-cb { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; min-height: 34px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg0); color: var(--text); font-size: 13px; font-weight: 500; }
.wr-cb:hover { border-color: var(--acc); background: var(--hover); }
.wr-cb[aria-checked='true'] { border-color: var(--acc); background: var(--hover); box-shadow: 0 0 12px var(--glow); font-weight: 700; }
.wr-cb[aria-disabled='true'], .wr-rad[aria-disabled='true'] { opacity: 0.6; cursor: not-allowed; }
.wr-cb[aria-disabled='true']:hover, .wr-rad[aria-disabled='true']:hover { border-color: var(--line); background: var(--bg0); }
.b[aria-disabled='true'] { opacity: 0.55; cursor: not-allowed; }
.wr-hearted { color: var(--heart); }
.wr-w3 { color: var(--ok); }
.wr-unlock { margin: 6px 0 0; color: var(--dim); font-size: 12.5px; max-width: 68ch; }
.wr-unlock a, .wr-lnk { color: var(--accT); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.wr-lnk { margin-left: 6px; padding: 0; border: 0; background: none; font-size: inherit; }
.wr-form { display: flex; flex-direction: column; gap: 10px; }
.wr-form h2, .wr-support h2 { margin: 0; }
.wr-l { font-size: 13px; font-weight: 600; }
.wr-form textarea { width: 100%; min-height: 96px; resize: vertical; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg0); color: var(--text); font: inherit; font-size: 14px; line-height: 1.5; }
.wr-form textarea::placeholder { color: var(--dim); }
.wr-form textarea:focus, .wr-num:focus { outline: 0; border-color: var(--acc); box-shadow: 0 0 0 3px var(--glow); }
.wr-count { margin: -4px 0 0; color: var(--dim); font-size: 12.5px; text-align: right; }
.wr-count.over, .wr-problem { color: var(--bad); }
.wr-problem { margin: 0; font-size: 13px; font-weight: 600; }
.wr-problem:empty, .wr-unlock[hidden] { display: none; }
.wr-where { display: flex; flex-direction: column; gap: 8px; }
.wr-choice .wr-unlock { margin: 4px 0 0 12px; }
.wr-rad { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg0); color: var(--text); font-size: 13.5px; text-align: left; }
.wr-rad:hover { border-color: var(--acc); }
.wr-rad i { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--dim); }
.wr-rad[aria-checked='true'] { border-color: var(--acc); background: var(--hover); }
.wr-rad[aria-checked='true'] i { border-color: var(--acc); background: radial-gradient(circle, var(--acc) 38%, transparent 42%); }
.wr-rad span:first-of-type { flex: 1; min-width: 0; }
.wr-own { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg0); }
.wr-oh { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 13px; }
.wr-ot { margin: 6px 0 0; max-width: 68ch; overflow-wrap: anywhere; }
.wr-share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 12px 0 0; font-size: 13px; }
.wr-share label { font-weight: 600; }
.wr-pct { display: inline-flex; align-items: center; gap: 6px; }
.wr-num { width: 84px; min-height: 34px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg0); color: var(--text); font: inherit; font-size: 14px; }
.wr-split { margin: 12px 0; padding: 10px 12px; border-radius: 8px; background: var(--bg0); border: 1px solid var(--line); font-size: 13px; }
.wr-line { display: block; margin: 0; }
.wr-line:empty { display: none; }
.wr-support .b-in { width: 100%; }
.wr-run { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg0); }
.wr-run:focus-visible, .wr-prep:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.wr-run.ok { border-color: var(--ok); }
.wr-run.bad { border-color: var(--bad); }
.wr-rh { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14px; }
.wr-prep { margin: 10px 0 0; color: var(--dim); font-size: 13px; }
.wr-steps { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wr-step { padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); border-left-width: 4px; background: var(--panel); }
.wr-step[data-state='asking'], .wr-step[data-state='sent'] { border-left-color: var(--acc); }
.wr-step[data-state='confirmed'] { border-left-color: var(--ok); }
.wr-step[data-state='refused'], .wr-step[data-state='skipped'] { border-left-color: var(--amber); }
.wr-step[data-state='failed'] { border-left-color: var(--bad); }
.wr-sh { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 13.5px; }
.wr-st { color: var(--dim); font-size: 12.5px; font-weight: 600; }
.wr-step[data-state='confirmed'] .wr-st { color: var(--ok); }
.wr-step[data-state='failed'] .wr-st { color: var(--bad); }
.wr-sd { margin: 4px 0 0; color: var(--dim); font-size: 12.5px; max-width: 68ch; }
.wr-kvs { display: flex; flex-direction: column; gap: 2px; margin: 6px 0 0; font-size: 12.5px; }
.wr-kvs div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; }
.wr-kvs dt { color: var(--dim); }
.wr-kvs dd { margin: 0; overflow-wrap: anywhere; }
.wr-hash { margin: 4px 0 0; font-size: 12px; color: var(--dim); overflow-wrap: anywhere; }
.wr-ok, .wr-bad { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.wr-ok { color: var(--ok); }
.wr-bad { color: var(--bad); }
.wr-ok .ic, .wr-bad .ic { flex: none; margin-top: 2px; }
@media (max-width: 560px) { .wr-card, .wr-form, .wr-support { padding-left: 14px; padding-right: 14px; } .wr-num { width: 100%; } }
