.front-uplus-mate {
    display: grid;
    gap: 16px;
    padding: 0 16px 96px;
    background:
        radial-gradient(circle at top right, rgb(230 0 126 / 14%), transparent 30%),
        linear-gradient(180deg, #fff 0, #f7f3f6 320px, #f6f6f7 100%);
    color: #1a1a1a;
}

.front-uplus-mate--detail {
    gap: 14px;
}

.front-uplus-mate--create-mode .front-uplus-mate__create {
    order: 1;
}

.front-uplus-mate--create-mode .front-uplus-mate__create-guide {
    order: 2;
}


.front-uplus-mate__back {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    margin-left: -8px;
    border-radius: 50%;
    color: #1a1a1a;
    text-decoration: none;
    place-items: center;
}

.front-uplus-mate__back:focus-visible {
    outline: 3px solid rgb(230 0 126 / 22%);
    outline-offset: 2px;
}

.front-uplus-mate__back .material-symbols-outlined {
    font-size: 24px;
}

.front-uplus-mate__filters,
.front-uplus-mate__create,
.front-uplus-mate__create-guide,
.front-uplus-mate__list,
.front-uplus-mate-detail__hero,
.front-uplus-mate-detail__facts,
.front-uplus-mate-detail__panel {
    border: 1px solid rgb(230 0 126 / 10%);
    border-radius: 26px;
    background: rgb(255 255 255 / 90%);
    box-shadow: 0 18px 42px rgb(52 58 80 / 10%);
}

.front-uplus-mate__hero {
    position: sticky;
    top: 52px;
    z-index: 30;
    overflow: visible;
    margin: 0 -16px;
    padding: 14px 16px 10px;
    border-bottom: 1px solid transparent;
    background: #fff;
}

.front-uplus-mate__title-row {
    display: grid;
    gap: 10px;
}

.front-uplus-mate__heading {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
}

.front-uplus-mate__title-actions {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.front-uplus-mate .front-page-heading__copy {
    min-width: 0;
    flex: 1 1 220px;
}


.front-uplus-mate__create-link {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--front-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 12px 24px rgb(230 0 126 / 20%);
    overflow-wrap: anywhere;
}

.front-uplus-mate__create-help {
    display: grid;
    gap: 2px;
    margin: 0;
    color: var(--front-muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.front-uplus-mate__create-link .material-symbols-outlined {
    font-size: 20px;
}

.front-uplus-mate .front-page-heading__copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}


.front-uplus-mate__kicker {
    margin: 0 0 8px;
    color: var(--front-accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.front-uplus-mate__hero:not(.front-page-heading) h1,
.front-uplus-mate-detail__copy h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #171923;
    font-size: clamp(30px, 9vw, 48px);
    font-weight: 950;
    letter-spacing: -1.4px;
    line-height: .98;
}

.front-uplus-mate__hero:not(.front-page-heading) p:last-child,
.front-uplus-mate-detail__copy p {
    position: relative;
    z-index: 1;
    max-width: 56ch;
    margin: 12px 0 0;
    color: #666d89;
    font-size: 14px;
    line-height: 1.55;
}

.front-uplus-mate-detail__copy p {
    max-width: none;
}
.front-uplus-mate__flash {
    margin: 0;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 800;
}

.front-uplus-mate-detail__opened-confirmation {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgb(230 0 126 / 14%);
    border-radius: 22px;
    background: linear-gradient(135deg, #fff7fc, #fff);
    box-shadow: 0 12px 28px rgb(52 58 80 / 8%);
}

.front-uplus-mate-detail__opened-confirmation > .material-symbols-outlined {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 14px;
    background: #fff;
    color: var(--front-accent);
    font-size: 22px;
    font-variation-settings: "FILL" 1;
}

.front-uplus-mate-detail__opened-confirmation small,
.front-uplus-mate-detail__opened-confirmation strong,
.front-uplus-mate-detail__opened-confirmation em {
    display: block;
    min-width: 0;
}

.front-uplus-mate-detail__opened-confirmation small {
    width: max-content;
    max-width: 100%;
    padding: 3px 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgb(230 0 126 / 8%);
    color: #9d0057;
    font-size: 11px;
    font-style: normal;
    font-weight: 950;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.front-uplus-mate-detail__opened-confirmation strong {
    margin-top: 6px;
    color: #231b2a;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.25;
}

.front-uplus-mate-detail__opened-confirmation em {
    overflow: hidden;
    margin-top: 3px;
    color: #666d89;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.front-uplus-mate-detail__opened-confirmation a {
    grid-column: 1 / -1;
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--front-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 10px 22px rgb(230 0 126 / 18%);
}

.front-uplus-mate-detail__opened-confirmation a:focus-visible {
    outline: 3px solid rgb(230 0 126 / 18%);
    outline-offset: 3px;
}

.front-uplus-mate__flash--success {
    background: #ecfbf3;
    color: #126b42;
}

.front-uplus-mate__flash--error {
    background: #fff0f6;
    color: #b0005f;
}

.front-uplus-mate__filters,
.front-uplus-mate__create,
.front-uplus-mate__create-guide,
.front-uplus-mate__list,
.front-uplus-mate-detail__panel {
    display: grid;
    gap: 16px;
    padding: 16px;
}

.front-uplus-mate__filters h2,
.front-uplus-mate__create h2,
.front-uplus-mate__create-guide h2,
.front-uplus-mate__section-heading h2,
.front-uplus-mate-detail__panel h2 {
    margin: 0;
    color: #252a3d;
    font-size: 19px;
    font-weight: 950;
    letter-spacing: -.4px;
}

.front-uplus-mate__filters p,
.front-uplus-mate__create p,
.front-uplus-mate__create-guide p,
.front-uplus-mate__section-heading p {
    margin: 5px 0 0;
    color: #747486;
    font-size: 13px;
    line-height: 1.45;
}

.front-uplus-mate-filter,
.front-uplus-mate-form {
    display: grid;
    gap: 10px;
}

.front-uplus-mate-filter label,
.front-uplus-mate-form label,
.front-uplus-mate-form legend {
    color: #343a50;
    font-size: 12px;
    font-weight: 900;
}

.front-uplus-mate-filter__row,
.front-uplus-mate-form__split {
    display: grid;
    gap: 8px;
}

.front-uplus-mate-filter input,
.front-uplus-mate-filter select,
.front-uplus-mate-form input,
.front-uplus-mate-form select,
.front-uplus-mate-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid #ece8ef;
    border-radius: 15px;
    background: #fff;
    color: #242838;
    font: inherit;
    font-size: 14px;
    padding: 11px 12px;
    box-sizing: border-box;
}
.front-uplus-mate-form__group-size-field {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.front-uplus-mate-stepper {
    display: grid;
    width: min(100%, 148px);
    min-width: 0;
    min-height: 46px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 2px;
}

.front-uplus-mate-form .front-uplus-mate-stepper__button {
    display: grid;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 1.5px solid #e6007e;
    border-radius: 50%;
    background: #fff;
    color: #e6007e;
    box-shadow: none;
    cursor: pointer;
    place-items: center;
}

.front-uplus-mate-form .front-uplus-mate-stepper__button .material-symbols-outlined {
    font-size: 20px;
}

.front-uplus-mate-form .front-uplus-mate-stepper__button:focus-visible {
    outline: 3px solid rgb(230 0 126 / 22%);
    outline-offset: 2px;
}

.front-uplus-mate-form .front-uplus-mate-stepper__button:disabled {
    border-color: #ded9e0;
    background: #f7f5f7;
    color: #aaa3ac;
    box-shadow: none;
    cursor: not-allowed;
}

.front-uplus-mate-form .front-uplus-mate-stepper__input {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 2px;
    border: 1px solid #ece8ef;
    border-radius: 15px;
    background: #fff;
    font-size: 16px;
    font-weight: 900;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.front-uplus-mate-form .front-uplus-mate-stepper__input::-webkit-inner-spin-button,
.front-uplus-mate-form .front-uplus-mate-stepper__input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.front-uplus-mate-form .front-uplus-mate-stepper__input:focus {
    border-color: rgb(230 0 126 / 52%);
    outline: 3px solid rgb(230 0 126 / 12%);
    outline-offset: 0;
}


.front-uplus-mate-select {
    position: relative;
    display: block;
    min-width: 0;
}

.front-uplus-mate-select select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
}

.front-uplus-mate-select::after {
    position: absolute;
    top: 50%;
    right: 14px;
    color: #8a6077;
    font-family: "Material Symbols Outlined";
    font-size: 21px;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
    content: "expand_more";
}

.front-uplus-mate-thumbnail {
    display: grid;
    gap: 10px;
}

.front-uplus-mate-thumbnail__heading {
    display: grid;
    gap: 4px;
}

.front-uplus-mate-thumbnail__heading strong {
    color: #343a50;
    font-size: 12px;
    font-weight: 900;
}

.front-uplus-mate-thumbnail__heading small,
.front-uplus-mate-thumbnail__status {
    margin: 0;
    color: #88899a;
    font-size: 12px;
    line-height: 1.5;
}

.front-uplus-mate-thumbnail__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.front-uplus-mate-thumbnail__upload,
.front-uplus-mate-thumbnail__preview {
    display: grid;
    min-width: 0;
    aspect-ratio: 4 / 3;
    place-items: center;
    overflow: hidden;
    margin: 0;
    border: 1px dashed #d8d2dc;
    border-radius: 16px;
    background: #fff;
}

.front-uplus-mate-thumbnail__upload {
    align-content: center;
    gap: 5px;
    padding: 16px;
    color: #5f5662;
    cursor: pointer;
    text-align: center;
}

.front-uplus-mate-thumbnail__upload.is-selected {
    border-color: rgb(230 0 126 / 55%);
    background: #fff7fb;
}

.front-uplus-mate-thumbnail__upload .material-symbols-outlined {
    color: #e6007e;
    font-size: 30px;
}

.front-uplus-mate-thumbnail__upload small {
    max-width: 100%;
    overflow: hidden;
    color: #88899a;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.front-uplus-mate-thumbnail__upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.front-uplus-mate-thumbnail__preview {
    position: relative;
    border-style: solid;
}

.front-uplus-mate-thumbnail__preview[hidden] {
    display: none;
}

.front-uplus-mate-thumbnail__preview img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.front-uplus-mate-thumbnail__preview figcaption {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgb(31 26 30 / 78%);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.front-uplus-mate-thumbnail__upload:focus-within {
    border-color: rgb(230 0 126 / 52%);
    outline: 3px solid rgb(230 0 126 / 12%);
}

@media (max-width: 479px) {
    .front-uplus-mate-thumbnail__grid {
        grid-template-columns: 1fr;
    }
}

.front-uplus-mate-form textarea {
    min-height: 118px;
    resize: vertical;
}

.front-uplus-mate-filter input:focus,
.front-uplus-mate-filter select:focus,
.front-uplus-mate-form input:focus,
.front-uplus-mate-form select:focus,
.front-uplus-mate-form textarea:focus {
    border-color: rgb(230 0 126 / 52%);
    outline: 3px solid rgb(230 0 126 / 12%);
}

.front-uplus-mate-filter button,
.front-uplus-mate-form button,
.front-uplus-mate-detail__close button,
.front-uplus-mate-application__approve {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 999px;
    background: var(--front-accent);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 24px rgb(230 0 126 / 20%);
}

.front-uplus-mate-form__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.front-uplus-mate-form__actions > a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid #ece8ef;
    border-radius: 999px;
    background: #fff;
    color: #555b72;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.front-uplus-mate-form__actions > a:focus-visible,
.front-uplus-mate-detail__edit:focus-visible,
.front-uplus-mate-detail__close button:focus-visible {
    outline: 3px solid rgb(230 0 126 / 18%);
    outline-offset: 3px;
}

.front-uplus-mate-filter button {
    min-width: 118px;
    padding-inline: 18px;
}

.front-uplus-mate__login-card {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid #f1edf3;
    border-radius: 18px;
    background: #f8f6f9;
    color: inherit;
    text-align: left;
    text-decoration: none;
    box-shadow: none;
}

.front-uplus-mate__login-card:focus-visible {
    outline: 3px solid rgb(230 0 126 / 18%);
    outline-offset: 3px;
}

.front-uplus-mate__login-card .material-symbols-outlined {
    flex: 0 0 auto;
    color: var(--front-accent);
}

.front-uplus-mate__login-card strong {
    flex: 1;
    min-width: 0;
    color: #242838;
    font-size: 13px;
    line-height: 1.35;
}

.front-uplus-mate__login-card span:last-child {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--front-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgb(230 0 126 / 18%);
}

.front-uplus-mate-filter__chip-stack {
    display: grid;
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
}

.front-uplus-mate-filter__chips,
.front-uplus-mate-filter__more-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.front-uplus-mate-filter__chips a,
.front-uplus-mate-filter__more-list a,
.front-uplus-mate-filter__more summary {
    min-width: 0;
    overflow: hidden;
    padding: 9px 12px;
    border: 1px solid #ece8ef;
    border-radius: 999px;
    background: #fff;
    color: #666d89;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.front-uplus-mate-filter__chips a,
.front-uplus-mate-filter__more-list a {
    display: block;
}

.front-uplus-mate-filter__more {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
}

.front-uplus-mate-filter__more[open] {
    gap: 8px;
}

.front-uplus-mate-filter__more summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 112px;
    cursor: pointer;
    justify-self: center;
    list-style: none;
}

.front-uplus-mate-filter__more summary::-webkit-details-marker {
    display: none;
}

.front-uplus-mate-filter__more summary .front-uplus-mate-filter__more-icon {
    display: inline-block;
    font-size: 18px;
    vertical-align: -4px;
}

.front-uplus-mate-filter__more summary .front-uplus-mate-filter__more-icon--open {
    display: none;
}

.front-uplus-mate-filter__more[open] summary {
    grid-row: 2;
}

.front-uplus-mate-filter__more[open] summary .front-uplus-mate-filter__more-icon--closed {
    display: none;
}

.front-uplus-mate-filter__more[open] summary .front-uplus-mate-filter__more-icon--open {
    display: inline-block;
}

.front-uplus-mate-filter__more-list {
    grid-row: 1;
    justify-self: stretch;
    width: 100%;
    max-height: 118px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 2px;
}

.front-uplus-mate-filter__chips a.is-active,
.front-uplus-mate-filter__more-list a.is-active {
    border-color: transparent;
    background: #fce4f1;
    color: var(--front-accent);
}

.front-uplus-mate__create-copy {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.front-uplus-mate__create-copy > .material-symbols-outlined {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 16px;
    background: #fce4f1;
    color: var(--front-accent);
}

.front-uplus-mate__create-guide {
    gap: 12px;
}

.front-uplus-mate__create-guide-card {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.front-uplus-mate__create-guide-card + .front-uplus-mate__create-guide-card {
    padding-top: 14px;
    border-top: 1px solid #f0edf3;
}

.front-uplus-mate__create-guide-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.front-uplus-mate__create-guide-heading > .material-symbols-outlined {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 16px;
    background: #fce4f1;
    color: var(--front-accent);
}

.front-uplus-mate__create-guide-heading p {
    margin: 0 0 2px;
    color: var(--front-accent);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.front-uplus-mate__selected-target {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 10px;
    border: 1px solid #f0edf3;
    border-radius: 20px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.front-uplus-mate__selected-target:focus-visible {
    outline: 3px solid rgb(230 0 126 / 18%);
    outline-offset: 3px;
}

.front-uplus-mate__selected-target-media {
    position: relative;
    display: grid;
    overflow: hidden;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff5fb, #f3eef8);
    color: var(--front-accent);
}

.front-uplus-mate__selected-target-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.front-uplus-mate__selected-target-media img + .material-symbols-outlined {
    display: none;
}

.front-uplus-mate__selected-target small,
.front-uplus-mate__selected-target strong {
    display: block;
    min-width: 0;
}

.front-uplus-mate__selected-target small {
    color: #8a6077;
    font-size: 12px;
    font-weight: 900;
}

.front-uplus-mate__selected-target strong {
    overflow: hidden;
    margin-top: 4px;
    color: #242838;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.front-uplus-mate__create-guide-note {
    padding: 12px 14px;
    border-radius: 16px;
    background: #faf7fb;
}

.front-uplus-mate__create-guide-card--checklist ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.front-uplus-mate__create-guide-card--checklist li {
    position: relative;
    padding-left: 24px;
    color: #5f6273;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.4;
}

.front-uplus-mate__create-guide-card--checklist li::before {
    position: absolute;
    top: .15em;
    left: 0;
    display: grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border-radius: 50%;
    background: #fce4f1;
    color: var(--front-accent);
    font-size: 11px;
    font-weight: 950;
    content: "✓";
}

.front-uplus-mate-form__error {
    display: block;
    margin: -2px 0 2px;
    color: #a80059;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

.front-uplus-mate-form__locked {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgb(176 0 95 / 18%);
    border-radius: 18px;
    background: #fff5fa;
    color: #5f2746;
}

.front-uplus-mate-form__locked > .material-symbols-outlined {
    font-size: 22px;
}

.front-uplus-mate-form__locked strong {
    display: block;
    font-size: 13px;
    line-height: 1.45;
}

.front-uplus-mate-form__locked p {
    margin: 5px 0 0;
    font-size: 12px;
    line-height: 1.45;
}

.front-uplus-mate-form fieldset {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 12px;
    border: 1px solid #ece8ef;
    border-radius: 18px;
}

.front-uplus-mate-form fieldset label {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 8px;
}

.front-uplus-mate-form fieldset input {
    width: auto;
    min-height: auto;
}

.front-uplus-mate-form fieldset p,
.front-uplus-mate-form__help {
    margin: 0;
    color: #88899a;
    font-size: 12px;
    line-height: 1.45;
}

.front-uplus-mate-paid-policy,
.front-uplus-mate-paid-panel {
    display: grid;
    min-width: 0;
    gap: 12px;
}

.front-uplus-mate-switch {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
    cursor: pointer;
}

.front-uplus-mate-switch__copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.front-uplus-mate-switch__copy strong {
    color: #343a50;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.4;
}

.front-uplus-mate-switch__copy small {
    color: #77798c;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.front-uplus-mate-form input.front-uplus-mate-switch__input {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    opacity: 0;
    clip-path: inset(50%);
}

.front-uplus-mate-switch__track {
    position: relative;
    width: 46px;
    height: 26px;
    flex: 0 0 46px;
    border-radius: 999px;
    background: #c8c6ce;
    transition: background-color .16s ease;
}

.front-uplus-mate-switch__track span {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgb(37 31 42 / 24%);
    transition: transform .16s ease;
}

.front-uplus-mate-switch__input:checked ~ .front-uplus-mate-switch__track {
    background: var(--front-accent);
}

.front-uplus-mate-switch__input:checked ~ .front-uplus-mate-switch__track span {
    transform: translateX(20px);
}

.front-uplus-mate-switch__input:focus-visible ~ .front-uplus-mate-switch__track {
    outline: 3px solid rgb(230 0 126 / 24%);
    outline-offset: 3px;
}

.front-uplus-mate-switch__input:disabled ~ .front-uplus-mate-switch__track {
    opacity: .55;
    cursor: not-allowed;
}

.front-uplus-mate-paid-panel {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding: 12px 0 0;
    border-top: 1px solid #f0edf3;
}

.front-uplus-mate-paid-panel[hidden] {
    display: none;
}

.front-uplus-mate-paid-panel__field {
    display: grid;
    width: min(100%, 148px);
    max-width: 148px;
    min-width: 0;
    gap: 7px;
}

.front-uplus-mate-form input[data-uplus-mate-paid-points] {
    width: 100%;
    max-width: 148px;
}

.front-uplus-mate-switch--auto-approval {
    align-items: flex-start;
    align-self: start;
}

@media (min-width: 720px) {
    .front-uplus-mate-paid-panel {
        grid-template-columns: 148px minmax(0, 1fr);
        gap: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .front-uplus-mate-switch__track,
    .front-uplus-mate-switch__track span {
        transition: none;
    }
}

.front-uplus-mate__section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.front-uplus-mate__grid {
    display: grid;
    gap: 12px;
}

.front-uplus-mate-card-shell {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 7px;
}

.front-uplus-mate-card__owner-actions {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 8px;
}

.front-uplus-mate-card__owner-actions a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid rgb(230 0 126 / 22%);
    border-radius: 999px;
    background: #fff;
    color: var(--front-accent);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.front-uplus-mate-card__owner-actions a:focus-visible {
    outline: 3px solid rgb(230 0 126 / 18%);
    outline-offset: 2px;
}

.front-uplus-mate-card__owner-actions small {
    color: #747486;
    font-size: 11px;
    line-height: 1.35;
    text-align: right;
}

.front-uplus-mate-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    overflow: hidden;
    min-height: 150px;
    border: 1px solid #ece8ef;
    border-radius: 24px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 20px rgb(52 58 80 / 7%);
    position: relative;
    isolation: isolate;
    transition: border-color var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard), transform var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard), box-shadow var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard);
}

.front-uplus-mate-card--host {
    grid-template-columns: 112px minmax(0, 1fr);
    border-color: rgb(230 0 126 / 16%);
    background:
        linear-gradient(135deg, #fff 0%, #fff 74%, #fff7fb 100%),
        #fff;
    box-shadow: 0 8px 20px rgb(52 58 80 / 7%);
}

.front-uplus-mate-card--hot {
    border-color: rgb(230 0 126 / 24%);
    box-shadow: 0 10px 26px rgb(184 0 101 / 11%);
}


.front-uplus-mate-card--host::before {
    content: "";
    position: absolute;
    inset: 12px auto 12px 0;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, rgb(230 0 126 / 52%), rgb(230 0 126 / 16%));
}

.front-uplus-mate-card:hover,
.front-uplus-mate-card:focus-visible {
    box-shadow: 0 14px 30px rgb(52 58 80 / 14%);
    outline: none;
    transform: translateY(-2px);
}

.front-uplus-mate-card--host:hover,
.front-uplus-mate-card--host:focus-visible {
    border-color: rgb(230 0 126 / 24%);
    box-shadow: 0 14px 30px rgb(52 58 80 / 13%);
}

.front-uplus-mate-card__media,
.front-uplus-mate-detail__media {
    position: relative;
    display: grid;
    overflow: hidden;
    place-items: center;
    background: linear-gradient(135deg, #fff0f8, #eefbff);
    color: var(--front-accent);
}

.front-uplus-mate-card--host .front-uplus-mate-card__media {
    background:
        radial-gradient(circle at 50% 28%, rgb(255 255 255 / 72%), transparent 38%),
        linear-gradient(145deg, #fff1f8 0%, #f8fbff 100%);
}

.front-uplus-mate-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.front-uplus-mate-detail__media img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: inherit;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    object-position: center;
}

.front-uplus-mate-card__media > .material-symbols-outlined,
.front-uplus-mate-detail__media > .material-symbols-outlined {
    font-size: 44px;
}
.front-uplus-mate-card__media img + .material-symbols-outlined {
    display: none;
}


.front-uplus-mate-card__status {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgb(255 255 255 / 92%);
    color: var(--front-accent);
    font-size: 11px;
    font-weight: 900;
    z-index: 2;
}

.front-uplus-mate-card__hot {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    gap: 3px;
    padding: 0 8px;
    border: 1px solid rgb(230 0 126 / 20%);
    border-radius: 999px;
    background: rgb(255 255 255 / 94%);
    color: var(--front-accent);
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 4px 14px rgb(76 22 52 / 12%);
}

.front-uplus-mate-card__hot .material-symbols-outlined {
    font-size: 16px;
    font-variation-settings: "FILL" 1;
}

.front-uplus-mate-card__status--closed {
    color: #6f7480;
}

.front-uplus-mate-card__body {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 14px;
}

.front-uplus-mate-card--host .front-uplus-mate-card__body {
    grid-template-columns: auto minmax(0, 1fr);
    align-content: start;
    column-gap: 8px;
    row-gap: 5px;
    padding: 12px 14px;
}

.front-uplus-mate-card__host-panel {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    align-items: center;
    gap: 6px;
    padding: 0;
    border-radius: 999px;
    background: transparent;
}

.front-uplus-mate-card__host-mark {
    display: grid;
    width: 22px;
    height: 22px;
    border: 1px solid rgb(230 0 126 / 18%);
    border-radius: 999px;
    background: #fff7fc;
    color: var(--front-accent);
    place-items: center;
}

.front-uplus-mate-card__host-mark .material-symbols-outlined {
    font-size: 15px;
    font-variation-settings: "FILL" 1;
}

.front-uplus-mate-card__host-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.front-uplus-mate-card__host-copy small {
    display: none;
}

.front-uplus-mate-card--host .front-uplus-mate-card__host-panel {
    grid-column: 1;
}

.front-uplus-mate-card--host .front-uplus-mate-card__source {
    grid-column: 2;
    flex-wrap: nowrap;
    align-self: center;
    overflow: hidden;
}

.front-uplus-mate-card--host .front-uplus-mate-card__source .front-uplus-mate-card__meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.front-uplus-mate-card--host strong,
.front-uplus-mate-card--host .front-uplus-mate-card__excerpt,
.front-uplus-mate-card--host .front-uplus-mate-card__facts {
    grid-column: 1 / -1;
}

.front-uplus-mate-card__source {
    display: flex;
    min-width: 0;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
}

.front-uplus-mate-card__type {
    display: inline-flex;
    max-width: 88px;
    flex: 0 0 auto;
    padding: 2px 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgb(230 0 126 / 8%);
    color: #a00058;
    font-size: 10px;
    font-weight: 950;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.front-uplus-mate-card__source .front-uplus-mate-card__meta {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.front-uplus-mate-host-badge {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    align-items: center;
    flex: 0 0 auto;
    padding: 4px 8px;
    border: 1px solid rgb(230 0 126 / 22%);
    border-radius: 999px;
    background: #fff7fc;
    color: #a00058;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: -.01em;
    line-height: 1.1;
    white-space: nowrap;
}

.front-uplus-mate-card--host .front-uplus-mate-host-badge--card {
    border-color: rgb(230 0 126 / 16%);
    background: #fff7fc;
    color: #9d0057;
    box-shadow: none;
}

.front-uplus-mate-host-badge--home {
    margin-top: 5px;
    border-color: transparent;
    background: var(--front-accent);
    color: #fff;
    box-shadow: 0 6px 14px rgb(230 0 126 / 18%);
    font-size: 10px;
}

.front-uplus-mate-host-badge--detail {
    padding: 6px 10px;
    background: rgb(255 255 255 / 86%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 80%);
    font-size: 12px;
}

.front-uplus-mate-host-badge--module {
    margin-bottom: -2px;
    font-size: 10px;
}

.front-uplus-mate-card__meta,
.front-uplus-mate-card__facts {
    color: #8a8da0;
    font-size: 11px;
    font-weight: 800;
}

.front-uplus-mate-card strong {
    color: #202436;
    font-size: 16px;
    font-weight: 950;
    line-height: 1.25;
}

.front-uplus-mate-card--host strong {
    color: #242033;
}

.front-uplus-mate-card__excerpt {
    display: -webkit-box;
    overflow: hidden;
    color: #666d89;
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.front-uplus-mate-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.front-uplus-mate-card__facts span {
    padding: 4px 7px;
    border-radius: 999px;
    background: #f6f3f7;
}

.front-uplus-mate-card--host .front-uplus-mate-card__facts span {
    background: rgb(255 240 248 / 72%);
    color: #7a345b;
}

.front-uplus-mate__empty,
.front-uplus-mate-detail__empty-note,
.front-uplus-mate-detail__privacy,
.front-uplus-mate-state {
    margin: 0;
    color: #747486;
    font-size: 13px;
    line-height: 1.5;
}

.front-uplus-mate__empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 26px 16px;
    text-align: center;
}

.front-uplus-mate__empty .material-symbols-outlined {
    color: var(--front-accent);
    font-size: 38px;
}

.front-uplus-mate__empty h3 {
    margin: 0;
    color: #242838;
    font-size: 18px;
}

.front-uplus-mate__empty p {
    margin: 0;
}
.front-uplus-mate-pagination {
    display: flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 6px;
}


.front-uplus-mate-pagination__pages {
    display: flex;
    flex: 0 0 auto;
    max-width: 100%;
    gap: 6px;
    padding: 2px;
}

.front-uplus-mate-pagination__control,
.front-uplus-mate-pagination__page,
.front-uplus-mate-pagination__ellipsis {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ece8ef;
    border-radius: 999px;
    background: #fff;
    color: #343a50;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.front-uplus-mate-pagination__control {
    flex: 0 0 auto;
    gap: 4px;
    padding: 0 14px;
}

.front-uplus-mate-pagination__control .material-symbols-outlined {
    font-size: 19px;
}

.front-uplus-mate-pagination__page--current {
    border-color: transparent;
    background: var(--front-accent);
    color: #fff;
    box-shadow: 0 10px 22px rgb(230 0 126 / 18%);
}

.front-uplus-mate-pagination__ellipsis {
    border-color: transparent;
    background: transparent;
    color: #9a94a3;
    box-shadow: none;
    pointer-events: none;
}


.front-uplus-mate-pagination__control--disabled {
    color: #b6b2bd;
    pointer-events: none;
}

.front-uplus-mate-pagination__control:focus-visible,
.front-uplus-mate-pagination__page:focus-visible {
    outline: 3px solid rgb(230 0 126 / 18%);
    outline-offset: 3px;
}



.front-uplus-mate-detail__hero {
    position: relative;
    display: grid;
    overflow: hidden;
    align-items: stretch;
    background:
        radial-gradient(circle at 100% 0%, rgb(230 0 126 / 12%), transparent 34%),
        linear-gradient(135deg, rgb(255 255 255 / 96%), rgb(255 247 252 / 88%) 58%, rgb(255 255 255 / 94%));
}

.front-uplus-mate-detail__media {
    min-height: 220px;
    aspect-ratio: 16 / 10;
}

.front-uplus-mate-detail__copy {
    position: relative;
    display: grid;
    min-height: 0;
    align-content: start;
    gap: 12px;
    padding: 22px 22px 14px;
}

.front-uplus-mate-detail__host-row {
    display: flex;
    min-width: 0;
}

.front-uplus-mate-detail__copy::before {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgb(230 0 126 / 18%), transparent);
}

.front-uplus-mate-detail__owner-section,
.front-uplus-mate-detail__join {
    display: grid;
    min-width: 0;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgb(230 0 126 / 14%);
}


.front-uplus-mate-detail__join .front-uplus-mate__login-card {
    border: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.front-uplus-mate-detail__related {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    display: grid;
    min-width: 0;
    min-height: 58px;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgb(255 255 255 / 78%);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgb(255 255 255 / 90%), rgb(255 246 251 / 82%));
    color: inherit;
    text-decoration: none;
    box-shadow: 0 16px 36px rgb(52 58 80 / 18%);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.front-uplus-mate-detail__related .material-symbols-outlined {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 14px;
    background: #fff2fa;
    color: var(--front-accent);
    font-size: 20px;
}

.front-uplus-mate-detail__related-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.front-uplus-mate-detail__related strong {
    overflow: hidden;
    color: #171923;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.front-uplus-mate-detail__related small {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff;
    color: var(--front-accent);
    font-size: 11px;
    font-weight: 950;
    line-height: 1.1;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgb(230 0 126 / 10%);
}

.front-uplus-mate-detail__layout {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 14px;
}

.front-uplus-mate-detail__main,
.front-uplus-mate-detail__side {
    display: contents;
    min-width: 0;
}

.front-uplus-mate-detail__facts {
    order: 1;
}

.front-uplus-mate-detail__panel--mates {
    order: 2;
}

.front-uplus-mate-detail__panel--applications {
    order: 3;
}

.front-uplus-mate-detail__panel--coordinate {
    order: 4;
}

.front-uplus-mate-detail__report {
    order: 6;
}


.front-uplus-mate-detail__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.front-uplus-mate-detail__badges {
    position: absolute;
    right: auto;
    bottom: 14px;
    left: 14px;
    z-index: 3;
    display: flex;
    max-width: calc(100% - 28px);
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
}

.front-uplus-mate-detail__badges span {
    max-width: 100%;
    padding: 7px 10px;
    border: 1px solid rgb(255 255 255 / 72%);
    border-radius: 999px;
    background: rgb(255 255 255 / 92%);
    color: #9d0057;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-align: left;
    box-shadow: 0 6px 18px rgb(52 58 80 / 16%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.front-uplus-mate-detail__media:has(.front-uplus-mate-detail__related) .front-uplus-mate-detail__badges {
    bottom: 86px;
}

.front-uplus-mate-detail__message,
.front-uplus-mate-state__message {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}


.front-uplus-mate-detail__owner-controls {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.front-uplus-mate-state--creator p {
    margin: 0;
    color: #4f5365;
    font-weight: 750;
}

.front-uplus-mate-detail__edit {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid rgb(230 0 126 / 24%);
    border-radius: 999px;
    background: #fff;
    color: var(--front-accent);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.front-uplus-mate-detail__owner-controls .front-uplus-mate-detail__edit,
.front-uplus-mate-detail__owner-controls .front-uplus-mate-detail__close button {
    width: auto;
    min-width: 138px;
    min-height: 42px;
    box-sizing: border-box;
    padding-inline: 18px;
    white-space: nowrap;
}

.front-uplus-mate-detail__owner-controls .front-uplus-mate-detail__close {
    margin: 0;
}

.front-uplus-mate-detail__edit-lock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    color: #666d89;
    font-size: 12px !important;
    line-height: 1.45;
}

.front-uplus-mate-detail__edit-lock .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 17px;
}

.front-uplus-mate-detail__purchase {
    margin-top: 14px;
}

.front-uplus-mate-detail__purchase button {
    display: inline-flex;
    width: auto;
    min-width: 154px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--front-accent);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    padding: 0 16px;
    box-shadow: 0 10px 22px rgb(230 0 126 / 18%);
}

.front-uplus-mate-detail__purchase button:focus-visible {
    outline: 3px solid rgb(230 0 126 / 18%);
    outline-offset: 3px;
}


.front-uplus-mate-detail__facts {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 6px 14px;
}

.front-uplus-mate-detail__facts > div {
    display: grid;
    min-width: 0;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 10px;
    align-items: center;
    padding: 12px 4px;
    color: inherit;
}

.front-uplus-mate-detail__facts > div + div {
    border-top: 1px solid #f0edf3;
}

.front-uplus-mate-detail__facts .material-symbols-outlined {
    grid-row: 1 / span 2;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: #fff2fa;
    color: var(--front-accent);
    font-size: 19px;
    line-height: 32px;
    text-align: center;
}

.front-uplus-mate-state .material-symbols-outlined,
.front-uplus-mate-person > .material-symbols-outlined {
    color: var(--front-accent);
}

.front-uplus-mate-detail__facts strong,
.front-uplus-mate-person strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #242838;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.2;
    text-overflow: ellipsis;
}

.front-uplus-mate-detail__facts small,
.front-uplus-mate-person small {
    color: #77798c;
    font-size: 11px;
    font-weight: 700;
}
.front-uplus-mate--detail .front-uplus-mate-form > button,
.front-uplus-mate--detail .front-uplus-mate-detail__close button {
    width: min(100%, 220px);
    justify-self: start;
    padding-inline: 20px;
}

.front-uplus-mate--detail .front-uplus-mate-form--comment > button {
    justify-self: end;
}

.front-uplus-mate-form--comment[aria-busy="true"] > button {
    cursor: wait;
    opacity: .62;
    box-shadow: none;
}

.front-uplus-mate-form__submit-error {
    grid-column: 1 / -1;
    margin: 0;
    color: #a80059;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.front-uplus-mate-form__submit-error:empty {
    display: none;
}

.front-uplus-mate-detail__close button {
    background: #343a50;
    box-shadow: none;
}

body.front-uplus-mate-report-open {
    overflow: hidden;
}

.front-uplus-mate-detail__report {
    display: flex;
    justify-content: flex-end;
    padding: 4px 0 28px;
}

.front-uplus-mate-detail__report-trigger {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ece8ef;
    border-radius: 999px;
    background: #fff;
    color: #777487;
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    padding: 0 13px;
    box-shadow: 0 8px 18px rgb(37 42 61 / 6%);
}

.front-uplus-mate-detail__report-trigger:focus-visible,
.front-uplus-mate-report__close:focus-visible,
.front-uplus-mate-report__scrim:focus-visible {
    outline: 3px solid rgb(230 0 126 / 18%);
    outline-offset: 3px;
}

.front-uplus-mate-report[hidden] {
    display: none;
}

.front-uplus-mate-report {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    align-items: end;
}

.front-uplus-mate-report__scrim {
    position: fixed;
    inset: 0;
    border: 0;
    background: rgb(10 12 18 / 48%);
    cursor: pointer;
}

.front-uplus-mate-report__dialog {
    position: relative;
    display: grid;
    width: 100%;
    max-height: min(82vh, 560px);
    box-sizing: border-box;
    gap: 16px;
    overflow: auto;
    border-radius: 28px 28px 0 0;
    background: #fff;
    padding: 22px 18px 24px;
    box-shadow: 0 -22px 48px rgb(22 18 28 / 22%);
}

.front-uplus-mate-report__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1edf2;
    border-radius: 50%;
    background: #fff;
    color: #555b72;
    cursor: pointer;
}

.front-uplus-mate-report__dialog .front-uplus-mate__section-heading {
    padding-right: 44px;
}

.front-uplus-mate-report__form {
    gap: 12px;
}


.front-uplus-mate-people,
.front-uplus-mate-applications,
.front-uplus-mate-comments {
    display: grid;
    gap: 12px;
}

.front-uplus-mate-comments-region {
    min-width: 0;
}

.front-uplus-mate-comments-empty {
    display: grid;
    min-height: 76px;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    border: 1px dashed rgb(230 0 126 / 20%);
    border-radius: 16px;
    background: #fff8fc;
}

.front-uplus-mate-comments-empty .material-symbols-outlined {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 12px;
    background: #fce4f1;
    color: var(--front-accent);
    font-size: 19px;
}

.front-uplus-mate-comments-empty p {
    margin: 0;
    color: #747486;
    font-size: 13px;
    line-height: 1.45;
}

.front-uplus-mate-person {
    display: grid;
    min-width: 0;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #f0eaf2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgb(52 58 80 / 7%);
}

.front-uplus-mate-person--creator {
    border-color: rgb(230 0 126 / 16%);
    background: linear-gradient(135deg, #fff5fb, #fff);
}

.front-uplus-mate-person--host {
    border-color: rgb(230 0 126 / 22%);
    background: linear-gradient(135deg, #fff0f8, #fff);
}

.front-uplus-mate-person > .material-symbols-outlined {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 15px;
    background: #fff2fa;
    color: var(--front-accent);
    font-size: 20px;
}

.front-uplus-mate-person > div {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.front-uplus-mate-application {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 16px 18px;
    border: 1px solid #f0eaf2;
    border-radius: 18px;
    background: #fff;
}

.front-uplus-mate-application__content {
    min-width: 0;
}

.front-uplus-mate-application__header {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
}

.front-uplus-mate-application__name {
    min-width: 0;
    margin: 0;
    color: #242838;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.3;
    overflow-wrap: anywhere;
    max-width: 100%;
    flex: 0 1 auto;
}

.front-uplus-mate-application__meta {
    display: flex;
    max-width: 100%;
    min-width: 0;
    flex: 0 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    color: #77798c;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.front-uplus-mate-application__status {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 8px;
    border-radius: 999px;
    background: #fce4f1;
    color: #b80065;
    font-weight: 900;
}

.front-uplus-mate-application__date {
    overflow-wrap: anywhere;
}

.front-uplus-mate-application__message {
    max-width: 72ch;
    margin: 8px 0 0;
    color: #555b72;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.front-uplus-mate-application__points {
    max-width: 72ch;
    margin: 8px 0 0;
    padding: 9px 10px;
    border-radius: 10px;
    background: #fff2fa;
    color: #693451;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.front-uplus-mate-comment {
    display: grid;
    min-width: 0;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 6px;
    align-items: start;
    padding: 16px 18px;
    border: 1px solid #f0eaf2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgb(52 58 80 / 5%);
}

.front-uplus-mate-comment__identity {
    display: grid;
    width: 40px;
    height: 40px;
    grid-row: 1 / span 2;
    place-items: center;
    border-radius: 14px;
    background: #fff2fa;
    color: var(--front-accent);
    font-size: 20px;
    font-variation-settings: "FILL" 1;
}

.front-uplus-mate-comment__header {
    display: flex;
    min-width: 0;
    grid-column: 2;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
}

.front-uplus-mate-comment__author {
    min-width: 0;
    max-width: 100%;
    color: #242838;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.front-uplus-mate-comment__date {
    min-width: 0;
    max-width: 100%;
    color: #77798c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.front-uplus-mate-comment__message {
    min-width: 0;
    max-width: 78ch;
    grid-column: 2;
    margin: 0;
    color: #555b72;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    word-break: break-word;
}

.front-uplus-mate-application__action {
    max-width: 100%;
    margin: 0;
    justify-self: end;
}

.front-uplus-mate-application__approve {
    width: auto;
    max-width: 100%;
    min-width: 112px;
    min-height: 46px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 22px;
    overflow-wrap: anywhere;
    white-space: normal;
    transition: background-color var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard), box-shadow var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard), transform var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard);
}

.front-uplus-mate-application__approve:focus-visible {
    outline: 3px solid rgb(230 0 126 / 22%);
    outline-offset: 3px;
}

.front-uplus-mate-application__approve:not(:disabled):active {
    transform: scale(.98);
}

.front-uplus-mate-application__approve:disabled {
    cursor: not-allowed;
    opacity: .48;
    box-shadow: none;
    transform: none;
}

@media (hover: hover) and (pointer: fine) {
    .front-uplus-mate-application__approve:not(:disabled):hover {
        background: #b80065;
        box-shadow: 0 10px 20px rgb(184 0 101 / 22%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .front-uplus-mate-application__approve {
        transition: none;
    }

    .front-uplus-mate-application__approve:not(:disabled):active {
        transform: none;
    }
}

@media (max-width: 719px) {
    .front-uplus-mate-application {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .front-uplus-mate-comment {
        column-gap: 11px;
        row-gap: 10px;
        padding: 14px;
    }

    .front-uplus-mate-comment__identity {
        grid-row: 1;
    }

    .front-uplus-mate-comment__header {
        display: grid;
        gap: 2px;
    }

    .front-uplus-mate-comment__message {
        grid-column: 1 / -1;
    }

    .front-uplus-mate-application__action {
        width: auto;
        justify-self: start;
    }
}


@media (max-width: 719px) {
    .front-uplus-mate-detail__media {
        min-height: 200px;
        aspect-ratio: auto;
    }

    .front-uplus-mate-detail__badges {
        right: auto;
        bottom: 12px;
        left: 12px;
        max-width: calc(100% - 24px);
    }

    .front-uplus-mate-detail__media:has(.front-uplus-mate-detail__related) .front-uplus-mate-detail__badges {
        bottom: 87px;
    }

    .front-uplus-mate-detail__related {
        right: 12px;
        bottom: 12px;
        left: 12px;
    }

    .front-uplus-mate-detail__owner-controls {
        align-items: stretch;
    }

    .front-uplus-mate-detail__owner-controls .front-uplus-mate-detail__edit,
    .front-uplus-mate-detail__owner-controls .front-uplus-mate-detail__close,
    .front-uplus-mate-detail__owner-controls .front-uplus-mate-detail__close button {
        min-width: 0;
        flex: 1 1 138px;
    }

    .front-uplus-mate-detail__edit-lock {
        min-width: 0;
        flex: 1 1 170px;
    }

    .front-uplus-mate-card--host {
        grid-template-columns: 112px minmax(0, 1fr);
    }

    .front-uplus-mate-card--host .front-uplus-mate-card__body {
        column-gap: 7px;
        row-gap: 5px;
        padding: 11px 12px;
    }

    .front-uplus-mate-card__host-mark {
        width: 20px;
        height: 20px;
    }

    .front-uplus-mate-card__host-mark .material-symbols-outlined {
        font-size: 14px;
    }

    .front-uplus-mate-card--host .front-uplus-mate-host-badge--card {
        padding: 3px 7px;
        font-size: 10px;
    }

    .front-uplus-mate-card--host .front-uplus-mate-card__meta,
    .front-uplus-mate-card--host .front-uplus-mate-card__facts {
        font-size: 10px;
    }

    .front-uplus-mate-card--host strong {
        display: -webkit-box;
        overflow: hidden;
        font-size: 15px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .front-uplus-mate-card--host .front-uplus-mate-card__excerpt {
        display: -webkit-box;
        font-size: 12px;
        -webkit-line-clamp: 1;
    }

    .front-uplus-mate-card--host .front-uplus-mate-card__facts span {
        padding: 3px 6px;
    }
}

@media (min-width: 720px) {
    .front-uplus-mate {
        max-width: 1120px;
        margin: 0 auto;
        padding: 32px 28px 72px;
    }

    .front-uplus-mate-filter__row {
        grid-template-columns: minmax(180px, 240px) minmax(260px, 520px) minmax(118px, auto);
        align-items: end;
        justify-content: start;
    }

    .front-uplus-mate-filter__chips,
    .front-uplus-mate-filter__more-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }


    .front-uplus-mate-form__split {
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .front-uplus-mate-form__split--target {
        grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    }

    .front-uplus-mate-form__split label {
        display: grid;
        gap: 7px;
    }

    .front-uplus-mate__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .front-uplus-mate-detail__hero {
        grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr);
    }

    .front-uplus-mate-detail__media {
        min-height: 300px;
        aspect-ratio: auto;
    }

    .front-uplus-mate-detail__media img {
        width: 100%;
        max-width: none;
        height: 100%;
    }


    .front-uplus-mate-people {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .front-uplus-mate-report {
        align-items: center;
        justify-items: center;
        padding: 24px;
        box-sizing: border-box;
    }

    .front-uplus-mate-report__dialog {
        width: min(100%, 460px);
        border-radius: 28px;
        padding: 26px;
        box-shadow: 0 24px 70px rgb(22 18 28 / 26%);
    }
}

@media (min-width: 1024px) {
    .front-uplus-mate {
        box-sizing: border-box;
        width: min(100%, 1200px);
        max-width: none;
        min-height: calc(100vh - 72px);
        margin: 0 auto;
        padding: 44px 32px 80px;
        grid-template-columns: minmax(0, 1.35fr) 360px;
        align-items: start;
    }
    .front-uplus-mate.front-uplus-mate--profile {
        grid-template-columns: minmax(0, 760px);
        justify-content: center;
    }

    .front-uplus-mate.front-uplus-mate--message-thread {
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
    }

    .front-uplus-mate.front-uplus-mate--create-mode {
        grid-template-columns: minmax(0, 752px) minmax(320px, 360px);
        gap: 20px 24px;
    }


    .front-uplus-mate__hero {
        position: relative;
        top: auto;
        margin: 0;
        padding: 34px 40px;
        border-bottom: 0;
        background: transparent;
    }

    .front-uplus-mate__title-row {
        display: flex;
        align-items: center;
        gap: 18px;
    }

    .front-uplus-mate__heading {
        flex: 1 1 auto;
        gap: 18px;
    }

    .front-uplus-mate__title-actions {
        flex: 0 1 auto;
        max-width: 50%;
        margin-left: auto;
    }

    .front-uplus-mate__create-link {
        width: auto;
        min-height: 44px;
        white-space: nowrap;
        overflow-wrap: normal;
    }

    .front-uplus-mate__back {
        width: 48px;
        height: 48px;
        margin-left: 0;
        border: 1px solid rgb(230 0 126 / 12%);
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 10px 24px rgb(230 0 126 / 10%);
        transition: transform var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard), border-color var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard), color var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard);
    }

    .front-uplus-mate .front-page-heading__copy p {
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
    }

    .front-uplus-mate__hero,
    .front-uplus-mate__filters,
    .front-uplus-mate__create-guide,
    .front-uplus-mate__list,
    .front-uplus-mate--detail > * {
        grid-column: 1 / -1;
    }

    .front-uplus-mate__create {
        position: sticky;
        top: 92px;
        grid-column: 2;
        grid-row: 3 / span 2;
    }

    .front-uplus-mate--detail .front-uplus-mate-detail__main,
    .front-uplus-mate--detail .front-uplus-mate-detail__side {
        display: contents;
        min-width: 0;
    }


    .front-uplus-mate--create-mode .front-uplus-mate__create {
        position: relative;
        top: auto;
        grid-column: 1;
        grid-row: 2 / span 3;
        align-self: start;
        padding: 22px;
    }

    .front-uplus-mate--create-mode .front-uplus-mate__create-guide {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        padding: 18px;
    }


    .front-uplus-mate--create-mode .front-uplus-mate__create-copy {
        padding-bottom: 14px;
        border-bottom: 1px solid #f0edf3;
    }

    .front-uplus-mate--create-mode .front-uplus-mate__create-copy h2 {
        font-size: 17px;
    }

    .front-uplus-mate--create-mode .front-uplus-mate-form {
        gap: 14px;
    }

    .front-uplus-mate--create-mode .front-uplus-mate-form__split {
        grid-template-columns: minmax(0, 1fr) minmax(132px, 180px);
        gap: 12px;
    }

    .front-uplus-mate--create-mode .front-uplus-mate-form__split--target {
        grid-template-columns: 200px minmax(0, 1fr);
    }

    .front-uplus-mate--create-mode .front-uplus-mate-form fieldset {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 14px;
    }

    .front-uplus-mate--create-mode .front-uplus-mate-form fieldset legend,
    .front-uplus-mate--create-mode .front-uplus-mate-form fieldset p {
        grid-column: 1 / -1;
    }

    .front-uplus-mate--create-mode .front-uplus-mate-form__actions {
        margin-top: 4px;
    }

    .front-uplus-mate--create-mode .front-uplus-mate-form__actions button {
        width: min(100%, 260px);
        padding-inline: 28px;
    }


    .front-uplus-mate--detail {
        display: grid;
        width: min(100%, 1200px);
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .front-uplus-mate--detail .front-uplus-mate-detail__layout {
        display: contents;
        grid-column: 1 / -1;
    }

    .front-uplus-mate--detail .front-uplus-mate-detail__hero {
        grid-template-columns: minmax(360px, .78fr) minmax(0, 1fr);
    }

    .front-uplus-mate--detail .front-uplus-mate-detail__media {
        min-height: 300px;
    }

    .front-uplus-mate--detail .front-uplus-mate-detail__panel {
        padding: 18px;
    }

    .front-uplus-mate--detail .front-uplus-mate-detail__facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
    }

    .front-uplus-mate--detail .front-uplus-mate-detail__facts > div {
        padding: 14px 20px;
    }

    .front-uplus-mate--detail .front-uplus-mate-detail__facts > div + div {
        border-top: 0;
        border-left: 1px solid #f0edf3;
    }

    .front-uplus-mate--detail .front-uplus-mate-detail__copy {
        min-height: 300px;
        grid-template-rows: none;
        padding: 28px 30px;
    }



    .front-uplus-mate--detail .front-uplus-mate-detail__join .front-uplus-mate__login-card {
        display: grid;
        width: 100%;
        min-height: 42px;
        grid-template-columns: 24px minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }

    .front-uplus-mate--detail .front-uplus-mate-detail__join .front-uplus-mate__login-card span:last-child {
        grid-column: 3;
    }

    .front-uplus-mate--detail .front-uplus-mate-people {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .front-uplus-mate--detail .front-uplus-mate-person {
        min-height: 86px;
        padding: 14px;
        align-content: center;
    }
}

.front-uplus-mate-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.front-uplus-mate-comments__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.front-uplus-mate-comments__refresh-toggle {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #5f6172;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.front-uplus-mate-comments__refresh-toggle::after {
    content: attr(data-state-label);
    min-width: 24px;
    color: var(--front-accent);
    text-align: left;
}

.front-uplus-mate-comments__refresh-toggle[aria-checked="false"]::after {
    color: #77798c;
}

.front-uplus-mate-comments__refresh-track {
    position: relative;
    width: 44px;
    height: 24px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--front-accent);
    transition: background-color var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard);
}

.front-uplus-mate-comments__refresh-track span {
    position: absolute;
    top: 3px;
    left: 23px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgb(46 36 43 / 24%);
    transition: transform var(--md-sys-motion-duration-short) var(--md-sys-motion-easing-standard);
}

.front-uplus-mate-comments__refresh-toggle[aria-checked="false"] .front-uplus-mate-comments__refresh-track {
    background: #c8c6ce;
}

.front-uplus-mate-comments__refresh-toggle[aria-checked="false"] .front-uplus-mate-comments__refresh-track span {
    transform: translateX(-20px);
}

.front-uplus-mate-comments__refresh-toggle:focus-visible {
    outline: 3px solid rgb(230 0 126 / 24%);
    outline-offset: 2px;
    border-radius: 12px;
}

.front-uplus-mate-application__actions {
    display: grid;
    min-width: 232px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.front-uplus-mate-application__actions .front-uplus-mate-application__action {
    width: 100%;
}

.front-uplus-mate-application__reject {
    width: 100%;
    min-width: 112px;
    min-height: 46px;
    box-sizing: border-box;
    padding: 0 18px;
    border: 1px solid #fda29b;
    border-radius: 14px;
    background: #fff;
    color: #b42318;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.front-uplus-mate-application__actions .front-uplus-mate-application__approve {
    width: 100%;
    padding-inline: 18px;
    white-space: nowrap;
}

.front-uplus-mate-application__reject:hover,
.front-uplus-mate-application__reject:focus-visible {
    border-color: #f97066;
    background: #fff1f0;
    color: #912018;
}

.front-uplus-mate-application__reject:focus-visible {
    outline: 3px solid rgb(180 35 24 / 18%);
    outline-offset: 2px;
}

.front-uplus-mate-person > img,
.front-uplus-mate-comment__photo {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    object-fit: cover;
}

.front-uplus-mate-person__name-row {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.front-uplus-mate-comment__author,
.front-uplus-mate-application__name {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 2px;
}

.front-uplus-mate-user-actions {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
}

.front-uplus-mate-user-actions__trigger {
    position: relative;
    display: inline-grid;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #66697a;
    cursor: pointer;
    place-items: center;
}

.front-uplus-mate-user-actions__trigger::before {
    position: absolute;
    inset: -10px;
    content: "";
}

.front-uplus-mate-user-actions__trigger .material-symbols-outlined {
    font-size: 18px;
    line-height: 1;
}

.front-uplus-mate-user-actions__trigger:hover {
    color: #252230;
}

.front-uplus-mate-user-actions__trigger:focus-visible {
    outline: 3px solid rgb(230 0 126 / 22%);
    outline-offset: 1px;
}

.front-uplus-mate-user-actions__menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 30;
    width: max-content;
    min-width: 168px;
    padding: 8px;
    border: 1px solid #e8e2e9;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 44px rgb(38 29 36 / 18%);
}

@media (min-width: 720px) {
    .front-uplus-mate-user-actions__menu {
        top: 0;
        right: auto;
        left: calc(100% + 8px);
    }

    .front-uplus-mate-user-actions__menu--flip-inline {
        right: calc(100% + 8px);
        left: auto;
    }
}

.front-uplus-mate-user-actions__menu[hidden] {
    display: none;
}

.front-uplus-mate-user-actions__menu a,
.front-uplus-mate-user-actions__menu button {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #34303b;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}

.front-uplus-mate-user-actions__menu a:hover,
.front-uplus-mate-user-actions__menu a:focus-visible,
.front-uplus-mate-user-actions__menu button:hover,
.front-uplus-mate-user-actions__menu button:focus-visible {
    outline: none;
    background: #fff2fa;
    color: var(--front-accent);
}

.front-uplus-mate-user-actions__menu .front-uplus-mate-user-actions__report:hover,
.front-uplus-mate-user-actions__menu .front-uplus-mate-user-actions__report:focus-visible {
    background: #fff1f0;
    color: #b42318;
}

body.front-uplus-mate-dialog-open {
    overflow: hidden;
}

.front-uplus-mate-dialog[hidden] {
    display: none;
}

.front-uplus-mate-dialog {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    align-items: end;
}

.front-uplus-mate-dialog__scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgb(17 13 19 / 52%);
    cursor: pointer;
}

.front-uplus-mate-dialog__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: min(84dvh, 760px);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 26px 18px calc(24px + env(safe-area-inset-bottom));
    border-radius: 28px 28px 0 0;
    background: #fff;
    box-shadow: 0 -18px 52px rgb(22 18 28 / 24%);
}

.front-uplus-mate-dialog__panel h2 {
    margin: 0;
    padding-right: 44px;
    color: #242033;
    font-size: 22px;
    line-height: 1.25;
}

.front-uplus-mate-dialog__panel > p {
    margin: 8px 0 18px;
    color: #66697a;
    font-size: 14px;
    line-height: 1.55;
}

.front-uplus-mate-dialog__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: #f7f3f6;
    color: #4e4b57;
    cursor: pointer;
    place-items: center;
}

.front-uplus-mate-dialog__close:focus-visible,
.front-uplus-mate-dialog__secondary:focus-visible,
.front-uplus-mate-dialog__primary:focus-visible {
    outline: 3px solid rgb(230 0 126 / 24%);
    outline-offset: 2px;
}

.front-uplus-mate-dialog__summary {
    display: grid;
    gap: 0;
    margin: 18px 0;
    padding: 0;
    border: 1px solid #ece6ed;
    border-radius: 16px;
}

.front-uplus-mate-dialog__summary div {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
}

.front-uplus-mate-dialog__summary div + div {
    border-top: 1px solid #f0ebf0;
}

.front-uplus-mate-dialog__summary dt,
.front-uplus-mate-dialog__summary dd {
    min-width: 0;
    margin: 0;
}

.front-uplus-mate-dialog__summary dt {
    color: #6c6c7c;
    font-size: 13px;
}

.front-uplus-mate-dialog__summary dd {
    color: #2f2a35;
    font-size: 14px;
    font-weight: 900;
    overflow-wrap: anywhere;
    text-align: right;
}

.front-uplus-mate-dialog__form {
    gap: 8px;
}

.front-uplus-mate-dialog__balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px !important;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff2fa;
    color: #4e3445 !important;
}

.front-uplus-mate-dialog__balance strong {
    color: var(--front-accent);
}

.front-uplus-mate-dialog__error {
    margin: 12px 0 !important;
    padding: 11px 12px;
    border-radius: 12px;
    background: #fff1f0;
    color: #b42318 !important;
    font-weight: 800;
}

.front-uplus-mate-dialog__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}

.front-uplus-mate-dialog__actions button {
    min-width: 0;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.front-uplus-mate-dialog__secondary {
    border: 1px solid #d9d4db;
    background: #fff;
    color: #403c45;
}

.front-uplus-mate-dialog__primary {
    border: 1px solid var(--front-accent);
    background: var(--front-accent);
    color: #fff;
}

.front-uplus-mate-dialog__primary:disabled {
    border-color: #d0ccd2;
    background: #e4e1e5;
    color: #817d85;
    cursor: not-allowed;
}

.front-uplus-mate-dialog--paid-join .front-uplus-mate-dialog__actions button {
    padding-block: 10px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
}

@media (max-width: 359px) {
    .front-uplus-mate-dialog--paid-join .front-uplus-mate-dialog__actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

.front-uplus-mate-paid-summary {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 11px 12px;
    border-radius: 14px;
    background: #fff2fa;
    color: #59384c;
}

.front-uplus-mate-paid-summary .material-symbols-outlined {
    color: var(--front-accent);
}

.front-uplus-mate-paid-summary p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.front-uplus-mate-profile-page__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 4px 2px 8px;
}

.front-uplus-mate-profile-page__header h1,
.front-uplus-mate-profile-page__header p {
    margin: 0;
}

.front-uplus-mate-profile-page__header h1 {
    color: #242033;
    font-size: 26px;
}

.front-uplus-mate-profile-page__header p {
    margin-top: 5px;
    color: #6c6c7c;
    font-size: 13px;
}

.front-uplus-mate-profile-card {
    display: grid;
    min-width: 0;
    gap: 18px;
    padding: 20px;
    border: 1px solid #ece7ee;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 10px 28px rgb(51 45 56 / 7%);
}

.front-uplus-mate-profile-card__identity {
    display: grid;
    min-width: 0;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.front-uplus-mate-profile-card__photo {
    display: grid;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    object-fit: cover;
    place-items: center;
}

.front-uplus-mate-profile-card__photo--placeholder {
    background: #fff2fa;
    color: var(--front-accent);
    font-size: 38px;
}

.front-uplus-mate-profile-card__heading {
    min-width: 0;
}

.front-uplus-mate-profile-card__name-row {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.front-uplus-mate-profile-card__name-row h2 {
    min-width: 0;
    margin: 0;
    color: #242033;
    font-size: 20px;
    overflow-wrap: anywhere;
}

.front-uplus-mate-profile-card__grade {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    background: #fce4f1;
    color: #b80065;
    font-size: 11px;
    font-weight: 900;
}

.front-uplus-mate-profile-card__metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 6px 0 0;
    color: #747486;
    font-size: 13px;
}

.front-uplus-mate-profile-card__introduction {
    margin: 0;
    color: #4f5262;
    font-size: 14px;
    line-height: 1.65;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.front-uplus-mate-profile-card__introduction--compact {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.front-uplus-mate-profile-card__facts {
    display: grid;
    gap: 8px;
    margin: 0;
}

.front-uplus-mate-profile-card__facts > div {
    display: grid;
    min-width: 0;
    grid-template-columns: 36px minmax(90px, auto) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #f8f6f8;
}

.front-uplus-mate-profile-card__facts .material-symbols-outlined {
    color: var(--front-accent);
}

.front-uplus-mate-profile-card__facts dt,
.front-uplus-mate-profile-card__facts dd {
    margin: 0;
}

.front-uplus-mate-profile-card__facts dt {
    color: #6e6d78;
    font-size: 12px;
}

.front-uplus-mate-profile-card__facts dd {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 8px;
    color: #302c35;
    font-size: 13px;
    font-weight: 850;
    overflow-wrap: anywhere;
    text-align: right;
}

.front-uplus-mate-profile-card__facts dd small {
    color: #777382;
    font-size: 11px;
}

.front-uplus-mate-profile-page__actions {
    display: flex;
    justify-content: flex-end;
}

.front-uplus-mate-profile-page__actions a {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 14px;
    background: var(--front-accent);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 719px) {
    .front-uplus-mate-comments__refresh-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .front-uplus-mate-application__actions {
        width: 100%;
        min-width: 0;
    }

    .front-uplus-mate-user-actions__menu {
        position: fixed;
        top: auto;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        left: 12px;
        z-index: 90;
        width: auto;
        padding: 10px;
        border-radius: 22px;
    }

    .front-uplus-mate-person {
        position: relative;
    }

    .front-uplus-mate-person .front-uplus-mate-user-actions {
        position: static;
    }

    .front-uplus-mate-person .front-uplus-mate-user-actions__menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        bottom: auto;
        left: auto;
        width: min(224px, calc(100vw - 48px));
        padding: 8px;
        border-radius: 16px;
    }

    .front-uplus-mate-profile-card {
        padding: 16px;
        border-radius: 20px;
    }

    .front-uplus-mate-profile-card__identity {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .front-uplus-mate-profile-card__photo {
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .front-uplus-mate-profile-card__facts > div {
        grid-template-columns: 30px minmax(76px, auto) minmax(0, 1fr);
        padding-inline: 10px;
    }
}

@media (max-width: 339px) {
    .front-uplus-mate-application__actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 720px) {
    .front-uplus-mate-dialog {
        align-items: center;
        justify-items: center;
        padding: 24px;
        box-sizing: border-box;
    }

    .front-uplus-mate-dialog__panel {
        width: min(100%, 460px);
        padding: 28px;
        border-radius: 28px;
        box-shadow: 0 24px 70px rgb(22 18 28 / 26%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .front-uplus-mate-comments__refresh-track,
    .front-uplus-mate-comments__refresh-track span {
        transition: none;
    }
}

.front-uplus-mate-profile-card__gender {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.front-uplus-mate-profile-card__gender .material-symbols-outlined {
    color: var(--front-accent);
    font-size: 16px;
}
