/* Skin 3 "vega" — Stocks & Gold hub (/app/stocks) and asset page (/app/stocks/:sym).
   Own layout (no nova sk-* layout); hooks stay data-sk-* for vega-stocks.js. 1px outlines, no shadows,
   no icon tiles. */

.v-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.vk { max-width: 1248px; margin: 0 auto; padding: 40px 24px 96px; color: var(--v-t1); font-family: var(--v-font); }
.vk *, .vk *::before, .vk *::after { box-sizing: border-box; }
:where(.vk) :is(h1, h2, h3, p, dl, dd, figure) { margin: 0; }
.vk a:not(.v-btn) { color: inherit; text-decoration: none; }
.vk a.v-btn { text-decoration: none; }
.vk .is-up { color: var(--v-up); }
.vk .is-down { color: var(--v-down); }
.vk-muted { color: var(--v-t3); font-size: 13px; }

/* company / fund marks: the round mark itself, nothing behind it */
.vk .sk-logo { display: inline-grid; place-items: center; flex: none; width: var(--sk-logo, 32px); height: var(--sk-logo, 32px); border: 0; border-radius: 50%; background: none; box-shadow: none; overflow: hidden; }
.vk .sk-logo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.vk .sk-flag { flex: none; display: block; border-radius: 50%; }

.vk-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vk-id b { color: var(--v-t1); font-size: 14px; font-weight: 600; line-height: 1.25; }
.vk-id span { overflow: hidden; color: var(--v-t3); font-size: 12px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.vk-chg { display: inline-block; min-width: 64px; color: var(--v-t2); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- top: copy left, market map right ---------- */
.vk-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.vk-h1 { font: 700 44px/1.06 var(--v-font); letter-spacing: -.035em; text-wrap: balance; }
.vk-top__d { max-width: 480px; margin-top: 16px; color: var(--v-t2); font-size: 16px; line-height: 1.6; text-wrap: pretty; }
/* desktop hero: vega-stocks.js sizes the headline so the copy is exactly as tall as the map */
@media (min-width: 1041px) {
  .vk-top__copy .vk-h1 { font-size: var(--vk-h1, 64px); }
  .vk-top__copy .vk-top__d { max-width: none; margin-top: calc(20px + var(--vk-gap, 0px)); font-size: 19px; }
  .vk-top__copy .vk-top__acts { margin-top: calc(40px + var(--vk-gap, 0px)); }
}
.vk-top__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
/* desktop: the hero fills the first screen; the market starts below the fold */
@media (min-width: 1041px) {
  .vk:has(> .vk-top) { padding-top: 0; }
  .vk-top { min-height: calc(calc(100svh / var(--vz, 1)) - var(--v-head-h)); padding: 32px 0; }
  .vk-top ~ .vk-hold, .vk-top ~ .vk-market { margin-top: 24px; }
}

/* ---------- market map (squarified treemap, laid out on the server) ---------- */
.vk-h3 { font: 600 16px/1.3 var(--v-font); letter-spacing: -.01em; }
.vk-map { padding: 0; border: 0; border-radius: 0; background: none; }
.vk-map__box { position: relative; height: 456px; margin: -1.5px; }
.vk-tile { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); container-type: size; --k: var(--v-up); }
.vk-tile.is-down { --k: var(--v-down); }
.vk-tile__in { position: absolute; inset: 1.5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; overflow: hidden; border-radius: 6px; background: color-mix(in srgb, var(--k) calc(var(--m) * 1%), #1a1c1e); color: #fff; text-align: center; transition: background-color .4s, box-shadow .15s; }
.vk-tile.is-flat .vk-tile__in { background: var(--v-raised); }
.vk-tile.is-ink .vk-tile__in { color: #101113; }
.vk-tile:hover .vk-tile__in, .vk-tile:focus-visible .vk-tile__in { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7); }
.vk-tile.is-ink:hover .vk-tile__in, .vk-tile.is-ink:focus-visible .vk-tile__in { box-shadow: inset 0 0 0 1px rgba(16, 17, 19, .6); }
.vk-tile:focus-visible { outline: none; }
.vk-tile .sk-logo { --sk-logo: 26px; margin-bottom: 3px; }
.vk-tile__sym { font-size: 14px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.vk-tile__chg { font-size: 13px; font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; opacity: .92; }
.vk .vk-tile__chg.is-up, .vk .vk-tile__chg.is-down { color: inherit; }
.vk-tile__px { display: none; font-size: 12px; line-height: 1.1; font-variant-numeric: tabular-nums; opacity: .7; }
@container (min-width: 150px) and (min-height: 120px) {
  .vk-tile .sk-logo { --sk-logo: 34px; margin-bottom: 6px; }
  .vk-tile__sym { font-size: 18px; }
  .vk-tile__chg { font-size: 15px; }
  .vk-tile__px { display: block; margin-top: 2px; }
}
@container (max-width: 70px) or (max-height: 74px) { .vk-tile .sk-logo { display: none; } }
@container (max-width: 54px) { .vk-tile__sym { font-size: 12px; } }
@container (max-width: 44px) { .vk-tile__sym { font-size: 11px; } }
@container (max-width: 48px) or (max-height: 40px) { .vk-tile__chg { display: none; } }
@container (max-width: 40px) { .vk-tile__sym { font-size: 10px; } }
@container (max-width: 30px) or (max-height: 20px) { .vk-tile__sym { display: none; } }

/* ---------- list rows (asset page "Other assets") ---------- */
.vk-mrow { display: flex; align-items: center; gap: 12px; height: 60px; margin: 0 -8px; padding: 0 12px; border-radius: var(--v-r-md); transition: background-color .12s; }
.vk-mrow:hover { background: var(--v-surface); }
.vk-mrow .vk-id { flex: 1; }
.vk-mrow__px { min-width: 84px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* ---------- holdings ---------- */
.vk-hold { margin-top: 56px; padding: 24px 20px 12px; }
.vk-hold__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 0 4px 12px; }
.vk-hold__head .vk-muted { margin-top: 4px; }
.vk-hold__sum { display: flex; gap: 32px; }
.vk-hold__sum dt { color: var(--v-t3); font-size: 12px; white-space: nowrap; }
.vk-hold__sum dd { margin-top: 4px; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vk-unit { color: var(--v-t3); }

/* ---------- market ---------- */
.vk-market { margin-top: 56px; }
.vk-market .vk-h2 { scroll-margin-top: calc(var(--v-head-h) + 24px); }
.vk-market__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 20px; }
.vk-h2 { font: 600 22px/1.3 var(--v-font); letter-spacing: -.02em; }
.vk-scope { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 4px 0 6px; border-radius: var(--v-r-pill); background: var(--v-raised); font-size: 13px; font-weight: 500; }
.vk-scope[hidden] { display: none; }
.vk-scope__flag { display: inline-grid; }
.vk-scope__flag svg { width: 20px; height: 20px; }
.vk-scope__x { display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--v-t2); cursor: pointer; }
.vk-scope__x:hover { color: var(--v-t1); }
.vk-search { display: flex; align-items: center; gap: 8px; width: 260px; height: 40px; margin-left: auto; padding: 0 14px; border: 1px solid var(--v-line-strong); border-radius: var(--v-r); color: var(--v-t3); transition: border-color .15s; }
.vk-search:hover { border-color: var(--v-t4); }
.vk-search:focus-within { border-color: var(--v-focus); }
.vk-search svg { flex: none; }
.vk-search input { flex: 1; width: 0; min-width: 0; height: 100%; padding: 0; border: 0; background: none; color: var(--v-t1); font: 400 14px/1 var(--v-font); outline: none; }
.vk-search input::placeholder { color: var(--v-t3); }
.vk-search input::-webkit-search-cancel-button { display: none; }

.vk-cats { justify-content: space-between; gap: 28px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.vk-cats::-webkit-scrollbar { display: none; }
.vk-cats .v-utab { flex: none; padding-bottom: 12px; font-size: 15px; white-space: nowrap; transition: color .15s; }
.vk-cats .v-utab:hover { color: var(--v-t1); }

.vk-geo { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.vk-geo::-webkit-scrollbar { display: none; }
.vk-geo::-webkit-scrollbar { display: none; }
.vk-geo__b { display: inline-flex; flex: 1 0 auto; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 12px 0 8px; border: 1px solid var(--v-line-2); border-radius: var(--v-r-pill); background: none; color: var(--v-t1); font: 500 13px/1 var(--v-font); white-space: nowrap; cursor: pointer; transition: border-color .15s, background-color .15s; }
.vk-geo__b:hover { border-color: var(--v-line-strong); }
.vk-geo__b.is-on { border-color: var(--v-brand); background: var(--v-brand-faint); }

/* ---------- tables ---------- */
.vk-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--v-raised) transparent; }
.vk-market > .vk-scroll { padding: 8px 12px; border: 1px solid var(--v-line); border-radius: var(--v-r-lg); }
.vk-table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.vk-table th { height: 44px; padding: 0 12px; color: var(--v-t3); font-size: 13px; font-weight: 400; text-align: right; white-space: nowrap; }
.vk-table th:first-child, .vk-table td:first-child { text-align: left; }
.vk-table td { height: 64px; padding: 0 12px; font-size: 14px; text-align: right; white-space: nowrap; transition: background-color .12s; }
.vk-table td:first-child { border-radius: var(--v-r-md) 0 0 var(--v-r-md); }
.vk-table td:last-child { border-radius: 0 var(--v-r-md) var(--v-r-md) 0; }
.vk-table tbody tr { cursor: pointer; }
.vk-table tbody tr:hover td { background: var(--v-surface); }
.vk-table tbody tr[hidden] { display: none; }
.vk-asset { display: inline-flex; align-items: center; gap: 12px; min-width: 0; max-width: 260px; }
.vk-px { font-weight: 600; }
.vk-rg { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 13px; line-height: 1.2; }
.vk-rg > span:last-child { color: var(--v-t3); }
.vk-days { display: inline-block; vertical-align: middle; overflow: visible; }
.vk-days line { stroke: var(--v-line-strong); stroke-width: 1; shape-rendering: crispEdges; }
.vk-days rect.is-up { fill: var(--v-up); }
.vk-days rect.is-down { fill: var(--v-down); }
.vk-days rect.is-flat { fill: var(--v-t4); }
.vk-c-vol { color: var(--v-t2); }
.vk-c-act { width: 1%; }
.vk-table tbody tr:hover .v-btn--dark { background: var(--v-brand); color: var(--v-brand-ink); }
.vk-table--hold td { height: 60px; }

.vk-sort { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.vk-sort::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--v-t4); transition: transform .15s; }
.vk-sort:hover, .vk-sort.is-on { color: var(--v-t1); }
.vk-sort.is-on::after { border-top-color: var(--v-t1); }
.vk-sort.is-asc::after { transform: rotate(180deg); }

.vk-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 16px; color: var(--v-t2); font-size: 14px; }
.vk-empty[hidden] { display: none; }

/* ================= asset page ================= */
.vk-crumbs { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; color: var(--v-t3); font-size: 13px; }
.vk-crumbs a { color: var(--v-t3); transition: color .15s; }
.vk-crumbs a:hover { color: var(--v-t1); }
.vk-crumbs span { color: var(--v-t2); }
.vk-d__head { margin-bottom: 16px; }
.vk-d__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; }
.vk-d__id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.vk-d__name { min-width: 0; }
.vk-d__name h1 { font: 700 30px/1.15 var(--v-font); letter-spacing: -.025em; }
.vk-d__name p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.vk-d__tick { color: var(--v-t2); font-size: 13px; font-weight: 500; }
.vk-d__quote { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.vk-d__px { font: 700 36px/1 var(--v-font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vk-d__chg { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--v-r-sm); background: var(--v-raised); color: var(--v-t2); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vk .vk-d__chg.is-up { background: var(--v-up-soft); color: var(--v-up); }
.vk .vk-d__chg.is-down { background: var(--v-down-soft); color: var(--v-down); }
.vk-d__head { padding: 0; }
.vk-d__facts { display: flex; align-items: flex-end; gap: 48px; margin-bottom: 28px; padding: 2px 0 0; }
.vk-fact { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vk-fact__k { color: var(--v-t3); font-size: 12px; }
.vk-fact__v { display: flex; gap: 6px; height: 32px; align-items: center; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vk-fact__sep { color: var(--v-t4); font-weight: 400; }
.vk-range { position: relative; height: 4px; border-radius: 2px; background: var(--v-raised); }
.vk-range__fill { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 2px; background: linear-gradient(90deg, var(--v-down), var(--v-t3) 50%, var(--v-up)); background-size: var(--rw, 100%) 100%; transition: width .4s var(--v-ease); }
.vk-range__fill::after { content: ""; position: absolute; top: 50%; right: -6px; width: 12px; height: 12px; border: 2px solid var(--v-bg); border-radius: 50%; background: var(--v-t1); transform: translateY(-50%); }
.vk-range__ends { display: flex; justify-content: space-between; color: var(--v-t2); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.vk-flash { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 12px 16px; border: 1px solid rgba(250, 70, 91, .35); border-radius: var(--v-r-md); background: var(--v-down-soft); color: var(--v-t1); font-size: 14px; }
.vk-flash svg { flex: none; color: var(--v-down); }

.vk-d__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 16px; }
.vk-d__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.vk-d__side { position: sticky; top: calc(var(--v-head-h) + 16px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* chart */
.vk-chart { padding: 20px 20px 12px; }
.vk-chart__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.vk-chart__top .vk-d__facts { margin: 0; padding: 0; }
.vk-chart__hover { color: var(--v-t2); font-weight: 400; }
.vk-chart__hover .is-up, .vk-chart__hover .is-down { font-weight: 600; }
.vk-ranges { display: inline-flex; flex: none; gap: 2px; padding: 3px; border-radius: var(--v-r); background: var(--v-raised); }
.vk-ranges button { height: 28px; min-width: 40px; padding: 0 10px; border: 0; border-radius: 6px; background: none; color: var(--v-t2); font: 600 13px/1 var(--v-font); cursor: pointer; transition: color .15s, background-color .15s; }
.vk-ranges button:hover { color: var(--v-t1); }
.vk-ranges button.is-on { background: var(--v-t1); color: #101113; }
.vk-chart__plot { position: relative; height: 360px; }
.vk-chart__load { position: absolute; inset: 0; display: grid; place-items: center; }
.vk-chart__load[hidden] { display: none; }
.vk-spin { width: 22px; height: 22px; border: 2px solid var(--v-raised); border-top-color: var(--v-brand); border-radius: 50%; animation: vk-spin .8s linear infinite; }
@keyframes vk-spin { to { transform: rotate(360deg); } }
.vk-chart__svg { position: absolute; inset: 0; display: block; overflow: visible; }
.vk-chart__grid { stroke: var(--v-line); stroke-width: 1; shape-rendering: crispEdges; }
.vk-chart__ax { fill: var(--v-t3); font: 500 12px var(--v-font); font-variant-numeric: tabular-nums; }
.vk-chart__base { stroke: var(--v-t3); stroke-width: 1; stroke-dasharray: 3 4; shape-rendering: crispEdges; }
.vk-chart__wash { stroke: none; }
.vk-chart__wash.is-up { fill: var(--v-up); fill-opacity: .1; }
.vk-chart__wash.is-down { fill: var(--v-down); fill-opacity: .1; }
.vk-chart__line { fill: none; stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; }
.vk-chart__line.is-up { stroke: var(--v-up); }
.vk-chart__line.is-down { stroke: var(--v-down); }
.vk-chart__end { stroke: var(--v-bg); stroke-width: 2; }
.vk-chart__end.is-up, .vk-chart__dot.is-up { fill: var(--v-up); }
.vk-chart__end.is-down, .vk-chart__dot.is-down { fill: var(--v-down); }
.vk-chart__dot { stroke: var(--v-bg); stroke-width: 2; }
.vk-chart__cross { stroke: var(--v-t4); stroke-width: 1; shape-rendering: crispEdges; }
.vk-lasttag { position: absolute; right: 0; z-index: 2; height: 20px; padding: 0 6px; border-radius: 4px; font: 600 12px/20px var(--v-font); font-variant-numeric: tabular-nums; transform: translateY(-50%); pointer-events: none; }
.vk-lasttag.is-up { background: var(--v-up); color: #101113; }
.vk-lasttag.is-down { background: var(--v-down); color: #fff; }
.vk-d .sk-tip { position: absolute; top: 0; left: 0; z-index: 3; min-width: 128px; padding: 8px 10px; border: 1px solid var(--v-line-strong); border-radius: var(--v-r); background: var(--v-surface); pointer-events: none; }
.vk-d .sk-tip[hidden] { display: none; }
.vk-d .sk-tip p { margin: 0; }
.sk-tip__t { color: var(--v-t3); font-size: 12px; }
.sk-tip__p { margin-top: 3px !important; color: var(--v-t1); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sk-tip__c { margin-top: 2px !important; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }

/* about */
.vk-about { padding: 24px; }
.vk-about__lede { max-width: 760px; margin: 12px 0 24px; color: var(--v-t2); font-size: 15px; line-height: 1.65; text-wrap: pretty; }
.vk-about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.vk-about__h { margin: 0 0 6px; color: var(--v-t1); font-size: 14px; font-weight: 600; }
.vk-kv > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--v-line); }
.vk-kv dt { color: var(--v-t3); font-size: 14px; white-space: nowrap; }
.vk-kv dd { color: var(--v-t1); font-size: 14px; font-weight: 500; text-align: right; }
.vk-kv--tight > div { padding: 9px 0; }
.vk-kv--tight > div:first-child { border-top: 0; }

/* trades */
.vk-trades { padding: 24px 20px 12px; }
.vk-trades > .vk-h2 { margin: 0 4px 8px; }
.vk-table--trades td { height: 52px; }
.vk-table--trades tbody tr { cursor: default; }
.vk-t { color: var(--v-t2); }
.vk-side { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--v-r-sm); font-size: 12px; font-weight: 600; }
.vk .vk-side.is-up { background: var(--v-up-soft); color: var(--v-up); }
.vk .vk-side.is-down { background: var(--v-down-soft); color: var(--v-down); }

/* order ticket (desktop card; on phones nova-mobile.css turns .sk-ticket into a bottom sheet) */
@media (min-width: 768px) {
  .vk-ticket { padding: 20px; border: 1px solid var(--v-line); border-radius: var(--v-r-lg); background: var(--v-bg); }
}
.vk-side-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 3px; border-radius: 10px; background: var(--v-raised); }
.vk-side-seg button { height: 38px; border: 0; border-radius: var(--v-r); background: none; color: var(--v-t2); font: 600 14px/1 var(--v-font); cursor: pointer; transition: color .15s, background-color .15s; }
.vk-side-seg button:hover { color: var(--v-t1); }
.vk-side-seg .is-buy.is-on { background: var(--v-up); color: #101113; }
.vk-side-seg .is-sell.is-on { background: var(--v-down); color: #fff; }
.vk-otype { margin: 18px 0 12px; color: var(--v-t1); font-size: 14px; font-weight: 600; }
.vk-form[hidden] { display: none; }
.vk-fld__top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: var(--v-t3); font-size: 12px; }
.vk-fld__top b { color: var(--v-t1); font-weight: 500; font-variant-numeric: tabular-nums; }
.vk-fld__row { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid var(--v-line-strong); border-radius: 10px; background: var(--v-surface); cursor: text; transition: border-color .15s; }
.vk-fld__row:hover { border-color: var(--v-t4); }
.vk-fld__row:focus-within { border-color: var(--v-focus); }
.vk-fld__row input { flex: 1; width: 0; min-width: 0; height: 100%; padding: 0; border: 0; background: none; color: var(--v-t1); font: 500 16px/1 var(--v-font); font-variant-numeric: tabular-nums; outline: none; }
.vk-fld__row input::placeholder { color: var(--v-t4); }
.vk-fld__row input:disabled { cursor: not-allowed; }
.vk-fld__row > span { color: var(--v-t3); font-size: 13px; font-weight: 600; }
.vk-seg4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; touch-action: pan-y; }
.vk-seg4 button { position: relative; height: 30px; padding: 0; overflow: hidden; border: 0; border-radius: var(--v-r-sm); background: var(--v-raised); color: var(--v-t2); font: 500 12px/1 var(--v-font); cursor: pointer; transition: color .15s; }
.vk-seg4 button:hover:not(:disabled) { color: var(--v-t1); }
.vk-seg4 button:disabled { opacity: .4; cursor: not-allowed; }
.vk-seg4 .sk-seg4__fill { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: var(--v-brand-soft); }
.vk-seg4.is-sell .sk-seg4__fill { background: var(--v-down-soft); }
.vk-seg4 button span { position: relative; }
.vk-seg4 button.is-full, .vk-seg4 button.is-on { color: var(--v-t1); }
.vk-seg4.is-drag button { transition: none; }
.vk-sum { margin-top: 16px; }
.vk-sum > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13px; }
.vk-sum dt { color: var(--v-t3); }
.vk-sum dd { color: var(--v-t1); font-variant-numeric: tabular-nums; text-align: right; }
.vk-sum .vk-sum__big { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--v-line); }
.vk-sum .vk-sum__big dt { color: var(--v-t1); font-size: 14px; font-weight: 600; }
.vk-sum .vk-sum__big dd { font-size: 15px; font-weight: 600; }
.vk-cta { margin-top: 16px; }
.vk-cta--sell { background: var(--v-down); color: #fff; }
.vk-cta--sell:hover:not(:disabled) { background: #ff5a6d; }
.vk-cta-note { margin-top: 8px; color: var(--v-t3); font-size: 12px; text-align: center; }
.vk-note { margin-top: 10px; color: var(--v-down); font-size: 13px; }
.vk-note:empty { display: none; }

.vk-pos, .vk-others { padding: 20px; }
.vk-pos .vk-h3 { margin-bottom: 8px; }
.vk-others__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.vk-more { display: inline-flex; align-items: center; gap: 6px; color: var(--v-t2); font-size: 13px; font-weight: 600; white-space: nowrap; transition: color .15s; }
.vk-more svg { flex: none; }
.vk-more:hover { color: var(--v-t1); }

/* phone Buy / Sell bar */
.vk-mbar .sk-m-bar__buy { background: var(--v-up); color: #101113; border-radius: var(--v-r-md); }
.vk-mbar .sk-m-bar__sell { background: var(--v-down); color: #fff; border-radius: var(--v-r-md); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .vk-c-rg { display: none; }
}
@media (max-width: 1040px) {
  .vk-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .vk-top__d { max-width: none; }
  .vk-c-sp { display: none; }
  .vk-d__grid { grid-template-columns: minmax(0, 1fr); }
  .vk-d__side { position: static; }
}
@media (max-width: 767px) {
  .vk { padding: 24px 16px 104px; }
  .vk-h1 { font-size: 32px; }
  .vk-top__d { margin-top: 12px; font-size: 15px; }
  .vk-top__acts { margin-top: 24px; }
  .vk-top__acts .v-btn { flex: 1; }
  .vk-hold { padding: 20px 16px 8px; }
  .vk-map__box { height: 560px; }
  .vk-tile { left: var(--mx); top: var(--my); width: var(--mw); height: var(--mh); }
  .vk-hold__head { flex-direction: column; gap: 16px; }
  .vk-hold__sum { flex-wrap: wrap; gap: 12px 24px; }
  .vk-market { margin-top: 40px; }
  .vk-search { width: 100%; margin-left: 0; }
  .vk-cats { justify-content: flex-start; gap: 22px; }
  .vk-geo__b { flex: none; }
  .vk-market > .vk-scroll { padding: 4px 4px; }
  .vk-table--mkt .vk-c-vol, .vk-table--mkt .vk-c-act { display: none; }
  .vk-table--mkt td { height: 60px; padding: 0 8px; }
  .vk-table--mkt th { padding: 0 8px; }
  .vk-asset { gap: 10px; max-width: 150px; }
  .vk-table--mkt td:first-child, .vk-table--mkt th:first-child { padding-left: 8px; }
  .vk-table--mkt .vk-chg { min-width: 0; }
  .vk-table--mkt { table-layout: fixed; }
  .vk-table--mkt th:nth-child(2), .vk-table--mkt td:nth-child(2) { width: 104px; }
  .vk-table--mkt th:nth-child(3), .vk-table--mkt td:nth-child(3) { width: 76px; }
  .vk-asset .vk-id { min-width: 0; }
  .vk-asset .vk-id b, .vk-asset .vk-id span { overflow: hidden; text-overflow: ellipsis; }
  /* asset page */
  .vk-crumbs { margin-bottom: 14px; }
  .vk-d__top { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px 16px; }
  .vk-d__id .sk-logo { --sk-logo: 44px; }
  .vk-d__name h1 { font-size: 22px; }
  .vk-d__quote { flex-direction: row; align-items: center; justify-content: space-between; }
  .vk-d__px { font-size: 30px; }
  body.vega.sk-detail-page .v-cookie { bottom: calc(var(--m-tab, 0px) + 72px); }
  .vk-chart { padding: 16px 12px 8px; }
  .vk-chart__top { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 18px; }
  .vk-chart__top .vk-d__facts { flex-wrap: wrap; gap: 14px 28px; }
  .vk-ranges { align-self: flex-start; }
  .vk-chart__plot { height: 260px; }
  .vk-about, .vk-trades, .vk-pos, .vk-others { padding: 20px 16px; }
  .vk-trades { padding-bottom: 8px; }
  .vk-about__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  /* phones: one scrolling row of countries, faded at the edge */
  .vk-geo { flex-wrap: nowrap; margin-right: -16px; padding-right: 16px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .vk-geo::-webkit-scrollbar { display: none; }
}

/* =====================================================================
   v2 — stocks list + stock page in the language of the newer skin 3 pages: filled cards without
   outlines, capsule category tabs and country chips, market rows as separate rounded rows, filled fields.
   ===================================================================== */
.vk { --field-line: transparent; }
.vk .v-card, .vk .vk-ticket { border: 0 !important; border-radius: 24px; background: var(--v-surface); }
.vk .vk-ticket { padding: 24px; }

/* category tabs -> capsules */
.vk-cats { justify-content: flex-start; gap: 8px; margin-bottom: 12px; }
.vk-cats .v-utab { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 0; border-radius: 99px; background: var(--v-surface); color: var(--v-t2); font: 600 14px/1 var(--v-font); }
.vk-cats .v-utab::after { display: none !important; }
.vk-cats .v-utab:hover { color: var(--v-t1); }
.vk-cats .v-utab.is-on { background: var(--v-t1); color: var(--v-bg); }
/* country chips -> filled capsules */
.vk-geo__b { height: 38px; border: 0; border-radius: 99px; background: var(--v-surface); }
.vk-geo__b:hover { border: 0; background: var(--v-raised); }
.vk-geo__b.is-on { border: 0; background: var(--v-t1); color: var(--v-bg); }
.vk-search { border: 1px solid transparent; border-radius: 99px; background: var(--v-surface); }
.vk-search:hover { border-color: transparent; }

/* market list: separate rounded rows, no frame */
.vk-market > .vk-scroll { padding: 0; border: 0; border-radius: 0; }
.vk-market .vk-table { border-spacing: 0 8px; }
.vk-market .vk-table th { height: 32px; padding: 0 16px; font-size: 12px; font-weight: 500; }
.vk-market .vk-table td { height: 76px; padding: 0 16px; background: var(--v-surface); }
.vk-market .vk-table td:first-child { border-radius: 18px 0 0 18px; padding-left: 20px; }
.vk-market .vk-table td:last-child { border-radius: 0 18px 18px 0; padding-right: 20px; }
.vk-market .vk-table tbody tr:hover td { background: #1f2124; }

/* stock page */
.vk-d .vk-kv > div { border-top: 0; padding: 10px 0; }
.vk-d .vk-kv { padding: 4px 16px; border-radius: 16px; background: var(--v-field); }
.vk-fld__row { border: 1px solid transparent; border-radius: 14px; background: var(--v-field); }
.vk-fld__row:hover { border-color: transparent; }
.vk-sum .vk-sum__big { border-top: 0; }
.vk-d .vk-side-seg { padding: 4px; border-radius: 99px; background: var(--v-field); }
.vk-d .vk-side-seg button { border-radius: 99px; }
@media (max-width: 767px) {
  .vk .v-card, .vk .vk-ticket { border-radius: 20px; }
  .vk-market .vk-table td { height: 68px; }
}
