/* zprofile Social */

.zps-actions,
.zps-share,
.zps-mypage {
  font-family: "DotGothic16", sans-serif;
}

/* ---------- 共通パーツ ---------- */

.zps-badge {
  display: inline-block;
  min-width: 1.6em;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f20089;
  color: #fff;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  vertical-align: middle;
}

.zps-badge[hidden] {
  display: none;
}

.zps-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
  cursor: pointer;
}

button.zps-pill {
  font-family: inherit;
}

.zps-pill.is-on {
  background: var(--zps-label, #ababab);
  border-color: var(--zps-label, #ababab);
  color: var(--zps-text, #000);
  cursor: default;
}

.zps-link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: 12px;
  text-decoration: underline;
  opacity: 0.8;
  cursor: pointer;
}

.zps-note {
  margin: 8px 0;
  font-size: 14px;
  opacity: 0.85;
}

.zps-note--ok {
  color: #2a8a2a;
  opacity: 1;
}

.zps-msg {
  min-height: 1em;
  margin: 4px 0 0;
  color: #d00;
  font-size: 13px;
}

.zps-center {
  text-align: center;
}

.zps-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.zps-chip__img {
  flex: none;
  width: 32px;
  height: 32px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
}

.zps-chip__img--none {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.zps-chip__name {
  text-decoration: underline;
  word-break: break-all;
}

/* ---------- プロフィール：アクション・シェア ---------- */

.zps-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 10px;
}

.zps-friend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.zps-actions__block {
  margin-left: auto;
}

.zps-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 20px;
  font-size: 13px;
}

.zps-share__btn {
  padding: 2px 10px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: #fff;
  color: #333;
  font-family: inherit;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}

/* ---------- プロフィール：ﾏｲﾌﾚﾝﾄﾞ・ｹﾞｽﾄﾌﾞｯｸ ---------- */

.zps-section {
  margin-top: 32px;
}

.zps-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 8px;
}

.zps-gb__form textarea {
  width: 100%;
  height: 80px;
  margin-top: 8px;
  font-family: inherit;
}

.zps-gb__submit {
  margin-top: 8px;
  text-align: right;
}

.zps-gb__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.zps-gb__item {
  padding: 10px 0;
  border-bottom: 1px dashed var(--zps-label, #ababab);
}

.zps-gb__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.zps-gb__time {
  font-size: 12px;
  opacity: 0.7;
}

.zps-gb__body {
  margin: 6px 0 0 38px;
  font-size: 15px;
  line-height: 1.6;
  word-break: break-word;
}

/* ---------- ヘッダー ---------- */

.zps-nav-item .zps-badge {
  position: relative;
  top: -6px;
}

.zps-sp-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #000;
  text-decoration: none;
}

.zps-sp-link__icon {
  font-size: 22px;
  line-height: 1;
}

.zps-sp-link .zps-badge {
  position: absolute;
  top: 2px;
  right: 0;
  margin: 0;
}

/* ---------- ﾏｲﾍﾟｰｼﾞ ---------- */

/* WordPress がトップ扱いするため SWELL のメインビジュアルが出てしまう（プロフィールページと同じ対処） */
#body_wrap.zps-mypage-body #main_visual {
  display: none !important;
}

.zps-mypage__title {
  margin: 24px 0 16px;
  font-size: 24px;
  text-align: center;
}

.zps-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid #333;
}

.zps-tabs__item {
  flex: 1 1 auto;
  padding: 8px 6px;
  border: 1px solid #333;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  color: #333;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.zps-tabs__item.is-active {
  background: #333;
  color: #fff;
}

.zps-panel {
  padding: 16px 4px;
}

.zps-h2 {
  margin: 24px 0 8px;
  padding: 4px 10px;
  background: #ababab;
  color: #000;
  font-size: 16px;
}

.zps-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zps-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 4px;
  border-bottom: 1px dashed #bbb;
  font-size: 15px;
}

.zps-list__item.is-new {
  background: rgba(246, 190, 239, 0.35);
}

.zps-list__item > a:first-child {
  color: inherit;
}

.zps-list__sub,
.zps-list__time {
  font-size: 12px;
  opacity: 0.7;
}

.zps-list__time {
  margin-left: auto;
}

.zps-thread {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.zps-thread__name {
  text-decoration: underline;
}

.zps-thread__last {
  overflow: hidden;
  font-size: 13px;
  opacity: 0.75;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zps-radio {
  display: block;
  margin: 6px 0;
  font-size: 15px;
}

.zps-settings .zps-center {
  margin-top: 20px;
}

/* ---------- DM ---------- */

.zps-dm__head {
  padding-bottom: 8px;
  border-bottom: 1px solid #ccc;
}

.zps-dm__list {
  max-height: 60vh;
  margin: 0;
  padding: 12px 0;
  overflow-y: auto;
  list-style: none;
}

.zps-dm__msg {
  display: flex;
  flex-direction: column;
  margin: 8px 0;
}

.zps-dm__msg.is-mine {
  align-items: flex-end;
}

.zps-dm__msg.is-theirs {
  align-items: flex-start;
}

.zps-dm__bubble {
  max-width: 80%;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
  word-break: break-word;
}

.zps-dm__msg.is-mine .zps-dm__bubble {
  border-color: #f6beef;
  background: #fde8fa;
}

.zps-dm__time {
  font-size: 11px;
  opacity: 0.6;
}

.zps-dm__form {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.zps-dm__form textarea {
  flex: 1;
  height: 64px;
  font-family: inherit;
}

/* ---------- 通報 ---------- */

.zps-report {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 6px 0 14px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.85);
  color: #333;
  font-size: 14px;
}

.zps-report__title {
  margin: 0;
  font-weight: bold;
}

.zps-report select,
.zps-report textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
}

.zps-report textarea {
  height: 60px;
}

.zps-report__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.zps-report .zps-note {
  margin: 0;
}

.zps-gb__meta .zps-report-btn {
  margin-left: auto;
}

/* ---------- さがす：プロフィール一覧 ---------- */

.zps-dir {
  font-family: "DotGothic16", sans-serif;
}

.zps-dir__title {
  font-size: 18px;
}

.zps-dir__count {
  font-size: 13px;
  font-weight: normal;
}

.zps-dir__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.zps-dir__item {
  margin: 0;
  background: var(--zps-bg, #f1f1f1);
  border: 2px solid var(--zps-label, #ababab);
}

.zps-dir__item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  color: var(--zps-text, #000);
  text-decoration: none;
}

.zps-dir__img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
}

.zps-dir__img--none {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 24px;
}

.zps-dir__name {
  font-size: 15px;
  text-align: center;
  word-break: break-all;
}

.zps-dir__sub {
  font-size: 12px;
  opacity: 0.85;
}

.zps-dir__pager {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 16px 0;
}

/* ---------- ﾏｲﾌﾟﾛﾌ編集：ﾛｸﾞｲﾝ情報の登録結果 ---------- */

.zps-register-msg {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid currentColor;
  text-align: center;
}

.zps-register-msg--ng {
  color: #d00;
  opacity: 1;
}

.zps-temp-pass {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.zps-temp-pass__warn {
  color: #d00;
}
