.dealer-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dealer-card {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  border-radius: 22px;
  padding: 10px 12px 10px 6px;
  border: 2px solid #F5B400;
  background: linear-gradient(135deg, rgba(122, 63, 200, .38), rgba(20, 12, 26, .78));
  box-shadow: 0 0 22px rgba(245, 180, 0, .28), inset 0 0 30px rgba(224, 36, 58, .18);
}

.dealer-figure {
  width: 128px;
  height: 142px;
  padding: 0;
  border: 0;
  background: none;
  transform-origin: 50% 100%;
  animation: dealer-sway 3.2s ease-in-out infinite;
}

@keyframes dealer-sway {
  0%, 100% {
    transform: rotate(-2deg) scale(1);
  }
  50% {
    transform: rotate(2deg) scale(1.02, .98);
  }
}

.dealer-talk {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.dealer-name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #F5B400;
}

.dealer-bubble {
  position: relative;
  border: 2.5px solid #0B0910;
  border-radius: 16px;
  padding: 9px 12px;
  background: #FBF3F6;
  color: #0B0910;
  font-weight: 900;
  font-size: 14.5px;
  line-height: 1.25;
  box-shadow: 3px 3px 0 #0B0910;
  text-align: left;
}

.dealer-bubble::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 16px;
  width: 14px;
  height: 14px;
  background: #FBF3F6;
  border-left: 2.5px solid #0B0910;
  border-bottom: 2.5px solid #0B0910;
  transform: rotate(45deg);
}

.dealer-bubble.pop {
  animation: dealer-pop .28s cubic-bezier(.3, 1.7, .5, 1);
}

@keyframes dealer-pop {
  0% {
    transform: scale(.86);
    opacity: .3;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.dealer-caption {
  font-weight: 800;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--ink2);
}

.dealer-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.dealer-section-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 4px 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}

.dealer-section-title span {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink2);
}

.dealer-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.dealer-tile {
  position: relative;
  display: grid;
}

.dealer-tile .gcard {
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px 12px;
}

.dealer-tile .gcard .ic {
  width: 52px;
  height: 52px;
  border-radius: 15px;
}

.dealer-tile .gcard .ic svg {
  width: 36px;
  height: 36px;
}

.dealer-tile .gcard b {
  font-size: 17px;
}

.dealer-tile .gcard .muted {
  font-size: 12.5px;
  line-height: 1.3;
}

.dealer-tile.has-versus .gcard {
  padding-right: 66px;
}

.dealer-tile.has-versus .gcard > svg {
  display: none;
}

.dealer-versus {
  position: absolute;
  top: 50%;
  right: 10px;
  min-width: 46px;
  min-height: 44px;
  transform: translateY(-50%);
  border: 2px solid #E0243A;
  border-radius: 14px;
  padding: 2px 8px;
  background: #3A0508;
  color: #FF2A44;
  font-family: var(--f-horror);
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 0 12px rgba(224, 36, 58, .4);
}

.dealer-versus:disabled {
  opacity: .45;
}

.dealer-callout {
  position: absolute;
  left: 10px;
  right: 10px;
  top: calc(58px + var(--sat));
  z-index: 70;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  pointer-events: none;
  animation: dealer-callout 2.6s ease-in-out both;
}

.dealer-callout .dealer-svg,
.dealer-verdict .dealer-svg,
.dealer-sheet-host .dealer-svg {
  width: 84px;
  height: 66px;
}

@keyframes dealer-callout {
  0% {
    opacity: 0;
    transform: translateY(-14px);
  }
  10%, 86% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.dealer-verdict,
.dealer-sheet-host {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  width: 100%;
  max-width: 330px;
}
