/* 후원 페이지(/support/)의 후원 상자 모양이에요. 색은 page.css의 변수만 써요. */
.dn { margin-top: 1.2em; }
.dn-seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 3px; margin-bottom: 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; }
.dn-seg button { font: inherit; font-size: .92rem; font-weight: 500; min-height: 40px; padding: 0 22px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); cursor: pointer; }
.dn-seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px var(--shadow); }
.dn-amt { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.dn-amt button { font: inherit; font-weight: 500; min-height: 48px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; }
.dn-amt button:hover { border-color: var(--accent); }
.dn-amt button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); font-weight: 600; box-shadow: inset 0 0 0 1px var(--accent); }
.dn-custom { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.dn-custom label { color: var(--ink-2); font-size: .94rem; flex: none; }
.dn-custom input { font: inherit; min-height: 46px; width: 100%; max-width: 220px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); }
.dn-hint { margin-top: 8px; color: var(--c2); font-size: .92rem; }
.dn-act { margin-top: 16px; }
.dn-act .btn:disabled { background: var(--surface-2); border-color: var(--line); color: var(--ink-2); cursor: default; transform: none; filter: none; }
.dn-note { padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); margin-bottom: 16px; word-break: keep-all; }
.dn-note.dn-ok { border-color: var(--c0-mid); background: var(--c0-soft); }
.dn-note.dn-err { border-color: var(--c2-mid); background: var(--c2-soft); }
.dn-fine { margin-top: 12px; color: var(--ink-2); font-size: .92rem; word-break: keep-all; }
.dn-alt { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.dn-alt-h { font-weight: 600; margin-bottom: 8px; }
.dn-acct { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.biz { margin-top: 10px; color: var(--ink-2); font-size: .85rem; word-break: keep-all; }
.prose a.btn-ghost { color: var(--ink); }
.prose a.btn-ghost:hover { color: var(--accent); }
.dn-note > * + * { margin-top: 8px; }
.dn-note .dn-code-h, .dn-note .dn-code, .dn-note .dn-code-f { display: block; }
.dn-note .dn-code-h { margin-top: 10px; color: var(--ink-2); font-size: .88rem; }
.dn-note .dn-code { font-size: 1.35rem; letter-spacing: .08em; word-break: break-all; user-select: all; }
.dn-note .dn-code-f { color: var(--ink-2); font-size: .92rem; }
.dn-stop { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; background: var(--surface); }
.dn-stop summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 600; list-style: none; }
.dn-stop summary::-webkit-details-marker { display: none; }
.dn-stop[open] { padding-bottom: 16px; }
.dn-stop .dn-fine { margin-top: 0; }
