/* Creator portraits use the same real skins as the client. */
.partner-card.partner-creator {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
  border: 1px solid var(--kh-line);
  background: var(--kh-surface);
}
.partner-card.partner-creator:hover { transform: none; border-color: #c8c8c8; box-shadow: 0 12px 28px #0000000d; }
.partner-card.creator-plus-card {
  border-color: #d8d8d8; }
.creator-stage { position: relative; isolation: isolate; min-height: 245px; overflow: hidden; background: #181818; }
.creator-stage::before { content: ''; position: absolute; inset: calc(var(--partner-backdrop-blur) * -2); z-index: -2; background: url('/assets/partners-bridge-v1.webp') center 48% / cover; filter: blur(var(--partner-backdrop-blur)); opacity: .4; }
.creator-stage::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #101010cc, #10101022 78%), linear-gradient(0deg, #101010 0%, #10101055 55%, transparent); }
.creator-plus-card .creator-stage { min-height: 278px; background: #202228; }
.creator-plus-card .creator-stage::before { background-image: url('/assets/partners-plaza-v1.webp'); background-position: center 42%; opacity: .3; }
.creator-card-top { position: relative; z-index: 4; display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 20px 22px; }
.creator-card-top .partner-platforms { flex: 1; width: auto; min-width: 0; gap: 6px 13px; }
.creator-card-top .partner-platform { position: static; min-height: 25px; max-width: 100%; padding: 4px 7px; border: 0; border-radius: 5px; background: #0b0c0e77; color: #ececf2; font-size: 10px; font-weight: 600; letter-spacing: .01em; }
.creator-card-top .partner-platform[data-platform] { border: 0; }
.creator-card-top .partner-platform img { width: 13px; height: 13px; }
.creator-card-top .partner-platform > span { max-width: 150px; }
.creator-tier-badge { display: inline-flex; flex: none; align-items: center; gap: 5px; min-height: 25px; padding: 4px 8px; border-radius: 5px; font-size: 10px; white-space: nowrap; border: 1px solid #ff3559; background: var(--kh-accent); color: #fff; font-weight: 700; }
.creator-tier-badge svg { width: 11px; height: 11px; }
.creator-visual { position: absolute; right: 2px; bottom: -38px; z-index: 1; display: grid; place-items: center; width: 188px; height: 248px; pointer-events: none; }
.creator-portrait { display: block; width: 100%; height: 100%; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 10px 12px #0008); }
.creator-plus-card .creator-visual { right: 28px; bottom: -50px; width: 222px; height: 295px; }
.creator-portrait.is-photo { border-radius: 12px; object-fit: cover; }
.creator-visual.is-head-fallback { right: 24px; bottom: 60px; width: 106px; height: 106px; }
.creator-portrait.is-head { border: 1px solid #ffffff25; border-radius: 13px; image-rendering: pixelated; }
.creator-initials { color: #f0f0f3; font-size: 62px; font-weight: 600; letter-spacing: -.06em; }
.creator-stage-identity { position: absolute; left: 22px; bottom: 22px; z-index: 3; max-width: 72%; text-shadow: 0 2px 12px #000a; }
.creator-stage-identity .partner-name-row { gap: 8px; }
.creator-stage-identity .partner-name { margin: 0; color: #fff; font-size: 28px; font-weight: 600; letter-spacing: -.045em; line-height: 1.12; }
.creator-plus-card .creator-stage-identity { left: 26px; bottom: 26px; max-width: 62%; }
.creator-plus-card .partner-name { font-size: 36px; }
.creator-stage-identity .partner-verified { color: #d8d8e0; }
.creator-stage-identity .partner-verified svg { width: 15px; height: 15px; }
.creator-stage-identity .partner-meta { display: flex; flex-direction: column; align-items: start; gap: 5px; margin-top: 9px; color: #c6c6d0; font-size: 10px; line-height: 1.6; }
.creator-stage-identity .partner-meta > span:first-child { max-width: 100%; }
.creator-stage-identity .partner-presence { color: #d5d5dd; font-size: 10px; }
.creator-stage-identity .partner-presence.live { color: #ffbec7; }
.creator-footer { display: flex; flex: 1; flex-direction: column; padding: 10px 20px 18px; border-top: 1px solid var(--kh-line); }
.creator-footer .partner-coupon { flex: 1; min-height: 44px; margin: 0; padding: 0; border: 0; background: none; font-size: 10px; color: var(--kh-muted); }
.creator-footer .partner-coupon strong { margin-left: 6px; font-size: 11px; font-weight: 600; letter-spacing: .07em; color: var(--kh-text); }
.creator-footer .partner-copy { font-size: 10px !important; color: var(--kh-soft); }
.creator-footer .partner-copy:hover {
  color: #b50020; }
.creator-channel { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 0; min-height: 44px; margin: 0; overflow: hidden; font-size: 10px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; color: var(--kh-muted); }
a.creator-channel:hover {
  color: #b50020; }
.creator-channel > svg { width: 11px; height: 11px; flex: none; }
.creator-footer .partner-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 0; padding-top: 3px; border: 0; }
.creator-footer .partner-secondary { justify-content: start; min-height: 44px; padding: 0; border: 0; background: none; font-size: 11px; color: var(--kh-soft); font-weight: 600; }
.creator-footer .partner-secondary:hover { background: none; text-decoration: underline; text-underline-offset: 4px; color: var(--kh-text); }
.creator-footer .partner-primary { flex: none; justify-content: center; gap: 13px; min-height: 44px; padding: 0 13px; font-size: 11px; border: 1px solid var(--kh-line-strong); border-radius: 8px; background: #fff; color: var(--kh-text); font-weight: 700; }
.creator-footer .partner-primary:hover { border-color: #bcbcbc; background: #eaeaea; color: var(--kh-text); }
.creator-footer .partner-primary.live-link { border-color: #efc4cc; background: #fff0f3; color: #b50020; }
@media (min-width: 1200px) {
  .creator-plus-card .creator-stage { min-height: 260px; }
  .creator-plus-card .creator-footer { flex-direction: row; align-items: center; gap: 22px; padding: 13px 22px; }
  .creator-plus-card .creator-footer .partner-coupon, .creator-plus-card .creator-channel { flex: 1; min-width: 0; margin-right: auto; }
  .creator-plus-card .creator-footer .partner-actions { flex: none; gap: 20px; padding-top: 0; }
}
@media (max-width: 960px) {
  .creator-plus-card .creator-visual { right: 0; width: 202px; height: 268px; }
  .creator-plus-card .creator-stage { min-height: 260px; }
  .creator-plus-card .partner-name { font-size: 30px; }
}
@media (max-width: 680px) {
  .creator-stage { min-height: 245px; }
  .creator-plus-card .creator-stage { min-height: 274px; }
  .creator-plus-card .creator-visual { right: 4px; width: 218px; height: 288px; }
  .creator-plus-card .creator-stage-identity { left: 22px; bottom: 24px; max-width: 72%; }
  .creator-plus-card .partner-name { font-size: 32px; }
}
@media (max-width: 360px) {
  .creator-card-top { padding-inline: 18px; }
  .creator-stage-identity, .creator-plus-card .creator-stage-identity { left: 18px; }
  .creator-stage-identity .partner-name { font-size: 25px; }
  .creator-plus-card .partner-name { font-size: 29px; }
  .creator-visual { right: -16px; width: 177px; height: 235px; }
  .creator-plus-card .creator-visual { right: -16px; width: 205px; height: 270px; }
  .creator-footer { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) { .partner-card.partner-creator { transition: none; } }
