/* ───────────────────────────────────────────────────────────
   OdysPay — halaman aplikasi (explore, launch, koin, dividen, docs)
   Di atas site.css + odys.css. Semua kelas berawalan ap- supaya tidak bentrok.
   ─────────────────────────────────────────────────────────── */

/* ── kerangka halaman ── */
.ap-page { padding-top: clamp(20px, 3.4vw, 48px); min-height: 60vh; }
.ap-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(30px, 3.6vw, 48px); }
.ap-head > div:first-child { min-width: 0; max-width: 820px; }
.ap-title { font-size: clamp(38px, 4.4vw, 68px); margin-top: 18px; }
.ap-lead { margin: 18px 0 0; max-width: 620px; }
.ap-head-side { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ap-crumb { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.ap-crumb a:hover { color: #fff; }
.ap-crumb b { color: var(--ink-2); font-weight: 500; }
.ap-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.ap-aside { position: sticky; top: 24px; display: grid; gap: 16px; }
.ap-stack { display: grid; gap: 16px; min-width: 0; }
.ap-box { padding: clamp(20px, 2.2vw, 28px); min-width: 0; }
.ap-box-h { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.ap-box-h h2, .ap-box-h h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.ap-box-h .dim { font-size: 13px; }
.ap-hr { height: 1px; background: var(--line); margin: 18px 0; border: 0; }
.ap-soft { color: var(--ink-3); }
.ap-mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.ap-blue { color: var(--blue-2); }

/* ── form ── */
.ap-sec { padding: clamp(20px, 2.2vw, 30px); }
.ap-sec + .ap-sec { margin-top: 16px; }
.ap-sec-h { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.ap-sec-n { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); background: rgba(255, 255, 255, 0.03); }
.ap-sec-h div > b { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: #fff; }
.ap-sec-h div > span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.ap-sec.done .ap-sec-n { border-color: rgba(79, 141, 255, 0.5); color: var(--blue-2); }
.ap-fl { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.ap-fl em { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.ap-in { width: 100%; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.32); color: var(--ink); font: inherit; font-size: 15px; transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none; }
.ap-in::placeholder { color: var(--faint); }
.ap-in:hover { border-color: rgba(255, 255, 255, 0.22); }
.ap-in:focus { outline: none; border-color: rgba(143, 181, 255, 0.55); background: rgba(0, 0, 0, 0.45); box-shadow: 0 0 0 3px rgba(79, 141, 255, 0.12); }
textarea.ap-in { height: auto; min-height: 112px; padding: 13px 16px; line-height: 1.6; resize: vertical; }
.ap-in.mono, .ap-in[inputmode=decimal] { font-family: var(--mono); font-size: 14px; }
.ap-in.bad { border-color: rgba(242, 109, 109, 0.55); }
.ap-pre { position: relative; }
.ap-pre > span { position: absolute; left: 16px; top: 0; bottom: 0; display: flex; align-items: center; color: var(--muted); font-weight: 600; pointer-events: none; }
.ap-pre > .ap-in { padding-left: 32px; text-transform: uppercase; font-weight: 600; letter-spacing: 0.02em; }
.ap-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ap-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ap-field + .ap-field, .ap-row2 + .ap-field, .ap-field + .ap-row2, .ap-row2 + .ap-row2, .ap-field + .ap-row3 { margin-top: 16px; }
.ap-row2 > .ap-field, .ap-row3 > .ap-field { margin-top: 0 !important; }
.ap-help + .ap-field { margin-top: 16px; }
.ap-help { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.ap-help.bad { color: #f4a3a3; }
select.ap-in { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b9ba4' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; cursor: pointer; }
select.ap-in option { background: #16161a; color: var(--ink); }

/* pencarian */
.ap-search { position: relative; display: block; min-width: 0; }
.ap-search .icon { position: absolute; left: 16px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.ap-search .ap-in { padding-left: 44px; }
.ap-search .ap-in::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }

/* ── pemilih aset dividen ── */
.ap-pickbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-bottom: 14px; }
.ap-pickbar .seg { min-width: 0; }
.ap-pickbar .seg button { flex: none; padding: 0 14px; white-space: nowrap; }
.ap-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; }
.ap-opt { position: relative; display: flex; align-items: center; gap: 11px; min-width: 0; padding: 11px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); text-align: left; transition: border-color .2s, background .2s; }
.ap-opt:hover { border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.045); }
.ap-opt .ava { width: 32px; height: 32px; }
.ap-opt-t { min-width: 0; flex: 1; }
.ap-opt-t b { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.ap-opt-t small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-opt-p { text-align: right; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); line-height: 1.45; flex: none; }
.ap-opt.on { border-color: rgba(143, 181, 255, 0.6); background: linear-gradient(180deg, rgba(79, 141, 255, 0.10), rgba(79, 141, 255, 0.03)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.ap-opt.on::after { content: ""; position: absolute; top: 9px; right: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 8px rgba(79, 141, 255, 0.9); }
.ap-pick-more { display: flex; justify-content: center; margin-top: 14px; }
.ap-picked { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(143, 181, 255, 0.35); background: rgba(79, 141, 255, 0.05); margin-bottom: 14px; }
.ap-picked .ava { width: 40px; height: 40px; }
.ap-picked b { display: block; color: #fff; font-weight: 600; }
.ap-picked small { color: var(--ink-3); font-size: 13px; }
.ap-picked > div { flex: 1; min-width: 0; }

/* ── unggah logo ── */
.ap-logo { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: center; }
.ap-drop { position: relative; width: 112px; height: 112px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.24); background: rgba(0, 0, 0, 0.3); display: grid; place-items: center; overflow: hidden; cursor: pointer; transition: border-color .2s, background .2s; color: var(--muted); }
.ap-drop:hover, .ap-drop.over { border-color: rgba(143, 181, 255, 0.6); background: rgba(79, 141, 255, 0.06); color: var(--ink-2); }
.ap-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-drop .icon { width: 22px; height: 22px; }
.ap-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ap-logo-t b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.ap-logo-t p { margin: 6px 0 12px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.ap-logo-t p .icon { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }
.ap-upbar { display: block; position: relative; height: 3px; width: 100%; max-width: 260px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-bottom: 8px; }
.ap-upbar i { position: absolute; top: 0; bottom: 0; width: 40%; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--blue-2), transparent); animation: ap-slide 1.3s ease-in-out infinite; }
@keyframes ap-slide { from { left: -40%; } to { left: 100%; } }
.ap-link-btn { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); font-size: inherit; }
.ap-link-btn:hover { text-decoration-color: var(--blue-2); }
.ap-logo-t .btn { height: 36px; padding: 0 14px; font-size: 12.5px; }

/* ── pilihan cepat (chip) ── */
.ap-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ap-chips .chip { height: 38px; padding: 0 16px; font-size: 12px; cursor: pointer; }
.ap-chips .ap-in { width: 150px; height: 38px; font-size: 13px; }
.ap-paywith { display: inline-flex; margin-bottom: 14px; }
.ap-paywith.seg button { flex: none; padding: 0 16px; height: 32px; font-size: 13px; }
.ap-quote { margin-top: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); font-size: 13.5px; color: var(--ink-3); line-height: 1.6; }
.ap-quote b { color: var(--ink); font-weight: 600; }
.ap-quote .ap-mono { color: var(--ink-2); }
.ap-walletline { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.ap-walletline .btn { height: 34px; padding: 0 14px; font-size: 12.5px; }

/* ── kartu pratinjau koin ── */
.ap-prev { padding: 24px; }
.ap-prev-top { display: flex; align-items: center; gap: 16px; }
.ap-prev-top .ava { width: 64px; height: 64px; font-size: 16px; }
.ap-prev-top b { display: block; font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; color: #fff; overflow-wrap: anywhere; line-height: 1.1; }
.ap-prev-top small { display: block; margin-top: 4px; color: var(--ink-3); font-size: 14px; overflow-wrap: anywhere; }
.ap-pays { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.ap-pays .ava { width: 22px; height: 22px; font-size: 8.5px; }
.ap-pays b { color: #fff; font-weight: 600; }
.ap-prev .ap-pays { margin-top: 18px; }
.ap-gets { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.ap-gets-big { font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -0.03em; color: #fff; margin: 10px 0 2px; }
.ap-gets-big span { font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: -0.01em; }
.ap-split-bar { display: flex; height: 6px; border-radius: 6px; overflow: hidden; margin: 14px 0 10px; background: rgba(255, 255, 255, 0.06); }
.ap-split-bar i { display: block; height: 100%; }
.ap-split-bar i:nth-child(1) { width: 70%; background: linear-gradient(90deg, #cfd2d9, #fff); }
.ap-split-bar i:nth-child(2) { width: 30%; background: rgba(255, 255, 255, 0.22); }
.ap-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.ap-legend span { display: inline-flex; align-items: center; gap: 7px; }
.ap-legend i { width: 8px; height: 8px; border-radius: 2px; background: #fff; }
.ap-legend span + span i { background: rgba(255, 255, 255, 0.3); }
.ap-legend span:nth-child(3) i { background: transparent; border: 1px solid var(--line-2); }
.ap-kvs { margin-top: 16px; }
.ap-kv { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.ap-kv:last-child { border-bottom: 0; }
.ap-kv > span { color: var(--ink-3); flex: none; }
.ap-kv > b { font-weight: 500; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; min-width: 0; overflow-wrap: anywhere; }
.ap-kv a { display: inline-flex; align-items: center; gap: 6px; }
.ap-kv a:hover { color: #fff; }
.ap-kv .icon { width: 13px; height: 13px; }

/* ── pemberitahuan ── */
.ap-note, .ap-warn, .ap-ok { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 13.5px; line-height: 1.6; }
.ap-note { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--ink-3); }
.ap-warn { border: 1px solid rgba(229, 177, 85, 0.3); background: rgba(229, 177, 85, 0.06); color: #ecd3a4; }
.ap-ok { border: 1px solid rgba(143, 181, 255, 0.28); background: rgba(79, 141, 255, 0.06); color: var(--ink-2); }
.ap-note > .icon, .ap-warn > .icon, .ap-ok > .icon { width: 17px; height: 17px; margin-top: 2px; flex: none; }
.ap-ok > .icon { color: var(--blue-2); }
.ap-note b, .ap-ok b { color: var(--ink); font-weight: 600; }
.ap-note > div, .ap-warn > div, .ap-ok > div { min-width: 0; flex: 1; }
.ap-warn .btn, .ap-ok .btn, .ap-note .btn { margin-top: 12px; }
.ap-errs { display: grid; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.ap-errs li { position: relative; padding-left: 16px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.ap-errs li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.ap-cta { width: 100%; margin-top: 18px; }
.ap-cta.btn-grad:disabled { opacity: 0.4; transform: none; }

/* ── progres 3 langkah launch ── */
.ap-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; }
.ap-step { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 0 0 18px; }
.ap-step:last-child { padding-bottom: 0; }
.ap-step::before { content: ""; position: absolute; left: 13.5px; top: 30px; bottom: 2px; width: 1px; background: var(--line-2); }
.ap-step:last-child::before { display: none; }
.ap-step-i { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--muted); background: var(--bg-2); position: relative; z-index: 1; }
.ap-step-i .icon { width: 14px; height: 14px; display: none; }
.ap-step b { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); padding-top: 4px; }
.ap-step small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.ap-step-tx { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 6px; }
.ap-step-tx a { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.ap-step-tx a:hover { color: #fff; }
.ap-step-tx .icon { width: 11px; height: 11px; }
.ap-step.is-on .ap-step-i { border-color: rgba(143, 181, 255, 0.7); color: var(--blue-2); box-shadow: 0 0 0 4px rgba(79, 141, 255, 0.12); }
.ap-step.is-on .ap-step-i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid transparent; border-top-color: var(--blue-2); animation: ap-spin 1s linear infinite; }
.ap-step.is-on b { color: #fff; }
.ap-step.is-ok .ap-step-i { background: var(--grad); border-color: transparent; color: #0a0a0c; font-size: 0; }
.ap-step.is-ok .ap-step-i .icon { display: block; stroke-width: 2.4; }
.ap-step.is-ok b { color: var(--ink); }
.ap-step.is-ok::before { background: rgba(255, 255, 255, 0.4); }
.ap-step.is-bad .ap-step-i { border-color: rgba(242, 109, 109, 0.7); color: var(--red); }
.ap-step.is-bad small { color: #f4a3a3; }
@keyframes ap-spin { to { transform: rotate(360deg); } }
.ap-status { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-3); line-height: 1.55; min-height: 1em; }
.ap-status:empty { display: none; }

/* ── daftar koin (explore) ── */
.ap-tools { display: grid; grid-template-columns: minmax(0, 1fr) 220px auto; gap: 10px; align-items: center; margin-bottom: 16px; }
.ap-tools .seg { min-width: 0; }
.ap-tools .seg button { padding: 0 14px; white-space: nowrap; }
.ap-list { overflow: hidden; }
.ap-lrow { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 0.9fr); align-items: center; gap: 14px; padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 14px; }
.ap-lrow:last-child { border-bottom: 0; }
.ap-lrow > span { min-width: 0; display: flex; align-items: center; gap: 12px; }
a.ap-lrow { transition: background .2s; }
a.ap-lrow:hover { background: rgba(255, 255, 255, 0.03); }
.ap-lh { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 18px; padding-bottom: 14px; }
.ap-lh button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; display: inline-flex; align-items: center; gap: 4px; }
.ap-lh button.on { color: var(--ink-2); }
.ap-who { min-width: 0; }
.ap-who .ava { width: 38px; height: 38px; }
.ap-who b { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 15px; }
.ap-who small { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-who > span:last-child { min-width: 0; }
.ap-v { font-family: var(--mono); font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--ink); }
.ap-v small { display: block; font-size: 11.5px; color: var(--muted); }
.ap-v.col { flex-direction: column; align-items: flex-end !important; gap: 2px !important; }
.ap-v.col.ap-left { align-items: flex-start !important; }
.ap-who b { flex-wrap: wrap; row-gap: 4px; }
.ap-lrow .r { justify-content: flex-end; text-align: right; }
.ap-lrow > .ap-c-m { display: none; }
.ap-chips .chip .ava-sm { margin-left: -10px; }
.ap-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; white-space: nowrap; }
.ap-tag.blue { border-color: rgba(143, 181, 255, 0.45); color: var(--blue-2); }
.ap-tag.warn { border-color: rgba(229, 177, 85, 0.45); color: var(--amber); }
.ap-prog { display: flex; align-items: center; gap: 10px; width: 100%; justify-content: flex-end; }
.ap-prog .bar { width: 64px; }
.ap-prog .ap-v { font-size: 12px; color: var(--ink-3); min-width: 42px; text-align: right; }
.ap-count { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.ap-eco { margin-top: clamp(56px, 7vw, 96px); }
.ap-eco .h2 { font-size: clamp(26px, 2.6vw, 38px); }
.ap-listfoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }

/* keadaan kosong */
.ap-empty { padding: clamp(48px, 7vw, 84px) 24px; display: grid; place-items: center; text-align: center; }
.ap-empty-in { max-width: 540px; display: flex; flex-direction: column; align-items: center; }
.ap-empty-ic { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; background: rgba(255, 255, 255, 0.03); color: var(--ink-2); }
.ap-empty-ic .icon { width: 22px; height: 22px; }
.ap-empty h3 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; margin: 22px 0 12px; line-height: 1.2; }
.ap-empty p { color: var(--ink-3); margin: 0 0 24px; font-size: 15px; line-height: 1.65; }
.ap-empty .ap-chips { justify-content: center; margin-top: 22px; }
.ap-empty-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ap-empty.sm { padding: 40px 20px; }
.ap-empty.sm h3 { font-size: 20px; margin-top: 16px; }
.ap-empty.sm p { font-size: 14px; margin-bottom: 18px; }
.ap-skel { height: 14px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)); background-size: 200% 100%; animation: ap-shine 1.4s linear infinite; }
@keyframes ap-shine { to { background-position: -200% 0; } }

/* ── halaman koin ── */
.ap-coinhead { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ap-coinhead > .ava { width: 84px; height: 84px; font-size: 20px; border-color: rgba(255, 255, 255, 0.18); }
.ap-coinhead-t { flex: 1; min-width: 0; }
.ap-coinhead h1 { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(34px, 3.6vw, 54px); letter-spacing: -0.045em; line-height: 1.02; overflow-wrap: anywhere; }
.ap-coinhead h1 .soft { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 500; }
.ap-coinhead-sub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.ap-coinhead-sub .ap-soft { font-size: 14px; }
.ap-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.ap-links .btn { height: 38px; padding: 0 14px; font-size: 13px; gap: 8px; }
.ap-links .btn .icon { width: 14px; height: 14px; }
.ap-ca { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 10, 12, 0.6); font-family: var(--mono); font-size: 12px; color: var(--ink-2); max-width: 100%; }
.ap-ca:hover { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.ap-ca .icon { width: 14px; height: 14px; }
.ap-ca span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ap-stat { padding: 20px 0 22px; min-width: 0; }
.ap-stat:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.ap-stat:nth-child(n + 4) { border-top: 1px solid var(--line); }
.ap-stat strong { display: block; margin-top: 10px; font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.1vw, 32px); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-stat small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-stat strong.ap-blue { color: var(--blue-2); }
.ap-progline { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.ap-progline b { color: #fff; font-weight: 600; }
.ap-track { position: relative; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.ap-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, #9ea2ab, #fff); transition: width .8s cubic-bezier(.2, .8, .2, 1); }

/* grafik harga (SVG) */
.ap-chart { position: relative; height: 280px; }
.ap-chart svg { width: 100%; height: 100%; overflow: visible; }
.ap-chart-tip { position: absolute; top: 8px; pointer-events: none; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(14, 14, 17, 0.92); font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); white-space: nowrap; transform: translateX(-50%); opacity: 0; transition: opacity .15s; }
.ap-chart-tip b { display: block; color: #fff; font-weight: 500; font-size: 12.5px; }
.ap-chart:hover .ap-chart-tip.show { opacity: 1; }
.ap-chart-empty { height: 100%; display: grid; place-content: center; text-align: center; color: var(--ink-3); font-size: 14px; gap: 6px; border: 1px dashed var(--line-2); border-radius: 16px; }
.ap-chart-empty b { color: var(--ink); font-weight: 600; font-size: 15px; }
.ap-range.seg { padding: 3px; border-radius: 11px; }
.ap-range.seg button { flex: none; height: 28px; padding: 0 11px; font-size: 12px; border-radius: 8px; }

/* tabel epoch */
.ap-tbl { overflow: hidden; margin: 0 calc(-1 * clamp(20px, 2.2vw, 28px)) calc(-1 * clamp(20px, 2.2vw, 28px)); border-top: 1px solid var(--line); }
.ap-trow { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: 12px; align-items: center; padding: 14px clamp(20px, 2.2vw, 28px); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.ap-trow:last-child { border-bottom: 0; }
.ap-trow > span { min-width: 0; display: flex; align-items: center; gap: 10px; }
.ap-trow .r { justify-content: flex-end; text-align: right; }
.ap-trow.ap-lh { padding-top: 14px; padding-bottom: 12px; }
.ap-trow .n { font-family: var(--mono); color: var(--muted); font-size: 12.5px; }
.ap-trow .bar { width: 48px; }
.ap-trow > .ap-c-coll { padding-left: 18px; }
.ap-tmore { display: flex; justify-content: center; padding: 14px; border-top: 1px solid var(--line); }

/* panel trade */
.ap-trade .seg { margin-bottom: 16px; }
.ap-tbox { border-radius: 16px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.3); padding: 12px 14px 14px; }
.ap-tbox + .ap-tbox { margin-top: 8px; }
.ap-tbox:focus-within { border-color: rgba(143, 181, 255, 0.45); }
.ap-tbox-h { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); }
.ap-tbox-i { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.ap-tbox-i input { flex: 1; width: 100%; min-width: 0; height: 40px; border: 0; background: transparent; color: #fff; font-family: var(--display); font-size: 26px; font-weight: 500; letter-spacing: -0.02em; outline: none; font-variant-numeric: tabular-nums; }
.ap-tbox-i input::placeholder { color: var(--faint); }
.ap-unit { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 5px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); font-size: 13.5px; font-weight: 600; color: #fff; flex: none; max-width: 52%; }
.ap-unit .ava { width: 26px; height: 26px; font-size: 9px; }
.ap-unit span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-tbox-q { display: flex; gap: 6px; margin-top: 10px; }
.ap-tbox-q button { height: 26px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.ap-tbox-q button:hover { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.ap-flip { display: flex; justify-content: center; margin: -4px 0; position: relative; z-index: 1; height: 0; }
.ap-flip span { width: 32px; height: 32px; margin-top: -12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); display: grid; place-items: center; color: var(--ink-3); }
.ap-flip .icon { width: 14px; height: 14px; transform: rotate(90deg); }
.ap-trade-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.ap-trade-meta select { height: 28px; padding: 0 26px 0 10px; border-radius: 8px; font-size: 12px; width: auto; background-position: right 8px center; background-size: 12px; }
.ap-swaphelp { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.ap-swaphelp summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-2); }
.ap-swaphelp summary::-webkit-details-marker { display: none; }
.ap-swaphelp summary .icon { width: 15px; height: 15px; color: var(--muted); transition: transform .2s; }
.ap-swaphelp[open] summary .icon { transform: rotate(180deg); }
.ap-swaphelp-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }
.ap-swaphelp-in .ap-in { height: 42px; }
.ap-swaphelp-in .btn { height: 42px; padding: 0 16px; font-size: 13px; }

/* panel dividen milik holder */
.ap-claim-big { font-family: var(--display); font-size: 34px; font-weight: 600; letter-spacing: -0.03em; color: #fff; margin: 12px 0 2px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ap-claim-big span { font-size: 16px; color: var(--ink-3); font-weight: 500; }
.ap-claim-sub { font-size: 13px; color: var(--muted); }
.ap-2btn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.ap-2btn .btn { padding: 0 14px; }
.ap-drip-rec { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.ap-drip-rec b { color: #fff; font-weight: 600; }
.ap-desc { font-size: 14.5px; line-height: 1.7; color: var(--ink-3); white-space: pre-line; overflow-wrap: anywhere; margin: 0; }

/* ── terminal koin ── */
.ap-coinhead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; }
.ap-coinhead-row .ap-links { margin-top: 0; min-width: 0; max-width: 100%; }
.ap-coinhead-row > * { min-width: 0; max-width: 100%; }
.ap-ca { min-width: 0; }
.ap-ca span { min-width: 0; }
.ap-statbar { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin-top: 26px; overflow: hidden; }
.ap-sb { padding: 18px 20px; border-left: 1px solid var(--line); min-width: 0; }
.ap-sb:first-child { border-left: 0; }
.ap-sb strong { display: block; margin-top: 10px; font-family: var(--display); font-weight: 500; font-size: clamp(17px, 1.35vw, 22px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-sb strong.up { color: var(--up); }
.ap-sb strong.down { color: var(--red); }
.ap-sb strong.ap-blue { color: var(--blue-2); }
.ap-sb small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-sb .ap-track { margin-top: 9px; height: 4px; }
#feebox:empty { display: none; }
#feebox { margin-top: 16px; }
.ap-coinsplit { margin-top: 16px; }
.ap-coinsplit .ap-aside { position: static; }
.ap-chart-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ap-chart-legend { display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; min-height: 28px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ap-chart-legend i { font-style: normal; color: var(--muted); margin-right: 5px; }
.ap-chart-legend b { color: #fff; font-weight: 500; }
.ap-chart-ctl { display: flex; gap: 8px; flex-wrap: wrap; }
.ap-tv { position: relative; height: 420px; margin: 0 -6px -6px; }
.ap-tv-note { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; gap: 6px; text-align: center; color: var(--ink-3); font-size: 14px; pointer-events: none; }
.ap-tv-note b { color: var(--ink); font-weight: 600; font-size: 15px; }
.ap-tabs-h { margin-bottom: 14px; }
.ap-tabs.seg { padding: 3px; border-radius: 12px; }
.ap-tabs.seg button { flex: none; height: 32px; padding: 0 16px; font-size: 13px; border-radius: 9px; }
.ap-trd { display: grid; grid-template-columns: 56px 62px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr) 30px; gap: 10px; align-items: center; padding: 11px clamp(20px, 2.2vw, 28px); border-bottom: 1px solid var(--line); font-size: 13px; }
.ap-hrow { display: grid; grid-template-columns: 40px minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: center; padding: 11px clamp(20px, 2.2vw, 28px); border-bottom: 1px solid var(--line); font-size: 13px; }
.ap-trd > span, .ap-hrow > span { min-width: 0; display: flex; align-items: center; gap: 6px; }
.ap-trd .r, .ap-hrow .r { justify-content: flex-end; text-align: right; }
.ap-trd.ap-lh, .ap-hrow.ap-lh { padding-top: 12px; padding-bottom: 10px; }
.ap-trd:last-child, .ap-hrow:last-child { border-bottom: 0; }
.ap-hrow .n { font-family: var(--mono); color: var(--muted); font-size: 12px; }
.ap-trd a:hover, .ap-hrow a:hover { color: #fff; }
.ap-side-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.ap-side-tag.up { color: var(--up); background: var(--up-soft); }
.ap-side-tag.down { color: var(--red); background: var(--red-soft); }
.ap-txlink { display: inline-flex; color: var(--muted); }
.ap-txlink:hover { color: #fff; }
.ap-txlink .icon { width: 13px; height: 13px; }
.ap-trade .ap-side { margin-bottom: 14px; }
.ap-with { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: 12.5px; color: var(--muted); }
.ap-tkvs { margin-top: 10px; }
.ap-tkvs .ap-kv { padding: 8px 0; font-size: 12.5px; align-items: center; }
.ap-slip.seg { display: inline-flex; padding: 2px; border-radius: 9px; }
.ap-slip.seg button { flex: none; height: 24px; padding: 0 9px; font-size: 11.5px; border-radius: 7px; }
.ap-trade .ap-steps { margin-top: 14px; }

/* ── dividen saya ── */
.ap-drow { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, 0.8fr) auto; gap: 16px; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.ap-drow:last-child { border-bottom: 0; }
.ap-drow > * { min-width: 0; display: flex; align-items: center; gap: 12px; }
.ap-drow.ap-lh { padding-top: 16px; padding-bottom: 12px; }
.ap-drow .r { justify-content: flex-end; text-align: right; }
.ap-drow-btns { display: flex; gap: 8px; justify-content: flex-end; }
.ap-drow-btns .btn { height: 38px; padding: 0 16px; font-size: 13px; }
.ap-group { margin-top: 30px; }
.ap-group > .label { display: block; margin-bottom: 12px; }

/* ── docs ── */
.ap-docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.ap-toc { position: sticky; top: 28px; display: grid; gap: 2px; }
.ap-toc .label { margin-bottom: 12px; }
.ap-toc a { display: block; padding: 8px 0 8px 14px; border-left: 1px solid var(--line); font-size: 14px; color: var(--ink-3); transition: color .2s, border-color .2s; }
.ap-toc a:hover { color: #fff; }
.ap-toc a.on { color: #fff; border-left-color: var(--blue-2); }
.ap-doc { max-width: 780px; min-width: 0; }
.ap-doc section { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); scroll-margin-top: 28px; }
.ap-doc section:last-child { border-bottom: 0; }
.ap-doc h2 { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.035em; margin: 10px 0 18px; line-height: 1.15; }
.ap-doc h3 { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.02em; margin: 28px 0 10px; }
.ap-doc p, .ap-doc li { font-size: 15.5px; line-height: 1.75; color: var(--ink-3); }
.ap-doc p { margin: 0 0 14px; }
.ap-doc b, .ap-doc strong { color: var(--ink); font-weight: 600; }
.ap-doc ul { margin: 0 0 14px; padding-left: 20px; }
.ap-doc li { margin-bottom: 6px; }
.ap-doc li::marker { color: var(--muted); }
.ap-doc a.ap-link, .ap-doc p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.ap-doc p a:hover { text-decoration-color: var(--blue-2); }
.ap-doc code { font-family: var(--mono); font-size: 0.86em; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); color: var(--ink-2); overflow-wrap: anywhere; }
.ap-calls { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 18px 0; }
.ap-call { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.ap-call:last-child { border-bottom: 0; }
.ap-call .n { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.ap-call code { display: inline-block; background: none; padding: 0; font-size: 13px; color: #fff; overflow-wrap: anywhere; }
.ap-call p { margin: 6px 0 0; font-size: 14px; line-height: 1.65; }
.ap-feegrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 18px 0; }
.ap-feegrid > div { padding: 18px; border-left: 1px solid var(--line); }
.ap-feegrid > div:first-child { border-left: 0; }
.ap-feegrid strong { display: block; margin-top: 10px; font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: -0.03em; color: #fff; }
.ap-feegrid small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.ap-feegrid > div:nth-child(2) strong { color: var(--blue-2); }
.ap-addr { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 18px 0; }
.ap-addr > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; align-items: center; }
.ap-addr > div:last-child { border-bottom: 0; }
.ap-addr span { color: var(--ink-3); }
.ap-addr a { font-family: var(--mono); font-size: 12.5px; color: var(--ink); overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: 6px; }
.ap-addr a:hover { color: #fff; }
.ap-addr .icon { width: 12px; height: 12px; flex: none; }
.ap-faq { border-top: 1px solid var(--line); }
.ap-faq details { border-bottom: 1px solid var(--line); }
.ap-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 16px; font-weight: 500; color: var(--ink); }
.ap-faq summary::-webkit-details-marker { display: none; }
.ap-faq summary .icon { width: 16px; height: 16px; color: var(--muted); flex: none; transition: transform .2s; }
.ap-faq details[open] summary .icon { transform: rotate(180deg); }
.ap-faq details p { margin: -4px 0 18px; }
.ap-doc-cta { margin-top: 12px; padding: clamp(28px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.ap-doc-cta h3 { margin: 10px 0 0; font-family: var(--display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.035em; }

/* ── responsif ── */
@media (max-width: 1360px) {
  .ap-statbar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ap-sb:nth-child(4n + 1) { border-left: 0; }
  .ap-sb:nth-child(n + 5) { border-top: 1px solid var(--line); }
}
@media (max-width: 1180px) {
  .ap-lrow { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr); }
  .ap-lrow > .ap-c-pend, .ap-lrow > .ap-c-yield { display: none; }
  .ap-split { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); }
}
@media (max-width: 980px) {
  .ap-split { grid-template-columns: 1fr; }
  .ap-aside { position: static; }
  /* halaman koin: grafik → trade → dividen → tab → about */
  .ap-coinsplit { display: flex; flex-direction: column; gap: 16px; }
  .ap-coinsplit > .ap-stack, .ap-coinsplit > .ap-aside { display: contents; }
  .ap-coinsplit .ap-stack > *, .ap-coinsplit .ap-aside > * { min-width: 0; max-width: 100%; }
  .ap-coinsplit #chartcard { order: 1; } .ap-coinsplit #trade { order: 2; } .ap-coinsplit #holder { order: 3; } .ap-coinsplit #tabs { order: 4; } .ap-coinsplit #about { order: 5; }
  .ap-tools { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ap-tools .seg { grid-column: 1 / -1; }
  .ap-docs { grid-template-columns: 1fr; }
  .ap-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .ap-toc .label { flex-basis: 100%; margin-bottom: 4px; }
  .ap-toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
  .ap-toc a.on { border-color: rgba(143, 181, 255, 0.5); }
  .ap-drow { grid-template-columns: minmax(0, 1fr) auto; }
  .ap-drow > .ap-c-epochs { display: none !important; }
  .ap-drow.ap-lh > :nth-child(2) { justify-content: flex-end; }
  .ap-drow .ap-v.col.ap-left { align-items: flex-end !important; text-align: right; }
  .ap-drow-btns { grid-column: 1 / -1; justify-content: stretch; }
  .ap-drow-btns .btn { flex: 1; }
}
@media (max-width: 760px) {
  .ap-pickbar { grid-template-columns: 1fr; }
  .ap-pickbar .seg { min-width: 0; }
  .ap-lrow { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 16px; gap: 6px 12px; }
  .ap-lrow.ap-lh { display: none; }
  .ap-lrow > span:not(.ap-who):not(.ap-c-m) { display: none; }
  .ap-lrow > .ap-c-m { display: flex; }
  .ap-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-stat:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .ap-stat:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .ap-stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ap-trow { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 0.8fr); }
  .ap-trow > .ap-c-val, .ap-trow > .ap-c-exp { display: none; }
  .ap-feegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-feegrid > div:nth-child(3) { border-left: 0; }
  .ap-feegrid > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ap-addr > div { grid-template-columns: 1fr; gap: 4px; }
  .ap-chart { height: 220px; }
}
@media (max-width: 560px) {
  .ap-statbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-sb { padding: 14px 16px; }
  .ap-sb:nth-child(4n + 1) { border-left: 1px solid var(--line); }
  .ap-sb:nth-child(odd) { border-left: 0; }
  .ap-sb:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ap-tv { height: 300px; }
  .ap-trd { grid-template-columns: 40px 52px minmax(0, 1fr) auto; padding-left: 16px; padding-right: 16px; }
  .ap-trd > .ap-c-tok, .ap-trd > .ap-c-q, .ap-trd > .ap-c-tx { display: none; }
  .ap-hrow { grid-template-columns: 28px minmax(0, 1fr) auto; padding-left: 16px; padding-right: 16px; }
  .ap-hrow > :nth-child(3) { display: none; }
  .ap-row2, .ap-row3 { grid-template-columns: 1fr; }
  .ap-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-opt { padding: 10px; gap: 9px; }
  .ap-opt .ava { width: 28px; height: 28px; }
  .ap-opt-p { display: none; }
  .ap-tools { grid-template-columns: 1fr; }
  .ap-tools .seg { overflow-x: auto; scrollbar-width: none; }
  .ap-tools .seg::-webkit-scrollbar { display: none; }
  .ap-logo { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  .ap-drop { width: 88px; height: 88px; }
  .ap-coinhead { gap: 16px; }
  .ap-coinhead > .ava { width: 64px; height: 64px; }
  .ap-trow { grid-template-columns: 36px minmax(0, 1fr) minmax(0, 0.8fr); padding-left: 16px; padding-right: 16px; }
  .ap-trow > .ap-c-coll { display: none; }
  .ap-tbl { margin: 0 -20px -20px; }
  .ap-drow { padding: 16px; }
  .ap-2btn { grid-template-columns: 1fr; }
  .ap-chips .ap-in { width: 100%; }
  .ap-doc-cta .btn { width: 100%; }
  .ap-stat strong { font-size: 22px; }
}
