.influencer-store-page {
  padding: 24px 0 40px;
}

.influencer-store-page .freight-store-preview {
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.freight-store-preview {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.freight-store-preview > .store-hero-sticky-top {
  background: #fff;
  padding: 24px 24px 14px;
  border-radius: 12px 12px 0 0;
}

.freight-store-preview > .fsp-hero {
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 0 24px 24px;
  margin-bottom: 0;
}

.fsp-hero {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

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

.fsp-hero__brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.fsp-hero__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
}

.fsp-hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fsp-hero__avatar--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
}

.fsp-hero__name {
  margin: 0 0 8px;
  font-size: 24px;
}

.fsp-hero__company {
  margin: 0 0 6px;
  color: #333;
  font-size: 14px;
}

.fsp-hero__slogan {
  margin: 0 0 10px;
  color: #666;
}

.fsp-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fsp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 0;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.fsp-stat {
  text-align: center;
}

.fsp-stat__value {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
}

.fsp-stat__label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #999;
}

.fsp-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  margin-top: 24px;
}

.fsp-main,
.fsp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.fsp-main > .detail-section,
.fsp-sidebar > .sidebar-section {
  margin: 0;
}

.fsp-tag-group:last-child {
  margin-bottom: 0;
}

.fsp-anchor-nav {
  flex-shrink: 0;
}

.freight-store-preview .detail-section[id],
.freight-store-preview .sidebar-section[id] {
  scroll-margin-top: calc(var(--site-header-height) + var(--store-anchor-offset, 12px));
}

.fsp-tag-group {
  margin-bottom: 16px;
}

.fsp-tag-group h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #666;
}

.fsp-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fsp-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f0f7ff;
  color: #1677ff;
  font-size: 13px;
}

.fsp-bio,
.fsp-advanced-block p,
.fsp-empty-tip {
  color: #555;
  line-height: 1.7;
}

.fsp-advanced-block {
  margin-bottom: 16px;
}

.fsp-advanced-block h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

.freight-tag-group {
  margin-bottom: 20px;
}

.freight-tag-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.freight-tag-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
}

.freight-tag-section {
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef0f3;
}

.freight-tag-section--optional {
  border-bottom: none;
  padding-bottom: 0;
}

.freight-tag-section__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.freight-tag-section__head h4 {
  margin: 0;
  font-size: 16px;
}

.freight-tag-section__badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
}

.freight-tag-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.freight-tag-section__body {
  margin-top: 8px;
  padding: 16px;
  border-radius: 8px;
  background: #f8fafc;
}

.freight-region-tags {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #e5e7eb;
}

.freight-region-tags__head h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.freight-region-tags__panel {
  margin: 12px 0 16px;
}

.freight-region-tags__empty {
  margin: 0;
  color: #9ca3af;
  font-size: 13px;
}

.freight-region-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.freight-region-tags__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
}

.freight-region-tags__remove {
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

.freight-region-tags__lock-notice {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 13px;
}

.freight-region-tags__form {
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
}

.freight-region-tags__form-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.freight-region-tags__row {
  margin-bottom: 0;
  flex: 1 1 140px;
  min-width: 120px;
  max-width: 220px;
}

.freight-region-tags__label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #374151;
  white-space: nowrap;
}

.freight-region-tags__select {
  width: 100%;
  max-width: none;
}

.freight-region-tags__actions {
  margin-top: 0;
  flex: 0 0 auto;
  padding-bottom: 1px;
}

@media (max-width: 1280px) {
  .influencer-store-page {
    padding-bottom: calc(var(--store-action-bar-height, 0px) + 24px);
  }

  .influencer-store-page .freight-store-preview {
    padding-bottom: 0;
  }

  .freight-store-preview > .store-hero-sticky-top {
    position: sticky;
    top: var(--site-header-height);
    z-index: 840;
    background: #fff;
  }
}

@media (max-width: 768px) {
  .influencer-store-page {
    padding: 12px 0 calc(var(--store-action-bar-height, 0px) + 24px);
  }

  .influencer-store-page > .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .freight-store-preview {
    max-width: none;
    padding: 0;
  }

  .freight-store-preview > .store-hero-sticky-top {
    padding: 16px 12px 12px;
    border-radius: 10px 10px 0 0;
  }

  .freight-store-preview > .fsp-hero {
    padding: 0 12px 16px;
    border-radius: 0 0 10px 10px;
  }

  .fsp-hero__avatar {
    width: 72px;
    height: 72px;
  }

  .fsp-hero__name {
    font-size: 20px;
  }

  .fsp-stats {
    margin-top: 16px;
    padding-top: 16px;
    gap: 8px;
  }

  .fsp-stat__value {
    font-size: 18px;
  }

  .fsp-body {
    margin-top: 16px;
    gap: 16px;
  }

  .freight-store-preview .detail-section,
  .freight-store-preview .sidebar-section {
    padding: 16px 14px;
  }

  .freight-store-preview .detail-section h3 {
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
}

@media (max-width: 900px) {
  .fsp-body {
    grid-template-columns: 1fr;
  }

  .fsp-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .fsp-hero__top {
    flex-direction: column;
  }
}

.msp-connect-compose-host {
  position: fixed;
  inset: 0;
  z-index: 960;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.msp-connect-compose-host:not([hidden]) {
  display: flex !important;
}

.msp-connect-compose-host .msp-review-compose-host__backdrop {
  display: block;
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.msp-connect-compose-host .msp-review-compose-host__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.msp-connect-compose-host .msp-review-compose-host__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: min(90vh, 720px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.msp-connect-compose-host .msp-review-compose-host__body {
  overflow-y: auto;
  padding: 16px 16px 20px;
}

.msp-connect-form__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.msp-connect-form__input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background: #fff;
}

.msp-connect-form__input--readonly {
  background: #f9fafb;
  color: #6b7280;
}

.msp-connect-form__notice {
  margin-top: 4px;
  padding: 12px;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 13px;
  line-height: 1.6;
}

.msp-connect-form__label--required::after {
  content: '*';
  margin-left: 4px;
  color: #ef4444;
}

.msp-connect-form__actions {
  justify-content: center;
  margin-top: 8px;
}

@media (max-width: 1280px) {
  .msp-connect-compose-host {
    align-items: flex-end;
    padding: 0;
  }

  .msp-connect-compose-host .msp-review-compose-host__dialog {
    width: 100%;
    max-height: min(92vh, calc(100dvh - var(--site-header-height, 88px) - 12px));
    border-radius: 16px 16px 0 0;
  }
}
