/* Dunavia patron page: buy DNV (10-10, d2). The home page look, one readable column */
[hidden] { display: none !important; }
.pat { width: min(760px, 100% - 32px); margin: 28px auto 64px; }
.pat-head h1 { font: 700 clamp(40px, 6vw, 64px)/1.05 Gelasio, serif; color: var(--acc); margin: 14px 0 10px; }
.pat-head .flag { margin: 0; }
.pat h2 { font: 700 26px Gelasio, serif; margin: 0 0 12px; }
.pat section + section { margin-top: 28px; }
.notice, .give, .list { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.notice { border-color: #8cc8ef88; }
.notice p + p { margin-top: 10px; }
.mut { color: var(--mut); }
.steps { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.steps li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
label { display: block; font-weight: 500; margin: 14px 0 6px; }
input[type=text] { width: 100%; font: inherit; color: var(--ink); background: #0d2116; border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; }
input[type=text]:focus { outline: 2px solid var(--acc); outline-offset: 1px; }
.help { color: var(--mut); font-size: 14px; margin-top: 6px; }
.warn { font-size: 14px; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #3a2d0f; border: 1px solid #e0b25255; }
.btn { cursor: pointer; font: inherit; background: transparent; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.status { min-height: 1.6em; margin-top: 10px; }
.status.ok { color: #9fe0b0; } .status.err { color: #ffb4a8; }
.closed { font-weight: 500; }
.patrons { margin: 12px 0 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.patrons li { display: flex; gap: 12px; align-items: baseline; padding: 8px 10px; border-radius: 10px; background: #0d211680; }
.patrons .no { color: var(--mut); font-variant-numeric: tabular-nums; min-width: 2.5em; }
.patrons .nm { overflow-wrap: anywhere; }
.patrons .tag { margin-left: auto; font-size: 12px; color: #0d2116; background: var(--acc); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.foot { margin-top: 40px; }
.notice ul { margin: 12px 0 0 20px; }
.notice li + li { margin-top: 6px; }
.quote { margin-top: 8px; font-size: 16px; }
.quote b { color: var(--acc); }
#send { margin-top: 18px; }   /* Ry 10-12: room between the name note and the Buy button */
.picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 10px; }   /* quick dollar amounts (Ry 10-12) */
.pick { cursor: pointer; font: inherit; font-size: 15px; padding: 7px 14px; border-radius: 999px; background: transparent; color: var(--acc); border: 1px solid currentColor; min-height: 40px; }
.pick:hover, .pick:focus-visible { background: rgba(143,200,240,.12); }
.pick.on { background: rgba(143,200,240,.22); font-weight: 600; }
.pick[disabled] { opacity: .4; cursor: not-allowed; }
/* send DNV to a citizen (Ry 10-12) */
.faces { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; margin: 12px 0 16px; }
.face { cursor: pointer; font: inherit; background: transparent; border: 1px solid transparent; border-radius: 14px; padding: 8px 4px; color: inherit; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 44px; }
.face img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(143,200,240,.25); }
.face span { font-size: 13px; line-height: 1.2; text-align: center; word-break: break-word; }
.face:hover, .face:focus-visible { border-color: rgba(143,200,240,.35); }
.face.on { border-color: var(--acc); background: rgba(143,200,240,.12); }
.face.on img { border-color: var(--acc); }
.picked { display: flex; align-items: center; gap: 14px; margin: 4px 0 16px; padding: 12px; border-radius: 14px; background: rgba(0,0,0,.18); }
.picked img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; }
.pk-name { font: 700 24px/1.2 Gelasio, serif; margin: 0 0 4px; color: var(--acc); }
#g-send { margin-top: 18px; }
@media (max-width: 480px) { .faces { grid-template-columns: repeat(4, 1fr); gap: 6px; } .face img { width: 56px; height: 56px; } .face span { font-size: 12px; } }

/* no wallet found (10-12) */
.nowallet{background:rgba(196,88,79,.12);border:1px solid rgba(196,88,79,.45);border-left:4px solid #c4584f;border-radius:12px;padding:12px 14px;margin:12px 0;color:var(--ink,#f3efe6);line-height:1.5}
.nowallet a{color:var(--acc,#8cc8ef);font-weight:600}

/* disconnect (10-12) */
.linkbtn{background:none;border:0;padding:0 2px;margin-left:6px;color:var(--acc,#8cc8ef);font:inherit;font-size:.92em;text-decoration:underline;cursor:pointer}
.linkbtn:hover,.linkbtn:focus-visible{color:#fff;outline:none}

/* after a purchase: add DNV to the wallet (10-13) */
.after{margin-top:10px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}

/* add-DNV feedback right under the link (10-13: mobile MetaMask gave no sign of life) */
.tokmsg{margin:6px 0 14px;padding:10px 12px;border:1px solid rgba(140,200,239,.35);border-radius:10px;background:rgba(140,200,239,.07);font-size:.92rem;line-height:1.5;word-break:break-word}
.tokmsg code{font-size:.85em;word-break:break-all}

.status{overflow-wrap:anywhere}

/* phones without a wallet: one tap opens this page inside the wallet app (10-13) */
.wbtns{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 8px}
.nowallet a.wbtn{display:inline-block;padding:10px 14px;border-radius:999px;background:#8cc8ef;color:#0d2116;font-weight:700;text-decoration:none}

/* WalletConnect (10-13) */
.nowallet button.wcbtn{border:0;cursor:pointer;font:inherit;padding:11px 16px;border-radius:999px;background:#e8c77a;color:#0d2116;font-weight:700}
.nowallet button.wcbtn:disabled{opacity:.6}
.wcsub{display:block;font-size:.88rem;opacity:.85;margin:0 0 8px}
.wcstat{display:block;font-size:.9rem;margin-bottom:6px}
