/* MARFA — ui-polish v1: لایه‌ی یکپارچه‌ساز ظاهر و تجربه‌ی همه‌ی صفحات (آخرین استایل بارگذاری‌شده) */
:root{--up-bg:#1e1911;--up-card:#241e15;--up-ln:#403728;--up-tx:#f4f3f2;--up-mu:#b1aea9;--up-ok:#22c993;--up-wip:#f2b23a;--up-bl:#d7ac57;--up-gold:#e8c46a}
/* ۱) برچسب‌های وضعیت: کوچک، جدا از عنوان و مستقل از جهت متن */
html body .v7-function-status{display:inline-flex!important;align-items:center;vertical-align:middle;direction:ltr;unicode-bidi:isolate;margin-inline:10px!important;padding:3px 9px!important;min-height:0!important;border-radius:999px!important;font:700 10px/1.2 Inter,system-ui,sans-serif!important;letter-spacing:.06em!important;text-transform:uppercase;white-space:nowrap;transform:none!important;position:relative;top:-2px}
html body .v7-function-status.is-active{background:rgba(34,201,147,.14)!important;color:#3fe0ae!important;border:1px solid rgba(34,201,147,.45)!important}
html body .v7-function-status.is-process{background:rgba(242,178,58,.12)!important;color:#f2b23a!important;border:1px solid rgba(242,178,58,.45)!important}
html body h1 .v7-function-status,html body h2 .v7-function-status,html body h3 .v7-function-status{font-size:10px!important;font-weight:700!important}
html body #nav .v7-nav-status{font-size:8px!important;padding:2px 6px!important;margin-inline:auto 0!important;top:0}
/* ۲) عنوان صفحه‌ها */
html body .view>.title h1,html body .view>.paper-head h1,html body .view>.delta-head h1,html body .view .connected-head h1{font-size:clamp(22px,2.4vw,30px)!important;line-height:1.35!important;letter-spacing:0!important;margin:4px 0 6px!important}
html body .view>.title p,html body .view .connected-head p{color:var(--up-mu)!important;font-size:14px!important;line-height:1.8!important;max-width:900px}
html body .view>.title,html body .view>.paper-head,html body .view>.delta-head,html body .view .connected-head{margin-bottom:18px!important;gap:14px}
/* ۳) خوانایی: حداقل اندازه و کنتراست متن‌های کم‌رنگ */
html body .view small,html body .view .note,html body .view .muted,html body .view time{font-size:max(12px,.8em)}
html body .view small,html body .view .muted{color:var(--up-mu)}
html body .view p{line-height:1.85}
html body .view table{font-size:13px}html body .view th{color:var(--up-mu);font-weight:600}
html body .view td,html body .view th{padding-block:10px}
/* ۴) دکمه‌ها و فیلدها: اندازه‌ی لمسی ۴۰px و فاصله‌ی یکدست */
html body .view button,html body .view .btn,html body .view select,html body .view input:not([type=checkbox]):not([type=radio]):not([type=range]){min-height:40px;border-radius:10px;font-family:inherit}
html body .view input:not([type=checkbox]):not([type=radio]):not([type=range]),html body .view select,html body .view textarea{background:#1e1911;border:1px solid var(--up-ln);color:var(--up-tx);padding-inline:12px}
html body .view textarea{border-radius:10px;padding:10px 12px;line-height:1.7}
html body .view input:focus-visible,html body .view select:focus-visible,html body .view textarea:focus-visible,html body .view button:focus-visible{outline:2px solid #deba73;outline-offset:2px}
html body .view button:not(.dv2-btn):not([class*=dv3]):not([class*=dp-]):not([class*=bt]):not([class*=nc-]){transition:transform .12s,border-color .12s,background-color .12s}
html body .view button:active{transform:scale(.98)}
/* ۵) کارت‌ها: لبه‌ی گرد یکسان، حاشیه‌ی ملایم، فاصله‌ی مناسب */
html body.v7-ui .view article,html body.v7-ui .view .card,html body.v7-ui .view .panel,html body.v7-ui .view .connected-card{border-radius:16px!important;border:1px solid var(--up-ln)!important;box-shadow:0 8px 24px rgba(0,0,0,.22)}
html body .view .panel,html body .view .connected-card{padding:16px}
/* ۶) حالت‌های خالی (Empty state) یکدست */
html body .account-notices>div,html body .account-notices .account-empty{display:block!important;width:100%}
html body .account-notices .account-empty{padding:26px 16px;text-align:center;border:1px dashed #4c4333;border-radius:14px;background:#1e1911}
html body .account-notices .account-empty span{display:block!important;width:100%!important;max-width:none!important}
html body .account-notices .account-empty b{display:block;font-size:16px;margin-bottom:6px;white-space:normal!important;word-break:normal!important}
html body .account-notices .account-empty small{display:block;max-width:560px;margin:0 auto;white-space:normal!important;word-break:normal!important}
/* ۷) جدول‌ها روی صفحه‌ی باریک اسکرول افقی داخلی داشته باشند */
html body .view .table-wrap,html body .view .tbl,html body .view .dv2-tw{overflow-x:auto;-webkit-overflow-scrolling:touch}
/* ۸) موبایل */
@media(max-width:640px){html body .view>.title h1{font-size:22px!important}html body .view .panel,html body .view .connected-card{padding:12px}html body .v7-function-status{font-size:9px!important;padding:2px 7px!important}}
/* ۹) کاهش حرکت */
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* کیف پول: پس‌زمینه‌ی خالیِ ساده (جلوگیری از رندر دایره‌ی طلایی در Safari) */
html body #wallets #walletResult>.connected-empty{background:#13100b!important;background-image:none!important}
