:root {
  color-scheme: dark;
  --bg: #170b15;
  --bg-deep: #10070f;
  --panel: rgba(55, 24, 47, .54);
  --panel-strong: rgba(67, 29, 57, .70);
  --panel-soft: rgba(255, 210, 235, .045);
  --border: rgba(255, 218, 240, .12);
  --border-strong: rgba(255, 196, 228, .24);
  --text: #fff7fc;
  --muted: #c6aabd;
  --muted-2: #987b90;
  --pink: #f27bb7;
  --pink-light: #ffb6db;
  --pink-hot: #ff5ca7;
  --pink-deep: #a63d79;
  --green: #83e6ba;
  --red: #ff8da9;
  --sidebar-width: 264px;
  --content-max: 1660px;
  --radius-xl: 27px;
  --radius-lg: 21px;
  --shadow: 0 28px 90px rgba(0,0,0,.24);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
.icon { width: 18px; height: 18px; flex: none; display: block; }
.icon-xs { width: 14px; height: 14px; }
.icon-lg { width: 22px; height: 22px; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--text); background: transparent; font-size: 15px; line-height: 1.55; overflow-x: hidden; }
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { color: #2a1022; background: #ffafd8; }

/* The background is procedural CSS, not a low-resolution bitmap. It remains smooth at 4K and above. */
.scene-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 50% -18%, #7c315d 0%, #3b1933 31%, #1b0d19 68%, #120912 100%); }
.scene-bg::before { content: ""; position: absolute; inset: -15%; opacity: .8; background: radial-gradient(ellipse 32% 80% at 13% 8%, rgba(233,88,157,.40), transparent 68%), radial-gradient(ellipse 25% 80% at 42% -5%, rgba(244,111,181,.28), transparent 68%), radial-gradient(ellipse 25% 75% at 78% 2%, rgba(204,73,145,.31), transparent 70%), radial-gradient(ellipse 22% 78% at 98% 20%, rgba(244,120,186,.20), transparent 70%); filter: blur(55px); animation: ambient-drift 32s ease-in-out infinite alternate; }
.scene-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,6,14,.08), rgba(16,6,14,.48) 56%, rgba(12,6,12,.82)); }
.scene-glow { position: absolute; width: 38vw; height: 56vw; border-radius: 50%; filter: blur(100px); opacity: .18; transform: translate3d(0,0,0); animation: glow-float 24s ease-in-out infinite alternate; }
.scene-glow-a { left: 6%; top: -25%; background: #ff61ae; }
.scene-glow-b { right: 4%; top: -10%; background: #a3317b; animation-delay: -8s; }
.scene-glow-c { left: 38%; bottom: -55%; background: #7e2e67; animation-delay: -14s; }
.scene-beam { position: absolute; top: -28%; bottom: -22%; width: clamp(95px, 11vw, 260px); border-radius: 50%; filter: blur(48px); opacity: .12; transform: rotate(7deg); background: linear-gradient(90deg, transparent, rgba(255,151,204,.68), transparent); animation: beam-breathe 14s ease-in-out infinite alternate; }
.scene-beam-a { left: 10%; }
.scene-beam-b { left: 47%; opacity: .08; animation-delay: -5s; }
.scene-beam-c { right: 10%; opacity: .11; animation-delay: -9s; }
.scene-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,226,242,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,226,242,.05) 1px, transparent 1px); background-size: 76px 76px; mask-image: linear-gradient(180deg, black, transparent 82%); }
.scene-grain { position: absolute; inset: 0; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; min-height: 680px; display: flex; flex-direction: column; padding: 27px 19px 20px; border-right: 1px solid rgba(255,218,240,.10); background: linear-gradient(180deg, rgba(22,9,20,.84), rgba(22,9,20,.66)); backdrop-filter: blur(30px) saturate(145%); -webkit-backdrop-filter: blur(30px) saturate(145%); z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; min-height: 47px; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; filter: drop-shadow(0 6px 20px rgba(244,104,174,.22)); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; letter-spacing: .15em; }
.brand-copy strong { font-size: 15px; font-weight: 850; letter-spacing: .18em; }
.brand-copy small { margin-top: 5px; font-size: 9px; color: #d7a8c4; letter-spacing: .34em; font-weight: 700; }
.sidebar-scroll { flex: 1; overflow: auto; padding: 43px 0 18px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.12) transparent; }
.nav-group-label { padding: 0 11px 11px; color: #9c7d91; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.nav-group-spaced { margin-top: 34px; }
.side-nav { display: grid; gap: 6px; }
.nav-link { position: relative; display: flex; align-items: center; gap: 13px; min-height: 49px; padding: 0 13px; border: 1px solid transparent; border-radius: 15px; color: #c8adc0; font-size: 14px; font-weight: 620; transition: background .28s ease, color .28s ease, border-color .28s ease, transform .28s ease, box-shadow .28s ease; }
.nav-link:hover { color: #fff7fc; background: rgba(255,207,232,.075); border-color: rgba(255,217,239,.08); transform: translateX(2px); }
.nav-link.active { color: #fff8fc; border-color: rgba(255,190,224,.13); background: linear-gradient(100deg, rgba(238,99,168,.20), rgba(255,198,226,.055)); box-shadow: inset 0 1px rgba(255,255,255,.06), 0 8px 26px rgba(0,0,0,.08); }
.nav-link.active .nav-icon { color: #ffadd5; background: rgba(255,157,205,.14); }
.nav-icon { width: 27px; height: 27px; flex: 0 0 27px; display: grid; place-items: center; border-radius: 50%; color: #b993ae; background: rgba(255,255,255,.045); font-size: 17px; line-height: 1; }
.nav-icon svg { width: 17px; height: 17px; }
.metric-icon svg, .search-box svg, .swap-control svg, .refresh-button svg, .modal-close svg { width: 17px; height: 17px; }
.feature-symbol svg { width: 20px; height: 20px; }
.metric-icon, .feature-symbol { display: grid; place-items: center; }
.swap-control { display: inline-flex; align-items: center; justify-content: center; }
.nav-active { display: none; position: absolute; left: -19px; width: 3px; height: 25px; border-radius: 0 5px 5px 0; background: #fa8ec3; box-shadow: 0 0 18px rgba(255,116,185,.65); }
.nav-link.active .nav-active { display: block; }
.nav-count { margin-left: auto; padding: 3px 8px; border: 1px solid rgba(255,216,238,.10); border-radius: 999px; color: #d6a5c3; background: rgba(255,255,255,.045); font-size: 10px; font-weight: 750; }
.sidebar-bottom { display: grid; gap: 15px; padding-top: 17px; border-top: 1px solid rgba(255,219,240,.09); }
.sidebar-status { display: flex; align-items: center; gap: 11px; padding: 13px 12px; border: 1px solid rgba(255,218,240,.09); border-radius: 15px; background: rgba(255,255,255,.035); }
.sidebar-status strong, .sidebar-status small { display: block; }
.sidebar-status strong { font-size: 11px; font-weight: 750; }
.sidebar-status small { margin-top: 3px; color: #a8899c; font-size: 10px; }
.status-pulse { position: relative; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #80dfb2; box-shadow: 0 0 13px rgba(128,223,178,.52); }
.status-pulse::after { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(128,223,178,.28); border-radius: 50%; animation: status-ping 2.4s ease-out infinite; }
.settings-link { min-height: 43px; }
.sidebar-foot { display: flex; align-items: center; gap: 7px; color: #8e7185; font-size: 10px; padding: 0 6px; }
.mini-brand-dot { width: 6px; height: 6px; border-radius: 50%; background: #e879b2; box-shadow: 0 0 10px rgba(232,121,178,.6); }
.version-label { margin-left: auto; color: #75586c; }

.workspace { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 15; height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(22px, 4vw, 68px); border-bottom: 1px solid rgba(255,218,240,.08); background: rgba(22,9,20,.44); backdrop-filter: blur(26px) saturate(150%); -webkit-backdrop-filter: blur(26px) saturate(150%); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; min-width: 0; }
.breadcrumbs { display: flex; align-items: center; gap: 11px; color: #9f8195; font-size: 13px; }
.breadcrumbs strong { color: #fff0f8; font-weight: 720; }
.breadcrumb-divider { color: #68435b; }
.topbar-right { gap: 12px; }
.market-connection { display: flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid rgba(255,221,240,.10); border-radius: 999px; color: #c9a9bc; background: rgba(255,255,255,.035); font-size: 11px; font-weight: 650; white-space: nowrap; }
.market-connection .status-pulse { width: 6px; height: 6px; flex-basis: 6px; }
.market-connection.offline .status-pulse { background: #ff9aaf; box-shadow: 0 0 13px rgba(255,154,175,.42); }
.profile-chip { display: flex; align-items: center; gap: 9px; padding: 5px 10px 5px 6px; border: 1px solid rgba(255,221,240,.10); border-radius: 999px; background: rgba(255,255,255,.04); }
.profile-avatar { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(255,205,231,.28); border-radius: 50%; color: #321126; background: linear-gradient(145deg, #ffc4e1, #df6ba9); font-size: 12px; font-weight: 850; }
.profile-copy strong, .profile-copy small { display: block; white-space: nowrap; }
.profile-copy strong { font-size: 10px; font-weight: 760; }
.profile-copy small { margin-top: 1px; color: #9d7d91; font-size: 9px; }
.icon-button { display: inline-grid; place-items: center; border: 1px solid rgba(255,218,240,.13); border-radius: 50%; color: #f6c6df; background: rgba(255,255,255,.055); cursor: pointer; transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.icon-button:hover { border-color: rgba(255,188,222,.35); background: rgba(255,174,214,.12); box-shadow: 0 8px 24px rgba(0,0,0,.15); transform: translateY(-1px); }
.refresh-button { width: 39px; height: 39px; font-size: 23px; line-height: 1; }
.refresh-button.is-loading { animation: rotate 1s linear infinite; }
.mobile-sidebar-toggle { display: none; width: 41px; height: 41px; }
.hamburger { display: grid; gap: 4px; }
.hamburger i { width: 17px; height: 1.5px; display: block; border-radius: 3px; background: #f5c2dc; }
.page-content { flex: 1; width: 100%; max-width: calc(var(--content-max) + 2 * clamp(22px, 4vw, 68px)); margin: 0 auto; padding: clamp(29px, 4vw, 57px) clamp(22px, 4vw, 68px) 72px; min-height: calc(100vh - 135px); outline: none; }
.app-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 25px; padding: 20px clamp(22px, 4vw, 68px) 24px; border-top: 1px solid rgba(255,218,240,.08); color: #8d7083; font-size: 10px; }
.app-footer a { color: #c59ab4; transition: color .2s ease; }
.app-footer a:hover { color: #fff; }

/* Type system and glass surfaces */
.eyebrow { color: #eca0c7; font-size: 10px; font-weight: 850; letter-spacing: .19em; text-transform: uppercase; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 29px; }
.page-heading h1, .hero-title { margin: 9px 0 0; color: #fff8fc; font-size: clamp(34px, 3.2vw, 54px); line-height: 1.08; letter-spacing: -.055em; font-weight: 800; }
.page-heading p { max-width: 700px; margin: 12px 0 0; color: #c1a2b6; font-size: 15px; line-height: 1.7; }
.heading-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.gradient-text { color: #ffadd4; background: linear-gradient(100deg,#ffe2f1 0%,#ff91c4 48%,#d968a5 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.glass-panel { border: 1px solid var(--border); border-radius: var(--radius-xl); background: linear-gradient(145deg, rgba(94,47,78,.36), rgba(39,17,34,.64)); box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,.065); backdrop-filter: blur(32px) saturate(160%); -webkit-backdrop-filter: blur(32px) saturate(160%); }
.glass-soft { border: 1px solid rgba(255,221,240,.10); border-radius: var(--radius-lg); background: rgba(255,255,255,.045); box-shadow: inset 0 1px rgba(255,255,255,.04); backdrop-filter: blur(20px); }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 22px; border: 1px solid rgba(255,215,237,.18); border-radius: 999px; color: #ffeff8; background: rgba(255,255,255,.06); font-size: 13px; font-weight: 760; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease, background .28s ease; }
.button::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: linear-gradient(110deg, transparent 15%, rgba(255,255,255,.19), transparent 72%); transform: translateX(-120%); transition: opacity .25s ease, transform .65s ease; }
.button:hover { transform: translateY(-2px); border-color: rgba(255,211,235,.35); box-shadow: 0 13px 32px rgba(0,0,0,.18), 0 0 24px rgba(239,112,179,.12); }
.button:hover::before { opacity: 1; transform: translateX(120%); }
.button:active { transform: translateY(0) scale(.985); }
.button-primary { border-color: rgba(255,198,226,.35); color: #311326; background: linear-gradient(115deg,#ffd0e8 0%,#f28aba 48%,#da69a7 100%); box-shadow: 0 9px 26px rgba(211,77,145,.23), inset 0 1px rgba(255,255,255,.65); }
.button-primary:hover { box-shadow: 0 14px 35px rgba(211,77,145,.34), 0 0 28px rgba(239,112,179,.19), inset 0 1px rgba(255,255,255,.7); }
.button-glass { background: linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.035)); }
.button-small { min-height: 39px; padding: 0 15px; border-radius: 999px; font-size: 11px; }
.button-wide { width: 100%; }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.text-button { border: 0; padding: 0; color: #efacd0; background: transparent; font-size: 12px; font-weight: 730; cursor: pointer; }
.text-button:hover { color: #fff; }

/* Dashboard hero */
.hero-banner { position: relative; isolation: isolate; min-height: 295px; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 25px; padding: clamp(28px, 4vw, 55px); border-radius: 31px; border: 1px solid rgba(255,218,240,.17); overflow: hidden; background: linear-gradient(110deg, rgba(86,35,69,.80), rgba(52,21,46,.68) 58%, rgba(76,29,60,.55)); box-shadow: 0 30px 90px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.10); backdrop-filter: blur(28px); }
.hero-banner::before { content: ""; position: absolute; z-index: -1; inset: -30%; background: radial-gradient(ellipse at 72% 45%, rgba(255,123,185,.27), transparent 28%), radial-gradient(ellipse at 88% 55%, rgba(172,74,134,.30), transparent 34%), radial-gradient(ellipse at 10% 12%, rgba(243,143,197,.16), transparent 30%); animation: hero-glow 14s ease-in-out infinite alternate; }
.hero-banner::after { content: ""; position: absolute; z-index: -1; width: 410px; height: 410px; right: 8%; top: 50%; border: 1px solid rgba(255,221,240,.14); border-radius: 50%; transform: translateY(-50%); box-shadow: 0 0 0 34px rgba(255,221,240,.025), 0 0 0 78px rgba(255,221,240,.018), inset 0 0 75px rgba(255,153,204,.08); }
.hero-content { max-width: 700px; position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(255,219,240,.16); border-radius: 999px; color: #ffd1e7; background: rgba(255,255,255,.06); font-size: 10px; font-weight: 760; letter-spacing: .08em; }
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: #ff9ecb; box-shadow: 0 0 12px rgba(255,158,203,.8); }
.hero-title { margin-top: 17px; font-size: clamp(38px, 4.1vw, 66px); }
.hero-subtitle { max-width: 620px; margin: 15px 0 21px; color: #d4b8ca; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.75; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-orbit { position: absolute; width: min(35%, 430px); aspect-ratio: 1; right: 7%; top: 50%; transform: translateY(-50%); display: grid; place-items: center; pointer-events: none; }
.orbit-ring { position: absolute; inset: 6%; border: 1px solid rgba(255,205,230,.16); border-radius: 50%; animation: orbit-rotate 44s linear infinite; }
.orbit-ring::before, .orbit-ring::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #ffc0df; box-shadow: 0 0 22px #ff8dc5; }
.orbit-ring::before { top: 13%; left: 22%; }
.orbit-ring::after { bottom: 17%; right: 13%; width: 7px; height: 7px; opacity: .7; }
.orbit-ring-two { inset: 19%; border-style: dashed; opacity: .55; animation-direction: reverse; animation-duration: 55s; }
.orbit-core { width: 42%; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,224,242,.26); border-radius: 33%; color: #fff2fa; background: linear-gradient(145deg,rgba(255,208,232,.28),rgba(187,79,142,.17)); box-shadow: 0 0 65px rgba(239,117,181,.2), inset 0 1px rgba(255,255,255,.22); backdrop-filter: blur(18px); transform: rotate(-12deg); }
.orbit-core span { font-size: clamp(34px, 5vw, 68px); font-weight: 850; letter-spacing: -.12em; transform: rotate(12deg); text-shadow: 0 4px 30px rgba(255,167,213,.38); }

/* Cards and metrics */
.metrics-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 27px; }
.metric-card { position: relative; min-height: 132px; padding: 20px 21px; overflow: hidden; transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.metric-card:hover { transform: translateY(-4px); border-color: rgba(255,205,230,.22); background: rgba(255,255,255,.065); }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 9px; color: #c4a4b8; font-size: 11px; font-weight: 650; }
.metric-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #ffb3d7; background: rgba(245,127,183,.12); font-size: 15px; }
.metric-value { margin-top: 12px; color: #fff7fc; font-size: clamp(23px,2.1vw,31px); font-weight: 780; letter-spacing: -.045em; }
.metric-foot { margin-top: 2px; color: #a98a9e; font-size: 10px; }
.metric-foot.good { color: #9be4bf; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.42fr) minmax(330px,.86fr); gap: 18px; align-items: start; }
.panel { padding: 23px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.panel-title { margin: 0; font-size: 17px; font-weight: 760; letter-spacing: -.025em; }
.panel-subtitle { margin: 5px 0 0; color: #a88a9d; font-size: 11px; }
.panel-action { color: #f0aed0; font-size: 11px; font-weight: 720; white-space: nowrap; }
.panel-action:hover { color: white; }
.market-mini-list { display: grid; }
.market-mini-row { display: grid; grid-template-columns: minmax(135px,1.4fr) minmax(110px,1fr) 88px; align-items: center; gap: 12px; min-height: 64px; border-top: 1px solid rgba(255,221,240,.075); }
.market-mini-row:first-child { border-top: 0; }
.asset-cell { min-width: 0; display: flex; align-items: center; gap: 11px; }
.coin-logo { width: 35px; height: 35px; flex: 0 0 35px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; color: #fff; background: linear-gradient(145deg,rgba(255,255,255,.14),rgba(255,255,255,.045)); font-size: 13px; font-weight: 850; box-shadow: inset 0 1px rgba(255,255,255,.12); }
.coin-logo.btc { color: #ffd19d; background: linear-gradient(145deg,rgba(255,168,75,.22),rgba(255,168,75,.06)); }
.coin-logo.eth { color: #d8d0ff; background: linear-gradient(145deg,rgba(145,126,255,.22),rgba(145,126,255,.06)); }
.coin-logo.sol { color: #c9aaff; background: linear-gradient(145deg,rgba(170,105,255,.23),rgba(53,211,174,.06)); }
.coin-logo.stable { color: #8ee4c5; background: linear-gradient(145deg,rgba(67,208,153,.20),rgba(67,208,153,.05)); }
.coin-logo.xrp { color: #e2e3ed; }
.coin-logo.doge { color: #f2d783; }
.coin-logo.alt { color: #ffc2df; }
.asset-name { min-width: 0; }
.asset-name strong, .asset-name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asset-name strong { color: #fff4fb; font-size: 12px; font-weight: 750; }
.asset-name small { margin-top: 2px; color: #94758a; font-size: 10px; }
.price-main { font-size: 12px; font-weight: 720; font-variant-numeric: tabular-nums; white-space: nowrap; }
.change-pill { display: inline-flex; justify-content: center; min-width: 72px; padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 760; font-variant-numeric: tabular-nums; }
.change-pill.positive { color: var(--green); background: rgba(101,218,165,.10); }
.change-pill.negative { color: var(--red); background: rgba(255,118,151,.10); }
.quick-exchange { display: grid; gap: 12px; }
.field-label { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 7px; color: #c9aabd; font-size: 11px; font-weight: 700; }
.field-label small { color: #987b90; font-size: 10px; font-weight: 550; }
.trade-field { display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 9px 11px 9px 16px; border: 1px solid rgba(255,218,240,.13); border-radius: 26px; background: rgba(20,8,18,.42); transition: border-color .22s ease, box-shadow .22s ease, background .22s ease; }
.trade-field:focus-within { border-color: rgba(255,160,207,.47); background: rgba(30,10,25,.66); box-shadow: 0 0 0 3px rgba(255,133,190,.08); }
.trade-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: #fff6fb; background: transparent; font-size: 22px; font-weight: 760; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.trade-field input::placeholder { color: #785b6e; }
.asset-picker { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid rgba(255,218,240,.13); border-radius: 999px; background: rgba(255,255,255,.06); }
.asset-picker select { max-width: 105px; border: 0; outline: 0; color: #fff4fa; background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.asset-picker select option { color: #fff; background: #2a1425; }
.swap-row { display: flex; align-items: center; gap: 10px; margin: -1px 5px; }
.swap-row::before, .swap-row::after { content: ""; height: 1px; flex: 1; background: rgba(255,221,240,.10); }
.swap-control { width: 56px; height: 35px; border: 1px solid rgba(255,208,232,.18); border-radius: 999px; color: #ffc0de; background: rgba(255,175,215,.08); font-size: 9px; font-weight: 850; letter-spacing: .10em; cursor: pointer; transition: transform .25s ease, background .25s ease; }
.swap-control:hover { transform: translateY(-1px); background: rgba(255,175,215,.16); }
.field-hint { display: flex; justify-content: space-between; gap: 10px; margin: 6px 2px 0; color: #95798c; font-size: 10px; }
.quote-summary { display: grid; gap: 10px; padding: 14px 15px; border: 1px solid rgba(255,216,238,.085); border-radius: 15px; background: rgba(255,255,255,.035); }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #ad91a4; font-size: 11px; }
.summary-row strong { color: #f5e5ee; font-weight: 700; font-variant-numeric: tabular-nums; }
.summary-total { padding-top: 10px; border-top: 1px solid rgba(255,221,240,.09); color: #f4c4dc; }
.summary-total strong { color: #fff3f9; font-size: 13px; }
.fee-tag { display: inline-flex; padding: 3px 7px; border-radius: 999px; color: #ffd6e9; background: rgba(241,125,181,.13); font-size: 9px; font-weight: 800; }
.quote-status { display: inline-flex; align-items: center; gap: 7px; color: #a9e6c6; }
.quote-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #8be0b7; box-shadow: 0 0 10px rgba(139,224,183,.55); }
.fine-print { margin: 0; color: #92758a; font-size: 9px; line-height: 1.6; }

/* Markets */
.market-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 17px; }
.market-tabs { display: inline-flex; flex-wrap: wrap; gap: 5px; padding: 5px; border: 1px solid rgba(255,221,240,.10); border-radius: 999px; background: rgba(255,255,255,.035); }
.market-tab { min-height: 33px; padding: 0 13px; border: 0; border-radius: 999px; color: #b99db0; background: transparent; font-size: 11px; font-weight: 720; cursor: pointer; transition: .22s ease; }
.market-tab.active { color: #331628; background: linear-gradient(115deg,#ffd0e8,#e77bb3); box-shadow: 0 5px 15px rgba(206,83,146,.18); }
.search-sort { display: flex; flex-wrap: wrap; gap: 9px; }
.search-box { min-width: min(265px,100%); display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid rgba(255,218,240,.12); border-radius: 999px; background: rgba(255,255,255,.045); }
.search-box span { color: #b48aa4; font-size: 16px; }
.search-box input { width: 100%; min-height: 41px; border: 0; outline: 0; color: #fff4fa; background: transparent; font-size: 12px; }
.search-box input::placeholder { color: #98798d; }
.select-control { min-height: 41px; padding: 0 13px; border: 1px solid rgba(255,218,240,.12); border-radius: 999px; color: #e9d4e0; background: rgba(255,255,255,.045); font-size: 11px; outline: 0; }
.select-control option { background: #281326; color: #fff; }
.market-table { overflow: hidden; }
.market-table-head, .market-row-full { display: grid; grid-template-columns: minmax(190px,1.5fr) minmax(125px,1fr) minmax(100px,.8fr) minmax(130px,1fr) minmax(110px,.8fr); gap: 18px; align-items: center; padding: 0 22px; }
.market-table-head { min-height: 50px; border-bottom: 1px solid rgba(255,221,240,.09); color: #9f8094; background: rgba(255,255,255,.025); font-size: 10px; font-weight: 770; letter-spacing: .07em; text-transform: uppercase; }
.market-row-full { min-height: 72px; border-bottom: 1px solid rgba(255,221,240,.065); transition: background .2s ease; }
.market-row-full:last-child { border-bottom: 0; }
.market-row-full:hover { background: rgba(255,213,235,.045); }
.market-row-full .asset-cell { gap: 13px; }
.market-row-full .coin-logo { width: 39px; height: 39px; flex-basis: 39px; }
.market-symbol-name strong { font-size: 13px; }
.market-symbol-name small { font-size: 10px; }
.market-cap, .volume-value { color: #ceb5c5; font-size: 11px; font-variant-numeric: tabular-nums; }
.network-label { display: inline-flex; padding: 5px 9px; border: 1px solid rgba(255,221,240,.08); border-radius: 999px; color: #c3a5b8; background: rgba(255,255,255,.035); font-size: 9px; }
.market-row-full .change-pill { justify-self: start; }
.table-empty { padding: 45px 20px; text-align: center; color: #b99db1; font-size: 13px; }
.table-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 12px; color: #8e7084; font-size: 10px; }
.data-source { display: inline-flex; align-items: center; gap: 7px; }
.data-source::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #80dcb0; }
.data-source.stale::before { background: #f0be80; }
.data-source.offline::before { background: #ff8ea5; }

/* Lower content modules */
.section-spacer { margin-top: 24px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.feature-tile { min-height: 190px; padding: 22px; transition: transform .28s ease, border-color .28s ease; }
.feature-tile:hover { transform: translateY(-4px); border-color: rgba(255,204,230,.23); }
.feature-number { color: #d18caf; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.feature-symbol { width: 42px; height: 42px; display: grid; place-items: center; margin: 20px 0 15px; border: 1px solid rgba(255,210,233,.16); border-radius: 50%; color: #ffc1df; background: rgba(247,131,186,.10); font-size: 19px; }
.feature-tile h3 { margin: 0; font-size: 15px; }
.feature-tile p { margin: 7px 0 0; color: #a98b9f; font-size: 11px; line-height: 1.7; }

/* Portfolio and order history */
.holdings-summary { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-bottom: 18px; }
.balance-card { position: relative; overflow: hidden; padding: 28px; }
.balance-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -40px; top: -90px; border-radius: 50%; background: rgba(255,150,202,.13); filter: blur(35px); }
.balance-label { color: #c8a9bd; font-size: 12px; }
.balance-value { margin-top: 9px; font-size: clamp(32px,4vw,48px); font-weight: 800; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.balance-note { margin-top: 6px; color: #9e8194; font-size: 11px; }
.holdings-form { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 10px; padding: 19px; }
.input-stack label { display: block; margin-bottom: 7px; color: #c9aabd; font-size: 10px; font-weight: 720; }
.input-stack input, .input-stack select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid rgba(255,218,240,.13); border-radius: 22px; outline: 0; color: #fff5fa; background: rgba(20,8,18,.46); font-size: 12px; }
.input-stack input:focus, .input-stack select:focus { border-color: rgba(255,160,207,.45); box-shadow: 0 0 0 3px rgba(255,133,190,.07); }
.input-stack select option { background: #281326; }
.holdings-table { margin-top: 18px; }
.holding-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; align-items: center; gap: 15px; min-height: 68px; padding: 0 20px; border-bottom: 1px solid rgba(255,221,240,.07); }
.holding-row:last-child { border-bottom: 0; }
.holding-row-head { min-height: 43px; color: #98798d; background: rgba(255,255,255,.025); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.remove-holding { width: 31px; height: 31px; border: 1px solid rgba(255,218,240,.10); border-radius: 50%; display: inline-grid; place-items: center; color: #c99bb6; background: rgba(255,255,255,.04); cursor: pointer; }
.remove-holding:hover { color: #fff; border-color: rgba(255,140,170,.30); background: rgba(255,115,157,.10); }
.order-list { display: grid; }
.order-item { display: grid; grid-template-columns: minmax(180px,1.3fr) minmax(150px,1fr) minmax(115px,.8fr) auto; align-items: center; gap: 15px; min-height: 77px; padding: 12px 20px; border-bottom: 1px solid rgba(255,221,240,.07); }
.order-item:last-child { border-bottom: 0; }
.order-id { color: #fff0f8; font-size: 12px; font-weight: 750; }
.order-date { margin-top: 4px; color: #92758a; font-size: 10px; }
.order-pair { color: #e8cede; font-size: 12px; font-weight: 700; }
.order-amount { margin-top: 3px; color: #a98b9f; font-size: 10px; }
.status-preview { display: inline-flex; padding: 6px 9px; border: 1px solid rgba(255,203,138,.15); border-radius: 999px; color: #f0c58f; background: rgba(255,187,115,.07); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

/* Education, security and settings */
.content-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.info-card { padding: 23px; }
.info-card h3 { margin: 0 0 8px; font-size: 16px; }
.info-card p { margin: 0; color: #ad91a4; font-size: 12px; line-height: 1.8; }
.info-card .feature-symbol { margin: 0 0 17px; }
.callout { margin-top: 18px; padding: 18px 20px; border: 1px solid rgba(255,193,142,.17); border-radius: 17px; color: #efd0b5; background: rgba(214,131,88,.07); font-size: 12px; line-height: 1.75; }
.faq-stack { display: grid; gap: 10px; }
.faq-stack details { padding: 17px 19px; border: 1px solid rgba(255,221,240,.10); border-radius: 16px; background: rgba(255,255,255,.04); }
.faq-stack summary { display: flex; justify-content: space-between; gap: 12px; color: #f4dce9; font-size: 13px; font-weight: 720; cursor: pointer; list-style: none; }
.faq-stack summary::-webkit-details-marker { display: none; }
.faq-stack summary::after { content: ""; position: relative; flex: 0 0 18px; width: 18px; height: 18px; }
.faq-stack summary::after { background:
    linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat; }
.faq-stack summary { color: #f4dce9; }
.faq-stack summary::after { color: #f2a4cb; }
.faq-stack details[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat; }
.faq-stack details p { margin: 12px 0 0; color: #b69aab; font-size: 12px; line-height: 1.8; }
.settings-list { display: grid; gap: 0; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 19px 0; border-bottom: 1px solid rgba(255,221,240,.075); }
.setting-row:last-child { border-bottom: 0; }
.setting-row strong, .setting-row small { display: block; }
.setting-row strong { font-size: 13px; }
.setting-row small { margin-top: 4px; color: #9f8195; font-size: 11px; }
.switch { position: relative; width: 45px; height: 26px; flex: 0 0 45px; border: 1px solid rgba(255,221,240,.16); border-radius: 30px; background: rgba(255,255,255,.08); cursor: pointer; transition: background .2s ease; }
.switch::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: #e5c4d6; transition: transform .2s ease, background .2s ease; }
.switch[aria-checked="true"] { background: linear-gradient(100deg,#f3a5cc,#d969a5); }
.switch[aria-checked="true"]::after { transform: translateX(19px); background: #341528; }

/* Loading and modal */
.page-loading { display: flex; align-items: center; gap: 12px; padding: 70px 0; color: #c2a3b7; font-size: 13px; }
.loading-orbit { width: 22px; height: 22px; border: 2px solid rgba(255,198,226,.17); border-top-color: #f6a0ca; border-radius: 50%; animation: rotate 1s linear infinite; }
.market-loading { display: flex; align-items: center; gap: 11px; padding: 28px; color: #bda0b4; font-size: 12px; }
.market-error { align-items: flex-start; flex-direction: column; gap: 4px; }
.market-error strong { color: #ffd6e8; font-size: 13px; }
.market-error span { color: #a98b9e; }
.retry-link { margin-top: 7px; }
.toast { position: fixed; right: 25px; bottom: 25px; z-index: 100; max-width: min(420px,calc(100vw - 32px)); padding: 14px 18px; border: 1px solid rgba(255,218,240,.18); border-radius: 15px; color: #fff2f9; background: rgba(48,21,42,.94); box-shadow: 0 18px 50px rgba(0,0,0,.3); backdrop-filter: blur(20px); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
.modal-backdrop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 18px; background: rgba(9,4,9,.72); backdrop-filter: blur(13px); }
.hidden { display: none !important; }
.order-modal { position: relative; width: min(100%,520px); padding: 34px; animation: modal-enter .35s cubic-bezier(.2,.8,.2,1) both; }
.modal-close { position: absolute; right: 18px; top: 18px; width: 37px; height: 37px; font-size: 20px; }
.modal-emblem { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid rgba(255,211,234,.23); border-radius: 50%; color: #ffd3e8; background: rgba(241,133,187,.12); font-size: 13px; font-weight: 850; letter-spacing: .1em; }
.order-modal h2 { margin: 8px 0; font-size: 27px; letter-spacing: -.04em; }
.modal-description { margin: 0 0 20px; color: #ae91a5; font-size: 12px; }
.modal-pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 18px; border: 1px solid rgba(255,221,240,.10); border-radius: 16px; background: rgba(255,255,255,.04); }
.modal-pair small, .modal-pair strong { display: block; }
.modal-pair small { color: #9b7c90; font-size: 9px; font-weight: 800; letter-spacing: .09em; }
.modal-pair strong { margin-top: 6px; color: #fff4fa; font-size: 14px; overflow-wrap: anywhere; }
.modal-pair-divider { color: #e5a0c5; font-size: 9px; font-weight: 850; }
.modal-details { display: grid; gap: 11px; padding: 17px 2px; }
.modal-details div { display: flex; justify-content: space-between; gap: 12px; color: #ae91a5; font-size: 11px; }
.modal-details b { color: #f4dfea; font-weight: 730; }
.pink-text { color: #ffabd2 !important; }
.confirm-check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 17px; color: #b99caf; font-size: 10px; line-height: 1.6; cursor: pointer; }
.confirm-check input { accent-color: #ec82b7; margin-top: 2px; }
.modal-error { min-height: 17px; margin-top: 8px; color: #ff9aae; font-size: 10px; }
.mobile-scrim { display: none; }

@keyframes ambient-drift { from { transform: translate3d(-1.5%,0,0) scale(1); } to { transform: translate3d(1.5%,2%,0) scale(1.06); } }
@keyframes glow-float { from { transform: translate3d(-2%,0,0) scale(.96); } to { transform: translate3d(3%,5%,0) scale(1.08); } }
@keyframes beam-breathe { from { opacity: .06; } to { opacity: .17; } }
@keyframes hero-glow { from { transform: translateX(-2%) scale(1); } to { transform: translateX(2%) scale(1.06); } }
@keyframes orbit-rotate { to { transform: rotate(360deg); } }
@keyframes status-ping { 0% { transform: scale(.65); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes modal-enter { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (min-width: 1900px) {
  :root { --sidebar-width: 292px; --content-max: 1760px; }
  .sidebar { padding-left: 23px; padding-right: 23px; }
  .page-content { padding-top: 66px; padding-bottom: 90px; }
  .topbar { height: 88px; }
  body { font-size: 16px; }
  .hero-banner { min-height: 340px; }
  .metrics-grid { gap: 19px; }
  .metric-card { min-height: 150px; padding: 24px; }
  .market-row-full { min-height: 82px; }
}
/* 4K and ultra-wide displays: scale the whole interface up rather than leaving it
   small and centered in a sea of background. */
@media (min-width: 2400px) {
  :root { --sidebar-width: 320px; --content-max: 2080px; --radius-xl: 32px; --radius-lg: 24px; }
  body { font-size: 18px; }
  .page-content { padding-top: 76px; padding-bottom: 104px; }
  .topbar { height: 100px; }
  .brand-mark { width: 46px; height: 46px; }
  .nav-link { min-height: 56px; font-size: 16px; }
  .nav-icon { width: 31px; height: 31px; flex-basis: 31px; }
  .nav-icon svg { width: 19px; height: 19px; }
  .hero-banner { min-height: 400px; padding: 60px; }
  .hero-title { font-size: clamp(46px, 3.6vw, 78px); }
  .hero-subtitle { font-size: 18px; }
  .metrics-grid { gap: 22px; }
  .metric-card { min-height: 172px; padding: 28px; }
  .metric-value { font-size: clamp(27px, 1.8vw, 36px); }
  .panel { padding: 28px; }
  .market-row-full, .market-mini-row { min-height: 88px; }
  .coin-logo { width: 42px; height: 42px; flex-basis: 42px; font-size: 14px; }
  .button { min-height: 52px; padding: 0 26px; font-size: 14px; }
  .trade-field { min-height: 76px; }
  .trade-field input { font-size: 25px; }
}
@media (min-width: 3200px) {
  :root { --content-max: 2500px; }
  body { font-size: 19px; }
}
@media (max-width: 1250px) {
  :root { --sidebar-width: 238px; }
  .dashboard-grid { grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); }
  .metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .market-table-head, .market-row-full { grid-template-columns: minmax(160px,1.35fr) minmax(110px,1fr) minmax(90px,.8fr) minmax(110px,.9fr); }
  .market-table-head span:nth-child(4), .market-row-full > :nth-child(4) { display: none; }
}
@media (max-width: 980px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: min(300px,86vw); height: 100dvh; min-height: 0; transform: translateX(-105%); transition: transform .32s cubic-bezier(.2,.8,.2,1); z-index: 50; box-shadow: 20px 0 80px rgba(0,0,0,.35); }
  body.sidebar-open .sidebar { transform: translateX(0); }
  .mobile-scrim { position: fixed; inset: 0; z-index: 40; display: block; background: rgba(8,3,8,.55); opacity: 0; pointer-events: none; transition: opacity .28s ease; }
  body.sidebar-open .mobile-scrim { opacity: 1; pointer-events: auto; }
  .mobile-sidebar-toggle { display: inline-grid; }
  .topbar { padding: 0 22px; }
  .page-content { padding: 32px 22px 60px; }
  .app-footer { padding-left: 22px; padding-right: 22px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .quick-panel { max-width: none; }
  .hero-orbit { right: 2%; width: 34%; opacity: .8; }
}
@media (max-width: 700px) {
  .topbar { height: 68px; padding: 0 15px; }
  .topbar-left { gap: 10px; }
  .topbar-right { gap: 7px; }
  .breadcrumbs { gap: 7px; font-size: 11px; }
  .market-connection { padding: 8px 9px; font-size: 0; gap: 0; }
  .market-connection .status-pulse { margin: 0; }
  .profile-copy { display: none; }
  .profile-chip { padding: 4px; }
  .profile-avatar { width: 30px; height: 30px; }
  .refresh-button { width: 36px; height: 36px; }
  .page-content { padding: 25px 15px 48px; }
  .app-footer { padding: 18px 15px 22px; font-size: 9px; }
  .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 21px; }
  .page-heading h1 { font-size: 34px; }
  .page-heading p { font-size: 13px; }
  .heading-actions { width: 100%; }
  .hero-banner { min-height: auto; padding: 27px 22px; border-radius: 24px; }
  .hero-orbit { width: 44%; right: -10%; opacity: .25; }
  .hero-title { font-size: 39px; }
  .hero-subtitle { font-size: 13px; }
  .metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .metric-card { min-height: 116px; padding: 15px; border-radius: 17px; }
  .metric-top { font-size: 9px; }
  .metric-icon { width: 27px; height: 27px; }
  .metric-value { font-size: 22px; }
  .panel { padding: 17px; border-radius: 20px; }
  .market-mini-row { grid-template-columns: minmax(108px,1fr) minmax(85px,.8fr) 70px; gap: 8px; min-height: 62px; }
  .market-mini-row .coin-logo { width: 31px; height: 31px; flex-basis: 31px; border-radius: 11px; }
  .asset-name strong { font-size: 11px; }
  .asset-name small { font-size: 9px; }
  .price-main { font-size: 10px; }
  .change-pill { min-width: 62px; padding: 5px 6px; font-size: 9px; }
  .trade-field { min-height: 62px; padding-left: 12px; }
  .trade-field input { font-size: 19px; }
  .asset-picker { gap: 5px; padding: 7px; }
  .asset-picker select { max-width: 70px; font-size: 10px; }
  .button { min-height: 44px; padding: 0 15px; font-size: 12px; }
  .market-toolbar { align-items: stretch; }
  .market-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .market-tab { flex: 0 0 auto; }
  .search-sort { width: 100%; }
  .search-box { flex: 1; min-width: 0; }
  .select-control { max-width: 115px; }
  .market-table-head, .market-row-full { grid-template-columns: minmax(135px,1.2fr) minmax(94px,.9fr) 75px; gap: 8px; padding: 0 12px; }
  .market-table-head span:nth-child(4), .market-row-full > :nth-child(4), .market-table-head span:nth-child(5), .market-row-full > :nth-child(5) { display: none; }
  .market-table-head { min-height: 43px; font-size: 8px; }
  .market-row-full { min-height: 65px; }
  .market-row-full .coin-logo { width: 31px; height: 31px; flex-basis: 31px; }
  .market-symbol-name strong { font-size: 11px; }
  .market-symbol-name small { font-size: 9px; }
  .market-row-full .price-main { font-size: 10px; }
  .feature-grid, .content-grid { grid-template-columns: 1fr; }
  .holdings-summary { grid-template-columns: 1fr; }
  .holdings-form { grid-template-columns: 1fr 1fr; }
  .holdings-form .button { grid-column: 1 / -1; }
  .holding-row { grid-template-columns: minmax(115px,1.2fr) minmax(75px,.8fr) auto; gap: 8px; padding: 0 12px; }
  .holding-row > :nth-child(3), .holding-row-head > :nth-child(3) { display: none; }
  .order-item { grid-template-columns: minmax(120px,1.1fr) minmax(105px,1fr) auto; gap: 8px; padding: 12px; }
  .order-item > :nth-child(3) { display: none; }
  .order-id { font-size: 10px; }
  .order-pair { font-size: 10px; }
  .status-preview { font-size: 8px; padding: 5px 6px; }
  .order-modal { padding: 27px 20px 22px; }
  .order-modal h2 { font-size: 23px; }
  .toast { right: 15px; bottom: 15px; }
}
@media (max-width: 390px) {
  .market-connection { display: none; }
  .metrics-grid { gap: 8px; }
  .metric-card { padding: 12px; }
  .metric-value { font-size: 19px; }
  .market-mini-row { grid-template-columns: minmax(95px,1fr) minmax(75px,.8fr) 65px; }
  .hero-title { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.reduced-motion *, .reduced-motion *::before, .reduced-motion *::after { animation: none !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
