.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: var(--ui-border) solid var(--place-mark);
  background: var(--place-panel);
}

.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;
}

.dealer-figure:active {
  filter: brightness(1.3);
}

@keyframes dealer-sway {
  0%,
  100% {
    transform: rotate(-2deg) scale(1);
  }
  50% {
    transform: rotate(2deg) scale(1.02, 0.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: 0.14em;
  text-transform: uppercase;
  color: var(--place-mark);
}

.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 0.28s cubic-bezier(0.3, 1.7, 0.5, 1);
}

@keyframes dealer-pop {
  0% {
    transform: scale(0.86);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.dealer-caption {
  font-weight: 800;
  font-size: 12px;
  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: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.dealer-section-title span {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 12px;
  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-callout {
  position: absolute;
  left: 10px;
  right: 10px;
  top: calc(58px + var(--sat));
  z-index: calc(var(--layer-flash) + 1);
  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;
}
