.relay-wordmark { width: 164px; max-width: 100%; height: auto; display: block; }
.relay-symbol { display: none; width: 36px; height: auto; }
.row-tools { display: inline-flex; align-items: center; gap: 5px; }
.row-tools > .button { min-height: 32px; padding: 5px 10px; white-space: nowrap; }
.row-tools > .button.secondary:first-child:not(.more-tools) { color: var(--desk-action); }
.row-tools > .more-tools { gap: 6px; color: var(--muted); }
.tools-popup {
  position: fixed; inset: auto; margin: 0; width: max-content; min-width: 160px;
  max-width: calc(100vw - 10px); max-height: calc(100dvh - 10px); overflow-y: auto;
  padding: 4px; border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); background: var(--panel); box-shadow: 0 8px 24px #12263b25;
}
.tools-popup:popover-open { display: grid; gap: 1px; }
.tools-popup > button.button { justify-content: start; width: 100%; min-height: 33px; border: 0; padding: 6px 10px; background: transparent; color: var(--text); }
.tools-popup > button:is(:hover,:focus-visible) { background: color-mix(in srgb,var(--desk-action) 9%,var(--panel)); }
.tools-popup > button:is([data-action="cancel"],[data-action="unlink-steam"]) { color: var(--red,#bb4239); }
#global-message:not(.error):not([hidden]) {
  position: fixed; z-index: 30; inset: auto max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) auto;
  display: flex; align-items: center; gap: 9px; width: max-content; max-width: min(380px,calc(100vw - 32px));
  margin: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 4px 16px #16283919; background: var(--panel); color: var(--text); font-size: 13px;
}
#global-message:not(.error):not([hidden])::before { content: "✓"; color: var(--desk-action); font-weight: 700; }
.sidebar > .brand { position: relative; justify-content: flex-start; }
.sidebar .relay-wordmark { width: min(142px, 86%); }
.sidebar > .brand::after {
  content: "";
  position: absolute;
  width: min(142px, 86%);
  aspect-ratio: 930 / 187;
  pointer-events: none;
  background: linear-gradient(108deg, transparent 39%, #e3f1ffb5 49%, transparent 59%) 135% center / 350% 100% no-repeat;
  mask: url("/landing/assets/skinrelay-logo.png") center / contain no-repeat;
  animation: relay-mark-shine 8s ease-in-out infinite;
}
@keyframes relay-mark-shine {
  0%, 72% { background-position-x: 135%; }
  93%, 100% { background-position-x: -35%; }
}
@media (prefers-reduced-motion: reduce) { .sidebar > .brand::after { display: none; animation: none; } }
:root[data-theme=dark] .relay-wordmark { background: #f5f5f1; border-radius: 5px; padding: 4px 6px; }
.auth-card h1 { font-size: 24px; line-height: 1.3; letter-spacing: -.035em; font-weight: var(--sr-weight-heading); }
.auth-card #auth-title { margin-bottom: 4px; }
.auth-card .muted { margin-bottom: 22px; }
.auth-card #auth-submit { justify-content: center; }
.auth-card .remember-device { display:flex; align-items:center; gap:9px; width:fit-content; min-height:30px; color:var(--text); cursor:pointer; }
.auth-card .remember-device[hidden] { display:none; }
.remember-device input { width:16px; height:16px; margin:0; }
.auth-card #auth-description { overflow-wrap: anywhere; }
.code-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.auth-link { padding: 3px 0; border: 0; background: transparent; color: var(--desk-action); font: inherit; font-size: 12px; font-weight: 600; }
.auth-link:enabled:hover { text-decoration: underline; text-underline-offset: 2px; }
.auth-link:disabled { color: var(--muted); cursor: default; }
.auth-card .recovery-action { display: block; margin-top: 10px; }
.auth-card #email-code { font-variant-numeric: tabular-nums; letter-spacing: .18em; }
.auth-foot { margin: 16px 0 0; font-size: 12px; color: var(--muted); }
.auth-foot a { color: var(--desk-action); font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.main-shell > main { max-width: none; }
.main-shell .page-heading, .main-shell .panel, .main-shell .activity-metrics, .main-shell .balance-strip { text-align: left; }
.auth-screen .auth-card { max-width: 368px; padding: clamp(20px, 3.6vw, 30px); border-radius: 12px; }
.auth-card .mobile-brand { margin-bottom: 20px; }
.main-shell { --panel-inset: var(--sr-panel-pad); --row-inset: var(--sr-panel-pad); }
.main-shell .page-heading { margin-bottom: 23px; }
.main-shell .page-heading h1 { font-size: clamp(21px, 1.7vw, 23px); }
.main-shell .panel-heading { padding: 14px var(--panel-inset); }
.main-shell .panel-heading .button { min-height: var(--sr-control-height); padding: 8px 14px; }
.main-shell .data-table th { padding: 10px var(--row-inset); }
.main-shell .data-table td { padding: 12px var(--row-inset); }
.main-shell .space-bottom { margin-bottom: 20px; }
.main-shell .balance-strip { gap: 18px 34px; margin-bottom: 22px; padding-block: 19px; }
.balance-strip > div { min-width: 118px; }
.balance-strip strong { margin-top: 4px; font-size: clamp(22px, 1.75vw, 25px); }
.activity-metrics article { padding: 13px var(--panel-inset); border-radius: 9px; }
.activity-metrics strong { font-size: clamp(20px, 1.65vw, 24px); }
.personal-settings { container: personal-cards / inline-size; width: 100%; min-width: 0; margin-inline: 0 auto; }
@media (min-width: 1080px) {
  .personal-settings { width: max(50%, 28.5rem); max-width: 100%; }
}
@media (max-width: 950px) {
  .main-shell { --panel-inset: 15px; --row-inset: 14px; }
}
@media (max-width: 580px) {
  .main-shell .page-heading { margin-bottom: 18px; }
  .main-shell .panel-heading { padding-block: 12px; }
  .main-shell .panel-heading .button { min-height: 40px; }
  .main-shell .balance-strip { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 18px; padding-block: 15px; }
  .balance-strip > div { min-width: 0; }
  .balance-strip strong { overflow-wrap: anywhere; }
  .activity-metrics article { padding: 12px; }
}
.operations-tabs { display: flex; align-items: center; gap: clamp(14px,2vw,22px); margin: 0 0 19px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.operations-tabs::-webkit-scrollbar { display:none; }
.operations-tabs button { display: inline-flex; flex: none; align-items: center; gap: 5px; padding: 10px 1px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 12px; transition: none; }
.operations-tabs button:focus-visible { outline-offset: -3px; }
.operations-tabs [aria-selected="true"] { color: var(--desk-action); border-bottom-color: var(--desk-action); font-weight: 600; }
.operations-tabs .count { margin: 0; }
.operations-navigation { container:admin-views / inline-size; }
.operations-picker { display:none; }
@container admin-views (max-width:58rem) {
  .operations-tabs { display:none; }
  .operations-picker {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px 12px;
    margin-bottom:14px;
    color:var(--muted);
    font-weight:var(--sr-weight-medium);
    font-size:12px;
  }
  .operations-picker select {
    width:min(100%,23rem); max-width:100%; min-height:var(--sr-control-height);
    padding:5px 10px; border:1px solid var(--sr-field-edge); border-radius:var(--sr-radius-control);
    background-color:var(--panel); color:var(--text); font:inherit;
  }
}
.record-caption { display:none; }
@media (max-width:720px) {
  .table-wrap:has(.compact-record) { overflow:visible; }
  .data-table:has(.compact-record),.data-table:has(.compact-record)>tbody { display:block; min-width:0; width:100%; }
  .data-table:has(.compact-record)>thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .data-table .compact-record {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 14px;
    padding:12px var(--panel-inset); border-top:1px solid var(--line);
  }
  .main-shell .compact-record td {
    display:block; min-width:0; padding:0; border:0; text-align:start; white-space:normal; overflow-wrap:anywhere;
  }
  .compact-record td:has(button) { grid-column:1/-1; }
  .compact-record .record-caption { display:block; margin-bottom:2px; color:var(--muted); font-size:11px; font-weight:var(--sr-weight-medium); }
  .compact-record .row-actions { justify-content:flex-start; flex-wrap:wrap; }
  .compact-record .secondary-line { white-space:normal; overflow-wrap:anywhere; }
}
.account-filter { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 12px; }
.account-filter select { padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); color: inherit; font: inherit; }
.account-detail-area { padding: 2px 2px 10px; white-space: normal; }
.account-detail-area .relay-detail-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(212px,100%),1fr)); gap: 20px 24px; margin: 4px 0 18px; }
.account-detail-area .relay-detail-list > div { display: block; min-width: 0; padding: 0; border: 0; }
.account-detail-area .relay-detail-list dt { margin-bottom: 5px; font-size: 12px; font-weight: 600; }
.account-detail-area .relay-detail-list dd { text-align: left; font-weight: 400; }
.account-detail-area h3 { margin: 16px 0 5px; font-size: 13px; }
.member-directory-row > td:last-child { text-align:right; }
.member-directory-row > td:first-child { white-space:normal; overflow-wrap:anywhere; }
.member-details-toggle { gap:7px; }
.member-details-toggle::after { content:''; width:6px; height:6px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:translateY(-2px) rotate(45deg); }
.member-details-toggle[aria-expanded=true]::after { transform:translateY(2px) rotate(225deg); }
.member-expanded > td { background:var(--soft); }
.member-control-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(185px,100%),1fr)); gap:20px 24px; padding-block:4px 10px; }
.member-setting,.member-fact { display:flex; min-width:0; flex-direction:column; align-items:flex-start; gap:5px; font-size:12px; }
.member-setting > label,.member-fact > span:first-child { color:var(--muted); font-size:12px; font-weight:600; }
.member-control-grid .button { min-height:32px; padding:5px 10px; }
.member-setting small,.member-fact small,.member-setting output { font-size:11px; color:var(--muted); line-height:1.4; }
.member-setting output:empty { display:none; }
.member-setting-input { display:flex; max-width:100%; align-items:center; gap:6px; }
.member-setting input { box-sizing:border-box; min-width:0; width:100%; min-height:32px; padding:5px 8px; color:var(--text); background:var(--panel); border:1px solid var(--line); border-radius:5px; font:inherit; }
.member-setting input[type=number] { width:82px; }
.member-fact [data-action=member-disable] { color:var(--danger,#ad3b2b); }
.member-recent { font-size:11px; }
.member-recent::before { content:''; display:inline-block; width:6px; height:6px; margin-inline-end:5px; border-radius:50%; background:var(--success,#16805b); }
.member-account-id { font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.member-trading-details { margin-top:8px; padding-top:9px; border-top:1px solid var(--line); }
.member-trading-details > button { display:inline-flex; align-items:center; gap:7px; padding:4px 0; background:transparent; border:0; color:var(--muted); font:inherit; font-size:12px; font-weight:600; cursor:pointer; }
.member-trading-details > button::before { content:''; width:6px; height:6px; border:solid currentColor; border-width:1.5px 1.5px 0 0; transform:rotate(45deg); }
.member-trading-details > button[aria-expanded=true] { margin-bottom:8px; }
.member-trading-details > button[aria-expanded=true]::before { transform:rotate(135deg); }
.member-history-list { margin:12px 0; padding:0; list-style:none; }
.member-history-list li { display:grid; gap:4px; padding:7px 0; border-top:1px solid var(--line); font-size:13px; }
.member-history-list small { color:var(--muted); }
.table-wrap:has(> table > tbody > .member-directory-row) { container:member-directory / inline-size; }
@container member-directory (min-width:900px) {
  .member-control-grid { grid-template-columns:repeat(5,minmax(0,1fr)); }
}
@media (max-width:680px) {
  .data-table:has(> tbody > .member-directory-row),.data-table:has(> tbody > .member-directory-row) > tbody { display:block; width:100%; }
  .data-table:has(> tbody > .member-directory-row) > thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .data-table > tbody > .member-directory-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; padding:12px 14px; border-top:1px solid var(--line); }
  .data-table > tbody > .member-directory-row > td { padding:0; border:0; }
  .member-directory-row > td:nth-child(2) { grid-column:1; }
  .member-directory-row > td:nth-child(2)::before { content:'Rate '; color:var(--muted); }
  .member-directory-row > td:last-child { grid-column:2; grid-row:1; }
  .member-directory-row > td:nth-child(3) { text-align:right; }
  .data-table > tbody > .member-expanded,.data-table > tbody > .member-expanded > td { display:block; min-width:0; }
  .member-control-grid { grid-template-columns:repeat(auto-fit,minmax(min(158px,100%),1fr)); gap:14px; }
}
:root { --desk-positive: #186647; --positive-bg: #e9f5ed; --positive-edge: #b3d6bf; --warning-ink: #81550b; --warning-bg: #fff4d9; --warning-edge: #e3c98a; --negative-ink: #a13c3c; --negative-bg: #fff0ef; --negative-edge: #e9bdba; --operation-ink: #375b91; --operation-bg: #eef4ff; --operation-edge: #bbcee8; }
:root[data-theme=dark] { --desk-positive: #a4dfbc; --positive-bg: #21372d; --positive-edge: #3b604a; --warning-ink: #ebcc8f; --warning-bg: #3d3324; --warning-edge: #65563e; --negative-ink: #ffb5b0; --negative-bg: #412c30; --negative-edge: #67444a; --operation-ink: #adc8fd; --operation-bg: #293649; --operation-edge: #415773; }
:root[data-theme] .status.positive { color: var(--desk-positive); background: var(--positive-bg); border-color: var(--positive-edge); }
:root[data-theme] .status.failed { color: var(--negative-ink); background: var(--negative-bg); border-color: var(--negative-edge); }
:root[data-theme] .status.pending { color: var(--warning-ink); background: var(--warning-bg); border-color: var(--warning-edge); }
:root[data-theme] .status.operating { color: var(--operation-ink); background: var(--operation-bg); border-color: var(--operation-edge); }
.skip-navigation { position: fixed; top: 6px; left: 6px; padding: 8px 14px; background: var(--panel); z-index: 50; transform: translateY(-200%); }
.skip-navigation:focus { transform: translateY(0); }
.nav-item:not(.active) i { display: none; }
.sidebar .nav-item > .nav-icon {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sidebar .nav-item > .nav-label {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: inherit;
  line-height: 1.3;
  text-align: start;
}
.sidebar .nav-item > i { flex: none; }
.sidebar .nav-item > .steam-nav-mark {
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  font-size: 20px;
}
.sidebar .nav-item > span > svg { display: block; max-width: 100%; height: auto; margin-inline: auto; }
.sidebar .steam-nav-mark svg { color: #66707b; background-color: var(--panel); border-radius: 50%; }
:root[data-theme=dark] .sidebar .steam-nav-mark svg { color: #b4bfc6; }
.sidebar-bottom > .nav-item { margin-bottom: 5px; }
.account-divider { margin: 8px 0; border: 0; border-top: 1px solid var(--line); }
.sidebar-bottom .user-card { border-top: 0; }
.sidebar.navigation-expanded .sidebar-bottom { border-top: 0; }
.main-shell, .trade-field, .inventory-name, .selection-amounts, .relay-link-form { min-width: 0; }
main:focus { outline: none; }
#view > .alert { margin: 0 0 16px; }
.relay-link-form .trade-field { flex: 1 1 18rem; }
.field label small { color: var(--muted); font-weight: 400; }
.inventory-name small { color: var(--muted); display: block; }
.inventory-name strong { white-space: normal; }
.money, .balance-strip strong { font-variant-numeric: tabular-nums; }
.row-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.row-actions .button, .inventory-row .button { min-height: 32px; padding: 5px 10px; white-space: nowrap; }
.linked-steam-accounts { container: linked-accounts / inline-size; }
.linked-steam-accounts [data-action="unlink-steam"] { color:var(--negative-ink); }
.steam-records { list-style:none; padding:0; margin:0; }
.steam-record { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(100px,.8fr) auto; align-items:center; gap:12px 20px; padding:12px var(--panel-inset); }
.steam-record + .steam-record { border-top:1px solid var(--line); }
.steam-record-name,.steam-record-meta,.steam-record-date { display:grid; min-width:0; gap:3px; }
.steam-record-name strong { overflow-wrap:anywhere; font-size:14px; }
.steam-record small { font-size:12px; line-height:1.4; color:var(--muted); }
.steam-record-meta > span { display:flex; flex-wrap:wrap; align-items:center; gap:4px; }
.steam-record-date { font-size:13px; }
.steam-source-choice { padding:10px 12px; border:1px solid var(--line); border-radius:var(--radius,8px); }
.steam-source-choice small { display:block; color:var(--muted); font-size:12px; line-height:1.5; }
@container linked-accounts (max-width: 740px) {
  .steam-record { grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; }
  .steam-record-name { grid-column:1; grid-row:1; }
  .steam-record-meta { grid-column:1; grid-row:2; }
  .steam-record-date { grid-column:1; grid-row:3; display:flex; align-items:baseline; gap:4px; color:var(--muted); font-size:12px; }
  .steam-record > :last-child { grid-column:2; grid-row:1 / span 3; }
}
@container linked-accounts (max-width: 400px) {
  .steam-record { grid-template-columns:minmax(0,1fr); }
  .steam-record > :last-child { grid-column:1; grid-row:4; justify-self:start; }
}
.history-pagination-actions .button { min-width: 72px; }
.order-history { container:order-history / inline-size; }
.order-history .data-table th:last-child { text-align:end; }
.order-history .delivery-actions, .order-history .delivery-controls {
  display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:5px;
}
.order-history .delivery-controls { max-width:100%; }
.order-history .delivery-actions .button {
  min-height:var(--sr-control-compact); padding:3px 8px; gap:0;
  font:var(--sr-weight-medium) 11px/16px var(--sr-font-ui); text-align:center; white-space:nowrap;
}
.order-history .delivery-actions .status { display:inline-flex; align-items:center; padding:2px 6px; font-size:10px; line-height:16px; }
.order-history .data-table td { white-space:normal; overflow-wrap:anywhere; }
@container order-history (max-width:900px) {
  .order-history .table-wrap { overflow:visible; }
  .order-history .data-table,.order-history .data-table tbody { display:block; min-width:0; }
  .order-history .data-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .order-history .data-table tbody tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px 12px; padding:12px var(--row-inset); border-bottom:1px solid var(--line); }
  .order-history .data-table tbody td { display:block; padding:0; border:none; }
  .order-history .data-table td:first-child,.order-history .data-table td:last-child { grid-column:1/-1; }
  .order-history .data-table td::before { display:block; font-size:10px; color:var(--muted); }
  .order-history .data-table td:nth-child(2)::before { content:'Steam account'; }
  .order-history .data-table td:nth-child(3)::before { content:'Your proceeds'; }
  .order-history .data-table td:nth-child(4)::before { content:'Status'; }
  .order-history .data-table td:nth-child(5)::before { content:'Updated'; }
  .order-history .delivery-actions, .order-history .delivery-controls { justify-content:flex-start; }
}
.relay-detail-list { margin: 18px 0; }
.relay-detail-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.relay-detail-list dt { flex: none; color: var(--muted); }
.relay-detail-list dd { text-align: right; margin: 0; overflow-wrap: anywhere; font-weight: 580; }
.relay-consent { display: flex; align-items: start; gap: 10px; margin: 14px 0; font-size: 13px; line-height: 1.6; }
.relay-consent input { accent-color: var(--desk-accent-solid); flex: none; margin-top: 4px; }
#review-content .field { margin: 16px 0; }
#review-content .field input, #review-content .field select { width: 100%; }
.steam-link-input { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.steam-link-input input { min-width: 0; }
.steam-field-error { color: var(--danger); }
.steam-field-error:empty { display: none; }
@media (max-width: 520px) {
  .steam-link-input { grid-template-columns: minmax(0,1fr); }
}
#selected-total { overflow-wrap: anywhere; }
.table-wrap:focus-visible { outline: 2px solid var(--desk-action); outline-offset: -2px; }
.table-wrap { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.table-wrap::-webkit-scrollbar { display: none; }
.main-shell .panel, .main-shell > main, .main-shell .view { min-width: 0; }
@media (min-width: 741px) {
  .sidebar-collapsed .sidebar .nav-item > .nav-label { display: none; }
  .sidebar-collapsed .relay-wordmark { display: none; }
  .sidebar-collapsed .sidebar > .brand::after { display: none; }
  .sidebar-collapsed .relay-symbol { display: block; }
}
@media (max-width: 740px) {
  .sidebar.navigation-expanded .nav-item { min-height: 44px; padding-inline: 12px; gap: 10px; }
  .sidebar .relay-wordmark, .sidebar > .brand::after { width: 118px; }
  .relay-link-form .trade-field { flex: 1 1 auto; }
}
@media (max-width: 580px) {
  #inventory-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
  #inventory-form .trade-field { grid-column: 1 / -1; }
  #inventory-form .game-field { grid-column: 1 / -1; }
  .relay-link-form { display: grid; grid-template-columns: minmax(0, 1fr); }
  .relay-link-form .button { width: 100%; }
  .auth-card .relay-wordmark { width: 152px; }
}

.overview-metric-icon {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--quiet);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.overview-funds-panel {
  container: overview-funds / inline-size;
  --funds-gutter: var(--panel-inset);
}
.overview-funds-panel > .panel-heading { padding-inline: var(--funds-gutter); }
.overview-funds-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}
.overview-funds-grid > div {
  min-width: 0;
  padding: 14px var(--funds-gutter) 16px;
}
.overview-funds-grid dt {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.overview-funds-grid dd {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.overview-funds-grid > div:first-child dd { color: var(--lime); }
@container overview-funds (max-width: 42rem) {
  .overview-funds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-funds-grid > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@container overview-funds (max-width: 22rem) {
  .overview-funds-grid { grid-template-columns: minmax(0, 1fr); }
  .overview-funds-grid > div + div { border-top: 1px solid var(--line); }
}
.personal-settings > .panel {
  --account-inset:var(--panel-inset);
  --account-heading:48px;
  --account-row:90px;
  --account-action:166px;
  --account-control:32px;
}
.personal-settings .panel-heading { min-height:var(--account-heading); padding:6px var(--account-inset); gap:10px; }
.personal-settings .panel-heading h2 { min-width:0; }
.personal-row, .personal-wallet-empty { min-height:var(--account-row); padding:9px var(--account-inset); }
.personal-row { display:grid; grid-template-columns:minmax(0,1fr) var(--account-action); align-items:center; gap:8px 14px; }
.personal-row:not(:has(.row-actions > *)) { grid-template-columns:minmax(0,1fr); }
.personal-row .row-actions { display:grid; gap:5px; justify-items:start; }
.personal-row .row-actions:empty { display:none; }
.personal-settings .panel-heading .button, .personal-settings .row-actions .button, .personal-pending-control {
  width:var(--account-action); min-height:var(--account-control); flex:none;
  padding:4px 8px; font-size:11px; line-height:1.3; white-space:normal;
}
.personal-row + .personal-row { border-top:1px solid var(--line); }
.personal-row h3 { margin:0; font-size:12px; font-weight:550; }
.personal-row h3, .personal-row p { overflow-wrap:anywhere; }
.personal-row p, .personal-wallet-empty { margin:0; color:var(--muted); font-size:11px; line-height:1.7; }
.personal-row p { margin-top:4px; }
.personal-wallet-empty { display:flex; align-items:center; }
.personal-address { display:block; line-height:1.4; }
.personal-pending-line, .personal-settings dd:empty::after { display:inline-block; width:96px; max-width:100%; height:6px; border-radius:3px; background:var(--line); }
.personal-settings dd:empty::after { content:""; }
.personal-pending-control { display:block; border:1px solid var(--line); border-radius:6px; }
.personal-detail { padding:16px var(--account-inset) 0; }
.personal-detail .relay-detail-list { font-size:11px; }
@container personal-cards (max-width: 27rem) {
  .personal-settings > .panel {
    --account-heading:52px;
    --account-row:126px;
    --account-action:min(166px, calc((100cqi - 2 * var(--account-inset) - 10px) / 2));
    --account-control:40px;
  }
  .personal-settings .panel-heading { padding-block:5px; }
  .personal-row { grid-template-columns:minmax(0,1fr); align-content:center; gap:7px; }
  .personal-row .row-actions { display:flex; flex-wrap:wrap; }
  .personal-row .row-actions:empty { display:none; }
}
@container personal-cards (max-width: 22rem) {
  .personal-detail .relay-detail-list > div:nth-child(-n+2) { min-height:51px; align-items:center; }
}
.personal-qr { display:block; width:200px; max-width:100%; height:auto; margin:0 auto 14px; }
.seller-register-filters {
  display:flex; align-items:end; flex-wrap:wrap; gap:9px;
  padding:13px var(--panel-inset); border-bottom:1px solid var(--line);
}
.seller-register-filters label { display:grid; min-width:0; gap:4px; color:var(--muted); font-size:11px; font-weight:550; }
.seller-register-filters label:first-child { flex:1 1 190px; max-width:27rem; }
.seller-register-filters :is(input,select,.button) { min-height:36px; border-radius:6px; }
.seller-register-filters :is(input,select) {
  width:100%; min-width:0; padding:7px 10px; border:1px solid var(--desk-control-line,var(--line));
  color:var(--text); background:var(--input); font-family:inherit; font-size:12px; font-weight:400; line-height:1.4;
}
.seller-register-filters input::placeholder { color:var(--quiet); }
.seller-register-filters .button { padding:7px 12px; font-size:11px; }
.seller-register-scope { padding:8px var(--panel-inset);font-size:12px;color:var(--muted); }
.seller-register-scope:empty { display:none; }
.seller-register-item { display:flex;align-items:center;gap:8px; }
.seller-register-item img { width:48px;height:34px;object-fit:contain; }
.seller-register-item strong { white-space:normal; }
#queue-listings .data-table { min-width:760px; }
@media (max-width:580px) {
  .seller-register-filters { display:grid; grid-template-columns:minmax(0,1fr) auto; }
  .seller-register-filters label:first-child { grid-column:1 / -1; max-width:none; }
  .seller-register-filters :is(input,select,.button) { min-height:40px; }
  .seller-register-filters [data-register-clear] { grid-column:1 / -1; justify-self:start; }
}
.desk-page-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:5px 12px; margin-bottom:18px; }
.desk-page-title { display:flex; align-items:center; flex-wrap:wrap; gap:4px 14px; }
.desk-page-title h1 { font-size:clamp(21px,1.7vw,23px); font-weight:600; line-height:1.35; letter-spacing:-.035em; }
.desk-page-heading > p { grid-column:1 / -1; margin:0; font-size:12px; color:var(--muted); }
.desk-publishing-state { display:inline-flex; align-items:center; gap:6px; font-size:11px; color:var(--muted); }
.desk-publishing-state::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--warning-ink); }
#desk-connection { position:relative; justify-self:end; }
#desk-check { display:inline-flex; align-items:center; gap:8px; list-style:none; padding:6px 10px; border:1px solid var(--line); border-radius:6px; background:var(--panel); color:var(--muted); font-size:12px; font-weight:550; cursor:pointer; }
#desk-check::-webkit-details-marker { display:none; }
#desk-check::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--warning-ink); }
#desk-check[data-state="ok"]::before { background:var(--desk-positive); }
#desk-check[data-state="ok"] { color:var(--desk-positive); background:var(--positive-bg); border-color:var(--positive-edge); }
#desk-check[data-state=""],#desk-check[data-state="checking"] { color:var(--muted); }
#desk-check[data-state=""]::before,#desk-check[data-state="checking"]::before { background:var(--muted); }
#desk-check::after { content:""; width:5px; height:5px; border:solid currentColor; border-width:0 1px 1px 0; transform:translateY(-1px) rotate(45deg); }
#desk-connection[open] > #desk-check::after { transform:translateY(1px) rotate(225deg); }
#desk-check:hover, #desk-connection[open] > #desk-check { background:var(--soft); color:var(--text); }
#desk-check:focus-visible { outline:2px solid var(--desk-action); outline-offset:3px; }
.desk-connection-detail { position:absolute; z-index:4; inset-block-start:calc(100% + 6px); inset-inline-end:0; width:min(19rem,calc(100vw - 44px)); padding:12px 14px; border:1px solid var(--line); border-radius:8px; background:var(--panel); box-shadow:0 6px 18px rgb(0 0 0 / 9%); font-size:12px; }
.desk-connection-detail p { margin:5px 0 10px; color:var(--muted); overflow-wrap:anywhere; }
.desk-connection-detail small { display:block; color:var(--muted); margin:0 0 8px; font-size:11px; }
.desk-connection-detail small:empty { display:none; }
.desk-connection-detail .button { min-height:30px; padding:4px 10px; }
.desk-accounts-panel { display:grid; grid-template-columns:auto minmax(0,1fr) auto; grid-template-areas:"label choices actions"; gap:12px 18px; align-items:center; padding:12px 14px; }
.desk-accounts-label { grid-area:label; display:grid; gap:2px; }
.desk-accounts-label h2 { display:flex; align-items:center; gap:6px; font-size:13px; font-weight:600; }
.desk-accounts-label h2 .count { margin:0; }
.desk-accounts-panel .row-actions { grid-area:actions; justify-self:end; }
.main-shell .desk-accounts-panel .button { min-height:30px; padding:4px 10px; font-size:12px; }
.account-feedback { color:var(--muted); font-size:12px; }
.account-feedback:not(:empty)::before { content:""; display:inline-block; width:8px; height:4px; border:solid var(--desk-positive); border-width:0 0 1.6px 1.6px; transform:translateY(-3px) rotate(-45deg); margin-inline-end:6px; }
.account-feedback:empty { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.desk-account-choices { grid-area:choices; display:flex; flex-wrap:wrap; align-items:stretch; gap:7px; max-height:168px; overflow-y:auto; padding:3px; }
.desk-account-choices button:focus-visible { outline-offset:1px; }
.desk-account-choice { display:grid; align-content:center; gap:3px; min-width:0; max-width:min(100%,19rem); padding:7px 10px; border:1px solid var(--line); border-radius:6px; color:inherit; background:var(--panel); text-align:left; }
.desk-account-choice:hover { background:var(--soft); }
.desk-account-choice[aria-pressed="true"] { border-color:var(--desk-action); background:color-mix(in srgb,var(--desk-action) 7%,var(--panel)); }
.desk-account-title { display:flex; align-items:center; gap:7px; }
.desk-account-title strong { min-width:0; overflow-wrap:anywhere; font-size:13px; line-height:1.35; }
.scope-dot { flex:none; display:block; width:9px; height:9px; border-radius:50%; border:1px solid var(--muted); }
.desk-account-choice[aria-pressed="true"] .scope-dot { background:var(--desk-action); border-color:var(--desk-action); box-shadow:inset 0 0 0 2px var(--panel); }
.desk-account-choice small,.desk-account-total,.desk-panel-scope,.desk-item-review small,.desk-quote p,.desk-quote small { color:var(--muted); }
.desk-account-choice small { overflow-wrap:anywhere; font-size:11px; }
.desk-account-meta { display:flex; flex-wrap:wrap; align-items:baseline; gap:1px 8px; }
.desk-account-meta .mono { letter-spacing:-.025em; }
.desk-account-total { font-size:11px; white-space:nowrap; }
.desk-account-choice .pool-badge { margin-top:0; }
.desk-account-skeleton,.desk-account-empty { grid-area:choices; }
.desk-account-skeleton { min-height:50px; }
.desk-account-empty { font-size:12px; color:var(--muted); }
.desk-sections { display:flex; gap:20px; margin:16px 0 12px; border-bottom:1px solid var(--line); }
.desk-section-btn { padding:9px 2px; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--muted); font-size:13px; font-weight:650; }
.desk-section-btn[aria-selected="true"] { color:var(--desk-action); border-bottom-color:var(--desk-action); }
.market-price-controls { display:grid; grid-template-columns:minmax(160px,460px) max-content minmax(95px,110px) max-content; align-items:end; gap:8px; padding:16px var(--panel-inset) 8px; }
.market-price-controls .field { margin:0; min-width:0; }
.market-price-controls .button { align-self:end; }
.market-prices { container:market-pricing / inline-size; overflow:visible; }
.skin-search-field { position:relative; }
#skin-search-results { position:absolute; z-index:5; inset:calc(100% + 4px) 0 auto; max-height:min(350px,45dvh); overflow:auto; overscroll-behavior:contain; background:var(--panel); border:1px solid var(--line); border-radius:8px; box-shadow:0 8px 22px rgb(13 35 48 / .12); }
#skin-search-results [role=option] { display:grid; grid-template-columns:62px minmax(0,1fr); align-items:center; gap:12px; padding:7px 10px; cursor:pointer; }
#skin-search-results [role=option] + [role=option] { border-top:1px solid var(--line); }
#skin-search-results [role=option]:is(:hover,[aria-selected=true]) { background:var(--sr-tint); }
.skin-match-art { display:grid; place-items:center; width:62px; height:42px; background:var(--soft); border-radius:5px; }
.skin-match-art img { width:100%; height:100%; object-fit:contain; }
#skin-search-results strong,#skin-search-results small { display:block; }
#skin-search-results strong { font-size:12px; font-weight:600; line-height:1.35; }
#skin-search-results small { margin-top:2px; font-size:11px; color:var(--muted); }
.market-price-presets { display:inline-flex; justify-self:start; align-self:end; gap:2px; margin-block-end:3px; padding:2px; border:1px solid var(--line); border-radius:6px; background:var(--soft); }
.market-price-presets button { padding:4px 7px; min-height:30px; background:transparent; border:1px solid transparent; border-radius:4px; color:var(--muted); font:inherit; font-size:12px; }
.market-price-presets button:hover { color:var(--text); background:var(--soft); }
.market-price-presets [aria-pressed=true] { color:var(--desk-action); border-color:var(--line); background:var(--panel); font-weight:650; }
.market-price-help { margin:0; padding:0 var(--panel-inset) 13px; color:var(--muted); font-size:12px; }
#market-price-results { display:grid; grid-template-columns:minmax(155px,21%) minmax(0,1fr); border-top:1px solid var(--line); border-radius:0 0 8px 8px; overflow:hidden; }
.market-item-preview { background:color-mix(in srgb,var(--desk-action) 4%,var(--panel)); display:flex; flex-direction:column; gap:10px; align-items:center; justify-content:center; padding:14px; border-inline-end:1px solid var(--line); }
.market-item-art { width:min(100%,180px); height:88px; object-fit:contain; }
.market-item-preview h3 { margin:0; font-size:14px; text-align:center; line-height:1.4; overflow-wrap:anywhere; }
.quote-source { display:inline-flex; gap:8px; align-items:center; }
.price-source-mark { box-sizing:border-box; display:inline-block; vertical-align:middle; width:20px; height:20px; flex:none; object-fit:contain; border-radius:4px; }
/* The brand asset has transparent margins. Size the visible symbol to the shared 20px slot. */
.skinrelay-price-mark { transform:scale(1.6); }
.light-price-mark { padding:2px; background:#273348; }
.generic-market-mark { padding:2px; background:var(--soft); color:var(--muted); }
.market-prices table { border-collapse:collapse; table-layout:fixed; width:100%; font-size:13px; font-variant-numeric:tabular-nums; }
.market-prices :is(th,td) { padding:10px var(--panel-inset); border-top:1px solid var(--line); text-align:left; overflow-wrap:anywhere; }
.market-prices thead th { background:var(--soft); color:var(--muted); font-size:11px; font-weight:500; }
.market-prices thead tr:first-child th { border-top:0; }
.market-prices tbody td:last-child { color:var(--muted); font-size:12px; }
.market-offer-section { border-top:1px solid var(--line); padding:8px var(--panel-inset); }
.market-offer-toggle { display:inline-flex; align-items:center; gap:9px; min-height:34px; padding:4px 2px;
  border:0; background:none; color:var(--desk-action); font:inherit; font-size:13px; font-weight:600; cursor:pointer; }
.market-offer-toggle::after { content:''; width:6px; height:6px; border:solid currentColor; border-width:0 1px 1px 0; transform:translateY(-2px) rotate(45deg); }
.market-offer-toggle[aria-expanded=true]::after { transform:translateY(2px) rotate(225deg); }
.market-offer-heading,.market-offer-paging { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:5px 12px; }
.market-offer-heading { padding:8px 0; }
.market-offer-heading strong { font-size:13px; overflow-wrap:anywhere; }
.market-offer-heading small,.market-offer-message,.market-offer-paging span { color:var(--muted); font-size:12px; }
.market-offer-message { margin:4px 0 8px; }
.market-offer-message .text-button { padding:2px 4px; color:var(--desk-action); }
.market-offer-list { margin:0; padding:0; list-style:none; font-variant-numeric:tabular-nums; }
.market-offer-list li { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto 44px; gap:12px; align-items:center;
  padding:7px 0; border-top:1px solid var(--line); font-size:13px; }
.market-offer-id,.market-offer-wear { color:var(--muted); font-size:12px; overflow-wrap:anywhere; }
.market-offer-action { text-align:end; }
.market-offer-action .button { min-height:30px; padding:3px 9px; font-size:12px; }
.market-offer-paging { justify-content:flex-end; border-top:1px solid var(--line); padding-top:5px; }
.market-offer-paging span { margin-inline-end:auto; }
.market-offer-paging .button { min-height:32px; padding:4px 10px; font-size:12px; }
.deposit-methods,.deposit-empty { padding:12px var(--panel-inset); }
.deposit-methods { display:flex; gap:8px; flex-wrap:wrap; }
.deposit-heading { gap:14px; flex-wrap:wrap; }
.deposit-heading p { margin:4px 0 0; color:var(--muted); font-size:13px; }
.deposit-direct { padding:12px var(--panel-inset); border-bottom:1px solid var(--line); }
.deposit-direct h3 { margin:0 0 8px; font-size:13px; }
.deposit-direct .deposit-methods { padding:0; }
.deposit-earlier { padding:6px var(--panel-inset) 12px; }
.deposit-earlier summary { width:fit-content; cursor:pointer; font-weight:600; }
.deposit-earlier p { margin:8px 0; color:var(--muted); }
.deposit-earlier .deposit-methods { padding:0; }
.deposit-empty { margin:0; font-size:13px; color:var(--muted); }
.deposit-panel small { display:block; overflow-wrap:anywhere; color:var(--muted); font-size:12px; }
.deposit-panel td { overflow-wrap:anywhere; }
.deposit-review .relay-detail-list { margin:4px 0; font-size:13px; }
.deposit-review .relay-detail-list>div { padding:4px 0; }
.deposit-review .field { margin:8px 0; }
.deposit-review .field :is(input,select,textarea) { min-height:36px; padding:6px 9px; }
.deposit-review .relay-consent,.deposit-review .modal-description { margin:8px 0; line-height:1.4; }
.deposit-instructions { white-space:pre-wrap; overflow-wrap:anywhere; font-size:13px; }
.deposit-review dl dd { white-space:pre-line; min-width:0; }
.deposit-panel .button { min-height:var(--sr-control-compact); padding:4px 10px; }
.deposit-panel .deposit-conflict,.deposit-conflict { color:var(--negative,#a13532); font-weight:600; }
#queue-deposits .deposit-panel { container:funding / inline-size; }
.admin-funding { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:16px; align-items:start; }
.admin-funding > .panel { min-width:0; }
.admin-funding .panel-heading { min-height:60px; padding-block:10px; flex-wrap:wrap; gap:8px 14px; }
.admin-funding .panel-heading h2 { margin:0; font:var(--sr-weight-heading) 14px/1.4 var(--sr-font-ui); letter-spacing:normal; }
.admin-funding .funding-activity,.admin-funding.with-refunds > .panel { grid-column:1/-1; }
.funding-tools { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.funding-pending,.admin-funding .funding-state,.admin-funding .deposit-empty { font:var(--sr-weight-regular) 13px/1.5 var(--sr-font-ui); color:var(--muted); }
.admin-funding .funding-state,.admin-funding .deposit-empty { margin:0; padding:18px var(--panel-inset) 22px; }
.funding-state .button { margin-inline-start:6px; }
.funding-destinations-list { list-style:none; padding:0; margin:0; }
.funding-destinations-list li { display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:4px 12px; padding:12px var(--panel-inset); }
.funding-destinations-list li + li { border-top:1px solid var(--line); }
.funding-destinations-list strong { font-weight:var(--sr-weight-medium); }
.funding-destinations-list small { margin-top:2px; line-height:1.45; white-space:pre-line; }
.admin-funding :is(th,td):last-child { text-align:end; }
.admin-funding .data-table { table-layout:fixed; }
.admin-funding .data-table th { font-size:10px; font-weight:var(--sr-weight-medium); }
.admin-funding .data-table td { font-size:13px; line-height:1.45; white-space:normal; }
.funding-activity th:nth-child(1) { width:15%; }
.funding-activity th:nth-child(2) { width:22%; }
.funding-activity th:nth-child(3) { width:23%; }
.funding-activity th:nth-child(4) { width:12%; }
.funding-activity th:nth-child(5) { width:18%; }
.funding-activity td:nth-child(3) small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.funding-activity .data-table td:nth-child(4) { white-space:nowrap; }
.admin-funding td:nth-last-child(2),.admin-funding .funding-activity td:nth-child(4) { font-variant-numeric:tabular-nums; }
@container funding (max-width:780px) {
  .admin-funding { grid-template-columns:minmax(0,1fr); }
}
@container funding (max-width:680px) {
  .admin-funding .panel-heading { min-height:54px; }
  .admin-funding .button { min-height:var(--sr-touch-target); }
  .admin-funding .data-table,.admin-funding .data-table tbody { display:block; min-width:0; width:100%; }
  .admin-funding .data-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .admin-funding .data-table tr { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:9px 12px; align-items:start; padding:14px var(--panel-inset); }
  .admin-funding .data-table tr + tr { border-top:1px solid var(--line); }
  .admin-funding .data-table td { min-width:0; padding:0; border:0; text-align:start; }
  .admin-funding .funding-activity td:nth-child(1) { grid-area:3/1; color:var(--muted); font-size:12px; }
  .admin-funding .funding-activity td:nth-child(2) { grid-area:1/1; }
  .admin-funding .funding-activity td:nth-child(3) { grid-area:2/1; }
  .admin-funding .funding-activity td:nth-child(4) { grid-area:1/2; text-align:end; }
  .admin-funding .funding-activity td:nth-child(5) { grid-area:2/2; text-align:end; max-width:9.5rem; }
  .admin-funding .funding-activity td:last-child { grid-area:3/2; justify-self:end; }
  .admin-funding .funding-refunds td:nth-child(2) { grid-area:2/1; }
  .admin-funding .funding-refunds td:nth-child(3) { grid-area:2/2; text-align:end; }
  .admin-funding .funding-refunds td:nth-child(4) { grid-area:1/2; text-align:end; }
  .admin-funding .funding-refunds td:last-child { grid-area:3/2; text-align:end; }
}
.proxy-heading,.proxy-filter,.proxy-pager { display:flex; flex-wrap:wrap; gap:8px 12px; align-items:center; justify-content:space-between; padding:10px var(--panel-inset); }
.proxy-intro { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px; padding:20px var(--panel-inset); }
.proxy-intro h3 { margin:0 0 3px; font-size:16px; }
.proxy-intro p { max-width:72ch; }
.proxy-mark { display:grid; place-items:center; width:42px; height:42px; border:1px solid var(--line); border-radius:10px; background:color-mix(in srgb,var(--desk-action) 6%,var(--panel)); color:var(--desk-action); }
.proxy-mark svg { width:22px; height:22px; }
.proxy-account-list { list-style:none; margin:0; padding:0; }
.proxy-account-list li { display:grid; grid-template-columns:minmax(0,1fr) minmax(130px,.6fr) minmax(220px,auto); gap:10px 18px; align-items:center; border-top:1px solid var(--line); padding:12px var(--panel-inset); }
.proxy-account-name strong { overflow-wrap:anywhere; }
.proxy-account-name small { margin-top:3px; font-size:12px; }
.proxy-account-name small span { font-variant-numeric:tabular-nums; }
.proxy-state { display:inline-flex; gap:6px; align-items:center; justify-self:start; font-size:12px; color:var(--muted); }
.proxy-state::before { display:inline-block; content:""; width:7px; height:7px; flex:none; background:currentColor; border-radius:50%; }
.proxy-state.is-authorized { color:var(--lime); }
#queue-proxy .proxy-actions [data-action="proxy-revoke"] { color:var(--danger); }
.proxy-intro p,.proxy-empty,.proxy-filter small,.proxy-pager small { margin:0; color:var(--muted); font-size:13px; }
.proxy-empty { padding:12px var(--panel-inset); }
.proxy-heading { border-top:1px solid var(--line); }
.proxy-heading h3 { margin:0; font-size:15px; }
.proxy-filter input { width: min(250px,100%); min-height:34px; padding:5px 10px; }
.proxy-panel .button { min-height:32px; padding:4px 9px; }
.proxy-actions { display:flex; justify-content:flex-end; gap:5px; flex-wrap:wrap; }
.proxy-panel small { display:block; overflow-wrap:anywhere; color:var(--muted); }
.proxy-item { display:flex; align-items:center; gap:8px; }
.proxy-item img { width:44px; height:34px; object-fit:contain; }
.proxy-panel :is(th,td):last-child { text-align:end; }
.proxy-pager { justify-content:flex-end; }
.proxy-pager small { margin-inline-end:auto; }
.proxy-review .relay-detail-list { margin:4px 0; }
.proxy-review .field { margin:8px 0; }
.proxy-review input:not([type=checkbox]) { min-height:36px; padding:6px 10px; }
.proxy-review .relay-consent { margin:10px 0; }
.proxy-account-form { display:grid; gap:15px; }
#review-content .proxy-account-form .field { margin:0; min-width:0; gap:5px; }
.proxy-field-pair { display:grid; grid-template-columns:1fr 1fr; gap:8px 16px; }
.member-steam-link { display:grid; gap:16px; }
.member-steam-link .field { margin:0; }
.proxy-account-form input[readonly] { background:var(--soft); }
.proxy-field-help,.proxy-link-status,.proxy-permissions small { margin:3px 0 0; color:var(--muted); font-size:12px; line-height:1.55; }
.proxy-field-help a { color:var(--desk-action); text-underline-offset:3px; text-decoration:underline; white-space:nowrap; }
.proxy-field-help a svg { width:11px; height:11px; margin-left:3px; vertical-align:baseline; }
.proxy-link-status { color:var(--danger); }
.proxy-account-form input[aria-invalid="true"] { border-color:var(--danger); }
.proxy-permissions { min-width:0; margin:0; padding:0; border:0; }
.proxy-permissions legend { padding:0; font-size:13px; font-weight:650; }
.proxy-permissions .relay-consent { display:flex; gap:9px; align-items:flex-start; margin:6px 0; padding:8px 10px; border:1px solid var(--line); border-radius:7px; }
.proxy-permissions .relay-consent input { flex:none; margin:3px 0 0; }
.proxy-permissions small { display:block; }
@media(max-width:800px) {
  .proxy-account-list li { grid-template-columns:minmax(0,1fr) auto; }
  .proxy-account-list .proxy-actions { grid-column:1/-1; justify-content:flex-start; }
}
@media(max-width:540px) {
  .proxy-intro { grid-template-columns:auto minmax(0,1fr); align-items:start; gap:10px; }
  .proxy-intro>.button { grid-column:2; justify-self:start; }
  .proxy-mark { width:34px; height:34px; }
  .proxy-field-pair { grid-template-columns:1fr; }
}
@media (max-width:560px) {
  .deposit-review .relay-detail-list>div { display:block; }
  .deposit-review .relay-detail-list dd { text-align:start; }
}
@container market-pricing (max-width:480px) {
  .market-offer-list li { grid-template-columns:minmax(0,1fr) auto 42px; gap:2px 8px; }
  .market-offer-wear { grid-column:1; }
  .market-offer-list strong { grid-area:1 / 2 / span 2; align-self:center; }
  .market-offer-action { grid-area:1 / 3 / span 2; }
}
@container market-pricing (max-width:800px) {
  .market-price-controls { grid-template-columns:minmax(0,1fr) auto max-content; }
  .market-price-controls .skin-search-field { grid-column:1 / 3; }
  .market-price-controls > .button { grid-column:3; }
  .market-price-controls .market-percentage-field { grid-column:1; width:min(100%,110px); }
  .market-price-controls > .market-price-presets { grid-column:2 / 4; justify-self:end; }
  #market-price-results { grid-template-columns:minmax(0,1fr); }
  .market-item-preview { flex-flow:row-reverse nowrap; justify-content:space-between; gap:16px; border-inline-end:0; padding:8px var(--panel-inset); border-bottom:1px solid var(--line); }
  .market-item-art { width:90px; height:48px; }
  .market-item-preview h3 { text-align:left; margin-inline-end:auto; }
}
@container market-pricing (max-width:480px) {
  .market-prices thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .market-prices :is(table,tbody) { display:block; }
  .market-prices tbody tr { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:5px 10px; align-items:center; border-bottom:1px solid var(--line); padding:9px var(--panel-inset); }
  .market-prices tbody tr:last-child { border-bottom:0; }
  .market-prices tbody :is(th,td):nth-child(n) { padding:0; border:0; }
  .market-prices tbody td:last-child { grid-area:1 / 2; font-size:10px; }
  .market-prices tbody td:nth-child(2)::before,.market-prices tbody td:nth-child(3)::before { display:block; color:var(--muted); font-size:10px; }
  .market-prices tbody td:nth-child(2)::before { content:"Lowest ask"; }
  .market-prices tbody td:nth-child(3)::before { content:"Your ask"; }
}
@media (max-width:650px) {
  .market-price-controls { gap:8px; }
  .market-price-presets { gap:0; }
  .market-price-presets button { padding-inline:4px; }
  .market-prices :is(th,td) { padding:9px 6px; }
  .market-prices :is(th,td):first-child { padding-left:var(--panel-inset); }
  .market-prices table { font-size:12px; }
}
.desk-panel-scope { min-width:0; max-width:100%; margin-top:4px; overflow-wrap:anywhere; font-size:12px; }
.desk-inventory-panel > .panel-heading > div:first-child,.desk-register > .panel-heading > div:first-child { min-width:0; }
.inventory-read-status {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:6px 14px;
  padding:8px var(--panel-inset);
  border-bottom:1px solid var(--line);
  background:var(--soft);
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}
.inventory-read-label { display:inline-flex; align-items:center; gap:6px; color:var(--text); font-weight:500; }
.inventory-read-label::before { content:""; width:6px; height:6px; border-radius:50%; background:var(--quiet); }
.inventory-read-status[data-state="checked"] .inventory-read-label::before { background:var(--desk-positive); }
.inventory-read-status:is([data-state="saved"],[data-state="unavailable"]) .inventory-read-label::before { background:var(--warning-ink); }
.inventory-read-status time { margin-inline-start:4px; font-variant-numeric:tabular-nums; }
.inventory-read-status p { margin:3px 0 0; }
.inventory-read-status:focus-visible { outline:2px solid var(--desk-action); outline-offset:-2px; }
.desk-register-tools,.desk-inventory-tools { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding:12px var(--panel-inset); border-bottom:1px solid var(--line); }
.desk-register-tools label { display:flex; gap:7px; align-items:center; font-size:12px; color:var(--muted); }
.desk-register-tools :is(input,select),.desk-inventory-tools input { background:var(--panel); color:inherit; border:1px solid var(--line); border-radius:5px; min-height:36px; padding:7px 10px; font:inherit; font-size:12px; }
.desk-register-tools input,.desk-inventory-tools input { width:min(100%,280px); }
.listing-history { margin-block-start:16px; }
.listing-history .panel-heading { flex-wrap:wrap; gap:6px 12px; }
.listing-history .inventory-filter-tabs { padding:0; gap:12px; border:0; }
.listing-history .inventory-filter-tab { padding:6px 2px; }
.desk-register-tools [data-action="listing-updates"] { margin-inline-start:auto; min-height:32px; }
.desk-register-item { display:flex; align-items:center; gap:9px; min-width:0; }
.desk-register-item img { object-fit:contain; flex:none; }
.desk-register .data-table thead th:last-child { text-align:end; width:1%; }
.listing-actions .row-tools { display:flex; align-items:center; justify-content:flex-end; gap:5px; }
.listing-actions .row-tools > .button {
  box-sizing:border-box; min-height:30px; min-inline-size:0; inline-size:8.4em;
  justify-content:center; padding:4px 6px; font-size:11px; line-height:1.3;
}
.listing-actions .row-tools > [data-action="cancel"] { color:var(--negative-ink); }
.desk-inventory-tools .inventory-filter-tabs { margin:0; padding:0; border:0; }
.desk-item-review,.desk-quote { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:13px var(--panel-inset); }
.desk-item-review { background:color-mix(in srgb,var(--desk-action) 6%,var(--panel)); border-bottom:1px solid var(--line); }
.desk-item-review small,.desk-item-review strong,.desk-quote small { display:block; }
.desk-item-review small,.desk-quote small,.desk-quote p { font-size:11px; }
.desk-item-review strong { font-size:13px; margin-top:3px; }
.desk-quote { margin:14px 0; padding:12px; border:1px solid var(--line); border-radius:6px; }
.desk-quote strong { font-size:13px; }
.desk-quote [data-quote-value] { text-align:right; font-variant-numeric:tabular-nums; font-weight:650; }
.desk-quote p,.desk-quote small { margin-top:3px; }
.desk-quote small { font-weight:400; }
.desk-link-reminder { display:flex; justify-content:space-between; gap:8px 16px; align-items:center; flex-wrap:wrap; padding:10px var(--panel-inset); border-bottom:1px solid var(--line); color:var(--muted); font-size:12px; }
.desk-quote label { display:flex; align-items:center; gap:6px; margin-top:8px; color:var(--muted); font-size:12px; }
.desk-quote select { min-width:0; max-width:100%; padding:4px 6px; color:var(--ink); background:var(--panel); border:1px solid var(--line); border-radius:5px; font:inherit; }
.quote-source-select { display:inline-grid; align-items:center; position:relative; max-width:100%; }
.quote-source-select [data-quote-mark] { position:absolute; inset-inline-start:8px; display:flex; pointer-events:none; }
.quote-source-select select { padding-inline-start:31px; }
.quote-source-current { display:inline-flex; align-items:center; gap:6px; font-size:12px; }
:is(.quote-source-select,.quote-source-current,.rule-sources) .price-source-mark { width:16px; height:16px; border-radius:3px; }
.item-pricing fieldset { padding:0; margin:0; border:0; min-width:0; }
.item-pricing [hidden] { display:none; }
.item-pricing .rule-bounds { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.item-pricing .adaptive-options { display:flex; align-items:center; gap:8px; margin-block:6px; font-size:12px; color:var(--text); cursor:pointer; }
.adaptive-options input { margin:0; accent-color:var(--desk-action); }
#review-content .rule-bounds .field { margin:8px 0; min-width:0; }
.rule-hint { color:var(--muted); font-size:12px; line-height:1.5; margin:8px 0; }
.rule-sources { display:flex; flex-wrap:wrap; gap:7px; }
.rule-sources legend { margin-bottom:6px; font-size:12px; font-weight:600; }
.rule-sources label { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--line); border-radius:5px; padding:6px 8px; font-size:12px; cursor:pointer; }
.rule-sources label:has(:checked) { border-color:var(--desk-action); }
.rule-sources input { accent-color:var(--desk-action); }
.rule-guidance { color:var(--muted); font-size:12px; }
.rule-guidance summary { width:fit-content; cursor:pointer; }
.pricing-methods legend { margin-bottom:6px; font-size:12px; font-weight:600; }
.pricing-method-options { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:6px; }
.pricing-method { position:relative; min-width:0; }
.pricing-method input { position:absolute; opacity:0; inset:0; width:100%; height:100%; margin:0; cursor:pointer; }
.pricing-method span { display:flex; height:100%; min-height:37px; align-items:center; justify-content:center; gap:6px; padding:5px 6px; text-align:center;
  border:1px solid var(--line); border-radius:6px; color:var(--muted); background:var(--panel); font-size:12px; font-weight:550; line-height:1.25; }
.pricing-method svg { flex:0 0 16px; width:16px; height:16px; }
.pricing-method input:enabled:hover + span { border-color:var(--desk-accent-line); color:var(--text); }
.pricing-method input:checked + span { border-color:var(--desk-action); background:var(--desk-accent-soft); color:var(--desk-action); }
.pricing-method input:focus-visible + span { outline:2px solid var(--desk-action); outline-offset:2px; }
.item-pricing [data-price-mode]:not([hidden]) { margin-top:12px; }
@media (max-width:580px) {
  .pricing-method-options { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-flow:row; }
}

/* Keep confirmations in reach when a review's content exceeds the viewport. */
#review:has(.listing-pricing-summary,.order-review-summary,.deposit-review,.proxy-review) { max-width:656px; max-height:calc(100dvh - 16px); overflow:visible; }
#review:has(.listing-pricing-summary,.order-review-summary,.deposit-review,.proxy-review) .modal-inner { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto minmax(0,1fr) auto auto;
  gap:0; padding:0; max-height:calc(100dvh - 18px); }
#review:has(.listing-pricing-summary,.order-review-summary,.deposit-review,.proxy-review) .modal-top { grid-area:1 / 2; padding:12px 16px 4px 0; margin:0; align-self:center; }
#review:has(.listing-pricing-summary,.order-review-summary,.deposit-review,.proxy-review) .modal-icon { display:none; }
#review:has(.listing-pricing-summary,.order-review-summary,.deposit-review,.proxy-review) .modal-top .icon-button { margin:0; }
#review:has(.listing-pricing-summary,.order-review-summary,.deposit-review,.proxy-review) h2 { grid-area:1 / 1; align-self:center; margin:0; padding:13px 18px 5px;
  font-size:20px; line-height:1.3; letter-spacing:-.4px; }
#review:has(.listing-pricing-summary,.order-review-summary,.deposit-review,.proxy-review) #review-content { grid-area:2 / 1 / 3 / -1; padding:8px 18px 2px; min-height:0; overflow:auto; overscroll-behavior:contain; }
#review:has(.listing-pricing-summary,.order-review-summary,.deposit-review,.proxy-review) #review-error { grid-area:3 / 1 / 4 / -1; margin:4px 18px; }
#review:has(.listing-pricing-summary,.order-review-summary,.deposit-review,.proxy-review) .modal-actions { grid-area:4 / 1 / 5 / -1; padding:11px 18px 13px; margin:8px 0 0;
  border-top:1px solid var(--line); justify-content:flex-end; gap:8px; }
#review:has(.listing-pricing-summary,.order-review-summary,.deposit-review,.proxy-review) .modal-actions .button { flex:none; min-height:36px; padding:6px 14px; }
#review:has(.deposit-request-form) { max-width:440px; }
.deposit-request-form { display:grid; gap:14px; }
#review-content .deposit-request-form .field { margin:0; gap:7px; }
.deposit-amount-entry { display:flex; align-items:center; gap:7px; padding:0 12px; border:1px solid var(--sr-field-edge); border-radius:var(--sr-radius-control); color:var(--text); background:var(--panel); font-variant-numeric:tabular-nums; }
.deposit-amount-entry:focus-within { outline:2px solid var(--desk-action); outline-offset:2px; }
.deposit-amount-entry > span { font-size:18px; color:var(--muted); }
#review .deposit-amount-entry input { min-width:0; min-height:44px; padding:6px 0; border:0; border-radius:0; background:transparent; box-shadow:none; outline:none; color:inherit; font:var(--sr-weight-medium) 18px/1.4 var(--sr-font-ui); appearance:textfield; }
.deposit-amount-entry input::-webkit-inner-spin-button, .deposit-amount-entry input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.deposit-contact { margin:0; padding:9px 12px; display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:3px 12px; border-radius:var(--sr-radius-control); background:var(--soft); font-size:12px; }
.deposit-contact dt,.deposit-request-form > p { color:var(--muted); }
.deposit-contact dd { margin:0; overflow-wrap:anywhere; }
.deposit-request-form > p { margin:0 0 5px; font-size:12px; line-height:1.5; }
#review:has(.order-review-summary) { max-width:540px; width:calc(100% - 16px); }
.order-review-item { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.order-review-item > div { min-width:0; overflow-wrap:anywhere; }
.order-review-item strong,.order-review-item small { display:block; }
.order-review-item strong { font-size:15px; line-height:1.35; }
.order-review-item small,.order-review-parties dt { color:var(--muted); font-size:12px; line-height:1.45; }
.order-review-proceeds { flex:none; text-align:end; font-variant-numeric:tabular-nums; }
.order-review-parties { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr)); gap:8px 14px;
  margin:10px 0 6px; padding:10px 12px; background:var(--soft); border:1px solid var(--line); border-radius:7px; }
.order-review-parties dd { margin:2px 0 0; font-size:13px; font-weight:600; line-height:1.35; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.order-review-parties a { color:var(--desk-action); text-decoration:underline; text-underline-offset:3px; }
.order-review-summary summary { width:fit-content; padding:3px 0; color:var(--muted); font-size:12px; cursor:pointer; }
.order-review-summary .relay-detail-list { margin:4px 0 0; }
.order-review-summary .relay-detail-list > div { padding:4px 0; font-size:12px; }
#review:has(.order-review-summary) .modal-description { margin:10px 0; font-size:13px; line-height:1.4; }
#review:has(.order-review-summary) .field { margin:8px 0; gap:4px; }
#review:has(.order-review-summary) .field :is(input,select,.button) { min-height:36px; padding:6px 10px; }
#review:has(.order-review-summary) .relay-consent { margin:10px 0 4px; line-height:1.4; }
@media (max-width:480px) {
  #review:has(.order-review-summary) #review-content { padding-inline:12px; }
  .order-review-parties { grid-template-columns:minmax(0,1fr); gap:5px; padding:8px 10px; }
  .order-review-parties > div { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:1px 8px; }
  .order-review-parties dd { margin:0; }
}
.listing-pricing-summary { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.listing-pricing-summary > div { min-width:0; }
.listing-pricing-summary strong { font-size:14px; font-weight:650; line-height:1.4; overflow-wrap:anywhere; }
.listing-pricing-summary details,.listing-current-ask span { font-size:11px; color:var(--muted); }
.listing-pricing-summary summary { cursor:pointer; width:fit-content; }
.listing-pricing-summary details small { display:block; font-size:11px; overflow-wrap:anywhere; }
.listing-current-ask { text-align:right; flex-shrink:0; }
.listing-current-ask span,.listing-current-ask b { display:block; }
.listing-current-ask b { font-size:16px; line-height:1.4; font-variant-numeric:tabular-nums; }
#review:has(.listing-pricing-summary) .desk-quote { margin:9px 0 12px; padding:7px 10px; gap:8px; background:var(--soft); }
#review:has(.listing-pricing-summary) .desk-quote > div { display:flex; flex-wrap:wrap; align-items:center; gap:3px 8px; }
#review:has(.listing-pricing-summary) .desk-quote p { display:none; }
#review:has(.listing-pricing-summary) .desk-quote label { margin:0; }
.listing-price-note { margin:0 0 10px; padding-inline-start:8px; border-inline-start:2px solid var(--desk-accent-line); color:var(--muted); font-size:12px; }
#review:has(.listing-pricing-summary) .field { margin:6px 0; gap:4px; }
#review:has(.listing-pricing-summary) .field input { min-height:36px; padding:7px 10px; font-variant-numeric:tabular-nums; }
#review:has(.listing-pricing-summary) :is(.rule-hint,.modal-description) { margin:5px 0; font-size:12px; line-height:1.4; }
@media (max-width:380px) {
  #review:has(.listing-pricing-summary) { width:calc(100% - 16px); }
  #review:has(.listing-pricing-summary) #review-content { padding-inline:12px; }
}
@media (max-width:580px) and (max-height:640px) {
  #review:has(.listing-pricing-summary) .modal-top { padding:6px 12px 2px 0; }
  #review:has(.listing-pricing-summary) .listing-price-note { margin-bottom:6px; line-height:1.35; }
  #review:has(.listing-pricing-summary) .item-pricing legend { margin-bottom:3px; }
  #review:has(.listing-pricing-summary) .pricing-method span { min-height:32px; padding-block:3px; }
  #review:has(.listing-pricing-summary) .desk-quote { margin:6px 0 8px; padding:5px 8px; }
  #review:has(.listing-pricing-summary) .desk-quote label { font-size:11px; }
  #review:has(.listing-pricing-summary) .item-pricing [data-price-mode]:not([hidden]) { margin-top:7px; }
  #review:has(.listing-pricing-summary) .rule-bounds .field { margin-block:3px; }
  #review:has(.listing-pricing-summary) .modal-actions { margin-top:4px; padding-block:6px; }
}
.pool-swatch { --swatch:var(--quiet); display:inline-block; flex:none; width:10px; height:10px; border-radius:50%; background:var(--swatch); border:1px solid color-mix(in srgb,var(--swatch),#000 15%); }
.pool-swatch[data-color=blue] { --swatch:#467ad0; }
.pool-swatch[data-color=green] { --swatch:#42a37a; }
.pool-swatch[data-color=purple] { --swatch:#986ad0; }
.pool-swatch[data-color=orange] { --swatch:#e08738; }
.pool-swatch[data-color=red] { --swatch:#d15e68; }
.pool-swatch[data-color=yellow] { --swatch:#daaf32; }
.pool-badge,.pool-config-row strong { display:inline-flex; gap:6px; align-items:center; }
.pool-badge { color:var(--muted); font-size:11px; margin-top:5px; }
.pool-config-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px solid var(--line); }
.pool-config-row small,.pool-choice small { display:block; margin-top:3px; color:var(--muted); font-size:12px; }
.pool-apply { display:flex; align-items:center; gap:8px 16px; flex-wrap:wrap; margin-top:14px; }
.pool-apply > p { flex:1 1 180px; margin:0; font-size:12px; line-height:1.5; color:var(--muted); }
.pool-apply > .pool-apply-feedback { flex-basis:100%; }
.pool-apply-feedback:empty { display:none; }
.pool-apply-feedback.error { color:var(--negative-ink); }
.inventory-source-label,.inventory-mobile-source { align-items:center; gap:6px; font-size:11px; font-weight:600; letter-spacing:normal; line-height:1.4; text-transform:none; }
.inventory-source-label { display:inline-flex; }
.inventory-mobile-source { display:none; }
:is(.inventory-source-label,.inventory-mobile-source) .price-source-mark { width:16px; height:16px; border-radius:3px; }
.inventory-market-quote { display:block; font-variant-numeric:tabular-nums; font-weight:600; }
.inventory-market-note { display:block; color:var(--muted); font-size:11px; font-weight:400; line-height:1.4; }
.inventory-cost { appearance:none; border:0; padding:3px 1px; color:var(--desk-action); background:none; font:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.pool-choices,.pool-rule-fields { border:0; padding:0; margin:12px 0; min-width:0; }
.pool-choice { display:flex; align-items:center; gap:8px; padding:7px 0; }
.pool-choice input { accent-color:var(--desk-action); }
.pool-choices legend { font-weight:600; font-size:13px; }
.desk-register,.desk-inventory-panel { container:listing-panel / inline-size; }
.desk-review-inline { display:none; }
@container listing-panel (max-width:900px) {
  .listing-actions .row-tools { flex-wrap:wrap; }
  .listing-actions .row-tools > .button { min-height:34px; }
  .desk-review-inline { display:inline-flex; }
  .desk-register .table-wrap,.desk-inventory-panel .table-wrap { overflow:visible; }
  .desk-register .data-table,.desk-register .data-table tbody,.desk-inventory-panel .data-table,.desk-inventory-panel .data-table tbody { display:block; min-width:0; }
  .desk-register .data-table thead,.desk-inventory-panel .data-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .desk-register .data-table tr,.desk-inventory-panel .data-table tr { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px 12px; padding:12px var(--panel-inset); border-bottom:1px solid var(--line); }
  .desk-register .data-table td,.desk-inventory-panel .data-table td { display:block; padding:0; border:0; text-align:left; white-space:normal; overflow-wrap:anywhere; }
  .desk-register .data-table td:first-child,.desk-register .data-table td:last-child,.desk-inventory-panel .data-table td:first-child { grid-column:1/-1; }
  .desk-register .data-table td::before { display:block; font-size:10px; color:var(--muted); }
  .desk-register .data-table td:nth-child(2)::before { content:'Steam account'; }
  .desk-register .data-table td:nth-child(3)::before { content:'Asking price'; }
  .desk-register .data-table td:nth-child(4)::before { content:'Status'; }
  .desk-register .data-table td:nth-child(5)::before { content:'Created'; }
  .desk-inventory-panel .data-table tr { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .desk-inventory-panel .data-table td:first-child { grid-column:1 / span 2; }
  .desk-inventory-panel .data-table td:nth-child(2) { justify-self:end; }
  .desk-inventory-panel .data-table .status { white-space:normal; text-align:center; }
  .desk-inventory-panel .data-table td:last-child { grid-column:1 / -1; }
  .inventory-mobile-source { display:flex; margin-bottom:4px; color:var(--muted); font-weight:500; }
  .inventory-mobile-source .price-source-mark { width:14px; height:14px; }
}
@media (max-width:1079px) {
  .desk-accounts-panel { grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"label actions" "choices choices"; gap:8px; }
  .desk-accounts-panel:has(.account-feedback:not(:empty)) { grid-template-areas:"label actions" "feedback feedback" "choices choices"; }
  .desk-accounts-label { display:contents; }
  .desk-accounts-label h2 { grid-area:label; }
  .desk-accounts-label .account-feedback:not(:empty) { grid-area:feedback; }
  .desk-account-choices { padding:3px; margin:-3px; }
}
@media (max-width:700px) {
  .desk-account-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .desk-account-choice { max-width:none; }
  .desk-register-tools input,.desk-inventory-tools input { flex:1 1 160px; min-width:0; }
  .desk-item-review { flex-wrap:wrap; }
}
@media (max-width:580px) {
  .desk-page-heading { align-items:start; }
  #desk-check { min-height:36px; }
  .desk-page-title { align-items:flex-start; flex-direction:column; }
  .main-shell .desk-accounts-panel .button { min-height:36px; padding-inline:7px; }
}
@media (max-width:380px) {
  .desk-accounts-panel { grid-template-columns:minmax(0,1fr); grid-template-areas:"label" "choices" "actions"; }
  .desk-accounts-panel:has(.account-feedback:not(:empty)) { grid-template-areas:"label" "feedback" "choices" "actions"; }
  .desk-accounts-panel .row-actions { justify-self:start; }
}
@media (max-width:580px) {
  #review:has(.item-pricing):not(:has(.listing-pricing-summary)) .modal-inner { padding:18px; }
  #review:has(.item-pricing):not(:has(.listing-pricing-summary)) .modal-top { margin-bottom:12px; }
  #review:has(.item-pricing) .relay-detail-list { margin-block:10px; }
  #review:has(.item-pricing):not(:has(.listing-pricing-summary)) .desk-quote { margin:10px 0; }
  #review:has(.item-pricing):not(:has(.listing-pricing-summary)) .modal-actions { margin-top:14px; }
}

.market-delta { display:block; width:fit-content; max-width:100%; margin-block-start:2px; color:var(--muted); font-size:11px; font-weight:550; line-height:1.4; font-variant-numeric:tabular-nums; }
.market-delta-above { color:var(--desk-positive); }
.market-delta-below { color:var(--negative-ink); }
.market-delta-heading { display:block; font-size:10px; font-weight:400; }
.market-prices tr:has(.market-delta-reference) { background:color-mix(in srgb,var(--desk-action) 3%,var(--panel)); }
.market-prices tr:has(.market-delta-reference) th[scope=row] { box-shadow:inset 2px 0 var(--desk-action); }
.market-prices tbody td:nth-child(2) { font-weight:650; }
.market-item-preview { background:radial-gradient(ellipse at 50% 45%,color-mix(in srgb,var(--desk-action) 9%,var(--panel)),var(--panel) 85%); }
@container market-pricing (min-width:481px) {
  .market-prices tr > :is(:nth-child(2),:nth-child(3)) { text-align:right; }
  .market-prices .market-delta { margin-inline-start:auto; }
}
@container market-pricing (max-width:480px) {
  .market-prices tr:has(.market-delta-reference) th[scope=row] { box-shadow:none; }
  .market-prices tbody tr:has(.market-delta-reference) { box-shadow:inset 2px 0 var(--desk-action); }
  .market-prices .market-delta:is(.market-delta-above,.market-delta-below,.market-delta-equal)::after { content:" vs SkinRelay"; color:var(--muted); font-weight:400; }
}

.inventory-summary { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(142px,100%),1fr)); gap:1px; background:var(--line); border-block-end:1px solid var(--line); }
#inventory-valuation { display:contents; }
.inventory-value { min-width:0; display:grid; align-content:start; gap:4px; padding:10px clamp(12px,1.25vw,20px); background:var(--panel); }
.inventory-value > span { display:flex; align-items:center; min-height:16px; color:var(--muted); font-size:11px; font-weight:550; }
.inventory-value > strong { line-height:1.25; font-size:16px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.inventory-value > small { color:var(--muted); font-size:10px; line-height:1.4; }
.inventory-coverage { appearance:none; display:block; width:100%; height:3px; margin-top:2px; border:0; border-radius:2px; background:var(--line); }
.inventory-coverage::-webkit-meter-bar { height:3px; border:0; border-radius:2px; background:var(--line); }
.inventory-coverage::-webkit-meter-optimum-value { border-radius:2px; background:var(--desk-action); }
.inventory-coverage::-moz-meter-bar { border-radius:2px; background:var(--desk-action); }
.desk-inventory-tools .inventory-filter-tabs { display:inline-flex; flex-wrap:wrap; align-items:center; gap:2px; padding:2px; border:1px solid var(--line); border-radius:7px; background:var(--soft); }
.desk-inventory-tools .inventory-filter-tab { justify-content:center; gap:5px; min-height:30px; padding:4px 9px; border:1px solid transparent; border-radius:5px; }
.desk-inventory-tools .inventory-filter-tab.active { border-color:var(--line); background:var(--panel); }
.desk-inventory-tools .inventory-filter-tab > span { padding:0 2px; background:transparent; color:inherit; font-variant-numeric:tabular-nums; }
.desk-inventory-tools .inventory-controls { display:flex; flex:1 1 auto; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:8px 10px; min-width:0; }
.desk-inventory-tools .inventory-columns-toggle { display:inline-flex; align-items:center; gap:5px; color:var(--muted); font-size:11px; cursor:pointer; }
.desk-inventory-tools .inventory-columns-toggle input { width:14px; min-width:14px; min-height:14px; height:14px; margin:0; flex:none; accent-color:var(--desk-action); }
.inventory-controls select { min-width:0; min-height:34px; border-radius:5px; border:1px solid var(--line); background:var(--panel); color:var(--text); padding:4px 6px; font:inherit; font-size:12px; }
.desk-inventory-tools #item-search { width:min(215px,100%); }
.desk-inventory-panel .data-table tbody :is(td,th) { padding-block:8px; }
.desk-inventory-panel .inventory-identity { min-width:0; }
.desk-inventory-panel .inventory-photo { width:60px; height:44px; border-radius:6px; }
.desk-inventory-panel .inventory-photo:has(img) {
  border:1px solid color-mix(in srgb,var(--line) 78%,var(--panel));
  background:color-mix(in srgb,var(--desk-action) 4%,var(--soft));
}
.desk-inventory-panel .inventory-photo img { width:100%; height:100%; padding:2px; object-fit:contain; }
.desk-inventory-panel .inventory-name > :is(small,strong) { line-height:1.35; }
.inventory-comparison-caption { display:block; color:var(--muted); font-size:10px; font-weight:400; letter-spacing:normal; text-transform:none; }
.inventory-setting-cell { font-variant-numeric:tabular-nums; }
.inventory-row-actions {
  display:grid; grid-template-columns:7.4em max-content; justify-content:end; align-items:center; gap:5px;
  font-size:12px;
}
.inventory-row-actions > .button {
  grid-row:1; grid-column:1; min-height:30px; padding:4px 8px; font-size:inherit;
  line-height:1.25; white-space:nowrap;
}
.inventory-row-actions > [data-action="asset-pool"] { grid-column:2; }
.inventory-row-actions > .desk-review-inline { grid-column:3; }
@container listing-panel (min-width:901px) {
  .desk-inventory-panel .data-table th:last-child { text-align:end; }
  .desk-inventory-panel th:has(.inventory-source-label),.desk-inventory-panel .inventory-market-cell { text-align:end; }
  .desk-inventory-panel .inventory-market-cell .market-delta { margin-inline-start:auto; }
}
[data-price-move] {
  position:relative; display:inline-block; isolation:isolate; white-space:nowrap;
  --move-ink:var(--desk-positive,#18664b);
}
[data-price-move="down"] { --move-ink:var(--negative-ink,#a13532); }
[data-price-move]::before, [data-price-move]::after {
  position:absolute; pointer-events:none; color:var(--move-ink);
  animation:price-tick-fade 1600ms ease-out var(--price-move-elapsed,0ms) both;
}
[data-price-move]::before {
  content:"↑"; inset-inline-end:calc(100% + 2px); top:0; font-weight:700; font-size:.88em;
}
[data-price-move="down"]::before { content:"↓"; }
[data-price-move]::after {
  content:""; z-index:-1; inset:-.13em -.26em -.13em -.9em; border-radius:4px;
  background:color-mix(in srgb,var(--move-ink) 13%,transparent);
  box-shadow:0 0 6px color-mix(in srgb,var(--move-ink) 16%,transparent);
}
@keyframes price-tick-fade { 0%,45% { opacity:1; } 100% { opacity:0; } }
@media (prefers-reduced-motion:reduce) {
  [data-price-move]::after { display:none; }
  /* Keep the direction readable for one static interval under the global reduced-motion reset. */
  [data-price-move]::before { animation-duration:1600ms !important; animation-timing-function:step-end; }
}
@container listing-panel (min-width:901px) and (max-width:1199px) {
  .desk-inventory-panel table:has(.inventory-setting-cell) :is(th,td) { padding-inline:7px; }
}
@container listing-panel (max-width:900px) {
  .inventory-row-actions { justify-content:start; }
  .inventory-row-actions > .button { min-height:34px; }
  .inventory-market-quote .market-delta:not(.market-delta-reference)::after { content:" vs\00a0SkinRelay"; color:var(--muted); font-weight:400; }
  .desk-inventory-panel .data-table .inventory-row td { padding:0; }
  .inventory-value { padding:9px 12px; }
}
@container listing-panel (max-width:265px) {
  .inventory-row-actions > .desk-review-inline { grid-row:2; grid-column:1; }
}
@container listing-panel (max-width:520px) {
  .desk-inventory-panel .inventory-photo { width:48px; height:38px; }
  .desk-inventory-panel > .panel-heading { flex-direction:column; align-items:stretch; gap:8px; }
  .desk-inventory-panel > .panel-heading > div:first-child { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 10px; }
  .desk-inventory-panel > .panel-heading .desk-panel-scope { margin:0; }
  .desk-inventory-panel > .panel-heading .row-actions { justify-content:flex-start; }
  .desk-inventory-tools .inventory-controls { width:100%; }
  .desk-inventory-tools #item-search { order:-1; width:100%; flex:1 1 100%; }
  .inventory-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .inventory-summary > .inventory-value { grid-column:1 / -1; display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 8px; }
  .inventory-summary > .inventory-value > span { margin-inline-end:auto; }
  #inventory-valuation > .inventory-value:last-child:nth-child(odd) { grid-column:1 / -1; }
  .desk-inventory-tools .inventory-columns-toggle { margin-inline-start:auto; }
}

.item-photo-model { display:inline-grid; justify-items:center; align-content:center; gap:1px; max-width:100%; }
.item-photo-model small,.item-photo-unavailable,.skin-match-art { color:var(--muted,#62747c); font-size:10px; line-height:1.15; text-align:center; }
.item-photo-model small { white-space:nowrap; }
.item-photo-unavailable { display:inline-grid; min-width:42px; max-width:100%; place-items:center; }
