/* assets/css/creator-subscribers-list.css */
/* クリエイター加入者一覧のスタイル */

.creator-subscribers-list {
  overflow-x: auto;
  font-size: 0.9em;
}

.creator-subscribers-list form {
  margin-bottom: 1em;
}

.creator-subscribers-list p {
  margin-bottom: 1em;
}

.creator-subscribers-list table {
  min-width: 600px;
  border-collapse: collapse;
  width: 100%;
}

.creator-subscribers-list thead tr {
  background: #f3f4f6;
}

.creator-subscribers-list th {
  padding: 8px;
  border: 1px solid #ccc;
}

.creator-subscribers-list th:first-child {
  width: 60px;
}

.creator-subscribers-list td {
  padding: 6px;
  border: 1px solid #ddd;
}

.creator-subscribers-list td:first-child {
  text-align: center;
}

.creator-subscribers-list .pagination {
  margin-top: 10px;
  font-size: 0.9em;
}

.creator-subscribers-list .pagination a {
  margin-right: 5px;
}

.creator-subscribers-list .pagination a.active {
  font-weight: bold;
  text-decoration: underline;
}

.creator-subscribers-list .back-button-container {
  text-align: center;
  margin-top: 2em;
}

.creator-subscribers-list .primall-btn {
  display: inline-block;
  background-color: #64748b;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
}

.creator-subscribers-list .avatar {
  border-radius: 50%;
}

.creator-subscribers-list .avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

/*
 * 2026-09 UI renewal — Creator > Community > Supporters.
 * Subscription filtering and visibility remain owned by the shortcode/domain code.
 */

/* Canvas is owned by the canonical Creator operation-form foundation.
   Do not redefine the management background locally. */

body.fanika-creator-subscribers .site-content,
body.fanika-creator-subscribers .entry-content {
  background: transparent;
}

body.fanika-creator-subscribers .creator-subscribers-page.creator-profile-container {
  width: min(calc(100% - 32px), 1080px);
  max-width: 1080px !important;
  margin-inline: auto;
  padding: 16px 0 96px;
  background: transparent;
}

.creator-subscribers-page .fanika-creator-child-heading h1 {
  margin: 0;
  color: var(--fanika-ui-text, #1f2937);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.3;
}

.creator-subscribers-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 14px 16px;
}

.creator-subscribers-page .filter-form {
  display: grid;
  gap: 6px;
  min-width: min(100%, 360px);
  margin: 0;
}

.creator-subscribers-page .filter-form label {
  color: #344054;
  font-size: 0.78rem;
  font-weight: 800;
}

.creator-subscribers-page .filter-form select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #d8e1ea;
  border-radius: 10px;
  background: #fff;
  color: var(--fanika-ui-text, #1f2937);
  font: inherit;
}

.creator-subscribers-page .filter-form select:focus {
  border-color: var(--fanika-ui-accent, #ec4899);
  outline: 3px solid rgba(236, 72, 153, 0.12);
  outline-offset: 1px;
}

.creator-subscribers-page .subscribers-count {
  margin: 0;
  color: var(--fanika-ui-text-muted, #667085);
  font-size: 0.78rem;
  white-space: nowrap;
}

.creator-subscribers-page .table-wrapper {
  margin-top: 0;
  overflow-x: auto;
  border: 1px solid #e5ebf2;
  border-radius: var(--fanika-ui-card-radius, 16px);
  background: #fff;
  box-shadow: 0 7px 22px rgba(50, 78, 108, 0.04);
}

.creator-subscribers-page .subscribers-table {
  width: 100%;
  min-width: 820px;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

.creator-subscribers-page .subscribers-table thead tr {
  background: #f8fbff;
}

.creator-subscribers-page .subscribers-table th,
.creator-subscribers-page .subscribers-table td {
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  vertical-align: middle;
}

.creator-subscribers-page .subscribers-table th {
  color: #475467;
  font-size: 0.74rem;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.creator-subscribers-page .subscribers-table tbody tr:last-child td {
  border-bottom: 0;
}

.creator-subscribers-page .subscribers-table tbody tr:hover {
  background: #fffafd;
}

.creator-subscribers-page .subscribers-table td {
  color: #344054;
  font-size: 0.84rem;
}

.creator-subscribers-page .subscribers-table a {
  color: #344054;
  font-weight: 700;
  text-decoration: none;
}

.creator-subscribers-page .subscribers-table a:hover,
.creator-subscribers-page .subscribers-table a:focus-visible {
  color: var(--fanika-ui-accent, #ec4899);
  text-decoration: underline;
}

.creator-subscribers-page .subscribers-table .avatar-column {
  width: 64px;
}

.creator-subscribers-page .avatar-cell {
  text-align: left;
}

.creator-subscribers-page .subscriber-avatar {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  margin: 0 !important;
  border-radius: 50%;
  object-fit: cover;
}

.creator-subscribers-page .fan-number-cell {
  font-weight: 700;
  white-space: nowrap;
}

.creator-subscribers-page .fanika-ui-status {
  min-width: 64px;
  justify-content: center;
}

.creator-subscribers-page .empty-message,
.creator-subscribers-message {
  margin: 0;
  padding: 28px 18px;
  color: var(--fanika-ui-text-muted, #667085);
  text-align: center;
}

.creator-subscribers-page .empty-message p,
.creator-subscribers-message p {
  margin: 0;
}

.creator-subscribers-page .pagination-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #e5ebf2;
  border-radius: 14px;
  background: #fff;
}

.creator-subscribers-page .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  margin: 0;
  padding: 5px 9px;
  border: 1px solid #e5ebf2;
  border-radius: 999px;
  background: #fff;
  color: #475467;
  text-decoration: none;
}

.creator-subscribers-page .page-link:hover,
.creator-subscribers-page .page-link:focus-visible {
  border-color: #f3c5dc;
  background: #fff8fb;
  color: var(--fanika-ui-accent, #ec4899);
}

.creator-subscribers-page .page-link.current-page {
  border-color: var(--fanika-ui-accent, #ec4899);
  background: var(--fanika-ui-accent, #ec4899);
  color: #fff;
}

@media (max-width: 767px) {
  body.fanika-creator-subscribers .creator-subscribers-page.creator-profile-container {
    width: min(calc(100% - 16px), 1080px);
    max-width: none !important;
    padding-block: 10px 80px;
  }

  .creator-subscribers-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 14px;
  }

  .creator-subscribers-page .filter-form {
    min-width: 0;
  }

  .creator-subscribers-page .subscribers-count {
    white-space: normal;
  }

  .creator-subscribers-page .table-wrapper {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .creator-subscribers-page .subscribers-table {
    min-width: 0;
    background: transparent;
  }

  .creator-subscribers-page .subscribers-table,
  .creator-subscribers-page .subscribers-table tbody,
  .creator-subscribers-page .subscribers-table tr,
  .creator-subscribers-page .subscribers-table td {
    display: block;
    width: 100%;
  }

  .creator-subscribers-page .subscribers-table thead {
    display: none;
  }

  .creator-subscribers-page .subscribers-table tbody {
    display: grid;
    gap: 10px;
  }

  .creator-subscribers-page .subscribers-table tbody tr {
    overflow: hidden;
    border: 1px solid #e5ebf2;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(50, 78, 108, 0.04);
  }

  .creator-subscribers-page .subscribers-table td {
    display: grid;
    grid-template-columns: minmax(88px, 34%) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    padding: 10px 12px;
    border-bottom: 1px solid #edf0f4;
    font-size: 0.82rem;
    text-align: left;
  }

  .creator-subscribers-page .subscribers-table td::before {
    content: attr(data-label);
    color: #667085;
    font-size: 0.7rem;
    font-weight: 800;
  }

  .creator-subscribers-page .subscribers-table tbody tr:last-child td,
  .creator-subscribers-page .subscribers-table tbody tr td:last-child {
    border-bottom: 0;
  }

  .creator-subscribers-page .avatar-cell {
    text-align: left;
  }

  .creator-subscribers-page .subscriber-avatar {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
  }

  .creator-subscribers-page .pagination-wrapper {
    margin-top: 10px;
    padding: 10px;
  }
}



/* 2026-10 Creator > Community > Supporters renewal */
.fanika-supporters-hero{
  display:grid;
  grid-template-columns:56px minmax(0,1fr);
  align-items:center;
  gap:14px;
  margin:0 0 14px;
  padding:20px;
  border:1px solid #e7edf4;
  border-radius:18px;
  background:linear-gradient(90deg,#fff5f9 0%,#fff 55%,#f3f9ff 100%);
}
.fanika-supporters-hero__icon{
  display:grid;
  width:56px;
  height:56px;
  place-items:center;
  border-radius:18px;
  background:#fff;
  color:var(--fanika-ui-accent,#ec4899);
  font-size:1.2rem;
  box-shadow:0 6px 18px rgba(71,89,113,.06);
}
.fanika-supporters-hero__copy{min-width:0}
.fanika-supporters-hero__copy .fanika-creator-child-heading__eyebrow{
  display:block;
  margin:0 0 4px;
  color:var(--fanika-ui-genre-text,var(--fanika-ui-accent,#ec4899));
  font-size:.74rem;
  font-weight:800;
}
.fanika-supporters-hero__copy h1{
  margin:0;
  color:#263449;
  font-size:1.35rem;
}
.fanika-supporters-hero__copy p{
  margin:5px 0 0;
  color:#667085;
  font-size:.82rem;
  line-height:1.5;
}

.creator-subscribers-search-form{
  grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto auto;
  align-items:end;
  width:100%;
}
.creator-subscribers-filter-field{
  display:grid;
  gap:6px;
}
.creator-subscribers-filter-field label{
  color:#344054;
  font-size:.76rem;
  font-weight:800;
}
.creator-subscribers-filter-field input[type="search"]{
  width:100%;
  min-height:42px;
  box-sizing:border-box;
  padding:8px 11px;
  border:1px solid #d8e1ea;
  border-radius:10px;
  background:#fff;
  color:#344054;
  font:inherit;
}
.creator-subscribers-filter-field input[type="search"]:focus{
  border-color:var(--fanika-ui-accent,#ec4899);
  outline:3px solid rgba(236,72,153,.12);
  outline-offset:1px;
}
.creator-subscribers-search-submit,
.creator-subscribers-search-reset{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:42px;
  padding:8px 13px;
  border-radius:999px;
  font:inherit;
  font-size:.76rem;
  font-weight:800;
  text-decoration:none;
}
.creator-subscribers-search-submit{
  border:1px solid #ec4899;
  background:#ec4899;
  color:#fff;
  cursor:pointer;
}
.creator-subscribers-search-reset{
  border:1px solid #d8e1ea;
  background:#fff;
  color:#475467;
}
.creator-subscribers-toolbar{
  align-items:center;
  flex-wrap:wrap;
}
.creator-subscribers-toolbar .subscribers-count{
  margin-left:auto;
}

.creator-supporter-list{
  display:grid;
  gap:10px;
}
.creator-supporter-card{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border:1px solid #e5ebf2;
  border-radius:14px;
  background:#fff;
  box-shadow:0 5px 16px rgba(50,78,108,.035);
}
.creator-supporter-card__avatar{
  display:flex;
  align-items:center;
  justify-content:center;
}
.creator-supporter-card__avatar .subscriber-avatar{
  width:42px!important;
  height:42px!important;
  max-width:42px!important;
  max-height:42px!important;
  border-radius:50%;
  object-fit:cover;
}
.creator-supporter-card__body{min-width:0}
.creator-supporter-card__name-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.creator-supporter-card__name{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.creator-supporter-card__name strong{
  overflow:hidden;
  color:#263449;
  font-size:.92rem;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.creator-supporter-card__name span{
  color:#7a8492;
  font-size:.7rem;
  white-space:nowrap;
}
.creator-supporter-card__plan{
  margin-top:3px;
  color:#475467;
  font-size:.78rem;
  font-weight:700;
}
.creator-supporter-card__meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:4px;
  color:#667085;
  font-size:.72rem;
}
.creator-supporter-card__actions{
  display:flex;
  align-items:center;
}
/* Management actions use the canonical Creator pink rather than public/profile
   customization variables. */
.creator-supporter-card__message{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:36px;
  padding:7px 12px;
  border:1px solid #f1b9d4;
  border-radius:999px;
  background:#fff;
  color:#c93b79;
  font-size:.76rem;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
}
.creator-supporter-card__message:hover,
.creator-supporter-card__message:focus-visible{
  border-color:#ec4899;
  background:#fff8fb;
  color:#c93b79;
  text-decoration:none;
}
.creator-supporter-card__message.is-disabled{
  opacity:.45;
  cursor:not-allowed;
}

@media(max-width:767px){
  .fanika-supporters-hero{
    grid-template-columns:44px minmax(0,1fr);
    gap:10px;
    padding:14px;
    border-radius:14px;
  }
  .fanika-supporters-hero__icon{
    width:44px;
    height:44px;
    border-radius:14px;
    font-size:1rem;
  }
  .creator-subscribers-search-form{
    grid-template-columns:1fr;
  }
  .creator-subscribers-search-submit,
  .creator-subscribers-search-reset{width:100%}
  .creator-subscribers-toolbar .subscribers-count{
    margin-left:0;
  }
  .creator-supporter-card{
    grid-template-columns:42px minmax(0,1fr);
    align-items:start;
    gap:10px;
    padding:12px;
  }
  .creator-supporter-card__avatar .subscriber-avatar{
    width:38px!important;
    height:38px!important;
    max-width:38px!important;
    max-height:38px!important;
  }
  .creator-supporter-card__name-row{
    align-items:flex-start;
  }
  .creator-supporter-card__name{
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
  }
  .creator-supporter-card__actions{
    grid-column:1/-1;
  }
  .creator-supporter-card__message{
    width:100%;
    min-height:42px;
  }
}


/* QA094: subscribers_list is a Creator management screen.  The generic
   organizer stylesheet still carries a full-width pink legacy navigation
   button.  Keep the shared Back primitive authoritative on this page. */
body.fanika-creator-subscribers .fanika-shared-back-navigation{
  width:100%;
  margin:16px auto 0;
}
body.fanika-creator-subscribers .fanika-shared-back-button{
  box-sizing:border-box;
  display:inline-flex;
  flex:0 1 220px;
  align-items:center;
  justify-content:center;
  width:auto;
  min-width:180px;
  min-height:42px;
  padding:9px 24px;
  border:1px solid #f1a5c7;
  border-radius:8px;
  background:#fff;
  color:#c93b79;
  font:700 13px "Noto Sans JP",system-ui,sans-serif;
  line-height:1.2;
  text-decoration:none;
  box-shadow:none;
}
