:root {
    --rg-red: #c90008;
    --rg-red-deep: #8b0000;
    --rg-red-dark: #650000;
    --rg-gold: #f2c35b;
    --rg-gold-soft: #fff0bd;
    --rg-cream: #fff8e8;
    --rg-cream-deep: #ffefd0;
    --rg-brown: #4a2416;
    --rg-muted: #85664a;
    --rg-shadow: rgba(80, 0, 0, 0.42);
}

body.page-shell--home {
    background: #a60004;
    color: var(--rg-brown);
    padding-bottom: calc(52px + env(safe-area-inset-bottom));
    overflow-x: hidden;
}

.page-shell--home .app-shell {
    position: relative;
    width: 100%;
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0 calc(72px + env(safe-area-inset-bottom));
    overflow: hidden;
}

.page-shell--home.page-shell--simulated-width .app-shell {
    max-width: var(--rg-simulated-width);
}

.page-shell--home .home-page {
    position: relative;
    min-height: 100vh;
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #d50006 0%, #bd0004 43%, #960001 100%);
}

.page-shell--home .home-page::before,
.page-shell--home .home-page::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
}

.page-shell--home .home-page::before {
    top: 0;
    height: 340px;
    z-index: 0;
    background:
        url("../img/redgold-home-pattern-overlay.png") top center / 100% auto no-repeat,
        url("../img/redgold-home-pattern-clean.png") top center / 100% auto no-repeat;
    opacity: 1;
}

.page-shell--home .home-page::after {
    top: 0;
    bottom: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(255, 248, 206, 0.05) 0%, rgba(255, 248, 206, 0) 22%);
}

.page-shell--home .home-page > * {
    position: relative;
    z-index: 1;
}

.page-shell--home .top-bar,
.page-shell--home .user-card.home-hero,
.page-shell--home .action-row,
 .page-shell--home .tab-bar {
    display: none;
}

.page-shell--home .filter-search-bar {
    display: block;
}

.redgold-marquee {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    height: calc(28px + env(safe-area-inset-top));
    padding-right: 0;
    padding-left: 10px;
    padding-top: env(safe-area-inset-top);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 205, 116, 0.25);
    background:
        linear-gradient(90deg, rgba(83, 0, 0, 0.52), transparent 16%, transparent 84%, rgba(83, 0, 0, 0.52)),
        linear-gradient(180deg, rgba(105, 0, 0, 0.92) 0%, rgba(140, 0, 0, 0.84) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 222, 140, 0.1),
        inset 0 -1px 0 rgba(83, 0, 0, 0.28),
        0 4px 11px rgba(75, 0, 0, 0.14);
}

.redgold-marquee__label {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    height: 17px;
    margin-right: 8px;
    padding: 0 6px;
    border: 1px solid rgba(255, 220, 137, 0.42);
    border-radius: 999px;
    background: rgba(255, 205, 91, 0.09);
    color: rgba(255, 240, 189, 0.96);
    font-size: 10px;
    font-weight: 680;
    line-height: 17px;
    text-shadow: 0 1px 2px rgba(62, 0, 0, 0.62);
}

.redgold-marquee__viewport {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    height: 28px;
    overflow: hidden;
}

.redgold-marquee__viewport::before,
.redgold-marquee__viewport::after {
    content: "";
    position: absolute;
    top: 0;
    z-index: 1;
    width: 22px;
    height: 100%;
    pointer-events: none;
}

.redgold-marquee__viewport::before {
    left: 0;
    background: linear-gradient(90deg, rgba(112, 0, 0, 0.94), rgba(112, 0, 0, 0));
}

.redgold-marquee__viewport::after {
    right: 0;
    background: linear-gradient(270deg, rgba(112, 0, 0, 0.9), rgba(112, 0, 0, 0));
}

.redgold-marquee__track {
    display: flex;
    align-items: center;
    width: max-content;
    min-width: 100%;
    height: 28px;
    white-space: nowrap;
    animation: redgoldMarquee 38s linear infinite;
    will-change: transform;
}

.redgold-marquee__item {
    flex: 0 0 auto;
    padding-right: 220px;
    color: rgba(255, 227, 160, 0.96);
    font-size: 11.8px;
    font-weight: 560;
    line-height: 28px;
    letter-spacing: 0;
    text-shadow: 0 1px 2px rgba(62, 0, 0, 0.62), 0 0 7px rgba(255, 194, 77, 0.16);
}

@keyframes redgoldMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.redgold-hero {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    height: 190px;
    padding: 0 10px;
    text-align: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 231, 165, 0.05) 0%, rgba(255, 231, 165, 0) 22%),
        radial-gradient(circle at 50% 8%, rgba(255, 214, 112, 0.08), transparent 38%);
}

.redgold-hero::before,
.redgold-hero::after {
    content: "";
    position: absolute;
    top: 104px;
    z-index: 0;
    width: 122px;
    height: 72px;
    pointer-events: none;
    opacity: 0.34;
    background:
        radial-gradient(96px 20px at 12px 18px, transparent 66%, rgba(255, 190, 67, 0.72) 68%, transparent 70%),
        radial-gradient(96px 20px at 32px 36px, transparent 66%, rgba(255, 190, 67, 0.5) 68%, transparent 70%),
        radial-gradient(106px 22px at 4px 54px, transparent 66%, rgba(255, 190, 67, 0.42) 68%, transparent 70%);
}

.redgold-hero::before {
    left: -38px;
}

.redgold-hero::after {
    right: -38px;
    transform: scaleX(-1);
}

.redgold-hero > * {
    position: relative;
    z-index: 1;
}

.redgold-hero__switches {
    position: absolute;
    top: calc(31px + env(safe-area-inset-top));
    left: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
}

.redgold-hero-switch {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 92px;
    height: 29px;
    padding: 0 8px;
    border: 1px solid rgba(244, 151, 62, 0.58);
    border-radius: 999px;
    background: transparent;
    box-shadow:
        inset 0 1px 0 rgba(255, 222, 144, 0.12),
        inset 0 0 8px rgba(255, 199, 116, 0.08),
        0 0 0 1px rgba(117, 0, 0, 0.12),
        0 0 11px rgba(255, 78, 24, 0.34);
    color: #ffe0a0;
    font-size: 12.4px;
    font-weight: 670;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 1px 2px rgba(55, 0, 0, 0.62), 0 0 8px rgba(255, 186, 84, 0.2);
    cursor: default;
    pointer-events: none;
    user-select: none;
}

.redgold-hero-switch i {
    display: block;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    background: center / contain no-repeat;
    color: transparent;
    font-size: 0;
    line-height: 1;
    filter: drop-shadow(0 1px 1px rgba(72, 0, 0, 0.34)) drop-shadow(0 0 5px rgba(255, 190, 92, 0.16));
    text-shadow: none;
}

.redgold-hero-switch i::before {
    content: none !important;
}

.redgold-hero-switch[data-home-hero-mode="hit"] i {
    background-image: url("../img/redgold-icon-mode-hit.png");
}

.redgold-hero-switch[data-home-hero-mode="latest"] i {
    background-image: url("../img/redgold-icon-mode-latest.png");
}

.redgold-hero-switch--active {
    border-color: rgba(255, 196, 92, 0.7);
    background: transparent;
    box-shadow:
        inset 0 1px 0 rgba(255, 230, 158, 0.16),
        inset 0 0 9px rgba(255, 203, 118, 0.11),
        0 0 0 1px rgba(255, 190, 82, 0.08),
        0 0 13px rgba(255, 82, 24, 0.42);
    color: #ffe8ad;
}

.redgold-service-dock {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    position: relative;
    z-index: 4;
    height: 47px;
    margin: 21px 0 10px;
    padding: 0 12px;
    border-top: 1px solid rgba(255, 204, 116, 0.18);
    border-bottom: 1px solid rgba(255, 204, 116, 0.24);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(154, 5, 4, 0.12), rgba(126, 0, 0, 0.06));
    box-shadow: none;
}

.redgold-service-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 47px;
    min-height: 0;
    padding: 3px 4px;
    border: 0;
    background: transparent;
    color: #ffe6a4;
    cursor: pointer;
}

.redgold-service-item + .redgold-service-item {
    border-left: 0;
}

.redgold-service-item + .redgold-service-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 1px;
    height: 31px;
    background: rgba(255, 219, 137, 0.38);
    box-shadow: 1px 0 0 rgba(94, 0, 0, 0.1);
}

.redgold-service-item i {
    display: block;
    width: 25px;
    height: 23px;
    background: center / contain no-repeat;
    color: transparent;
    font-size: 0;
    line-height: 1;
    text-shadow: none;
}

.redgold-service-item i::before {
    content: none !important;
}

#privateMessageBtn i {
    background-image: url("../img/redgold-icon-service-private.png");
}

#wechatBtn i {
    width: 30px;
    height: 24px;
    background-image: url("../img/redgold-icon-service-wechat.png");
}

#complainBtn i {
    width: 23px;
    height: 24px;
    background-image: url("../img/redgold-icon-service-complaint.png");
}

#homeMessageBtn i {
    width: 24px;
    height: 26px;
    background-image: url("../img/redgold-icon-service-message.png");
}

.redgold-service-item span {
    font-size: 12.4px;
    font-weight: 400;
    line-height: 1;
    color: #ffe6a4;
    letter-spacing: 0;
}

.redgold-service-item .action-icon__dot {
    position: absolute;
    top: 6px;
    right: 14px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff2f3d;
    box-shadow: 0 0 0 2px rgba(119, 0, 0, 0.84);
}

.redgold-hero__title {
    position: absolute;
    left: 50%;
    top: calc(46px + env(safe-area-inset-top));
    z-index: 1;
    display: inline-block;
    width: 214px;
    height: 51px;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: url("../img/redgold-title-reference-alpha.png") center / contain no-repeat;
    color: transparent;
    font-size: 0;
    font-weight: 900;
    line-height: 1;
    font-family: "SimSun-ExtB", "SimSun", "Songti SC", "STSong", serif;
    transform: translateX(-50%);
    transform-origin: center top;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.redgold-hero__title::before,
.redgold-hero__title::after {
    content: none;
}

.redgold-hero__subtitle {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(101px + env(safe-area-inset-top));
    margin: 0;
    color: #ffe1a4;
    font-size: 12px;
    font-weight: 520;
    line-height: 1.1;
    text-shadow: 0 1px 0 rgba(128, 10, 0, 0.18);
}

.redgold-issue {
    position: absolute;
    left: 50%;
    top: calc(118px + env(safe-area-inset-top));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 214px;
    min-width: 0;
    height: 46px;
    margin: 0;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    background: url("../img/redgold-issue-frame.png") center / 100% 100% no-repeat;
    color: #8a4a14;
    box-shadow: 0 7px 14px rgba(108, 0, 0, 0.13);
    transform: translateX(-50%);
}

.redgold-issue::before,
.redgold-issue::after {
    content: "◇";
    color: #f1b44a;
    font-size: 16px;
    font-weight: 800;
}

.redgold-issue::before,
.redgold-issue::after {
    content: none;
}

.redgold-issue span {
    font-size: 16px;
    font-weight: 800;
}

.redgold-issue strong {
    color: #df1118;
    font-size: 31px;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.redgold-online-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 22px;
    width: 130px;
    position: absolute;
    left: 50%;
    top: calc(166px + env(safe-area-inset-top));
    margin: 0;
    padding: 0;
    border: 1.5px solid rgba(255, 199, 96, 0.76);
    border-radius: 999px;
    background: rgba(123, 4, 6, 0.44);
    box-shadow: inset 0 1px 0 rgba(255, 232, 180, 0.18);
    color: #ffe9b2;
    font-size: 12.5px;
    font-weight: 650;
    transform: translateX(-50%);
}

.redgold-online-pill strong {
    color: #fff5d2;
    font-size: 13.8px;
    font-weight: 900;
    line-height: 1;
}

.redgold-online-pill__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff5b0 0%, #ffd83d 52%, #ff9c10 100%);
    box-shadow: 0 0 0 3px rgba(255, 193, 61, 0.16), 0 0 10px rgba(255, 189, 49, 0.42);
}

.redgold-filter-row {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
    width: calc(100vw - 24px);
    max-width: 403px;
    margin: 0 auto 7px;
    padding: 0;
    transform: none;
}

.redgold-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
    height: 30px;
    min-width: 0;
    padding: 0 10px;
    border: 1.25px solid rgba(255, 216, 139, 0.86);
    border-radius: 999px;
    background: linear-gradient(180deg, #fff5cf 0%, #f8dfa5 100%);
    color: #875018;
    box-shadow: 0 4px 8px rgba(91, 0, 0, 0.12);
    font-size: 14.7px;
    font-weight: 760;
    line-height: 1;
    cursor: pointer;
    margin: 0 !important;
    letter-spacing: 0;
    white-space: nowrap;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    flex-direction: row;
}

.redgold-section-tabs .redgold-filter {
    width: 100%;
    padding-inline: 8px;
}

.redgold-filter i {
    font-size: 12px;
}

.redgold-filter.active,
.redgold-filter--primary {
    border: 1.25px solid #ffd45f;
    background: linear-gradient(180deg, #ff362f 0%, #dc070d 55%, #b00004 100%);
    color: #ffefb2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 4px 9px rgba(79, 0, 0, 0.21);
}

.redgold-filter--outline {
    border-color: rgba(255, 217, 145, 0.72);
    background: linear-gradient(180deg, #fff5cf 0%, #f8dfa5 100%);
    color: #875018;
    box-shadow: 0 4px 9px rgba(91, 0, 0, 0.13);
}

.redgold-search-panel {
    margin: 13px 0 0;
    padding: 0 12px 11px;
}

.redgold-search-panel .search-input-wrapper {
    display: flex;
    align-items: center;
    height: 37px;
    padding: 0 15px;
    border: 1.25px solid #efc45f;
    border-radius: 17px;
    background: linear-gradient(105deg, #fffffb 0%, #fff9ec 58%, #fff0d7 100%);
    color: #875018;
    box-shadow: 0 4px 8px rgba(75, 0, 0, 0.13);
}

.redgold-search-panel .search-input-wrapper i {
    margin-right: 4px;
    display: block;
    width: 24px;
    height: 24px;
    background: url("../img/redgold-icon-search.png") center / contain no-repeat;
    color: transparent;
    font-size: 0;
}

.redgold-search-panel .search-input-wrapper i::before {
    content: none !important;
}

.redgold-search-panel input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #6c3d16;
    font-size: 14px;
}

.redgold-search-panel input::placeholder {
    color: rgba(140, 102, 67, 0.88);
}

.page-shell--home .content-area.home-feed-panel {
    box-sizing: border-box;
    width: 100%;
    margin: 0 !important;
    padding: 0 12px calc(72px + env(safe-area-inset-bottom)) !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.page-shell--home .content-area .dot {
    display: none;
}

.page-shell--home .feed-grid {
    display: flex !important;
    flex-direction: column;
    gap: 9px;
    width: 100%;
}

.page-shell--home .content-card--home {
    box-sizing: border-box;
    position: relative;
    left: 0;
    width: 100%;
    max-width: none;
    min-height: 130px;
    margin: 0 auto !important;
    padding: 14px 14px 8px 62px;
    overflow: visible;
    border: 1.25px solid #f3c65b;
    border-radius: 14px;
    background: linear-gradient(105deg, #fffef8 0%, #fff8e7 58%, #fff0d2 100%);
    box-shadow: 0 2px 0 rgba(125, 20, 0, 0.14), 0 8px 15px rgba(68, 0, 0, 0.22);
}

.page-shell--home .content-card--home::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 0;
    border-radius: 12px;
    pointer-events: none;
    background:
        radial-gradient(circle at 88% 16%, rgba(255, 228, 154, 0.26), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 18%);
}

.page-shell--home .content-card--home > * {
    position: relative;
    z-index: 1;
}

.page-shell--home .content-card__top {
    position: relative;
    display: block;
    min-height: 23px;
    padding-right: 66px;
    margin-bottom: 4px;
    transform: translateX(-13px);
}

.page-shell--home .content-card__title {
    min-height: 0;
    margin: 0;
    color: #261109;
    font-size: 15.4px;
    font-weight: 720;
    line-height: 1.15;
    letter-spacing: 0;
    font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
    -webkit-line-clamp: 2;
}

.page-shell--home .content-card__title.content-card__title--compact {
    display: block;
    font-size: 15.2px;
    line-height: 1.13;
}

.page-shell--home .content-card__title.content-card__title--tight {
    display: block;
    width: calc(100% / 0.82);
    font-size: 15.1px;
    line-height: 1.12;
    transform: scaleX(0.82);
    transform-origin: left top;
}

.page-shell--home .content-card__price {
    position: absolute;
    top: 0;
    right: 0;
    color: #df1118;
    font-size: 22px;
    font-weight: 860;
    line-height: 1.05;
    white-space: nowrap;
    transform: scaleX(0.78);
    transform-origin: right top;
}

.redgold-card-author {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 17px;
    margin: 0 0 6px;
    color: #71461f;
    font-size: 12.4px;
    font-weight: 500;
    transform: translateX(-13px);
}

.redgold-author-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(180deg, #d6a03c, #b56f18);
    color: #fff8df;
    font-size: 10px;
}

.redgold-author-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border: 1px solid rgba(212, 139, 24, 0.48);
    border-radius: 6px;
    background: linear-gradient(180deg, #fff3c7, #ffc75c);
    color: #b35b00;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.redgold-card-desc {
    margin: 0 0 6px;
    padding: 4px 9px;
    border-radius: 7px;
    background: rgba(247, 220, 164, 0.36);
    color: #4f3624;
    font-size: 12.3px;
    line-height: 1.16;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translateX(-19px);
}

.page-shell--home .content-card__meta {
    display: grid;
    grid-template-columns: minmax(0, 1.36fr) minmax(68px, 0.7fr) minmax(70px, 0.7fr);
    gap: 0;
    align-items: center;
    margin-top: 0;
    margin-left: -48px;
    padding-top: 4px;
    border-top: 1px solid rgba(232, 204, 154, 0.82);
    color: #816a56;
    font-size: 11.5px;
    line-height: 1.22;
}

.page-shell--home .content-card__meta-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    color: #806a56;
    white-space: nowrap;
    line-height: 1;
}

.page-shell--home .content-card__meta-item + .content-card__meta-item {
    border-left: 1px solid rgba(224, 197, 145, 0.72);
}

.page-shell--home .content-card__meta-item--publish {
    justify-content: flex-start;
}

.page-shell--home .content-card__meta-item--cart,
.page-shell--home .content-card__meta-item--cart i {
    color: #df1118;
    font-size: 12px;
    font-weight: 900;
}

.page-shell--home .content-card__meta-item i {
    display: inline-block;
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    background: center / contain no-repeat;
    color: transparent;
    font-size: 0;
    line-height: 1;
    vertical-align: middle;
    transform: translateY(2px);
}

.page-shell--home .content-card__meta-item i::before {
    content: none !important;
}

.page-shell--home .content-card__meta-item--publish i {
    background-image: url("../img/redgold-icon-meta-clock.png");
}

.page-shell--home .content-card__meta-item--view i {
    width: 21px;
    height: 16px;
    background-image: url("../img/redgold-icon-meta-eye.png");
    transform: translateY(2px);
}

.page-shell--home .content-card__meta-item--cart i {
    width: 19px;
    height: 17px;
    background-image: url("../img/redgold-icon-meta-cart.png");
    transform: translateY(3px);
}

.page-shell--home .content-card__badge {
    z-index: 3;
}

.page-shell--home .content-card__badge--sticky-corner,
.page-shell--home .content-card__badge--unlocked-corner {
    top: 10px;
    right: 10px;
    left: auto;
    height: 22px;
    min-width: 46px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(190, 24, 21, 0.09);
    color: #d4121a;
    box-shadow: none;
}

.page-shell--home .content-card__badge--public-corner {
    position: absolute;
    top: -1px;
    right: -1px;
    left: auto;
    z-index: 5;
    height: 24px;
    min-width: 54px;
    padding: 0 12px 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 217, 128, 0.86);
    border-top: 0;
    border-right: 0;
    border-radius: 0 13px 0 12px;
    background: linear-gradient(135deg, #f8cc65 0%, #d61b18 48%, #8e0807 100%);
    color: #fff4c7;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 0 rgba(78, 0, 0, 0.45);
    box-shadow: -3px 4px 8px rgba(104, 0, 0, 0.16), inset 0 1px 0 rgba(255, 242, 182, 0.42);
}

.page-shell--home .content-card__badge--public-corner::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 244, 199, 0.9);
    box-shadow: 0 0 6px rgba(255, 224, 122, 0.76);
}

.page-shell--home .content-card--home:has(.content-card__badge--public-corner) .content-card__price {
    top: 24px;
    font-size: 20px;
}

.page-shell--home .content-card__badge--sticky-corner {
    display: none;
}

.page-shell--home .content-card__result-badge {
    position: absolute;
    top: -4px;
    left: -7px;
    z-index: 4;
    width: 54px;
    height: 51px;
    border: 0;
    border-radius: 0;
    background: url("../img/redgold-hit-medal-sharp-tight-up1.png") center / contain no-repeat;
    color: transparent;
    box-shadow: none;
    font-size: 0;
}

.page-shell--home .content-card__result-badge::before {
    content: none;
}

.page-shell--home .content-card__result-badge::after {
    content: none;
}

.page-shell--home .empty-state {
    margin: 16px;
    border-color: rgba(255, 211, 112, 0.45);
    background: rgba(255, 246, 214, 0.9);
    color: #8a4a14;
}

.page-shell--home .nav-bar {
    position: fixed;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: initial;
    width: 100%;
    max-width: 430px;
    height: calc(53px + env(safe-area-inset-bottom));
    transform: none;
    margin: 0 auto;
    padding: 3px 8px calc(3px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 205, 90, 0.36);
    background:
        linear-gradient(180deg, rgba(255, 222, 124, 0.13) 0, rgba(255, 222, 124, 0) 9px),
        linear-gradient(180deg, #8c0000 0%, #b60005 100%);
    box-shadow: inset 0 1px 0 rgba(255, 210, 89, 0.45), 0 -8px 22px rgba(73, 0, 0, 0.34);
    box-sizing: border-box;
    z-index: 10020;
    pointer-events: auto;
}

.page-shell--home.page-shell--simulated-width .nav-bar {
    max-width: var(--rg-simulated-width);
}

.page-shell--home .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    height: 45px;
    min-width: 0;
    color: #d9ac68;
    text-decoration: none;
}

.page-shell--home .nav-item .nav-icon {
    height: 26px;
    margin: 0;
    color: #dca769;
    font-size: 0;
    line-height: 1;
    overflow: visible;
}

.page-shell--home .nav-item .nav-icon i {
    display: block;
    width: 24px;
    height: 24px;
    background: center / contain no-repeat;
    color: transparent;
    font-size: 0;
    line-height: 1;
    text-shadow: none;
}

.page-shell--home .nav-item .nav-icon i::before {
    content: none !important;
}

.page-shell--home .nav-item[data-page="homePage"] .nav-icon i {
    width: 25px;
    height: 25px;
    background-image: url("../img/redgold-icon-nav-home.png");
}

.page-shell--home .nav-item[data-page="memberPage"] .nav-icon i {
    width: 24px;
    height: 23px;
    background-image: url("../img/redgold-icon-nav-member.png");
}

.page-shell--home .nav-item[data-page="orderPage"] .nav-icon i {
    width: 21px;
    height: 23px;
    background-image: url("../img/redgold-icon-nav-order.png");
}

.page-shell--home .nav-item[data-page="minePage"] .nav-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    background: none;
    color: #ffeaa0;
    font-size: 21px;
    line-height: 1;
}

.page-shell--home .nav-item[data-page="minePage"] .nav-icon--mine {
    height: 28px;
    transform: translateY(1px);
    overflow: visible;
}

.page-shell--home .nav-item[data-page="minePage"] .nav-icon i::before {
    content: "\f007" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 400;
}

.page-shell--home .nav-item p {
    margin: -1px 0 0;
    color: inherit;
    font-size: 12.2px;
    font-weight: 480;
    line-height: 1;
}

.page-shell--home .nav-item[data-page="minePage"] p {
    margin-top: -2px;
}

.page-shell--home .nav-item.active,
.page-shell--home .nav-item.active .nav-icon,
.page-shell--home .nav-item.active p {
    color: #ffeaa0;
    text-shadow: 0 0 10px rgba(255, 196, 54, 0.58);
}

.page-shell--home .nav-item.active .nav-icon {
    transform: scale(1.03);
    transform-origin: center bottom;
    filter: drop-shadow(0 0 8px rgba(255, 190, 48, 0.74));
}

@media (max-width: 380px) {
    .redgold-hero {
        height: 176px;
        padding-top: 0;
    }

    .redgold-hero__switches {
        top: calc(28px + env(safe-area-inset-top));
        left: 10px;
        right: 10px;
    }

    .redgold-hero__title {
        width: 194px;
        height: 46px;
        top: calc(43px + env(safe-area-inset-top));
    }

    .redgold-hero__subtitle {
        font-size: 11px;
        top: calc(92px + env(safe-area-inset-top));
    }

    .redgold-hero-switch {
        min-width: 88px;
        height: 28px;
        padding-inline: 7px;
        font-size: 11.8px;
    }

    .redgold-hero-switch i {
        width: 16px;
        height: 16px;
    }

    .redgold-issue {
        min-width: 224px;
        height: 40px;
        top: calc(110px + env(safe-area-inset-top));
    }

    .redgold-issue strong {
        font-size: 28px;
    }

    .redgold-online-pill {
        top: calc(153px + env(safe-area-inset-top));
    }

    .redgold-service-dock {
        height: 45px;
        margin-top: 21px;
        margin-bottom: 10px;
        padding-inline: 10px;
    }

    .redgold-service-item {
        height: 45px;
        padding: 3px 2px;
    }

    .redgold-service-item i {
        width: 24px;
        height: 22px;
    }

    .redgold-service-item span {
        font-size: 12.2px;
    }

    .redgold-filter-row {
        gap: 6px;
        width: calc(100vw - 20px);
        max-width: none;
        margin-inline: auto;
        margin-bottom: 7px;
        padding-inline: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        transform: none;
    }

    .redgold-filter {
        height: 29px;
        font-size: 13.4px;
        padding-inline: 8px;
    }

    .redgold-search-panel {
        margin-top: 12px;
        padding-inline: 10px;
        padding-bottom: 10px;
    }

    .redgold-search-panel .search-input-wrapper {
        height: 36px;
    }

    .page-shell--home .content-area.home-feed-panel {
        padding-inline: 10px !important;
    }

    .page-shell--home .content-card--home {
        left: 0;
        width: 100%;
        max-width: none;
        padding-left: 54px;
        padding-top: 12px;
    }

    .page-shell--home .content-card__title {
        font-size: 15.2px;
    }

    .page-shell--home .content-card__price {
        font-size: 22px;
    }

    .page-shell--home .content-card__result-badge {
        top: -3px;
        left: -10px;
        width: 48px;
        height: 47px;
    }
}

/* Red-gold companion pages */
.page-shell--home .mine-page,
.page-shell--home .order-page,
.page-shell--home .member-page,
.page-shell--home .message-page,
.page-shell--home .sub-page,
.page-shell--home .unlock-page,
.page-shell--home .detail-page {
    min-height: 100vh;
    color: var(--rg-brown);
    background:
        repeating-radial-gradient(ellipse at 50% 132px, rgba(255, 210, 110, 0.13) 0 1px, transparent 1px 12px),
        radial-gradient(ellipse at 50% 0%, rgba(255, 192, 82, 0.24), transparent 48%),
        linear-gradient(180deg, #cf0008 0%, #a90003 52%, #850000 100%);
}

.page-shell--home .mine-page,
.page-shell--home .order-page,
.page-shell--home .member-page {
    padding: calc(16px + env(safe-area-inset-top)) 16px calc(92px + env(safe-area-inset-bottom));
}

.page-shell--home .mine-header,
.page-shell--home .profile-hero,
.page-shell--home .mine-header--compact {
    margin: 0 0 14px;
    padding: 18px 18px 20px !important;
    border: 1.5px solid rgba(255, 214, 103, 0.76);
    border-radius: 18px;
    background:
        radial-gradient(circle at 80% 12%, rgba(255, 222, 127, 0.28), transparent 34%),
        linear-gradient(180deg, rgba(148, 8, 2, 0.92), rgba(102, 0, 0, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 241, 189, 0.24), 0 10px 22px rgba(74, 0, 0, 0.28);
    color: #ffe8a8;
}

.page-shell--home .mine-title {
    color: #fff0bd;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 2px 0 rgba(106, 0, 0, 0.35);
}

.page-shell--home .mine-user-info {
    margin-top: 18px;
    padding: 0;
    color: #ffe8a8;
}

.page-shell--home .mine-avatar {
    border: 2px solid #f2c35b;
    background: linear-gradient(180deg, #fff8df, #ffd982);
    box-shadow: 0 6px 14px rgba(82, 0, 0, 0.22);
}

.page-shell--home .mine-user-name,
.page-shell--home .mine-user-tip,
.page-shell--home .mine-arrow {
    color: #ffe8a8;
}

.page-shell--home .mine-balance-card,
.page-shell--home .mine-menu-list,
.page-shell--home .member-status-card,
.page-shell--home .member-plan-card,
.page-shell--home .message-page__panel,
.page-shell--home .complain-form,
.page-shell--home .setting-menu-list,
.page-shell--home .merchant-apply-card,
.page-shell--home .merchant-apply-service,
.page-shell--home .unlock-tip-box,
.page-shell--home .unlock-content-box,
.page-shell--home .history-box,
.page-shell--home .detail-page,
.page-shell--home .pay-card,
.page-shell--home .recharge-card,
.page-shell--home .recharge-form,
.page-shell--home .subpage-card {
    border: 2px solid #efc35c;
    border-radius: 18px;
    background: linear-gradient(105deg, #fffef8 0%, #fff7e5 58%, #ffedc9 100%);
    box-shadow: 0 8px 0 rgba(100, 0, 0, 0.24), 0 13px 22px rgba(75, 0, 0, 0.22);
    color: var(--rg-brown);
}

.page-shell--home .mine-balance-card {
    margin: 0 0 14px;
    padding: 16px;
}

.page-shell--home .balance-icon,
.page-shell--home .menu-icon,
.page-shell--home .setting-icon,
.page-shell--home .pay-method-icon {
    background: linear-gradient(180deg, #d6a03c, #b56f18) !important;
    color: #fff8df !important;
    box-shadow: inset 0 1px 0 rgba(255, 245, 196, 0.34);
}

.page-shell--home .balance-text,
.page-shell--home .menu-text,
.page-shell--home .setting-menu-text {
    color: #5b321c;
    font-weight: 800;
}

.page-shell--home .mine-menu-list,
.page-shell--home .setting-menu-list {
    overflow: hidden;
}

.page-shell--home .mine-menu-item,
.page-shell--home .setting-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    border-bottom: 1px solid rgba(221, 185, 112, 0.58);
    background: transparent;
    text-decoration: none;
}

.page-shell--home .mine-menu-item:last-child,
.page-shell--home .setting-menu-item:last-child {
    border-bottom: 0;
}

.page-shell--home .mine-menu-item:active,
.page-shell--home .setting-menu-item:active,
.page-shell--home .member-plan-item:active,
.page-shell--home .pay-method-item:active {
    transform: translateY(1px);
}

.page-shell--home .order-segment {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 14px;
    padding: 6px;
    border: 1.5px solid rgba(255, 214, 103, 0.76);
    border-radius: 999px;
    background: rgba(114, 0, 0, 0.38);
}

.page-shell--home .order-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 8px;
    border-radius: 999px;
    color: #ffe1a0;
    font-size: 14px;
    font-weight: 800;
}

.page-shell--home .order-tab.active {
    color: #8a4a14;
    background: linear-gradient(180deg, #fff7cc 0%, #ffe5a9 100%);
    box-shadow: 0 5px 13px rgba(91, 0, 0, 0.18);
}

.page-shell--home #orderListWrap {
    margin: 0 !important;
    padding: 14px !important;
    min-height: 56vh !important;
    border: 2px solid #efc35c;
    border-radius: 18px;
    background: linear-gradient(105deg, #fffef8 0%, #fff7e5 58%, #ffedc9 100%) !important;
    box-shadow: 0 8px 0 rgba(100, 0, 0, 0.24), 0 13px 22px rgba(75, 0, 0, 0.22);
}

.page-shell--home .member-status-card,
.page-shell--home .member-plan-card {
    margin: 0 0 14px;
    padding: 16px;
}

.page-shell--home .member-status-title,
.page-shell--home .section-title,
.page-shell--home .member-plan-days {
    color: #33170b;
    font-weight: 900;
}

.page-shell--home .member-status-desc,
.page-shell--home .member-plan-tip,
.page-shell--home .member-plan-notice,
.page-shell--home .balance-info,
.page-shell--home .pay-agreement {
    color: #806247;
}

.page-shell--home .member-status-badge,
.page-shell--home .content-tag {
    border: 1px solid rgba(212, 139, 24, 0.48);
    background: linear-gradient(180deg, #fff3c7, #ffc75c);
    color: #b35b00;
    font-weight: 900;
}

.page-shell--home .member-plan-list {
    display: grid;
    gap: 12px;
}

.page-shell--home .member-plan-item,
.page-shell--home .pay-method-item,
.page-shell--home .coupon-section {
    border: 1px solid rgba(224, 190, 125, 0.76);
    border-radius: 14px;
    background: rgba(255, 248, 230, 0.76);
}

.page-shell--home .member-plan-price,
.page-shell--home .pay-amount,
.page-shell--home .payment-amount {
    color: #df1118;
    font-weight: 900;
}

.page-shell--home .member-buy-btn,
.page-shell--home .pay-submit-btn,
.page-shell--home .unlock-bottom-btn,
.page-shell--home .merchant-apply-submit,
.page-shell--home .submit-btn {
    border: 1.5px solid #ffd35d;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff3636 0%, #c70c12 100%);
    color: #ffefb2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 7px 14px rgba(79, 0, 0, 0.24);
    font-weight: 900;
}

.page-shell--home .message-page {
    padding: calc(12px + env(safe-area-inset-top)) 14px calc(92px + env(safe-area-inset-bottom));
}

.page-shell--home .message-page__header,
.page-shell--home .sub-header,
.page-shell--home .unlock-header,
.page-shell--home .merchant-apply-toolbar {
    min-height: 54px;
    margin: 0 0 14px;
    padding: 0 12px;
    border: 1.5px solid rgba(255, 214, 103, 0.76);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(148, 8, 2, 0.92), rgba(102, 0, 0, 0.9));
    color: #fff0bd;
    box-shadow: 0 8px 18px rgba(75, 0, 0, 0.24);
}

.page-shell--home .sub-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-shell--home .message-page__title,
.page-shell--home .merchant-apply-toolbar__title,
.page-shell--home .sub-header > div:last-child,
.page-shell--home .unlock-header > div:last-child {
    color: #fff0bd !important;
    font-weight: 900;
}

.page-shell--home .sub-header > div:last-child {
    width: 100%;
    max-width: calc(100% - 108px);
    margin: 0 auto;
    text-align: center;
}

.page-shell--home .message-page__back,
.page-shell--home .message-page__mark-read,
.page-shell--home .sub-back,
.page-shell--home .unlock-back,
.page-shell--home .merchant-apply-toolbar__back {
    color: #ffe8a8 !important;
}

.page-shell--home .sub-back {
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
}

.page-shell--home .message-page__body,
.page-shell--home .merchant-apply-shell {
    padding: 0;
}

.page-shell--home .message-page__panel {
    padding: 14px;
}

.page-shell--home .message-page__item {
    border-color: rgba(224, 190, 125, 0.72);
    border-radius: 14px;
    background: rgba(255, 248, 230, 0.72);
}

.page-shell--home .message-page__empty-title,
.page-shell--home .message-page__item-title {
    color: #33170b;
}

.page-shell--home .message-page__empty-desc,
.page-shell--home .message-page__item-desc,
.page-shell--home .message-page__item-time {
    color: #806247;
}

.page-shell--home .unlock-page,
.page-shell--home .detail-page,
.page-shell--home .sub-page {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    overflow-y: auto;
    padding: calc(12px + env(safe-area-inset-top)) 14px calc(90px + env(safe-area-inset-bottom));
    transform: none;
    box-sizing: border-box;
}

.page-shell--home .unlock-page.unlock-page--payable {
    padding-bottom: calc(180px + env(safe-area-inset-bottom));
}

.page-shell--home.page-shell--simulated-width .unlock-page,
.page-shell--home.page-shell--simulated-width .detail-page,
.page-shell--home.page-shell--simulated-width .sub-page {
    max-width: var(--rg-simulated-width);
}

.page-shell--home .unlock-page.active,
.page-shell--home .detail-page.active,
.page-shell--home .sub-page.active {
    display: block;
}

.page-shell--home .unlock-tip-box,
.page-shell--home .unlock-content-box,
.page-shell--home .history-box {
    margin: 0 0 14px;
    padding: 16px;
}

.page-shell--home .tip-title,
.page-shell--home .detail-title,
.page-shell--home .history-tag,
.page-shell--home .unlock-desc {
    color: #33170b;
    font-weight: 900;
}

.page-shell--home .tip-content,
.page-shell--home .unlocked-content,
.page-shell--home .detail-content,
.page-shell--home .publish-time,
.page-shell--home .history-list {
    color: #5b321c;
}

.page-shell--home .gift-icon {
    color: #d6a03c;
}

.page-shell--home .bottom-bar.unlock-action-bar {
    bottom: calc(53px + env(safe-area-inset-bottom));
    left: 50%;
    right: auto;
    width: min(100%, 430px);
    min-height: 64px;
    padding: 10px 14px;
    transform: translateX(-50%);
    border-top: 1px solid rgba(255, 205, 90, 0.36);
    background: linear-gradient(180deg, #a00000, #bd0007);
    box-shadow: 0 -10px 24px rgba(73, 0, 0, 0.32);
    z-index: 10030;
    box-sizing: border-box;
}

.page-shell--home .bottom-bar .pay-amount {
    color: #ffe8a8;
}

.page-shell--home .unlock-page.unlock-page--payable .float-back-btn {
    bottom: calc(136px + env(safe-area-inset-bottom));
    z-index: 10031;
}

.page-shell--home .float-back-btn,
.page-shell--home .detail-back {
    border: 1.5px solid rgba(255, 214, 103, 0.76);
    background: linear-gradient(180deg, rgba(148, 8, 2, 0.92), rgba(102, 0, 0, 0.9));
    color: #fff0bd;
    box-shadow: 0 8px 18px rgba(75, 0, 0, 0.24);
}

.page-shell--home .pay-modal {
    z-index: 10040;
    background: rgba(70, 0, 0, 0.72);
    backdrop-filter: blur(5px);
}

.page-shell--home .premium-notice-modal {
    background: rgba(70, 0, 0, 0.72);
    backdrop-filter: blur(5px);
}

.page-shell--home .premium-notice-card {
    width: min(calc(100vw - 34px), 382px);
    border: 2px solid #efc35c;
    border-radius: 18px;
    background: linear-gradient(105deg, #fffef8 0%, #fff7e5 58%, #ffedc9 100%);
    box-shadow: 0 8px 0 rgba(100, 0, 0, 0.24), 0 18px 32px rgba(75, 0, 0, 0.32);
    color: var(--rg-brown);
}

.page-shell--home .premium-notice-icon {
    background: linear-gradient(180deg, #fff3c7, #ffc75c);
    color: #d4121a;
}

.page-shell--home .premium-notice-title,
.page-shell--home .premium-notice-subtitle {
    color: #33170b;
    font-weight: 900;
}

.page-shell--home .premium-notice-desc,
.page-shell--home .premium-notice-tip,
.page-shell--home .premium-notice-check {
    color: #5b321c;
}

.page-shell--home .premium-notice-desc strong,
.page-shell--home .premium-notice-subtitle {
    color: #d4121a;
}

.page-shell--home .premium-notice-btn {
    border: 1.5px solid #ffd35d;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff3636 0%, #c70c12 100%);
    color: #ffefb2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 7px 14px rgba(79, 0, 0, 0.24);
    font-weight: 900;
}

.page-shell--home .pay-card {
    width: min(calc(100vw - 30px), 390px);
    padding: 18px;
}

.page-shell--home .pay-header {
    color: #33170b;
}

.page-shell--home .pay-card-title {
    color: #33170b;
    font-weight: 900;
}

.page-shell--home .close-btn {
    color: #a54818;
}

.page-shell--home .pay-method-item.active {
    border-color: #d8982f;
    background: linear-gradient(180deg, #fff7cc 0%, #ffe5a9 100%);
}

.page-shell--home .pay-radio.checked {
    border-color: #d4121a;
    background: #d4121a;
}

.page-shell--home .merchant-apply-card,
.page-shell--home .merchant-apply-service,
.page-shell--home .complain-form,
.page-shell--home .setting-menu-list,
.page-shell--home .recharge-card,
.page-shell--home .recharge-form,
.page-shell--home .subpage-card {
    margin: 0 0 14px;
    padding: 16px;
}

.page-shell--home .merchant-apply-shell {
    min-height: 0;
    padding: 0 0 10px;
    background: transparent;
    display: grid;
    gap: 14px;
}

.page-shell--home .merchant-apply-card,
.page-shell--home .merchant-apply-service,
.page-shell--home .merchant-apply-agreement,
.page-shell--home .pay-method-list,
.page-shell--home .recharge-note,
.page-shell--home .account-info-list {
    border: 2px solid #efc35c;
    border-radius: 18px;
    background: linear-gradient(105deg, #fffef8 0%, #fff7e5 58%, #ffedc9 100%);
    box-shadow: 0 8px 0 rgba(100, 0, 0, 0.24), 0 13px 22px rgba(75, 0, 0, 0.22);
    color: var(--rg-brown);
}

.page-shell--home .merchant-apply-card,
.page-shell--home .merchant-apply-service,
.page-shell--home .merchant-apply-agreement,
.page-shell--home .account-info-list,
.page-shell--home .pay-method-list,
.page-shell--home .recharge-note {
    margin: 0;
}

.page-shell--home .merchant-apply-row,
.page-shell--home .form-item,
.page-shell--home .subpage-field-group {
    border-bottom: 1px solid rgba(224, 190, 125, 0.62);
}

.page-shell--home .merchant-apply-label,
.page-shell--home .form-label,
.page-shell--home .subpage-field-label,
.page-shell--home .subpage-card-title,
.page-shell--home .section-caption {
    color: #5b321c;
    font-weight: 800;
}

.page-shell--home .merchant-apply-input,
.page-shell--home .form-input,
.page-shell--home .form-textarea,
.page-shell--home .subpage-field {
    border: 1px solid rgba(224, 190, 125, 0.8);
    border-radius: 12px;
    background: rgba(255, 253, 244, 0.88);
    color: #33170b;
}

.page-shell--home .merchant-apply-input:focus,
.page-shell--home .form-input:focus,
.page-shell--home .form-textarea:focus,
.page-shell--home .subpage-field:focus {
    border-color: #d8982f;
    box-shadow: 0 0 0 3px rgba(216, 152, 47, 0.16);
}

.page-shell--home .chip {
    border-color: rgba(224, 190, 125, 0.8);
    background: #fff3c7;
    color: #8a4a14;
}

.page-shell--home .chip.is-active {
    border-color: #ffd35d;
    background: linear-gradient(180deg, #ff3636 0%, #c70c12 100%);
    color: #ffefb2;
}

.page-shell--home .merchant-apply-agreement,
.page-shell--home .merchant-apply-service__copy,
.page-shell--home .coupon-content,
.page-shell--home .subpage-help-text,
.page-shell--home .copyright {
    color: #806247;
}

.page-shell--home .merchant-apply-agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    line-height: 1.65;
}

.page-shell--home .merchant-apply-agreement input {
    flex: 0 0 auto;
    margin-top: 2px;
}

.page-shell--home .merchant-apply-agreement a,
.page-shell--home .coupon-content a,
.page-shell--home .tip-content a,
.page-shell--home .subpage-link {
    color: #d4121a;
    font-weight: 800;
}

.page-shell--home .merchant-apply-submit,
.page-shell--home .page-primary-btn,
.page-shell--home .recharge-pay-btn,
.page-shell--home .logout-btn {
    width: 100%;
    min-height: 56px;
    margin: 0;
    border: 1.5px solid #ffd35d;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff3636 0%, #c70c12 100%);
    color: #ffefb2;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 7px 14px rgba(79, 0, 0, 0.24);
    font-weight: 900;
    letter-spacing: 0;
}

.page-shell--home .page-primary-btn,
.page-shell--home .recharge-pay-btn {
    font-size: 18px;
}

.page-shell--home .merchant-apply-submit.is-disabled,
.page-shell--home .page-primary-btn.is-disabled,
.page-shell--home .recharge-pay-btn.is-disabled,
.page-shell--home .page-primary-btn[disabled],
.page-shell--home .recharge-pay-btn[disabled] {
    border-color: rgba(255, 209, 100, 0.52);
    background: linear-gradient(180deg, #ff7f7f 0%, #f35458 100%);
    color: rgba(255, 244, 191, 0.92);
    box-shadow: none;
}

.page-shell--home .logout-btn {
    width: calc(100% - 32px);
    max-width: 360px;
    margin: 30px auto 18px;
}

.page-shell--home .copyright {
    color: rgba(255, 232, 168, 0.86);
}

.page-shell--home .recharge-wallet-icon,
.page-shell--home .withdraw-btn-card {
    background: linear-gradient(180deg, #d6a03c, #b56f18) !important;
    color: #fff8df !important;
}

.page-shell--home .withdraw-btn-card,
.page-shell--home .subpage-toolbar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 226, 160, 0.28);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(214, 160, 60, 0.98), rgba(181, 111, 24, 0.96));
    color: #fff6d4;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    font-weight: 800;
}

.page-shell--home .sub-header .subpage-toolbar-link {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    max-width: 88px;
    min-height: 32px;
    padding: 0 10px;
    font-size: 13px;
}

.page-shell--home .recharge-amount,
.page-shell--home .subpage-card-value {
    color: #df1118;
    font-weight: 900;
}

.page-shell--home .section-caption {
    margin: 4px 2px 10px;
    color: #ffe7a2;
    font-size: 14px;
    font-weight: 800;
}

.page-shell--home .recharge-quick-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 10px;
}

.page-shell--home #rechargePage .form-item {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: center;
    gap: 10px 12px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.page-shell--home #rechargePage .form-label {
    width: auto;
}

.page-shell--home #rechargePage .recharge-quick-list,
.page-shell--home #rechargePage .form-input {
    grid-column: 2;
}

.page-shell--home .recharge-quick-list .chip {
    min-height: 40px;
    justify-content: center;
    font-weight: 800;
}

.page-shell--home .pay-method-list {
    margin: 0 0 14px;
    overflow: hidden;
}

.page-shell--home .pay-method-item {
    min-height: 62px;
    border-bottom: 1px solid rgba(224, 190, 125, 0.62);
    background: transparent;
}

.page-shell--home .pay-method-item:last-child,
.page-shell--home .account-info-item:last-child {
    border-bottom: 0;
}

.page-shell--home .pay-method-name,
.page-shell--home .account-info-item .form-label {
    color: #5b321c;
    font-weight: 800;
}

.page-shell--home .payment-method-empty {
    padding: 18px 16px;
    color: #806247;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
}

.page-shell--home .recharge-note {
    margin: 0 0 14px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.75;
}

.page-shell--home .account-info-list {
    overflow: hidden;
}

.page-shell--home .account-info-item {
    min-height: 66px;
    padding: 18px 16px;
    border-bottom: 1px solid rgba(224, 190, 125, 0.62);
    background: transparent;
}

.page-shell--home .account-avatar-img {
    width: 52px;
    height: 52px;
    border: 2px solid rgba(236, 193, 93, 0.56);
    background: rgba(255, 248, 230, 0.72);
}

.page-shell--home .account-info-meta {
    color: #806247;
    font-size: 15px;
    font-weight: 600;
}

.page-shell--home .merchant-apply-service {
    align-items: flex-start;
    gap: 14px;
}

.page-shell--home .merchant-apply-service__qr {
    background: rgba(255, 253, 244, 0.92);
    border-color: rgba(224, 190, 125, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.page-shell--home .merchant-apply-service__fallback {
    color: #ad7c47;
}

.page-shell--home .recharge-quick-item,
.page-shell--home .quick-amount,
.page-shell--home .pay-radio {
    border-color: rgba(224, 190, 125, 0.8);
    background: #fff3c7;
    color: #8a4a14;
}

.page-shell--home .recharge-quick-item.active,
.page-shell--home .quick-amount.active {
    border-color: #ffd35d;
    background: linear-gradient(180deg, #ff3636 0%, #c70c12 100%);
    color: #ffefb2;
}

@media (max-width: 380px) {
    .page-shell--home .mine-page,
    .page-shell--home .order-page,
    .page-shell--home .member-page,
    .page-shell--home .message-page,
    .page-shell--home .unlock-page,
    .page-shell--home .detail-page,
    .page-shell--home .sub-page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .page-shell--home .order-tab {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .page-shell--home .sub-header > div:last-child {
        max-width: calc(100% - 96px);
        font-size: 16px;
    }

    .page-shell--home .sub-header .subpage-toolbar-link {
        right: 8px;
        max-width: 72px;
        padding: 0 8px;
        font-size: 12px;
    }

    .page-shell--home .withdraw-btn-card {
        right: 14px !important;
        min-height: 32px;
        padding: 0 10px !important;
        font-size: 13px !important;
    }

    .page-shell--home .member-plan-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-shell--home .recharge-quick-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-shell--home #rechargePage .form-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .page-shell--home #rechargePage .form-label,
    .page-shell--home #rechargePage .recharge-quick-list,
    .page-shell--home #rechargePage .form-input {
        grid-column: auto;
    }

    .page-shell--home .merchant-apply-service {
        display: grid;
        grid-template-columns: 1fr;
    }

    .page-shell--home .merchant-apply-service__qr {
        width: 96px;
        height: 96px;
    }

    .page-shell--home .merchant-apply-service__copy,
    .page-shell--home .merchant-apply-service__copy strong {
        word-break: break-word;
    }

    .page-shell--home .subpage-inline-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .page-shell--home .subpage-link {
        align-self: flex-end;
    }
}

.page-shell--home.page-shell--narrow-window .sub-header > div:last-child {
    max-width: calc(100% - 96px);
    font-size: 16px;
}

.page-shell--home.page-shell--narrow-window .sub-header .subpage-toolbar-link {
    right: 8px;
    max-width: 72px;
    padding: 0 8px;
    font-size: 12px;
}

.page-shell--home.page-shell--narrow-window .withdraw-btn-card {
    right: 14px !important;
    min-height: 32px;
    padding: 0 10px !important;
    font-size: 13px !important;
}

.page-shell--home.page-shell--narrow-window .member-plan-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-shell--home.page-shell--narrow-window .recharge-quick-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-shell--home.page-shell--narrow-window #rechargePage .form-item {
    grid-template-columns: 1fr;
    gap: 10px;
}

.page-shell--home.page-shell--narrow-window #rechargePage .form-label,
.page-shell--home.page-shell--narrow-window #rechargePage .recharge-quick-list,
.page-shell--home.page-shell--narrow-window #rechargePage .form-input {
    grid-column: auto;
}

.page-shell--home.page-shell--narrow-window .merchant-apply-service {
    display: grid;
    grid-template-columns: 1fr;
}

.page-shell--home.page-shell--narrow-window .merchant-apply-service__qr {
    width: 96px;
    height: 96px;
}

.page-shell--home.page-shell--narrow-window .merchant-apply-service__copy,
.page-shell--home.page-shell--narrow-window .merchant-apply-service__copy strong {
    word-break: break-word;
}

.page-shell--home.page-shell--narrow-window .subpage-inline-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.page-shell--home.page-shell--narrow-window .subpage-link {
    align-self: flex-end;
}
