:root {
    --hl-red: #d20b22;
    --hl-red-dark: #c6041b;
    --hl-pink: #fff4f5;
    --hl-pink-strong: #ffd6d9;
    --hl-pink-chip: #fff0f2;
    --hl-gray: #f2f3f5;
    --hl-blue-gray: #eef3f7;
    --hl-text: #222;
    --hl-muted: #777;
    --hl-light: #aaa;
    --hl-border: #ecd4d7;
    --hl-green: #35b64a;
    --hl-blue: #3498d3;
    --hl-purple: #9b5bb5;
    --hl-orange: #f06a00;
    --hl-orange-dark: #d94a00;
    --hl-radius: 10px;
    --hl-header-height: 52px;
    --hl-footer-height: 64px;
    --hl-fixed-action-height: 84px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
}

body {
    color: var(--hl-text);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    max-width: 100%;
    font: inherit;
}

.h5-body {
    background: #fff;
}

.h5-body--pink {
    background: var(--hl-pink);
}

.h5-body--soft {
    background: #f7f7f7;
}

.h5-body--gray {
    background: var(--hl-gray);
}

.h5-body--bluegray {
    background: var(--hl-blue-gray);
}

.h5-body--fixed-action {
    padding-bottom: calc(var(--hl-fixed-action-height) + env(safe-area-inset-bottom));
}

.h5-page {
    width: 100%;
    max-width: 750px;
    min-height: 100vh;
    margin: 0 auto;
    padding-top: calc(var(--hl-header-height) + env(safe-area-inset-top));
    overflow-x: hidden;
}

.h5-page--has-footer {
    padding-bottom: calc(var(--hl-footer-height) + env(safe-area-inset-bottom));
}

.h5-page--has-footer main {
    padding-bottom: calc(var(--hl-footer-height) + 18px + env(safe-area-inset-bottom));
}

.h5-body--fixed-action .h5-page {
    padding-bottom: calc(var(--hl-fixed-action-height) + env(safe-area-inset-bottom));
}

.brand-header,
.simple-red-header,
.h5-header {
    width: 100%;
    background: var(--hl-red);
    color: #fff;
}

.brand-header {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: center;
}

.brand-header--plain {
    background: transparent;
    color: var(--hl-red);
    min-height: 76px;
}

.brand-header h1,
.simple-red-header h1,
.h5-header h1 {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: var(--hl-header-height);
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.simple-red-header {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
}

.h5-header {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 86px;
    height: calc(var(--hl-header-height) + env(safe-area-inset-top));
    min-height: calc(var(--hl-header-height) + env(safe-area-inset-top));
    max-height: calc(var(--hl-header-height) + env(safe-area-inset-top));
    align-items: center;
    overflow: hidden;
    padding-top: env(safe-area-inset-top);
}

.h5-header__back,
.h5-header__side {
    width: 48px;
    height: var(--hl-header-height);
    min-height: var(--hl-header-height);
}

.h5-header__back {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: 500;
}

.h5-header__report {
    justify-self: end;
    margin-right: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .28);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.h5-header__report span {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 12px;
}

.brand-header,
.simple-red-header,
.h5-header {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 100;
    max-width: 750px;
    transform: translateX(-50%);
}

.brand-header--plain {
    background: var(--hl-pink);
}

.h5-card {
    background: #fff;
    border-radius: var(--hl-radius);
    box-shadow: 0 3px 14px rgba(202, 114, 125, .08);
}

.h5-btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    white-space: normal;
}

.h5-btn--primary {
    background: var(--hl-red);
    color: #fff;
    box-shadow: 0 5px 10px rgba(210, 11, 34, .14);
}

.h5-btn--pale {
    background: var(--hl-pink-strong);
    color: var(--hl-red-dark);
}

.h5-btn--outline {
    border: 1px solid #c24461;
    background: #fff;
    color: #c24461;
}

.h5-btn--block {
    width: 100%;
}

.h5-btn--short {
    min-width: 96px;
    min-height: 42px;
    padding: 0 26px;
}

.h5-btn--center {
    min-width: 144px;
    min-height: 42px;
    margin: 18px auto 0;
}

.home-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: calc(100% - 20px);
    margin: 12px auto 14px;
    overflow: hidden;
    border-radius: 7px;
    box-shadow: 0 1px 8px rgba(210, 11, 34, .08);
}

.home-tabs__item {
    display: flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
}

.home-tabs__item--orange {
    background: #ef573f;
}

.home-tabs__item--green {
    background: #2f935b;
}

.home-tabs__item--red {
    background: var(--hl-red);
}

.home-stack {
    padding: 0 10px 0;
}

.search-card {
    min-height: 286px;
    margin: 0 auto 18px;
    padding: 20px 16px 24px;
}

.search-card--serial {
    min-height: 196px;
}

.search-card .form-row--range {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) 18px minmax(0, 1fr) auto;
    gap: 7px;
}

.search-card .form-row--range .form-label {
    width: 82px;
    flex-basis: auto;
}

.search-card .form-row--range select {
    width: 100%;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #c98f98;
    color: #bd1632;
    font-size: 19px;
    font-weight: 700;
}

.section-title span {
    color: var(--hl-red);
    font-size: 19px;
    line-height: 1;
}

.h5-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    color: #333;
}

.form-row--range,
.form-row--date,
.form-row--wide-radio {
    flex-wrap: wrap;
}

.form-label {
    width: 88px;
    flex: 0 0 88px;
    color: #333;
}

.register-form .form-label,
.detail-form .form-label {
    width: 92px;
    flex-basis: 92px;
}

.h5-form input[type="text"],
.h5-form input[type="tel"],
.h5-form input[type="number"],
.h5-form select,
.plain-pay-form input {
    min-width: 0;
    height: 34px;
    border: 1px solid var(--hl-border);
    border-radius: 6px;
    background: #fffafa;
    color: #222;
    outline: none;
    padding: 0 12px;
}

.h5-form select {
    width: 94px;
    padding-right: 26px;
}

.h5-form .control-wide {
    width: 138px;
}

.h5-form input[type="text"],
.h5-form input[type="tel"] {
    width: 184px;
}

.radio-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 18px;
    white-space: nowrap;
}

.form-row--wide-radio label:not(.form-label) {
    min-width: 74px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.form-row--date select {
    width: 62px;
}

.form-row--date select:first-of-type {
    width: 86px;
}

.mini-input {
    width: 96px !important;
}

.serial-form .form-row {
    margin-bottom: 14px;
}

.h5-footer {
    position: fixed;
    right: auto;
    bottom: 0;
    left: 50%;
    z-index: 100;
    display: flex;
    width: 100%;
    max-width: 750px;
    height: calc(var(--hl-footer-height) + env(safe-area-inset-bottom));
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 0 10px env(safe-area-inset-bottom);
    transform: translateX(-50%);
    background: var(--hl-red);
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

.form-shell {
    padding: 12px 10px 24px;
}

.register-card {
    padding: 22px 14px 30px;
}

.register-form {
    gap: 12px;
}

.register-form .form-row {
    gap: 9px;
    min-height: 37px;
}

.register-form .form-label {
    width: 92px;
    flex: 0 0 92px;
    font-weight: 600;
    line-height: 34px;
}

.register-form input[type="text"],
.register-form input[type="tel"],
.register-form select {
    height: 34px;
    border: 1px solid #ead1d4;
    border-radius: 7px;
    background-color: #fffafa;
    box-shadow: inset 0 1px 3px rgba(197, 75, 94, .08);
    font-size: 16px;
}

.register-form input[type="text"],
.register-form input[type="tel"] {
    width: 156px;
}

.register-form select {
    width: 108px;
    padding: 0 28px 0 12px;
    background-image: linear-gradient(45deg, transparent 50%, #222 50%), linear-gradient(135deg, #222 50%, transparent 50%);
    background-position: calc(100% - 16px) 14px, calc(100% - 11px) 14px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    appearance: none;
    -webkit-appearance: none;
}

.register-form .form-row--date {
    display: grid;
    grid-template-columns: 82px minmax(0, 76px) 16px minmax(0, 52px) 16px minmax(0, 52px) 16px;
    gap: 4px;
}

.register-form .form-row--date select:first-of-type {
    width: 100%;
}

.register-form .form-row--date select {
    width: 100%;
    padding-right: 20px;
    padding-left: 8px;
}

.register-form .form-row--date span {
    flex: 0 0 auto;
}

.register-form .form-row--wide-radio label:not(.form-label) {
    min-width: 118px;
    justify-content: center;
}

.register-form .form-row--wide-radio input[type="radio"] {
    width: 15px;
    height: 15px;
    margin: 0 10px 0 0;
}

.bottom-red-line {
    width: 100%;
    height: 9px;
    border-top: 2px solid var(--hl-red);
    border-bottom: 2px solid var(--hl-red);
    background: #fff;
}

.register-detail-shell {
    padding: 12px 10px 24px;
}

.register-detail-card {
    overflow: hidden;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.detail-form {
    padding: 24px 20px 32px;
    gap: 15px;
}

.detail-form input[type="text"],
.detail-form input[type="tel"],
.detail-form input[type="number"],
.detail-form select {
    width: 100%;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 16px;
}

.detail-form select {
    padding-right: 28px;
    background-image: linear-gradient(45deg, transparent 50%, #222 50%), linear-gradient(135deg, #222 50%, transparent 50%);
    background-position: calc(100% - 16px) 15px, calc(100% - 11px) 15px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    appearance: none;
    -webkit-appearance: none;
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0 20px;
    width: 100%;
}

.upload-slot {
    position: relative;
    display: flex;
    aspect-ratio: 1;
    min-width: 0;
    min-height: 96px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    border: 1px dashed #d8d8d8;
    color: #999;
    overflow: hidden;
    background: #fff;
}

.upload-slot input {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 3;
}

.upload-slot [data-h5-upload-preview] {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.upload-slot [data-h5-upload-preview] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.upload-slot.is-filled .upload-plus,
.upload-slot.is-filled > span {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}

.upload-plus {
    font-size: 23px;
    line-height: 1;
}

.target-title {
    margin: 8px 0 6px;
    padding: 10px 12px;
    background: #ffc6c9;
    color: #bd1632;
    font-weight: 700;
}

.detail-form .form-row--range {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) 14px minmax(0, 1fr);
    gap: 7px;
}

.detail-form .form-row--range span:last-child {
    display: none;
}

.detail-form .mini-input {
    width: 100% !important;
    max-width: none;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 14px;
}

.detail-form .form-row--wide-radio label:not(.form-label) {
    min-width: 118px;
    justify-content: center;
}

.detail-form .form-row--wide-radio input[type="radio"] {
    width: 15px;
    height: 15px;
    margin: 0 10px 0 0;
}

.agreement-line {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #444;
}

.agreement-line a,
.agreement-line strong,
.free-card span,
.vip-copy span {
    color: #bd1632;
    font-weight: 700;
}

.profile-center {
    padding: 16px 10px 24px;
}

.profile-card {
    position: relative;
    display: flex;
    min-height: 122px;
    align-items: center;
    gap: 16px;
    padding: 18px 16px;
    border-radius: 4px;
}

.profile-card__avatar {
    width: 94px;
    height: 94px;
    flex: 0 0 94px;
    overflow: hidden;
    border-radius: 8px;
    background: #e9e9e9;
    color: #555;
}

.profile-card__avatar img,
.recommend-card__photo img,
.detail-summary__photo img,
.album-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card__body {
    min-width: 0;
    padding-right: 72px;
}

.profile-card__body h2 {
    margin: 0 0 8px;
    font-size: 21px;
}

.profile-card__body p {
    margin: 3px 0;
    color: #666;
    font-size: 14px;
}

.edit-chip {
    position: absolute;
    top: 20px;
    right: 12px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--hl-red);
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
}

.profile-menu {
    display: flex;
    height: 76px;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 0 18px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
    font-size: 18px;
    font-weight: 700;
}

.profile-menu span {
    width: 24px;
    text-align: center;
}

.share-tip {
    margin-top: 8px;
    padding: 16px 10px;
    background: var(--hl-red);
    color: rgba(255, 255, 255, .82);
    text-align: center;
}

.vip-shell {
    padding: 18px 12px 0;
}

.vip-card {
    padding: 18px 18px 26px;
    border-radius: 0;
}

.benefit-box {
    margin: 0 0 22px;
    padding: 14px 14px;
    border: 1px dashed #c75164;
    background: #fff6f8;
}

.benefit-box h2,
.vip-title,
.vip-status h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.benefit-box h2 {
    color: #bd1632;
}

.benefit-box p,
.vip-copy {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.9;
}

.vip-title {
    display: flex;
    gap: 8px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px dashed #c98f98;
}

.vip-status {
    margin: 22px 0 24px;
}

.vip-status label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: 28px;
    color: #555;
}

.package-shell,
.free-shell,
.vip-form-shell,
.pay-result-shell {
    padding: 12px 10px 28px;
}

.package-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 0 auto;
}

.package-list--vip {
    gap: 12px;
    padding: 10px 8px 0;
}

.package-card {
    position: relative;
    display: block;
    min-height: 80px;
    overflow: hidden;
    border: 0;
    border-radius: 7px;
    color: #fff;
    cursor: pointer;
    padding: 17px 48px 16px 17px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
    overflow-wrap: anywhere;
}

.package-card.is-selected,
.package-card.active,
.package-card:has(input:checked) {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .82), 0 0 0 4px rgba(240, 106, 0, .72), 0 8px 18px rgba(240, 106, 0, .18);
    transform: translateY(-1px);
}

.package-card--green {
    background: #37b84b;
}

.package-card--blue {
    background: var(--hl-blue);
}

.package-card--purple {
    background: var(--hl-purple);
}

.package-card--orange {
    background: linear-gradient(135deg, #ff9b18 0%, var(--hl-orange) 48%, var(--hl-orange-dark) 100%);
    box-shadow: 0 5px 12px rgba(240, 106, 0, .22);
}

.package-card--orange.is-selected,
.package-card--orange.active,
.package-card--orange:has(input:checked) {
    box-shadow: 0 0 0 3px rgba(240, 106, 0, .74), 0 9px 20px rgba(240, 106, 0, .28);
}

.package-card input {
    position: absolute;
    opacity: 0;
}

.package-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: 17px;
    line-height: 1.25;
}

.package-card em {
    display: none;
    height: 2px;
    margin-bottom: 11px;
    background: rgba(255, 255, 255, .72);
}

.package-card span:not(.package-card__check),
.package-card small {
    display: block;
    color: rgba(255, 255, 255, .9);
    font-style: normal;
    font-size: 13px;
    line-height: 1.55;
    white-space: normal;
    overflow-wrap: anywhere;
}

.package-card__check {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .8);
    color: transparent;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
}

.package-card input:checked ~ .package-card__check,
.package-card.is-selected .package-card__check,
.package-card.active .package-card__check {
    color: #fff;
}

.agreement-line--compact {
    margin-top: 4px;
}

.muted-note {
    margin: -2px 0 10px;
    color: #8f8f8f;
    font-size: 13px;
}

.free-card {
    margin: 10px 6px 64px;
    padding: 22px 16px;
    border-radius: 7px;
    background: #86d0e8;
    box-shadow: 0 6px 14px rgba(62, 146, 176, .14);
}

.free-card h2 {
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .65);
    font-size: 17px;
}

.free-card p {
    margin: 0;
    color: #4a4a4a;
}

.free-card span {
    color: #bd1632;
    font-weight: 700;
}

.free-status-line {
    margin-top: 12px !important;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .65);
}

.package-hero {
    min-height: 82px;
    margin: 12px 6px 28px;
    padding: 22px 18px;
    border-radius: 7px;
}

.package-hero--green {
    background: #37b84b;
    color: #fff;
}

.package-hero--purple {
    background: #9670dc;
    color: #fff;
}

.package-hero--orange {
    background: #ff8915;
    color: #fff;
}

.package-hero h2 {
    margin: 0 0 4px;
    font-size: 16px;
}

.package-hero p {
    margin: 0;
    font-size: 14px;
}

.plain-pay-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 6px;
}

.plain-pay-form label:not(.agreement-line) {
    color: #555;
}

.plain-pay-form input[type="text"],
.plain-pay-form input[type="tel"] {
    width: 100%;
    height: 42px;
    border-color: #dcdcdc;
    border-radius: 3px;
    background: #fff;
}

.agreement-line--pay {
    margin-top: 14px;
}

.recommend-list {
    padding: 12px 10px 26px;
}

.recommend-card {
    display: flex;
    min-height: 118px;
    gap: 14px;
    margin-bottom: 12px;
    padding: 16px 16px;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.recommend-card__photo {
    width: 88px;
    height: 104px;
    flex: 0 0 88px;
    overflow: hidden;
    border-radius: 4px;
    background: linear-gradient(90deg, #fafafa, #e9e9e9, #fafafa);
}

.recommend-card__photo img {
    filter: blur(7px);
    transform: scale(1.05);
}

.recommend-card__body {
    min-width: 0;
}

.recommend-card__body h2 {
    margin: 0 0 2px;
    font-size: 20px;
}

.recommend-card__id,
.recommend-card__intro {
    margin: 0;
    color: #777;
    font-size: 13px;
}

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

.tag-row {
    margin: 7px 0 6px;
}

.tag-row span,
.tag-list span {
    max-width: 100%;
    border-radius: 5px;
    background: var(--hl-pink-chip);
    color: #c64a5f;
    font-weight: 700;
}

.tag-row span {
    padding: 3px 8px;
    font-size: 13px;
}

.tag-list span {
    padding: 6px 10px;
    font-size: 16px;
}

.recommend-card__intro {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detail-stack {
    padding: 16px 14px 18px;
}

.detail-summary {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 150px;
    padding: 14px;
}

.detail-summary__photo {
    width: 126px;
    height: 126px;
    flex: 0 0 126px;
    overflow: hidden;
    border-radius: 9px;
    background: #efefef;
}

.detail-summary__info {
    min-width: 0;
}

.detail-summary__info h2 {
    margin: 0 0 12px;
    font-size: 25px;
}

.detail-summary__info p {
    margin: 8px 0;
    color: #777;
    font-size: 17px;
}

.detail-summary__info span {
    color: #ddd;
    padding: 0 7px;
}

.detail-section {
    margin-top: 16px;
    padding: 18px 16px 20px;
    overflow: hidden;
}

.detail-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 22px;
}

.section-icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
}

.section-icon--album {
    background: #ef6b6e;
}

.section-icon--basic {
    background: #34b06d;
}

.section-icon--heart {
    background: #ffc4bf;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, calc((100% - 16px) / 3)));
    gap: 8px;
}

.album-photo {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 9px;
    background: #eee;
}

.album-photo span {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.album-shell {
    padding: 14px 12px 28px;
}

.album-panel {
    padding: 18px 16px 22px;
}

.album-panel h2 {
    margin: 0 0 14px;
    color: #bd1632;
    font-size: 18px;
}

.album-grid--profile {
    margin-bottom: 18px;
}

.target-copy {
    margin: 0;
    color: #555;
    font-size: 17px;
    line-height: 1.9;
}

.fixed-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 750px;
    min-height: calc(var(--hl-fixed-action-height) + env(safe-area-inset-bottom));
    align-items: center;
    margin: 0 auto;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .05);
}

.fixed-action {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 20px;
    font-weight: 700;
}

.fixed-action--light {
    flex: 0 0 34%;
    background: #eee;
    color: #555;
}

.fixed-action--pink {
    flex: 1;
    background: #ffd9d9;
    color: #c74755;
}

.group-shell {
    min-height: calc(100vh - 52px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 18px;
}

.group-card {
    width: min(280px, 100%);
    min-height: 420px;
    padding: 28px 22px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(104, 124, 140, .1);
    text-align: center;
}

.group-card h2 {
    margin: 0 0 20px;
    font-size: 16px;
    font-weight: 400;
}

.qr-box {
    width: 190px;
    height: 190px;
    margin: 0 auto 24px;
    overflow: hidden;
    background: linear-gradient(90deg, #fff, #f3f3f3, #fff);
}

.qr-box span {
    display: block;
    width: 100%;
    height: 100%;
}

.group-card p {
    margin: 7px 0;
    color: #777;
    font-size: 14px;
}

.group-card strong {
    color: #bd1632;
}

.group-card a {
    color: #bd1632;
    text-decoration: none;
}

.pay-result-shell {
    padding-top: 80px;
}

.pay-result-card {
    padding: 34px 22px;
    text-align: center;
}

.pay-result-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #31b56a;
    color: #fff;
    font-size: 30px;
}

.pay-result-card h2 {
    margin: 18px 0 8px;
}

.pay-result-card p {
    margin: 0 0 24px;
    color: #777;
}

.pay-result-actions {
    display: grid;
    gap: 12px;
}

.agreement-shell {
    padding: 12px 10px 28px;
}

.agreement-card {
    padding: 20px 16px 24px;
    border-radius: 6px;
}

.agreement-card h2 {
    margin: 0 0 14px;
    color: #bd1632;
    font-size: 19px;
}

.agreement-card h3 {
    margin: 18px 0 6px;
    font-size: 16px;
}

.agreement-card h4 {
    margin: 14px 0 6px;
    color: #333;
    font-size: 15px;
}

.agreement-card p {
    margin: 0 0 8px;
    color: #555;
    font-size: 15px;
    line-height: 1.85;
}

.agreement-card ol {
    margin: 0 0 10px;
    padding-left: 20px;
    color: #555;
    font-size: 15px;
    line-height: 1.85;
}

.agreement-card li {
    margin: 0 0 5px;
}

@media (max-width: 430px) {
    body {
        font-size: 15px;
    }

    .brand-header h1,
    .simple-red-header h1,
    .h5-header h1 {
        font-size: 18px;
    }

    .search-card {
        padding-right: 14px;
        padding-left: 14px;
    }

    .form-label,
    .register-form .form-label,
    .detail-form .form-label {
        width: 82px;
        flex-basis: 82px;
    }

    .h5-form input[type="text"],
    .h5-form input[type="tel"] {
        width: 170px;
    }

    .h5-form select {
        width: 88px;
    }

    .h5-form .control-wide {
        width: 132px;
    }

    .form-row--date select {
        width: 58px;
    }

    .form-row--date select:first-of-type {
        width: 80px;
    }

    .mini-input {
        width: 86px !important;
    }

    .home-tabs__item {
        font-size: 16px;
    }

    .register-form .form-row--date {
        display: grid;
        grid-template-columns: 82px minmax(0, 76px) 16px minmax(0, 52px) 16px minmax(0, 52px) 16px;
        gap: 4px;
    }

    .register-form .form-row--date .form-label {
        width: 82px;
        flex-basis: auto;
    }

    .register-form .form-row--date select,
    .register-form .form-row--date select:first-of-type {
        width: 100%;
        padding-right: 20px;
        padding-left: 8px;
        font-size: 15px;
    }

    .register-form .form-row--wide-radio label:not(.form-label),
    .detail-form .form-row--wide-radio label:not(.form-label) {
        min-width: 86px;
        justify-content: flex-start;
    }

    .detail-form {
        padding-right: 14px;
        padding-left: 14px;
    }

    .upload-grid {
        gap: 8px;
    }

    .upload-slot {
        min-height: 96px;
        font-size: 14px;
    }

    .detail-form .form-row--range {
        display: grid;
        grid-template-columns: 82px minmax(0, 1fr) 14px minmax(0, 1fr) auto;
        gap: 7px;
    }

    .detail-form .form-row--range .form-label {
        width: 82px;
        flex-basis: auto;
    }

    .detail-form .mini-input {
        width: 100% !important;
        max-width: none;
        padding-right: 8px;
        padding-left: 8px;
        font-size: 14px;
    }

    .package-card {
        padding-right: 16px;
        padding-left: 16px;
    }

    .album-grid {
        gap: 8px;
        grid-template-columns: repeat(3, minmax(0, calc((100% - 16px) / 3)));
    }

    .detail-summary {
        gap: 18px;
    }

    .detail-summary__photo {
        width: 116px;
        height: 116px;
        flex-basis: 116px;
    }

    .fixed-action {
        font-size: 18px;
    }
}

@media (min-width: 600px) {
    .fixed-action-bar {
        left: 50%;
        transform: translateX(-50%);
    }
}
