/* =====================================================================
   Plataforma de estrategias — base, app shell and components.
   Uses only the variables in tokens.css. Component classes are prefixed "ds-".
   ===================================================================== */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 14px/1.5 var(--font-poppins); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--focus-color); outline-offset: 2px; }
.ds-btn--primary:focus-visible, .ds-btn--auth:focus-visible, .ds-filter-btn:focus-visible, .ds-nav-item.is-active:focus-visible, .ds-composer__mic:focus-visible { outline-offset: 3px; }
.ds-hero :focus-visible, .ds-progress-card :focus-visible, .auth__art-side :focus-visible { outline-color: var(--focus-color-on-ink); }
@media (forced-colors: active) { :focus-visible { outline: 2px solid CanvasText; } }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico--16 { width: 16px; height: 16px; } .ico--18 { width: 18px; height: 18px; } .ico--22 { width: 22px; height: 22px; }
.ico--24 { width: 24px; height: 24px; } .ico--28 { width: 28px; height: 28px; }
.ico--fill { fill: currentColor; stroke: none; }
.ico--bold { stroke-width: 2; }
.eth { width: 8px; height: 13px; flex: none; fill: currentColor; }
.num { font-variant-numeric: tabular-nums; }
.pos { color: var(--success); } .neg { color: var(--danger); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; } }

/* ---------- App shell ---------- */
.shell { display: grid; grid-template-columns: var(--shell-sidebar) minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; z-index: 5; height: 100vh; background: var(--sidebar); display: flex; flex-direction: column; padding: 0 16px 32px 6px; }
.brand { display: flex; align-items: center; gap: 12px; height: var(--shell-topbar-h); border-bottom: 1px solid var(--line); margin: 0 calc(-1 * var(--sb-pad-r, 16px)) 0 -6px; padding: 0 0 0 7px; flex: none; overflow: hidden; }
.brand__mark { width: 38px; height: 38px; flex: none; color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__kicker { font: 500 11px/1.3 var(--font-manrope); letter-spacing: 0.4px; word-spacing: 0.15em; color: var(--text-muted); }
.brand__name { font: 600 21.2px/1.3 var(--font-poppins); color: var(--ink); letter-spacing: -0.2px; }
.nav { display: flex; flex-direction: column; gap: 12px; padding-top: 44px; min-height: 0; overflow-y: auto; overflow-x: hidden; }
.nav__bottom { margin-top: auto; padding-top: 24px; }
.nav__bottom form { margin: 0; }
.nav__bottom .ds-nav-item .ico { width: 22px; height: 22px; }
.ds-nav-item { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; height: 47px; padding: 0 16px; border-radius: var(--r-12); color: var(--text-muted); font: 500 14px/21px var(--font-manrope); letter-spacing: 0.2px; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.ds-nav-item .ico { width: 20px; height: 20px; }
.ds-nav-item:hover { background: var(--fill-nav-hover); color: var(--ink-2); }
.ds-nav-item.is-active { background: var(--ink); color: var(--on-ink-nav); }
.ds-nav-item.is-active[aria-expanded] { color: var(--white); font-weight: 800; }
.ds-nav-item.is-active:hover { background: var(--ink-hover); }
.ds-nav-item__badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font: 500 10px/20px var(--font-manrope); letter-spacing: 0.4px; text-align: center; }
.ds-nav-item.is-active .ds-nav-item__badge { background: var(--white); color: var(--ink); }
.ds-nav-item__chev { margin-left: auto; width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.ds-nav-item[aria-expanded="true"] .ds-nav-item__chev { transform: rotate(180deg); }
.ds-subnav { position: relative; display: flex; flex-direction: column; gap: 4px; margin: -4px 0 0 36px; padding: 0; }
.ds-subnav[hidden] { display: none; }
.ds-subnav::before { content: ""; position: absolute; left: -10px; top: 0; bottom: 0; width: 1px; background: var(--line-guide); }
.ds-subnav__item { display: flex; align-items: center; height: 40px; padding: 8px 8px 8px 12px; border-radius: var(--r-10); font: 500 14px/21px var(--font-manrope); letter-spacing: 0.2px; color: var(--text-muted); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.ds-subnav__item:hover { color: var(--ink-2); }
.ds-subnav__item.is-active { background: var(--fill-4); color: var(--ink); font-weight: 800; }

/* Top bar: a band in the sidebar's colour across the main column, as tall as the brand block (their bottom rules form one line). */
.main { min-width: 0; padding: 0 0 64px; }
.topbar { display: flex; align-items: center; gap: 15px; min-height: var(--shell-topbar-h); padding: 0 var(--shell-pad-right) 0 var(--shell-pad-left); background: var(--sidebar); border-bottom: 1px solid var(--line); }
.topbar .topbar__search { height: 48px; }
#contenido { padding: var(--shell-top) var(--shell-pad-right) 0 var(--shell-pad-left); }
.topbar__right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.menu-btn { display: none; }

/* ---------- Top bar pieces ---------- */
.ds-search { position: relative; display: flex; align-items: center; width: 636px; max-width: 100%; height: 65.8px; border-radius: var(--r-18); background: var(--fill-1); transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.ds-search .ico { position: absolute; left: 18px; width: 24px; height: 24px; color: var(--text-placeholder-auth); stroke-width: 1.7; pointer-events: none; }
.ds-search input { width: 100%; height: 100%; border: 0; background: transparent; padding: 0 24px 0 65px; font: 400 19px/1.175 var(--font-poppins); letter-spacing: -0.38px; color: var(--ink); border-radius: inherit; }
.ds-search input::placeholder { color: var(--text-placeholder); }
.ds-search input:focus-visible { outline: none; }
.ds-search:focus-within { background: var(--white); box-shadow: inset 0 0 0 2px var(--line-strong); }
.ds-filter-btn { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: var(--r-18); background: var(--ink); color: var(--white); transition: background-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease); }
.ds-filter-btn .ico { width: 26px; height: 26px; stroke-width: 2; }
.ds-filter-btn:hover { background: var(--ink-hover); }
.ds-filter-btn:active { transform: scale(0.97); }
.ds-wallet-chip { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 8px 11px; border-radius: var(--r-8); background: var(--fill-2); font: 600 12px/1.5 var(--font-poppins); letter-spacing: 0.1px; color: var(--ink-deep); white-space: nowrap; }
.ds-wallet-chip .eth { width: 13px; height: 20px; color: var(--glyph-eth); }
.ds-icon-btn { position: relative; display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: var(--r-pill); background: var(--fill-4); color: var(--ink); transition: background-color var(--dur) var(--ease); }
.ds-icon-btn .ico { width: 26px; height: 26px; }
.ds-icon-btn:hover { background: var(--fill-unfollow); }
.ds-dot { position: absolute; top: 13px; right: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--danger-dot); box-shadow: 0 0 0 1.5px var(--dot-ring); }
.ds-user-chip { display: inline-flex; align-items: center; gap: 18px; height: 48px; padding: 8px 16px 8px 8px; border-radius: var(--r-pill); background: var(--fill-4); color: var(--ink-2); transition: background-color var(--dur) var(--ease); }
.ds-user-chip:hover { background: var(--fill-unfollow); }
.ds-user-chip__who { display: flex; align-items: center; gap: 12px; font: 600 16px/24px var(--font-poppins); letter-spacing: 0.2px; white-space: nowrap; }
.ds-user-chip .ico { width: 16px; height: 16px; stroke-width: 2; color: var(--ink-2); transition: transform var(--dur) var(--ease); }
.ds-user-chip[aria-expanded="true"] .ico { transform: rotate(180deg); }
.ds-avatar { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: var(--avatar-a); color: var(--white); font: 600 14px/1 var(--font-poppins); object-fit: cover; }
.ds-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ds-avatar--48 { width: 48px; height: 48px; font-size: 18px; } .ds-avatar--56 { width: 56px; height: 56px; font-size: 20px; }
.ds-avatar--64 { width: 64px; height: 64px; font-size: 22px; } .ds-avatar--104 { width: 104px; height: 104px; font-size: 34px; }
.ds-avatar--ring { box-shadow: 0 0 0 2px var(--white); }

/* ---------- Dropdown menu (user chip) ---------- */
.ds-menu-wrap { position: relative; }
.ds-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 220px; padding: 8px; border-radius: var(--r-12); background: var(--white); border: 1px solid var(--line-2); box-shadow: var(--sh-card); opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur); }
.ds-menu.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.ds-menu__head { padding: 8px 12px 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; font: 500 12px/1.5 var(--font-manrope); letter-spacing: 0.4px; color: var(--text-muted); }
.ds-menu__head strong { display: block; font: 800 14px/1.5 var(--font-manrope); color: var(--ink-2); letter-spacing: 0.2px; }
.ds-menu__item { display: flex; align-items: center; gap: 12px; width: 100%; height: 40px; padding: 0 12px; border-radius: var(--r-8); font: 500 14px/21px var(--font-manrope); letter-spacing: 0.2px; color: var(--ink-2); text-align: left; transition: background-color var(--dur) var(--ease); }
.ds-menu__item:hover { background: var(--fill-4); }
.ds-menu__item .ico { width: 18px; height: 18px; color: var(--text-muted); }

/* ---------- Headings ---------- */
/* font of these headings: type.css (generated from the type scale in tools/build-kit.py) */
.ds-page-title, .ds-section-title { color: var(--ink); }
.ds-page-title--alt, .ds-card-title, .ds-panel-title { color: var(--ink-2); }
.ds-view-all { font: 500 16px/1.5 var(--font-poppins); letter-spacing: -0.1px; color: var(--text-placeholder); transition: color var(--dur) var(--ease); }
.ds-view-all:hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.ds-btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 24px; border-radius: var(--r-12); border: 0; font: 600 14px/1.5 var(--font-poppins); letter-spacing: 0.2px; white-space: nowrap; text-align: center; cursor: pointer; user-select: none; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur-fast) var(--ease), opacity var(--dur) var(--ease); }
.ds-btn .ico { width: 18px; height: 18px; stroke-width: 2; }
.ds-btn:active, .ds-btn.is-active { transform: scale(0.98); }
.ds-btn:disabled, .ds-btn.is-disabled { opacity: 0.4; pointer-events: none; }
/* primary (dark) */
.ds-btn--primary { background: var(--ink); color: var(--white); }
.ds-btn--primary:hover, .ds-btn--primary.is-hover { background: var(--ink-hover); }
.ds-btn--primary:active, .ds-btn--primary.is-active { background: var(--ink-press); }
/* outline (2px ink) — filter chips, "Filters" */
.ds-btn--outline { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-strong); font: 600 14.7px/1.5 var(--font-manrope); letter-spacing: 0.2px; padding: 0 17px; }
.ds-btn--outline:hover, .ds-btn--outline.is-hover { background: var(--fill-4); }
.ds-btn--chip { --h: 54px; gap: 8.4px; border-radius: var(--r-12b); }
.ds-btn--chip .ico { width: 24px; height: 24px; }
/* auth (big uppercase) */
.ds-btn--auth { --h: 74.5px; width: 100%; border-radius: var(--r-16); background: var(--ink); color: var(--text-on-ink-soft); font: 600 18px/1 var(--font-poppins); letter-spacing: 0.54px; text-transform: uppercase; }
.ds-btn--auth:hover, .ds-btn--auth.is-hover { background: var(--ink-hover); }
.ds-btn--auth:active, .ds-btn--auth.is-active { background: var(--ink-press); }
/* large action (Place Bid / Update) */
.ds-btn--lg { --h: 68px; border-radius: var(--r-16); font: 700 16px/24.5px var(--font-poppins); letter-spacing: 0; padding: 0 32px; gap: 12px; }
.ds-btn--lg .ico { width: 22px; height: 22px; }
/* banner buttons (on dark) */
.ds-btn--light { --h: 45.5px; border-radius: var(--r-8b); padding: 0 17.3px; background: var(--white); color: var(--ink); font: 600 14px/1.3 var(--font-outfit); letter-spacing: 0.14px; }
.ds-btn--light:hover, .ds-btn--light.is-hover { background: var(--fill-unfollow); }
.ds-btn--ghost-light { --h: 45.5px; border-radius: var(--r-8b); padding: 0 17.3px; background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--white); font: 600 14px/1.3 var(--font-outfit); letter-spacing: 0.14px; }
.ds-btn--ghost-light:hover, .ds-btn--ghost-light.is-hover { background: rgba(255, 255, 255, 0.12); }
/* follow / unfollow / quiet */
.ds-btn--follow { --h: 31.8px; border-radius: var(--r-7); padding: 0 15.8px; background: var(--white); color: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line-btn); font: 700 14px/16px var(--font-dmsans); letter-spacing: 0; }
.ds-btn--follow:hover, .ds-btn--follow.is-hover { box-shadow: inset 0 0 0 2px var(--ink); }
.ds-btn--unfollow { --h: 31.8px; border-radius: var(--r-7); padding: 0 15.8px; background: var(--fill-unfollow); color: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line-btn); font: 700 14px/16px var(--font-dmsans); letter-spacing: 0; }
.ds-btn--unfollow:hover, .ds-btn--unfollow.is-hover { background: var(--fill-unfollow-hover); box-shadow: inset 0 0 0 2px var(--fill-unfollow-hover); }
.ds-btn--quiet { --h: 40px; border-radius: var(--r-8); padding: 0 34px; background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-btn); font: 800 12px/1.5 var(--font-manrope); letter-spacing: 0.4px; }
.ds-btn--quiet:hover, .ds-btn--quiet.is-hover { background: var(--fill-4); }
.ds-btn--sm { --h: 40px; border-radius: var(--r-8); padding: 0 30px; font: 800 12px/1.5 var(--font-manrope); letter-spacing: 0.4px; }
/* card bid button */
.ds-btn--bid { --h: 36px; border-radius: var(--r-8c); padding: 0 13px; background: var(--ink); color: var(--white); font: 600 9.8px/1.5 var(--font-poppins); letter-spacing: 0.1px; text-transform: uppercase; }
.ds-btn--bid:hover, .ds-btn--bid.is-hover { background: var(--ink-hover); }
/* text link button */
.ds-btn--text { --h: auto; padding: 0; background: none; color: var(--ink); font: 800 14px/1.5 var(--font-manrope); letter-spacing: 0.2px; border-radius: 4px; }
.ds-btn--text:hover, .ds-btn--text.is-hover { text-decoration: underline; text-underline-offset: 3px; }
/* icon squares */
.ds-square-btn { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-12); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow var(--dur) var(--ease), transform var(--dur-fast) var(--ease); }
.ds-square-btn .ico { width: 24px; height: 24px; }
.ds-square-btn:hover { box-shadow: inset 0 0 0 1px var(--line), var(--sh-row); }
.ds-square-btn--sm { width: 35px; height: 35px; border-radius: var(--r-9); box-shadow: inset 0 0 0 1.5px var(--line-5); }
.ds-square-btn--sm .ico { width: 18px; height: 18px; }
.ds-round-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-muted); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.ds-round-btn:hover { background: var(--fill-4); color: var(--ink); }
.ds-round-btn .ico { width: 24px; height: 24px; }
.ds-back-btn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--fill-unfollow); color: var(--ink); }
.ds-back-btn .ico { width: 16px; height: 16px; stroke-width: 2.2; }

/* ---------- Fields ---------- */
/* auth field (screens 1–2): empty = soft fill; focus/filled = white with 2px ink */
.ds-field { position: relative; display: flex; align-items: center; width: 100%; height: 74.5px; border-radius: var(--r-14); background: var(--fill-1); color: var(--text-placeholder-auth); transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease); }
.ds-field__icon { position: absolute; left: 22px; width: 24px; height: 24px; pointer-events: none; }
.ds-field__icon--on { opacity: 0; }
.ds-field:focus-within .ds-field__icon--off, .ds-field.is-filled .ds-field__icon--off, .ds-field.is-error .ds-field__icon--off { opacity: 0; }
.ds-field:focus-within .ds-field__icon--on, .ds-field.is-filled .ds-field__icon--on, .ds-field.is-error .ds-field__icon--on { opacity: 1; }
.ds-field input { width: 100%; height: 100%; border: 0; background: transparent; border-radius: inherit; padding: 0 64px 0 79px; font: 500 16.7px/1 var(--font-poppins); letter-spacing: 0.33px; color: var(--ink); }
.ds-field input::placeholder { color: var(--text-placeholder-auth); font-weight: 600; letter-spacing: 1.17px; text-transform: uppercase; opacity: 1; }
.ds-field input:focus-visible { outline: none; }
.ds-field input[type="password"]:not(:placeholder-shown) { font: 700 22px/1 Verdana, system-ui, sans-serif; letter-spacing: 3px; }
.ds-field:focus-within, .ds-field.is-filled { background: var(--white); box-shadow: inset 0 0 0 2.2px var(--line-strong); color: var(--ink); }
.ds-field.is-error { background: var(--white); box-shadow: inset 0 0 0 2.2px var(--danger); color: var(--danger); }
.ds-field.is-disabled { opacity: 0.5; pointer-events: none; }
.ds-field__toggle { position: absolute; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: inherit; }
.ds-field__toggle .ico { width: 24px; height: 24px; }
.ds-field__toggle:hover { color: var(--ink); }
.ds-field-msg { min-height: 20px; font: 400 13px/19.5px var(--font-poppins); color: var(--danger); }
/* settings field (screen 33) */
.ds-input { position: relative; display: flex; align-items: center; height: 65px; border-radius: var(--r-12); background: var(--fill-2); transition: box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.ds-input input, .ds-input select, .ds-input textarea { width: 100%; height: 100%; border: 0; background: transparent; border-radius: inherit; padding: 0 60px 0 28px; font: 400 14px/1.5 var(--font-poppins); letter-spacing: 0.2px; color: var(--ink-2); appearance: none; -webkit-appearance: none; }
.ds-input input::placeholder, .ds-input textarea::placeholder { color: var(--text-placeholder); opacity: 1; }
.ds-input input:focus-visible, .ds-input select:focus-visible, .ds-input textarea:focus-visible { outline: none; }
.ds-input .ico { position: absolute; right: 28px; width: 24px; height: 24px; color: var(--text-placeholder-auth); pointer-events: none; }
.ds-input:focus-within { background: var(--white); box-shadow: inset 0 0 0 2px var(--line-strong); }
.ds-input--select { width: 180px; }
.ds-input--select select { padding-right: 52px; cursor: pointer; color: var(--text-placeholder); }
.ds-input--select select.has-value { color: var(--ink-2); }
.ds-input--select .ico { right: 22px; width: 16px; height: 16px; stroke-width: 2; color: var(--text-muted); }
.ds-input--area { height: auto; }
.ds-input--area textarea { min-height: 120px; padding: 20px 28px; resize: vertical; }
/* outlined search (Collection page) + messages search */
.ds-search-outline { position: relative; display: flex; align-items: center; width: 359px; max-width: 100%; height: 53px; border-radius: var(--r-12); box-shadow: inset 0 0 0 2px var(--line-strong); background: var(--white); }
.ds-search-outline .ico { position: absolute; left: 20px; width: 22px; height: 22px; color: var(--text-placeholder-auth); }
.ds-search-outline input { width: 100%; height: 100%; border: 0; background: transparent; padding: 0 20px 0 65px; font: 500 14px/1.5 var(--font-manrope); letter-spacing: 0.2px; color: var(--ink); border-radius: inherit; }
.ds-search-outline input::placeholder { color: var(--text-search-outline); opacity: 1; }
.ds-search-outline input:focus-visible { outline: none; }
.ds-search-outline--soft { box-shadow: inset 0 0 0 1.1px var(--line); width: 293px; border-radius: var(--r-13); }
.ds-search-outline--soft .ico { color: var(--ink); left: 18px; }
.ds-search-outline--soft input { padding-left: 53px; font: 400 16px/1.5 var(--font-manrope); letter-spacing: 0.3px; }
.ds-search-outline--soft input::placeholder { color: var(--text-field); }
.ds-search-outline:focus-within { box-shadow: inset 0 0 0 2px var(--line-strong); }
/* conversion pair (screen 31) */
.ds-convert { display: flex; gap: 12px; }
.ds-convert__cur { position: relative; display: flex; align-items: center; gap: 8px; width: 77px; height: 54px; padding: 0 14px; border-radius: var(--r-11); box-shadow: inset 0 0 0 1.9px var(--line-strong); font: 800 14px/1.5 var(--font-manrope); letter-spacing: 0.2px; color: var(--ink-2); }
.ds-convert__cur .ico { width: 14px; height: 14px; color: var(--text-placeholder); stroke-width: 2; }
.ds-convert__val { flex: 1; display: flex; align-items: center; height: 54px; border-radius: var(--r-11); box-shadow: inset 0 0 0 1.9px var(--line-strong); }
.ds-convert__val input { width: 100%; height: 100%; border: 0; background: transparent; padding: 0 14px; font: 500 16px/1.5 var(--font-manrope); letter-spacing: 0.2px; color: var(--ink-2); border-radius: inherit; }
.ds-convert__val input::placeholder { color: var(--text-field); }
.ds-convert__val input:focus-visible { outline: none; }
.ds-convert__val:focus-within, .ds-convert__cur:focus-within { box-shadow: inset 0 0 0 2.6px var(--line-strong); }
/* PIN / OTP (screens 5, 9, 10) */
.ds-otp { display: flex; gap: 27px; }
.ds-otp input { width: 76px; height: 82px; border: 0; border-bottom: 2.2px solid var(--line-otp); border-radius: 0; background: transparent; text-align: center; font: 200 61.7px/1 var(--font-poppins); color: var(--ink); caret-color: var(--ink); transition: border-color var(--dur) var(--ease); }
.ds-otp input:focus-visible { outline: none; border-bottom-color: var(--ink); border-bottom-width: 3px; }
.ds-otp input.is-filled { border-bottom-color: var(--ink); }
.ds-otp-timer { font: 300 21.4px/1 var(--font-poppins); letter-spacing: 0.43px; color: var(--ink); }
/* radio (screen 15) */
.ds-radio { display: inline-flex; align-items: center; gap: 22px; cursor: pointer; font: 500 18px/1.4 var(--font-poppins); letter-spacing: 0.2px; color: var(--text-option); }
.ds-radio input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border-radius: 50%; border: 3.6px solid var(--ink); background: var(--white); display: grid; place-items: center; cursor: pointer; transition: background-color var(--dur) var(--ease); }
.ds-radio input:checked { background: var(--ink); }
.ds-radio input:disabled { opacity: 0.4; cursor: default; }
.ds-radio input:focus-visible { outline: 2px solid var(--focus-color); outline-offset: 3px; }
.ds-radio--add { color: var(--text-disabled); gap: 22px; }
.ds-radio--add .ico { width: 24px; height: 24px; color: var(--text-disabled); }

/* ---------- Tabs ---------- */
.ds-tabs { display: flex; }
.ds-tab { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1; height: 48px; font: 700 15px/23px var(--font-poppins); color: var(--text-tab-off); transition: color var(--dur) var(--ease); }
.ds-tab .ico { width: 20px; height: 20px; }
.ds-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 1px; background: var(--ink); transform: scaleX(0); transition: transform var(--dur-slow) var(--ease-out); }
.ds-tab:hover { color: var(--text-muted); }
.ds-tab[aria-selected="true"] { color: var(--ink); }
.ds-tab[aria-selected="true"]::after { transform: scaleX(1); }
.ds-pill-select { display: inline-flex; align-items: center; gap: 10px; height: 47px; padding: 0 22px; border-radius: var(--r-9); background: var(--white); box-shadow: var(--sh-select); font: 400 15px/1.5 var(--font-poppins); color: var(--ink); }
.ds-pill-select .ico { width: 18px; height: 18px; }
.ds-pill-select .ico:last-child { width: 14px; height: 14px; stroke-width: 2; }
.ds-range-btn { display: inline-flex; align-items: center; gap: 8px; height: 33px; padding: 0 12px; border-radius: var(--r-7b); background: var(--fill-4); font: 500 11.6px/1.5 var(--font-poppins); letter-spacing: 0.4px; color: var(--ink); }
.ds-range-btn .ico { width: 14px; height: 14px; stroke-width: 2; }

/* ---------- Badges, chips, pills ---------- */
.ds-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font: 500 10px/1 var(--font-manrope); letter-spacing: 0.4px; }
.ds-count--lg { min-width: 24px; height: 24px; font: 800 12.3px/1 var(--font-manrope); }
.ds-count--inverse { background: var(--white); color: var(--ink); }
.ds-rank { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--white); font: 600 11px/1 var(--font-poppins); box-shadow: 0 0 0 2px var(--white); }
.ds-rank--light { background: var(--white); color: var(--ink); box-shadow: none; }
.ds-verified { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--info); color: var(--white); flex: none; }
.ds-verified .ico { width: 9px; height: 9px; stroke-width: 3; }
.ds-verified-square { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--success-badge); color: var(--white); }
.ds-verified-square .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.ds-timer { display: inline-flex; align-items: center; height: 26.2px; padding: 0 9.8px; border-radius: var(--r-6); background: var(--fill-timer); box-shadow: inset 0 0 0 0.8px rgba(28, 29, 32, 0.08), var(--sh-timer); -webkit-backdrop-filter: blur(var(--blur-timer)); backdrop-filter: blur(var(--blur-timer)); color: var(--white); font: 500 9.8px/1.5 var(--font-poppins); letter-spacing: 0.1px; white-space: nowrap; }
.ds-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px; border-radius: var(--r-5c); box-shadow: inset 0 0 0 0.6px var(--line-chip); font: 500 12px/1.5 var(--font-manrope); letter-spacing: 0.2px; color: var(--warning); }
.ds-chip--ok { color: var(--success-sale); } .ds-chip--muted { color: var(--text-muted); }
.ds-status { display: inline-flex; align-items: center; gap: 6px; font: 500 16px/1.5 var(--font-manrope); letter-spacing: 0.5px; color: var(--success-online); }

/* ---------- Cards ---------- */
.ds-card { background: var(--white); border-radius: var(--r-16); box-shadow: inset 0 0 0 1px var(--line-2), var(--sh-card); padding: 30px 24px 24px; }
.ds-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.ds-card__more { display: grid; place-items: center; width: 24px; height: 24px; color: var(--text-placeholder-auth); border-radius: 6px; }
.ds-card__more .ico { width: 24px; height: 24px; }
.ds-card__more:hover { color: var(--ink); }
.ds-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.ds-card--flat { box-shadow: inset 0 0 0 1px var(--line-2); }

/* NFT card (Market scale, screen 22). Compact = Home scale (screen 18). */
.ds-nft { position: relative; display: flex; flex-direction: column; width: 196px; height: 280px; padding: 9.8px; border-radius: var(--r-16b); background: var(--white); box-shadow: var(--sh-nft); transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease); }
.ds-nft:hover { transform: translateY(-4px); }
.ds-nft__media { position: relative; flex: none; height: 176px; border-radius: var(--r-13d); overflow: hidden; background: var(--fill-3); }
.ds-nft__media img, .ds-nft__media .art { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.ds-nft:hover .ds-nft__media img, .ds-nft:hover .ds-nft__media .art { transform: scale(1.04); }
.ds-nft .ds-timer { position: absolute; top: 9.8px; right: 7px; }
.ds-nft__body { flex: 1; padding: 13px 3.3px 0; display: flex; flex-direction: column; justify-content: space-between; gap: 9.8px; }
.ds-nft__title { font: 600 14.7px/1.4 var(--font-poppins); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-nft__row { display: flex; align-items: center; justify-content: space-between; }
.ds-nft__cap { font: 400 9.8px/1.5 var(--font-poppins); letter-spacing: 0.1px; color: var(--text-label); }
.ds-nft__price { display: flex; align-items: center; gap: 4px; margin-top: 3.3px; font: 500 11.5px/1.5 var(--font-poppins); color: var(--ink); }
.ds-nft__price .eth { width: 7.7px; height: 12.6px; }
.ds-nft--compact { width: 160px; height: 229px; padding: 8px; border-radius: var(--r-13b); box-shadow: var(--sh-nft-compact); }
.ds-nft--compact .ds-nft__media { height: 144px; border-radius: var(--r-10b); }
.ds-nft--compact .ds-timer { height: 21.4px; padding: 0 8px; font-size: 8px; border-radius: var(--r-5b); top: 8px; right: 6px; }
.ds-nft--compact .ds-nft__body { padding: 10.7px 2.7px 0; gap: 8px; }
.ds-nft--compact .ds-nft__title { font-size: 12px; }
.ds-nft--compact .ds-nft__cap { font-size: 8px; }
.ds-nft--compact .ds-nft__price { font-size: 9.4px; margin-top: 2.7px; }
.ds-nft--compact .ds-btn--bid { --h: 29.4px; font-size: 8px; padding: 0 10.7px; border-radius: var(--r-6b); }

/* Product tile (screens 25–27) */
.ds-tile { width: 188px; padding: 12px; border-radius: var(--r-15); background: var(--white); box-shadow: var(--sh-tile); transition: transform var(--dur-slow) var(--ease); }
.ds-tile:hover { transform: translateY(-4px); }
.ds-tile__media { height: 143px; border-radius: var(--r-10d); overflow: hidden; box-shadow: var(--sh-tile-image); background: var(--fill-3); }
.ds-tile__media img, .ds-tile__media .art { width: 100%; height: 100%; object-fit: cover; }
.ds-tile__by { display: flex; align-items: center; gap: 6px; margin-top: 10px; font: 700 12.2px/19px var(--font-poppins); color: var(--ink); }
.ds-tile__name { margin-top: 6px; font: 600 15.1px/23.75px var(--font-poppins); color: var(--ink); }
.ds-tile__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.ds-tile__price { display: flex; align-items: center; gap: 5px; font: 900 15.8px/22.9px var(--font-poppins); color: var(--ink); }
.ds-tile__price .eth { width: 9px; height: 14px; }
.ds-tile__likes { display: flex; align-items: center; gap: 4px; font: 900 11.2px/16.2px var(--font-poppins); color: var(--text-grey); }
.ds-tile__likes .ico { width: 13px; height: 13px; stroke-width: 1.6; }

/* Hero banner (screens 18–21, Bonus V3) */
.ds-hero { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 193px; padding: 29px 29px; border-radius: var(--r-25); overflow: hidden; background: var(--ink); color: var(--white); isolation: isolate; }
.ds-hero__art { position: absolute; inset: 0 0 0 auto; width: 64%; z-index: -2; background-size: cover; background-position: center; }
.ds-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--g-banner), var(--g-banner-2); }
.ds-hero--flat { padding-right: 200px; } /* the text never runs under the art tile */
.ds-hero--flat::before { display: none; }
.ds-hero__title { font: 600 30.9px/1.3 var(--font-poppins); letter-spacing: 0.31px; }
.ds-hero__sub { margin-top: 5px; font: 500 13.5px/1.3 var(--font-poppins); letter-spacing: 0.14px; color: var(--text-light); opacity: 0.6; }
.ds-hero__actions { display: flex; gap: 20.4px; margin-top: 25px; }
.ds-hero__tile { position: absolute; right: 18px; top: 50%; width: 159px; height: 159px; transform: translateY(-50%); border-radius: var(--r-25); overflow: hidden; }
.ds-hero__tile img, .ds-hero__tile .art { width: 100%; height: 100%; object-fit: cover; }

/* People rows */
.ds-person { display: flex; align-items: center; gap: 12px; }
.ds-person__avatar { position: relative; flex: none; }
.ds-person__avatar .ds-rank { position: absolute; top: -4px; right: -4px; }
.ds-person__avatar .ds-rank--light { top: auto; bottom: -4px; right: -6px; }
.ds-person__name { font: 500 14px/24px var(--font-poppins); color: var(--ink-3); }
.ds-person__handle { font: 400 12px/20px var(--font-poppins); color: var(--text-subtle); }
.ds-seller { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ds-seller + .ds-seller { margin-top: 24px; }
.ds-recent { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ds-recent + .ds-recent { margin-top: 26px; }
.ds-recent__name { font: 500 15.4px/1.4 var(--font-poppins); color: var(--ink-2); }
.ds-recent__handle { font: 400 13px/1.5 var(--font-poppins); color: var(--text-slate); }
.ds-recent__value { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font: 600 15.4px/1.4 var(--font-poppins); color: var(--ink-2); }
.ds-recent__value .eth { width: 9px; height: 14px; }
.ds-recent__delta { text-align: right; font: 400 13.4px/1.5 var(--font-poppins); }

/* Profile card (screens 27–28) */
.ds-profile { width: 273px; padding: 22px 26px 0; border-radius: var(--r-16); background: var(--white); box-shadow: var(--sh-panel); text-align: center; }
.ds-profile .ds-avatar { margin: 0 auto; }
.ds-profile__name { margin-top: 12px; font: 600 20.8px/1.3 var(--font-outfit); letter-spacing: 0.2px; color: var(--ink-black); }
.ds-profile__addr { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; font: 500 12.5px/1.3 var(--font-poppins); letter-spacing: 0.12px; color: var(--text-header); }
.ds-profile__addr .ico { width: 16px; height: 16px; }
.ds-profile__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.ds-profile__stat strong { display: block; font: 500 14.9px/21.5px var(--font-poppins); color: var(--ink-black); }
.ds-profile__stat span { font: 400 10.7px/13px var(--font-poppins); color: var(--text-caption); }
.ds-profile__quote { margin: 22px 0 0; font: 400 14px/1.5 var(--font-poppins); letter-spacing: 0.14px; color: var(--text-header); }
.ds-profile__actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; }
.ds-profile__actions .ds-btn { --h: 35px; padding: 0 16px; border-radius: var(--r-9); font: 500 13.1px/1 var(--font-outfit); background: var(--ink-violet); }
.ds-profile__foot { margin-top: 26px; padding: 22px 0; border-top: 1px solid var(--line-5); font: 400 14px/1.5 var(--font-poppins); color: var(--text-header); }

/* Balance + credit card + wallet actions (screen 31) */
.ds-balance { width: 328px; padding: 26px 25px 30px; border-radius: var(--r-17); background: var(--white); box-shadow: var(--sh-card); }
.ds-balance__head { display: flex; justify-content: space-between; font: 600 22px/1.4 var(--font-poppins); color: var(--ink-2); }
.ds-balance__amount { margin-top: 10px; font: 600 37.9px/1.1 var(--font-poppins); color: var(--ink); }
.ds-balance__amount small { font: 600 20px/1 var(--font-poppins); }
.ds-balance__meta { display: flex; align-items: center; gap: 10px; margin-top: 14px; font: 500 17px/1.5 var(--font-manrope); color: var(--ink-2); }
.ds-balance__meta .ico { width: 18px; height: 18px; stroke-width: 2; }
.ds-balance__meta span:last-child { color: var(--text-muted); text-transform: uppercase; }
.ds-balance__meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.ds-credit { position: relative; width: 327px; height: 188px; padding: 22px 19px 24px; border-radius: var(--r-19); background: var(--ink); color: var(--white); box-shadow: var(--sh-credit), var(--sh-credit-glow); display: flex; flex-direction: column; justify-content: space-between; }
.ds-credit__top { display: flex; justify-content: space-between; align-items: center; }
.ds-credit__top .ico { width: 26px; height: 26px; }
.ds-credit__num { display: flex; gap: 20px; font: 600 15.2px/1 var(--font-poppins); letter-spacing: 1.2px; }
.ds-credit__bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.ds-credit__cap { font: 400 11px/1.5 var(--font-poppins); color: rgba(255, 255, 255, 0.8); }
.ds-credit__holder { font: 600 16px/1.5 var(--font-poppins); }
.ds-credit__mc { position: relative; width: 50px; height: 30px; }
.ds-credit__mc::before, .ds-credit__mc::after { content: ""; position: absolute; top: 0; width: 30px; height: 30px; border-radius: 50%; }
.ds-credit__mc::before { left: 0; background: var(--card-mc-red); } .ds-credit__mc::after { right: 0; background: var(--card-mc-yellow); }
.ds-actions4 { display: flex; justify-content: space-between; }
.ds-action { display: flex; flex-direction: column; align-items: center; gap: 12px; font: 400 14px/1.5 var(--font-poppins); letter-spacing: 0.2px; color: var(--text-muted); }
.ds-action:hover { color: var(--ink); }

/* Complete profile (progress ring, screen 33) */
.ds-progress-card { width: 287px; padding: 24px; border-radius: var(--r-16); background: var(--ink); color: var(--white); }
.ds-progress-card__top { display: flex; align-items: center; gap: 22px; }
.ds-ring { position: relative; width: 64px; height: 64px; flex: none; }
.ds-ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.ds-ring circle { fill: none; stroke-width: 4; }
.ds-ring .track { stroke: rgba(255, 255, 255, 0.2); }
.ds-ring .bar { stroke: var(--white); stroke-linecap: round; transition: stroke-dashoffset 800ms var(--ease-out); }
.ds-ring span { position: absolute; inset: 0; display: grid; place-items: center; font: 500 14px/1 var(--font-manrope); }
.ds-progress-card__title { font: 800 16px/1.5 var(--font-manrope); letter-spacing: 0.2px; }
.ds-progress-card__text { margin-top: 4px; font: 500 12px/1.5 var(--font-manrope); letter-spacing: 0.4px; color: rgba(255, 255, 255, 0.6); }
.ds-progress-card .ds-btn { width: 100%; margin-top: 24px; --h: 40px; border-radius: var(--r-8); background: var(--white); color: var(--ink); font: 800 12px/1.5 var(--font-manrope); letter-spacing: 0.4px; }
.ds-progress-card .ds-btn:hover { background: var(--fill-unfollow); }

/* Settings menu rows (screen 33) */
.ds-setting { display: flex; gap: 22px; align-items: flex-start; padding: 6px 0; border-radius: var(--r-12); }
.ds-setting .ico { width: 26px; height: 26px; margin-top: 4px; color: var(--ink); }
.ds-setting__title { font: 500 19px/29px var(--font-poppins); color: var(--ink-auth); }
.ds-setting__sub { font: 500 13.6px/1.45 var(--font-poppins); color: var(--text-placeholder); }
.ds-setting:hover .ds-setting__title { color: var(--ink); }

/* Notification item + panel (screens 20–21) */
.ds-notif { position: relative; display: flex; align-items: center; gap: 12px; width: 343px; max-width: 100%; min-height: 88px; padding: 12px 12px 12px 32px; border-radius: var(--r-16); background: var(--g-glass-row); box-shadow: var(--sh-row); -webkit-backdrop-filter: blur(var(--blur-glass)); backdrop-filter: blur(var(--blur-glass)); }
.ds-notif::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--ink); }
.ds-notif.is-read::before { display: none; }
.ds-notif__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--fill-unfollow); color: var(--ink); }
.ds-notif__body { flex: 1; min-width: 0; }
.ds-notif__title { font: 500 14px/24px var(--font-poppins); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-notif__title span { color: var(--text-note); }
.ds-notif__meta { font: 600 12px/20px var(--font-poppins); color: var(--ink); }
.ds-notif__meta span { font-weight: 400; color: var(--text-note); }
.ds-notif__time { font: 400 12px/20px var(--font-poppins); color: var(--text-note); }
.ds-notif__thumb { width: 64px; height: 64px; flex: none; border-radius: var(--r-11); overflow: hidden; }
.ds-notif__thumb img, .ds-notif__thumb .art { width: 100%; height: 100%; object-fit: cover; }
.ds-notif .ds-btn--follow { align-self: flex-start; }
.ds-panel { width: min(396px, 100%); border-radius: var(--r-25); background: var(--fill-panel); box-shadow: var(--sh-pop); overflow: hidden; }
.ds-panel__head { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 24px; border-bottom: 1px solid var(--line-4); }
.ds-panel__list { display: flex; flex-direction: column; gap: 18px; padding: 24px 26px 24px 24px; max-height: 520px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.ds-panel__foot { display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 24px; border-top: 1px solid var(--line-4); font: 600 14px/1.5 var(--font-poppins); letter-spacing: 0.2px; color: var(--ink); }
.ds-panel__foot .ico { width: 24px; height: 24px; color: var(--text-muted); }
.ds-panel__mark { display: inline-flex; align-items: center; gap: 8px; font: 800 14px/1.5 var(--font-manrope); letter-spacing: 0.2px; color: var(--ink); }
.ds-panel__mark .ico { width: 18px; height: 18px; stroke-width: 2; }

/* Message rows + chat (screen 32) */
.ds-thread { position: relative; display: block; padding: 20px 41px 20px 41px; transition: background-color var(--dur) var(--ease); }
.ds-thread:hover { background: var(--fill-4); }
.ds-thread.is-active { background: var(--fill-4); }
.ds-thread.is-active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ink); }
.ds-thread__top { display: flex; align-items: center; gap: 12px; }
.ds-thread__name { flex: 1; font: 800 16.3px/1.5 var(--font-manrope); letter-spacing: 0.2px; color: var(--ink-2); }
.ds-thread__time { font: 500 14.3px/1.5 var(--font-manrope); color: var(--ink-2); }
.ds-thread__bottom { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.ds-thread__text { flex: 1; font: 500 14.3px/1.5 var(--font-manrope); letter-spacing: 0.2px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-thread.is-read .ds-thread__text, .ds-thread.is-read .ds-thread__time { color: var(--text-muted); }
.ds-bubble { width: fit-content; max-width: 265px; padding: 18px 22px; border-radius: var(--r-14); font: 400 14.6px/22px var(--font-poppins); }
.ds-bubble--in { margin-left: auto; background: var(--fill-bubble-in); color: rgba(50, 49, 66, 0.83); letter-spacing: 0.29px; }
.ds-bubble--out { background: var(--ink); color: var(--text-on-ink-chat); box-shadow: var(--sh-bubble); }
.ds-bubble-img { width: 121px; height: 129px; border-radius: var(--r-10); overflow: hidden; box-shadow: var(--sh-chat-img); }
.ds-bubble-img img, .ds-bubble-img .art { width: 100%; height: 100%; object-fit: cover; }
.ds-bubble-time { margin-top: 18px; font: 400 12.5px/1 var(--font-poppins); color: var(--text-time); }
.ds-bubble-time--in { text-align: right; }
.ds-composer { display: flex; align-items: center; gap: 17px; }
.ds-composer__mic { display: grid; place-items: center; width: 72px; height: 70px; flex: none; border-radius: var(--r-16); background: var(--ink); color: var(--text-on-ink-chat); }
.ds-composer__mic .ico { width: 26px; height: 26px; }
.ds-composer__field { flex: 1; display: flex; align-items: center; height: 70px; border-radius: var(--r-pill); background: var(--fill-composer); padding: 0 30px 0 32px; }
.ds-composer__field input { flex: 1; border: 0; background: transparent; font: 400 17px/1.5 var(--font-poppins); color: var(--ink); }
.ds-composer__field input::placeholder { color: var(--text-placeholder); }
.ds-composer__field input:focus-visible { outline: none; }
.ds-composer__field:focus-within { box-shadow: inset 0 0 0 2px var(--line-strong); }
.ds-composer__send { color: var(--ink); }
.ds-composer__send .ico { width: 26px; height: 26px; }

/* Choice rows (Choose Wallet, screen 17) + identity steps (screen 11) */
.ds-choice { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 395px; height: 86px; padding: 20px 16px 20px 29px; border-radius: var(--r-10); background: var(--white); box-shadow: var(--sh-menu); font: 600 18px/27.7px var(--font-poppins); color: var(--ink-3); text-align: left; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.ds-choice:hover { transform: translateY(-2px); box-shadow: 5px 14px 50px rgba(0, 0, 0, 0.14); }
.ds-choice .ico:last-child { width: 16px; height: 16px; stroke-width: 2.4; }
.ds-choice__logo { display: grid; place-items: center; width: 39px; height: 39px; border-radius: var(--r-10); background: var(--fill-well); color: var(--ink); }
.ds-step { display: flex; gap: 22px; align-items: center; width: 100%; max-width: 386px; padding: 22px 26px; border-radius: var(--r-13c); text-align: left; transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.ds-step__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--fill-well); box-shadow: var(--sh-inset-well); color: var(--ink-auth); }
.ds-step__icon .ico { width: 20px; height: 20px; }
.ds-step__title { font: 600 20.2px/28px var(--font-poppins); color: var(--ink-auth); }
.ds-step__text { font: 400 16px/1.5 var(--font-poppins); color: var(--text-step); }
.ds-step.is-selected { background: var(--white); box-shadow: var(--sh-option); }

/* Carousel control (auth right panel) */
.ds-carousel { display: inline-flex; align-items: center; gap: 28px; height: 76px; padding: 0 30px; border-radius: var(--r-18b); background: var(--fill-5); box-shadow: var(--sh-float); }
.ds-carousel button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-8); color: var(--ink); }
.ds-carousel button:first-child { color: var(--text-date); }
.ds-carousel button:hover { color: var(--ink); background: var(--fill-1); }
.ds-carousel i { width: 2px; height: 30px; background: var(--fill-unfollow); border-radius: var(--r-xs); }

/* Chart (Money Flow, screen 31) */
.ds-chart { display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; height: 200px; padding-top: 34px; }
.ds-chart__col { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; border-radius: var(--r-5); }
.ds-chart__bar { width: min(20px, 100%); border-radius: 1px; background: var(--fill-track); transition: background-color var(--dur) var(--ease); }
.ds-chart__col.is-on .ds-chart__bar { background: var(--ink); }
.ds-chart__col:hover .ds-chart__bar { background: var(--ink-hover); }
.ds-chart__day { font: 500 9.2px/1 var(--font-poppins); color: var(--text-chart); }
.ds-chart__col.is-on .ds-chart__day { color: var(--ink); }
.ds-chart__tip { position: absolute; top: -32px; padding: 5px 8px; border-radius: var(--r-5); background: var(--ink); color: var(--white); font: 600 10.3px/1 var(--font-poppins); white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.ds-chart__col.is-on .ds-chart__tip, .ds-chart__col:hover .ds-chart__tip, .ds-chart__col:focus-visible .ds-chart__tip { opacity: 1; transform: none; }
.ds-chart__col:focus-visible .ds-chart__bar { background: var(--ink-hover); }
.ds-legend { display: inline-flex; align-items: center; gap: 10px; font: 500 11.6px/1.5 var(--font-poppins); letter-spacing: 0.4px; color: var(--ink); }
.ds-legend i { width: 12px; height: 4px; border-radius: var(--r-xs); background: var(--ink); }

/* Currency list */
.ds-currency { display: flex; align-items: center; gap: 14px; }
.ds-currency + .ds-currency { margin-top: 22px; }
.ds-currency__flag { width: 23px; height: 23px; border-radius: 50%; flex: none; }
.ds-currency__code { flex: 1; font: 600 15px/1.5 var(--font-poppins); color: var(--ink-2); }
.ds-currency__val { font: 800 15px/1.5 var(--font-manrope); color: var(--ink-2); }
.ds-currency__val span { font-weight: 500; color: var(--text-placeholder); }

/* ---------- Tables ---------- */
/* Columns are left-aligned on the kit's pitch (30-Collection: 300 / 180 / 158 / 157 / 158 / rest) via <colgroup class="ds-cols">. */
.ds-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ds-table th { padding: 0 16px 18px 0; text-align: left; vertical-align: bottom; font: 500 11.6px/1.3 var(--font-poppins); letter-spacing: 0.12px; color: var(--text-header); white-space: nowrap; }
.ds-table td { padding: 15px 16px 15px 0; text-align: left; font: 600 14px/1.4 var(--font-poppins); color: var(--ink); border-bottom: 1px solid var(--line-3); white-space: nowrap; }
.ds-table tbody tr { transition: background-color var(--dur) var(--ease); }
.ds-table tbody tr:hover { background: var(--fill-4); }
.ds-table__who { display: flex; align-items: center; gap: 16px; }
.ds-table__name { font: 500 16px/1.4 var(--font-poppins); color: var(--ink); }
.ds-table__by { font: 400 13px/1.5 var(--font-poppins); color: var(--text-slate); }
.ds-table__eth { display: inline-flex; align-items: center; gap: 8px; }
.ds-table__eth .eth { width: 9px; height: 14px; }
.ds-table__pct { font: 500 14px/1.3 var(--font-outfit); letter-spacing: 0.14px; }
.ds-table__plain { font: 500 13.5px/1.3 var(--font-poppins); letter-spacing: 0.14px; }
.ds-table--lg th { padding-bottom: 28px; font: 800 18px/1.5 var(--font-manrope); letter-spacing: 0.2px; color: var(--ink-2); }
.ds-table--lg td { padding: 30px 16px 30px 0; }
.ds-table--lg th { white-space: normal; }
.ds-cols col:nth-child(1) { width: 28.8%; } .ds-cols col:nth-child(2) { width: 17.3%; } .ds-cols col:nth-child(3), .ds-cols col:nth-child(4), .ds-cols col:nth-child(5) { width: 15.1%; } .ds-cols col:nth-child(6) { width: 8.6%; }
.ds-table--lg .ds-avatar { width: 58px; height: 58px; font-size: 20px; }
.ds-table--lg .ds-table__who { gap: 18px; }
.ds-table--lg .ds-table__name { font: 500 21px/1.3 var(--font-poppins); }
.ds-table--lg .ds-table__by { font: 400 17.1px/1.5 var(--font-poppins); color: var(--text-muted); }
.ds-table--lg .ds-table__eth, .ds-table--lg td { font-size: 18.4px; }
.ds-table--lg .ds-table__pct, .ds-table--lg .ds-table__plain { font-size: 17.7px; }
.ds-sort { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; text-align: left; cursor: pointer; border-radius: 4px; }
.ds-sort .ico { width: 16px; height: 16px; stroke-width: 2; color: var(--ink-2); }
.ds-sort:hover { color: var(--ink); }

/* ---------- Overlays ---------- */
.ds-modal-scrim { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; overflow: auto; background: var(--scrim); -webkit-backdrop-filter: blur(var(--blur-scrim)); backdrop-filter: blur(var(--blur-scrim)); opacity: 0; visibility: hidden; transition: opacity var(--dur-slow) var(--ease), visibility 0s linear var(--dur-slow); }
.ds-modal-scrim.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.ds-modal { width: min(414px, 100%); margin: auto; padding: 26px 18px 22px; border-radius: var(--r-20); background: var(--white); box-shadow: 0 0 0 2px var(--ink-press), var(--sh-panel); transform: translateY(12px) scale(0.98); transition: transform var(--dur-slow) var(--ease-out); }
.ds-modal-scrim.is-open .ds-modal { transform: none; }
.ds-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 18px; }
.ds-modal__title { font: 600 19.1px/27.6px var(--font-poppins); color: var(--ink); }
.ds-modal__sub { font: 400 14px/1.5 var(--font-poppins); color: var(--text-grey); }
.ds-bid-row { display: flex; align-items: center; gap: 14px; padding: 17.5px; border-radius: var(--r-10c); background: var(--white); box-shadow: var(--sh-tile-image); }
.ds-bid-row + .ds-bid-row { margin-top: 14px; }
.ds-bid-row.is-top { box-shadow: var(--sh-bid-top); }
.ds-bid-row__name { display: flex; align-items: center; gap: 6px; font: 500 16px/1.5 var(--font-poppins); color: var(--ink); }
.ds-bid-row__date { font: 400 14px/1.5 var(--font-poppins); color: var(--text-date); }
.ds-bid-row__val { margin-left: auto; display: flex; align-items: center; gap: 6px; font: 600 16px/1.5 var(--font-poppins); }
.ds-split { display: flex; height: 67px; border-radius: var(--r-17); box-shadow: inset 0 0 0 1.1px var(--ink); }
.ds-split > .ds-select { display: flex; align-self: stretch; }
.ds-split__cur { display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 20px; border-radius: var(--r-17) 0 0 var(--r-17); background: var(--ink); color: var(--white); font: 600 16px/1.5 var(--font-poppins); }
.ds-split__cur:hover { background: var(--ink-hover); }
.ds-split__cur .ico { width: 14px; height: 14px; stroke-width: 2.2; }
.ds-split input { flex: 1; min-width: 0; border: 0; padding: 0 20px; background: transparent; font: 400 15px/1.5 var(--font-poppins); color: var(--ink); }
.ds-split input::placeholder { color: var(--text-hint); }
.ds-split input:focus-visible { outline: none; }
.ds-split:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }

/* Empty state + loader */
.ds-empty { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 48px 24px; text-align: center; }
.ds-empty__art { position: relative; width: 157px; height: 157px; color: var(--text-placeholder-auth); }
.ds-empty__art .ico { width: 157px; height: 157px; stroke-width: 0.9; }
.ds-empty__x { position: absolute; top: 18px; right: 20px; display: grid; place-items: center; width: 41px; height: 41px; border-radius: 50%; background: var(--ink); color: var(--white); }
.ds-empty__x .ico { width: 20px; height: 20px; stroke-width: 2.4; }
.ds-empty__title { font: 600 40px/1.2 var(--font-poppins); color: var(--text-empty); }
.ds-loader { width: 38px; height: 38px; color: var(--ink); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; animation: ds-spin 800ms linear infinite; }
@keyframes ds-spin { to { transform: rotate(360deg); } }

/* ---------- Abstract artwork (CSS, no images) ---------- */
.art { display: block; width: 100%; height: 100%; }
.art--naranja { background: radial-gradient(48% 46% at 52% 50%, #FF7A2E 0%, #FF9A3C 28%, rgba(255, 168, 108, 0.55) 52%, rgba(184, 205, 230, 0) 78%), linear-gradient(160deg, #AFC8E0 0%, #C4B9D9 45%, #B2CBE2 100%); }
.art--niebla { background: radial-gradient(60% 50% at 30% 30%, rgba(255, 196, 170, 0.9), transparent 70%), radial-gradient(60% 60% at 75% 70%, rgba(160, 210, 230, 0.95), transparent 70%), #E8E1EC; }
.art--rosa { background: radial-gradient(70% 40% at 30% 70%, rgba(255, 92, 60, 0.85), transparent 60%), radial-gradient(70% 60% at 70% 30%, rgba(240, 180, 190, 0.9), transparent 70%), #EBD6D9; }
.art--azul { background: radial-gradient(35% 35% at 55% 55%, #F6E2B8 0%, #C9B6F0 55%, transparent 56%), radial-gradient(80% 60% at 30% 80%, rgba(126, 210, 238, 0.9), transparent 70%), linear-gradient(140deg, #A9B9F2 0%, #D9E6FA 60%, #8F6BE8 100%); }
.art--perla { background: repeating-radial-gradient(ellipse 140% 90% at 115% 40%, rgba(255, 255, 255, 0.95) 0 2px, rgba(219, 224, 238, 0.9) 3px 13px), linear-gradient(160deg, #EEF1F8, #D9DEEC); }
.art--discos { background:
  radial-gradient(38% 14% at 58% 38%, rgba(255, 255, 255, 0.95) 0 60%, transparent 62%),
  radial-gradient(44% 17% at 55% 42%, #DCE7EC 0 70%, transparent 72%),
  radial-gradient(42% 15% at 50% 55%, #B9D7E2 0 70%, transparent 72%),
  radial-gradient(36% 13% at 46% 67%, #9CC5D8 0 70%, transparent 72%),
  radial-gradient(28% 11% at 44% 78%, #8FB9D0 0 70%, transparent 72%),
  radial-gradient(70% 60% at 85% 75%, rgba(255, 170, 120, 0.85), transparent 70%),
  linear-gradient(160deg, #D8E3EA 0%, #E9D9D4 55%, #F4C3A4 100%); }
.art--esfera { background: radial-gradient(30% 30% at 50% 52%, #F7E3C4 0%, #E6B7E8 45%, #9EC9F1 70%, transparent 72%), radial-gradient(80% 60% at 20% 90%, rgba(120, 215, 236, 0.9), transparent 70%), linear-gradient(135deg, #9DB2F4 0%, #D6E5FB 55%, #8A62E6 100%); }
.art--esfera-2 { background: radial-gradient(33% 30% at 50% 50%, var(--white) 0%, #F9B6C9 30%, #F28A4B 55%, #5AA8C9 72%, transparent 74%), linear-gradient(140deg, #A88CE0 0%, #5FA9C6 45%, #F59A64 100%); }
.art--marmol { background: radial-gradient(40% 30% at 25% 30%, rgba(255, 118, 168, 0.75), transparent 70%), radial-gradient(45% 35% at 70% 65%, rgba(140, 206, 236, 0.85), transparent 70%), radial-gradient(30% 25% at 60% 20%, rgba(255, 255, 255, 0.9), transparent 70%), linear-gradient(120deg, #F6C6DA, #E5F1F8 50%, #F7D3E3); }
.art--arco { background: radial-gradient(18% 34% at 50% 52%, #8A6F55 0 55%, transparent 57%), radial-gradient(26% 42% at 50% 50%, #E7D7C3 0 60%, transparent 62%), radial-gradient(40% 10% at 50% 86%, #EADBC6 0 70%, transparent 72%), linear-gradient(180deg, #E4E4E4, #D6D6D6); }
.art--esfera-ola { background: radial-gradient(18% 22% at 52% 48%, #FFF1DA 0%, #E3C6F2 55%, transparent 58%), radial-gradient(90% 40% at 50% 85%, rgba(255, 196, 96, 0.8), transparent 70%), radial-gradient(70% 50% at 85% 60%, rgba(146, 92, 232, 0.8), transparent 70%), linear-gradient(170deg, #C6D3F5, #E3EEF9 55%, #BDE7F2); }
.ds-avatar--a { background: var(--avatar-a); }
.ds-avatar--b { background: var(--avatar-b); }
.ds-avatar--c { background: var(--avatar-c); }
.ds-avatar--d { background: var(--avatar-d); }

/* ---------- Selectors that open a list (floating pills, currency) ---------- */
.ds-select { position: relative; display: inline-block; }
.ds-select__list { position: absolute; left: 0; top: calc(100% + 8px); z-index: 40; min-width: 100%; padding: 6px; border-radius: var(--r-12); background: var(--white); border: 1px solid var(--line-2); box-shadow: var(--sh-card); opacity: 0; transform: translateY(-6px); visibility: hidden; transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur); }
.ds-select__list.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.ds-select__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 38px; padding: 0 12px; border-radius: var(--r-8); font: 500 14px/1.5 var(--font-manrope); letter-spacing: 0.2px; color: var(--ink-2); white-space: nowrap; text-align: left; }
.ds-select__opt:hover { background: var(--fill-4); }
.ds-select__opt:focus-visible { background: var(--fill-4); outline: 2px solid var(--focus-color); outline-offset: -2px; }
.ds-select__opt[aria-selected="true"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.ds-convert__cur { cursor: pointer; }

/* ---------- Shell: skip link, drawer and responsive ---------- */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-8); background: var(--ink); color: var(--white); font: 600 14px/1.5 var(--font-poppins); transition: top var(--dur) var(--ease); }
.skip-link:focus { top: 16px; }
main:focus { outline: none; }
.topbar__search { flex: 1 1 auto; width: auto; max-width: 636px; }
.shell .menu-btn { display: none; }
.scrim { position: fixed; inset: 0; z-index: 49; background: var(--scrim-dark); }
.drawer-close { display: none; }
.ds-composer__field, .ds-composer__field input { min-width: 0; }
@media (max-width: 1100px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; z-index: 50; left: 0; top: 0; width: min(86vw, 280px); transform: translateX(-102%); visibility: hidden; transition: transform var(--dur-slow) var(--ease-out), visibility 0s linear var(--dur-slow); }
  .sidebar.is-open { transform: none; visibility: visible; box-shadow: var(--sh-panel); transition-delay: 0s; }
  .shell .menu-btn { display: grid; }
  .drawer-close { display: grid; position: absolute; top: calc((var(--shell-topbar-h) - 48px) / 2); right: 12px; }
  .main { padding: 0 0 48px; }
  .topbar { gap: 12px; padding: 0 24px; }
  #contenido { padding: 24px 24px 0; }
}
@media (max-width: 640px) {
  .main { padding: 0 0 40px; }
  .topbar { flex-wrap: wrap; padding: 0 16px; }
  .topbar .topbar__search { order: 3; flex-basis: 100%; max-width: none; height: 48px; margin-bottom: 12px; }
  #contenido { padding: 20px 16px 0; }
  .ds-user-chip { padding-right: 12px; gap: 10px; }
  .ds-user-chip__name { display: none; }
  .ds-otp { gap: 14px; }
  .ds-otp input { width: 56px; height: 68px; font-size: 48px; }
  .ds-composer { gap: 10px; }
  .ds-composer__mic { width: 56px; height: 56px; }
  .ds-composer__field { height: 56px; padding: 0 16px 0 20px; }
  .ds-notif { padding-left: 28px; }
  .ds-field__icon { left: 18px; }
  .ds-field input { padding: 0 52px 0 56px; }
  .ds-field input::placeholder { letter-spacing: 0.6px; font-size: 14px; }
  .ds-field:not(.ds-field--password) input { padding-right: 18px; }
}

/* ---------- Shown states (style kit) + busy buttons ---------- */
.ds-btn.is-focus { outline: 2px solid var(--focus-color); outline-offset: 3px; }
.ds-btn[aria-busy="true"] { pointer-events: none; }
.ds-btn[aria-busy="true"]::after { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.3); border-top-color: var(--white); animation: ds-spin 800ms linear infinite; }
img.art { object-fit: cover; }
img.ds-hero__art { height: 100%; object-fit: cover; }
@media (forced-colors: active) {
  .ds-field:focus-within, .ds-search:focus-within, .ds-input:focus-within, .ds-search-outline:focus-within, .ds-convert__val:focus-within,
  .ds-convert__cur:focus-visible, .ds-split:focus-within, .ds-composer__field:focus-within, .ds-otp input:focus-visible { outline: 2px solid CanvasText; outline-offset: 2px; }
}


/* Browser autofill must not cover the field's inset border */
.ds-field input:-webkit-autofill, .ds-field input:autofill { -webkit-box-shadow: 0 0 0 100px var(--white) inset; box-shadow: 0 0 0 100px var(--white) inset; -webkit-text-fill-color: var(--ink); caret-color: var(--ink); }
.ds-field input:-webkit-autofill { margin: 2.2px; height: calc(100% - 4.4px); border-radius: calc(var(--r-14) - 2px); }
.ds-field:has(input:autofill) { background: var(--white); box-shadow: inset 0 0 0 2.2px var(--line-strong); color: var(--ink); }

/* Notification panel header wraps on narrow screens */
@media (max-width: 640px) { .ds-panel__head { flex-wrap: wrap; height: auto; min-height: 72px; padding: 16px 20px; gap: 6px 12px; } }

/* Full-page empty state (404) */
.ds-empty--page { min-height: 100vh; justify-content: center; }

.ds-field.is-filled:not(.is-error):has(input:focus-visible) { outline: 2px solid var(--focus-color); outline-offset: 3px; }
.has-error .ds-field--password:has(input:focus-visible), .ds-field.is-error:has(input:focus-visible) { outline: 2px solid var(--danger); outline-offset: 3px; }
.ds-search > .ds-search__label { display: contents; }
.ds-verified-square--sm { position: absolute; top: -2px; right: -2px; width: 18px; height: 18px; border-radius: var(--r-5); box-shadow: 0 0 0 2px var(--white); }
.ds-verified-square--sm .ico { width: 12px; height: 12px; }
@media (max-width: 640px) {
  .ds-hero--flat { padding-right: 29px; }
  .ds-hero--flat .ds-hero__tile { display: none; }
  .ds-hero__actions { flex-wrap: wrap; gap: 12px; }
}
.ds-split > label { display: flex; flex: 1; min-width: 0; }
.ds-search-outline:has(input:focus-visible) { outline: 2px solid var(--focus-color); outline-offset: 3px; }
@media (forced-colors: active) { .ds-select__opt:focus-visible, .ds-search-outline:has(input:focus-visible) { outline: 2px solid CanvasText; } }
.ds-credit, .ds-actions4, .ds-balance, .ds-profile, .ds-progress-card { max-width: 100%; }

/* ---------- Product detail (25) and activity table ---------- */
.ds-detail { display: grid; grid-template-columns: minmax(0, 490px) minmax(0, 1fr); gap: clamp(32px, 8vw, 118px); width: 100%; max-width: 1085px; padding: 32px; border-radius: 21.2px; background: var(--white); box-shadow: var(--sh-panel); }
.ds-detail__media { aspect-ratio: 490 / 487; border-radius: 20.8px; overflow: hidden; background: var(--fill-3); }
.ds-detail__info { display: flex; flex-direction: column; gap: 28px; padding-top: 0; }
.ds-detail__title { font: 600 44.4px/1.2 var(--font-poppins); color: var(--ink-4); }
.ds-detail__desc { font: 400 16px/25.6px var(--font-poppins); color: var(--text-grey); }
.ds-detail__people { display: flex; justify-content: space-between; gap: 24px; }
.ds-detail__cap { font: 400 15.4px/1.5 var(--font-poppins); color: var(--text-grey-2); }
.ds-detail__who { font: 500 21px/1.3 var(--font-poppins); color: var(--ink-black); }
.ds-detail__bid { display: flex; justify-content: space-between; align-items: flex-end; }
.ds-detail__price { display: flex; align-items: center; gap: 10px; font: 500 28px/1.2 var(--font-poppins); color: var(--ink-4); }
.ds-detail__price .eth { width: 18px; height: 29px; }
.ds-detail__date { font: 400 16.5px/1.5 var(--font-poppins); color: var(--ink-black); }
.ds-act__name { font: 800 14px/1.5 var(--font-manrope); letter-spacing: 0.1px; color: var(--ink-2); }
.ds-act__date { font: 400 14px/1.5 var(--font-poppins); color: var(--ink-2); }
.ds-act__time { font: 400 12px/1.5 var(--font-poppins); color: var(--text-muted); }
.ds-act__amount { font: 600 14px/1.5 var(--font-poppins); color: var(--text-violet); }
.ds-act__cur { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1.5 var(--font-poppins); color: var(--ink-2); }
.ds-act__cur .ico { width: 20px; height: 20px; }
.ds-input.is-error { background: var(--white); box-shadow: inset 0 0 0 2px var(--danger); }
.ds-input.is-error .ico { color: var(--danger); }
.ds-input.is-disabled { opacity: 0.5; pointer-events: none; }
@media (max-width: 900px) { .ds-detail { grid-template-columns: minmax(0, 1fr); padding: 20px; } }

/* ---------- Configuración (profile) — layout of the kit's "Edit Profile" screen ---------- */
.profile__title { margin-top: 36px; }
.profile { display: grid; grid-template-columns: 327px minmax(0, 771px); margin-top: 40px; }
.profile__menu { display: flex; flex-direction: column; gap: 40px; padding: 8px 16px 0 0; align-self: start; position: sticky; top: 24px; }
.profile__body { min-width: 0; border-left: 1px solid var(--line); padding-left: 40px; }
.profile__section { scroll-margin-top: 24px; }
.profile__section + .profile__section { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.profile__who { display: flex; align-items: center; gap: 32px; margin: 40px 0 36px; }
.profile__who > div { min-width: 0; }
.profile__name { font: 600 26px/1.2 var(--font-poppins); color: var(--ink-2); overflow-wrap: anywhere; }
.profile__user { margin-top: 8px; font: 500 14px/1.5 var(--font-manrope); letter-spacing: 0.2px; color: var(--text-muted); overflow-wrap: anywhere; }
.profile__user strong { font-weight: 800; color: var(--ink-2); }
.profile__lead { margin: 12px 0 32px; font: 500 14px/24px var(--font-poppins); color: var(--text-subtle); }
.profile__form { display: flex; flex-direction: column; gap: 20px; }
.profile__field { display: flex; flex-direction: column; gap: 8px; }
.profile__label { font: 800 14px/1.5 var(--font-manrope); letter-spacing: 0.2px; color: var(--ink-2); }
.profile__help { font: 400 12px/20px var(--font-poppins); color: var(--text-subtle); }
.profile .ds-field-msg:empty { display: none; }
.profile__submit { width: 100%; margin-top: 20px; }
.profile__notice { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; padding: 14px 20px; border-radius: var(--r-12); background: var(--fill-2); font: 600 14px/1.5 var(--font-poppins); letter-spacing: 0.2px; color: var(--success-sale); }
.profile__notice .ico { width: 20px; height: 20px; flex: none; }
.ds-menu__item[aria-current="page"] { background: var(--fill-4); font-weight: 800; }
@media (max-width: 1100px) {
  .profile { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .profile__menu { position: static; flex-direction: row; flex-wrap: wrap; gap: 16px 40px; padding: 0 0 28px; border-bottom: 1px solid var(--line); }
  .profile__body { border-left: 0; padding: 28px 0 0; }
}
@media (max-width: 640px) {
  .profile__title { margin-top: 24px; }
  .profile__who { gap: 20px; margin: 28px 0; }
  .profile__who .ds-avatar--104 { width: 72px; height: 72px; font-size: 26px; }
  .profile__name { font-size: 22px; }
  .profile__section + .profile__section { margin-top: 48px; padding-top: 40px; }
}

/* ---------- Foldable sidebar (desktop) ----------
   Icons sit on a fixed axis 26 px from the left edge, the centre of the charts app's 52 px rail, so folding the menu
   only hides the labels: nothing moves. The fold button straddles the sidebar's right edge. */
.sidebar .nav > .ds-nav-item { padding-left: 10px; }
.sidebar .nav__bottom .ds-nav-item { padding-left: 9px; }
.sidebar .ds-subnav { margin-left: 30px; }
.sb-toggle { position: absolute; top: calc(var(--shell-topbar-h) + 10px); right: -14px; z-index: 6; display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--r-pill); background: var(--white); color: var(--text-muted-aa); box-shadow: 0 0 0 1px var(--line), 0 4px 12px rgba(20, 20, 22, 0.08); transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.sb-toggle .ico { width: 16px; height: 16px; stroke-width: 2; transition: transform var(--dur) var(--ease); }
.sb-toggle:hover { color: var(--ink); background: var(--fill-4); }
@media (min-width: 1101px) {
  .shell { transition: grid-template-columns var(--dur-slow) var(--ease-out); }
  .sb-collapsed .shell { grid-template-columns: 52px minmax(0, 1fr); }
  .sb-collapsed .sidebar { padding-right: 6px; --sb-pad-r: 6px; }
  .sb-collapsed .sb-toggle .ico { transform: rotate(180deg); }
  .sb-collapsed .brand { gap: 0; }
  .sb-collapsed .brand__text, .sb-collapsed .sidebar .ds-nav-item > span, .sb-collapsed .sidebar .ds-nav-item__chev {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .sb-collapsed .sidebar .ds-subnav { display: none; }
  .sb-collapsed .sidebar .ds-nav-item { width: 40px; padding-right: 0; }
}
@media (max-width: 1100px) {
  .sb-toggle { display: none; }
  .sidebar { padding: 0 24px 40px; --sb-pad-r: 24px; }
  .sidebar .nav > .ds-nav-item, .sidebar .nav__bottom .ds-nav-item { padding-left: 16px; }
  .sidebar .ds-subnav { margin-left: 36px; }
  .brand { margin-left: -24px; padding-left: 37px; }
}
@media (forced-colors: active) { .sb-toggle { border: 1px solid CanvasText; } }
