:root {
  --page-bg: #f7f8f9;
  --hero-bg-start: #ffffff;
  --hero-bg-mid: #f7f9fc;
  --hero-bg-end: #eef3f8;
  --hero-vignette: rgba(255, 255, 255, 0.78);
  --panel-bg: #ffffff;
  --panel-bg-light: #ffffff;
  --panel-border: rgba(17, 24, 39, 0.06);
  --text-main: #111827;
  --text-muted: #4b5563;
  --text-soft: #7b8494;
  --primary: #ff8904;
  --primary-light: #ffb347;
  --accent: #ff8904;
  --shadow-strong: none;
  --container: 1310px;
  --radius-s: .5rem;
  --radius-m: .875rem;
  --radius-l: 1rem;
  --radius-xl: 1.25rem;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text-main);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  background: var(--page-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.detail-page {
  /*min-height: 100vh;*/
  background: var(--page-bg);
}

.detail-section {
  /*min-height: 100vh;*/
  padding: 18px 0 25px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--text-muted);
  font-size: .875rem;
  font-weight: 400;
  margin-bottom: 0 !important;
  background-color: #f0f2f2 !important;
  border-bottom: 1px solid #eee !important;
}

.breadcrumb a {
  color: var(--text-main);
}

.skin-panel {
  margin-top: 0px;
  /*overflow: hidden;*/
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-strong);
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 137, 4, 0.08), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(43, 79, 150, 0.14), transparent 30%),
    linear-gradient(110deg, var(--hero-vignette) 0%, rgba(9, 13, 19, 0.92) 48%, rgba(13, 20, 32, 0.86) 100%),
    linear-gradient(118deg, var(--hero-bg-start) 0%, var(--hero-bg-mid) 56%, var(--hero-bg-end) 100%);
}

.skin-panel__main {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  min-height: 285px;
}

.skin-media {
  position: relative;
  display: grid;
  min-height: 285px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 137, 4, 0.1), transparent 18%),
    radial-gradient(circle at 70% 70%, rgba(43, 79, 150, 0.14), transparent 30%),
    linear-gradient(135deg, #0c1a27, #07101a);
}

.skin-media::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.32;
  background-image: radial-gradient(rgba(170, 183, 202, 0.2) 1px, transparent 1px);
  background-size: 9px 9px;
}

.skin-media img {
  position: relative;
  z-index: 1;
  width: min(106%, 330px);
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.48));
}

.skin-media__icon {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid rgba(255, 137, 4, 0.34);
  border-radius: var(--radius-s);
  background: rgba(255, 137, 4, 0.1);
}

.skin-info {
  position: relative;
  padding: 24px 28px 28px;
  background:
    radial-gradient(circle at 62% 44%, rgba(43, 79, 150, 0.12), transparent 38%),
    rgba(18, 22, 31, 0.48);
}

.skin-info::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.16;
  background: linear-gradient(145deg, transparent 0 38%, rgba(151, 170, 204, 0.18) 39% 42%, transparent 43% 100%);
}

.skin-info__top,
.skin-meta,
.steam-price,
.seller-summary,
.skin-actions {
  position: relative;
  z-index: 1;
}

.skin-info__top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.skin-info h1 {
  margin: 0;
  color: var(--text-main);
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: bold;
}

.favorite-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  cursor: pointer;
  border: 0;
  border-radius: var(--radius-s);
  background: transparent;
  font-size: .75rem;
  font-weight: 400;
}

.favorite-btn i {
  color: var(--text-muted);
}

.skin-meta {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 400;
}

.skin-meta span + span {
  padding-left: 28px;
  border-left: 1px solid var(--panel-border);
}

.skin-meta strong {
  margin-left: 12px;
  color: #ff4b55;
  font-weight: 400;
}

.steam-price {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: baseline;
  margin-top: 20px;
  color: var(--text-main);
  font-size: .8rem;
  font-weight: 400;
}

.steam-price strong {
  color: var(--primary);
  font-size: 1.375rem;
  font-weight: 700;
}

.steam-price a {
  color: var(--text-soft);
  font-weight: 400;
}

.seller-summary {
  position: relative;
  isolation: isolate;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(126, 145, 170, 0.16);
  border-radius: .5rem;
  background:
    linear-gradient(135deg, rgba(239, 241, 244, 0.94) 0%, rgba(248, 249, 251, 0.8) 42%, #ffffff 100%);
  box-shadow: 0 10px 26px rgba(46, 59, 78, 0.055);
}

.seller-summary::before,
.seller-summary::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.seller-summary::before {
  opacity: .5;
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(132, 142, 156, 0.062) 28.2%, transparent 28.8% 100%),
    linear-gradient(115deg, transparent 0 60%, rgba(132, 142, 156, 0.048) 60.2%, transparent 60.8% 100%),
    repeating-linear-gradient(0deg, rgba(132, 142, 156, 0.04) 0 1px, transparent 1px 18px);
}

.seller-summary::after {
  opacity: .42;
  background:
    radial-gradient(circle at 10% 12%, rgba(150, 158, 170, 0.105), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0) 0 54%, rgba(150, 158, 170, 0.052) 54.2%, rgba(255, 255, 255, 0) 70%);
}

.seller-summary__top {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.seller-profile {
  display: flex;
  min-width: 0;
  gap: 12px;
  align-items: center;
}

.seller-avatar {
  display: inline-flex;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 0;
  border-radius: 50%;
  background: #c62828;
  font-size: .72rem;
  font-weight: 400;
}

.seller-profile h2 {
  margin: 0;
  color: var(--text-main);
  font-size: .85rem;
  font-weight: 400;
}

.seller-profile h2 i {
  color: #3fd36f;
}

.seller-profile p {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 5px 0 0;
  color: #49d22f;
  font-size: .75rem;
  font-weight: 400;
}

.seller-profile p i {
  color: #ff5656;
}

.seller-profile p i:last-of-type {
  color: #49d22f;
  margin-left: 2px;
}

.chat-btn {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: var(--radius-s);
  background: #21d982;
  font-size: .75rem;
  font-weight: 400;
}

.purchase-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px minmax(0, 1fr) minmax(150px, auto);
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}

.stock-note,
.unit-price {
  margin: 0;
  color: var(--text-soft);
  font-size: .75rem;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 6px;
  align-items: center;
  padding: 4px;
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.055);
}

.quantity-stepper button {
  box-sizing: border-box;
  justify-self: center;
  width: 30px;
  height: 30px;
  color: var(--text-main);
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1rem;
}

.quantity-stepper span {
  color: var(--text-main);
  text-align: center;
  font-size: .85rem;
}

.detail-price {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.detail-price strong {
  color: var(--text-main);
  font-size: 1.5rem;
  line-height: 1;
}

.detail-price span {
  color: var(--text-soft);
  font-size: .72rem;
  white-space: nowrap;
}

.skin-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.skin-actions button {
  /* min-height: 38px;
  padding: 0 24px;
  color: var(--text-main);
  cursor: pointer;
  border-radius: var(--radius-s);
  font-size: 16px;
  font-weight: 700;
  transition: filter 0.18s ease, border-color 0.18s ease, background 0.18s ease; */

  appearance: button;
    backface-visibility: hidden;
    background-color: #ff991e;
    border-radius: 6px;
    border-width: 0;
    box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset, rgba(50, 50, 93, .1) 0 2px 5px 0, rgba(0, 0, 0, .07) 0 1px 1px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, sans-serif;
    font-size: 100%;
    height: 44px;
    line-height: 1.15;
    margin: 0 0 0;
    outline: none;
    overflow: hidden;
    padding: 0 25px;
    position: relative;
    text-align: center;
    text-transform: none;
    transform: translateZ(0);
    transition: all .2s, box-shadow .08s ease-in;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    width: 100%;
    font-weight: 700;
}

.outline-btn {
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.055);
}

.skin-actions__buy {
  display: flex;
  gap: 16px;
}

.request-btn {
  border: 0;
  color: #121007;
  background: var(--primary);
}

.bulk-btn {
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.055);
}

.skin-actions button:hover,
.condition-tabs button:hover {
  border-color: rgba(255, 137, 4, 0.36);
  filter: brightness(1.05);
}

.condition-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 15px;
  border-top: 1px solid var(--panel-border);
  background: rgba(18, 22, 31, 0.72);
}

.condition-tabs button {
  min-height: 34px;
  padding: 0 26px;
  color: var(--text-muted);
  cursor: pointer;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.035);
  font-size: .8rem;
  font-weight: 400;
}

.condition-tabs button.is-active {
  color: #121007;
  border-color: transparent;
  background: var(--primary);
}

.condition-tabs span {
  margin-left: 10px;
  font-weight: 700;
}

.offers-toolbar {
  margin-top: 15px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-strong);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 137, 4, 0.06), transparent 22%),
    var(--panel-bg);
}

.offers-panel {
  margin-top: 15px;
  padding: 0 16px 16px 16px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-strong);
  background:
    radial-gradient(circle at 52% 0%, rgba(255, 137, 4, 0.06), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(43, 79, 150, 0.12), transparent 30%),
    var(--panel-bg);
}

.select-row,
.offer-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.select-row button {
  min-height: 32px;
  padding: 0 11px;
  color: var(--text-muted);
  cursor: pointer;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.035);
  font-size: .875rem;
  font-weight: 400;
}

.offer-checks label {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 400;
  margin-bottom: 0 !important;
}

.offer-checks input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--primary);
}

.offers-head,
.offer-row {
  display: grid;
  grid-template-columns: 112px minmax(220px, 1fr) minmax(90px, .5fr) minmax(170px, .8fr) 106px minmax(222px, auto);
  gap: 12px;
  align-items: center;
}

.offers-head {
  margin-top: 18px;
  padding: 0 10px 12px;
  color: var(--text-muted);
  font-size: .75rem;
  font-weight: 400;
}

.offers-head span:last-child {
  text-align: right;
}

.offer-list {
  display: grid;
  gap: 10px;
}

.offer-row {
  position: relative;
  min-height: 112px;
  padding: 12px 10px;
  border-radius: var(--radius-s);
  background: rgba(18, 22, 31, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.offer-item {
  position: relative;
  display: grid;
  width: 100px;
  height: 68px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-s);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 137, 4, 0.12), transparent 24%),
    linear-gradient(135deg, #172234, #080d14);
}

.offer-item img {
  width: 112%;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.44));
}

.offer-item button {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 24px;
  color: var(--text-main);
  border: 0;
  background: rgba(18, 22, 31, 0.86);
}

.offer-float strong {
  color: var(--primary-light);
  font-size: .75rem;
  font-weight: 400;
}

.float-bar {
  position: relative;
  display: block;
  width: min(170px, 100%);
  height: 4px;
  margin: 10px 0 9px;
  border-radius: 99rem;
  background: linear-gradient(90deg, #20d383 0 12%, #ffd166 12% 38%, #e7671f 38% 45%, #d84b4b 45% 100%);
}

.float-bar i {
  position: absolute;
  top: -6px;
  left: 8px;
  display: block;
  width: 0;
  height: 0;
  border-top: 4px solid #ff2437;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  background: transparent;
  transform: none;
}

.offer-float div {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}

.inspect-tag,
.offer-float em {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: var(--radius-s);
  font-size: .75rem;
  font-style: normal;
  font-weight: 400;
}

.inspect-tag {
  gap: 4px;
  color: var(--primary-light);
  border: 1px solid rgba(255, 137, 4, 0.34);
}

.offer-float em {
  color: var(--text-main);
  background: rgba(255, 137, 4, 0.16);
}

.offer-shop {
  display: flex;
  min-width: 0;
  gap: 12px;
  align-items: center;
}

.offer-seller-avatar {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  font-weight: 700;
  font-size: 14px;
}

.offer-shop strong {
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--text-main);
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.1;
}

.offer-shop strong i {
  color: #3fd36f;
}

.seller-rate {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-top: 7px;
  color: #49d22f;
  font-size: .75rem;
  font-weight: 400;
}

.seller-rate i {
  color: #ff5656;
}

.seller-rate i:last-of-type {
  color: #49d22f;
  margin-left: 2px;
}

.offer-price {
  color: var(--text-main);
  font-size: .9rem;
}

.offer-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: end;
}

.offer-actions button {
  min-height: 32px;
  padding: 0 12px;
  color: var(--text-main);
  cursor: pointer;
  border: 0;
  border-radius: var(--radius-s);
  font-size: .75rem;
  font-weight: 400;
}

.offer-actions button:first-child {
  appearance: button;
    backface-visibility: hidden;
    background-color: #ff991e;
    border-radius: 6px;
    border-width: 0;
    box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset, rgba(50, 50, 93, .1) 0 2px 5px 0, rgba(0, 0, 0, .07) 0 1px 1px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-size: 100%;
    height: 33px;
    line-height: 1.15;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    text-transform: none;
    transform: translateZ(0);
    transition: all .2s, box-shadow .08s ease-in;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.offer-actions button:nth-child(2) {
  color: var(--text-main);
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.055);
}

.view-more-btn {
  /* display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 16px auto 0;
  padding: 0 22px;
  color: #121007;
  cursor: pointer;
  border: 0;
  border-radius: var(--radius-s);
  background: var(--primary);
  font-size: 14px;
  font-weight: 400; */

  align-items: center;
    background-color: #fbfbfb;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: .5rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 0.85);
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    margin: 16px auto 16px;
    min-height: 2rem;
    padding: calc(.875rem - 1px) calc(1.5rem - 1px);
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
}

.offers-panel > .view-more-btn,
.offer-card-preview > .view-more-btn {
  display: flex;
  width: fit-content;
}

.instant-tag {
  grid-column: 1 / -1;
  width: fit-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #ffd6a3;
  border: 1px solid rgba(255, 137, 4, 0.32);
  border-radius: var(--radius-s);
  background: rgba(255, 137, 4, 0.08);
  font-size: .7rem;
  font-weight: 400;
}

.offer-card-preview {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-s);
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 137, 4, 0.08), transparent 24%),
    var(--panel-bg);
  box-shadow: var(--shadow-strong);
}

.offer-card-preview__head {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.offer-card-preview__head h2 {
  margin: 0;
  color: var(--text-main);
  font-size: .95rem;
  line-height: 1.2;
}

.offer-card-preview__head span {
  color: var(--text-soft);
  font-size: .75rem;
  font-weight: 400;
}

.compact-offer-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.compact-offer-card {
  position: relative;
  display: grid;
  min-height: 132px;
  align-content: space-between;
  justify-items: center;
  overflow: hidden;
  padding: 12px 10px 10px;
  border: 1px solid rgba(151, 170, 204, 0.1);
  border-radius: var(--radius-s);
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 137, 4, 0.12), transparent 26%),
    linear-gradient(145deg, rgba(28, 34, 47, 0.82), rgba(8, 13, 20, 0.9));
}

.compact-offer-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 36%);
  opacity: .45;
}

.compact-offer-card img,
.compact-offer-card strong {
  position: relative;
  z-index: 1;
}

.compact-offer-card img {
  width: min(150%, 220px);
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 16px 14px rgba(0, 0, 0, 0.48));
}

.compact-offer-card strong {
  width: 100%;
  padding-top: 9px;
  color: var(--primary);
  border-top: 1px solid rgba(151, 170, 204, 0.1);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.skin-panel {
  background: #ffffff;
  box-shadow: none;
}

.skin-media {
  background: linear-gradient(135deg, #e7ebf0 0%, #f3f5f7 58%, #dde3ea 100%);
}

.skin-media::before {
  opacity: 0.48;
  background-image: radial-gradient(rgba(74, 85, 104, 0.18) 1px, transparent 1px);
}

.skin-info {
  background: #ffffff;
}

.skin-info::before {
  display: none;
}

.skin-media__icon {
  background: rgba(255, 137, 4, 0.08);
}

.offers-toolbar,
.offers-panel,
.offer-card-preview {
  background: #ffffff;
  box-shadow: none;
}

.quantity-stepper,
.outline-btn,
.bulk-btn,
.offer-actions button:nth-child(2),
.select-row button,
.condition-tabs button {
  background: rgba(17, 24, 39, 0.035);
}

.quantity-stepper button {
  background: rgba(17, 24, 39, 0.06);
}

.condition-tabs {
  background: rgba(247, 250, 252, 0.86);
}

.offer-row {
  background: #ffffff;
  box-shadow: none;
}

.offer-item,
.compact-offer-card {
  background: linear-gradient(135deg, #e6ebf0 0%, #f4f6f8 56%, #dce3ea 100%);
}

.offer-item button {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.86);
}

.offer-float em {
  color: var(--text-muted);
  background: rgba(17, 24, 39, 0.06);
}

.offer-float strong,
.inspect-tag {
  color: var(--text-main);
}

.inspect-tag {
  border-color: var(--panel-border);
}

.instant-tag {
  color: var(--text-muted);
  border-color: var(--panel-border);
  background: rgba(17, 24, 39, 0.03);
}

.compact-offer-card::before {
  display: none;
}

@media (max-width: 980px) {
  .skin-panel__main {
    grid-template-columns: 1fr;
  }

  .skin-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 36px;
  }

  .skin-actions__buy {
    flex-wrap: wrap;
  }

  .purchase-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-price {
    justify-items: start;
  }

  .offers-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .offers-head {
    display: none;
  }

  .offer-row {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .offer-stickers,
  .offer-shop,
  .offer-price,
  .offer-actions {
    grid-column: 2;
  }

  .compact-offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
    padding: 0;
  }

  .detail-section {
    padding: 18px 0 48px;
  }

  .skin-panel {
    margin-top: 28px;
  }

  .skin-info {
    padding: 22px 18px;
  }

  .skin-info__top {
    flex-direction: column;
  }

  .skin-meta,
  .steam-price {
    gap: 12px;
  }

  .skin-meta {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 24px;
  }

  .skin-meta span + span {
    padding-left: 0;
    border-left: 0;
  }

  .skin-actions button,
  .condition-tabs button {
    width: 100%;
  }

  .skin-actions__buy,
  .condition-tabs {
    flex-direction: column;
  }

  .seller-summary__top,
  .purchase-summary {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .chat-btn {
    justify-content: center;
  }

  .detail-price span {
    white-space: normal;
  }

  .offers-panel {
    padding: 12px;
  }

  .offer-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px 14px;
    align-items: start;
    min-height: 0;
    padding: 14px;
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: .75rem;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.055);
  }

  .offer-item {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 96px;
    height: 72px;
    border-radius: .65rem;
  }

  .offer-item img {
    width: 106%;
    max-height: 62px;
  }

  .offer-float {
    grid-column: 2;
    min-width: 0;
  }

  .offer-float strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: var(--text-main);
    font-size: .76rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .float-bar {
    width: min(180px, 100%);
    margin: 8px 0;
  }

  .offer-float div {
    display: block;
    color: var(--text-main);
    font-size: .84rem;
    line-height: 1.4;
  }

  .offer-stickers {
    display: none;
  }

  .offer-shop {
    grid-column: 1 / -1;
    gap: 10px;
    padding-top: 2px;
  }

  .offer-seller-avatar {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: .78rem;
  }

  .offer-shop > div {
    min-width: 0;
  }

  .offer-shop strong {
    max-width: 100%;
    overflow: hidden;
    font-size: .86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .seller-rate {
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 5px;
    font-size: .72rem;
  }

  .offer-price {
    grid-column: 1;
    align-self: center;
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.2;
  }

  .offer-actions {
    grid-column: 2;
    justify-content: flex-end;
    align-self: center;
  }

  .offer-actions button {
    min-width: 68px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: .55rem;
  }

  .offer-actions {
    flex-wrap: wrap;
  }

  .offer-card-preview {
    padding: 14px;
  }

  .offer-card-preview__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .compact-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
