.pfy-admin-sites-table .button {
    margin-right: 4px;
}

.pfy-member-sites {
    width: 100%;
}

.pfy-member-sites__title {
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 1.4;
}

.pfy-member-sites__notice,
.pfy-member-sites__empty,
.pfy-member-placeholder {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.pfy-member-sites__notice--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.pfy-member-sites__notice--error {
    background: #fef2f2;
    border-color: #fecaca;
}



.pfy-member-sites__create {
    margin: 0 0 18px;
}

.pfy-member-sites__create-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.pfy-member-sites__create-button:hover,
.pfy-member-sites__create-button:focus {
    color: #ffffff;
    text-decoration: none;
}

.pfy-member-sites__list {
    display: grid;
    gap: 18px;
}

.pfy-member-site {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid #e5e7eb;
}

.pfy-member-site:first-child {
    border-top: 1px solid #e5e7eb;
}

.pfy-member-site__thumb {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pfy-member-site__logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pfy-member-site__thumb-placeholder {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pfy-member-site__title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.45;
}

.pfy-member-site__url {
    margin: 0 0 14px;
    word-break: break-all;
    font-size: 14px;
}

.pfy-member-site__label {
    font-weight: 700;
}

.pfy-member-site__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0;
}

.pfy-member-site__meta-item {
    display: flex;
    gap: 6px;
    align-items: baseline;
}

.pfy-member-site__meta dt {
    margin: 0;
    font-weight: 700;
}

.pfy-member-site__meta dd {
    margin: 0;
}

.pfy-member-site__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    min-width: 220px;
}

.pfy-member-site__form {
    margin: 0;
}

.pfy-member-site__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
}

.pfy-member-site__button--primary {
    border-color: #111827;
    background: #111827;
    color: #ffffff;
}

.pfy-member-site__button--danger {
    border-color: #dc2626;
    color: #dc2626;
}

.pfy-member-site__status-note {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 782px) {
    .pfy-member-site {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .pfy-member-site__thumb {
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .pfy-member-site__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .pfy-member-site {
        grid-template-columns: 1fr;
    }

    .pfy-member-site__thumb {
        width: 84px;
        height: 84px;
    }
}
.pfy-member-edit {
    width: 100%;
    max-width: 960px;
}

.pfy-member-edit__title {
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 1.4;
}

.pfy-member-edit__top-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.pfy-member-edit__top-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid #d6dce5;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.pfy-member-edit__top-link:hover {
    text-decoration: none;
    opacity: .86;
}

.pfy-member-edit__top-link--back {
    background: #f8fafc;
}

.pfy-member-edit__notice {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

.pfy-member-edit__notice--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.pfy-member-edit__notice--error {
    background: #fef2f2;
    border-color: #fecaca;
}

.pfy-member-edit__form {
    display: grid;
    gap: 22px;
}

.pfy-member-edit__section {
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
}

.pfy-member-edit__section-title {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.45;
}

.pfy-member-edit__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pfy-member-edit__field {
    margin: 0 0 16px;
}

.pfy-member-edit__field:last-child {
    margin-bottom: 0;
}

.pfy-member-edit__field--wide {
    grid-column: 1 / -1;
}

.pfy-member-edit__label {
    display: block;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.pfy-member-edit__input,
.pfy-member-edit__textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    font: inherit;
}

.pfy-member-edit__textarea {
    min-height: 120px;
    resize: vertical;
}

.pfy-member-edit__readonly {
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    color: #374151;
    word-break: break-all;
}

.pfy-member-edit__help {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
}

.pfy-member-edit__radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 16px;
    font-weight: 600;
}

.pfy-member-edit__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 240px;
    aspect-ratio: 4 / 3;
    margin: 0 0 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f8fafc;
}

.pfy-member-edit__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pfy-member-edit__image-empty {
    margin: 0;
    padding: 12px;
    color: #6b7280;
    font-size: 13px;
    text-align: center;
}

.pfy-member-edit__file {
    display: block;
    width: 100%;
}

.pfy-member-edit__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.pfy-member-edit__submit,
.pfy-member-edit__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #111827;
    background: #111827;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
}

.pfy-member-edit__back {
    border-color: #d1d5db;
    background: #ffffff;
    color: #111827;
}

@media (max-width: 782px) {
    .pfy-member-edit__grid {
        grid-template-columns: 1fr;
    }

    .pfy-member-edit__section {
        padding: 18px;
    }
}

.pfy-member-edit__no-form-fields.is-hidden {
    display: none;
}

.pfy-member-analytics {
    width: 100%;
}

.pfy-member-analytics__tabs {
    width: 100%;
}

.pfy-member-analytics__tab-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pfy-member-analytics__tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.pfy-member-analytics__tab-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #ffffff;
    color: #6b7280;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.pfy-member-analytics__tab-label:hover {
    transform: translateY(-1px);
    border-color: #c7d2fe;
    color: #4f46e5;
}

.pfy-member-analytics__panels {
    position: relative;
}

.pfy-member-analytics__panel {
    display: none;
}

.pfy-member-analytics.has-single-site .pfy-member-analytics__panel {
    display: block;
}

.pfy-member-analytics__site-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.06);
}

.pfy-member-analytics__site-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 170px;
    height: 170px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.08);
    pointer-events: none;
}

.pfy-member-analytics__site-head {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 18px;
}

.pfy-member-analytics__site-number {
    margin: 0 0 4px;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.pfy-member-analytics__site-title {
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.45;
}

.pfy-member-analytics__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
}

.pfy-member-analytics__metric-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pfy-member-analytics__metric-card {
    min-height: 148px;
    padding: 18px;
    border: 1px solid #eef2ff;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.13), transparent 34%),
        #f9fafb;
}

.pfy-member-analytics__metric-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 20px;
}

.pfy-member-analytics__metric-label {
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.pfy-member-analytics__metric-name {
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.pfy-member-analytics__metric-value {
    color: #111827;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
}

.pfy-member-analytics__metric-unit {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.pfy-member-analytics__site-footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 18px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid #f3f4f6;
}

.pfy-member-analytics__last-access {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.7;
}

.pfy-member-analytics__last-access span {
    display: block;
    margin: 0 0 2px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 700;
}

.pfy-member-analytics__last-access strong {
    color: #374151;
    font-weight: 800;
}

.pfy-member-analytics__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 16px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

.pfy-member-analytics__button:hover {
    color: #ffffff;
    opacity: 0.9;
}

.pfy-member-analytics__note {
    margin: 14px 0 0;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.7;
}

@media (max-width: 960px) {
    .pfy-member-analytics__metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 782px) {
    .pfy-member-analytics__site-card {
        padding: 18px;
        border-radius: 20px;
    }

    .pfy-member-analytics__site-head {
        display: block;
    }

    .pfy-member-analytics__status {
        margin: 10px 0 0;
    }

    .pfy-member-analytics__metric-grid {
        gap: 10px;
    }

    .pfy-member-analytics__metric-card {
        min-height: 128px;
        padding: 15px;
        border-radius: 18px;
    }

    .pfy-member-analytics__metric-top {
        display: block;
        margin: 0 0 15px;
    }

    .pfy-member-analytics__metric-name {
        display: block;
        margin: 5px 0 0;
    }

    .pfy-member-analytics__site-footer {
        display: block;
    }

    .pfy-member-analytics__button {
        width: 100%;
        margin: 14px 0 0;
    }
}

@media (max-width: 520px) {
    .pfy-member-analytics__metric-grid {
        grid-template-columns: 1fr;
    }

    .pfy-member-analytics__metric-card {
        min-height: 118px;
    }
}
.pfy-member-account {
    width: 100%;
}

.pfy-member-account__card {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
}

.pfy-member-account__form {
    margin: 0;
}

.pfy-member-account__section {
    padding: 22px 0;
    border-top: 1px solid #f3f4f6;
}

.pfy-member-account__section:first-child {
    padding-top: 0;
    border-top: 0;
}

.pfy-member-account__section:last-child {
    padding-bottom: 0;
}

.pfy-member-account__heading {
    margin: 0 0 16px;
    font-size: 18px;
    line-height: 1.45;
}

.pfy-member-account__name-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pfy-member-account__field {
    display: block;
    margin: 0;
}

.pfy-member-account__field--email {
    margin-top: 16px;
}

.pfy-member-account__label {
    display: block;
    margin: 0 0 7px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

.pfy-member-account__input {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.pfy-member-account__input:focus {
    border-color: #111827;
    outline: 2px solid rgba(17, 24, 39, 0.12);
    outline-offset: 2px;
}

.pfy-member-account__readonly {
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f9fafb;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    word-break: break-all;
}

.pfy-member-account__actions {
    margin-top: 18px;
}

.pfy-member-account__text,
.pfy-member-account__plan {
    margin: 0 0 14px;
    color: #374151;
    line-height: 1.8;
}

.pfy-member-account__plan strong {
    color: #111827;
}

.pfy-member-account__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #111827;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
}

.pfy-member-account__button:hover {
    color: #ffffff;
    opacity: 0.9;
}

.pfy-member-account__button--outline {
    background: #ffffff;
    color: #111827;
}

.pfy-member-account__button--outline:hover {
    color: #111827;
}

@media (max-width: 782px) {
    .pfy-member-account__card {
        padding: 18px;
        border-radius: 16px;
    }

    .pfy-member-account__section {
        padding: 20px 0;
    }

    .pfy-member-account__name-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .pfy-member-account__input,
    .pfy-member-account__readonly {
        font-size: 16px;
    }
}

.pfy-member-sites__limit {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f9fafb;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.pfy-member-sites__limit span {
    display: inline-flex;
    align-items: center;
}


.pfy-member-edit__section-description {
  margin: -8px 0 18px;
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.7;
}

.pfy-member-edit__extra-slide {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.8);
}

.pfy-member-edit__subheading {
  margin: 0 0 14px;
  font-size: 1.02rem;
  font-weight: 700;
}

.pfy-member-edit__extra-fields.is-hidden {
  display: none;
}

.pfy-member-edit__preview-image {
  display: block;
  max-width: 180px;
  height: auto;
  border-radius: 12px;
}


.pfy-member-edit__readonly-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.pfy-member-edit__readonly-item {
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #f8fafc;
}

.pfy-member-edit__readonly-label {
  display: block;
  margin: 0 0 4px;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.pfy-member-edit__readonly-value {
  display: block;
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.pfy-member-edit__help {
  margin: 0 0 18px;
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.7;
}

.pfy-member-edit__field-group {
  margin-top: 14px;
}

.pfy-member-edit__mini-section {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.pfy-member-edit__table-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pfy-member-edit [data-pfy-extra-field].is-hidden,
.pfy-member-edit__mini-section.is-hidden,
.pfy-member-edit__field-group.is-hidden {
  display: none !important;
}

@media (max-width: 782px) {
  .pfy-member-edit__readonly-grid,
  .pfy-member-edit__table-grid {
    grid-template-columns: 1fr;
  }
}


/* Member site edit template field visibility */
.pfy-member-edit__extra-slide [data-pfy-extra-field],
.pfy-member-edit__extra-slide [data-pfy-extra-field-group] {
    display: none !important;
}
.pfy-member-edit__extra-slide [data-pfy-extra-field="heading"] {
    display: block !important;
}
.pfy-member-edit__extra-slide.pfy-extra-template--default [data-pfy-extra-field="text"],
.pfy-member-edit__extra-slide.pfy-extra-template--default [data-pfy-extra-field="text_2"],
.pfy-member-edit__extra-slide.pfy-extra-template--default [data-pfy-extra-field="image_1_id"],
.pfy-member-edit__extra-slide.pfy-extra-template--default [data-pfy-extra-field-group="images"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-01 [data-pfy-extra-field="text"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-01 [data-pfy-extra-field="text_2"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-01 [data-pfy-extra-field="image_1_id"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-01 [data-pfy-extra-field="image_2_id"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-01 [data-pfy-extra-field-group="images"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-02 [data-pfy-extra-field="short_text_1"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-02 [data-pfy-extra-field="short_text_2"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-02 [data-pfy-extra-field="short_text_3"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-02 [data-pfy-extra-field="image_1_id"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-02 [data-pfy-extra-field="image_2_id"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-02 [data-pfy-extra-field="image_3_id"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-02 [data-pfy-extra-field-group="short-texts"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-02 [data-pfy-extra-field-group="images"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-03 [data-pfy-extra-field="image_1_id"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-03 [data-pfy-extra-field="image_2_id"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-03 [data-pfy-extra-field="image_3_id"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-03 [data-pfy-extra-field="image_4_id"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-03 [data-pfy-extra-field="image_5_id"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-03 [data-pfy-extra-field="image_6_id"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-03 [data-pfy-extra-field-group="images"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-04 [data-pfy-extra-field="text"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-04 [data-pfy-extra-field="text_2"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-04 [data-pfy-extra-field="video_url_1"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-04 [data-pfy-extra-field-group="videos"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-05 [data-pfy-extra-field="video_url_1"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-05 [data-pfy-extra-field="video_url_2"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-05 [data-pfy-extra-field="video_url_3"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-05 [data-pfy-extra-field-group="videos"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-06 [data-pfy-extra-field="text"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-06 [data-pfy-extra-field="sub_heading_1"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-06 [data-pfy-extra-field="sub_heading_2"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-06 [data-pfy-extra-field="short_text_1"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-06 [data-pfy-extra-field="short_text_2"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-06 [data-pfy-extra-field-group="sub-headings"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-06 [data-pfy-extra-field-group="short-texts"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-07 [data-pfy-extra-field-group="faq"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-08 [data-pfy-extra-field="text"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-08 [data-pfy-extra-field="table_type"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-08 [data-pfy-extra-field-group="table"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-09 [data-pfy-extra-field="text"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-09 [data-pfy-extra-field-group="icons"] {
    display: block !important;
}
.pfy-member-edit__extra-slide.pfy-extra-template--template-07 [data-pfy-extra-field^="faq_q_"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-07 [data-pfy-extra-field^="faq_a_"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-08 [data-pfy-extra-field^="table_col_"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-09 [data-pfy-extra-field^="icon_button_url_"],
.pfy-member-edit__extra-slide.pfy-extra-template--template-09 [data-pfy-extra-field^="icon_button_img_"] {
    display: block !important;
}
.pfy-member-edit__extra-fields.is-hidden {
    display: none !important;
}

/* Phase30: 1枚目背景タイプ切り替え */
.pfy-member-edit__field[data-pfy-bg-image-field].is-hidden,
.pfy-member-edit__field[data-pfy-bg-video-field].is-hidden {
    display: none;
}


/* Phase33 STEP1: 紹介コード・招待URL */
.pfy-member-referrals {
    width: 100%;
}

.pfy-member-referrals .pfy-member-account__heading {
    margin-top: 0;
}

.pfy-member-referrals__url-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: stretch;
}

.pfy-member-referrals__url {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #f8fafc;
    color: #111827;
    font: inherit;
    line-height: 1.5;
}

.pfy-member-referrals__url:focus {
    border-color: #111827;
    outline: 2px solid rgba(17, 24, 39, 0.12);
    outline-offset: 1px;
}

.pfy-member-referrals__copy {
    white-space: nowrap;
}

.pfy-member-referrals__message {
    min-height: 1.5em;
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 700;
}

.pfy-member-referrals__code {
    margin: 6px 0 0;
    color: #4b5563;
    font-size: 13px;
}

.pfy-member-referrals__code code {
    word-break: break-all;
}

@media (max-width: 600px) {
    .pfy-member-referrals__url-row {
        grid-template-columns: 1fr;
    }

    .pfy-member-referrals__copy {
        width: 100%;
    }
}


/* Phase33 STEP4: 紹介状況・履歴・管理画面 */
.pfy-member-referrals__summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:22px 0; }
.pfy-member-referrals__summary-item { padding:14px; border:1px solid #e5e7eb; border-radius:12px; background:#f8fafc; text-align:center; }
.pfy-member-referrals__summary-item span { display:block; color:#6b7280; font-size:12px; font-weight:700; }
.pfy-member-referrals__summary-item strong { display:block; margin-top:4px; font-size:24px; line-height:1.2; }
.pfy-member-referrals__history-heading { margin:0 0 12px; font-size:16px; }
.pfy-member-referrals__table-wrap, .pfy-admin-table-wrap { overflow-x:auto; }
.pfy-member-referrals__table { width:100%; min-width:520px; border-collapse:collapse; }
.pfy-member-referrals__table th, .pfy-member-referrals__table td { padding:10px; border-bottom:1px solid #e5e7eb; text-align:left; font-size:13px; }
.pfy-member-referrals__status { display:inline-flex; padding:4px 9px; border-radius:999px; background:#f3f4f6; font-size:12px; font-weight:700; }
.pfy-member-referrals__status--pending { background:#fff7ed; color:#9a3412; }
.pfy-member-referrals__status--approved { background:#ecfdf5; color:#047857; }
.pfy-member-referrals__toggle { margin-top:12px; }
.pfy-admin-referrals__filters { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:16px 0; }
@media (max-width:600px){ .pfy-member-referrals__summary{grid-template-columns:1fr;} }

.pfy-member-site__revision-message{margin:16px 0;padding:14px 16px;background:#fff5f5;border-radius:8px}.pfy-member-site__revision-message strong{display:block;margin-bottom:6px}.pfy-member-site__revision-message p{margin:0;white-space:normal;line-height:1.7}

/* Phase36 Step06: 会員ダッシュボード共通デザイン・バッジ表示 */
.pfy-member-account__heading {
    margin: 0 0 10px !important;
}

.pfy-member-account__section {
    border-top: 0;
    padding: 18px 0;
}

.pfy-member-account__section:first-child {
    padding-top: 0;
}

.pfy-member-account__section + .pfy-member-account__section {
    margin-top: 4px;
}

.pfy-member-account__basic-layout {
    display: block;
}

.pfy-member-account__basic-layout.has-badge {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.pfy-member-account__badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    text-align: center;
}

.pfy-member-account__badge-label {
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.pfy-member-account__badge-image {
    display: block;
    width: 104px;
    height: 104px;
    max-width: 100%;
    object-fit: contain;
}

.pfy-member-account__basic-fields {
    min-width: 0;
}

/* ページ管理・アカウント管理・アクセス数を同じシンプルな面構成へ寄せる */
.pfy-member-account__card,
.pfy-member-analytics__site-card {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: none;
}

.pfy-member-analytics__site-card::before {
    display: none;
}

.pfy-member-analytics__tab-list {
    margin-bottom: 12px;
}

.pfy-member-analytics__tab-label {
    min-width: 38px;
    height: 38px;
    border-radius: 10px;
    font-weight: 700;
    transition: none;
}

.pfy-member-analytics__tab-label:hover {
    transform: none;
    border-color: #111827;
    color: #111827;
}

.pfy-member-analytics__site-head {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f3f4f6;
}

.pfy-member-analytics__site-number {
    color: #6b7280;
    letter-spacing: 0;
}

.pfy-member-analytics__site-title {
    font-size: 18px;
}

.pfy-member-analytics__metric-grid {
    gap: 10px;
}

.pfy-member-analytics__metric-card {
    min-height: 0;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
}

.pfy-member-analytics__metric-top {
    display: block;
    margin-bottom: 10px;
}

.pfy-member-analytics__metric-label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.pfy-member-analytics__metric-name {
    display: block;
    margin-top: 2px;
    font-size: 11px;
}

.pfy-member-analytics__metric-value {
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.02em;
}

.pfy-member-analytics__metric-unit {
    margin-top: 5px;
    letter-spacing: 0;
}

.pfy-member-analytics__site-footer {
    margin-top: 16px;
    padding-top: 14px;
}

.pfy-member-analytics__note {
    color: #6b7280;
}

/* ページ管理も外周装飾を抑えた同系統のカード表示 */
.pfy-member-sites__list {
    gap: 12px;
}

.pfy-member-site {
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
}

.pfy-member-site:first-child {
    border-top: 1px solid #e5e7eb;
}

.pfy-member-site__thumb {
    border-radius: 14px;
}

.pfy-member-referrals__summary-item {
    background: #f9fafb;
}

@media (max-width: 782px) {
    .pfy-member-account__basic-layout.has-badge {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 14px;
    }

    .pfy-member-account__badge-image {
        width: 86px;
        height: 86px;
    }

    .pfy-member-account__card,
    .pfy-member-analytics__site-card {
        padding: 18px;
        border-radius: 16px;
    }
}

@media (max-width: 600px) {
    .pfy-member-account__basic-layout.has-badge {
        grid-template-columns: 1fr;
    }

    .pfy-member-account__badge {
        width: 132px;
        justify-self: start;
    }
}



/* Phase36 Step06 micro-adjustments (2.8.9) */
h3.pfy-member-analytics__site-title {
    margin: 0 0 10px !important;
}

.pfy-member-account__basic-layout.has-badge {
    grid-template-columns: 160px minmax(0, 1fr);
}

.pfy-member-account__badge {
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.pfy-member-account__badge-label {
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}

.pfy-member-account__badge-image {
    width: 136px;
    height: 136px;
}

@media (max-width: 782px) {
    .pfy-member-account__basic-layout.has-badge {
        grid-template-columns: 1fr;
    }

    .pfy-member-account__badge {
        width: auto;
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
        text-align: left;
    }

    .pfy-member-account__badge-image {
        order: 1;
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
    }

    .pfy-member-account__badge-label {
        order: 2;
        margin: 0;
        white-space: nowrap;
    }

    p.pfy-member-account__text {
        font-size: .8em;
    }
}

/* Phase37: member benefits */
.pfy-member-coupons {
    width: 100%;
}

.pfy-member-coupons__heading-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0 0 20px;
}

.pfy-member-coupons__title {
    margin: 0;
    font-size: 24px;
    line-height: 1.4;
}

.pfy-member-coupons__bonus-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #f8fafc;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.pfy-member-coupons__bonus-link:hover,
.pfy-member-coupons__bonus-link:focus {
    border-color: #9ca3af;
    background: #f3f4f6;
    color: #111827;
    text-decoration: none;
}

.pfy-member-coupons__empty {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
}

.pfy-member-coupons__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pfy-member-coupon {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d1d5db;
    border-radius: 18px;
    background: #ffffff;
}

.pfy-member-coupon__content {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 20px;
}

.pfy-member-coupon__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.pfy-member-coupon__title {
    margin: 0 0 10px !important;
    font-size: 19px;
    line-height: 1.4;
}

.pfy-member-coupon__status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.pfy-member-coupon__status--granted {
    background: #ecfdf5;
    color: #047857;
}

.pfy-member-coupon__status--applied {
    background: #f3f4f6;
    color: #4b5563;
}

.pfy-member-coupon__status--unlimited {
    background: #fff7ed;
    color: #9a3412;
}

.pfy-member-coupon__discount {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 700;
}

.pfy-member-coupon__code-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    margin-bottom: 14px;
}

.pfy-member-coupon__code-label {
    font-size: 13px;
    font-weight: 700;
}

.pfy-member-coupon__code {
    margin: 0;
    padding: 7px 11px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.pfy-member-coupon__code-row p {
    font-size: 16px;
}

.pfy-member-coupon__code--locked {
    min-width: 94px;
    text-align: center;
}

.pfy-member-coupon__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.pfy-member-coupon__copy:hover,
.pfy-member-coupon__copy:focus {
    border-color: #111827;
}

.pfy-member-coupon__copy-message {
    font-size: 12px;
    color: #4b5563;
}

.pfy-member-coupon__plan-benefit {
    display: flex;
    align-items: center;
    min-height: 42px;
    margin-bottom: 14px;
}

.pfy-member-coupon__plan-benefit span {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 8px;
    background: #f3f4f6;
    font-size: 13px;
    font-weight: 700;
}

.pfy-member-coupon__description {
    margin: 0 0 16px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.7;
}

.pfy-member-coupon__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 40px;
    margin-top: auto;
    padding: 8px 16px;
    border-radius: 999px;
    background: #111827;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.pfy-member-coupon__button:hover,
.pfy-member-coupon__button:focus {
    color: #ffffff;
    text-decoration: none;
}

.pfy-member-coupon__lock {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(1px);
}

.pfy-member-coupon__lock span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.36);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

@media (max-width: 980px) {
    .pfy-member-coupons__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pfy-member-coupon--ambassador {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .pfy-member-coupons__heading-row {
        gap: 9px;
        margin-bottom: 14px;
    }

    .pfy-member-coupons__title {
        font-size: 22px;
    }

    .pfy-member-coupons__bonus-link {
        min-height: 26px;
        padding: 4px 9px;
        font-size: 13px;
    }

    .pfy-member-coupons__list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pfy-member-coupon--ambassador {
        grid-column: auto;
    }

    .pfy-member-coupon__content {
        padding: 15px;
    }

    .pfy-member-coupon__header {
        align-items: center;
        margin-bottom: 6px;
    }

    .pfy-member-coupon__title {
        margin-bottom: 4px !important;
        font-size: 17px;
    }

    .pfy-member-coupon__discount {
        margin-bottom: 10px;
    }

    .pfy-member-coupon__code-row,
    .pfy-member-coupon__plan-benefit {
        min-height: 36px;
        margin-bottom: 10px;
    }

    .pfy-member-coupon__description {
        margin-bottom: 12px;
        line-height: 1.6;
    }

    .pfy-member-coupon__button {
        min-height: 36px;
        padding: 7px 14px;
        font-size: 13px;
    }

    .pfy-member-coupon__lock span {
        min-height: 34px;
        padding: 7px 16px;
        font-size: 14px;
    }
}

/* Phase37 v2.9.9: benefit cards layout correction */
.pfy-member-coupons__heading-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
}

.pfy-member-coupons__title {
    margin: 0 10px 0 0 !important;
}

.pfy-member-coupons__bonus-link {
    margin: 0 !important;
}

.pfy-member-coupons__list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(220px, 1fr)) !important;
    align-items: stretch !important;
    gap: 16px !important;
}

.pfy-member-coupon {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
}

.pfy-member-coupon__description:empty {
    display: none !important;
}

@media (max-width: 980px) {
    .pfy-member-coupons__list {
        grid-template-columns: repeat(2, minmax(220px, 1fr)) !important;
    }

    .pfy-member-coupon--ambassador {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 640px) {
    .pfy-member-coupons__list {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .pfy-member-coupon--ambassador {
        grid-column: auto !important;
    }
}


/* Phase37 v2.9.10: compact benefit cards */
.pfy-member-coupon__content {
    padding: 16px !important;
}

.pfy-member-coupon__header {
    margin-bottom: 6px !important;
}

.pfy-member-coupon__title {
    margin-bottom: 4px !important;
}

.pfy-member-coupon__discount {
    margin-bottom: 9px !important;
}

.pfy-member-coupon__code-row,
.pfy-member-coupon__plan-benefit {
    min-height: 36px !important;
    margin-bottom: 10px !important;
}

.pfy-member-coupon__code-label {
    white-space: nowrap;
}

.pfy-member-coupon__copy {
    min-height: 32px !important;
    padding: 5px 11px !important;
}

.pfy-member-coupon__button {
    min-height: 34px !important;
    padding: 6px 13px !important;
    font-size: 13px !important;
}

@media (max-width: 640px) {
    .pfy-member-coupon__content {
        padding: 13px !important;
    }

    .pfy-member-coupon__code-row {
        flex-wrap: nowrap;
        gap: 6px;
    }

    .pfy-member-coupon__code {
        min-width: 0;
        padding: 6px 8px;
        font-size: 15px !important;
    }
}


/* Phase37 v2.9.11: remove duplicated/reflected card elements */
.pfy-member-coupons__heading-row {
    margin: 0 0 2em !important;
}

.pfy-member-coupon,
.pfy-member-coupon__content,
.pfy-member-coupon__content > *,
.pfy-member-coupon__copy,
.pfy-member-coupon__code {
    -webkit-box-reflect: none !important;
    transform: none !important;
    filter: none !important;
}

.pfy-member-coupon__copy::before,
.pfy-member-coupon__copy::after,
.pfy-member-coupon__code::before,
.pfy-member-coupon__code::after,
.pfy-member-coupon__discount::before,
.pfy-member-coupon__discount::after {
    content: none !important;
    display: none !important;
}

.pfy-member-coupon__description {
    margin-bottom: 0 !important;
}


/* Phase40: 会員退会 */
.pfy-member-account__withdrawal {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 10px 16px;
    margin-top: 18px;
    text-align: right;
}

.pfy-member-account__withdrawal-form {
    margin: 0;
}

.pfy-member-account__withdrawal-note {
    flex: 1 1 320px;
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
}

.pfy-member-account__withdrawal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    min-height: 38px;
    padding: 7px 16px;
    border: 1px solid #b91c1c;
    border-radius: 999px;
    background: #ffffff;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    cursor: pointer;
}

.pfy-member-account__withdrawal-button:hover:not(:disabled) {
    background: #b91c1c;
    color: #ffffff;
}

.pfy-member-account__withdrawal-button:disabled {
    border-color: #d1d5db;
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

@media (max-width: 782px) {
    .pfy-member-account__withdrawal {
        justify-content: flex-end;
    }

    .pfy-member-account__withdrawal-note {
        flex-basis: 100%;
        text-align: left;
    }
}

/* Phase40: 退会確認モーダル */
body.pfy-account-delete-modal-open {
    overflow: hidden;
}

.pfy-account-delete-modal[hidden] {
    display: none !important;
}

.pfy-account-delete-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pfy-account-delete-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.56);
}

.pfy-account-delete-modal__dialog {
    position: relative;
    width: min(100%, 460px);
    padding: 28px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.28);
}

.pfy-account-delete-modal__title {
    margin: 0 0 14px;
    color: #111827;
    font-size: 20px;
    line-height: 1.5;
}

.pfy-account-delete-modal__text {
    margin: 0;
    color: #374151;
    font-size: 15px;
    line-height: 1.8;
}

.pfy-account-delete-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
}

.pfy-account-delete-modal__button {
    min-height: 42px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    cursor: pointer;
}

.pfy-account-delete-modal__button--cancel {
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
}

.pfy-account-delete-modal__button--confirm {
    border: 1px solid #b91c1c;
    background: #b91c1c;
    color: #ffffff;
}

.pfy-account-delete-modal__button:disabled {
    cursor: wait;
    opacity: 0.65;
}

@media (max-width: 600px) {
    .pfy-account-delete-modal {
        align-items: flex-end;
        padding: 16px;
    }

    .pfy-account-delete-modal__dialog {
        width: 100%;
        padding: 24px 20px;
        border-radius: 16px;
    }

    .pfy-account-delete-modal__actions {
        flex-direction: column-reverse;
    }

    .pfy-account-delete-modal__button {
        width: 100%;
    }
}


/* Phase43: 会員編集画面の文字数カウンター */
.pfy-member-edit__character-counter {
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-align: right;
}


/* Phase44/45: Profy No. / page-based Founding tag */
.pfy-member-site__profy-number{display:inline-block;margin-left:10px;color:#6b7280;font-size:.68em;font-weight:700;line-height:1.4;vertical-align:baseline;white-space:normal}
.pfy-member-site__founding-wrap{margin:0 0 5px;line-height:1}
.pfy-member-site__founding{display:inline-flex;align-items:center;min-height:20px;padding:2px 8px;border:1px solid #d7ad42;border-radius:999px;background:linear-gradient(135deg,#fff8d6 0%,#e5bd55 48%,#b9821e 100%);box-shadow:0 1px 4px rgba(112,75,10,.18),inset 0 1px 0 rgba(255,255,255,.75);color:#5b3a04;font-size:10px;font-weight:900;line-height:1.35;letter-spacing:.02em;white-space:nowrap}
@media(max-width:782px){.pfy-member-site__profy-number{display:block;margin:3px 0 0}.pfy-member-site__founding{font-size:9px;padding:2px 7px}}


/* Profy管理画面：ページネーション */
.pfy-admin-pagination {
    box-sizing: border-box;
    min-height: 42px;
    margin: 18px 0 8px;
    padding-right: 18px;
}

.pfy-admin-pagination .tablenav-pages {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
    float: none;
    width: 100%;
    margin: 0;
}

.pfy-admin-pagination .displaying-num {
    margin-right: 8px;
    font-size: 13px;
    line-height: 32px;
}

.pfy-admin-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 34px;
    height: 34px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    background: #fff;
    color: #2271b1;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

.pfy-admin-pagination .page-numbers:hover,
.pfy-admin-pagination .page-numbers:focus {
    border-color: #2271b1;
    color: #135e96;
}

.pfy-admin-pagination .page-numbers.current {
    border-color: #2271b1;
    background: #2271b1;
    color: #fff;
}

.pfy-admin-pagination .page-numbers.dots {
    min-width: 24px;
    padding: 0 4px;
    border-color: transparent;
    background: transparent;
    color: #50575e;
}

@media (max-width: 782px) {
    .pfy-admin-pagination {
        padding-right: 10px;
    }

    .pfy-admin-pagination .tablenav-pages {
        justify-content: flex-start;
    }

    .pfy-admin-pagination .displaying-num {
        width: 100%;
        margin: 0 0 4px;
        line-height: 1.5;
    }
}
