/* 门户式首页 */

.portal-layout .home-page {
    width: 100%;
}

/* Banner — 同色系深酒红渐变，避免高亮珊瑚色刺眼 */
.portal-layout .home-hero {
    width: 100%;
    min-height: 390px;
    --home-hero-start: #752F3A;
    --home-hero-mid: #9E4452;
    --home-hero-end: #B85C66;
    background:
        radial-gradient(circle at 82% 22%, rgba(255, 236, 238, 0.10), transparent 32%),
        linear-gradient(125deg, var(--home-hero-start) 0%, var(--home-hero-mid) 46%, var(--home-hero-end) 100%);
    color: #fff;
}

.portal-layout .home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: end;
    gap: 32px;
    min-height: 390px;
    padding: 36px 0 44px;
}

.portal-layout .home-hero__content {
    align-self: end;
}

.portal-layout .home-hero__eyebrow {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    opacity: 0.92;
}

.portal-layout .home-hero__title {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
}

.portal-layout .home-hero__desc {
    margin: 0 0 22px;
    max-width: 520px;
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.94;
}

.portal-layout .home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.portal-layout .home-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.portal-layout .home-hero__btn--primary {
    background: #fff;
    color: var(--brand);
}

.portal-layout .home-hero__btn--primary:hover {
    transform: translateY(-1px);
    opacity: 0.95;
    color: var(--brand-dark);
}

.portal-layout .home-hero__btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.portal-layout .home-hero__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

/* Banner 搜索 */
.portal-layout .home-hero-search {
    max-width: 860px;
}

.portal-layout .home-toolbar {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 860px;
    min-height: 58px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.06);
    overflow: visible;
}

.portal-layout .home-city-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    padding: 0 14px;
    white-space: nowrap;
    cursor: pointer;
    flex: 0 0 auto;
    border-right: 1px solid var(--border);
    border-radius: 12px 0 0 12px;
    outline: none;
}

.portal-layout .home-city-btn:hover,
.portal-layout .home-city-btn:focus,
.portal-layout .home-city-btn:focus-visible {
    background: #f9fafb;
    outline: none;
}

.portal-layout .home-city-icon {
    display: inline-flex;
    color: var(--brand);
}

.portal-layout .home-city-btn #homeCityName {
    max-width: 5em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-layout .home-search-type-drop {
    position: relative;
    flex: 0 0 auto;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
}

.portal-layout .home-search-type-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    min-height: 56px;
    padding: 0 12px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand);
    cursor: pointer;
    white-space: nowrap;
}

.portal-layout .home-search-type-trigger:hover {
    background: #f9fafb;
}

.portal-layout .home-search-type-arrow {
    display: inline-flex;
    color: var(--text-secondary);
    transition: transform 0.15s;
}

.portal-layout .home-search-type-trigger[aria-expanded="true"] .home-search-type-arrow {
    transform: rotate(180deg);
}

.portal-layout .home-search-type-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 30;
    margin: 0;
    padding: 4px;
    list-style: none;
    min-width: 88px;
    width: max-content;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.portal-layout .home-search-type-menu.hidden {
    display: none;
}

.portal-layout .home-search-type-option {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    color: var(--text);
}

.portal-layout .home-search-type-option:hover {
    background: #f3f4f6;
}

.portal-layout .home-search-type-option.active {
    color: var(--brand);
    font-weight: 600;
    background: var(--brand-light);
}

.portal-layout .home-search-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 0 8px 0 14px;
    border-radius: 0 12px 12px 0;
}

.portal-layout .home-search-input {
    flex: 1;
    width: 100%;
    border: none;
    background: transparent;
    font-size: 15px;
    outline: none;
    color: var(--text);
    min-width: 0;
}

.portal-layout .home-search-field input.home-search-input[type="search"] {
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
    min-height: 0;
}

.portal-layout .home-search-input::placeholder {
    color: #9ca3af;
}

.portal-layout .home-search-submit {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.15s ease;
}

.portal-layout .home-search-submit:hover {
    color: var(--brand);
}

.portal-layout .home-search-submit__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Banner 视觉 */
.portal-layout .home-hero__visual {
    position: relative;
    align-self: end;
    width: 100%;
    height: 252px;
    min-height: 252px;
}

.portal-layout .hero-visual__glow {
    position: absolute;
    inset: 0 0 0 12%;
    background: radial-gradient(circle at 72% 58%, rgba(255, 220, 224, 0.14), transparent 64%);
    pointer-events: none;
}

.portal-layout .hero-visual__orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.portal-layout .hero-visual__orb--1 {
    width: 120px;
    height: 120px;
    top: 0;
    right: 6%;
}

.portal-layout .hero-visual__orb--2 {
    width: 72px;
    height: 72px;
    bottom: 0;
    left: 8%;
}

.portal-layout .hero-poster {
    position: absolute;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(48, 8, 12, 0.18);
    background: rgba(255, 255, 255, 0.12);
}

.portal-layout .hero-poster img,
.portal-layout .hero-poster__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portal-layout .hero-poster__placeholder {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
}

.portal-layout .hero-poster--main {
    width: 168px;
    aspect-ratio: 2 / 3;
    top: auto;
    bottom: 0;
    right: 88px;
    z-index: 3;
}

.portal-layout .hero-poster--sub-1 {
    width: 118px;
    aspect-ratio: 2 / 3;
    top: auto;
    bottom: 40px;
    right: 0;
    transform: rotate(8deg);
    opacity: 0.88;
    z-index: 2;
}

.portal-layout .hero-poster--sub-2 {
    width: 108px;
    aspect-ratio: 2 / 3;
    top: auto;
    bottom: 0;
    right: 196px;
    transform: rotate(-10deg);
    opacity: 0.82;
    z-index: 1;
}

.portal-layout .hero-ticket-card {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 4;
    width: 168px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    color: #1f2937;
    box-shadow: 0 14px 30px rgba(30, 8, 12, 0.2);
}

.portal-layout .hero-ticket-card__label {
    display: block;
    font-size: 11px;
    color: var(--brand);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.portal-layout .hero-ticket-card__title {
    display: block;
    margin: 4px 0 8px;
    font-size: 18px;
    line-height: 1.2;
}

.portal-layout .hero-ticket-card__code {
    font-size: 12px;
    color: #6b7280;
    letter-spacing: 0.12em;
}

/* 服务栏 */
.portal-layout .home-service-strip {
    width: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.portal-layout .home-service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 90px;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.portal-layout .home-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 10px;
    text-decoration: none;
    color: inherit;
    border-right: 1px solid var(--border);
    transition: background 0.15s ease;
}

.portal-layout .home-service-item:last-child {
    border-right: none;
}

.portal-layout .home-service-item:hover {
    background: var(--brand-light);
    color: inherit;
}

.portal-layout .home-service-item__icon {
    font-size: 22px;
    line-height: 1;
}

.portal-layout .home-service-item__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.portal-layout .home-service-item__desc {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.4;
}

/* 内容区 */
.portal-layout .home-content-section {
    width: 100%;
    padding: 0;
    background: var(--background);
}

.portal-layout .home-section-toolbar {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0;
    background: var(--surface);
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
}

.portal-layout .home-section-toolbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    min-height: 56px;
    padding: 0;
}

.portal-layout .home-section-tabs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    flex: 0 0 auto;
    padding: 0;
}

.portal-layout .home-section-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.15s ease;
}

.portal-layout .home-section-tab:hover {
    color: var(--brand);
}

.portal-layout .home-section-tab.active {
    background: transparent;
    color: var(--brand);
}

.portal-layout .home-section-tab.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 18px;
    height: 2px;
    margin-left: -9px;
    border-radius: 1px;
    background: var(--brand);
}

.portal-layout .home-section-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-left: auto;
    flex-shrink: 0;
    padding-right: 0;
}

.portal-layout .home-section-stat {
    font-size: 14px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.portal-layout .home-section-stat strong {
    color: var(--brand);
    font-size: 18px;
    font-weight: 800;
}

.portal-layout .home-content {
    width: 100%;
    box-sizing: border-box;
    min-height: 0;
    padding: 12px 0 10px;
    background: transparent;
    border: none;
    border-radius: 0;
}

.portal-layout .movie-list,
.portal-layout .cinema-grid,
.portal-layout .movie-grid {
    width: 100%;
    box-sizing: border-box;
}

.portal-layout .movie-row,
.portal-layout .cinema-card {
    width: 100%;
    box-sizing: border-box;
}

.portal-layout .home-list-status {
    padding: 16px 10px 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.portal-layout .home-search-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 14px;
    background: var(--background);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.portal-layout .home-search-clear {
    border: none;
    background: transparent;
    color: var(--brand);
    font-size: 14px;
    cursor: pointer;
}

/* 热映单栏列表 */
.portal-layout .movie-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.portal-layout .movie-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.portal-layout .movie-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.portal-layout .movie-row__poster-link {
    flex: 0 0 auto;
    display: block;
    width: 88px;
    text-decoration: none;
}

.portal-layout .movie-row__poster {
    display: block;
    width: 88px;
    height: 118px;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 8px;
    background: #e5e7eb;
}

.portal-layout .movie-row__poster--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #9ca3af;
    background: #f3f4f6;
}

.portal-layout .movie-row__body {
    position: relative;
    flex: 1;
    min-width: 0;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
}

.portal-layout .movie-row--coming .movie-row__body {
    padding-bottom: 0;
    min-height: 0;
}

.portal-layout .movie-row--coming {
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
    padding-left: 0;
    padding-right: 0;
}

.portal-layout .movie-row--coming:hover {
    transform: none;
    box-shadow: none;
}

.portal-layout .movie-row--coming .movie-row__title {
    padding-right: 0;
}

.portal-layout .movie-row__head {
    display: none;
}

.portal-layout .movie-row__title {
    margin: 0;
    padding-right: 68px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    min-width: 0;
}

.portal-layout .movie-row__title a {
    color: var(--text);
    text-decoration: none;
}

.portal-layout .movie-row__title a:hover {
    color: var(--brand);
}

.portal-layout .movie-row__tag {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    vertical-align: middle;
}

.portal-layout .movie-row__tag--hot {
    color: var(--brand);
    background: var(--brand-light);
}

.portal-layout .movie-row__tag--coming {
    color: #2563eb;
    background: #eff6ff;
}

.portal-layout .movie-row__score {
    position: absolute;
    top: 0;
    right: 0;
    flex-shrink: 0;
    color: var(--brand);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.portal-layout .movie-row__score small {
    margin-left: 2px;
    font-size: 13px;
    font-weight: 600;
}

.portal-layout .movie-row__line {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text);
}

.portal-layout .movie-row__line--muted {
    color: var(--text-secondary);
    font-size: 12px;
}

.portal-layout .movie-row__line--coming {
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
}

.portal-layout .movie-row__label {
    display: inline-block;
    min-width: 36px;
    margin-right: 6px;
    color: var(--text-secondary);
}

.portal-layout .movie-row__action {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.portal-layout .movie-row__foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: auto;
    padding-top: 2px;
    flex-shrink: 0;
    align-self: center;
}

.portal-layout .movie-row__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.portal-layout .movie-row__info-stack {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.portal-layout .movie-row__leading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.portal-layout .movie-row__info-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
}

.portal-layout .movie-row__info-extra {
    min-width: 0;
}

.portal-layout .movie-row__info-extra .movie-row__line {
    margin: 0;
}

.portal-layout .movie-row:not(.movie-row--coming) {
    --movie-poster-w: 56px;
    --movie-poster-h: calc(var(--movie-poster-w) * 3 / 2);
    --movie-leading-gap: 12px;
    padding: 10px 12px;
}

.portal-layout .movie-row:not(.movie-row--coming) .movie-row__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 2px 12px;
    align-items: center;
    min-height: 0;
}

.portal-layout .movie-row:not(.movie-row--coming) .movie-row__leading {
    grid-column: 1;
    grid-row: 1;
    gap: var(--movie-leading-gap);
}

.portal-layout .movie-row:not(.movie-row--coming) .movie-row__info-extra {
    grid-column: 1;
    grid-row: 2;
    padding-left: calc(var(--movie-poster-w) + var(--movie-leading-gap));
}

.portal-layout .movie-row:not(.movie-row--coming) .movie-row__foot {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-top: 0;
    padding-top: 0;
}

.portal-layout .movie-row:not(.movie-row--coming) .movie-row__poster-link {
    width: var(--movie-poster-w);
    height: var(--movie-poster-h);
    flex-shrink: 0;
    display: block;
}

.portal-layout .movie-row:not(.movie-row--coming) .movie-row__poster {
    width: var(--movie-poster-w);
    height: var(--movie-poster-h);
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.portal-layout .movie-row:not(.movie-row--coming) .movie-row__poster--empty {
    width: var(--movie-poster-w);
    height: var(--movie-poster-h);
}

.portal-layout .movie-row:not(.movie-row--coming) .movie-row__info-main {
    height: var(--movie-poster-h);
    justify-content: space-between;
}

.portal-layout .movie-row:not(.movie-row--coming) .movie-row__title {
    font-size: 15px;
    line-height: 1.2;
    padding-right: 0;
    margin: 0;
    flex-shrink: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portal-layout .movie-row:not(.movie-row--coming) .movie-row__info-main .movie-row__line {
    margin: 0;
    flex-shrink: 0;
    font-size: 12px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portal-layout .movie-row__score-line {
    color: var(--brand);
    font-weight: 700;
}

.portal-layout .movie-row__score-line .movie-row__label {
    color: var(--text-secondary);
    font-weight: 400;
}

.portal-layout .movie-row__duration {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.2;
    white-space: nowrap;
}

.portal-layout .movie-row__foot .movie-row__btn {
    min-width: 72px;
    min-height: 32px;
    padding: 0 14px;
    font-size: 13px;
}

.portal-layout .movie-row__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.portal-layout .movie-row__btn:hover {
    background: var(--brand-dark);
    color: #fff !important;
}

.portal-layout .movie-row__btn--presale {
    background: #2563eb;
}

.portal-layout .movie-row__btn--presale:hover {
    background: #1d4ed8;
}

/* 即将上映时间线 */
.portal-layout .coming-timeline {
    --tl-line-left: 5px;
    --tl-line-width: 2px;
    --tl-dot-size: 10px;
    --tl-dot-text-gap: 8px;
    --tl-list-indent: 20px;
    position: relative;
    padding-left: 0;
    padding-right: 12px;
    border-right: 1px solid var(--border);
    box-sizing: border-box;
}

.portal-layout .coming-timeline::before {
    content: "";
    position: absolute;
    left: var(--tl-line-left);
    top: 8px;
    bottom: 8px;
    width: var(--tl-line-width);
    background: linear-gradient(180deg, #26ce8a 0%, #ffd4c8 55%, #e5e7eb 100%);
    border-radius: 2px;
}

.portal-layout .coming-date-group {
    position: relative;
    padding-left: var(--tl-list-indent);
    margin-bottom: 24px;
}

.portal-layout .coming-date-group:last-child {
    margin-bottom: 0;
}

.portal-layout .coming-date-header {
    display: flex;
    align-items: center;
    margin: 0 0 10px calc(-1 * var(--tl-list-indent));
    padding-left: calc(
        var(--tl-line-left) + var(--tl-line-width) / 2 - var(--tl-dot-size) / 2
    );
    min-height: 24px;
}

.portal-layout .coming-date-dot {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: var(--tl-dot-size);
    height: var(--tl-dot-size);
    margin: 0 var(--tl-dot-text-gap) 0 0;
    border-radius: 50%;
    background: var(--brand);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--brand-light);
    box-sizing: border-box;
}

.portal-layout .coming-date-label {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 6px;
    white-space: nowrap;
}

.portal-layout .coming-date-day {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    white-space: nowrap;
}

.portal-layout .coming-date-week {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.2;
    white-space: nowrap;
}

.portal-layout .coming-date-movies {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.portal-layout .coming-date-movies .movie-row {
    margin: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: transparent;
}

.portal-layout .coming-timeline + .home-list-status {
    margin-top: 16px;
}

/* 电影海报网格 */
.portal-layout .movie-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}

.portal-layout .movie-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-radius: 13px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.portal-layout .movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.portal-layout .movie-card__poster-link {
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #e5e7eb;
}

.portal-layout .movie-card__poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portal-layout .movie-card__poster-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 12px;
    color: #9ca3af;
    background: #f3f4f6;
}

.portal-layout .movie-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
    padding: 12px 12px 14px;
}

.portal-layout .movie-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-layout .movie-card__score {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.portal-layout .movie-card__score strong {
    color: var(--brand);
    font-size: 16px;
}

.portal-layout .movie-card__meta {
    margin: 0;
    font-size: 12px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-layout .movie-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.portal-layout .movie-card__btn:hover {
    background: var(--brand-dark);
    color: #fff !important;
}

.portal-layout .movie-card__btn--presale {
    background: #2563eb;
}

.portal-layout .movie-card__btn--presale:hover {
    background: #1d4ed8;
}

/* 影院网格 */
.portal-layout .cinema-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.portal-layout .cinema-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    min-height: 0;
    text-decoration: none;
    color: inherit;
}

.portal-layout a.cinema-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    color: inherit;
}

.portal-layout .cinema-card__body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.portal-layout .cinema-card__name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.portal-layout .cinema-card__addr {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portal-layout .cinema-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 0;
}

.portal-layout .cinema-card__tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
}

.portal-layout .cinema-card__tag-label {
    background: #ecfdf5;
    color: #059669;
}

.portal-layout .cinema-card__tag-no-refund {
    background: #fff1f2;
    color: var(--brand);
}

.portal-layout .cinema-card__foot {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    flex-shrink: 0;
    min-height: 32px;
}

.portal-layout .cinema-card__foot .cinema-card__tags {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.portal-layout .cinema-card__foot .cinema-card__tags:not(:empty) {
    margin-right: auto;
}

.portal-layout .cinema-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: flex-end;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.portal-layout .cinema-card__btn:hover {
    background: var(--brand-dark);
}

.portal-layout .home-content .loading-tip,
.portal-layout .home-content .empty-tip,
.portal-layout .home-content .error-tip {
    padding: 48px 20px;
    text-align: center;
    color: var(--text-secondary);
}

@media (min-width: 769px) {
    .portal-layout .movie-row:not(.movie-row--coming) {
        display: block;
    }

    .portal-layout .home-section-toolbar__inner {
        min-height: 56px;
        padding: 0;
    }

    /* PC：Tab 贴顶 + 整页滚动，页脚随列表到底后出现 */
    body.portal-layout.home-layout {
        --home-header-height: var(--portal-sticky-top, 72px);
    }

    body.portal-layout.home-layout .home-section-toolbar {
        position: sticky;
        top: var(--home-header-height);
        z-index: 900;
    }

    .portal-layout .home-section-stat strong {
        color: var(--brand);
        font-size: 20px;
        font-weight: 800;
        font-style: italic;
        font-variant-numeric: tabular-nums;
    }

    .portal-layout .movie-row__score-line {
        color: var(--text);
        font-weight: 400;
        font-size: 12px;
    }

    .portal-layout .movie-row__score-line .home-score-num {
        color: var(--brand);
        font-size: 15px;
        font-weight: 800;
        font-style: italic;
        font-variant-numeric: tabular-nums;
        margin-right: 4px;
    }

    .portal-layout .movie-row__score-line .home-score-unit {
        font-size: 12px;
        font-weight: 400;
        font-style: normal;
        color: var(--text-secondary);
    }

    body.portal-layout.home-layout .home-page,
    body.portal-layout.home-layout .home-content-section,
    body.portal-layout.home-layout .home-content-section > .site-inner,
    body.portal-layout.home-layout #homeContent {
        flex: none;
        min-height: auto;
        overflow: visible;
    }
}

@media (max-width: 1200px) {
    .portal-layout .movie-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .portal-layout .home-hero__inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 28px 0 32px;
    }

    .portal-layout .home-hero__visual {
        display: none;
    }

    .portal-layout .home-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portal-layout .home-service-item:nth-child(2n) {
        border-right: none;
    }

    .portal-layout .home-service-item:nth-child(-n+3) {
        border-bottom: 1px solid var(--border);
    }

    .portal-layout .cinema-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* 手机端：搜索 + Tab 固定，仅列表滚动 */
    body.portal-layout.home-layout {
        height: 100dvh;
        overflow: hidden;
    }

    body.portal-layout.home-layout > main {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
    }

    body.portal-layout.home-layout .site-main-home {
        flex: 1;
        min-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    body.portal-layout.home-layout .home-page {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    body.portal-layout.home-layout .home-hero,
    body.portal-layout.home-layout .home-screenshot-strip,
    body.portal-layout.home-layout .home-section-toolbar {
        flex-shrink: 0;
    }

    body.portal-layout.home-layout .home-content-section {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    body.portal-layout.home-layout .home-content-section > .site-inner {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    body.portal-layout.home-layout #homeContent {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .portal-layout #homeContent .home-ptr {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        gap: 8px;
        height: var(--home-ptr-offset, 0px);
        margin-top: calc(-1 * var(--home-ptr-offset, 0px));
        color: var(--text-secondary);
        font-size: 13px;
        line-height: 1;
        pointer-events: none;
        transition: height 0.2s ease, margin-top 0.2s ease;
        overflow: hidden;
    }

    .portal-layout #homeContent .home-ptr.is-pulling,
    .portal-layout #homeContent .home-ptr.is-ready,
    .portal-layout #homeContent .home-ptr.is-loading {
        transition: none;
    }

    .portal-layout #homeContent .home-ptr__spinner {
        width: 14px;
        height: 14px;
        border: 2px solid #e5e7eb;
        border-top-color: var(--brand);
        border-radius: 50%;
        opacity: 0;
        transform: scale(0.8);
        transition: opacity 0.15s ease;
    }

    .portal-layout #homeContent .home-ptr.is-loading .home-ptr__spinner {
        opacity: 1;
        animation: home-ptr-spin 0.7s linear infinite;
    }

    @keyframes home-ptr-spin {
        to {
            transform: rotate(360deg);
        }
    }

    body.portal-layout.home-layout #homeContent::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    /* 手机端：仅保留城市 + 搜索，去掉 Banner 文案与视觉 */
    .portal-layout .home-hero {
        min-height: auto;
        background: var(--surface);
        border-bottom: none;
    }

    .portal-layout .home-hero__inner {
        min-height: auto;
        padding: 8px 0 4px;
        gap: 0;
    }

    .portal-layout .home-hero__eyebrow,
    .portal-layout .home-hero__title,
    .portal-layout .home-hero__desc,
    .portal-layout .home-hero__actions,
    .portal-layout .home-hero__visual {
        display: none !important;
    }

    .portal-layout .home-hero-search {
        max-width: none;
        width: 100%;
    }

    .portal-layout .home-service-strip {
        display: none !important;
    }

    .portal-layout .home-content-section {
        padding-top: 0;
    }

    .portal-layout .home-section-toolbar {
        margin-top: 0;
        border-bottom: none;
    }

    .portal-layout .home-section-toolbar__inner {
        min-height: 48px;
        padding: 0;
    }

    .portal-layout .home-section-toolbar::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: var(--border);
    }

    .portal-layout .home-toolbar {
        flex-wrap: nowrap;
        min-height: 44px;
        border-radius: 10px;
        box-shadow: none;
        border: 1px solid var(--border);
        background: #fff;
    }

    .portal-layout .home-city-btn,
    .portal-layout .home-search-type-drop {
        border-right: 1px solid var(--border);
        border-bottom: none;
        flex-shrink: 0;
    }

    .portal-layout .home-search-type-drop {
        min-width: 52px;
    }

    .portal-layout .home-search-type-menu {
        min-width: 80px;
    }

    .portal-layout .home-search-type-trigger {
        min-height: 42px;
        padding: 0 8px;
        font-size: 13px;
        white-space: nowrap;
    }

    .portal-layout #homeSearchTypeLabel {
        white-space: nowrap;
    }

    .portal-layout .home-city-btn {
        padding: 0 10px;
        font-size: 13px;
        border-radius: 10px 0 0 10px;
    }

    .portal-layout .home-search-field {
        flex: 1 1 auto;
        min-height: 42px;
        min-width: 0;
        padding: 0 4px 0 10px;
        border-radius: 0 10px 10px 0;
        border-bottom: none;
    }

    .portal-layout .home-search-input {
        font-size: 14px;
    }

    .portal-layout .home-search-submit {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .portal-layout .coming-timeline {
        --tl-line-left: 4px;
        --tl-dot-size: 8px;
        --tl-dot-text-gap: 6px;
        --tl-list-indent: 16px;
    }

    .portal-layout .coming-date-group {
        margin-bottom: 20px;
    }

    .portal-layout .coming-date-header {
        margin-bottom: 8px;
    }

    .portal-layout .coming-date-day {
        font-size: 14px;
    }

    .portal-layout .coming-date-week {
        font-size: 12px;
    }

    .portal-layout .coming-date-label {
        gap: 4px;
    }

    .portal-layout .movie-row {
        flex-wrap: nowrap;
        gap: 10px;
        padding: 8px 10px;
    }

    .portal-layout .movie-row--coming {
        padding-left: 0;
        padding-right: 0;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .portal-layout .movie-row:not(.movie-row--coming) {
        --movie-poster-w: 60px;
        --movie-poster-h: calc(var(--movie-poster-w) * 3 / 2);
        --movie-leading-gap: 10px;
        padding: 8px 10px;
    }

    .portal-layout .movie-row:not(.movie-row--coming) .movie-row__body {
        min-height: 0;
    }

    .portal-layout .movie-row:not(.movie-row--coming) .movie-row__leading {
        gap: 10px;
    }

    .portal-layout .movie-row:not(.movie-row--coming) .movie-row__title {
        font-size: 14px;
    }

    .portal-layout .movie-row:not(.movie-row--coming) .movie-row__info-main .movie-row__line {
        font-size: 11px;
    }

    .portal-layout .movie-row--coming .movie-row__poster-link {
        width: 68px;
    }

    .portal-layout .movie-row--coming .movie-row__poster {
        width: 68px;
        height: 90px;
    }

    .portal-layout .movie-row--coming .movie-row__body {
        min-height: 90px;
    }

    .portal-layout .movie-row__body {
        flex: 1;
        min-width: 0;
        min-height: 0;
        padding-bottom: 0;
        gap: 2px;
    }

    .portal-layout .movie-row__title {
        font-size: 15px;
        padding-right: 0;
        line-height: 1.25;
    }

    .portal-layout .movie-row__score {
        font-size: 16px;
    }

    .portal-layout .movie-row__line {
        font-size: 12px;
        line-height: 1.35;
    }

    .portal-layout .movie-row__line .movie-row__label {
        display: inline-block;
        min-width: 32px;
    }

    .portal-layout .movie-row .movie-row__line:not(.movie-row__line--coming) {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .portal-layout .movie-row--coming .movie-row__body {
        padding-bottom: 0;
    }

    .portal-layout .cinema-card {
        padding: 12px;
        gap: 6px;
    }

    .portal-layout .home-section-tabs {
        flex: 0 1 auto;
    }

    .portal-layout .home-section-meta {
        margin-left: auto;
        justify-content: flex-end;
    }

    .portal-layout .movie-row:not(.movie-row--coming) .movie-row__body {
        gap: 2px 8px;
        min-height: 0;
    }

    .portal-layout .movie-row:not(.movie-row--coming) .movie-row__foot {
        margin-top: 0;
        padding-top: 0;
        align-self: center;
    }

    .portal-layout .movie-row__line--muted {
        font-size: 11px;
    }

    .portal-layout .movie-row__score-line {
        -webkit-line-clamp: 1;
    }

    .portal-layout .cinema-card__tags {
        margin-top: 4px;
    }

    .portal-layout .movie-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

/* 城市弹层 */
.city-modal.hidden {
    display: none;
}

.city-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.city-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.city-modal-panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 80vh;
    background: var(--surface, #fff);
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
}

.city-modal-search {
    padding: 0 16px 10px;
    flex-shrink: 0;
}

.city-search-input {
    width: 100%;
    border: 1px solid var(--border, #e5e7eb);
    background: #f9fafb;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    color: var(--text, #1f2937);
}

.city-search-input:focus {
    border-color: var(--brand);
    background: #fff;
}

.city-modal-body {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
}

.city-modal-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 28px 24px 12px;
    min-height: 0;
}

.city-modal-index {
    position: absolute;
    right: 4px;
    top: 0;
    bottom: 24px;
    width: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 8px;
    gap: 2px;
    overflow-y: auto;
    z-index: 2;
}

.city-index-item {
    border: none;
    background: transparent;
    color: #999;
    font-size: 10px;
    line-height: 1.2;
    padding: 1px 2px;
    cursor: pointer;
}

.city-index-item:hover {
    color: var(--brand);
}

.city-letter-section {
    margin-bottom: 8px;
}

.city-letter-title {
    margin: 0;
    padding: 10px 4px 6px;
    font-size: 13px;
    font-weight: 700;
    color: #999;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.city-pick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.city-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.city-modal-close {
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #999;
}

.city-modal-locate {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #f5f5f5;
    flex-shrink: 0;
}

.city-geo-tip {
    font-size: 12px;
    color: #999;
}

.city-pick-item {
    border: 1px solid #eee;
    background: #fafafa;
    border-radius: 8px;
    padding: 10px 8px;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
}

.city-pick-item.active,
.city-pick-item:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: var(--brand-light, #fff1f2);
}

@media (min-width: 768px) {
    .city-modal-panel {
        left: 50%;
        right: auto;
        bottom: auto;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 480px;
        max-height: 80vh;
        border-radius: 12px;
    }

    .city-pick-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .city-modal-index {
        right: 8px;
    }
}
