:root {
    --ihg-color-primary: #1F4456;
    --ihg-color-primary-hover: #152f3e;
    --ihg-color-primary-active: #0f232e;

    --ihg-color-orange: #E8542C; /* 橙色 */
    --ihg-color-cyan: #448790; /* 青色 */
    --ihg-color-blue: #426399; /* 蓝色 */
    --ihg-color-yellow: #F4C064; /* 黄色 */
    --ihg-color-dark-cyan: #01C0C0; /* 蓝绿色 */


    --navy: #1f4456;
    --navy-deep: #0d1f28;
    --navy-light: #2d6477;
    --coral: #ef4d30;
    --orange: #fb8a3a;
    --teal: #448790;
    --gold: #f4c064;
    --gold-dark: #c79a31;
    --bg: #d9e5ec;
    --card: #fff;
    --soft: #edf3f7;
    --input: #f4f8fa;
    --text: #0f2430;
    --text-mid: #3d6070;
    --text-sub: #6b8fa3;
    --text-light: #9ab5c2;
    --border: rgba(31, 68, 86, .1);
    --shadow: 0 .04rem .14rem rgba(31, 68, 86, .08);
    --shadow-md: 0 .08rem .24rem rgba(31, 68, 86, .12);
    --page-max: 7.5rem;
    --page-x: .31rem;
    --section-gap: .24rem;
    --card-radius: .16rem;
    --card-pad-x: .31rem;
    --card-pad-y: .30rem;
    --field-radius: .10rem;
    --control-h: .84rem;
    --small-control-h: .68rem;
    --button-h: .88rem;
    --topbar-h: 1.08rem;
    --nav-h: 1.12rem;
    --plaza-hero-h: 4.04rem;
    --profile-hero-h: 4.34rem;
}

/* shared */
.ihg-logo {
    display: block;
    width: 2.56rem;
    height: .46rem;
    object-fit: contain;
    object-position: left center;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
}

.ihg-logo .ihg-main {
    display: inline-block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: .42rem;
    line-height: .42rem;
    letter-spacing: .05rem;
    vertical-align: top;
}

.ihg-logo .ihg-sub {
    display: inline-block;
    margin-left: .08rem;
    padding-top: .025rem;
    font-size: .105rem;
    line-height: .115rem;
    font-weight: 700;
    letter-spacing: .006rem;
    vertical-align: top;
}

.icon {
    width: .32rem;
    height: .32rem;
    stroke-width: 2;
}

.card {
    background: var(--card);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(31, 68, 86, .06);
}

.section-title {
    margin-bottom: .2rem;
    color: var(--teal);
    font-size: .26rem;
    line-height: 1.35;
    font-weight: 600;
}

.section-text {
    color: var(--text-mid);
    font-size: .25rem;
    line-height: 1.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .1rem;
    min-height: var(--button-h);
    padding: 0 .28rem;
    border-radius: var(--field-radius);
    font-size: .28rem;
    font-weight: 600;
    transition: transform .15s ease, opacity .15s ease;
}

.btn:active {
    transform: scale(.985);
}

.btn-primary {
    width: 100%;
    color: #fff;
    /* background: var(--navy); */
    background: var(--ihg-color-dark-cyan);
    box-shadow: var(--shadow-md);
}

.btn-coral {
    width: 100%;
    color: #fff;
    background: linear-gradient(135deg, #ff5a36, #ef4d30);
    box-shadow: 0 .08rem .22rem rgba(239, 77, 48, .24);
}

.btn-white {
    width: 100%;
    color: var(--navy);
    background: #fff;
    border: 1px solid rgba(31, 68, 86, .14);
}

.status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .08rem;
    min-height: .42rem;
    padding: 0 .17rem;
    border-radius: .21rem;
    border: 1px solid var(--status-border);
    background: var(--status-bg);
    color: var(--status-color);
    font-size: .22rem;
    font-weight: 700;
    white-space: nowrap;
}

.status::before {
    content: "";
    width: .08rem;
    height: .08rem;
    border-radius: 50%;
    background: var(--status-dot);
}

.status-unclaimed {
    --status-bg: #f4f6f8;
    --status-border: rgba(107, 143, 163, .25);
    --status-color: #6b8fa3;
    --status-dot: #9ab5c2;
}

.status-progress {
    --status-bg: #eff6ff;
    --status-border: rgba(59, 130, 246, .25);
    --status-color: #2563eb;
    --status-dot: #3b82f6;
}

.status-done {
    --status-bg: #f0fdf4;
    --status-border: rgba(34, 197, 94, .25);
    --status-color: #15803d;
    --status-dot: #22c55e;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: .08rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: .4rem;
    padding: 0 .14rem;
    border-radius: .2rem;
    border: 1px solid var(--tag-border);
    background: var(--tag-bg);
    color: var(--tag-color);
    font-size: .18rem;
    font-weight: 700;
    white-space: nowrap;
}

.tag-material {
    --tag-bg: #eaf5f6;
    --tag-color: var(--teal);
    --tag-border: rgba(68, 135, 144, .2);
}

.tag-service {
    --tag-bg: #fef3ee;
    --tag-color: var(--coral);
    --tag-border: rgba(239, 77, 48, .22);
}

.tag-personal {
    --tag-bg: #eef3f8;
    --tag-color: var(--navy);
    --tag-border: rgba(31, 68, 86, .16);
}

.tag-org {
    --tag-bg: #fdf8ec;
    --tag-color: var(--gold-dark);
    --tag-border: rgba(244, 192, 100, .32);
}

.tag-region {
    --tag-bg: #f0f4f7;
    --tag-color: var(--text-sub);
    --tag-border: rgba(107, 143, 163, .2);
}

.topbar {
    min-height: var(--topbar-h);
    padding: .24rem var(--page-x);
    display: flex;
    align-items: center;
    gap: .18rem;
    color: #fff;
    background: var(--ihg-color-primary);
}

.topbar-title {
    flex: 1;
    min-width: 0;
}

.topbar-title h1 {
    color: #fff;
    font-size: .31rem;
    line-height: 1.35;
    font-weight: 700;
}

.topbar-title p {
    margin-top: .04rem;
    color: rgba(255, 255, 255, .758);
    font-size: .22rem;
    font-weight: 500;
}

.back-btn,
.close-btn {
    flex: 0 0 auto;
    width: .62rem;
    height: .62rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .12rem;
    color: rgba(255, 255, 255, .92);
    background: rgba(255, 255, 255, .12);
}

.close-btn {
    color: var(--text-sub);
    background: var(--input);
}

.bottom-tab {
    position: fixed;
    z-index: 30;
    left: 50%;
    bottom: 0;
    width: 100%;
    max-width: var(--page-max);
    height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateX(-50%);
    display: flex;
    background: #fff;
    border-top: 1px solid rgba(31, 68, 86, .08);
    box-shadow: 0 -.04rem .18rem rgba(31, 68, 86, .06);
}

.tab-link {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .04rem;
    color: var(--text-light);
    font-size: .2rem;
    font-weight: 600;
}

.tab-link .icon {
    width: .52rem;
    height: .52rem;
    padding: .09rem;
    border-radius: .14rem;
    color: var(--text-light);
    background: transparent;
}

.tab-link.active {
    color: var(--navy);
    font-weight: 600;
}

.tab-link.active .icon {
    color: var(--navy);
    background: rgba(31, 68, 86, .08);
}

/* plaza */
.plaza-hero {
    position: relative;
    height: var(--plaza-hero-h);
    overflow: hidden;
    background: var(--navy-deep);
}
.plaza-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../images/icon_banner.png) no-repeat;
    /* background-position: right center; */
    background-position: 97% 30%;
    background-size: 30% auto;
}

.plaza-hero>img:not(.ihg-logo) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.plaza-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 31, 40, .25), rgba(13, 31, 40, .02));
}

.plaza-hero-content {
    position: absolute;
    z-index: 2;
    inset: .3rem var(--page-x) auto;
}

.plaza-title {
    margin-top: .4rem;
    color: #fff;
    font-size: .34rem;
    line-height: 1.25;
    font-weight: 700;
}

.plaza-stats {
    display: flex;
    gap: .58rem;
    margin-top: .24rem;
}

.plaza-stat strong {
    display: block;
    color: var(--gold);
    font-family: "Plus Jakarta Sans", "Noto Sans SC", -apple-system, sans-serif;
    font-size: .36rem;
    line-height: 1;
    font-weight: 700;
}

.plaza-stat span {
    display: block;
    margin-top: .06rem;
    color: rgba(255, 255, 255, .68);
    font-size: .18rem;
    font-weight: 600;
}

.plaza-notice {
    display: flex;
    align-items: flex-start;
    gap: .1rem;
    margin-top: .3rem;
    min-height: .88rem;
    padding: .13rem .18rem;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: var(--field-radius);
    color: rgba(255, 255, 255, .94);
    background: rgba(255, 255, 255, .12);
    font-size: .21rem;
    line-height: 1.5;
}

.plaza-notice .icon {
    flex: 0 0 auto;
    width: .23rem;
    height: .23rem;
    margin-top: .035rem;
}

.plaza-notice strong {
    color: #fff;
    font-weight: 700;
}

.filter-area {
    padding: .22rem var(--page-x) .2rem;
    background: #fff;
}

.select-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .12rem;
}

.select-box {
    position: relative;
    display: block;
    height: var(--small-control-h);
    line-height: 0;
}

.select-box select {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    line-height: var(--small-control-h);
    padding: 0 .48rem 0 .2rem;
    border: 1px solid rgba(31, 68, 86, .14);
    border-radius: var(--field-radius);
    color: var(--text);
    background: #fff;
    font-size: .23rem;
    /* font-weight: 600; */
}

.select-box .icon {
    position: absolute;
    right: .16rem;
    top: 50%;
    width: .18rem;
    height: .18rem;
    color: var(--text-sub);
    transform: translateY(-50%);
    pointer-events: none;
}

.search-box {
    position: relative;
    display: block;
    margin-top: .16rem;
    height: .72rem;
    line-height: 0;
}

.search-box input {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    line-height: .72rem;
    padding: 0 .22rem 0 .62rem;
    border: 1px solid rgba(31, 68, 86, .12);
    border-radius: var(--field-radius);
    color: var(--text);
    background: var(--input);
    font-size: .24rem;
    font-weight: 600;
}

.search-box .icon {
    position: absolute;
    z-index: 1;
    left: .22rem;
    top: 50%;
    width: .24rem;
    height: .24rem;
    color: var(--text-light);
    transform: translateY(-50%);
}

.wish-list {
    padding: var(--section-gap) var(--page-x) .36rem;
    display: grid;
    gap: .18rem;
}

.wish-card {
    min-height: 1.62rem;
    padding: .28rem var(--card-pad-x);
    border-radius: var(--card-radius);
}

.wish-card-head {
    display: flex;
    align-items: flex-start;
    gap: .18rem;
}

.wish-card-title {
    flex: 1;
    min-width: 0;
    color: var(--text);
    font-size: .28rem;
    line-height: 1.45;
    font-weight: 600;
}

.wish-card-foot {
    margin-top: .19rem;
    display: flex;
    align-items: center;
    gap: .16rem;
}

.wish-card-foot .tags {
    flex: 1;
    min-width: 0;
}

.view-btn {
    flex: 0 0 auto;
    min-width: .95rem;
    height: .5rem;
    padding: 0 .3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(31, 68, 86, .16);
    border-radius: .31rem;
    /* color: var(--navy); */
    background: #fff;
    font-size: .23rem;
    font-weight: 700;
    background-color: var(--ihg-color-dark-cyan);
    color: #ffffff;
}

.empty {
    padding: 1rem 0;
    text-align: center;
    color: var(--text-light);
    font-size: .25rem;
}

/* modal */
.mask {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: .18rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(13, 31, 40, .65);
}

.mask.show {
    display: flex;
}

.home-modal {
    width: 100%;
    max-width: 6.74rem;
    max-height: calc(100vh - .36rem);
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: .14rem;
    background: #fff;
    box-shadow: 0 .2rem .5rem rgba(0, 0, 0, .22);
}

.home-modal-hero {
    position: relative;
    height: 3.08rem;
    overflow: hidden;
    background: var(--navy-deep);
}
.home-modal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../images/icon_banner.png) no-repeat;
    /* background-position: right center; */
    background-position: 97% center;
    background-size: 30% auto;
} 
.home-modal-hero>img:not(.ihg-logo) {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-modal-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 31, 40, .22), rgba(13, 31, 40, 0));
}

.home-modal-hero .ihg-logo {
    position: absolute;
    z-index: 2;
    left: .38rem;
    top: .34rem;
}

.home-modal-title {
    position: absolute;
    z-index: 2;
    left: .38rem;
    bottom: .8rem;
    color: #fff;
    font-size: .34rem;
    line-height: 1.3;
    font-weight: 700;
}

.home-modal-body {
    padding: .42rem .38rem .38rem;
}

.home-modal-copy {
    color: var(--text-mid);
    font-size: .25rem;
    line-height: 1.85;
}

.home-modal-list {
    margin: .28rem 0 .34rem;
    display: grid;
    gap: .16rem;
}

.home-modal-item {
    display: flex;
    align-items: center;
    gap: .16rem;
    min-height: .62rem;
    padding: 0 .18rem;
    border-radius: var(--field-radius);
    color: var(--text);
    background: var(--soft);
    font-size: .23rem;
    font-weight: 600;
}

.home-modal-item .icon {
    flex: 0 0 auto;
    width: .25rem;
    height: .25rem;
}

/* detail and record detail */
.detail-top {
    background: var(--navy);
}

.detail-summary {
    position: relative;
    padding: 0 var(--page-x) .36rem;
    overflow: hidden;
    margin-right: calc(var(--page-x) * -1);
            margin-left: calc(var(--page-x) * -1);
            margin-top: calc(var(--section-gap) * -1);
            background: var(--ihg-color-primary);
}

.detail-summary::before,
.profile-hero::before {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(68, 135, 144, .18);
}

.detail-summary::before {
    right: -.32rem;
    top: -.28rem;
    width: 1.42rem;
    height: 1.42rem;
}
.detail-summary::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(244, 192, 108, .18);
    left: .32rem;
    bottom: -.28rem;
    width: 1.1rem;
    height: 1.1rem;
}

.detail-title-card {
    position: relative;
    padding: .29rem var(--card-pad-x);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: var(--card-radius);
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

.detail-title-card h2 {
    margin-bottom: .18rem;
    color: #fff;
    font-size: .3rem;
    line-height: 1.45;
    font-weight: 700;
}

.detail-title-row {
    display: flex;
    align-items: flex-start;
    gap: .18rem;
}

.detail-title-row h2 {
    flex: 1;
    min-width: 0;
}

.detail-title-row .status {
    margin-top: .03rem;
}

.detail-title-card .tag {
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .2);
}

.content-stack {
    padding: var(--section-gap) var(--page-x) .4rem;
    display: grid;
    gap: .22rem;
    align-content: start;
    align-items: start;
    grid-auto-rows: max-content;
}

.detail-card {
    padding: var(--card-pad-y) var(--card-pad-x);
    border-radius: var(--card-radius);
    align-self: start;
    height: auto;
    min-height: 0;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .2rem;
    margin-bottom: .2rem;
}

.section-head .section-title {
    margin-bottom: 0;
}

.tiny-edit {
    height: .52rem;
    padding: 0 .2rem;
    display: inline-flex;
    align-items: center;
    gap: .07rem;
    border: 1px solid rgba(31, 68, 86, .12);
    border-radius: .26rem;
    color: var(--navy);
    background: #fff;
    font-size: .22rem;
    font-weight: 600;
}

.tiny-edit .icon {
    width: .22rem;
    height: .22rem;
}

.info-list {
    display: grid;
    gap: .23rem;
}

.info-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .24rem;
}

.info-label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .08rem;
    color: var(--text-sub);
    font-size: .25rem;
    font-weight: 500;
}

.info-label .icon {
    width: .24rem;
    height: .24rem;
    color: var(--text-light);
}

.info-value {
    flex: 1;
    min-width: 0;
    color: var(--text);
    font-size: .25rem;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

/* forms */
.form-page {
    padding: .3rem var(--page-x) .42rem;
    display: grid;
    gap: .22rem;
    align-content: start;
    align-items: start;
    grid-auto-rows: max-content;
}

.form-card {
    padding: var(--card-pad-y) var(--card-pad-x);
    border-radius: var(--card-radius);
    align-self: start;
    height: auto;
    min-height: 0;
}

.support-office-field {
    display: block;
}

.office-select-box,
.claim-role-select {
    height: var(--control-h);
}

.office-select-box select,
.claim-role-select select {
    line-height: var(--control-h);
    background: var(--input);
    font-size: 12px !important;
}

.form-group {
    margin-bottom: .28rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: .12rem;
    color: var(--text-mid);
    font-size: .24rem;
    font-weight: 700;
}

.required {
    color: var(--coral);
}

.input,
.textarea,
.form-select {
    display: block;
    width: 100%;
    border: 1px solid rgba(31, 68, 86, .12);
    border-radius: .1rem;
    color: var(--text);
    background: var(--input);
    font-size: .25rem;
    /* font-weight: 600; */
}

.input,
.form-select {
    height: var(--control-h);
    line-height: var(--control-h);
    padding: 0 .24rem;
}

.textarea {
    min-height: 2.22rem;
    padding: .22rem .24rem;
    line-height: 1.7;
}

.count {
    display: block;
    margin-top: .09rem;
    color: var(--text-light);
    font-size: .22rem;
    text-align: right;
}

.identity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .22rem;
}

.identity-card {
    height: 1.7rem;
    border: 2px solid rgba(31, 68, 86, .12);
    border-radius: var(--field-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .12rem;
    color: var(--text-sub);
    background: #fff;
    font-size: .27rem;
    font-weight: 700;
}

.identity-card .icon-wrap {
    width: .64rem;
    height: .64rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .12rem;
    color: var(--navy);
    background: rgba(31, 68, 86, .08);
}

.identity-card.active {
    /* border-color: var(--navy);
    color: var(--navy); */
    border-color: var(--ihg-color-dark-cyan);
    color: var(--ihg-color-dark-cyan);
    background: #f9fbfc;
}

.identity-card.active .icon-wrap {
    color: #fff;
    /* background: var(--navy); */
    background: var(--ihg-color-dark-cyan);
}

.hotel-combobox {
    position: relative;
}

.hotel-list {
    display: none;
    max-height: 2.7rem;
    margin-top: .08rem;
    padding: .08rem;
    overflow-y: auto;
    border: 1px solid rgba(31, 68, 86, .12);
    border-radius: var(--field-radius);
    background: #fff;
    box-shadow: var(--shadow-md);
    -webkit-overflow-scrolling: touch;
}

.hotel-combobox.open .hotel-list {
    display: grid;
    gap: .04rem;
}

.hotel-option {
    min-height: .58rem;
    padding: .12rem .16rem;
    border-radius: .08rem;
    color: var(--text);
    font-size: .23rem;
    /* font-weight: 700; */
    text-align: left;
}

.hotel-option:active,
.hotel-option.active {
    color: var(--navy);
    background: var(--soft);
}

.hotel-empty {
    padding: .14rem .16rem;
    color: var(--text-light);
    font-size: .22rem;
}

.upload-box {
    width: 100%;
    min-height: 2.56rem;
    border: 1.5px dashed rgba(31, 68, 86, .14);
    border-radius: var(--field-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .1rem;
    color: var(--text-mid);
    background: var(--input);
}

.upload-box .icon-wrap,
.share-icon {
    width: .74rem;
    height: .74rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .14rem;
    color: var(--teal);
    background: rgba(68, 135, 144, .1);
}

.upload-title {
    color: var(--text);
    font-size: .25rem;
    font-weight: 500;
}

.upload-tip {
    color: var(--text-light);
    font-size: .2rem;
}

.select-control {
    position: relative;
}

.select-control .icon {
    position: absolute;
    right: .22rem;
    top: 50%;
    width: .22rem;
    height: .22rem;
    color: var(--teal);
    transform: translateY(-50%);
    pointer-events: none;
}

.hotel-combobox>.icon {
    top: calc(var(--control-h) / 2);
}

.select-control .form-select,
.select-control .input {
    padding-right: .62rem;
}

/* bottom sheets */
.sheet-mask {
    position: fixed;
    z-index: 90;
    inset: 0;
    display: none;
    align-items: flex-end;
    background: rgba(13, 31, 40, .68);
}

.sheet-mask.show {
    display: flex;
}

.sheet {
    width: 100%;
    max-width: var(--page-max);
    margin: 0 auto;
    max-height: 92vh;
    border-radius: .24rem .24rem 0 0;
    background: #fff;
    overflow: hidden;
}

.sheet-handle {
    width: .46rem;
    height: .07rem;
    margin: .2rem auto .08rem;
    border-radius: .04rem;
    background: rgba(31, 68, 86, .12);
}

.sheet-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .18rem;
    padding: .16rem var(--page-x) .28rem;
    border-bottom: 1px solid rgba(31, 68, 86, .08);
}

.sheet-header h2 {
    color: var(--text);
    font-size: .3rem;
    font-weight: 700;
}

.sheet-header p {
    margin-top: .04rem;
    color: var(--text-sub);
    font-size: .22rem;
}

.sheet-body {
    max-height: calc(92vh - 1.32rem);
    padding: .32rem var(--page-x) calc(.32rem + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.claim-title-box {
    margin-bottom: .28rem;
    padding: .22rem .24rem;
    border-left: .05rem solid var(--coral);
    border-radius: var(--field-radius);
    color: var(--navy);
    background: var(--soft);
    font-size: .25rem;
    font-weight: 700;
}

.confirm-box {
    padding: .3rem;
    border-radius: var(--field-radius);
    background: var(--soft);
}

.button-row {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: .16rem;
    margin-top: .28rem;
}

/* moments */
.moment-list {
    padding: var(--section-gap) var(--page-x) .38rem;
    display: grid;
    gap: .24rem;
    align-content: start;
    align-items: start;
    grid-auto-rows: max-content;
}

.moment-card {
    padding: .28rem .28rem 0;
    overflow: hidden;
    border-radius: var(--card-radius);
    align-self: start;
    height: auto;
    min-height: 0;
}

.moment-head {
    display: flex;
    align-items: center;
    gap: .16rem;
}

.avatar {
    width: .72rem;
    height: .72rem;
    border-radius: 50%;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 .04rem .12rem rgba(31, 68, 86, .18);
}

.avatar.orange {
    background: linear-gradient(135deg, var(--orange), var(--coral));
}

.avatar.teal {
    /* background: linear-gradient(135deg, var(--navy), var(--teal)); */
    background: linear-gradient(135deg, var(--ihg-color-dark-cyan), #8bf3f3);
}

.moment-person {
    flex: 1;
    min-width: 0;
}

.moment-person strong {
    display: block;
    color: var(--text);
    font-size: .28rem;
    font-weight: 700;
}

.moment-person span {
    display: block;
    margin-top: .02rem;
    color: var(--text-sub);
    font-size: .21rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.moment-date {
    color: var(--text-light);
    font-size: .22rem;
}

.moment-copy {
    margin-top: .22rem;
    color: var(--text);
    font-size: .25rem;
    line-height: 1.72;
}

.moment-media {
    margin-top: .2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .12rem;
}

.moment-img {
    width: 100%;
    height: 2.72rem;
    object-fit: cover;
    border-radius: var(--field-radius);
    border: 1px solid rgba(31, 68, 86, .08);
    background: var(--soft);
}

.poster-thumb,
.photo-placeholder,
.share-add {
    height: 2.72rem;
    border-radius: var(--field-radius);
}

.poster-thumb {
    position: relative;
    overflow: hidden;
    padding: .22rem .18rem;
    color: #fff;
    background: linear-gradient(150deg, var(--navy-deep), var(--navy) 58%, var(--navy-light));
}

.poster-thumb .ihg-logo {
    width: 1.18rem;
    height: .22rem;
}

.poster-thumb .ihg-main {
    font-size: .18rem;
    line-height: .18rem;
    letter-spacing: .025rem;
}

.poster-thumb .ihg-sub {
    font-size: .045rem;
    line-height: .052rem;
    margin-left: .03rem;
}

.poster-thumb-title {
    margin-top: .22rem;
    color: #fff;
    font-size: .16rem;
    line-height: 1.4;
    font-weight: 700;
}

.poster-thumb-title span {
    color: var(--gold);
}

.poster-thumb-line {
    margin: .2rem 0 .14rem;
    height: 1px;
    background: rgba(255, 255, 255, .2);
}

.poster-thumb-copy {
    color: rgba(255, 255, 255, .85);
    font-size: .15rem;
    line-height: 1.55;
}

.photo-placeholder,
.share-add {
    border: 1px solid rgba(31, 68, 86, .08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .08rem;
    color: var(--text-light);
    background: var(--soft);
    font-size: .2rem;
}

.photo-placeholder .icon,
.share-add .icon {
    width: .32rem;
    height: .32rem;
}

.moment-action {
    margin: .26rem -.28rem 0;
    padding: .16rem .28rem .2rem;
    border-top: 1px solid rgba(31, 68, 86, .08);
    display: flex;
    justify-content: flex-end;
}

.like-btn {
    min-width: .92rem;
    height: .58rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .08rem;
    border: 1px solid rgba(31, 68, 86, .12);
    border-radius: .29rem;
    color: var(--text-sub);
    background: #fff;
    font-size: .22rem;
}

.like-btn.liked {
    color: var(--coral);
    border-color: rgba(239, 77, 48, .32);
    background: rgba(239, 77, 48, .06);
}

/* profile */
.profile-hero {
    position: relative;
    min-height: var(--profile-hero-h);
    padding: .38rem var(--page-x) .92rem;
    overflow: hidden;
    color: #fff;
    text-align: center;
    /* background: linear-gradient(150deg, var(--navy-deep), var(--navy) 58%, var(--navy-light)); */
    background: linear-gradient(150deg, var(--ihg-color-primary), var(--navy-light));
}

.profile-hero::before {
    right: -.3rem;
    top: -.55rem;
    width: 2.1rem;
    height: 2.1rem;
}
.profile-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(244, 192, 108, .18);
    left: -.32rem;
    bottom: -.28rem;
    width: 1.7rem;
    height: 1.7rem;
}
.profile-avatar {
    width: 1.18rem;
    height: 1.18rem;
    margin: 0 auto .2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--coral));
    box-shadow: 0 .08rem .18rem rgba(0, 0, 0, .14);
}

.profile-avatar .icon {
    width: .46rem;
    height: .46rem;
    stroke-width: 2.2;
}

.profile-name {
    color: #fff;
    font-size: .34rem;
    font-weight: 700;
}

.profile-phone {
    margin-top: .07rem;
    color: rgba(255, 255, 255, .55);
    font-size: .22rem;
}

.profile-meta {
    margin-top: .18rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .14rem;
    color: rgba(255, 255, 255, .78);
    font-size: .22rem;
}

.profile-meta span:first-child {
    padding: .05rem .22rem;
    border-radius: .24rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .15);
}

.profile-content {
    position: relative;
    z-index: 2;
    margin-top: -.5rem;
    padding: 0 var(--page-x) .4rem;
    display: grid;
    gap: .22rem;
    align-content: start;
    align-items: start;
    grid-auto-rows: max-content;
}

.profile-card {
    overflow: hidden;
    align-self: start;
    height: auto;
    min-height: 0;
}

.profile-card-title {
    padding: .28rem var(--card-pad-x) .22rem;
    color: var(--text);
    font-size: .28rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(31, 68, 86, .08);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat {
    padding: .32rem .1rem .34rem;
    text-align: center;
    border-right: 1px solid rgba(31, 68, 86, .06);
    min-width: 0;
}

.stat:last-child {
    border-right: 0;
}

.stat .icon {
    margin: 0 auto .14rem;
    width: .42rem;
    height: .42rem;
}

.stat-img {
    width: .42rem;
    height: .42rem;
    margin: 0 auto .14rem;
    display: block;
    object-fit: contain;
    object-position: center;
}

.stat-num {
    color: var(--text);
    font-size: .44rem;
    line-height: 1;
    font-weight: 700;
}

.stat-label {
    margin-top: .11rem;
    color: var(--text-sub);
    font-size: .2rem;
    font-weight: 600;
}

.record-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(31, 68, 86, .08);
}

.record-tab {
    position: relative;
    height: .86rem;
    color: var(--text-light);
    font-size: .26rem;
    font-weight: 600;
}

.record-tab.active {
    /* color: var(--navy); */
    color: var(--ihg-color-dark-cyan);
}

.record-tab.active::after {
    content: "";
    position: absolute;
    left: .3rem;
    right: .3rem;
    bottom: 0;
    height: .04rem;
    border-radius: .04rem;
    /* background: var(--navy); */
    background: var(--ihg-color-dark-cyan);
}

.record-list {
    display: grid;
}

.record-row {
    min-height: 1.28rem;
    padding: .23rem var(--card-pad-x);
    display: flex;
    align-items: center;
    gap: .18rem;
    border-bottom: 1px solid rgba(31, 68, 86, .06);
}

.record-row:last-child {
    border-bottom: 0;
}

.record-info {
    flex: 1;
    min-width: 0;
}

.record-info strong {
    display: block;
    color: var(--text);
    font-size: .25rem;
    line-height: 1.45;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.record-info span {
    display: block;
    margin-top: .05rem;
    color: var(--text-sub);
    font-size: .21rem;
}

.record-row>.icon {
    flex: 0 0 auto;
    width: .22rem;
    height: .22rem;
    color: var(--text-light);
}

.profile-action {
    width: 100%;
    min-height: .92rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .12rem;
    border-radius: var(--field-radius);
    color: var(--navy);
    background: #fff;
    font-size: .25rem;
    font-weight: 700;
}

.profile-action .icon {
    width: .26rem;
    height: .26rem;
}

.profile-action.logout {
    color: var(--text-sub);
}

/* success */
.success-page {
    min-height: calc(100vh - 1.08rem);
    padding: 1.2rem .46rem .5rem;
    text-align: center;
}

.claim-success-page {
    flex: 1;
    min-height: 0;
    padding: 1.36rem .42rem .5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.success-icon {
    width: 1.56rem;
    height: 1.56rem;
    margin: 0 auto .42rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--coral));
    box-shadow: 0 .08rem .18rem rgba(239, 77, 48, .2);
}

.claim-success-page .success-icon {
    width: 1.55rem;
    height: 1.55rem;
    margin-bottom: .52rem;
    background: linear-gradient(135deg, #347987, #1f4456);
    box-shadow: 0 .2rem .55rem rgba(31, 68, 86, .22);
}

.success-icon .icon {
    width: .78rem;
    height: .78rem;
}

.success-title {
    color: var(--text);
    font-size: .4rem;
    font-weight: 700;
}

.claim-success-page .success-title {
    font-size: .42rem;
    line-height: 1.2;
}

.claim-rank {
    margin-top: .42rem;
    color: var(--text-mid);
    font-size: .26rem;
    font-weight: bolder;
}

.claim-rank span {
    color: var(--coral);
    font-size: .38rem;
    line-height: 1;
}

.success-copy {
    margin-top: .22rem;
    color: var(--text-sub);
    font-size: .24rem;
}

.claim-success-page .success-copy {
    max-width: 5.1rem;
    margin-top: .18rem;
    line-height: 1.75;
}

.claim-back {
    margin-top: .78rem;
}

.share-entry {
    margin-top: .58rem;
    padding: .28rem .31rem;
    display: flex;
    align-items: center;
    gap: .2rem;
    text-align: left;
}

.share-entry strong {
    flex: 1;
    color: var(--text);
    font-size: .26rem;
    font-weight: 700;
}

.success-more {
    margin-top: .3rem;
}

/* poster/share */
.dark-page {
    min-height: 100vh;
    background: rgba(10, 24, 32, .9);
}

.poster-bar {
    min-height: 1.12rem;
    padding: .26rem var(--page-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, .42);
    font-size: .22rem;
}

.poster-back {
    display: inline-flex;
    align-items: center;
    gap: .08rem;
    height: .62rem;
    padding: 0 .22rem;
    border-radius: .31rem;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    font-size: .24rem;
    font-weight: 700;
}

.poster-wrap {
    padding: 1.1rem .46rem .34rem;
}

.poster-card-full {
    width: 5.56rem;
    margin: 0 auto;
    overflow: hidden;
    border-radius: .26rem;
    background: #fff;
    box-shadow: 0 .3rem .8rem rgba(0, 0, 0, .38);
}

.poster-head {
    position: relative;
    padding: .46rem .42rem .54rem;
    color: #fff;
    background: linear-gradient(150deg, var(--navy-deep), var(--navy) 56%, var(--navy-light));
    overflow: hidden;
}

.poster-head::after {
    content: "";
    position: absolute;
    top: -.18rem;
    right: -.18rem;
    width: 1.52rem;
    height: 1.52rem;
    border-radius: 50%;
    background: rgba(68, 135, 144, .22);
}

.poster-head .ihg-logo {
    width: 4.8rem;
    transform: scale(1.05);
    transform-origin: left top;
}

.poster-title {
    margin-top: .3rem;
    color: #fff;
    font-size: .38rem;
    line-height: 1.25;
    font-weight: 700;
}

.poster-title span {
    color: var(--gold);
}

.poster-sep {
    height: .04rem;
    background: linear-gradient(90deg, var(--coral), var(--gold));
}

.poster-text {
    padding: .52rem .42rem .2rem;
    color: var(--text-mid);
    font-size: .29rem;
    line-height: 1.85;
}

.poster-text strong {
    color: var(--navy);
    font-weight: 700;
}

.poster-text .num {
    color: var(--coral);
    font-size: .42rem;
    line-height: 1;
}

.poster-art {
    width: 100%;
    height: 2.1rem;
}

.poster-actions {
    padding: .7rem .46rem .44rem;
    display: grid;
    gap: .18rem;
}

.dark-page .btn-white {
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .22);
    box-shadow: none;
}

.share-page-content {
    padding: .28rem var(--page-x) .42rem;
    display: grid;
    gap: .28rem;
    align-content: start;
    align-items: start;
    grid-auto-rows: max-content;
}

.share-textarea {
    min-height: 2.85rem;
}

.share-grid {
    display: flex;
    gap: .14rem;
    flex-wrap: wrap;
}

.share-poster,
.share-add {
    flex: 0 0 1.72rem;
    width: 1.72rem;
    height: 2.48rem;
}

.share-grid .photo-placeholder {
    flex: 0 0 1.72rem;
    width: 1.72rem;
    height: 2.48rem;
}

.claim-info-edit {
    display: grid;
    gap: .22rem;
}

.claim-info-edit .form-group {
    margin-bottom: 0;
}

.share-poster {
    border-radius: var(--field-radius);
    object-fit: cover;
}

.share-extra-photo {
    position: relative;
    flex: 0 0 1.72rem;
    width: 1.72rem;
    height: 2.48rem;
}

.share-extra-photo .share-poster { width: 100%; height: 100%; }

.share-photo-remove {
    position: absolute;
    top: -.1rem;
    right: -.1rem;
    width: .38rem;
    height: .38rem;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: rgba(17, 42, 54, .86);
    font-size: .28rem;
    line-height: .3rem;
}

.share-hint {
    margin-top: .18rem;
    color: var(--text-light);
    font-size: .21rem;
}

@media (min-width: 751px) {
    .bottom-tab {
        left: 50%;
    }
}

body[data-page="plaza"] .page {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body[data-page="plaza"] .plaza-hero,
body[data-page="plaza"] .filter-area {
    flex: 0 0 auto;
}

body[data-page="plaza"] main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

body[data-page="plaza"] .wish-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body[data-page="submit"] .page,
body[data-page="moments"] .page,
body[data-page="wish-detail"] .page,
body[data-page="record-detail"] .page,
body[data-page="self-record-detail"] .page,
body[data-page="claim-success"] .page {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body[data-page="submit"] .topbar,
body[data-page="moments"] .topbar,
body[data-page="wish-detail"] .detail-top,
body[data-page="record-detail"] .detail-top,
body[data-page="self-record-detail"] .detail-top,
body[data-page="claim-success"] .topbar {
    flex: 0 0 auto;
    z-index: 25;
}

body[data-page="submit"] main,
body[data-page="moments"] main,
body[data-page="wish-detail"] main,
body[data-page="record-detail"] main,
body[data-page="self-record-detail"] main {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body[data-page="wish-detail"] .detail-top {
    position: relative;
}

/* body[data-page="wish-detail"] main.content-stack {
    padding-top: 0;
} */

body[data-page="wish-detail"] main.content-stack>.detail-summary {
    margin-right: calc(var(--page-x) * -1);
    margin-left: calc(var(--page-x) * -1);
    background: var(--ihg-color-primary);
}

body[data-page="profile"] .profile-hero {
    z-index: 1;
}

body[data-page="profile"] .profile-content {
    z-index: 3;
}

body[data-page="profile"] .profile-card {
    flex: 0 0 auto;
}




.ihg-wishStatus {
    border-radius: 7px; 
    padding: 14px 16px; 
    background: rgb(240, 253, 244); 
    border: 1px solid rgba(34, 197, 94, 0.2); 
    display: flex; 
    align-items: center; 
    gap: 10px;
}
.ihg-wishStatus__title {
    font-size: 13px; 
    font-weight: 600; 
    color: rgb(21, 128, 61);
}
.ihg-wishStatus__desc {
    font-size: 11px; 
    color: rgb(21, 128, 61); 
    margin-top: 2px;
}
.ihg-wishStatus-progress {
    background: rgb(239, 246, 255);
    border: 1px solid rgba(59, 130, 246, 0.2);
}
.ihg-wishStatus-progress .ihg-wishStatus__title {
    color: rgb(29, 78, 216);
}
.ihg-wishStatus-progress .ihg-wishStatus__desc {
    color: rgb(59, 130, 246);
}
.ihg-wishStatus-success {
    background: rgb(240, 253, 244);
    border: 1px solid rgba(34, 197, 94, 0.2);
}
.ihg-wishStatus-success .ihg-wishStatus__title {
    color: rgb(21, 128, 61);
}
.ihg-wishStatus-success .ihg-wishStatus__desc {
    color: rgb(21, 128, 61); 
}







@media (max-width: 500px) {
    input, select, textarea {
        font-size: 12px !important; 
    }
}
@media (min-width: 500px) {
    .office-select-box select, 
    .claim-role-select select {
        font-size: 14px !important; 
    }

    /* 18px */
    .topbar-title h1,
    .btn-coral,
    .identity-card,
    .btn,
    .profile-name
    {
        font-size: .27rem;
    }

    /* 16px */
    .detail-title-card h2,
    .section-title,
    .form-label,
    .wish-card-title,
    .moment-person strong,
    .profile-card-title,
    .profile-action
    {
        font-size: .24rem; 
    }

    /* 14px */
    .section-text,
    .info-label,
    .info-value,
    .moment-copy,
    .stat-label,
    .record-tab,
    .record-info strong
    {
        font-size: .21rem;
    }

    /* 12px */
    .status,
    .moment-person span,
    .record-info span
    {
        font-size: .18rem;
    }
}

.upload-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .12rem;
    margin-top: .14rem;
}

.upload-preview-grid a {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: .12rem;
    background: var(--input);
}

.upload-preview-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.upload-photo-item { position: relative; aspect-ratio: 1; min-width: 0; }
.upload-photo-item a { width: 100%; height: 100%; }
.upload-photo-remove {
    position: absolute;
    top: -.08rem;
    right: -.08rem;
    z-index: 2;
    width: .36rem;
    height: .36rem;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: rgba(17, 42, 54, .88);
    font-size: .26rem;
    line-height: .28rem;
}
.upload-photo-add {
    aspect-ratio: 1;
    border: 1.5px dashed rgba(31, 68, 86, .18);
    border-radius: .12rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .06rem;
    color: var(--teal);
    background: var(--input);
}
.upload-photo-add .icon { width: .34rem; height: .34rem; }
.upload-photo-add .upload-title { font-size: .18rem; }
.upload-limit-tip { margin-top: .12rem; color: var(--text-light); font-size: .19rem; }
.file-input-hidden { display: none !important; }
.front-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .12rem; margin-top: .16rem; }
.front-photo-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: .1rem; }
