@font-face {
  font-family: "IRANYekanX";
  src: local("IRANYekanX Variable"),
       local("IRANYekanXVF"),
       url("../fonts/IRANYekanXVF.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #080808;
  --surface: #111110;
  --surface-soft: #161614;
  --line: rgba(255,255,255,.09);
  --line-gold: rgba(218,177,64,.28);
  --text: #f6f4ed;
  --muted: #92918c;
  --gold: #d9b248;
  --gold-light: #f1d27a;
  --gold-deep: #a87c1d;
  --green: #54bf70;
  --radius: 22px;
  --shadow: 0 20px 50px rgba(0,0,0,.26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family: "IRANYekanX", Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mobile-splash { --splash-logo-size: clamp(158px, 20vw, 190px); --splash-logo-half: clamp(79px, 10vw, 95px); position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: #000; opacity: 1; visibility: visible; transition: opacity .45s ease, visibility .45s ease; }
.mobile-splash img { width: var(--splash-logo-size); height: var(--splash-logo-size); object-fit: cover; border-radius: 38px; border: 1px solid rgba(218,177,64,.38); box-shadow: 0 0 65px rgba(211,169,53,.15); animation: splash-pulse 1.4s ease-in-out infinite; backface-visibility: hidden; transform: translateZ(0); }
.mobile-splash strong { position: absolute; top: calc(50% + var(--splash-logo-half) + 12px); left: 50%; transform: translateX(-50%); margin: 0; color: var(--gold-light); font-family: "IRANYekanX", Tahoma, Arial, sans-serif; font-size: clamp(19px, 2.2vw, 23px); font-weight: 750; line-height: 1.5; white-space: nowrap; text-align: center; letter-spacing: -.02em; }
.mobile-splash span { position: absolute; top: calc(50% + var(--splash-logo-half) + 56px); width: 52px; height: 2px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.1); }
.mobile-splash span::after { content: ""; display: block; width: 45%; height: 100%; border-radius: inherit; background: var(--gold); animation: splash-loading 1s ease-in-out infinite; }
body.splash-ready .mobile-splash { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes splash-pulse { 0%,100% { transform: scale(.98); opacity: .88; } 50% { transform: scale(1.02); opacity: 1; } }
@keyframes splash-loading { from { transform: translateX(140%); } to { transform: translateX(-240%); } }
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .16; }
.ambient-one { width: 270px; height: 270px; background: #9b7010; top: -140px; right: -100px; }
.ambient-two { width: 320px; height: 320px; background: #47340c; bottom: 15%; left: -220px; }
.app-shell { width: min(100%, 1180px); margin: auto; padding: 0 18px 118px; }
.app-header { height: 92px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.brand { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 11px; }
.brand img { width: 52px; height: 52px; object-fit: cover; border-radius: 17px; border: 1px solid var(--line-gold); box-shadow: 0 9px 28px rgba(205,165,50,.11); }
.brand-copy { display: grid; gap: 4px; }
.brand-copy strong { font-size: 18px; font-weight: 750; }
.brand-copy small { color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 5px; }
.brand-copy i, .eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(84,191,112,.09); }
.header-actions { display: flex; gap: 8px; direction: ltr; }
.home-profile-menu{position:relative}.home-profile-popover{position:absolute;z-index:10020;top:calc(100% + 10px);left:0;width:230px;padding:17px;border:1px solid rgba(255,255,255,.17);border-radius:18px;background:#090909;box-shadow:0 24px 65px #000;opacity:1;backdrop-filter:none;-webkit-backdrop-filter:none;direction:rtl;isolation:isolate}.home-profile-popover[hidden]{display:none}.home-profile-popover:before{content:"";position:absolute;top:-6px;left:17px;width:11px;height:11px;transform:rotate(45deg);background:#090909;border-left:1px solid rgba(255,255,255,.17);border-top:1px solid rgba(255,255,255,.17)}.home-profile-popover strong,.home-profile-popover span{display:block}.home-profile-popover strong{font-size:15px}.home-profile-popover span{direction:ltr;text-align:right;color:var(--muted);font-size:12px;margin:5px 0 14px;overflow-wrap:anywhere}.home-profile-popover button{width:100%;min-height:42px;border-radius:12px;border:1px solid var(--line-gold);background:rgba(211,169,53,.09);color:var(--gold-light);margin-top:7px}.home-profile-popover [data-home-logout]{border-color:rgba(255,100,100,.2);background:rgba(190,54,54,.1);color:#ffabab}
.icon-button, .profile-button { width: 43px; height: 43px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.025); display: grid; place-items: center; position: relative; }
.icon-button svg, .profile-button svg { width: 20px; }
.notification-dot { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); top: 8px; right: 8px; border: 2px solid var(--bg); }
main { display: grid; gap: 14px; }
.market-hero, .balance-card, .quick-section { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
.market-hero { border-radius: 28px; padding: 24px 20px 20px; position: relative; overflow: hidden; }
.market-hero::after { content: ""; position: absolute; width: 200px; height: 200px; background: rgba(190,143,27,.08); border-radius: 50%; filter: blur(60px); left: -80px; top: 15%; pointer-events: none; }
.market-heading, .section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; position: relative; z-index: 1; }
.eyebrow { color: var(--muted); font-size: 11px; display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.market-heading h1, .section-heading h2, .sheet-header h2 { font-size: 17px; margin: 0; font-weight: 650; }
.range-select { border: 0; color: var(--muted); background: rgba(255,255,255,.04); border-radius: 11px; padding: 8px 10px; display: flex; align-items: center; gap: 4px; font-size: 10px; }
.range-select svg { width: 14px; }
.chart { height: 130px; margin: 28px -4px 4px; position: relative; z-index: 1; direction: ltr; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-area { fill: url(#chart-fill); stroke: none; }
.chart-line { fill: none; stroke: url(#chart-line); stroke-width: 3; vector-effect: non-scaling-stroke; }
.chart circle { fill: var(--gold-light); stroke: #8a681a; stroke-width: 4; }
.trade-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; position: relative; z-index: 1; }
.trade-quote { min-width: 0; padding: 7px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.018); }
.buy-quote { border-color: rgba(218,177,64,.22); }
.quote-price { min-height: 126px; padding: 9px 8px 11px; display: grid; align-content: center; gap: 7px; }
.quote-price > span { color: var(--muted); font-size: clamp(12px, 3.2vw, 15px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mesghal-quote, .gram-quote { min-width: 0; display: grid; gap: 2px; }
.mesghal-quote { padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.quote-price .mesghal-quote > small, .quote-price .gram-quote > small { color: var(--muted); font-size: 9px; font-weight: 450; }
.quote-price strong { direction: rtl; white-space: nowrap; letter-spacing: -.5px; line-height: 1.15; }
.quote-price .mesghal-quote strong { color: var(--gold-light); font-size: clamp(20px, 5.8vw, 30px); }
.quote-price .gram-quote strong { font-size: clamp(16px, 4.5vw, 23px); }
.quote-price strong small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 450; }
.trade-quote .primary-button, .trade-quote .secondary-button { width: 100%; min-height: 49px; border-radius: 14px; }
.trade-quote .primary-button, .trade-quote .secondary-button { font-size: 18px; font-weight: 850; }
.primary-button, .secondary-button { min-height: 56px; border-radius: 17px; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 8px; }
.primary-button { color: #181305; border: 0; background: linear-gradient(115deg, #bf912b, #f1d475 52%, #c7952c); box-shadow: inset 0 1px rgba(255,255,255,.42), 0 12px 30px rgba(184,134,26,.12); }
.secondary-button { color: var(--gold-light); background: rgba(255,255,255,.015); border: 1px solid var(--line-gold); }
.primary-button svg, .secondary-button svg { width: 18px; }
.balance-card { border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; }
.balance-title { display: flex; align-items: center; gap: 11px; }
.balance-title > div { display: grid; gap: 4px; }
.balance-title > div span { font-size: 13px; }
.balance-title small, .balance-value small { color: var(--muted); font-size: 10px; }
.balance-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; background: rgba(214,172,56,.09); color: var(--gold); }
.balance-icon svg { width: 20px; }
.balance-value { display: grid; gap: 4px; text-align: left; }
.balance-value strong { font-size: 19px; direction: rtl; }
.balance-value strong span { color: var(--muted); font-size: 10px; font-weight: 400; }
.round-link { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--gold); }
.round-link svg { width: 15px; }
.today-report{display:block}.today-report .balance-title{margin-bottom:14px}.today-report-body{display:grid;gap:8px;max-height:245px;overflow:auto;padding-left:3px}.today-report-body>p{color:var(--muted);font-size:11px;margin:4px 0}.today-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px}.today-summary div,.today-row{border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.018)}.today-summary div{padding:10px}.today-summary span,.today-row small{display:block;color:var(--muted);font-size:9px}.today-summary strong{display:block;margin-top:3px;color:var(--gold-light);font-size:13px}.today-list{display:grid;gap:7px}.today-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:9px 10px}.today-row>b{font-size:10px}.today-row>span{font-size:10px;text-align:center}.today-state{padding:4px 6px;border-radius:999px;background:rgba(211,169,53,.08);font-size:8px;color:var(--muted)}
.quick-section { padding: 20px; border-radius: var(--radius); }
.section-heading button { background: transparent; border: 0; color: var(--gold); font-size: 10px; padding: 5px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 18px; }
.quick-grid > button { min-width: 0; min-height: 118px; padding: 14px 8px; border: 1px solid var(--line); background: rgba(255,255,255,.017); border-radius: 17px; display: grid; justify-items: center; align-content: center; gap: 7px; }
.quick-grid > button > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 12px; background: rgba(215,174,59,.08); color: var(--gold); }
.quick-grid svg { width: 19px; }
.quick-grid strong { font-size: 12px; font-weight: 600; }
.quick-grid small { color: var(--muted); font-size: 9px; }
.bottom-nav { position: fixed; z-index: 20; bottom: 0; left: 0; right: 0; height: calc(78px + env(safe-area-inset-bottom)); padding: 8px max(12px, env(safe-area-inset-left)) env(safe-area-inset-bottom); background: rgba(9,9,9,.88); border-top: 1px solid var(--line); backdrop-filter: blur(18px); display: grid; grid-template-columns: repeat(5,1fr); direction: rtl; }
.bottom-nav button, .bottom-nav a { border: 0; background: transparent; color: #777773; display: grid; justify-items: center; align-content: center; gap: 4px; font-size: 14px; font-weight: 650; text-decoration: none; }
.bottom-nav button > svg, .bottom-nav a > svg { width: 25px; height: 25px; }
.bottom-nav button.active, .bottom-nav a.active { color: var(--gold); }
.bottom-nav .nav-trade { color: var(--text); }
.sabagold-site-credit { padding: 5px 18px calc(94px + env(safe-area-inset-bottom)); text-align: center; direction: rtl; }
.sabagold-site-credit button { display: inline-block; padding: 0; border: 0; color: var(--gold-light); background: transparent; font: inherit; font-size: 12px; font-weight: 750; line-height: 1.8; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(241,210,122,.45); text-underline-offset: 6px; transition: color .2s ease; }
.sabagold-site-credit button:hover, .sabagold-site-credit button:focus-visible { color: #fff0b3; outline: none; }
.sabagold-site-credit .sabagold-talaweb-credit { display: grid; width: max-content; max-width: 100%; margin-inline: auto; padding: 2px 10px; justify-items: center; gap: 2px; text-align: center; text-decoration: none; border: 0; }
.sabagold-site-credit .sabagold-talaweb-credit span { color: #fff; font-size: 12px; font-weight: 650; }
.sabagold-site-credit .sabagold-talaweb-credit strong { color: var(--gold-light); font-size: 14px; font-weight: 850; text-decoration: none; border: 0; }
.sabagold-site-credit .sabagold-talaweb-credit:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; border-radius: 8px; }
.sabagold-contact-dialog { width: min(calc(100% - 34px),410px); padding: 0; color: var(--text); border: 1px solid var(--gold); border-radius: 26px; background: linear-gradient(145deg,#23221d,#10100f); box-shadow: 0 25px 80px rgba(0,0,0,.68); }
.sabagold-contact-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(7px); }
.sabagold-contact-modal { position: relative; padding: 32px 25px 26px; text-align: center; direction: rtl; }
.sabagold-contact-close { position: absolute; top: 14px; left: 14px; width: 39px; height: 39px; padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: #fff; background: rgba(255,255,255,.035); font: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.sabagold-contact-icon { width: 72px; height: 72px; margin: 4px auto 16px; display: grid; place-items: center; color: var(--gold-light); border: 1px solid rgba(241,210,122,.68); border-radius: 50%; background: linear-gradient(145deg,rgba(241,210,122,.18),rgba(130,92,15,.12)); box-shadow: 0 0 0 7px rgba(218,177,64,.06),0 12px 26px rgba(0,0,0,.24); }
.sabagold-contact-icon svg { width: 39px; height: 39px; fill: currentColor; }
.sabagold-contact-modal h2 { margin: 0; color: #ffdb72; font-size: clamp(12px,4vw,20px); font-weight: 850; line-height: 1.75; text-shadow: 0 1px 12px rgba(220,171,48,.14); }
.sabagold-contact-modal h2 span { display: block; white-space: nowrap; }
.sabagold-contact-modal p { margin: 9px 0 18px; color: #d7cfae; font-size: 13px; font-weight: 600; }
.sabagold-contact-phone { direction: ltr; margin: 0 0 21px; padding: 13px; border: 1px solid rgba(218,177,64,.42); border-radius: 15px; color: var(--gold-light); background: #0c0c0b; font-family: Arial,sans-serif; font-size: 25px; font-weight: 700; letter-spacing: 1px; text-align: center; }
.sabagold-contact-link { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 16px; color: #171205; background: linear-gradient(115deg,#bc8d25,#f0d274 52%,#c7952c); font-size: 16px; font-weight: 850; text-decoration: none; box-shadow: inset 0 1px rgba(255,255,255,.42),0 12px 30px rgba(184,134,26,.16); }
.sabagold-contact-link svg { width: 21px; height: 21px; fill: currentColor; }
@media (max-width: 360px) { .sabagold-contact-modal { padding-inline: 18px; } .sabagold-contact-modal h2 { font-size: 12px; } }
.trade-icon { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; margin-top: -25px; background: linear-gradient(135deg, var(--gold-light), var(--gold-deep)); color: #171205; box-shadow: 0 9px 25px rgba(199,151,37,.24); border: 4px solid #0b0b0b; }
.trade-icon svg { width: 22px; }
.sheet-backdrop { position: fixed; inset: 0; z-index: 29; background: rgba(0,0,0,.65); opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.trade-sheet[aria-hidden="true"] { display: none; }
.trade-sheet { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; max-height: 90vh; overflow: auto; padding: 11px 20px calc(24px + env(safe-area-inset-bottom)); background: linear-gradient(150deg, #1a1a18, #0d0d0c); border: 1px solid rgba(255,255,255,.11); border-bottom: 0; border-radius: 28px 28px 0 0; box-shadow: 0 -24px 80px rgba(0,0,0,.5); transform: translateY(105%); transition: transform .34s cubic-bezier(.2,.8,.2,1); }
body.sheet-open { overflow: hidden; }
body.sheet-open .sheet-backdrop { opacity: 1; pointer-events: auto; }
body.sheet-open .trade-sheet { transform: translateY(0); }
.sheet-handle { display: block; width: 44px; height: 5px; border: 0; border-radius: 999px; background: #565653; margin: 0 auto 18px; padding: 0; }
.sheet-header { display: flex; justify-content: space-between; align-items: center; }
.sheet-header .eyebrow { font-size: 14px; }
.sheet-header h2 { font-size: 27px; font-weight: 800; }
.close-sheet { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.close-sheet svg { width: 18px; }
.mode-switch { display: none; grid-template-columns: 1fr 1fr; gap: 4px; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 14px; padding: 4px; margin-top: 21px; }
.trade-sheet.switchable .mode-switch { display: grid; }
.mode-switch button { height: 48px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 17px; }
.mode-switch button.active { background: var(--gold); color: #161103; font-weight: 800; }
.amount-label { display: flex; justify-content: space-between; color: var(--muted); font-size: 15px; margin: 25px 3px 9px; }
.amount-input { height: 68px; border: 1px solid var(--line); background: rgba(0,0,0,.16); border-radius: 16px; display: flex; align-items: center; padding: 0 16px; }
.amount-input input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: clamp(27px, 7vw, 32px); font-weight: 750; direction: rtl; }
.amount-input input::placeholder { color: #5f5f5a; font-size: 17px; font-weight: 500; }
.amount-input button { color: var(--gold); background: transparent; border: 0; font-size: 14px; }
.gram-label { margin-top: 25px; }
.price-label { margin-top: 18px; }
.gram-input { border-color: var(--line-gold); }
.gram-input input { direction: rtl; }
.gram-input > span { color: var(--gold-light); font-size: 15px; }
.live-rate-field { min-height: 56px; margin-top: 12px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: 15px; border: 1px solid var(--line); background: rgba(255,255,255,.018); }
.live-rate-field > span { color: var(--muted); font-size: 15px; }
.live-rate-field strong { color: var(--text); font-size: clamp(20px, 5.5vw, 24px); direction: rtl; white-space: nowrap; }
.live-rate-field small { color: var(--muted); font-size: 12px; font-weight: 500; }
.conversion { margin: 20px 0 14px; padding: 15px 16px; border-radius: 15px; background: rgba(211,169,53,.055); display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 15px; }
.conversion strong { color: var(--gold-light); font-size: clamp(22px, 6vw, 27px); }
.conversion small { font-size: 13px; font-weight: 450; }
.confirm-trade { width: 100%; min-height: 64px; font-size: 22px; font-weight: 900; letter-spacing: -.2px; }
.sheet-note { color: var(--muted); font-size: 12px; display: flex; justify-content: center; align-items: center; gap: 6px; margin: 14px 0 0; }
.sheet-note svg { width: 13px; }

@media (max-width: 599px) {
  .trade-sheet { width: 100vw; left: 50%; right: auto; transform: translate(-50%, 105%); }
  body.sheet-open .trade-sheet { transform: translate(-50%, 0); }
}

/* نمودار موقتاً حذف شده است؛ زمان آخرین به‌روزرسانی باید جدا از کارت‌های قیمت بماند. */
@media (max-width: 760px) {
  .market-hero .market-last-update { position: relative; top: auto; left: auto; transform: none; width: max-content; max-width: 100%; margin: 12px auto 16px !important; padding: 9px 12px; }
  .market-hero .market-last-update span, .market-hero .market-last-update time { font-size: 11px; }
}

@media (min-width: 600px) and (max-width: 1023px) {
  .app-shell { width: min(100%, 760px); padding-inline: 28px; }
  .app-header { height: 104px; }
  main { gap: 18px; }
  .market-hero { padding: 30px; }
  .chart { height: 180px; }
  .quick-grid > button { min-height: 128px; }
  .trade-sheet { width: min(540px, calc(100% - 48px)); left: 50%; right: auto; transform: translate(-50%, 105%); border-radius: 30px 30px 0 0; }
  body.sheet-open .trade-sheet { transform: translate(-50%, 0); }
}

@media (max-width: 1023px) {
  .quote-price { min-width: 0; overflow: hidden; padding-inline: clamp(3px, 1.8vw, 8px); }
  .mesghal-quote, .gram-quote { overflow: hidden; }
  .quote-price strong { display: block; max-width: 100%; font-variant-numeric: tabular-nums; }
  .quote-price .mesghal-quote strong { font-size: clamp(14px, 4.6vw, 24px); letter-spacing: -.8px; }
  .quote-price .gram-quote strong { font-size: clamp(13px, 3.8vw, 19px); letter-spacing: -.65px; }
}

@media (min-width: 1024px) {
  .app-shell { padding-inline: 30px; padding-bottom: 50px; }
  .app-header { height: 112px; }
  main { grid-template-columns: minmax(0, 1.7fr) minmax(300px, .9fr); align-items: start; gap: 18px; }
  .market-hero { grid-row: span 2; padding: 30px; }
  .chart { height: 200px; }
  .balance-card { grid-column: 2; }
  .quick-section { grid-column: 2; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid > button { min-height: 82px; grid-template-columns: auto 1fr; grid-template-rows: auto auto; justify-items: start; text-align: right; padding: 13px; column-gap: 11px; }
  .quick-grid > button > span { grid-row: 1 / span 2; }
  .bottom-nav { position: relative; width: min(720px, 100%); margin: 30px auto 0; border: 1px solid var(--line); border-radius: 20px; height: 76px; padding: 8px; }
  .sabagold-site-credit { padding: 15px 30px 28px; }
  .trade-sheet { width: min(480px, calc(100% - 32px)); left: 50%; right: auto; top: 50%; bottom: auto; border: 1px solid rgba(255,255,255,.11); border-radius: 28px; transform: translate(-50%, calc(-50% + 120vh)); }
  body.sheet-open .trade-sheet { transform: translate(-50%, -50%); }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
