.app-template2 {
    --bg: #f7f5fc;
    --surface: #fff;
    --ink: #211d2c;
    --muted: #787282;
    --line: #e5dfe9;
    --purple: #5915e1;
    --purple-dark: #3c087e;
    --purple-soft: #f1d9ff;
    --green: #07984f;
    --rose: #c92c57;
    --danger: #df243b;
    min-height: 100vh;
    background: #f3f0f8;
    color: var(--ink);
    font-family: "Microsoft YaHei UI", "PingFang SC", sans-serif;
}
.app-template2 .topbar {
    width: min(560px, 100%);
    min-height: 76px;
    margin: 0 auto;
    padding: 18px 26px;
    border: 0;
    background: rgba(255,255,255,.96);
    box-shadow: none;
}
.app-template2 .brand { gap: 14px; color: #111; font-size: 20px; }
.app-template2 .brand-mark { width: 54px; height: 42px; border-radius: 8px; background: #050505; color: #fff; font-size: 17px; }
.app-template2 .shell { width: min(560px, 100%); min-height: calc(100vh - 76px); margin: 0 auto; padding: 0 0 104px; background: #fff; }
.app-template2 .flash { width: min(530px, 100%); margin: 0 auto; border-radius: 0; background: #eaf8ee; color: #126b37; }
.app-template2 .flash.bad { background: #fff0f1; color: #a52434; }
.app-template2 small { color: var(--muted); }
.app-template2 .auth-panel { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1fr; align-content: center; gap: 28px; padding: 40px 28px; }
.app-template2 .auth-copy { text-align: left; }
.app-template2 .auth-copy h1 { color: var(--purple-dark); font-size: 36px; line-height: 1.15; }
.app-template2 .auth-copy p { color: var(--muted); line-height: 1.8; }
.app-template2 .eyebrow { color: var(--purple); letter-spacing: .08em; }
.app-template2 .card,
.app-template2 .table-card { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(55,23,83,.06); }
.app-template2 .form { gap: 18px; }
.app-template2 .form label { color: #514959; font-weight: 700; }
.app-template2 input,
.app-template2 select,
.app-template2 textarea { min-height: 46px; border-color: #dcd4e3; border-radius: 10px; background: #fff; color: var(--ink); }
.app-template2 input:focus,
.app-template2 select:focus,
.app-template2 textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(89,21,225,.1); }
.app-template2 input::placeholder,
.app-template2 textarea::placeholder { color: #9a91a5; opacity: 1; }
.app-template2 input:focus,
.app-template2 select:focus,
.app-template2 textarea:focus,
.app-template2 input:focus-visible,
.app-template2 select:focus-visible,
.app-template2 textarea:focus-visible { background-color: #17131e; color: #f4f0fb; caret-color: #f4f0fb; }
.app-template2 input:-webkit-autofill,
.app-template2 input:-webkit-autofill:hover,
.app-template2 input:-webkit-autofill:focus,
.app-template2 textarea:-webkit-autofill,
.app-template2 select:-webkit-autofill {
    -webkit-text-fill-color: #f4f0fb;
    caret-color: #f4f0fb;
    box-shadow: 0 0 0 1000px #17131e inset;
}
.app-template2 .btn { min-height: 46px; border: 1px solid #d8d0df; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 800; }
.app-template2 .btn.primary { border-color: var(--purple); background: var(--purple); color: #fff; box-shadow: 0 7px 16px rgba(89,21,225,.18); }
.app-template2 .btn.danger { border-color: var(--danger); background: var(--danger); color: #fff; }
.app-template2 .muted-link,
.app-template2 .hint { color: var(--muted); }
.template2-market-summary { display: grid; gap: 10px; margin: 14px 26px 18px; padding: 22px 24px; border: 1px solid #bfa2d8; border-radius: 16px; background: linear-gradient(115deg,#ffe8fa 0%,#efd4ff 55%,#e4d1ff 100%); box-shadow: 0 8px 22px rgba(112,46,142,.1); }
.template2-market-summary div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.template2-market-summary span,
.template2-market-summary strong { font-size: 17px; font-weight: 800; }
.template2-market-summary strong { color: #4c176e; }
.app-template2 .template2-market-head { padding: 0 26px 18px; background: #fff; }
.app-template2 .template2-market-head .balance-strip { padding: 0 0 15px; color: #342c3c; font-size: 14px; font-weight: 800; }
.app-template2 .template2-market-head .balance-strip span:first-child::before { color: #22a65a; }
.template2-market-actions { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.template2-market-actions .sell-payment-form { min-width: 0; display: block; }
.template2-action { width: 100%; min-width: 0; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 5px; border: 1px solid #77727f; border-radius: 22px; background: linear-gradient(180deg,#fff,#f2f0f4); color: #302b36; box-shadow: 0 3px 0 #d1ccd5; font-size: 13px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.template2-market-actions > :last-child { border-color: var(--purple-dark); color: var(--purple-dark); }
.app-template2 .sell-filter-selector { position: relative; }
.app-template2 .sell-filter-picker { top: calc(100% + 9px); z-index: 20; padding: 12px; border-color: #cdbdd8; border-radius: 14px; background: #fff; box-shadow: 0 18px 42px rgba(47,20,67,.18); }
.app-template2 .sell-payment-options { grid-template-columns: 1fr; }
.app-template2 .sell-payment-option span { min-height: 62px; border-color: #ded4e6; border-radius: 10px; background: #faf8fc; }
.app-template2 .sell-payment-option strong { color: var(--ink); }
.app-template2 .sell-payment-option input:checked + span { border-color: var(--purple); background: #f1e6ff; box-shadow: inset 0 0 0 1px var(--purple); }
.app-template2 .template2-amount-filter { grid-template-columns: 1fr 1fr auto auto; margin-top: 14px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.app-template2 .template2-amount-filter input { min-height: 40px; border-radius: 10px; background: #faf8fc; }
.app-template2 .admin-notice { margin: 14px 26px; border-radius: 12px; background: #f0e8fb; color: #53316e; }
.app-template2 .trade-closed { margin: 18px 26px; border-color: #d6c6e1; border-radius: 14px; background: #faf7fd; }
.app-template2 .offer-grid { gap: 18px; padding: 0 34px 22px; }
.app-template2 .offer.card { display: block; overflow: hidden; padding: 0; border: 1.5px solid #9161ae; border-radius: 16px; background: #fff; box-shadow: 0 6px 14px rgba(89,35,110,.09); }
.template2-offer-head { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-bottom: 1px solid #d8c7e1; background: linear-gradient(110deg,#fff0ff,#e6c5ff); }
.template2-merchant { min-width: 0; display: flex; align-items: center; gap: 10px; }
.template2-merchant strong { overflow: hidden; color: #302538; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.template2-avatar { position: relative; width: 32px; height: 32px; flex: 0 0 auto; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: #ead1b9; box-shadow: 0 1px 4px rgba(51,23,65,.18); }
.template2-avatar::before { position: absolute; top: 6px; left: 10px; width: 10px; height: 10px; border-radius: 50%; background: #edb991; box-shadow: 0 -4px 0 2px #282127; content: ""; }
.template2-avatar::after { position: absolute; bottom: -4px; left: 6px; width: 20px; height: 15px; border-radius: 10px 10px 3px 3px; background: #25242d; content: ""; }
.template2-sell-badge { flex: 0 0 auto; min-width: 68px; padding: 8px 14px; border-radius: 18px; background: linear-gradient(135deg,#6d08dc,#43008b); color: #fff; box-shadow: 0 4px 9px rgba(74,0,150,.25); text-align: center; font-size: 13px; font-weight: 800; }
.template2-offer-details { margin: 0; }
.template2-offer-details > div { min-height: 49px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 18px; border-bottom: 1px solid #e4dce8; }
.template2-offer-details dt { color: #37303d; font-size: 14px; font-weight: 700; }
.template2-offer-details dd { margin: 0; color: #17121c; text-align: right; font-size: 17px; font-weight: 900; overflow-wrap: anywhere; }
.template2-offer-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; color: var(--muted); font-size: 11px; }
.app-template2 .offer-progress { margin: 0 18px 14px; background: #e8deee; }
.app-template2 .offer-progress span { background: linear-gradient(90deg,#a985be,#5915e1); }
.app-template2 .offer-busy { background: #fcfafd; }
.app-template2 .offer-busy .template2-sell-badge { background: #b5a8be; box-shadow: none; }
.app-template2 .empty-state { margin: 24px 26px; border-radius: 14px; background: #f8f4fb; color: var(--muted); }
.app-template2 .page-head { min-height: 76px; padding: 12px 22px; border-bottom: 1px solid #e8e1ed; }
.app-template2 .page-head h1 { color: #17121c; font-size: 25px; }
.app-template2 .back-link { color: #25202c; }
.app-template2 .page-head > .pill { justify-self: end; white-space: nowrap; }
.app-template2 .order-tabs { border-color: #e5ddea; color: var(--muted); }
.app-template2 .order-tabs .active { color: var(--purple); border-color: var(--purple); }
.app-template2 .order-list { gap: 16px; padding: 18px 24px; }
.app-template2 .order-item { padding: 18px; border: 1px solid #cdb9dc; border-radius: 14px; background: #fff; }
.app-template2 .order-item-head strong,
.app-template2 .order-item-body strong { color: var(--ink); }
.app-template2 .sell-text { color: var(--purple); }
.app-template2 .buy-text { color: var(--green); }
.app-template2 .pill.awaiting_user_payment,
.app-template2 .pill.payment_submitted,
.app-template2 .pill.awaiting_payment_method,
.app-template2 .pill.awaiting_platform_payment { background: #ece3fa; color: #5a2b8e; }
.app-template2 .pill.platform_paid,
.app-template2 .pill.completed { background: #e1f6e9; color: #14713c; }
.app-template2 .pill.payout_exception,
.app-template2 .pill.failed,
.app-template2 .pill.cancelled { background: #ffe7eb; color: #ac2942; }
.app-template2 .detail-card,
.app-template2 .doc-card,
.app-template2 .sell-confirm { margin: 20px 26px 0; padding: 20px; border: 1px solid #ded4e5; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(55,23,83,.06); }
.template2-order-summary { overflow: hidden; margin: 24px 34px 0; border: 1.5px solid #9161ae; border-radius: 16px; background: #fff; box-shadow: 0 6px 14px rgba(89,35,110,.09); }
.template2-order-summary .template2-offer-head > span { color: #6c587a; font-size: 12px; white-space: nowrap; }
.app-template2 .order-flow-card { margin-top: 24px; }
.app-template2 .order-flow-card > .detail-title { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.app-template2 .order-flow-card > .detail-grid { margin: 14px 0; }
.app-template2 .detail-grid div { border-color: #e8e0ed; }
.app-template2 .detail-grid dt { color: var(--muted); }
.app-template2 .confirm-summary { border-radius: 12px; background: linear-gradient(120deg,#421072,#721ac7); }
.app-template2 .section-title a { color: var(--purple); }
.app-template2 .payment-card { border-color: #d9cde1; border-radius: 12px; background: #fff; }
.app-template2 .order-payment-choice .payment-card:has(input:checked) { border-color: var(--purple); background: #f7efff; }
.app-template2 .order-payment-panel,
.app-template2 .order-state-panel,
.app-template2 .order-payout-snapshot,
.app-template2 .order-payment-choice { margin-top: 16px; padding: 18px; border: 1px solid #ddd3e4; border-radius: 14px; background: #fff; box-shadow: none; }
.app-template2 .order-panel-heading span { color: #514a58; }
.app-template2 .order-panel-heading strong { color: var(--rose); font-size: 31px; }
.app-template2 .order-countdown { min-height: 72px; padding: 18px; border-radius: 12px; background: #08090b; color: #fff; }
.app-template2 .order-countdown span,
.app-template2 .order-countdown b { color: #fff; }
.app-template2 .order-countdown b { font-size: 26px; }
.app-template2 .order-pay-qr { padding: 14px; border: 1px solid #e1d7e8; border-radius: 12px; background: #fff; }
.template2-network { margin: 12px 0 0; color: #2b2432; font-size: 15px; font-weight: 800; }
.app-template2 .order-copy-row { align-items: stretch; }
.app-template2 .order-copy-row input { min-width: 0; border-radius: 10px; background: #fff; font-size: 12px; }
.app-template2 .order-copy-row .btn { border-radius: 10px; }
.app-template2 .order-payment-tip { border-radius: 10px; background: #f7f2fb; color: #665d70; }
.app-template2 .order-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-template2 .order-actions form,
.app-template2 .order-actions .btn { width: 100%; }
.app-template2 .order-state-panel > strong { color: #211a28; font-size: 23px; }
.app-template2 .order-state-panel > p { color: #59505f; line-height: 1.8; }
.app-template2 .order-state-panel.exception,
.app-template2 .order-state-panel.exception > strong,
.app-template2 .order-state-panel.exception > p { color: #f4f0fb; }
.app-template2 .order-state-panel.exception { border-color: #62404b; background: #241820; }
.app-template2 .order-state-panel.exception > strong { color: #ff9bab; }
.app-template2 .order-state-panel.exception > p { color: #d7c6cc; }
.app-template2 .order-state-panel.success { border-color: #78caa1; background: #edfff5; }
.app-template2 .order-state-panel.success > strong { color: #116e3b; }
.app-template2 .order-state-panel.exception { border-color: #62404b; background: #241820; }
.app-template2 .order-feedback-button { width: 100%; border-radius: 10px; background: #faf7fc; color: #756b7d; }
.template2-state-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.template2-state-actions form,
.template2-state-actions .btn { width: 100%; }
.app-template2 .btn.template2-support { border-color: #1677db; background: #1677db; color: #fff; }
.app-template2 .confirm-panel .btn.primary { width: 100%; border-color: #00a957; background: #00a957; }
.app-template2 .order-payout-snapshot { background: #fbf9fd; }
.app-template2 .account-head { padding: 30px 26px; background: linear-gradient(125deg,#f0d8ff,#e5c5ff); color: var(--purple-dark); }
.app-template2 .account-head p { color: #6a4c7c; }
.app-template2 .balance { color: var(--purple-dark); }
.app-template2 .account-menu { border-color: #d7c9e0; border-radius: 14px; background: #fff; box-shadow: none; }
.app-template2 .account-menu a { border-color: #e8e0ed; color: var(--ink); }
.app-template2 .account-menu a::after { color: var(--purple); }
.app-template2 .account-panel { background: #fff; }
.app-template2 .copy-field,
.app-template2 .quick-amounts button { background: #faf7fc; color: var(--ink); }
.app-template2 .payment-method-item { border-color: #ded2e5; border-radius: 12px; background: #fff; }
.app-template2 .payment-type-trigger,
.app-template2 .payment-type-picker,
.app-template2 .payment-type-picker span,
.app-template2 .payment-qr-drop { border-color: #d9cde1; background: #fff; }
.app-template2 .payment-type-trigger strong { color: var(--purple); }
.app-template2 .payment-type-picker input:checked + span { border-color: var(--purple); background: #f1e6ff; }
.app-template2 .payment-template-preview { border-color: #b7ddc6; background: #effaf3; }
.app-template2 .chat { background: #fff; }
.app-template2 .bubble { border-radius: 14px; background: #f1eaf7; }
.app-template2 .bubble.admin { background: #e6f6ec; }
.app-template2 .support-alert { background: #eaf8ee; color: #126b37; }
.app-template2 .notification-item { border-color: #e4dbe9; background: #fff; }
.app-template2 .notification-item.unread { background: #f7efff; }
.app-template2 .notification-dot { background: var(--purple); }
.app-template2 .notification-list { gap: 10px; margin: 14px 12px 104px; overflow: visible; border: 0; background: transparent; box-shadow: none; }
.app-template2 .notification-item,
.app-template2 .notification-item:last-child { border: 1px solid #302a3b; border-radius: 12px; background: #15121b; }
.app-template2 .notification-item.unread { border-color: #57426f; background: #20192a; }
.app-template2 .notification-item strong { color: #f2edf8; }
.app-template2 .notification-item small { color: #d1c7dc; }
.app-template2 .notification-item time { color: #9e93ac; }
.app-template2.page-support .hero.compact { gap: 8px; margin: 12px 12px 16px; padding: 16px; border: 1px solid #302a3b; border-radius: 12px; background: #15121b; }
.app-template2.page-support .hero.compact .eyebrow { margin: 0; color: #bd9bff; font-size: 12px; }
.app-template2.page-support .hero.compact h1 { color: #f2edf8; font-size: 24px; line-height: 1.25; }
.app-template2.page-support .support-alert { margin: 0 12px 12px; border: 1px solid #285c46; border-radius: 10px; background: #14261f; color: #85e7b8; }
.app-template2.page-support .chat { min-height: 320px; height: clamp(320px, 52vh, 540px); gap: 12px; margin: 0 12px 14px; padding: 16px; border: 1px solid #302a3b; border-radius: 12px; background: #100d15; box-shadow: none; }
.app-template2.page-support .bubble { max-width: 84%; padding: 11px 13px; border: 1px solid #3d304b; border-radius: 12px 12px 12px 4px; background: #211a2a; color: #f0eaf8; line-height: 1.6; overflow-wrap: anywhere; }
.app-template2.page-support .bubble.admin { margin-left: auto; border-color: #285c46; border-radius: 12px 12px 4px 12px; background: #14261f; color: #ddf9ea; }
.app-template2.page-support .bubble span { color: #a79eb1; }
.app-template2.page-support .chat-form { gap: 10px; margin: 0 12px 104px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.app-template2 .mobile-tabs { max-width: 560px; margin: 0 auto; border-color: #ded5e5; background: rgba(255,255,255,.96); box-shadow: 0 -6px 20px rgba(48,26,63,.06); }
.app-template2 .mobile-tabs a { color: #847a8c; }
.app-template2 .mobile-tabs a.active { color: var(--purple); }
.app-template2 .mobile-tabs a::before { color: currentColor; }
@media (max-width: 560px) {
    .app-template2 .topbar { padding: 15px 20px; }
    .template2-market-summary { margin-right: 20px; margin-left: 20px; padding: 20px; }
    .app-template2 .template2-market-head { padding-right: 20px; padding-left: 20px; }
    .template2-market-actions { gap: 7px; }
    .template2-action { font-size: 12px; }
    .app-template2 .offer-grid { padding-right: 24px; padding-left: 24px; }
    .template2-offer-details dd { font-size: 16px; }
    .template2-merchant strong { font-size: 14px; }
    .template2-sell-badge { min-width: 60px; padding-right: 11px; padding-left: 11px; }
    .template2-order-summary { margin-right: 24px; margin-left: 24px; }
    .app-template2 .detail-card,
    .app-template2 .doc-card,
    .app-template2 .sell-confirm { margin-right: 20px; margin-left: 20px; padding: 16px; }
    .app-template2 .order-panel-heading strong { font-size: 27px; }
    .app-template2 .page-head h1 { font-size: 23px; }
}

/* SUN-inspired trading workspace: broad navigation, dense market list and compact data rail. */
html:has(.app-template2) { background: #0b0e12; }
body.app-template2 {
    --bg: #0b0e12;
    --surface: #12171d;
    --ink: #e8edf2;
    --muted: #84909b;
    --line: #252c34;
    --purple: #18c77a;
    --purple-dark: #12a968;
    --purple-soft: #173b2d;
    --green: #18c77a;
    --rose: #e96d74;
    --danger: #d94c57;
    min-height: 100vh;
    background: #0b0e12;
    color: #e8edf2;
    font-family: "Microsoft YaHei UI", "PingFang SC", sans-serif;
}
.app-template2 .topbar,
.app-template2 .shell {
    width: min(1440px, calc(100% - 64px));
    background: transparent;
}
.app-template2 .topbar {
    position: sticky;
    min-height: 72px;
    padding: 0 4px;
    border-bottom: 1px solid #22282f;
}
.app-template2 .brand { color: #f4f7f9; }
.app-template2 .brand-mark {
    width: 40px;
    height: 40px;
    border: 1px solid #36414b;
    border-radius: 50%;
    background: #17211e;
    color: #35d493;
}
.app-template2 .brand span:last-child { font-size: 16px; }
.app-template2 .topbar .nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 5px;
}
.app-template2 .topbar .nav a {
    padding: 10px 13px;
    border-radius: 7px;
    color: #aab3bc;
    font-size: 13px;
    font-weight: 700;
}
.app-template2 .topbar .nav a:first-child,
.app-template2 .topbar .nav a:hover { background: #1a2229; color: #f4f7f9; }
.app-template2 .shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-content: start;
    align-items: start;
    column-gap: 28px;
    padding: 26px 4px 90px;
}
.app-template2.page-sell .template2-market-summary {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 20px;
    border: 1px solid #262d35;
    border-radius: 12px;
    background: #12171d;
    box-shadow: none;
}
.app-template2.page-sell .template2-market-summary div {
    min-height: 82px;
    display: grid;
    align-content: center;
    justify-content: stretch;
    gap: 7px;
    border-bottom: 1px solid #252c34;
}
.app-template2.page-sell .template2-market-summary div:last-child { border-bottom: 0; }
.app-template2.page-sell .template2-market-summary span { color: #84909b; font-size: 12px; font-weight: 600; }
.app-template2.page-sell .template2-market-summary strong { color: #e8edf2; font-size: 22px; font-weight: 800; }
.app-template2 .template2-market-head {
    position: relative;
    z-index: 5;
    grid-column: 1;
    grid-row: 1;
    margin: 0 0 16px;
    padding: 0;
    background: transparent;
}
.app-template2 .template2-market-head .balance-strip {
    padding: 0 0 14px;
    color: #aab3bc;
}
.app-template2 .template2-market-head .balance-strip span:first-child::before { color: #35d493; }
.template2-market-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.template2-action {
    min-height: 40px;
    border-color: #303842;
    border-radius: 7px;
    background: #171d23;
    color: #dbe2e8;
    box-shadow: none;
    font-size: 12px;
}
.template2-market-actions > :last-child { border-color: #315b49; color: #62dfa8; }
.app-template2 .sell-filter-picker {
    max-height: min(65vh, 460px);
    overflow-y: auto;
    border-color: #303842;
    background: #151b21;
}
.app-template2 .sell-payment-option span { border-color: #303842; background: #1a2128; }
.app-template2 .sell-payment-option strong { color: #e8edf2; }
.app-template2 .sell-payment-option input:checked + span { border-color: #18c77a; background: #173b2d; box-shadow: inset 0 0 0 1px #18c77a; }
.app-template2 .template2-amount-filter { border-color: #283039; }
.app-template2 .template2-amount-filter input { border-color: #303842; background: #151b21; color: #e8edf2; }
.app-template2.page-sell .admin-notice,
.app-template2.page-sell .trade-closed { grid-column: 1; margin: 0 0 14px; }
.app-template2.page-sell .offer-grid {
    grid-column: 1;
    grid-row: 3 / span 20;
    display: grid;
    gap: 9px;
    padding: 0;
}
.app-template2 .offer.card {
    border: 1px solid #283039;
    border-radius: 10px;
    background: #12171d;
    box-shadow: none;
    transition: border-color .16s ease, background-color .16s ease;
}
.app-template2 .offer.card:hover { border-color: #3d4b55; background: #151b21; }
.app-template2 .template2-offer-head {
    min-height: 52px;
    border-color: #252c34;
    background: transparent;
}
.app-template2 .template2-merchant strong { color: #dce3e9; font-size: 13px; }
.app-template2 .template2-avatar { border-color: #34433d; background: #1b4935; box-shadow: none; }
.app-template2 .template2-avatar::before { background: #8bdeb2; box-shadow: 0 -4px 0 2px #235b40; }
.app-template2 .template2-avatar::after { background: #32a96c; }
.app-template2 .template2-sell-badge {
    min-width: 76px;
    padding: 8px 13px;
    border-radius: 7px;
    background: #18bd73;
    color: #06150e;
    box-shadow: none;
}
.app-template2 .template2-offer-details > div { min-height: 43px; border-color: #222a31; }
.app-template2 .template2-offer-details dt { color: #84909b; font-size: 12px; }
.app-template2 .template2-offer-details dd { color: #e8edf2; font-size: 15px; }
.app-template2 .template2-offer-foot { color: #84909b; }
.app-template2 .offer-progress { background: #26342e; }
.app-template2 .offer-progress span { background: #18c77a; }
.app-template2 .offer-busy .template2-sell-badge { background: #344039; color: #b5c1ba; }
.app-template2 .empty-state { border-color: #283039; background: #12171d; color: #aab3bc; }
.app-template2 .page-head { border-color: #252c34; }
.app-template2 .page-head h1,
.app-template2 .back-link { color: #e8edf2; }
.app-template2 .order-list { gap: 9px; }
.app-template2 .order-item,
.app-template2 .detail-card,
.app-template2 .doc-card,
.app-template2 .sell-confirm,
.app-template2 .order-payment-panel,
.app-template2 .order-state-panel,
.app-template2 .order-payout-snapshot,
.app-template2 .order-payment-choice,
.app-template2 .account-menu,
.app-template2 .account-panel,
.app-template2 .payment-method-item,
.app-template2 .notification-item {
    border-color: #283039;
    border-radius: 10px;
    background: #12171d;
    box-shadow: none;
    color: #dce3e9;
}
.app-template2 .template2-order-summary { border-color: #283039; border-radius: 10px; background: #12171d; box-shadow: none; }
.app-template2 .template2-order-summary .template2-offer-head { background: #171d23; }
.app-template2 .template2-order-summary .template2-offer-head > span,
.app-template2 .detail-grid dt { color: #84909b; }
.app-template2 .detail-grid div,
.app-template2 .order-flow-card > .detail-title,
.app-template2 .order-tabs { border-color: #283039; }
.app-template2 .order-item-head strong,
.app-template2 .order-item-body strong,
.app-template2 .order-state-panel > strong { color: #e8edf2; }
.app-template2 .order-item-body span,
.app-template2 .order-item-foot,
.app-template2 .order-state-panel > p { color: #9aa6b0; }
.app-template2 .pill.awaiting_user_payment,
.app-template2 .pill.payment_submitted,
.app-template2 .pill.awaiting_payment_method,
.app-template2 .pill.awaiting_platform_payment { background: #3b3020; color: #efc275; }
.app-template2 .pill.platform_paid,
.app-template2 .pill.completed { background: #183a2c; color: #5bd89e; }
.app-template2 .pill.payout_exception,
.app-template2 .pill.failed,
.app-template2 .pill.cancelled { background: #40252a; color: #f18a91; }
.app-template2 .account-head { border-radius: 10px; background: #17221e; color: #e8edf2; }
.app-template2 .account-head p,
.app-template2 .balance { color: #a5b4ab; }
.app-template2 .account-menu a { border-color: #283039; color: #dce3e9; }
.app-template2 input,
.app-template2 select,
.app-template2 textarea,
.app-template2 .copy-field { border-color: #303842; background: #171d23; color: #e8edf2; }
.app-template2 .order-countdown { background: #090c0f; }
.app-template2 .order-pay-qr { border-color: #303842; background: #fff; }
.app-template2 .order-payment-tip { background: #1a2128; color: #aab3bc; }
.app-template2 .order-feedback-button { border-color: #303842; background: #171d23; color: #aab3bc; }
.app-template2 .mobile-tabs { border-color: #303842; background: rgba(17, 22, 27, .97); box-shadow: 0 -8px 26px rgba(0,0,0,.28); }
.app-template2 .mobile-tabs a { color: #84909b; }
.app-template2 .mobile-tabs a.active { background: #1b2822; color: #57d99d; }

@media (max-width: 900px) {
    .app-template2 .topbar,
    .app-template2 .shell { width: min(720px, calc(100% - 32px)); }
    .app-template2 .shell { grid-template-columns: minmax(0, 1fr) 250px; gap: 18px; }
    .app-template2 .topbar .nav a { padding-right: 8px; padding-left: 8px; }
}
@media (max-width: 680px) {
    .app-template2 .topbar,
    .app-template2 .shell { width: 100%; }
    .app-template2 .topbar { min-height: 62px; padding: 0 18px; }
    .app-template2 .topbar .nav { display: none; }
    .app-template2 .shell { display: block; padding: 16px 0 104px; }
    .app-template2.page-sell .template2-market-summary {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        margin: 0 16px 16px;
        padding: 10px 12px;
    }
    .app-template2.page-sell .template2-market-summary div {
        min-width: 0;
        min-height: 66px;
        justify-content: start;
        gap: 5px;
        padding: 0 7px;
        border-right: 1px solid #252c34;
        border-bottom: 0;
    }
    .app-template2.page-sell .template2-market-summary div:last-child { border-right: 0; }
    .app-template2.page-sell .template2-market-summary span { font-size: 10px; line-height: 1.4; }
    .app-template2.page-sell .template2-market-summary strong { font-size: 15px; overflow-wrap: anywhere; }
    .app-template2 .template2-market-head { margin: 0 16px 14px; }
    .app-template2.page-sell .admin-notice,
    .app-template2.page-sell .trade-closed { margin: 0 16px 14px; }
    .app-template2.page-sell .offer-grid { gap: 9px; padding: 0 12px; }
    .app-template2 .offer.card { border-radius: 9px; }
    .app-template2 .template2-offer-head { padding-right: 12px; padding-left: 12px; }
    .app-template2 .template2-offer-details > div { padding-right: 13px; padding-left: 13px; }
    .app-template2 .template2-offer-foot { padding-right: 13px; padding-left: 13px; }
    .app-template2 .page-head { padding-right: 12px; padding-left: 12px; }
    .app-template2 .order-list { padding: 14px 12px 20px; }
    .app-template2 .template2-order-summary { margin-right: 12px; margin-left: 12px; }
    .app-template2 .detail-card,
    .app-template2 .doc-card,
    .app-template2 .sell-confirm { margin-right: 12px; margin-left: 12px; }
    .app-template2 .account-menu,
    .app-template2 .account-panel { margin-right: 12px; margin-left: 12px; }
}
@media (max-width: 380px) {
    .template2-market-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-template2.page-sell .template2-market-summary { margin-right: 12px; margin-left: 12px; }
    .app-template2.page-sell .template2-market-summary div { padding: 0 4px; }
    .app-template2.page-sell .template2-market-summary strong { font-size: 13px; }
}

/* Keep template two in a centered mobile viewport at every screen size. */
body.app-template2 { background: #080b0e; }
.app-template2 .topbar,
.app-template2 .shell {
    width: min(448px, 100%);
    margin-right: auto;
    margin-left: auto;
}
.app-template2 .topbar {
    min-height: 62px;
    padding: 12px 18px;
}
.app-template2 .topbar .nav { display: none; }
.app-template2 .shell {
    display: block;
    min-height: calc(100vh - 62px);
    padding: 0 0 104px;
    background: #0e1318;
}
.app-template2.page-sell .template2-market-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 12px 16px 15px;
    padding: 17px 18px;
    border-radius: 10px;
}
.app-template2.page-sell .template2-market-summary div {
    min-height: 38px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 0;
    border: 0;
}
.app-template2.page-sell .template2-market-summary span { color: #9aa6af; font-size: 12px; }
.app-template2.page-sell .template2-market-summary strong { color: #f0f4f6; font-size: 16px; }
.app-template2 .template2-market-head { margin: 0; padding: 0 16px 15px; }
.app-template2.page-sell .admin-notice,
.app-template2.page-sell .trade-closed { margin: 12px 16px; }
.app-template2.page-sell .offer-grid { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 0 12px 20px; }
.app-template2 .template2-order-summary { margin: 18px 12px 0; }
.app-template2 .detail-card,
.app-template2 .doc-card,
.app-template2 .sell-confirm { margin: 16px 12px 0; }
.app-template2 .order-list { padding: 14px 12px 20px; }
.app-template2 .account-menu,
.app-template2 .account-panel { margin-right: 12px; margin-left: 12px; }
.app-template2 .mobile-tabs {
    width: min(372px, calc(100% - 32px));
    border-color: #303842;
    background: rgba(17, 22, 27, .97);
    box-shadow: 0 -8px 26px rgba(0,0,0,.28);
}
@media (max-width: 380px) {
    .app-template2.page-sell .template2-market-summary { margin-right: 12px; margin-left: 12px; }
    .app-template2.page-sell .template2-market-summary div { min-height: 34px; }
}

/* Carry the SUN swap-page visual language across the existing mobile C2C pages. */
body.app-template2 {
    --purple: #8b5cf6;
    --purple-dark: #713fe0;
    --purple-soft: #2b2042;
    --green: #37d99a;
    --rose: #fb7185;
    background: #09080e;
    color: #f4f0fb;
}
.app-template2 .topbar { border-color: #211d2c; background: #0d0b13; }
.app-template2 .brand-mark { border-color: #48356a; background: #231935; color: #c5a6ff; }
.app-template2 .shell { background: #0d0b13; }
.app-template2 .flash { background: #17271f; color: #81e7b6; }
.app-template2 .flash.bad { background: #321c26; color: #ff9bab; }
.app-template2 .btn {
    border-color: #393044;
    background: #191521;
    color: #e8e0f3;
}
.app-template2 .btn.primary {
    border-color: #9566ff;
    background: linear-gradient(100deg, #7146e8, #a35df5);
    color: #fff;
    box-shadow: 0 5px 18px rgba(129, 78, 236, .18);
}
.app-template2 .btn.danger { border-color: #bd475e; background: #bd475e; color: #fff; }
.app-template2 input,
.app-template2 select,
.app-template2 textarea,
.app-template2 .copy-field {
    border-color: #302a3c;
    background: #17131e;
    color: #f4f0fb;
}
.app-template2 input:focus,
.app-template2 select:focus,
.app-template2 textarea:focus { border-color: #9a71f5; box-shadow: 0 0 0 3px rgba(139, 92, 246, .16); }
.app-template2 .page-head { border-color: #241e30; }
.app-template2 .page-head h1,
.app-template2 .back-link { color: #f4f0fb; }
.app-template2 .order-tabs { color: #9d95aa; }
.app-template2 .order-tabs .active { border-color: #9d70ff; color: #c1a5ff; }
.app-template2 .sell-text { color: #c1a5ff; }
.app-template2 .buy-text { color: #51dca4; }
.app-template2 .template2-market-summary {
    border-color: #39294f;
    background: linear-gradient(135deg, #21172e, #171321 68%, #171526);
}
.app-template2.page-sell .template2-market-summary div { border-color: #30243e; }
.app-template2.page-sell .template2-market-summary span { color: #aaa0b8; }
.app-template2.page-sell .template2-market-summary strong { color: #e2d1ff; }
.app-template2 .template2-market-head .balance-strip { color: #a79eb1; }
.app-template2 .template2-market-head .balance-strip span:first-child::before { color: #48dfa4; }
.template2-market-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.template2-action {
    border-color: #393044;
    background: #17131e;
    color: #e2dbea;
}
.template2-market-actions > :last-child { border-color: #60438f; color: #c0a0ff; }
.app-template2 .sell-filter-picker {
    right: 0;
    left: auto;
    width: min(260px, calc(100vw - 32px));
    max-height: 360px;
    border-color: #392f48;
    background: #17131e;
}
.app-template2 .sell-payment-option span { border-color: #393044; background: #1d1826; }
.app-template2 .sell-payment-option strong { color: #f0eaf8; }
.app-template2 .sell-payment-option input:checked + span { border-color: #9b71f5; background: #2b2042; box-shadow: inset 0 0 0 1px #9b71f5; }
.app-template2 .template2-amount-filter { border-color: #2e2739; }
.app-template2 .admin-notice { background: #241a34; color: #d1b9fb; }
.app-template2 .trade-closed { border-color: #504066; background: #17131e; }
.app-template2 .offer.card,
.app-template2 .order-item,
.app-template2 .detail-card,
.app-template2 .doc-card,
.app-template2 .sell-confirm,
.app-template2 .order-payment-panel,
.app-template2 .order-state-panel,
.app-template2 .order-payout-snapshot,
.app-template2 .order-payment-choice,
.app-template2 .account-menu,
.app-template2 .account-panel,
.app-template2 .payment-method-item,
.app-template2 .notification-item {
    border-color: #2b2436;
    background: #15121b;
    color: #eee8f6;
}
.app-template2 .offer.card:hover { border-color: #49365f; background: #191521; }
.app-template2 .template2-offer-head { border-color: #2b2436; background: #1a1522; }
.app-template2 .template2-merchant strong { color: #eee8f6; }
.app-template2 .template2-avatar { border-color: #49365f; background: #302344; }
.app-template2 .template2-avatar::before { background: #c5a6ff; box-shadow: 0 -4px 0 2px #573d78; }
.app-template2 .template2-avatar::after { background: #875add; }
.app-template2 .template2-sell-badge { background: linear-gradient(105deg, #7146e8, #a35df5); color: #fff; }
.app-template2 .template2-offer-details > div { border-color: #282230; }
.app-template2 .template2-offer-details dt { color: #a79eb1; }
.app-template2 .template2-offer-details dd { color: #f2edf8; }
.app-template2 .template2-offer-foot { color: #92899e; }
.app-template2 .offer-progress { background: #332742; }
.app-template2 .offer-progress span { background: linear-gradient(90deg, #8b5cf6, #c084fc); }
.app-template2 .offer-busy .template2-sell-badge { background: #393044; color: #b9b0c4; }
.app-template2 .empty-state { border-color: #30283a; background: #15121b; color: #a79eb1; }
.app-template2 .template2-order-summary { border-color: #33283f; background: #15121b; }
.app-template2 .template2-order-summary .template2-offer-head { background: #1a1522; }
.app-template2 .template2-order-summary .template2-offer-head > span,
.app-template2 .detail-grid dt { color: #a79eb1; }
.app-template2 .detail-grid div,
.app-template2 .order-flow-card > .detail-title { border-color: #30283a; }
.app-template2 .order-item-head strong,
.app-template2 .order-item-body strong,
.app-template2 .order-state-panel > strong { color: #f2edf8; }
.app-template2 .order-item-body span,
.app-template2 .order-item-foot,
.app-template2 .order-state-panel > p { color: #a79eb1; }
.app-template2 .pill.awaiting_user_payment,
.app-template2 .pill.payment_submitted,
.app-template2 .pill.awaiting_payment_method,
.app-template2 .pill.awaiting_platform_payment { background: #35282a; color: #f0bb79; }
.app-template2 .pill.platform_paid,
.app-template2 .pill.completed { background: #19392e; color: #68e4b0; }
.app-template2 .pill.payout_exception,
.app-template2 .pill.failed,
.app-template2 .pill.cancelled { background: #3b222d; color: #ff92a8; }
.app-template2 .account-head { background: linear-gradient(120deg, #241936, #191521); color: #f2edf8; }
.app-template2 .account-head p,
.app-template2 .balance { color: #b8a8cc; }
.app-template2 .account-menu a { border-color: #2b2436; color: #eee8f6; }
.app-template2 .account-menu a::after { color: #b28cff; }
@media (hover: hover) {
    .app-template2 .account-menu a:hover { background: #261d32; }
}
.app-template2 .order-copy-row input,
.app-template2 .order-countdown { background: #09080e; }
.app-template2 .order-pay-qr { border-color: #393044; background: #fff; }
.app-template2 .order-payment-tip { background: #201a2a; color: #b0a5bd; }
.app-template2 .order-feedback-button { border-color: #393044; background: #191521; color: #aaa0b8; }
.app-template2 .btn.template2-support { border-color: #584080; background: #302344; color: #d8c4ff; }
.app-template2 .confirm-summary { background: linear-gradient(115deg, #332052, #21172e); }
.app-template2 .account-menu,
.app-template2 .account-panel,
.app-template2 .payment-method-item,
.app-template2 .notification-item,
.app-template2 .order-item { box-shadow: none; }
.app-template2 .notification-item.unread { border-color: #57426f; background: #20192a; }
.app-template2 .notification-dot { background: #a178ff; }
.app-template2 .chat { background: #110e17; }
.app-template2 .bubble { background: #261d32; color: #eee8f6; }
.app-template2 .bubble.admin { background: #19392e; }
.app-template2.page-support .support-alert { border-color: #285c46; background: #14261f; color: #85e7b8; }
.app-template2 .mobile-tabs { border-color: #352b43; background: rgba(18, 14, 24, .97); }
.app-template2 .mobile-tabs a { color: #93899f; }
.app-template2 .mobile-tabs a.active { background: #2b2042; color: #c2a5ff; }
.app-template2 .mobile-tabs a[href]::before { content: none; display: none; }
.app-template2 .auth-panel .auth-copy h1 { color: #eee2ff; }
.app-template2 .auth-panel .auth-copy p,
.app-template2 .auth-panel .form label { color: #a79eb1; }
.app-template2 .auth-panel .card,
.app-template2 .require-box { border-color: #30283a; background: #15121b; }
@media (min-width: 681px) {
    .app-template2 .topbar,
    .app-template2 .shell,
    .app-template2 .flash { box-shadow: 0 0 36px rgba(0, 0, 0, .25); }
}

.app-template2 .template2-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}
.app-template2 .template2-market-summary span { display: inline-flex; align-items: center; gap: 7px; }
.app-template2 .template2-market-summary span .template2-icon { color: #ad83ff; }
.app-template2 .template2-market-summary div:nth-child(2) span .template2-icon { color: #7cb5ff; }
.app-template2 .template2-market-summary div:nth-child(3) span .template2-icon { color: #51dca4; }
.app-template2 .template2-market-head .balance-strip span { display: inline-flex; align-items: center; gap: 5px; }
.app-template2 .template2-market-head .balance-strip span:first-child .template2-icon { color: #51dca4; }
.app-template2 .template2-market-head .balance-strip span:last-child .template2-icon { color: #a78bfa; }
.app-template2 .mobile-tabs a { grid-template-rows: 20px auto; align-content: center; gap: 4px; }
.app-template2 .mobile-tabs .template2-icon { width: 18px; height: 18px; }
.app-template2 .template2-action { gap: 7px; transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.app-template2 .template2-action .template2-icon { width: 15px; height: 15px; color: #b49aff; }
.app-template2 .template2-action:hover { transform: translateY(-1px); border-color: #7555a9; background: #211a2d; }
.app-template2 .template2-action:active { transform: translateY(0) scale(.98); }
.app-template2 .template2-sell-badge { transition: transform .18s ease, filter .18s ease; }
.app-template2 a.template2-sell-badge:hover { transform: translateY(-1px); filter: brightness(1.12); }
.app-template2 .topbar { animation: template2-header-in .45s ease both; }
.app-template2 .template2-market-summary,
.app-template2 .template2-market-head,
.app-template2 .page-head,
.app-template2 .order-tabs,
.app-template2 .account-head { animation: template2-panel-in .5s cubic-bezier(.2,.7,.25,1) both; }
.app-template2 .template2-market-head { animation-delay: .05s; }
.app-template2 .offer.card,
.app-template2 .order-item,
.app-template2 .notification-item,
.app-template2 .payment-method-item {
    animation: template2-row-in .42s cubic-bezier(.2,.7,.25,1) both;
    animation-delay: calc(min(var(--template2-index, 0), 14) * 24ms);
}
.app-template2 .mobile-tabs { animation: template2-dock-in .48s .12s cubic-bezier(.2,.7,.25,1) both; }
.app-template2 .mobile-tabs a { transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.app-template2 .mobile-tabs a:active { transform: scale(.95); }
.app-template2 .template2-market-summary { position: relative; overflow: hidden; }
.app-template2 .template2-market-summary::after {
    position: absolute;
    top: -48px;
    right: -54px;
    width: 130px;
    height: 130px;
    border: 1px solid rgba(169, 125, 255, .1);
    border-radius: 50%;
    box-shadow: 0 0 0 14px rgba(169, 125, 255, .025), 0 0 0 30px rgba(169, 125, 255, .02);
    content: "";
    pointer-events: none;
}
.app-template2 .template2-market-summary > div { position: relative; z-index: 1; }
.app-template2 .template2-sell-badge:focus-visible,
.app-template2 .template2-action:focus-visible,
.app-template2 .mobile-tabs a:focus-visible {
    outline: 2px solid #c1a5ff;
    outline-offset: 3px;
}
.app-template2 .pill { border: 1px solid rgba(255, 255, 255, .04); }
@keyframes template2-header-in {
    from { opacity: 0; transform: translateY(-7px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes template2-panel-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes template2-row-in {
    from { opacity: 0; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes template2-dock-in {
    from { opacity: 0; transform: translate(-50%, 12px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .app-template2 *,
    .app-template2 *::before,
    .app-template2 *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
@media (max-width: 390px) {
    .template2-market-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-template2 .template2-market-head .balance-strip { flex-wrap: wrap; }
    .app-template2 .template2-amount-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-template2 .sell-filter-picker { right: auto; left: 0; }
}

.app-template2 .payment-card {
    min-width: 0;
    border-color: #3b3049;
    background: #1d1726;
    color: #f2edf8;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease;
}
.app-template2 .payment-card:hover { border-color: #8060ad; }
.app-template2 .payment-card:has(input:checked),
.app-template2 .order-payment-choice .payment-card:has(input:checked) {
    border-color: #a279f5;
    background: #2b203d;
    box-shadow: inset 0 0 0 1px rgba(162, 121, 245, .35);
}
.app-template2 .payment-card:has(input:focus-visible) { outline: 2px solid #c2a5ff; outline-offset: 2px; }
.app-template2 .payment-card input[type="radio"] {
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 0;
    accent-color: #a279f5;
    box-shadow: none;
}
.app-template2 .payment-card span { min-width: 0; }
.app-template2 .payment-card b { color: #f2edf8; }
.app-template2 .payment-card small,
.app-template2 .payment-card em { color: #baafc9; overflow-wrap: anywhere; line-height: 1.45; }
.app-template2 .sell-confirm .payment-choice > .btn.primary { width: 100%; }

.app-template2.page-account_payments .payment-account-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin: 16px 12px 104px;
}
.app-template2.page-account_payments .payment-method-form {
    position: static;
    min-width: 0;
    padding: 18px;
    border-color: #382b48;
    background: #17121f;
    color: #f2edf8;
    box-shadow: none;
}
.app-template2.page-account_payments .payment-method-form h2,
.app-template2.page-account_payments .payment-method-heading h2 { color: #f2edf8; }
.app-template2.page-account_payments .payment-method-form label { color: #d1c4df; }
.app-template2.page-account_payments .payment-type-trigger {
    align-items: flex-start;
    border-color: #433450;
    background: #211a2c;
    color: #f2edf8;
    text-align: left;
}
.app-template2.page-account_payments .payment-type-trigger span { color: #aba0bc; }
.app-template2.page-account_payments .payment-type-trigger strong { color: #c9aaff; }
.app-template2.page-account_payments .payment-type-trigger::after { color: #ba9bef; }
.app-template2.page-account_payments .payment-type-picker {
    max-height: min(60vh, 480px);
    overflow-y: auto;
    border-color: #443652;
    background: #1b1524;
}
.app-template2.page-account_payments .payment-type-picker span { border-color: #3b3049; background: #231b2e; color: #f2edf8; }
.app-template2.page-account_payments .payment-type-picker input:checked + span {
    border-color: #a279f5;
    background: #302241;
    box-shadow: inset 0 0 0 1px #a279f5;
}
.app-template2.page-account_payments .payment-type-picker input:focus-visible + span { outline: 2px solid #c2a5ff; outline-offset: 2px; }
.app-template2.page-account_payments .payment-qr-drop {
    border-color: #594469;
    background: #211a2b;
    color: #e9dff5;
}
.app-template2.page-account_payments .payment-qr-drop b { color: #e9dff5; }
.app-template2.page-account_payments .payment-qr-drop small { color: #ada1bd; }
.app-template2.page-account_payments .payment-qr-upload:focus-within .payment-qr-drop { outline: 2px solid #c2a5ff; outline-offset: 2px; }
.app-template2.page-account_payments .payment-template-preview { border-color: #3c6655; background: #192b24; }
.app-template2.page-account_payments .payment-template-preview strong { color: #7ae0ad; }
.app-template2.page-account_payments .payment-template-preview p { color: #b0cbbd; }
.app-template2.page-account_payments .payment-method-heading p,
.app-template2.page-account_payments .payment-method-item time,
.app-template2.page-account_payments .payment-method-body dt { color: #aaa0b8; }
.app-template2.page-account_payments .payment-method-heading > strong { background: #302241; color: #dbc7ff; }
.app-template2.page-account_payments .payment-method-body dd { color: #f2edf8; }
.app-template2.page-account_payments .payment-qr-missing { border-color: #41364e; background: #211a2b; color: #aaa0b8; }
.app-template2.page-account_payments .payment-method-edit-button { border-color: #64468a; background: #302241; color: #d9bfff; box-shadow: none; }
.app-template2.page-account_payments .payment-method-edit-button:hover { border-color: #a279f5; background: #3a2a50; box-shadow: none; }
.app-template2.page-account_payments .payment-edit-modal { border: 1px solid #4b3b59; background: #17121f; color: #f2edf8; }
.app-template2.page-account_payments .payment-edit-modal::backdrop { background: rgba(5, 3, 9, .76); }
.app-template2.page-account_payments .payment-edit-modal .admin-modal-head { border-color: #352a41; background: #211a2b; }
.app-template2.page-account_payments .payment-edit-modal .admin-modal-head small { color: #c4a3ff; }
.app-template2.page-account_payments .payment-edit-modal .admin-modal-head > button { color: #d6c8e4; }
.app-template2.page-account_payments .payment-edit-modal .admin-modal-head > button:hover { background: #382b48; color: #fff; }
.app-template2.page-account_payments .payment-edit-modal .admin-modal-form label { color: #d1c4df; }
