/* AZUO app: get paid, pay, inbox */
.app .nav .right { grid-column: 3; justify-self: end; }
.wbtn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); color: var(--ink); font-size: 13.5px; cursor: pointer; }
.wbtn i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.wbtn.on i { background: var(--mint); }
.wbtn img { width: 18px; height: 18px; border-radius: 5px; }
@media (max-width: 760px) { .app .nav { grid-template-columns: 1fr auto; } .app .nav .links { grid-column: 1; justify-self: start; } .app .nav .links a:first-child, .app .nav .links a[href="/docs"] { display: none; } .wbtn span { display: none; } }
.appmain { padding: 104px 0 120px; min-height: 100vh; position: relative; z-index: 2; }
.th h1 { margin: 12px 0 0; font-weight: 600; font-size: clamp(36px, 5vw, 58px); letter-spacing: -.03em; line-height: 1; }
.th .lede { font-size: 16.5px; }
.card { margin-top: 26px; border: 1px solid var(--line); border-radius: 22px; background: rgba(17, 16, 23, .86); padding: 24px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.card h3 { margin: 10px 0 6px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.card p { margin: 0; color: var(--mute); }
.card .sm { font-size: 14px; margin-top: 6px; }
.lb { display: block; font: 11.5px var(--mono); color: var(--dim); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.row2 { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .grid2 .card { margin-top: 16px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } }
.mk { height: 160px; } .mk canvas { width: 160px; height: 160px; display: block; }
.code { font-size: clamp(14px, 2.1vw, 20px); color: var(--lilac); word-break: break-all; line-height: 1.5; padding: 16px; border-radius: 14px; background: rgba(10, 9, 12, .7); border: 1px solid var(--line); }
.codecard { background: linear-gradient(180deg, rgba(61, 109, 255, .09), rgba(17, 16, 23, .86)); border-color: rgba(61, 109, 255, .28); }
.secret { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(10, 9, 12, .7); border: 1px dashed var(--line2); font-size: 13px; color: var(--mute); word-break: break-all; }
.btn.danger { color: var(--red); border-color: rgba(255, 107, 122, .35); }
.in { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(10, 9, 12, .75); color: var(--ink); font-size: 15px; outline: none; transition: border-color .2s; }
.in:focus { border-color: var(--azure); }
select.in { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.form .two .in + .in { margin-top: 8px; }
@media (max-width: 640px) { .form .two { grid-template-columns: 1fr; } }
.hint { margin-top: 8px; font: 12.5px var(--mono); color: var(--dim); min-height: 1.2em; }
.hint.ok { color: var(--mint); } .hint.bad { color: var(--red); }
.restore { display: flex; gap: 10px; margin-top: 16px; } .restore .in { flex: 1; }
.review { margin-top: 20px; border-top: 1px solid var(--line); }
.review .r { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--mute); }
.review .r b { color: var(--ink); font-weight: 500; text-align: right; word-break: break-all; }
.review .r b.az { color: var(--azure2); font: 13px var(--mono); }
.steps2 { margin-top: 16px; display: grid; gap: 8px; }
.st { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--mute); }
.st i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--dim); flex: none; display: grid; place-items: center; font-style: normal; font-size: 11px; }
.st.run i { border-color: var(--azure2); border-top-color: transparent; animation: spin .8s linear infinite; }
.st.ok i { border-color: var(--mint); background: var(--mint); color: var(--bg); } .st.ok i::after { content: '✓'; }
.st.bad i { border-color: var(--red); background: var(--red); color: var(--bg); } .st.bad i::after { content: '!'; }
.st a { color: var(--azure2); }
@keyframes spin { to { transform: rotate(360deg); } }
.ibbar { margin-top: 26px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.ib { margin-top: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(17, 16, 23, .86); padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; animation: dropin .5s var(--ease) both; }
.ib .a { font: 13px var(--mono); color: var(--azure2); word-break: break-all; }
.ib .h { margin-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--mute); }
.ib .h span { display: inline-flex; gap: 6px; align-items: center; } .ib .h img { width: 16px; height: 16px; border-radius: 50%; }
.ib .h b { color: var(--ink); font-weight: 500; }
.ib .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) { .ib { grid-template-columns: 1fr; } .ib .acts { justify-content: flex-start; } }
.none2 { margin-top: 18px; padding: 34px; border: 1px dashed var(--line2); border-radius: 18px; text-align: center; color: var(--mute); }
.wmodal, .sheet { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(5, 5, 8, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.wmodal[hidden], .sheet[hidden] { display: none; }
.wbox, .sbox { width: min(440px, 100%); border-radius: 22px; border: 1px solid var(--line2); background: #121118; padding: 18px; animation: pop .4s var(--ease); }
.sbox { width: min(520px, 100%); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.whead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; } .whead b { font-size: 17px; font-weight: 600; }
.wx { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line2); background: transparent; color: var(--mute); cursor: pointer; }
.wlist { display: grid; gap: 8px; }
.wopt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--ink); font-size: 15px; text-align: left; cursor: pointer; }
.wopt:hover { border-color: var(--azure); } .wopt img, .wopt > i { width: 30px; height: 30px; border-radius: 8px; flex: none; background: var(--card2); }
.wopt span { flex: 1; } .wopt em { font: 12px var(--mono); font-style: normal; color: var(--azure2); } .wopt.out { justify-content: center; color: var(--red); }
.wcur { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--line); }
.wcur img, .wcur > i { width: 36px; height: 36px; border-radius: 9px; flex: none; } .wcur b { display: block; } .wcur code { display: block; font: 12px var(--mono); color: var(--mute); overflow-wrap: anywhere; }
.wnone, .wnote { margin: 0; color: var(--mute); font-size: 14px; } .wnote { margin-top: 14px; color: var(--dim); font-size: 13px; }
.seg { display: flex; gap: 6px; margin-bottom: 14px; } .seg button { flex: 1; height: 40px; border-radius: 12px; border: 1px solid var(--line2); background: transparent; color: var(--mute); cursor: pointer; font-size: 14px; } .seg button.on { border-color: var(--azure); color: var(--ink); background: rgba(61, 109, 255, .1); }
.warn { margin-top: 10px; font-size: 13.5px; color: #ffcf7a; }

.qrbox { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.qrbox canvas { border-radius: 14px; flex: none; }
.qrtx { flex: 1; min-width: 220px; } .qrtx b { font-size: 16px; font-weight: 600; } .qrtx .sm { margin-top: 6px; }
.req { margin-top: 14px; } .reqrow { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; } .reqrow .in { flex: 1; min-width: 120px; } .reqrow #rqAmt { flex: 0 0 120px; } #rqLine { margin-top: 6px; color: var(--mint); font-size: 12px; min-height: 1em; }

/* motion: each tab's cards rise in when the tab opens; the code card breathes */
.tab:not([hidden]) .card, .tab:not([hidden]) .th { animation: arise .6s cubic-bezier(.2, .7, .2, 1) both; }
.tab:not([hidden]) .card:nth-of-type(2) { animation-delay: .07s; } .tab:not([hidden]) .grid2 .card:nth-child(1) { animation-delay: .12s; } .tab:not([hidden]) .grid2 .card:nth-child(2) { animation-delay: .18s; }
@keyframes arise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tab .card, .tab .th { animation: none !important; } }
