:root {
    color-scheme: light;
    --app-max: 600px;
    --outer-bg: #050507;
    --page-bg: #f2f2f5;
    --card: #ffffff;
    --card-soft: #fffaf0;
    --text: #222226;
    --muted: #808086;
    --line: #ececf0;
    --purple: #8774d3;
    --purple-soft: #f0ecff;
    --orange: #f3ad44;
    --orange-2: #e99d2a;
    --danger: #f05d5d;
    --success: #38b36a;
    --shadow: 0 1.5px 1px rgba(158, 158, 166, .25);
}

* {
    letter-spacing: 0;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background: var(--outer-bg);
    color: var(--text);
    font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
}

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

img,
svg {
    max-width: 100%;
}

.mobile-shell {
    width: min(100%, var(--app-max));
    min-height: 100vh;
    margin: 0 auto;
    background: var(--page-bg);
    position: relative;
    overflow-x: hidden;
    box-shadow: 0 0 2px rgba(125, 125, 125, .3);
}

.app-content {
    padding: 10px 10px 76px;
}

.page-auth .app-content {
    min-height: 100vh;
    padding: 0;
}

.app-footer {
    display: none;
    padding: 16px 24px 78px;
    background: var(--page-bg);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.footer-brand {
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 2px;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    height: 50px;
    background: linear-gradient(270deg, #000000, var(--orange));
    border-bottom: 0;
}

.page-auth .app-header,
.profile-home .app-header {
    background: transparent;
    border-bottom: 0;
    margin-bottom: -50px;
}

.page-auth .header-title,
.profile-home .header-title {
    color: #ffffff;
}

.page-auth .icon-btn,
.profile-home .icon-btn {
    background: rgba(255, 255, 255, .18);
    color: #ffffff;
}

.header-row {
    height: 50px;
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
}

.header-title {
    color: #ffffff;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auth-mark,
.rate-icon,
.history-icon,
.profile-avatar,
.state-icon,
.notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:active,
.btn:active,
.bottom-nav-item:active,
.profile-action:active,
.featured-vote-item:active {
    transform: scale(.985);
}

.profile-action,
.featured-vote-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 15px;
    background: var(--card);
    color: var(--text);
    padding: 13px 15px;
    box-shadow: var(--shadow);
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    width: min(100%, var(--app-max));
    height: calc(55px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 1040;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    padding: 0 0 env(safe-area-inset-bottom);
    background: #ffffff;
    border-top: 1px solid var(--line);
}

.bottom-nav-item {
    height: 55px;
    color: rgb(151, 151, 153);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 12px;
    line-height: 1;
}

.bottom-nav-item__icon,
.van-tabbar-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-nav-item img,
.van-tabbar-item__icon img {
    width: auto;
    height: 33px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .68;
}

.bottom-nav-item.center-nav img,
.bottom-nav-item.center-nav .tui {
    width: 70px;
    height: 70px !important;
    margin-top: -20px;
    border: 5px solid #ffffff;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(135, 116, 211, .22);
    filter: none;
    opacity: 1;
}

.bottom-nav-item.center-nav span {
    margin-top: -2px;
}

.bottom-nav-item.active,
.van-tabbar-item--active {
    color: rgb(135, 116, 211);
}

.bottom-nav-item.active img,
.van-tabbar-item--active img {
    filter: none;
    opacity: 1;
}

.bottom-nav-item.center-nav {
    justify-content: flex-start;
}

.bottom-nav-item.center-nav.active img {
    box-shadow: 0 6px 18px rgba(243, 173, 68, .34);
}

.btn-gold,
.btn-watch,
.btn-vote {
    border: 0;
    border-radius: 20px;
    color: #ffffff;
    font-weight: 700;
    background: var(--orange-2);
    box-shadow: none;
}

.btn-gold:hover,
.btn-watch:hover,
.btn-vote:hover {
    color: #ffffff;
    background: #dc8e19;
}

.btn-watch {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 13px;
}

.btn-vote {
    min-width: 58px;
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
}

.center-reference-page .app-content {
    padding: 0 0 76px;
}

.center-reference {
    min-height: calc(100vh - 55px);
    display: flex;
    flex-direction: column;
    background: #f2f2f5;
}

.center-reference .nav-bar {
    height: 50px;
    background: linear-gradient(270deg, #000000, #f3ad44);
}

.center-reference .van-nav-bar {
    line-height: 50px;
}

.center-reference .van-nav-bar__content {
    height: 50px;
}

.center-reference .van-nav-bar__title {
    max-width: 80%;
    margin: 0 auto;
    color: #ffffff;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}

.center-reference .van-ellipsis,
.center-reference .van-tab__text--ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.center-reference .convention-item {
    flex: 1;
    background: #f2f2f5;
    padding-bottom: 100px;
}

.center-reference .van-tabs {
    background: #f2f2f5;
}

.center-reference .van-tabs__wrap {
    height: 40px;
    overflow: hidden;
    background: #ffffff;
}

.center-reference .van-tabs__nav {
    position: relative;
    display: flex;
    height: 40px;
    background: #ffffff;
}

.center-reference .van-tab {
    flex: 1;
    min-width: 0;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #646566;
    font-size: 16px;
    line-height: 40px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

.center-reference .van-tab--active {
    color: #323233;
}

.center-reference .van-tabs__line {
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 100px;
    height: 3px;
    border-radius: 3px;
    background-color: #f3ad44;
    transform: translateX(-50%);
    transition: left .25s ease;
}

.center-reference .van-tabs[data-active-tab="1"] .van-tabs__line {
    left: 75%;
}

.center-reference .van-tabs__content,
.center-reference .van-tabs__track,
.center-reference .van-tab__pane-wrapper,
.center-reference .van-tab__pane {
    width: 100%;
}

.center-reference .van-tab__pane-wrapper--inactive {
    display: none;
}

.center-reference .card {
    width: 95%;
    margin: 20px auto 10px;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    background-color: #8a637d;
    font-size: 15px;
    line-height: 1.3;
    box-shadow: none;
}

.center-reference .address {
    width: 90%;
    margin: 0 auto;
}

.center-reference .van-row--flex {
    display: flex;
    flex-flow: row wrap;
    line-height: 40px;
}

.center-reference .van-col {
    width: 25%;
    padding: 0;
    color: #323233;
    text-align: center;
    font-size: 14px;
    line-height: 40px;
    word-break: keep-all;
}

.center-reference .rig-box {
    width: 95%;
    margin: .625rem auto;
}

.center-reference .rig-title {
    margin: 25px 0 5px;
    color: #d161ac;
    font-size: 18px;
    line-height: 1.35;
}

.center-reference .rig-content {
    margin: 0 0 10px;
    color: #323233;
    font-size: 17px;
    line-height: 1.45;
}

.btn-outline-light {
    border-color: var(--line);
    color: var(--muted);
    background: #ffffff;
}

.page-home .app-content {
    padding-top: 0;
}

.hero-section {
    margin: 0 -10px 0;
    background: var(--page-bg);
}

.home-banner-slider {
    min-height: 240px;
    height: clamp(230px, 56vw, 280px);
    position: relative;
    overflow: hidden;
    background: var(--page-bg);
}

.home-banner-track {
    height: 100%;
    min-height: 300px;
    position: relative;
}

.home-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(18px);
    transform-origin: center center;
    transition:
        transform .56s cubic-bezier(.2, .72, .2, 1),
        opacity .56s ease;
    will-change: transform, opacity;
}

.home-banner-slide.active {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.home-banner-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translateX(-50%);
}

.home-banner-dot {
    width: 16px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .5);
    transition: width .24s ease, background-color .24s ease;
}

.home-banner-dot.active {
    width: 28px;
    background: #ffffff;
}

.hero-slide,
.page-hero {
    min-height: 176px;
    border-radius: 0;
    padding: 22px 20px 18px;
    border: 0;
    overflow: hidden;
    position: relative;
}

.hero-slide {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-slide::after,
.page-hero::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 110px;
    height: 110px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .24);
    transform: rotate(8deg);
}

.hero-slide h1,
.hero-slide h2,
.page-hero h1 {
    max-width: 260px;
    margin: 5px 0 7px;
    font-size: 23px;
    line-height: 1.1;
    font-weight: 800;
}

.hero-slide p,
.page-hero p {
    max-width: 300px;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    margin: 0 0 12px;
}

.hero-kicker,
.section-kicker {
    color: inherit;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-slide-1,
.hero-slide-2,
.hero-slide-3,
.vote-hero,
.wallet-hero,
.compact-hero,
.vote-detail-hero {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(135, 116, 211, .88), rgba(243, 173, 68, .86)),
        #9a78cc;
}

.banner-db-slide {
    padding: 0;
    background: #111111;
}

.banner-db-slide::after {
    display: none;
}

.home-banner-slide-link {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    color: #ffffff;
    text-decoration: none;
}

.home-banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-banner-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .12) 62%, rgba(0, 0, 0, .05));
}

.home-banner-content {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1;
    display: grid;
    gap: 6px;
    max-width: 330px;
}

.home-banner-content strong {
    font-size: 22px;
    line-height: 1.12;
    font-weight: 800;
}

.home-banner-content small {
    max-width: 300px;
    color: rgba(255, 255, 255, .88);
    font-size: 13px;
    line-height: 1.35;
}

.compact-hero,
.vote-detail-hero,
.wallet-hero {
    min-height: 130px;
    margin: -10px -10px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0;
}

.compact-hero > i,
.vote-detail-hero > i,
.wallet-hero > i {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, .74);
    font-size: 48px;
}

.carousel-indicators {
    margin-bottom: 8px;
}

.carousel-indicators [data-bs-target] {
    width: 18px;
    height: 4px;
    border-radius: 999px;
    border: 0;
}

.content-section {
    margin-top: 15px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.section-head > div {
    position: relative;
    padding-left: 10px;
}

.section-head > div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: 22px;
    border-radius: 3px;
    background: var(--orange);
}

.section-head h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.1;
    font-weight: 800;
}

.section-kicker {
    display: none;
}

.section-head a,
.section-note {
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
}

.section-head a::after {
    content: ">";
    margin-left: 3px;
    color: #a6a6ac;
}

.notice {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 16px;
    border-radius: 0;
    border: 0;
    background: #fff9df;
    margin: 0 -10px 10px;
}

.notice-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 50%;
    background: transparent;
    color: var(--orange-2);
    font-size: 17px;
}

.notice-title {
    display: none;
}

.notice-body {
    color: #e63b35;
    font-size: 14px;
    line-height: 1.35;
}

.notice-success .notice-body {
    color: var(--success);
}

.notice-error .notice-body {
    color: var(--danger);
}

.balance-card,
.vote-period-card,
.rate-card,
.guide-box,
.auth-panel,
.profile-card,
.movie-card,
.vote-group,
.ranking-item,
.history-item,
.state-block {
    border: 0;
    border-radius: 15px;
    background: var(--card);
    box-shadow: var(--shadow);
}

.balance-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
}

.label,
.movie-meta,
.detail-meta,
.vote-subtitle,
.vote-count,
.profile-rank {
    color: var(--muted);
    font-size: 12px;
}

.balance-value {
    color: var(--orange);
    font-size: 24px;
    font-weight: 800;
}

.vote-period-card,
.rate-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
}

.vote-period-card h3,
.rate-card strong {
    display: block;
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
}

.vote-period-card p,
.rate-card span {
    color: var(--muted);
    font-size: 12px;
    margin: 0;
}

.countdown-pill,
.hero-countdown {
    min-width: 74px;
    border-radius: 10px;
    padding: 7px 9px;
    text-align: center;
    background: #fff4d7;
    color: var(--orange-2);
    font-weight: 800;
}

.hero-countdown {
    position: absolute;
    right: 16px;
    bottom: 16px;
    color: #ffffff;
    background: rgba(0, 0, 0, .2);
}

.hero-countdown small {
    display: block;
    color: rgba(255, 255, 255, .82);
    font-size: 10px;
    font-weight: 700;
}

.featured-vote-list {
    display: grid;
    gap: 8px;
}

.home-vote-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-vote-item {
    min-height: 54px;
}

.home-vote-item {
    min-height: 102px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 10px 6px;
    text-align: center;
}

.featured-vote-item span:first-child {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--orange);
    font-weight: 800;
}

.home-vote-item .vote-suggestion-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    background: #f7f1ec;
    font-size: 15px;
}

.home-vote-item .vote-suggestion-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.featured-vote-item .rank-asset {
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: transparent;
}

.featured-vote-item .rank-asset img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.featured-vote-item div {
    min-width: 0;
    flex: 1;
}

.home-vote-item div {
    flex: 0 1 auto;
    width: 100%;
}

.featured-vote-item strong,
.featured-vote-item small {
    display: block;
}

.featured-vote-item strong {
    font-size: 14px;
}

.home-vote-item strong {
    min-height: 31px;
    font-size: 12px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-vote-item small {
    color: var(--muted);
    font-size: 12px;
}

.home-vote-item small {
    font-size: 11px;
}

.category-strip,
.horizontal-scroll,
.status-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.category-strip::-webkit-scrollbar,
.horizontal-scroll::-webkit-scrollbar,
.status-strip::-webkit-scrollbar {
    display: none;
}

.category-strip a,
.status-chip {
    white-space: nowrap;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    color: var(--muted);
    padding: 9px 12px;
    font-size: 13px;
    box-shadow: var(--shadow);
}

.category-strip i {
    color: var(--orange);
    margin-right: 5px;
}

.movie-card {
    height: 100%;
    overflow: hidden;
}

.movie-poster,
.detail-poster {
    aspect-ratio: 2 / 3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #efeff4;
    background-position: center;
    background-size: cover;
}

.poster-glow {
    position: absolute;
    inset: 18% 14%;
    border-radius: 22px;
    background: rgba(255, 255, 255, .34);
    filter: blur(12px);
}

.poster-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #674200;
    background: #ffe3a7;
    position: relative;
    z-index: 1;
}

.poster-category {
    position: absolute;
    left: 8px;
    bottom: 44px;
    right: 8px;
    border-radius: 7px;
    background: rgba(0, 0, 0, .42);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 8px;
    text-align: center;
}

.poster-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 8px;
    border-radius: 0 0 10px 10px;
    color: #ffffff;
    background: rgba(0, 0, 0, .4);
    font-size: 14px;
}

.poster-bottom span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.poster-bottom span:first-child {
    width: 60%;
}

.poster-hot {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px 0 10px 0;
    padding: 4px 7px;
    color: #ffffff;
    background: #ff253f;
    font-size: 12px;
    font-weight: 800;
}

.poster-rank {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 45px;
    height: 45px;
    display: block;
}

.poster-rank img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-popular-slider {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.home-popular-slider::-webkit-scrollbar {
    display: none;
}

.home-popular-card {
    flex: 0 0 155px;
    width: 155px;
    scroll-snap-align: start;
}

.home-recommended-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.home-recommended-card {
    min-width: 0;
}

.poster-art-1 { background: linear-gradient(145deg, #f8d9d5, #efeff4 58%, #e1b75f); }
.poster-art-2 { background: linear-gradient(145deg, #d5eef0, #efeff4 58%, #76a5e7); }
.poster-art-3 { background: linear-gradient(145deg, #f1d4e0, #efeff4 58%, #f0bc61); }
.poster-art-4 { background: linear-gradient(145deg, #d8eed8, #efeff4 58%, #8cd994); }
.poster-art-5 { background: linear-gradient(145deg, #ead7c5, #efeff4 58%, #df8565); }
.poster-art-6 { background: linear-gradient(145deg, #d5e1fa, #efeff4 58%, #80cbef); }
.poster-art-7 { background: linear-gradient(145deg, #f4dec9, #efeff4 58%, #f0cc7b); }
.poster-art-8 { background: linear-gradient(145deg, #e2d8f4, #efeff4 58%, #e26a87); }

.movie-body {
    padding: 9px 9px 10px;
}

.movie-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 20px;
}

.movie-badge {
    border-radius: 10px;
    padding: 3px 7px;
    font-size: 11px;
    font-weight: 700;
}

.badge-hot {
    background: #ffe7e7;
    color: var(--danger);
}

.badge-suggested {
    background: #e8fbf1;
    color: var(--success);
}

.badge-muted {
    background: #f3f3f6;
    color: var(--muted);
}

.movie-title {
    min-height: 35px;
    margin: 5px 0 4px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scroll-card {
    flex: 0 0 150px;
    width: 150px;
}

.category-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding: 0 10px;
    margin: -10px -10px 10px;
    min-height: 40px;
    background: linear-gradient(270deg, #000000, var(--orange));
}

.category-tabs .nav-link {
    white-space: nowrap;
    position: relative;
    border-radius: 0;
    color: rgba(255, 255, 255, .84);
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 16px;
    font-weight: 700;
    padding: 8px 12px 11px;
}

.category-tabs .nav-link.active {
    color: #ffffff;
    background: transparent;
}

.category-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 55px;
    max-width: 70%;
    height: 4px;
    border-radius: 0;
    background: #ffffff;
    transform: translateX(-50%);
}

.cinema-tab-content {
    margin-top: 4px;
}

.page-cinema .movie-card {
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-cinema .movie-poster {
    aspect-ratio: 1.24 / 1;
    border-radius: 0 0 10px 10px;
}

.page-cinema .poster-glow,
.page-cinema .poster-icon,
.page-cinema .poster-hot,
.page-cinema .poster-category,
.page-cinema .movie-body {
    display: none;
}

.page-cinema .poster-bottom {
    height: 35px;
    border-radius: 0 0 10px 10px;
    font-size: 14px;
}

.movie-detail-hero {
    display: grid;
    grid-template-columns: 126px 1fr;
    gap: 12px;
    align-items: stretch;
}

.detail-poster {
    border-radius: 15px;
    box-shadow: var(--shadow);
}

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

.detail-info h1 {
    margin: 2px 0 6px;
    color: var(--text);
    font-size: 22px;
    line-height: 1.12;
    font-weight: 800;
}

.detail-info p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.movie-detail-simple {
    padding: 12px 2px 4px;
}

.movie-detail-title {
    margin: 0 0 7px;
    color: var(--text);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.movie-detail-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
}

.movie-detail-views i {
    color: var(--orange);
}

.movie-detail-player {
    margin-top: 10px;
}

.movie-player-wrap {
    display: grid;
    gap: 8px;
}

.movie-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: 0;
    border-radius: 15px;
    background: #000000;
    box-shadow: var(--shadow);
}

.video-error {
    border-radius: 12px;
    padding: 10px 12px;
    color: #8a2d14;
    background: #fff1e8;
    font-size: 13px;
    line-height: 1.35;
}

.video-debug {
    max-height: 180px;
    overflow: auto;
    border-radius: 12px;
    padding: 10px;
    color: #243047;
    background: #f2f4fa;
    font-size: 11px;
    line-height: 1.45;
    white-space: pre-wrap;
}

.player-frame {
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    overflow: hidden;
    border: 0;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.player-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--muted);
    text-align: center;
}

.player-inner i {
    color: var(--orange);
    font-size: 38px;
}

.player-inner strong {
    color: var(--text);
}

.movie-recommend-list {
    display: grid;
    gap: 8px;
}

.movie-recommend-item {
    min-height: 70px;
    display: grid;
    grid-template-columns: 76px 1fr 18px;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 10px;
    color: var(--text);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.movie-recommend-thumb {
    height: 54px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .9);
    background-position: center;
    background-size: cover;
}

.movie-recommend-thumb i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #674200;
    background: #ffe3a7;
    font-size: 12px;
}

.movie-recommend-info {
    min-width: 0;
}

.movie-recommend-info strong,
.movie-recommend-info small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.movie-recommend-info strong {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 800;
}

.movie-recommend-info small {
    color: var(--muted);
    font-size: 12px;
}

.movie-recommend-item > i {
    color: #b5b5bb;
    font-size: 12px;
}

.vote-list {
    display: grid;
    gap: 10px;
}

.vote-group {
    padding: 12px;
}

.vote-group-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.vote-group-head h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 800;
}

.vote-group-head p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.vote-group-head > span {
    color: var(--purple);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.vote-options {
    display: grid;
    gap: 8px;
}

.vote-option {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 9px;
    align-items: center;
    padding: 8px 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
}

.vote-option:last-child {
    border-bottom: 0;
}

.vote-thumb {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .95);
}

.vote-art-1 { background: linear-gradient(135deg, #d76b6b, #f3ad44); }
.vote-art-2 { background: linear-gradient(135deg, #56acae, #62d3bf); }
.vote-art-3 { background: linear-gradient(135deg, #758ad6, #78b5f5); }
.vote-art-4 { background: linear-gradient(135deg, #ba76a0, #ff9dc3); }
.vote-art-5 { background: linear-gradient(135deg, #c98431, #ffb26c); }
.vote-art-6 { background: linear-gradient(135deg, #4fac72, #82da85); }
.vote-art-7 { background: linear-gradient(135deg, #8165c5, #b39aff); }
.vote-art-8 { background: linear-gradient(135deg, #cc5a67, #f17373); }
.vote-art-9 { background: linear-gradient(135deg, #5b9abc, #7cdcff); }
.vote-art-10 { background: linear-gradient(135deg, #b7a04b, #ffdf82); }
.vote-art-11 { background: linear-gradient(135deg, #95679a, #d98df4); }
.vote-art-12 { background: linear-gradient(135deg, #579d8c, #68dcc1); }

.vote-info {
    min-width: 0;
}

.vote-name {
    font-size: 14px;
    font-weight: 800;
}

.vote-progress {
    height: 16px;
    margin-top: 6px;
    background: #f1f1f4;
}

.vote-progress .progress-bar {
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    background: var(--purple);
}

.vote-summary-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 58px;
    margin: -10px -10px 0;
    padding: 8px 12px;
    color: #ffffff;
    background: linear-gradient(270deg, #000000, var(--orange));
}

.vote-summary-bar span {
    display: block;
    font-size: 12px;
    opacity: .86;
}

.vote-summary-bar strong {
    display: block;
    font-size: 15px;
    line-height: 1.25;
}

.summary-countdown {
    min-width: 70px;
    border-radius: 9px;
    padding: 6px 8px;
    text-align: center;
    background: rgba(255, 255, 255, .14);
}

.summary-countdown span {
    opacity: 1;
    font-weight: 800;
    font-size: 15px;
}

.summary-countdown small {
    display: block;
    font-size: 10px;
    opacity: .82;
}

.vote-lobby {
    display: grid;
    grid-template-columns: 27% 1fr;
    min-height: calc(100vh - 108px);
    margin: 0 -10px;
    background: var(--page-bg);
}

.vote-sidebar {
    background: #ffffff;
    overflow-y: auto;
}

.vote-sidebar a,
.vote-sidebar button {
    position: relative;
    display: block;
    width: 100%;
    border: 0;
    padding: 20px 8px;
    color: var(--text);
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    background: transparent;
}

.vote-sidebar a.active,
.vote-sidebar button.active {
    color: var(--orange);
    background: var(--page-bg);
}

.vote-sidebar a.active::before,
.vote-sidebar button.active::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 50%;
    width: 4px;
    height: 55%;
    border-radius: 5px;
    background: var(--orange);
    transform: translateY(-50%);
}

.vote-lobby-content {
    min-width: 0;
    padding: 5px;
    overflow-y: auto;
}

.vote-lobby-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.vote-lobby-card {
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.vote-lobby-head {
    display: block;
    padding: 10px 8px 8px;
    text-align: center;
}

.vote-lobby-thumb {
    width: 72px;
    height: 72px;
    margin: 0 auto 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    overflow: hidden;
}

.vote-lobby-thumb-img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
    object-fit: cover;
}

.vote-lobby-empty {
    grid-column: 1 / -1;
}

.vote-lobby-card h2 {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
}

.vote-lobby-card p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.status-strip {
    margin: 10px 0 4px;
}

.status-chip.active {
    color: #ffffff;
    background: var(--purple);
}

.status-dang_dien_ra:not(.active) {
    color: var(--success);
}

.status-sap_ket_thuc:not(.active) {
    color: var(--orange-2);
}

.status-da_ket_thuc:not(.active) {
    color: var(--muted);
}

.ranking-list,
.history-list,
.profile-actions {
    display: grid;
    gap: 10px;
}

.ranking-item,
.history-item {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
}

.rank-number {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--orange);
    font-weight: 800;
}

.ranking-item small,
.history-info span,
.history-info small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.auth-panel {
    min-height: 100vh;
    margin: 0;
    padding: 58px 30px 30px;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    position: relative;
    background:
        linear-gradient(180deg, rgba(135, 116, 211, .82) 0%, rgba(243, 173, 68, .56) 42%, rgba(242, 242, 245, .95) 78%),
        var(--page-bg);
    background-position: center;
    background-size: cover;
}

.auth-login .auth-panel {
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, .37), rgba(148, 140, 183, .96)),
        url("/assets/reference/login/login2.gif");
}

.auth-register .auth-panel {
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(148, 140, 183, .96)),
        url("/assets/reference/login/login-bg.png");
}

.auth-back {
    position: absolute;
    top: 14px;
    left: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 2;
}

.auth-mark {
    width: 88px;
    height: 88px;
    border-radius: 28px;
    margin: 0 auto 16px;
    color: #ffffff;
    background: rgba(255, 255, 255, .2);
    font-size: 34px;
}

.auth-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.auth-panel h1 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 25px;
    font-weight: 800;
}

.auth-panel p {
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    margin-bottom: 18px;
}

.auth-alert {
    margin: 0 0 12px;
    border-radius: 14px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .92);
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
}

.auth-alert.success {
    color: var(--success);
}

.auth-alert.error {
    color: var(--danger);
}

.auth-form,
.topup-form {
    text-align: left;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.topup-form {
    background: #ffffff;
}

.form-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.form-control,
.form-select {
    min-height: 46px;
    border: 0;
    border-radius: 20px;
    background-color: #ffffff;
    color: var(--text);
    box-shadow: inset 0 0 0 1px #eeeeef;
}

.auth-form .form-label {
    display: none;
}

.auth-form .input-icon {
    margin-top: 20px;
}

.auth-form .form-control {
    min-height: 50px;
    text-align: center;
    font-size: 16px;
}

.form-control:focus,
.form-select:focus {
    border-color: transparent;
    box-shadow: inset 0 0 0 1px var(--purple), 0 0 0 .18rem rgba(135, 116, 211, .12);
    background-color: #ffffff;
    color: var(--text);
}

.form-control::placeholder {
    color: #a3a3aa;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.input-icon .form-control {
    padding-left: 40px;
}

.auth-switch {
    margin-top: 14px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
}

.auth-switch a {
    color: #ffffff;
    font-weight: 700;
}

.auth-agreement {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 14px;
    color: #ffffff;
    font-size: 13px;
}

.auth-agreement input {
    width: 18px;
    height: 18px;
    accent-color: var(--orange);
}

.rate-card {
    margin: 10px 0;
}

.rate-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #ffffff;
    background: var(--orange);
}

.guide-box {
    margin-top: 12px;
    padding: 14px 16px;
}

.guide-box h2 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 10px;
}

.guide-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding: 9px 0;
    font-size: 13px;
}

.guide-row span {
    color: var(--muted);
}

.contact-topup-card,
.notice-list-item,
.settings-list,
.info-list,
.account-stat,
.vote-history-item {
    border: 0;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.contact-topup-card {
    margin-top: 10px;
    padding: 18px 16px;
    text-align: center;
}

.contact-topup-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--orange);
    font-size: 24px;
}

.contact-topup-card h1,
.contact-topup-card h2 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 800;
}

.contact-topup-card p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.withdraw-create-card,
.admin-card {
    margin-top: 10px;
    padding: 14px 16px;
    border: 0;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.withdraw-create-card h2 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
}

.withdraw-field {
    display: grid;
    gap: 8px;
    margin-bottom: 10px;
}

.withdraw-field span,
.withdraw-rate {
    color: var(--muted);
    font-size: 13px;
}

.withdraw-field input,
.admin-inline-form input,
.admin-actions input {
    width: 100%;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 10px;
    color: var(--text);
    background: #ffffff;
    font-size: 14px;
    outline: none;
}

.withdraw-field input:focus,
.admin-inline-form input:focus,
.admin-actions input:focus {
    border-color: var(--orange);
}

.admin-link-row {
    margin-bottom: 10px;
}

.admin-list {
    display: grid;
    gap: 10px;
}

.admin-section-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
}

.admin-card {
    margin-top: 0;
}

.admin-card-head,
.admin-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.admin-card-head {
    margin-bottom: 10px;
}

.admin-card-head strong {
    font-size: 15px;
}

.admin-card-head span {
    color: var(--orange-2);
    font-size: 13px;
    font-weight: 800;
}

.admin-detail-row {
    min-height: 30px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.admin-detail-row strong {
    color: var(--text);
    text-align: right;
    font-weight: 600;
}

.admin-inline-form,
.admin-actions,
.admin-actions form {
    display: grid;
    gap: 8px;
}

.admin-inline-form {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) auto;
}

.admin-actions {
    margin-top: 12px;
}

.admin-actions-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.admin-result-form {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.admin-result-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.admin-result-options label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    font-weight: 800;
}

.admin-movie-form {
    display: grid;
    gap: 12px;
}

.admin-form-field {
    display: grid;
    gap: 7px;
}

.admin-form-field span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.admin-form-field input,
.admin-form-field select {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 10px;
    color: var(--text);
    background: #ffffff;
    font-size: 14px;
    outline: none;
}

.admin-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.admin-check-grid label {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 800;
}

.admin-poster-preview {
    width: 96px;
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    object-fit: cover;
}

.admin-note {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 420px) {
    .admin-inline-form {
        grid-template-columns: 1fr;
    }
}

.first-section {
    margin-top: 10px;
}

.notice-list-item {
    padding: 16px 16px 0;
    margin-bottom: 16px;
}

.notice-type {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    margin-bottom: 8px;
    border-radius: 999px;
    padding: 0 10px;
    color: #6f3f00;
    background: #fff3d8;
    font-size: 12px;
    font-weight: 700;
}

.notice-type-success {
    color: #146c43;
    background: #dcf6e8;
}

.notice-type-warning {
    color: #7a4d00;
    background: #fff2bf;
}

.notice-type-danger {
    color: #9f1c1c;
    background: #ffe0e0;
}

.notice-list-item h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.notice-list-item p {
    min-height: 44px;
    margin: 8px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--page-bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.45;
}

.notice-list-item time {
    display: block;
    height: 40px;
    color: #656566;
    text-align: right;
    font-size: 14px;
    line-height: 40px;
}

.settings-list,
.info-list {
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.settings-row,
.info-row {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    background: #ffffff;
    font-size: 15px;
}

.settings-row i {
    color: var(--muted);
    font-size: 13px;
}

.settings-row-button {
    width: 100%;
    border: 0;
    text-align: left;
}

.settings-logout {
    width: 100%;
    height: 44px;
    margin-top: 22px;
    border: 0;
    background: #ffffff;
    color: #f04444;
    font-size: 15px;
    font-weight: 500;
}

.info-row strong {
    color: var(--muted);
    font-size: 14px;
    text-align: right;
}

.avatar-row {
    min-height: 74px;
}

.mini-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--orange);
}

.account-hero {
    margin: -10px -10px 0;
    padding: 24px 16px 20px;
    color: #ffffff;
    text-align: center;
    background: var(--orange);
}

.account-hero-title,
.account-hero-tip {
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
}

.account-hero-value {
    display: inline-block;
    margin: 8px auto;
    border-bottom: 1px solid #ffffff;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
}

.account-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: var(--page-bg);
}

.account-stat {
    height: 100px;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.account-stat strong {
    color: #ff253f;
    font-size: 22px;
    line-height: 1.1;
}

.account-stat span {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.vote-history-item {
    padding: 14px 14px;
    margin-bottom: 14px;
    line-height: 1.45;
}

.vote-history-top,
.vote-history-result,
.vote-history-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vote-history-top strong {
    color: #ff253f;
    font-size: 15px;
}

.vote-history-top span {
    color: var(--orange-2);
    font-weight: 800;
}

.vote-history-result {
    margin: 10px 0 6px;
    color: var(--text);
    font-size: 14px;
}

.vote-history-result b {
    color: var(--text);
}

.vote-history-meta {
    color: #9b9b9b;
    font-size: 13px;
}

.vote-history-meta em {
    font-style: normal;
    color: var(--success);
}

.vote-history-page .app-content {
    min-height: calc(100vh - 55px);
    padding: 0 0 calc(76px + env(safe-area-inset-bottom));
    background: #f2f2f5;
}

.vote-history-ref.container {
    width: 100%;
    max-width: none;
    min-height: calc(100vh - 55px);
    padding: 0;
    color: #323233;
    background: #f2f2f5;
}

.vote-history-ref .nav-bar {
    position: sticky;
    top: 0;
    z-index: 30;
    height: 46px;
    background: #ffffff;
}

.vote-history-ref .van-hairline--bottom {
    border-bottom: 1px solid #ebedf0;
}

.vote-history-ref .van-nav-bar__content {
    height: 46px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    align-items: center;
}

.vote-history-ref .van-nav-bar__left,
.vote-history-ref .van-nav-bar__right {
    height: 46px;
    display: flex;
    align-items: center;
}

.vote-history-ref .van-nav-bar__left {
    justify-content: flex-start;
}

.vote-history-ref .van-nav-bar__right {
    justify-content: flex-end;
}

.vote-history-ref .history-back {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #323233;
    font-size: 20px;
}

.vote-history-ref .van-nav-bar__title {
    min-width: 0;
    color: #323233;
    text-align: center;
    font-size: 16px;
    line-height: 46px;
    font-weight: 600;
}

.vote-history-ref .van-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.vote-history-ref .main {
    padding: 10px 10px 0;
}

.vote-history-ref .van-pull-refresh {
    min-height: calc(100vh - 132px);
    overflow: visible;
}

.vote-history-ref .van-pull-refresh__track {
    position: relative;
    min-height: 100%;
}

.vote-history-ref .item_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vote-history-ref .vote-history-record {
    overflow: hidden;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(100, 100, 111, .12);
}

.vote-history-ref .lottery_info {
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f1f3;
}

.vote-history-ref .cover {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    overflow: hidden;
    border-radius: 8px;
    background: #f6f2ff;
}

.vote-history-ref .history-cover-placeholder {
    color: #ffffff;
    background: linear-gradient(135deg, #f3ad44, #8774d3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.vote-history-ref .van-image {
    position: relative;
    display: inline-block;
}

.vote-history-ref .van-image__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.vote-history-ref .period-number {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vote-history-ref .period-number strong {
    color: #333333;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
}

.vote-history-ref .period-number span {
    color: #77777d;
    font-size: 13px;
    line-height: 1.2;
}

.vote-history-ref .recent {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px 4px;
}

.vote-history-ref .kuaisan-ball {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    color: #333333;
    font-size: 14px;
}

.vote-history-ref .left {
    justify-content: flex-start;
}

.vote-history-ref .time {
    flex: 0 0 auto;
    color: #969799;
    font-size: 13px;
    line-height: 22px;
    white-space: nowrap;
}

.vote-history-ref .result-ball {
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
}

.vote-history-ref .result-ball-a {
    background: rgb(135, 116, 211);
}

.vote-history-ref .result-ball-b {
    background: rgb(243, 173, 68);
}

.vote-history-ref .result-ball-c {
    background: rgb(239, 66, 205);
}

.vote-history-ref .result-ball-d {
    background: rgb(52, 152, 219);
}

.vote-history-ref .history-choice-name {
    color: #ff253f;
    font-weight: 700;
}

.vote-history-ref .res-des {
    padding: 4px 12px 12px;
    color: #55555b;
    font-size: 13px;
    line-height: 1.5;
}

.vote-history-ref .middle {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vote-history-ref .topInfo,
.vote-history-ref .selected-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.vote-history-ref .topInfo strong {
    color: #f04b42;
    font-weight: 700;
}

.vote-history-ref .selected-info strong {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.vote-history-ref .selected-info em {
    color: #77777d;
    font-style: normal;
}

.play-period-card,
.previous-result {
    margin: 10px 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.period-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 32px;
    color: var(--text);
}

.period-row span,
.previous-title {
    color: var(--muted);
    font-size: 14px;
}

.period-row strong {
    text-align: right;
    font-size: 15px;
}

.period-row b {
    color: var(--orange);
}

.period-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    margin-top: 8px;
    border-radius: 10px;
    color: #ff253f;
    background: #fff4d7;
    font-size: 20px;
    font-weight: 800;
}

.previous-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.previous-balls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.previous-balls span {
    border-radius: 999px;
    padding: 7px 10px;
    color: #ffffff;
    background: #ff253f;
    font-size: 13px;
    font-weight: 800;
}

.previous-balls strong {
    margin-left: auto;
    color: var(--muted);
    font-size: 13px;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 6%;
    padding-bottom: 8px;
}

.choice-tile {
    aspect-ratio: 1;
    border: 0;
    border-radius: 10px;
    padding: 10px;
    background: #ffffff;
    color: #7d7c7c;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.choice-tile:active,
.choice-tile.active {
    color: #ffffff;
    background: #ff253f;
}

.choice-tile strong {
    font-size: 20px;
}

.choice-tile span {
    margin-top: 4px;
    color: #ff253f;
    font-size: 15px;
}

.choice-tile:active span,
.choice-tile.active span {
    color: #ffffff;
}

.vote-choice-tile {
    gap: 7px;
}

.vote-choice-tile span.choice-code {
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff253f;
    background: #fff4d7;
    font-size: 17px;
    font-weight: 900;
}

.vote-choice-tile strong {
    font-size: 16px;
    line-height: 1.25;
    text-align: center;
}

.vote-detail-page .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-bottom: 6px;
}

.vote-detail-page .choice-tile {
    aspect-ratio: auto;
    min-height: 58px;
    padding: 8px 10px;
    border-radius: 9px;
}

.vote-detail-page .vote-choice-tile {
    gap: 5px;
}

.vote-detail-page .vote-choice-tile span.choice-code {
    width: 28px;
    height: 28px;
    font-size: 14px;
}

.vote-detail-page .vote-choice-tile strong {
    font-size: 14px;
    line-height: 1.2;
}

.vote-choice-tile.active span.choice-code {
    color: #ff253f;
    background: #ffffff;
}

.vote-selection-panel {
    position: fixed;
    left: 50%;
    bottom: calc(55px + env(safe-area-inset-bottom));
    z-index: 120;
    width: min(100%, var(--app-max));
    max-width: var(--app-max);
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: var(--shadow);
    transform: translate(-50%, 120%);
    transition: transform .25s ease;
    pointer-events: none;
}

.vote-selection-panel.active {
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.vote-selection-toggle {
    width: 100%;
    min-height: 46px;
    border: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--text);
}

.vote-selection-toggle .label,
.selection-row .label {
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
}

.current-choice {
    flex: 1;
    min-width: 0;
    color: #ff253f;
    text-align: right;
    font-size: 14px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vote-selection-toggle i {
    color: #a0a0a0;
    font-size: 13px;
    transition: transform .2s ease;
}

.vote-selection-panel .vote-selection-toggle i {
    transform: rotate(180deg);
}

.vote-selection-body {
    border-top: 1px solid var(--line);
}

.selection-row {
    min-height: 48px;
    margin: 0;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.selection-row input {
    flex: 1;
    min-width: 0;
    height: 34px;
    border: 0;
    border-radius: 8px;
    padding: 0 10px;
    background: #f7f7f9;
    color: var(--text);
    text-align: right;
    font-size: 15px;
    outline: none;
}

.selection-row input:focus {
    box-shadow: inset 0 0 0 1px var(--orange);
}

.selection-summary {
    min-height: 44px;
    padding: 8px 14px 10px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 14px;
}

.selection-summary > div {
    display: flex;
    align-items: center;
    gap: 4px;
}

.selection-summary strong {
    color: #ff253f;
    font-size: 16px;
}

.vote-result-list {
    padding-bottom: 8px;
}

.vote-action-bar {
    position: fixed;
    left: 50%;
    bottom: env(safe-area-inset-bottom);
    z-index: 130;
    width: min(100%, var(--app-max));
    height: 55px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    visibility: visible;
    opacity: 1;
    background: #ffffff;
    box-shadow: 0 -1px 8px rgba(0, 0, 0, .08);
}

.vote-detail-page .app-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    margin-bottom: 0;
    background: linear-gradient(270deg, #000000, var(--orange));
    color: #ffffff;
}

.vote-detail-page .app-content {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 50px);
    padding: 10px 10px 68px;
}

.vote-detail-page .vote-action-bar {
    bottom: env(safe-area-inset-bottom);
    z-index: 130;
    display: flex;
}

.action-left {
    display: flex;
    align-items: center;
}

.action-left button {
    width: 74px;
    border: 0;
    background: transparent;
    color: #7d7c7c;
    font-size: 13px;
}

.action-left i,
.action-left span {
    display: block;
}

.action-left > span {
    width: 2px;
    height: 40px;
    background: #dadada;
}

.action-mid {
    flex: 1;
    text-align: right;
    color: var(--text);
    font-size: 15px;
}

.action-mid b {
    margin: 0 5px;
    color: #ff253f;
}

.action-submit {
    height: 35px;
    margin: 0 10px;
    padding: 0 12px;
    border: 0;
    border-radius: 20px;
    color: #ffffff;
    background: var(--orange);
    font-size: 16px;
    font-weight: 700;
}

.history-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--purple-soft);
    color: var(--purple);
}

.history-item h2 {
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 2px;
}

.history-success .history-icon,
.history-success > strong {
    color: var(--success);
}

.history-warning .history-icon,
.history-warning > strong {
    color: var(--orange-2);
}

.history-info .history-icon,
.history-info > strong {
    color: var(--purple);
}

.history-muted .history-icon,
.history-muted > strong {
    color: var(--muted);
}

.profile-card {
    position: relative;
    margin: -10px -10px 10px;
    min-height: 150px;
    padding: 40px 24px 54px;
    border-radius: 0;
    box-shadow: none;
    color: #ffffff;
    text-align: left;
    background:
        linear-gradient(270deg, #000000, var(--orange)),
        var(--orange);
}

.profile-gear {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 28px;
    height: 28px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 15px 0 0;
    float: left;
    color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .18);
    font-size: 24px;
}

.profile-name {
    padding-top: 5px;
    font-size: 24px;
    font-weight: 700;
}

.profile-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .86);
    margin-top: 4px;
    font-size: 13px;
}

.profile-status span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ffffff;
}

.profile-points {
    clear: both;
    display: none;
    margin-top: 24px;
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
    font-weight: 800;
}

.profile-rank {
    display: none;
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
}

.vip-badge {
    display: inline-flex;
    align-items: center;
    height: 22px;
    margin-top: 5px;
    border-radius: 999px;
    padding: 0 10px;
    color: #684000;
    background: linear-gradient(135deg, #fff3bf, #f3ad44);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.profile-finance {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 65px;
    margin: -28px 10px 0;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.profile-finance a {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
}

.profile-finance i {
    color: var(--orange);
    font-size: 20px;
}

.finance-line {
    width: 3px;
    height: 40px;
    background: #cccccc;
}

.profile-wallet {
    margin: 24px 10px 10px;
    padding: 0 20px;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.wallet-head {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--page-bg);
}

.wallet-head span {
    color: var(--muted);
    font-size: 15px;
}

.wallet-head a {
    color: var(--purple);
    font-size: 15px;
}

.wallet-balance-row {
    height: 80px;
    display: flex;
    align-items: center;
}

.wallet-balance-row strong {
    flex: 1;
    color: var(--orange);
    font-size: 28px;
    line-height: 1;
}

.wallet-refresh {
    width: 35px;
    height: 35px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--orange);
    cursor: pointer;
}

.wallet-refresh.is-refreshing i {
    animation: points-refresh-spin .75s linear infinite;
}

@keyframes points-refresh-spin {
    to {
        transform: rotate(360deg);
    }
}

.profile-menu-grid {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.profile-menu-item {
    position: relative;
    width: 50%;
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px;
    color: #868686;
    font-size: 14px;
    font-weight: 500;
}

.profile-menu-item i,
.profile-menu-item img {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: var(--orange);
}

.profile-menu-item img {
    object-fit: contain;
    background: transparent;
    border-radius: 0;
}

[data-support-link] {
    position: relative;
}

.support-unread-dot {
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    color: #fff;
    background: #e53935;
    box-shadow: 0 0 0 4px rgba(229, 57, 53, .15);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.support-unread-dot[hidden] {
    display: none;
}

.profile-menu-item .support-unread-dot {
    position: absolute;
    top: 14px;
    right: 14px;
}

.contact-topup-card .support-unread-dot {
    margin-left: 8px;
}

.profile-logout {
    margin: 0;
}

.profile-logout-form {
    margin: 10px;
}

.profile-actions {
    margin-top: -8px;
}

.profile-action {
    width: 100%;
    min-height: 64px;
    text-align: left;
    color: var(--muted);
}

.profile-action span {
    flex: 1;
    font-weight: 500;
}

.profile-action > i:first-child {
    color: var(--orange);
    width: 22px;
}

.profile-action.danger {
    color: var(--danger);
}

.profile-form-page .app-content {
    min-height: calc(100vh - 55px);
    padding: 0 0 calc(76px + env(safe-area-inset-bottom));
    background: #f2f2f5;
}

.profile-edit-page.container {
    width: 100%;
    max-width: none;
    min-height: calc(100vh - 55px);
    padding: 0;
    color: #323233;
    background: #f2f2f5;
}

.profile-edit-page .nav-bar {
    position: sticky;
    top: 0;
    z-index: 30;
    height: 46px;
    background: #ffffff;
}

.profile-edit-page .van-hairline--bottom {
    border-bottom: 1px solid #ebedf0;
}

.profile-edit-page .van-nav-bar__content {
    height: 46px;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 80px;
    align-items: center;
}

.profile-edit-page .van-nav-bar__left,
.profile-edit-page .van-nav-bar__right {
    height: 46px;
    display: flex;
    align-items: center;
}

.profile-edit-page .van-nav-bar__left {
    justify-content: flex-start;
}

.profile-edit-page .van-nav-bar__right {
    justify-content: flex-end;
    padding-right: 16px;
}

.profile-edit-page .header-back {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #323233;
    background: transparent;
    border: 0;
    font-size: 20px;
}

.profile-edit-page .van-nav-bar__title {
    min-width: 0;
    color: #323233;
    text-align: center;
    font-size: 16px;
    line-height: 46px;
    font-weight: 600;
}

.profile-edit-page .van-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.profile-edit-page .nav-right {
    border: 0;
    background: transparent;
    color: var(--orange-2);
    font-size: 14px;
    font-weight: 600;
}

.profile-edit-form,
.profile-edit-page .main-box {
    margin: 0;
}

.profile-edit-page .van-cell-group {
    margin-top: 12px;
    overflow: hidden;
    background: #ffffff;
}

.profile-edit-page .van-cell {
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-bottom: 1px solid #ebedf0;
    background: #ffffff;
}

.profile-edit-page .van-cell:last-child {
    border-bottom: 0;
}

.profile-edit-page .van-field__label {
    flex: 0 0 96px;
    color: #646566;
    font-size: 14px;
}

.profile-edit-page .van-cell__title {
    min-width: 0;
}

.profile-edit-page .van-cell__value,
.profile-edit-page .van-field__value,
.profile-edit-page .van-field__body {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
}

.profile-edit-page .van-field__control {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #323233;
    font-size: 14px;
    line-height: 24px;
}

.profile-edit-page .van-field__control::placeholder {
    color: #c8c9cc;
}

.profile-edit-page .tips {
    margin: 12px 15px 0;
    color: #969799;
    font-size: 13px;
    line-height: 1.5;
}

.profile-edit-page .form-status-message,
.bank-page .form-status-message {
    margin: 12px 15px 0;
    border-radius: 6px;
    padding: 10px 12px;
    background: #ffffff;
    font-size: 13px;
    line-height: 1.4;
}

.profile-edit-page .form-status-message.success,
.bank-page .form-status-message.success {
    color: var(--success);
}

.profile-edit-page .form-status-message.error,
.bank-page .form-status-message.error {
    color: var(--danger);
}

.profile-edit-page .sex {
    margin-top: 12px;
}

.profile-edit-page .van-radio-group {
    overflow: hidden;
    background: #ffffff;
}

.profile-edit-page .van-radio {
    position: relative;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-bottom: 1px solid #ebedf0;
    color: #323233;
    font-size: 15px;
}

.profile-edit-page .van-radio:last-child {
    border-bottom: 0;
}

.profile-edit-page .van-radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.profile-edit-page .van-radio__icon {
    width: 20px;
    height: 20px;
    border: 1px solid #c8c9cc;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.profile-edit-page .van-radio__icon::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
}

.profile-edit-page .van-radio.active .van-radio__icon {
    border-color: var(--orange);
    background: var(--orange);
}

.profile-edit-page .van-radio input:checked + .van-radio__icon {
    border-color: var(--orange);
    background: var(--orange);
}

.profile-edit-page .van-radio.active .van-radio__icon::after,
.profile-edit-page .van-radio input:checked + .van-radio__icon::after {
    background: #ffffff;
}

.profile-edit-page .van-radio__label {
    flex: 1;
}

.bank-page .wrapper {
    padding: 12px 15px 0;
}

.profile-edit-page .add-card {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #323233;
    background: #ffffff;
    border-radius: 2px;
    font-size: 15px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
}

.profile-edit-page .add-card i {
    color: var(--orange-2);
    font-size: 16px;
}

.linked-bank-card {
    overflow: hidden;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(100, 100, 111, .1);
}

.linked-bank-head {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-bottom: 1px solid #ebedf0;
    color: #323233;
    font-size: 15px;
}

.linked-bank-head i {
    color: var(--orange-2);
}

.bank-detail-row {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    border-bottom: 1px solid #ebedf0;
    color: #646566;
    font-size: 14px;
}

.bank-detail-row:last-child {
    border-bottom: 0;
}

.bank-detail-row strong {
    min-width: 0;
    color: #323233;
    text-align: right;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.profile-edit-page .main-box .label {
    padding: 16px 16px 4px;
    color: #969799;
    font-size: 14px;
    line-height: 1.4;
}

.profile-edit-page .bank-select-field {
    cursor: pointer;
}

.profile-edit-page .bank-select-field i {
    color: #c8c9cc;
    font-size: 12px;
}

.bank-select-trigger {
    width: 100%;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.bank-select-trigger:not(.has-value) {
    color: #c8c9cc;
}

.bank-select-overlay[hidden],
.bank-select-panel[hidden] {
    display: none !important;
}

.bank-select-overlay {
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 1500;
}

.bank-select-panel {
    position: fixed;
    left: 50%;
    bottom: 0;
    width: min(100%, var(--app-max));
    max-height: 68vh;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #ffffff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .18);
    z-index: 1501;
}

.bank-select-header {
    flex: 0 0 auto;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    border-bottom: 1px solid #ebedf0;
}

.bank-select-header strong {
    color: #323233;
    font-size: 16px;
}

.bank-select-header button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--orange-2);
    font-size: 14px;
    font-weight: 600;
}

.bank-select-list,
.bank-options-panel {
    flex: 1 1 auto;
    max-height: 56vh;
    overflow-y: auto;
    padding: 8px 12px calc(16px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
}

.bank-select-option {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    border: 0;
    border-radius: 10px;
    padding: 0 10px;
    background: transparent;
    color: #323233;
    text-align: left;
    font-size: 14px;
}

.bank-select-option:active,
.bank-select-option:hover,
.bank-select-option.active {
    color: var(--orange-2);
    background: #fff8ec;
    font-weight: 700;
}

.bank-select-open {
    overflow: hidden;
}

.profile-edit-page .bank-submit {
    width: calc(100% - 30px) !important;
    height: 44px;
    display: block;
    margin: 24px auto 0;
    border-radius: 22px;
    font-size: 15px;
}

.support-page .app-content {
    min-height: calc(100vh - 55px);
    padding: 0 0 calc(76px + env(safe-area-inset-bottom));
    background: #f2f2f5;
}

.support-view.container {
    width: 100%;
    max-width: none;
    min-height: calc(100vh - 55px);
    padding: 0;
    color: #323233;
    background: #f2f2f5;
}

.support-view .header {
    position: sticky;
    top: 0;
    z-index: 30;
}

.support-view .nav-bar {
    height: 46px;
    background: #ffffff;
}

.support-view .van-hairline--bottom {
    border-bottom: 1px solid #ebedf0;
}

.support-view .van-nav-bar__content {
    height: 46px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    align-items: center;
}

.support-view .van-nav-bar__left,
.support-view .van-nav-bar__right {
    height: 46px;
    display: flex;
    align-items: center;
}

.support-view .support-back {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #323233;
    font-size: 20px;
}

.support-view .van-nav-bar__title {
    min-width: 0;
    color: #323233;
    text-align: center;
    font-size: 16px;
    line-height: 46px;
    font-weight: 600;
}

.support-view .van-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.support-view .servicelistItem {
    margin: 12px;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(100, 100, 111, .12);
}

.support-view .servicelistItemTop {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
}

.support-view .servicelistItemImage {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    object-fit: cover;
}

.support-view .servicelistItemText {
    min-width: 0;
    flex: 1;
    color: #323233;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
}

.support-view .servicelistItemBtn {
    min-width: 78px;
    height: 32px;
    border: 0;
    border-radius: 16px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(90deg, #f3ad44, #e99d2a);
    font-size: 14px;
    font-weight: 600;
}

.support-view .servicelistItemBtnText {
    line-height: 1;
}

.support-view .servicelistItemBottom {
    padding: 0 12px 14px 70px;
}

.support-view .servicelistItemInfoText {
    color: #969799;
    font-size: 13px;
    line-height: 1.4;
}

.info-link {
    cursor: pointer;
}

.info-link strong {
    margin-left: auto;
}

.info-row > i {
    flex: 0 0 auto;
    color: #c8c9cc;
    font-size: 12px;
}

.state-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
}

.state-block {
    padding: 18px 14px;
    text-align: center;
}

.state-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 8px;
    border-radius: 12px;
    background: #f3f3f6;
    color: var(--orange);
}

.state-success .state-icon {
    color: var(--success);
}

.state-error .state-icon {
    color: var(--danger);
}

.state-loading .state-icon {
    color: var(--purple);
}

.state-title {
    font-weight: 800;
}

.state-text {
    color: var(--muted);
    font-size: 13px;
}

.notyf__toast {
    max-width: calc(var(--app-max) - 24px);
    border-radius: 15px;
}

@media (min-width: 601px) {
    .mobile-shell {
        min-height: 100vh;
    }
}

@media (max-width: 500px) {
    .bottom-nav-item.center-nav img {
        width: 70px;
        height: 70px;
        margin-top: -20px;
    }
}

@media (max-width: 360px) {
    .header-row {
        grid-template-columns: 40px 1fr 40px;
    }

    .movie-detail-hero {
        grid-template-columns: 112px 1fr;
    }

    .vote-option {
        grid-template-columns: 50px 1fr;
    }

    .vote-thumb {
        width: 50px;
        height: 50px;
    }

    .btn-vote {
        grid-column: 2;
        width: 100%;
    }
}
