/* garlicoin.org: paying to post: the wall-pay box, steps, timer, pin options and shout-out rows (wall, @names, adopt, lotto, bakery, shops, pay).
   Loaded after /assets/site.css by the pages that need it (their <head> links it). Split out of site.css on
   2026-10-21: keep a rule here only if just these pages use it; anything shared goes in site.css. */

.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; }
.wall-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.wall-head .card-title { margin: 0; margin-right: auto; }
.wall-filters { display: flex; gap: 6px; }
.wall-filters .chip.on { background: var(--gold); border-color: var(--gold-deep); color: #2b2416; font-weight: 700; }
.wall-tag { display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 1px 7px; border-radius: 999px; background: rgba(60, 35, 0, .14); margin-right: 4px; }
.wall-pay { border: 2px solid var(--gold); }
.wall-pay.done { background: linear-gradient(180deg, var(--gold-soft), var(--card) 80%); }
.wall-pay-text { margin: 0 0 14px; padding: 10px 14px; border-left: 4px solid var(--gold); background: var(--gold-soft); border-radius: 0 8px 8px 0; font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; color: var(--ink); }
.wall-pay-grid { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
#pay-qr { width: 200px; height: 200px; border-radius: 10px; border: 1px solid var(--line); background: #fff; image-rendering: pixelated; }
.wall-addr { font-size: .92rem; overflow-wrap: anywhere; background: var(--gold-soft); padding: 8px 10px; border-radius: 8px; margin: 4px 0 0; }
.wall-steps { list-style: none; padding: 0; margin: 12px 0 6px; display: grid; gap: 8px; }
.wall-steps li { position: relative; padding-left: 30px; color: var(--muted); }
.wall-steps li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; }
.wall-steps li.now { color: var(--ink); font-weight: 700; }
.wall-steps li.now::before { border-color: var(--gold); border-top-color: transparent; animation: wall-spin .9s linear infinite; }
.wall-steps li.done { color: var(--ink); }
.wall-steps li.done::before { border: 0; background: #3c9a4a; }
.wall-steps li.done::after { content: ""; position: absolute; left: 6px; top: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes wall-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .wall-pay-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .wall-pay-grid > div { width: 100%; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wall-tag { background: rgba(255, 220, 140, .16); }
}
:root[data-theme="dark"] .wall-tag { background: rgba(255, 220, 140, .16); }
.wall-pay.paid #pay-qr, .wall-pay.paid .wall-pay-grid .label, .wall-pay.paid .wall-addr, .wall-pay.paid .wall-actions, .wall-pay.paid > .muted { display: none; }
.wall-pay.paid .wall-pay-grid { grid-template-columns: minmax(0, 1fr); }
.wall-timer { margin: -4px 0 14px; font-weight: 700; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.wall-timer.urgent { color: var(--bad); }
.wall-pay.expired { border-color: var(--line); }
.wall-pay.expired .wall-steps { display: none; }
.wall-pay.paid .pc-qr { display: none; }
.wall-pay .pc-quote[hidden] { display: none; }
.wall-pin-opt { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.wall-pin-opt:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.wall-pin-opt input { width: 18px; height: 18px; margin-top: 2px; accent-color: #e09a12; flex: none; }
.wall-pin-opt.off { opacity: .55; cursor: not-allowed; }
.shout-row { display: flex; gap: 8px; margin-top: 4px; }
.shout-row input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
.shout-row .btn { white-space: nowrap; }
.shout-row .btn:disabled { opacity: .55; cursor: not-allowed; }
.shout-meta { margin: 6px 0 0; color: var(--muted); }
.shout-meta.over { color: var(--bad); font-weight: 700; }
@media (max-width: 520px) {
  .shout-row { flex-direction: column; }
  .shout-row .btn { align-self: flex-start; }
}
.names-bio { margin: 8px 0 4px; font-size: 1.05rem; overflow-wrap: anywhere; }
.names-links { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.names-link { display: inline-flex; gap: 6px; align-items: baseline; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--gold-soft); color: var(--ink); text-decoration: none; font-size: .88rem; max-width: 100%; }
.names-link span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.names-link:hover { border-color: var(--gold); }
#s-form { min-width: 0; grid-template-columns: minmax(0, 1fr); }
#s-form textarea { font: inherit; padding: 10px 12px; border: 2px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); width: 100%; box-sizing: border-box; resize: vertical; }
#s-form > * { max-width: 100%; }
