.auction-layout-row {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.auction-page-component {
  width: auto;
  max-width: 100%;
  min-width: 0;
}

.auction-page {
  --auction-sticky-top: 116px;
  --auction-sticky-bottom-gap: 32px;
  padding-bottom: 56px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
  overflow-y: visible;
}

.auction-page,
.auction-page * {
  box-sizing: border-box;
  min-width: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 0, 84, .68) transparent;
}

body.auction-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 0, 84, .68) rgba(8, 10, 16, .92);
  overflow-x: hidden;
}

body.auction-body::-webkit-scrollbar {
  width: 10px;
}

body.auction-body::-webkit-scrollbar-track {
  background: rgba(8, 10, 16, .92);
}

body.auction-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 0, 84, .95), rgba(156, 92, 255, .82));
  border: 2px solid rgba(8, 10, 16, .92);
  border-radius: 999px;
}

.auction-page *::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.auction-page *::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

.auction-page *::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 0, 84, .95), rgba(156, 92, 255, .82));
  border-radius: 999px;
}

.auction-page *::-webkit-scrollbar-button,
.auction-page *::-webkit-scrollbar-button:single-button,
.auction-page *::-webkit-scrollbar-button:start,
.auction-page *::-webkit-scrollbar-button:end,
.auction-page *::-webkit-scrollbar-button:vertical,
.auction-page *::-webkit-scrollbar-button:horizontal,
.auction-page *::-webkit-scrollbar-corner {
  display: none;
  width: 0;
  height: 0;
  min-width: 0;
  min-height: 0;
  background: transparent;
}

.auction-page *::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff2b72, #9c5cff);
}

.auction-ticket-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: -3px;
}

.auction-ticket-icon--title {
  width: 22px;
  height: 22px;
  vertical-align: -4px;
}

.auction-hero {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(600px, .8fr);
  min-height: 440px;
  padding: 0;
  overflow: visible;
  /* border: 1px solid rgba(255,255,255,.08); */
  border-radius: 8px;
  background: #090b12;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

.auction-hero__bg,
.auction-hero__shade {
  position: absolute;
  inset: 0;
}

.auction-hero__bg {
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.auction-hero__bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}

.auction-hero__shade {
  background:
    radial-gradient(circle at 78% 34%, rgba(255,0,84,.28), transparent 36%),
    linear-gradient(90deg, rgba(7,9,15,.98) 0%, rgba(8,10,18,.83) 48%, rgba(8,10,18,.42) 100%);
}

/* Статус (kicker) — в правом верхнем углу hero, над персонажем */
/* Статус — в правом верхнем углу hero, поверх персонажа в visual.
   Селектор с 2 классами, чтобы перебить .auction-kicker{position:relative} ниже. */
.auction-hero .auction-kicker--corner {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 6; /* выше .auction-hero__visual и слоя призов */
}

.auction-hero__content {
  position: relative;
  z-index: 20;
  padding: 0px 0 0px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.auction-kicker {
  width: fit-content;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 13px 8px 12px;
  /* border: 1px solid rgba(255,255,255,.12); */
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  background: rgba(120,128,150,.18);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auction-kicker--active {
  border-color: rgba(255,0,84,.65);
  color: #fff;
  background: #ff0054;
  box-shadow: 0 12px 34px rgba(255,0,84,.28);
}

.auction-kicker--finished {
  /* border-color: rgba(255,255,255,.12); */
  color: rgba(255,255,255,.76);
  background: rgba(128,136,154,.28);
}

.auction-kicker__pulse {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
}

.auction-kicker__pulse::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: rgba(255,255,255,.28);
}

.auction-kicker__pulse::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  background: rgba(255,255,255,.95);
}

.auction-kicker--active .auction-kicker__pulse::before {
  animation: live_blowing 2s infinite;
}

.auction-kicker--active .auction-kicker__pulse::after {
  animation: live_blinking 1s infinite;
}

.auction-kicker:not(.auction-kicker--active) .auction-kicker__pulse {
  background: rgba(255,255,255,.08);
}

.auction-kicker:not(.auction-kicker--active) .auction-kicker__pulse::before {
  background: rgba(255,255,255,.1);
}

.auction-kicker:not(.auction-kicker--active) .auction-kicker__pulse::after {
  background: rgba(255,255,255,.45);
}

.auction-hero h1 {
  margin: 0;
  max-width: 680px;
  color: #fff;
  font-size: 52px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.auction-hero__label {
  color: #ff0054;
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.auction-hero p {
  margin: 0;
  max-width: 670px;
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.7;
}

.auction-hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero_giveaway_participate_btn.auction-join-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 65px;
  padding: 0 25px;
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(120% 80% at 18% 0%, rgba(255, 255, 255, .18), transparent 55%),
    linear-gradient(135deg, #ff2f86 0%, #ff0054 58%, #d90049 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 14px 30px rgba(255,0,84,.28);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.hero_giveaway_participants_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 34px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  background: #00000070;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.hero_giveaway_participants_badge img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.hero_giveaway_participate_btn.auction-join-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 18px 38px rgba(255,0,84,.38);
}

.hero_giveaway_participate_btn.auction-join-button:active {
  transform: translateY(0);
}

.hero_giveaway_participate_btn.auction-join-button--disabled,
.hero_giveaway_participate_btn.auction-join-button--disabled:hover,
.hero_giveaway_participate_btn.auction-join-button--disabled:active {
  cursor: default;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.07));
  color: rgba(255,255,255,.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transform: none;
  filter: none;
}

.hero_giveaway_participate_btn.auction-join-button--disabled .hero_giveaway_participants_badge {
  color: rgba(255,255,255,.62);
  background: rgba(0,0,0,.22);
  opacity: .85;
}

.auction-rules {
  position: relative;
  z-index: 80;
}

.auction-rules__button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 65px;
  padding: 0 35px;
  border: 0;
  border-radius: 15px;
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.08);
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.auction-rules__button:hover,
.auction-rules:hover .auction-rules__button,
.auction-rules:focus-within .auction-rules__button {
  color: #fff;
  background: rgba(255,0,84,.18);
  transform: translateY(-1px);
}

.auction-rules__icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: #ff0054;
  font-size: 13px;
  font-weight: 900;
  font-style: normal;
  line-height: 1;
}

.auction-rules__body {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 120;
  width: min(410px, 86vw);
  padding: 14px;
  border-radius: 8px;
  background: rgba(8, 10, 16, .96);
  box-shadow: 0 18px 36px rgba(0,0,0,.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.auction-rules__body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 10px;
}

.auction-rules:hover .auction-rules__body,
.auction-rules:focus-within .auction-rules__body,
.auction-rules.is-open .auction-rules__body {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.auction-rules__body ol {
  margin: 0;
  padding-left: 18px;
}

.auction-rules__body li {
  margin: 0 0 9px;
  color: rgba(255,255,255,.74);
  font-size: 13px;
  line-height: 1.45;
}

.auction-rules__body li:last-child {
  margin-bottom: 0;
}

.auction-rules__body a {
  color: #ff5f8f;
  font-weight: 900;
  text-decoration: none;
}

.auction-rules__body a:hover {
  color: #fff;
}

.auction-rate-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  width: min(640px, 100%);
  min-height: 54px;
  margin-top: 4px;
  padding: 12px 16px;
  border-radius: 15px;
  color: rgba(255,255,255,.82);
  background: rgba(9, 23, 16, .78);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), inset 0 1px 0 rgba(255,255,255,.08);
  font-size: 15px;
  font-weight: 900;
}

.auction-rate-card span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  text-transform: uppercase;
}

.auction-rate-card strong {
  color: #ff0054;
  font-size: 16px;
  font-weight: 900;
}

.auction-rate-card em,
.auction-rate-card i {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.64);
  font-style: normal;
  font-weight: 800;
}

.auction-rate-card em img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.auction-rules__body strong {
  color: #fff;
  font-weight: 900;
}

.auction-user-id-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 2px 5px 2px 8px;
  border-radius: 7px;
  color: #fff;
  background: rgba(255,0,84,.18);
  vertical-align: -6px;
}

.auction-user-id-chip b {
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.auction-user-id-chip a {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.auction-user-id-chip a:hover {
  color: #fff;
  text-decoration: underline;
}

.auction-user-id-chip button {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: rgba(255,255,255,.12);
  cursor: pointer;
}

.auction-user-id-chip button:hover {
  background: rgba(255,255,255,.2);
}

.auction-user-id-chip button.is-copied {
  background: rgba(56, 217, 121, .35);
}

.auction-user-id-chip svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.auction-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.auction-stat {
  min-height: 86px;
  padding: 14px;
  /* border: 1px solid rgba(255,255,255,.08); */
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(16px);
}

.auction-stat span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.52);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.auction-stat strong {
  color: #fff;
  font-size: 23px;
  line-height: 1.15;
}

.auction-stat--accent {
  border-color: rgba(255,0,84,.36);
  background: rgba(255,0,84,.12);
}

.auction-hero__visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 300px;
  padding: 0;
  overflow: visible;
  /* min-width: 600px; */
}

.auction-hero__plate-stack {
  position: absolute;
  left: 51%;
  bottom: 0;
  z-index: 0;
  height: calc(100% + 24px);
  aspect-ratio: 1148 / 1146;
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
  isolation: isolate;
}

.auction-hero__plate {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  opacity: .95;
  pointer-events: none;
}

.auction-hero__plate-fx {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('/assets/img/3e27.gif');
  background-repeat: no-repeat;
  background-position: 137% 26px;
  background-size: auto calc(100% + 9px);
  mix-blend-mode: screen;
  opacity: 0.82;
  -webkit-mask-image: url('/assets/img/auc-hero.png');
  mask-image: url('/assets/img/auc-hero.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  pointer-events: none;
}

.auction-hero__item {
  position: absolute;
  right: 6%;
  bottom: 23%;
  z-index: 2;
  width: min(42%, 297px);
  max-height: 175px;
  object-fit: contain;
  transform: translateY(0) rotate(-2deg);
  animation: auction-hero-float 3.4s ease-in-out infinite;
  filter: drop-shadow(0px 0px 16px rgba(255, 0, 84, 1));
  will-change: transform;
}

.auction-wheel-stage {
  --wheel-center-color: #050507;
  --wheel-pointer-color: #ff315f;
  --wheel-radius: 0px;
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 100%;
  height: min(850px, calc(100vw - 40px));
  min-height: 0;
  aspect-ratio: auto;
  margin: 0 auto;
  overflow: visible;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 52%, rgba(255,0,84,.08), transparent 32%),
    linear-gradient(180deg, rgba(17,19,30,.96), rgba(8,10,17,.96));
  box-shadow: 0 24px 70px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.08);
  pointer-events: auto;
}
.auction-wheel-stage[hidden] { display: none; }
.auction-wheel__disc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(82%, 690px, calc(100% - 42px));
  max-width: none;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,.86);
  background: conic-gradient(#ff0054, #21a9ff, #9c5cff, #ffb800, #2fd06f, #ff0054);
  box-shadow:
    0 18px 54px rgba(0,0,0,.46),
    inset 0 0 0 1px rgba(255,255,255,.22),
    inset 0 -24px 54px rgba(0,0,0,.18);
  overflow: hidden;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.auction-wheel__canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.auction-wheel__disc::after {
  display: none;
}
.auction-wheel__pointer {
  position: absolute;
  top: calc(50% - var(--wheel-radius) - 43px);
  left: 50%;
  z-index: 8;
  width: 38px;
  height: 58px;
  transform: translateX(-50%);
  pointer-events: none;
}
.auction-wheel__pointer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wheel-pointer-color);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter:
    drop-shadow(0 9px 14px rgba(0,0,0,.55))
    drop-shadow(0 0 14px color-mix(in srgb, var(--wheel-pointer-color) 60%, transparent));
  will-change: background-color;
}
.auction-wheel__pointer-name {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  min-width: 120px;
  max-width: 240px;
  padding: 7px 12px;
  border-radius: 9px;
  background: rgba(8,10,17,.94);
  color: var(--wheel-pointer-color);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateX(-50%);
  box-shadow: 0 8px 24px rgba(0,0,0,.38);
  clip-path: none;
}
.auction-wheel__center {
  position: absolute;
  z-index: 7;
  width: clamp(108px, 14.5vw, 178px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--wheel-center-color) 66%, #ffffff 8%), var(--wheel-center-color) 58%, #050507 100%);
  box-shadow:
    inset 0 0 0 4px rgba(255,255,255,.84),
    inset 0 -16px 30px rgba(0,0,0,.28),
    0 16px 42px rgba(0,0,0,.5),
    0 0 34px color-mix(in srgb, var(--wheel-center-color) 42%, transparent);
  transition: background-color .12s linear, box-shadow .12s linear;
}
.auction-wheel__center img {
  width: 112%;
  height: 112%;
  object-fit: contain;
  animation: auction-hero-float 3.4s ease-in-out infinite;
  filter: drop-shadow(0 0 16px rgba(255,0,84,.75));
}
.auction-page.is-wheel-spin .auction-hero__plate-stack,
.auction-page.is-wheel-spin .auction-hero__item {
  opacity: .18;
}

@keyframes auction-hero-float {
  0%, 100% {
    transform: translateY(-8px) rotate(-2deg);
  }
  50% {
    transform: translateY(10px) rotate(-1deg);
  }
}

.auction-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  margin-top: 16px;
}

.auction-panel {
  /* border: 1px solid rgba(255,255,255,.08); */
  border-radius: 8px;
  background: rgba(12,15,24,.86);
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}

.auction-panel {
  padding: 22px;
}

.auction-panel.auction-hero {
  padding: 0;
}

.auction-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.auction-panel__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: #ff2b72;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.auction-panel h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  letter-spacing: 0;
}

.auction-prizes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}

.auction-prize {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  min-height: 112px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
}

.auction-prize__img {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,.055);
}

.auction-prize__img img {
  max-width: 76px;
  max-height: 76px;
  object-fit: contain;
}

.auction-prize__body {
  min-width: 0;
  align-self: center;
}

.auction-prize strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
}

.auction-prize span {
  color: rgba(255,255,255,.6);
  font-size: 13px;
}

.auction-prize em {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255,0,84,.16);
  color: #ff5b91;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.auction-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.auction-rank {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
}

.auction-rank > span:not(.auction-rank__swatch) {
  display: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255,0,84,.16);
  color: #ff5b91;
  font-weight: 900;
  font-size: 12px;
}

.auction-rank > img {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.auction-rank strong {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-rank > em {
  color: rgba(255,255,255,.68);
  font-style: normal;
  font-weight: 800;
}

.auction-empty {
  padding: 22px;
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 8px;
  color: rgba(255,255,255,.58);
  text-align: center;
}

/* ===== Ticket field cells ===== */
.auction-tickets-section {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.auction-page--wheel-mode .auction-tickets-grid {
  display: none;
}

.auction-page--snake-mode .auction-wheel-stage {
  display: none;
}

.auction-tickets-total {
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.auction-tickets-total strong {
  color: #fff;
}

.auction-live-proof {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(10, 13, 22, .78);
  color: rgba(255,255,255,.68);
  font-size: 12px;
  font-weight: 800;
}
.auction-live-proof[hidden] {
  display: none;
}
.auction-live-proof span {
  color: rgba(255,255,255,.44);
  text-transform: uppercase;
  white-space: nowrap;
}
.auction-live-proof strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}
.auction-live-proof small {
  color: rgba(255,255,255,.52);
  white-space: nowrap;
}

.auction-tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30px, 1fr));
  gap: 6px;
  max-height: none;
  overflow: visible;
  padding: 12px;
  margin: -12px;
  scroll-padding: 12px;
}

.auction-tickets-grid > .auction-empty {
  display: none;
}

.auction-ticket {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(135deg,
      var(--ticket-color, #ff0054),
      color-mix(in srgb, var(--ticket-color, #ff0054) 45%, #0b0e16));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
  cursor: help;
  user-select: none;
  transition: transform .1s ease, box-shadow .1s ease, opacity .1s ease;
}
.auction-ticket:hover {
  transform: translateY(-1px) scale(1.06);
  box-shadow: 0 0 16px color-mix(in srgb, var(--ticket-color, #ff0054) 70%, transparent);
  z-index: 20;
}

.auction-ticket:not(.auction-ticket--phantom)::after {
  content: attr(data-owner) "\A Билет #" attr(data-ticket);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 30;
  min-width: 132px;
  max-width: 220px;
  padding: 9px 11px;
  border: 1px solid color-mix(in srgb, var(--ticket-color, #ff0054) 52%, rgba(255,255,255,.18));
  border-radius: 8px;
  background:
    radial-gradient(120% 90% at 12% 0%, color-mix(in srgb, var(--ticket-color, #ff0054) 25%, transparent), transparent 60%),
    rgba(13, 15, 23, .96);
  box-shadow: 0 14px 34px rgba(0,0,0,.42), 0 0 18px color-mix(in srgb, var(--ticket-color, #ff0054) 28%, transparent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  white-space: pre-line;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px) scale(.96);
  transition: opacity .12s ease, transform .12s ease;
}

.auction-ticket:not(.auction-ticket--phantom)::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  z-index: 31;
  width: 10px;
  height: 10px;
  border-right: 1px solid color-mix(in srgb, var(--ticket-color, #ff0054) 52%, rgba(255,255,255,.18));
  border-bottom: 1px solid color-mix(in srgb, var(--ticket-color, #ff0054) 52%, rgba(255,255,255,.18));
  background: rgba(13, 15, 23, .96);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) rotate(45deg);
  transition: opacity .12s ease;
}

.auction-ticket:not(.auction-ticket--phantom):hover::after,
.auction-ticket:not(.auction-ticket--phantom):hover::before {
  opacity: 1;
}

.auction-ticket:not(.auction-ticket--phantom):hover::after {
  transform: translate(-50%, 0) scale(1);
}

.auction-ticket--phantom {
  color: transparent;
  border-color: rgba(255,255,255,.055);
  background:
    radial-gradient(80% 80% at 25% 15%, rgba(255,255,255,.06), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  cursor: default;
  pointer-events: none;
  opacity: .46;
}

/* Highlight player tickets on leaderboard hover */
.auction-ticket.is-dimmed { opacity: .16; filter: grayscale(.5); }
.auction-ticket.is-highlighted {
  opacity: 1;
  outline: 2px solid #fff;
  box-shadow: 0 0 18px color-mix(in srgb, var(--ticket-color, #ff0054) 75%, transparent);
}

@media (max-width: 640px) {
  .auction-tickets-grid {
    grid-template-columns: repeat(auto-fill, minmax(26px, 1fr));
    gap: 5px;
  }
}

/* ===== Референс-структура: 3 колонки (парк | центр | лидерборд) ===== */
.auction-shell {
  display: grid;
  grid-template-columns: 333px minmax(0, 1fr) 276px;
  gap: 16px;
  align-items: start;
  min-height: calc(100vh - var(--auction-sticky-top) - var(--auction-sticky-bottom-gap));
}
.auction-center {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  overflow-x: clip;
  overflow-y: visible;
}

/* Левый «Аукцион-парк» */
.auction-park {
  position: sticky;
  top: var(--auction-sticky-top);
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--auction-sticky-top) - var(--auction-sticky-bottom-gap));
  min-height: min(520px, calc(100vh - var(--auction-sticky-top) - var(--auction-sticky-bottom-gap)));
  max-height: calc(100vh - var(--auction-sticky-top) - var(--auction-sticky-bottom-gap));
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.auction-park__list {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
  padding-right: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.auction-park__list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.auction-park__list::-webkit-scrollbar-track,
.auction-park__list::-webkit-scrollbar-track-piece {
  background: transparent !important;
}

.auction-park__list::-webkit-scrollbar-button,
.auction-park__list::-webkit-scrollbar-button:single-button,
.auction-park__list::-webkit-scrollbar-button:decrement,
.auction-park__list::-webkit-scrollbar-button:increment,
.auction-park__list::-webkit-scrollbar-button:start,
.auction-park__list::-webkit-scrollbar-button:end,
.auction-park__list::-webkit-scrollbar-button:vertical {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.auction-park__list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 0, 84, .95), rgba(255, 0, 84, .72)) !important;
  border: 0 !important;
  border-radius: 999px;
}
.auction-park__item {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  min-height: 118px;
  padding: 10px;
  border-radius: 15px;
  /* border: 1px solid rgba(255,255,255,.07); */
  background: rgba(15, 26, 21, .72);
  color: inherit;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.auction-park__item.is-active {
  border-color: rgba(255,0,84,.55);
  background:
    radial-gradient(120% 80% at 18% 0%, rgba(255, 255, 255, .18), transparent 55%),
    linear-gradient(135deg, #29101b 0%, #7c1134 58%, #191819 100%);
}
.auction-park__item:not(.auction-park__item--active):not(.is-active) {
  opacity: .8;
}
.auction-park__item--finished {
  background: linear-gradient(216deg, rgb(255 0 84 / 30%), rgba(40, 255, 140, .08));
}
.auction-park__item--finished.is-active {
  background:
    radial-gradient(120% 80% at 18% 0%, rgba(255, 255, 255, .2), transparent 55%),
    linear-gradient(135deg, #29101b 0%, #7c1134 58%, #191819 100%);
}
.auction-park__item:hover {
  border-color: rgba(255,0,84,.55);
  opacity: 1;
  background:
    radial-gradient(120% 80% at 18% 0%, rgba(255, 255, 255, .18), transparent 55%),
    linear-gradient(135deg, #29101b 0%, #7c1134 58%, #191819 100%);
}
.auction-park__item--finished:hover {
  background:
    radial-gradient(120% 80% at 18% 0%, rgba(255, 255, 255, .18), transparent 55%),
    linear-gradient(135deg, #29101b 0%, #7c1134 58%, #191819 100%);
}
.auction-park__thumb {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  border-radius: 8px;
  overflow: visible;
  background: linear-gradient(180deg, #282a2d, #2b2d33);
  /* border: 1px solid rgba(255,255,255,.08); */
}

.auction-park__more {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 22px;
  padding: 4px 7px;
  border-radius: 6px;
  color: #fff;
  background: #ff0054;
  box-shadow: 0 8px 18px rgba(255,0,84,.28);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: default;
}

.auction-park__prize-tooltip {
  position: absolute;
  left: calc(100% + 8px);
  bottom: 0;
  z-index: 30;
  display: inline-grid;
  grid-template-columns: repeat(auto-fit, 38px);
  gap: 7px;
  width: max-content;
  max-width: 190px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(8, 10, 16, .96);
  box-shadow: 0 18px 36px rgba(0,0,0,.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-6px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.auction-park__more:hover + .auction-park__prize-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.auction-park__tip-prize {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,.07);
}

.auction-park__tip-prize img {
  width: 34px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.35));
}

.auction-park__tip-prize span {
  position: absolute;
  right: -3px;
  bottom: -3px;
  padding: 2px 4px;
  border-radius: 999px;
  color: #fff;
  background: #ff0054;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.auction-park__cover {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 1;
  background:
    radial-gradient(90% 70% at 28% 16%, rgba(255,0,84,.42), transparent 58%),
    radial-gradient(70% 46% at 0% 100%, rgba(255,0,84,.22), transparent 62%),
    radial-gradient(62% 44% at 100% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(31, 25, 49, .9), rgba(13, 15, 29, .96));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

.auction-park__thumb[style*="--rarity-color"] .auction-park__cover {
  background:
    radial-gradient(88% 70% at 32% 14%, color-mix(in srgb, var(--rarity-color) 48%, transparent), transparent 60%),
    radial-gradient(70% 46% at 0% 100%, color-mix(in srgb, var(--rarity-color) 24%, transparent), transparent 62%),
    radial-gradient(62% 44% at 100% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--rarity-color) 20%, rgba(31, 25, 49, .96)), rgba(13, 15, 29, .96)) !important;
}

.auction-park__thumb--knife .auction-park__cover,
.auction-park__thumb--rare .auction-park__cover {
  background:
    radial-gradient(88% 70% at 32% 14%, rgba(255, 215, 0, .58), transparent 60%),
    radial-gradient(70% 46% at 0% 100%, rgba(255, 215, 0, .25), transparent 62%),
    radial-gradient(62% 44% at 100% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(50, 41, 20, .96), rgba(13, 15, 29, .96));
}

.auction-park__thumb--restricted .auction-park__cover {
  background:
    radial-gradient(88% 70% at 32% 14%, rgba(136, 71, 255, .68), transparent 60%),
    radial-gradient(70% 46% at 0% 100%, rgba(136, 71, 255, .28), transparent 62%),
    radial-gradient(62% 44% at 100% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(30, 22, 61, .96), rgba(13, 15, 29, .96));
}

.auction-park__thumb--covert .auction-park__cover {
  background:
    radial-gradient(88% 70% at 32% 14%, rgba(235, 75, 75, .66), transparent 60%),
    radial-gradient(70% 46% at 0% 100%, rgba(235, 75, 75, .3), transparent 62%),
    radial-gradient(62% 44% at 100% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(56, 19, 25, .96), rgba(13, 15, 29, .96));
}

.auction-park__thumb--milspec .auction-park__cover,
.auction-park__thumb--mil-spec .auction-park__cover {
  background:
    radial-gradient(88% 70% at 32% 14%, rgba(75, 105, 255, .62), transparent 60%),
    radial-gradient(70% 46% at 0% 100%, rgba(75, 105, 255, .28), transparent 62%),
    radial-gradient(62% 44% at 100% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(20, 32, 58, .96), rgba(13, 15, 29, .96));
}

.auction-park__thumb--classified .auction-park__cover {
  background:
    radial-gradient(88% 70% at 32% 14%, rgba(210, 44, 230, .68), transparent 60%),
    radial-gradient(70% 46% at 0% 100%, rgba(210, 44, 230, .28), transparent 62%),
    radial-gradient(62% 44% at 100% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(40, 19, 54, .96), rgba(13, 15, 29, .96));
}

.auction-park__thumb--industrial .auction-park__cover {
  background:
    radial-gradient(88% 70% at 32% 14%, rgba(94, 152, 217, .62), transparent 60%),
    radial-gradient(70% 46% at 0% 100%, rgba(94, 152, 217, .28), transparent 62%),
    radial-gradient(62% 44% at 100% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(20, 38, 58, .96), rgba(13, 15, 29, .96));
}

.auction-park__thumb--consumer .auction-park__cover {
  background:
    radial-gradient(90% 70% at 28% 16%, rgba(176, 195, 217, .32), transparent 58%),
    radial-gradient(70% 46% at 0% 100%, rgba(176, 195, 217, .18), transparent 62%),
    radial-gradient(62% 44% at 100% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(23, 25, 32, .94), rgba(13, 15, 29, .96));
}

.auction-park__item-art {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 120px;
  height: 90px;
}

.auction-park__item-art::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 60px;
  height: 80px;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, rgba(176, 195, 217, .5), rgba(176, 195, 217, 1));
  mask-image: url(../assets/img/items/icon.svg);
  -webkit-mask-image: url(../assets/img/items/icon.svg);
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  opacity: 0.6;
}

.auction-park__thumb[style*="--rarity-color"] .auction-park__item-art::before {
  background: linear-gradient(180deg, color-mix(in srgb, var(--rarity-color) 50%, transparent), var(--rarity-color)) !important;
}

.auction-park__thumb--restricted .auction-park__item-art::before {
  background: linear-gradient(180deg, rgba(136, 71, 255, .5), rgba(136, 71, 255, 1));
}
.auction-park__thumb--classified .auction-park__item-art::before {
  background: linear-gradient(180deg, rgba(211, 44, 230, .5), rgba(211, 44, 230, 1));
}
.auction-park__thumb--covert .auction-park__item-art::before {
  background: linear-gradient(180deg, rgba(235, 75, 75, .5), rgba(235, 75, 75, 1));
}
.auction-park__thumb--knife .auction-park__item-art::before,
.auction-park__thumb--rare .auction-park__item-art::before {
  background: linear-gradient(180deg, rgba(255, 215, 0, .5), rgba(255, 215, 0, 1));
}
.auction-park__thumb--milspec .auction-park__item-art::before,
.auction-park__thumb--mil-spec .auction-park__item-art::before {
  background: linear-gradient(180deg, rgba(75, 105, 255, .5), rgba(75, 105, 255, 1));
}
.auction-park__thumb--industrial .auction-park__item-art::before {
  background: linear-gradient(180deg, rgba(94, 152, 217, .5), rgba(94, 152, 217, 1));
}

.auction-park__item-art img {
  width: 96px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.35));
}
.auction-park__main {
  min-width: 0;
  align-self: start;
  padding-bottom: 32px;
}
.auction-park__meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-bottom: 8px;
}
.auction-park__skin-title {
  display: block;
  margin: 0 0 2px;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.auction-park__skin-subtitle {
  display: block;
  max-width: calc(100% - 96px);
  margin: 0;
  overflow: hidden;
  color: rgba(255,255,255,.52);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}
.auction-park__price {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: calc(100% - 140px);
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 8px 0 8px 0;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  background:
    radial-gradient(120% 80% at 18% 0%, rgba(255,255,255,.18), transparent 55%),
    linear-gradient(135deg, #ff2f86 0%, #ff0054 58%, #d90049 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 24px rgba(255,0,84,.28);
  text-align: center;
}
.auction-park__item:not(.is-active) .auction-park__price {
  background:
    radial-gradient(120% 80% at 18% 0%, rgba(255, 255, 255, .18), transparent 55%),
    linear-gradient(135deg, #29101b 0%, #7c1134 58%, #191819 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 10px 24px rgba(124,17,52,.22);
}
.auction-park__status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  text-align: center;
}
.auction-park__status--active { background: rgba(255,0,84,.18); color: #ff5f8f; }
.auction-park__winner-name {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 7px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.84);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  text-transform: uppercase;
  text-align: center;
}

.auction-park__winner-name span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-park__winner-name img {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  object-fit: contain;
}

/* Таймер-боксы */
.auction-timer { display: inline-grid; grid-template-columns: repeat(4, 64px); gap: 8px; margin: 14px 0 18px; }
.auction-time-box {
  text-align: center; padding: 9px 6px; border-radius: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08);
}
.auction-time-box b { display: block; font-size: 22px; color: #fff; font-weight: 800; line-height: 1; }
.auction-time-box small { display: block; margin-top: 4px; font-size: 9px; font-weight: 800; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* Правый лидерборд + победитель */
/* Правая колонка: статы (вне панели) + сама панель. Sticky на колонке. */
.auction-rightcol {
  position: sticky;
  top: var(--auction-sticky-top);
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: calc(100vh - var(--auction-sticky-top) - var(--auction-sticky-bottom-gap));
  min-height: min(520px, calc(100vh - var(--auction-sticky-top) - var(--auction-sticky-bottom-gap)));
  max-height: calc(100vh - var(--auction-sticky-top) - var(--auction-sticky-bottom-gap));
}
.auction-right {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.auction-right .auction-panel__head {
  flex: 0 0 auto;
}

.auction-right .auction-leaderboard {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 0;
  padding-bottom: 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  overscroll-behavior: contain;
}

.auction-right .auction-leaderboard.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.auction-right .auction-leaderboard::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.auction-leaderboard-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 0 0 auto;
  margin-bottom: 10px;
}

.auction-leaderboard-tabs button {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  color: rgba(255,255,255,.62);
  background: rgba(255,255,255,.07);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}

.auction-leaderboard-tabs button:hover,
.auction-leaderboard-tabs button.is-active {
  color: #fff;
  background: rgba(255,0,84,.2);
}

.auction-leaderboard-tabs button:active {
  transform: translateY(1px);
}

.auction-rank {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) minmax(54px, auto);
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 8px 9px;
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid color-mix(in srgb, var(--owner-color, rgba(255,255,255,.07)) 28%, rgba(255,255,255,.07));
  background: linear-gradient(90deg, color-mix(in srgb, var(--owner-color, transparent) 20%, transparent), rgba(255,255,255,.04) 55%), rgba(255,255,255,.04);
  transition: transform .12s ease;
}
.auction-rank:hover { transform: translateY(-1px); }
.auction-rank.is-dimmed {
  opacity: .36;
  filter: grayscale(.35);
}
.auction-rank.is-highlighted {
  border-color: color-mix(in srgb, var(--owner-color, #ff0054) 70%, rgba(255,255,255,.16));
  box-shadow: 0 0 22px color-mix(in srgb, var(--owner-color, #ff0054) 34%, transparent);
  transform: translateY(-1px);
}
.auction-rank.is-new {
  animation: auction-rank-enter .32s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes auction-rank-enter {
  0% {
    opacity: 0;
    transform: translateY(-12px) scale(.96);
    box-shadow: 0 0 0 color-mix(in srgb, var(--owner-color, #ff0054) 0%, transparent);
  }
  55% {
    opacity: 1;
    transform: translateY(2px) scale(1.015);
    box-shadow: 0 0 22px color-mix(in srgb, var(--owner-color, #ff0054) 45%, transparent);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.auction-rank__swatch {
  display: block;
  align-self: center;
  justify-self: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 5px;
  background:
    linear-gradient(135deg,
      var(--owner-color, #ff0054),
      color-mix(in srgb, var(--owner-color, #ff0054) 45%, #0b0e16));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 0 12px color-mix(in srgb, var(--owner-color, #ff0054) 45%, transparent);
}
.auction-rank__body {
  min-width: 0;
  align-self: center;
}
.auction-rank__body strong {
  display: block;
  max-width: 100%;
  color: #fff;
  font-size: 12px;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auction-rank__meta {
  display: grid;
  justify-items: end;
  align-self: center;
  gap: 3px;
  min-width: 0;
  max-width: 82px;
  text-align: right;
}
.auction-rank__meta strong {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.05;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auction-rank__meta small {
  display: block;
  max-width: 100%;
  color: rgba(255,255,255,.48);
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.auction-winner-box {
  position: sticky;
  bottom: 0;
  flex: 0 0 auto;
  margin-top: auto; padding: 16px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,0,84,.22), rgba(255,255,255,.04));
  border: 1px solid rgba(255,0,84,.35);
  box-shadow: 0 -18px 34px rgba(12,15,24,.82);
}
.auction-winner-box small { color: rgba(255,255,255,.6); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.auction-winner-box h3 { margin: 6px 0 0; color: #fff; font-size: 22px; }
.auction-winner-box h3[hidden] { display: none; }
.auction-winner-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.auction-winner-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; font-size: 12px; }
.auction-winner-row__place { padding: 2px 7px; border-radius: 6px; background: rgba(255,0,84,.18); color: #ff5f8f; font-weight: 800; white-space: nowrap; }
.auction-winner-row strong { color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auction-winner-row em { grid-column: 1 / -1; color: rgba(255,255,255,.5); font-style: normal; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Таймер внутри блока победителя — компактные мини-боксы, чтобы влезали */
.auction-winner-box__timer { display: flex; gap: 6px; margin-top: 8px; }
.auction-winner-box__timer .auction-time-box {
  flex: 1; padding: 6px 2px; border-radius: 8px;
}
.auction-winner-box__timer .auction-time-box b { font-size: 18px; line-height: 1; }
.auction-winner-box__timer .auction-time-box small { font-size: 8px; margin-top: 3px; }

.auction-winner-box__join.hero_giveaway_participate_btn.auction-join-button {
  width: 100%;
  min-height: 45px;
  height: 45px;
  margin-top: 12px;
  padding: 0 14px;
  border-radius: 11px;
  gap: 0;
  font-size: 13px;
  font-weight: 800;
}

.auction-join-modal[hidden] { display: none; }
.auction-join-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
}
.auction-join-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 11, .78);
  backdrop-filter: blur(10px);
}
.auction-join-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(90% 70% at 18% 0%, rgba(255,0,84,.28), transparent 60%),
    linear-gradient(180deg, rgba(19, 22, 33, .98), rgba(8, 10, 16, .98));
  box-shadow: 0 28px 80px rgba(0,0,0,.58), 0 0 44px rgba(255,0,84,.18);
}
.auction-join-modal__close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.06);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.auction-join-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #ff8fbd;
  background: rgba(255,0,84,.13);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.auction-join-modal h2 {
  margin: 14px 0 8px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}
.auction-join-modal p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.5;
}
.auction-join-modal__id {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.045);
}
.auction-join-modal__id span {
  color: rgba(255,255,255,.48);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.auction-join-modal__id strong {
  min-width: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auction-join-modal__id button,
.auction-join-modal__id a {
  border: 0;
  border-radius: 8px;
  padding: 9px 11px;
  color: #fff;
  background: #ff0054;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.auction-join-modal__id button.is-copied { background: #22c55e; }
.auction-join-modal__check {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.auction-join-modal__check input { accent-color: #ff0054; }
.auction-join-modal__confirm {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #ff2f86, #ff0054 58%, #d90049);
  box-shadow: 0 14px 32px rgba(255,0,84,.28);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.auction-join-modal__confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(255,0,84,.38);
}
body.auction-join-modal-open { overflow: hidden; }

.auction-proof-modal[hidden] { display: none; }
.auction-proof-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
}
.auction-proof-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 11, .8);
  backdrop-filter: blur(10px);
}
.auction-proof-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  max-height: min(86vh, 760px);
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(90% 70% at 18% 0%, rgba(255,0,84,.24), transparent 60%),
    linear-gradient(180deg, rgba(19, 22, 33, .98), rgba(8, 10, 16, .98));
  box-shadow: 0 28px 80px rgba(0,0,0,.58), 0 0 44px rgba(255,0,84,.18);
}
.auction-proof-modal__close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.06);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.auction-proof-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  padding: 7px 10px;
  border-radius: 8px;
  color: #ff8fbd;
  background: rgba(255,0,84,.13);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.auction-proof-modal h2 {
  margin: 14px 0 8px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}
.auction-proof-modal p {
  margin: 0 42px 16px 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.5;
}
.auction-proof-modal__body {
  min-height: 120px;
  overflow: auto;
  padding-right: 4px;
}
.auction-proof-modal__body.is-loading {
  opacity: .72;
}
.auction-proof-modal__empty {
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.68);
  background: rgba(255,255,255,.045);
  font-weight: 800;
}
.auction-proof-card {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.045);
}
.auction-proof-card + .auction-proof-card { margin-top: 10px; }
.auction-proof-card__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.auction-proof-card__head strong {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}
.auction-proof-card__head span {
  padding: 6px 9px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.auction-proof-card__head .is-ok {
  color: #9dffbf;
  background: rgba(34,197,94,.14);
}
.auction-proof-card__head .is-bad {
  color: #ff9a9a;
  background: rgba(255,71,87,.14);
}
.auction-proof-card__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.auction-proof-card__stats div,
.auction-proof-card__hash {
  min-width: 0;
  padding: 10px;
  border-radius: 9px;
  background: rgba(0,0,0,.22);
}
.auction-proof-card__stats span,
.auction-proof-card__hash span {
  display: block;
  color: rgba(255,255,255,.48);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.auction-proof-card__stats strong,
.auction-proof-card__hash strong {
  display: block;
  min-width: 0;
  margin-top: 5px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auction-proof-card__winner {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}
.auction-proof-card__winner img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,0,84,.35), transparent 58%),
    rgba(255,255,255,.06);
}
.auction-proof-card__winner b,
.auction-proof-card__winner small,
.auction-proof-card__winner em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auction-proof-card__winner b {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}
.auction-proof-card__winner small {
  margin-top: 3px;
  color: rgba(255,255,255,.66);
  font-size: 12px;
  font-weight: 800;
}
.auction-proof-card__winner em {
  margin-top: 5px;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
}
.auction-proof-card__winner em span {
  color: rgba(255,255,255,.56);
}
.auction-proof-card__details {
  margin-top: 12px;
}
.auction-proof-card__details summary {
  width: max-content;
  cursor: pointer;
  color: #ffb7d1;
  font-size: 12px;
  font-weight: 900;
}
.auction-proof-card__details pre {
  max-height: 230px;
  margin: 10px 0 0;
  overflow: auto;
  padding: 10px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  background: rgba(0,0,0,.28);
  font-size: 11px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.auction-proof-card__hash {
  margin-top: 10px;
}
.auction-proof-card__external {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, auto);
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,0,84,.22);
  background:
    linear-gradient(90deg, rgba(255,0,84,.12), rgba(255,255,255,.04)),
    rgba(0,0,0,.2);
}
.auction-proof-card__external b,
.auction-proof-card__external small {
  display: block;
  min-width: 0;
}
.auction-proof-card__external b {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.auction-proof-card__external small {
  margin-top: 3px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}
.auction-proof-card__external button {
  min-height: 34px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 0 10px;
  color: #fff;
  background: rgba(255,255,255,.07);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}
.auction-proof-card__external button:first-of-type {
  border-color: rgba(255,0,84,.52);
  background: linear-gradient(135deg, #ff2f86, #ff0054 58%, #d90049);
  box-shadow: 0 10px 24px rgba(255,0,84,.2);
}
.auction-proof-card__external button.is-copied {
  border-color: rgba(34,197,94,.45);
  background: rgba(34,197,94,.28);
}
body.auction-proof-modal-open { overflow: hidden; }

.auction-prizes-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  padding: 16px;
  overflow: hidden;
}

.auction-prizes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(238px, .72fr);
  gap: 18px;
  align-items: stretch;
  min-width: 0;
}

.auction-prizes-track-wrap {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 10px;
  cursor: grab;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent);
}

.auction-prizes-track-wrap.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.auction-prizes-track-wrap::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.auction-prizes-stats {
  min-width: 0;
  width: 100%;
  padding: 16px;
}

.auction-prizes-stats h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.auction-prizes-stats dl {
  display: grid;
  gap: 13px;
  margin: 0;
}

.auction-prizes-stats dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.auction-prizes-stats dt {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: rgba(255,255,255,.38);
  font-size: 13px;
  font-weight: 800;
}

.auction-prizes-stats dt::after {
  content: "";
  flex: 1 1 auto;
  min-width: 24px;
  height: 1px;
  background: rgba(255,255,255,.15);
}

.auction-prizes-stats dd {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  text-align: right;
  white-space: nowrap;
}

.auction-prizes-stats dd span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auction-prizes-stats dd small {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 7px;
  background: #ff0054;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(255, 0, 84, .22);
}

.auction-stat-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: #ff0054;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(255, 0, 84, .24);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.auction-stat-action:hover {
  transform: translateY(-1px);
  background: #ff2b72;
  box-shadow: 0 12px 26px rgba(255, 0, 84, .34);
}

.auction-hero__prizes {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  width: max-content;
  min-width: 100%;
  padding: 0 28px 10px 0;
  overflow: hidden;
  background: transparent;
}

.auction-hprize {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  grid-template-rows: 92px auto;
  align-items: end;
  gap: 8px;
  width: 176px;
  min-height: 174px;
  padding: 16px 12px 12px;
  border-radius: 15px;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 28% 16%, rgba(255,0,84,.22), transparent 58%),
    linear-gradient(180deg, rgba(31, 25, 49, .9), rgba(13, 15, 29, .96));
  border: 1px solid rgba(255,255,255,.06);
  scroll-snap-align: start;
}

.auction-hprize--consumer {
  background:
    radial-gradient(88% 70% at 32% 14%, rgba(176, 195, 217, .22), transparent 60%),
    linear-gradient(180deg, rgba(23, 25, 32, .94), rgba(13, 15, 29, .96));
}

.auction-hprize--restricted {
  background:
    radial-gradient(88% 70% at 32% 14%, rgba(136, 71, 255, .42), transparent 60%),
    linear-gradient(180deg, rgba(30, 22, 61, .96), rgba(13, 15, 29, .96));
}

.auction-hprize--classified {
  background:
    radial-gradient(88% 70% at 32% 14%, rgba(211, 44, 230, .42), transparent 60%),
    linear-gradient(180deg, rgba(40, 19, 54, .96), rgba(13, 15, 29, .96));
}

.auction-hprize--covert {
  background:
    radial-gradient(88% 70% at 32% 14%, rgba(235, 75, 75, .4), transparent 60%),
    linear-gradient(180deg, rgba(56, 19, 25, .96), rgba(13, 15, 29, .96));
}

.auction-hprize--rare,
.auction-hprize--knife {
  background:
    radial-gradient(88% 70% at 32% 14%, rgba(255, 215, 0, .34), transparent 60%),
    linear-gradient(180deg, rgba(50, 41, 20, .96), rgba(13, 15, 29, .96));
}

.auction-hprize--milspec,
.auction-hprize--mil-spec {
  background:
    radial-gradient(88% 70% at 32% 14%, rgba(75, 105, 255, .36), transparent 60%),
    linear-gradient(180deg, rgba(20, 32, 58, .96), rgba(13, 15, 29, .96));
}

.auction-hprize--industrial {
  background:
    radial-gradient(88% 70% at 32% 14%, rgba(94, 152, 217, .36), transparent 60%),
    linear-gradient(180deg, rgba(20, 38, 58, .96), rgba(13, 15, 29, .96));
}

.auction-hprize[style*="--rarity-color"] {
  background:
    radial-gradient(88% 70% at 32% 14%, color-mix(in srgb, var(--rarity-color) 34%, transparent), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--rarity-color) 18%, rgba(31, 25, 49, .96)), rgba(13, 15, 29, .96)) !important;
  border-color: color-mix(in srgb, var(--rarity-color) 24%, rgba(255,255,255,.06));
}

.auction-hprize__thumb {
  align-self: center;
  justify-self: center;
  width: 100%;
  height: 92px;
  border-radius: 8px;
  background: transparent;
}
.auction-hprize__thumb .auction-park__item-art { width: 100%; height: 100%; }
.auction-hprize__thumb .auction-park__cover { display: none; }
.auction-hprize__thumb .auction-park__item-art img {
  width: 124px;
  height: 78px;
  max-width: 100%;
  object-fit: contain;
}
.auction-hprize__thumb .auction-park__item-art::before { width: 62px; height: 76px; opacity: .68; }
.auction-hprize__place {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 3;
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #ff2f86, #ff0054 60%, #d90049);
  box-shadow: 0 4px 12px rgba(255,0,84,.34);
  line-height: 1;
}

.auction-hprize__body {
  min-width: 0;
  text-align: center;
}
.auction-hprize__title {
  margin: 0;
  font-size: 17px; font-weight: 900; color: #fff; line-height: 1.12;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.auction-hprize__subtitle {
  margin: 3px 0 0;
  font-size: 12px; font-weight: 800; color: rgba(255,255,255,.36); line-height: 1.1;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.auction-hprize__price-chip {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 0;
  border-radius: 0;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  background: transparent;
  line-height: 1;
}

/* ===== Профессиональная анимация прокрутки ===== */

/* Активная ячейка во время крутки — голова змейки */
.auction-ticket.is-spinning {
  outline: 3px solid #ffd84d;
  transform: scale(1.22);
  z-index: 4;
  box-shadow: 0 0 26px rgba(255,216,77,.85), 0 0 60px rgba(255,216,77,.3);
  transition: transform .12s cubic-bezier(.2,.8,.3,1), box-shadow .12s, outline-color .25s, opacity .35s;
}

/* Хвост змейки = комета: ближе к голове ярче и больше, дальше — почти прозрачно.
   --tail-life задаётся JS (1 = свежее звено, 0 = самое старое в хвосте). */
.auction-ticket.is-spinning-tail {
  --tail-life: 0.5;
  outline: 2px solid rgba(255, 216, 77, calc(var(--tail-life) * 0.85));
  box-shadow:
    0 0 calc(var(--tail-life) * 22px) rgba(255, 216, 77, calc(var(--tail-life) * 0.75)),
    0 0 calc(var(--tail-life) * 44px) rgba(255, 216, 77, calc(var(--tail-life) * 0.25));
  transform: scale(calc(1 + var(--tail-life) * 0.18));
  z-index: 3;
  /* Плавно анимируем выезд/выцветание (свойства, на которые сработает transition). */
  transition: transform .25s ease, box-shadow .25s ease, outline-color .25s ease;
}

/* Подсветка карточки приза, который сейчас разыгрывается */
.auction-hprize.is-being-drawn {
  position: relative;
  border-radius: 12px;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(255,0,84,.22);
  z-index: 5;
  transition: transform .25s ease;
}
.auction-hprize.is-being-drawn::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  padding: 2px;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(255,255,255,.18) 16%,
      #fff 28%,
      #ff8fcb 42%,
      #ff0054 56%,
      rgba(156,92,255,.9) 72%,
      transparent 100%);
  background-size: 240% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(255,0,84,.75)) drop-shadow(0 0 24px rgba(156,92,255,.42));
  animation: auctionPrizeScan 1.35s linear infinite;
}
.auction-hprize.is-being-drawn::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: -4px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #fff 20%, #ff8fcb 46%, #ff0054 70%, transparent);
  box-shadow: 0 0 18px rgba(255,0,84,.9), 0 0 36px rgba(156,92,255,.45);
  pointer-events: none;
  animation: auctionPrizeLine 1.35s ease-in-out infinite alternate;
}
@keyframes auctionPrizeScan {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}
@keyframes auctionPrizeLine {
  from { transform: translateY(0); opacity: .8; }
  to { transform: translateY(calc(100% + 158px)); opacity: .35; }
}

/* Финальная ячейка — победитель 1-го места */
.auction-ticket.is-winner {
  outline: 3px solid #fff;
  box-shadow:
    0 0 0 4px rgba(255,0,84,.55),
    0 0 32px rgba(255,0,84,1),
    0 0 80px rgba(255,0,84,.6);
  transform: scale(1.32);
  z-index: 5;
  animation: auctionWinnerPulse 1.6s ease-out infinite;
}
@keyframes auctionWinnerPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,0,84,.55), 0 0 32px rgba(255,0,84,1), 0 0 80px rgba(255,0,84,.6); }
  50%      { box-shadow: 0 0 0 7px rgba(255,0,84,.35), 0 0 44px rgba(255,0,84,1), 0 0 110px rgba(255,0,84,.45); }
}

/* Ячейки победителей 2..N мест — мягкая подсветка, чтобы видно было всех */
.auction-ticket.is-winner-secondary {
  outline: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 0 20px rgba(33,169,255,.65), 0 0 44px rgba(33,169,255,.25);
  transform: scale(1.16);
  z-index: 3;
}

/* Во время прокрутки приглушаем "фон" — фокус на активной ячейке */
.auction-page.is-spinning .auction-tickets-grid {
  scroll-behavior: auto;
  overscroll-behavior: contain;
}
.auction-page.is-spinning .auction-ticket:not(.is-spinning):not(.is-spinning-tail):not(.is-winner):not(.is-winner-secondary) {
  opacity: .55;
  filter: saturate(.65);
  transition: opacity .35s, filter .35s;
}

/* После завершения крутки / для уже завершённого аукциона:
   сильно гасим все не-выигравшие ячейки, чтобы победители ярко выделялись. */
.auction-page.is-spin-complete .auction-ticket:not(.is-winner):not(.is-winner-secondary):not(.auction-ticket--phantom) {
  opacity: .14;
  filter: grayscale(.7) brightness(.7);
  transition: opacity .9s ease, filter .9s ease;
}
.auction-page.is-spin-complete .auction-ticket--phantom {
  opacity: .35;
}

.auction-proof-link {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.055);
  font-size: 11px;
  font-weight: 900;
  font-family: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.auction-proof-link:hover {
  color: #fff;
  border-color: rgba(255,0,84,.45);
}

/* В режиме объявления/уже-объявлено: таймер прячем (его место занимает
   список победителей), а кнопку «ПРИНЯТЬ УЧАСТИЕ» оставляем видимой, но
   принудительно переводим в disabled-вид «ЗАВЕРШЕН» (JS меняет текст). */
.auction-winner-box--reveal .auction-winner-box__timer {
  display: none !important;
}

/* Выделение 1-го места в списке победителей: крупнее, ярче. */
.auction-winner-row--first {
  padding: 14px 14px;
  background: linear-gradient(135deg, rgba(255,0,84,.32), rgba(255,0,84,.08));
  border-color: rgba(255,0,84,.55);
  box-shadow: 0 6px 22px rgba(255,0,84,.25);
}
.auction-winner-row--first .auction-winner-row__place {
  padding: 5px 12px;
  font-size: 12px;
  letter-spacing: .8px;
  box-shadow: 0 3px 14px rgba(255,0,84,.55);
}
.auction-winner-row--first strong {
  font-size: 20px;
  letter-spacing: .3px;
}
.auction-winner-row--first em {
  font-size: 13px;
  color: rgba(255,255,255,.8);
}
.auction-winner-row--first .auction-winner-prize__text span {
  font-size: 19px;
}
.auction-winner-row--first .auction-winner-prize__text small {
  font-size: 13px;
  color: rgba(255,255,255,.72);
}
.auction-page.is-spinning .auction-right {
  will-change: auto;
}

/* ===== Раскрытие списка победителей ===== */

/* Контейнер автоматически растёт по высоте под N мест. Никаких max-height. */
.auction-winner-box {
  transition: box-shadow .35s, border-color .35s, background .35s;
}
.auction-winner-box--reveal {
  border-color: rgba(255,0,84,.75);
  box-shadow: 0 -22px 50px rgba(255,0,84,.35), 0 -18px 34px rgba(12,15,24,.82);
  background: linear-gradient(135deg, rgba(255,0,84,.32), rgba(255,255,255,.06));
}
.auction-winner-list {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  overscroll-behavior: contain;
}
.auction-winner-list.is-dragging {
  cursor: grabbing;
  user-select: none;
}
.auction-winner-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Строка победителя: место (chip) — ник — приз (вторая строка). */
.auction-winner-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.07);
  font-size: 13px;
}
.auction-winner-row__place {
  padding: 3px 9px;
  border-radius: 7px;
  background: linear-gradient(135deg, #ff0054, #c8003f);
  color: #fff;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .5px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(255,0,84,.4);
}
.auction-winner-row strong {
  color: #fff;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auction-winner-row em {
  grid-column: 1 / -1;
  color: rgba(255,255,255,.65);
  font-style: normal;
  font-size: 11.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-winner-prize {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.auction-winner-prize__thumb {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #282a2d, #2b2d33);
  border: 0;
  box-shadow: none;
}

.auction-winner-prize__thumb::before {
  display: none;
}

.auction-winner-prize__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 1;
  background:
    radial-gradient(90% 70% at 28% 16%, rgba(255,0,84,.42), transparent 58%),
    radial-gradient(70% 46% at 0% 100%, rgba(255,0,84,.22), transparent 62%),
    radial-gradient(62% 44% at 100% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(31, 25, 49, .9), rgba(13, 15, 29, .96));
}

.auction-winner-prize__thumb img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  filter: drop-shadow(0 8px 11px rgba(0,0,0,.38));
}

.auction-winner-prize__text {
  min-width: 0;
}

.auction-winner-prize__text span {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.08;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auction-winner-prize__text small {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Поочерёдный вход строк победителей (stagger через animation-delay в JS) */
.auction-winner-row--enter {
  opacity: 0;
  transform: translateY(10px) scale(.96);
  animation: auctionWinnerRowEnter .55s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes auctionWinnerRowEnter {
  0%   { opacity: 0; transform: translateY(14px) scale(.94); }
  60%  { opacity: 1; transform: translateY(-2px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1240px) {
  .auction-shell { grid-template-columns: 1fr; }
  .auction-park, .auction-rightcol { order: 2; }
  .auction-center { order: 1; }
  .auction-park,
  .auction-rightcol {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .auction-park__list,
  .auction-right .auction-leaderboard {
    max-height: 420px;
  }
}

@media (max-width: 1120px) {
  .auction-hero,
  .auction-grid {
    grid-template-columns: 1fr;
  }

  .auction-prizes-layout {
    grid-template-columns: 1fr;
  }

  .auction-prizes-stats {
    padding-top: 4px;
  }

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

@media (max-width: 640px) {
  .auction-hero__content {
    padding: 28px 18px;
  }

  .auction-hero h1 {
    font-size: 32px;
  }

  .auction-hero__stats {
    grid-template-columns: 1fr;
  }

  .auction-panel {
    padding: 16px;
  }

  .auction-prizes {
    grid-template-columns: 1fr;
  }
}

/* ===== Responsive endpoints: mobile / tablet / desktop ===== */
.auction-page-component {
  margin-left: var(--site-edge, 16px);
  margin-right: var(--site-edge, 16px);
  width: auto;
  max-width: calc(100% - (var(--site-edge, 16px) * 2));
  min-width: 0;
  overflow-x: clip;
  overflow-y: visible;
}

.auction-page {
  --auction-page-gap: 16px;
  overflow-x: clip;
  overflow-y: visible;
}

.auction-shell,
.auction-center,
.auction-prizes-layout,
.auction-prizes-panel,
.auction-prizes-stats,
.auction-rightcol,
.auction-right,
.auction-park {
  min-width: 0;
  max-width: 100%;
}

.auction-shell,
.auction-center {
  overflow-x: clip;
  overflow-y: visible;
}

.hero_giveaway_participate_btn.auction-join-button {
  max-width: 100%;
  white-space: normal;
}

@media (min-width: 1200px) {
  .auction-shell {
    grid-template-columns: minmax(250px, 333px) minmax(0, 1fr) minmax(248px, 276px);
    gap: var(--auction-page-gap);
  }

  .auction-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    min-height: clamp(390px, 34vw, 440px);
    overflow: visible;
  }

  .auction-hero h1 {
    font-size: clamp(38px, 3.25vw, 52px);
  }

  .auction-hero__label {
    font-size: clamp(22px, 2.2vw, 32px);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .auction-page {
    --auction-sticky-top: 92px;
    --auction-page-gap: 14px;
    padding-bottom: 36px;
    overflow-x: clip;
    overflow-y: visible;
  }

  .auction-shell {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 34%);
    grid-template-areas:
      "center center"
      "park right";
    gap: var(--auction-page-gap);
  }

  .auction-center {
    grid-area: center;
  }

  .auction-park {
    grid-area: park;
  }

  .auction-rightcol {
    grid-area: right;
  }

  .auction-park,
  .auction-rightcol {
    position: relative;
    top: auto;
    height: auto;
    max-height: none;
  }

  .auction-park__list,
  .auction-right .auction-leaderboard {
    max-height: 380px;
  }

  .auction-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 38%);
    min-height: 380px;
    overflow: visible;
  }

  .auction-hero__content {
    padding: 34px 0 34px 30px;
  }

  .auction-hero h1 {
    max-width: 560px;
    font-size: 38px;
  }

  .auction-hero__label {
    font-size: 24px;
  }

  .auction-hero p {
    max-width: 560px;
    font-size: 15px;
    line-height: 1.55;
  }

  .hero_giveaway_participate_btn.auction-join-button,
  .auction-rules__button {
    min-height: 54px;
    padding-inline: 20px;
  }

  .auction-prizes-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .auction-prizes-panel {
    width: 100%;
    max-width: 100%;
  }

  .auction-prizes-track-wrap {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
  }
}

@media (max-width: 767px) {
  .auction-page-component {
    margin: 8px;
    padding: 10px;
    width: auto;
    max-width: calc(100% - 16px);
    overflow-x: clip;
    overflow-y: visible;
  }

  .auction-page {
    --auction-sticky-top: 76px;
    --auction-page-gap: 12px;
    padding-bottom: 24px;
    width: 100%;
    overflow-x: clip;
    overflow-y: visible;
  }

  .auction-shell {
    display: flex;
    flex-direction: column;
    gap: var(--auction-page-gap);
    width: 100%;
    overflow-x: clip;
    overflow-y: visible;
  }

  .auction-center {
    order: 1;
    gap: var(--auction-page-gap);
  }

  .auction-park {
    order: 2;
  }

  .auction-rightcol {
    order: 3;
  }

  .auction-park,
  .auction-rightcol {
    position: relative;
    top: auto;
    height: auto;
    max-height: none;
  }

  .auction-panel {
    padding: 14px;
    border-radius: 12px;
    width: 100%;
    overflow: hidden;
  }

  .auction-panel.auction-hero {
    padding: 0;
    overflow: visible;
  }

  .auction-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
    border-radius: 14px;
  }

  .auction-hero__shade {
    background:
      radial-gradient(circle at 86% 18%, rgba(255,0,84,.28), transparent 34%),
      linear-gradient(180deg, rgba(7,9,15,.98) 0%, rgba(8,10,18,.88) 58%, rgba(8,10,18,.62) 100%);
  }

  .auction-hero .auction-kicker--corner {
    top: 12px;
    right: 12px;
    min-height: 30px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .auction-hero__content {
    padding: 54px 16px 18px;
    gap: 10px;
  }

  .auction-hero__label {
    font-size: 17px;
  }

  .auction-hero h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.08;
  }

  .auction-hero p {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.45;
  }

  .auction-hero__actions {
    gap: 8px;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .hero_giveaway_participate_btn.auction-join-button,
  .auction-rules__button {
    min-height: 46px;
    width: 100%;
    max-width: 100%;
    padding-inline: 14px;
    border-radius: 12px;
    font-size: 13px;
    white-space: normal;
  }

  .auction-rules,
  .auction-rules__body {
    width: 100%;
  }

  .auction-rules__body {
    left: 0;
    right: 0;
    width: auto;
  }

  .auction-rate-card {
    min-height: 0;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 12px;
  }

  .auction-rate-card strong {
    font-size: 13px;
  }

  .auction-hero__visual {
    min-height: 190px;
    margin-top: -10px;
    overflow: visible;
  }

  .auction-hero__plate-stack {
    left: 54%;
    height: 230px;
  }

  .auction-hero__item {
    right: 11%;
    bottom: 21%;
    width: min(46%, 180px);
    max-height: 118px;
  }

  .auction-prizes-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .auction-prizes-panel,
  .auction-prizes-stats {
    width: 100%;
    max-width: 100%;
    padding: 12px;
  }

  .auction-prizes-track-wrap {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
  }

  .auction-hero__prizes {
    width: max-content;
    min-width: 100%;
    max-width: none;
  }

  .auction-hprize {
    width: 148px;
    min-height: 158px;
    grid-template-rows: 78px auto;
  }

  .auction-hprize__title {
    font-size: 14px;
  }

  .auction-hprize__subtitle {
    font-size: 11px;
  }

  .auction-prizes-stats dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .auction-prizes-stats dt::after {
    display: none;
  }

  .auction-prizes-stats dd {
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
  }

  .auction-tickets-grid {
    grid-template-columns: repeat(auto-fill, minmax(24px, 1fr));
    gap: 5px;
    margin: -8px;
    padding: 8px;
    overflow: hidden;
  }

  .auction-park__list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, min(244px, 82vw));
    width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
  }

  .auction-park__prize-tooltip,
  .auction-ticket:not(.auction-ticket--phantom)::after,
  .auction-ticket:not(.auction-ticket--phantom)::before {
    display: none;
  }

  .auction-park__item {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 112px;
    padding: 10px;
  }

  .auction-park__item-art img {
    width: 78px;
    height: 66px;
  }

  .auction-park__skin-subtitle {
    max-width: 100%;
  }

  .auction-right .auction-leaderboard {
    max-height: none;
    overflow: auto;
  }

  .auction-rank {
    min-height: 46px;
    padding: 9px;
    grid-template-columns: 18px minmax(0, 1fr) minmax(58px, auto);
  }

  .auction-winner-list {
    max-height: none;
  }

  .auction-proof-modal {
    padding: 10px;
  }

  .auction-proof-modal__dialog {
    max-height: 92vh;
    padding: 16px;
  }

  .auction-proof-modal h2 {
    font-size: 24px;
  }

  .auction-proof-modal p {
    margin-right: 0;
  }

  .auction-proof-card__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auction-proof-card__winner {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .auction-proof-card__winner img {
    width: 54px;
    height: 54px;
  }

  .auction-proof-card__external {
    grid-template-columns: 1fr;
  }

  .auction-proof-card__external button {
    width: 100%;
  }
}
