/* ============================================
   机场大屏系统 - 显示端样式
   苹果设计语言风格 + 真实机场大屏风格
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg-dark: #000;
    --bg-card: #1c1c1e;
    --bg-card-hover: #2c2c2e;
    --text-primary: #fff;
    --text-secondary: #8e8e93;
    --text-tertiary: #636366;
    --blue: #0a84ff;
    --blue-deep: #1565C0;
    --green: #30d158;
    --green-deep: #2E7D32;
    --orange: #ff9f0a;
    --orange-deep: #E65100;
    --red: #ff453a;
    --red-deep: #C62828;
    --gray: #8e8e93;
    --yellow: #FFD60A;
    --border: rgba(255,255,255,0.08);
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========== 模式选择页 ========== */
.mode-select {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #000 0%, #1c1c1e 100%);
}
.select-container {
    text-align: center;
    width: 90%;
    max-width: 900px;
}
.select-header h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}
.select-header p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
}
.select-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.select-card {
    flex: 1;
    min-width: 320px;
    max-width: 400px;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px 32px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
}
.select-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--blue);
}
.card-icon svg { width: 100%; height: 100%; }
.card-gate .card-icon { color: var(--green); }
.card-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}
.card-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    letter-spacing: 1px;
}
.card-desc {
    font-size: 15px;
    color: var(--text-tertiary);
}
.select-footer {
    margin-top: 40px;
    color: var(--text-tertiary);
    font-size: 13px;
}
.select-footer a {
    color: var(--blue);
    text-decoration: none;
}

/* ========== 航班动态模式（蓝色机场风格） ========== */
.flight-display {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #0d2b6e 0%, #1565c0 45%, #0d47a1 100%);
    color: #fff;
}
.flight-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(255,255,255,0.12);
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-left { display: flex; gap: 8px; }
.mode-toggle {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.mode-toggle.active {
    background: var(--yellow);
    color: #000;
    font-weight: 700;
}
.mode-toggle:hover:not(.active) {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.header-center h1 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}
.header-right { text-align: right; }
.clock {
    font-size: 28px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
    color: #fff;
}
.date {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 2px;
}
.flight-table-header {
    display: grid;
    grid-template-columns: 100px 140px 1fr 140px 100px 140px;
    padding: 14px 32px;
    background: rgba(255,255,255,0.08);
    border-bottom: 2px solid rgba(255,255,255,0.15);
    font-size: 14px;
    color: var(--yellow);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.flight-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}
.flight-list {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.flight-page {
    width: 100%;
    flex: 1;
}
.flight-row {
    display: grid;
    grid-template-columns: 100px 140px 1fr 140px 100px 140px;
    padding: 18px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    align-items: center;
    transition: background 0.2s;
    animation: fadeIn 0.3s ease;
    color: #fff;
    font-size: 16px;
}
.flight-row:hover { background: rgba(255,255,255,0.06); }
.flight-row-codeshare {
    background: rgba(255,255,255,0.03);
}
.flight-row-codeshare:hover { background: rgba(255,255,255,0.08); }
.fd-codeshare-tag {
    display: inline-block;
    padding: 2px 8px;
    background: var(--yellow);
    color: #000;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.col-airline { display: flex; align-items: center; gap: 10px; }
.airline-logo-small {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #0d47a1;
    overflow: hidden;
}
.airline-logo-small img { width: 100%; height: 100%; object-fit: contain; }
.airline-code-text { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 500; }
.col-flight {
    font-size: 20px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}
.col-dest {
    font-size: 18px;
    font-weight: 600;
}
.col-dest .dest-code-small {
    font-size: 12px;
    color: var(--yellow);
    margin-left: 8px;
    font-weight: 600;
    letter-spacing: 1px;
}
.col-time {
    font-size: 19px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.col-time .time-delayed { color: #ff9500; }
.col-time .time-original {
    text-decoration: line-through;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    margin-right: 6px;
}
.col-gate {
    font-size: 20px;
    font-weight: 800;
    color: var(--yellow);
    font-variant-numeric: tabular-nums;
}
.col-status { display: flex; }
.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.sb-waiting { background: rgba(255,255,255,0.15); color: #fff; }
.sb-boarding { background: #34c759; color: #fff; animation: pulse-green 1.5s infinite; }
.sb-last_call { background: #ff9500; color: #fff; animation: pulse-orange 1s infinite; }
.sb-boarding_closed { background: #ff3b30; color: #fff; }
.sb-delayed { background: #ff9500; color: #fff; }
.sb-canceled { background: #ff3b30; color: #fff; }
.sb-arrived { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); }
.sb-departed { background: #5856d6; color: #fff; }
@keyframes pulse-green {
    0%, 100% { background: #34c759; }
    50% { background: #28a745; }
}
@keyframes pulse-orange {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.flight-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 32px;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}
.back-btn {
    color: var(--yellow);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.loading, .empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.6);
    font-size: 16px;
}

/* ========== 登机口大屏模式（真实机场风格） ========== */
.gate-display {
    min-height: 100vh;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
}
.gate-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: #1c1c1e;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.gate-selector label { color: var(--text-secondary); }
.gate-selector select {
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #2c2c2e;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
}
.fs-btn {
    padding: 6px 14px;
    border: none;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
}
.gate-selector .back-btn { margin-left: auto; }

/* 大屏主体 - 固定蓝色背景 */
.gate-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #0d2b6e 0%, #1565c0 45%, #0d47a1 100%);
    position: relative;
    overflow: hidden;
}

/* 顶部栏：登机口号 + 时钟 */
.gs-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5vh 2.5vw;
    border-bottom: 2px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.15);
}
.gs-gate-label {
    display: flex;
    align-items: center;
    gap: 14px;
}
.gs-gate-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gs-gate-icon svg { width: 34px; height: 34px; color: #000; }
.gs-gate-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.gs-gate-cn {
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 700;
    color: #fff;
}
.gs-gate-en {
    font-size: clamp(12px, 1.3vw, 18px);
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1.5px;
}
.gs-gate-number {
    font-size: clamp(44px, 6vw, 84px);
    font-weight: 900;
    color: var(--yellow);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -1px;
    margin-left: 8px;
}
.gs-clock {
    text-align: right;
    flex-shrink: 0;
}
.gs-clock-label {
    font-size: clamp(13px, 1.4vw, 18px);
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2px;
}
.gs-clock-time {
    font-size: clamp(30px, 3.8vw, 52px);
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

/* 主内容区：左侧航班信息 + 右侧状态方块 */
.gs-main {
    flex: 1;
    display: flex;
    gap: 2vw;
    padding: 2.5vh 2.5vw;
    min-height: 0;
}

/* 左侧航班信息大区域 - 固定蓝色 */
.gs-flight-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

/* 航班号行 */
.gs-flight-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 8px;
    flex-shrink: 0;
}
.gs-airline-logo {
    width: clamp(56px, 6vw, 88px);
    height: clamp(56px, 6vw, 88px);
    border-radius: 14px;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.gs-airline-logo img { width: 85%; height: 85%; object-fit: contain; }
.gs-logo-text {
    font-size: clamp(20px, 2.5vw, 34px);
    font-weight: 800;
    color: #0d47a1;
}
.gs-flight-number {
    font-size: clamp(52px, 7.5vw, 110px);
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

/* 共享航班 - 带logo，用竖线分隔 */
.gs-codeshare {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
    min-height: 1.5em;
    flex-shrink: 0;
}
.gs-codeshare-label {
    display: inline-flex;
    align-items: center;
    padding: 4px 14px;
    background: var(--yellow);
    color: #000;
    border-radius: 6px;
    font-size: clamp(14px, 1.6vw, 22px);
    font-weight: 800;
    letter-spacing: 1px;
    margin-right: 6px;
    flex-shrink: 0;
}
.gs-codeshare-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.gs-codeshare-logo {
    width: clamp(38px, 4.2vw, 60px);
    height: clamp(38px, 4.2vw, 60px);
    border-radius: 8px;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.gs-codeshare-logo img { width: 80%; height: 80%; object-fit: contain; }
.gs-codeshare-logo .gs-logo-text { font-size: clamp(13px, 1.5vw, 20px); }
.gs-codeshare-number {
    font-size: clamp(26px, 3.2vw, 44px);
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    font-variant-numeric: tabular-nums;
}
.gs-codeshare-sep {
    font-size: clamp(26px, 3.2vw, 44px);
    color: rgba(255,255,255,0.4);
    font-weight: 300;
}

/* 目的地 */
.gs-destination {
    margin-top: auto;
    margin-bottom: auto;
    flex-shrink: 0;
}
.gs-dest-cn {
    font-size: clamp(60px, 9vw, 130px);
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.25em;
    line-height: 1.1;
    padding-left: 0.25em;
}
.gs-dest-en {
    font-size: clamp(26px, 3.5vw, 50px);
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 0.15em;
    margin-top: 4px;
    padding-left: 0.15em;
}
.gs-stopover {
    margin-top: 1.2vh;
    font-size: clamp(16px, 1.8vw, 24px);
    color: rgba(255,255,255,0.8);
}
.gs-stopover span { color: var(--yellow); font-weight: 600; }

/* 右侧状态方块 - 唯一随状态变色的区域 */
.gs-status-box {
    width: 26%;
    min-width: 200px;
    max-width: 340px;
    background: var(--blue);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5vh 1.5vw;
    text-align: center;
    transition: background 0.5s;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.gs-etd-label {
    font-size: clamp(15px, 1.7vw, 22px);
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.gs-etd-time {
    font-size: clamp(42px, 5.8vw, 76px);
    font-weight: 900;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 1.5vh;
}
.gs-status-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1vh;
}
.gs-status-icon svg { width: 32px; height: 32px; color: #fff; }
.gs-status-cn {
    font-size: clamp(30px, 3.8vw, 48px);
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.2;
}
.gs-status-en {
    font-size: clamp(15px, 1.7vw, 22px);
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 1px;
    margin-top: 2px;
}

/* 底部提示条 - 固定蓝色 */
.gs-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(13,71,161,0.7);
    padding: 1.2vh 2.5vw;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.gs-notice { flex: 1; }
.gs-notice-cn {
    display: block;
    font-size: clamp(15px, 1.7vw, 21px);
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
.gs-notice-en {
    display: block;
    font-size: clamp(11px, 1.2vw, 15px);
    font-weight: 500;
    color: var(--yellow);
    letter-spacing: 0.5px;
}

/* 无航班状态 */
.gate-screen.no-flight-mode .gs-top { display: none; }
.gate-screen.no-flight-mode .gs-flight-info { display: none; }
.gate-screen.no-flight-mode .gs-status-box { display: none; }
.gate-screen.no-flight-mode .gs-main { justify-content: center; }
.gs-no-flight {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    gap: 2vh;
}
.gs-nf-gate {
    font-size: clamp(80px, 18vw, 240px);
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.gs-nf-text-cn {
    font-size: clamp(18px, 2.5vw, 32px);
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}
.gs-nf-text-en {
    font-size: clamp(14px, 1.8vw, 22px);
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.05em;
}

/* ========== 状态颜色（仅作用于右侧状态方块） ========== */
.st-waiting .gs-status-box { background: linear-gradient(135deg, #1976d2, #0d47a1); }

.st-boarding .gs-status-box {
    background: linear-gradient(135deg, #43a047, #1b5e20);
    animation: gs-flash-green 1.2s infinite;
}
@keyframes gs-flash-green {
    0%, 100% { background: linear-gradient(135deg, #43a047, #1b5e20); }
    50% { background: linear-gradient(135deg, #66bb6a, #2e7d32); }
}

.st-last_call .gs-status-box {
    background: linear-gradient(135deg, #fb8c00, #e65100);
    animation: gs-flash-orange 0.9s infinite;
}
@keyframes gs-flash-orange {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.st-boarding_closed .gs-status-box { background: linear-gradient(135deg, #e53935, #b71c1c); }
.st-delayed .gs-status-box { background: linear-gradient(135deg, #fb8c00, #e65100); }
.st-canceled .gs-status-box { background: linear-gradient(135deg, #e53935, #b71c1c); }
.st-arrived .gs-status-box { background: linear-gradient(135deg, #757575, #424242); }
.st-completed .gs-status-box { background: linear-gradient(135deg, #546e7a, #37474f); }

/* ========== 后续航班表格覆盖层 ========== */
.gs-upcoming-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(160deg, #0d2b6e 0%, #1565c0 45%, #0d47a1 100%);
    display: flex;
    flex-direction: column;
    padding: 3vh 3vw;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    transform: translateY(10px);
}
.gs-upcoming-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.gs-upcoming-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5vh;
    padding-bottom: 1.5vh;
    border-bottom: 2px solid rgba(255,255,255,0.15);
}
.gs-upcoming-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 800;
    color: var(--yellow);
}
.gs-upcoming-gate {
    font-size: clamp(20px, 2.2vw, 30px);
    font-weight: 700;
    color: #fff;
}
.gs-upcoming-table {
    width: 100%;
    border-collapse: collapse;
    font-size: clamp(18px, 2vw, 28px);
}
.gs-upcoming-table thead th {
    background: rgba(255,255,255,0.12);
    padding: 1.2vh 1.5vw;
    text-align: left;
    font-weight: 700;
    color: #fff;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    letter-spacing: 1px;
}
.gs-upcoming-table tbody td {
    padding: 1.1vh 1.5vw;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.gs-upcoming-table tbody tr:nth-child(even) td {
    background: rgba(255,255,255,0.03);
}
.gs-upcoming-table .uc-current td {
    background: rgba(255,193,7,0.15) !important;
    color: var(--yellow);
    font-weight: 700;
}
.gs-upcoming-logo {
    width: clamp(28px, 3vw, 40px);
    height: clamp(28px, 3vw, 40px);
    border-radius: 6px;
    background: rgba(255,255,255,0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    vertical-align: middle;
    margin-right: 10px;
}
.gs-upcoming-logo img { width: 80%; height: 80%; object-fit: contain; }
.gs-upcoming-logo .gs-logo-text { font-size: clamp(10px, 1.2vw, 16px); color: #0d47a1; }
.uc-airline-name {
    font-size: 0.85em;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    vertical-align: middle;
}
.uc-flight-no {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}
.uc-codeshare-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--yellow);
    color: #000;
    border-radius: 4px;
    font-size: 0.7em;
    font-weight: 800;
    margin-right: 10px;
    vertical-align: middle;
    letter-spacing: 1px;
}
.gs-upcoming-table .uc-codeshare td {
    background: rgba(255,255,255,0.04) !important;
    color: rgba(255,255,255,0.85);
}
.gs-upcoming-dest { font-weight: 600; }
.gs-upcoming-dest small {
    display: block;
    font-size: 0.7em;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
    margin-top: 2px;
}

/* 无航班提示 */
.no-flight {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(160deg, #0d2b6e 0%, #1565c0 45%, #0d47a1 100%);
}
.nf-icon {
    width: 80px;
    height: 80px;
    color: rgba(255,255,255,0.3);
}
.nf-icon svg { width: 100%; height: 100%; }
.nf-text {
    font-size: 28px;
    color: #fff;
    font-weight: 600;
}
.nf-text-en {
    font-size: 18px;
    color: rgba(255,255,255,0.5);
}

/* 响应式 */
@media (max-width: 768px) {
    .flight-table-header, .flight-row {
        grid-template-columns: 70px 100px 1fr 90px 70px 100px;
        padding: 12px 16px;
        font-size: 14px;
    }
    .gs-main { flex-direction: column; }
    .gs-status-box { width: 100%; max-width: none; }
    .gs-dest-cn { letter-spacing: 0.15em; padding-left: 0.15em; }
    .gs-codeshare { padding-left: 0; }
}

/* ========== 航班动态轮播 ========== */
.flight-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.flight-page {
    width: 100%;
}
.flight-page.page-enter {
    animation: pageSlideIn 0.5s ease-out;
}
@keyframes pageSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 全屏按钮 */
.fs-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 144px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px;
    transition: background 0.2s;
}
.fs-btn:hover { background: rgba(255,255,255,0.2); }

/* 页码指示器 */
.page-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 6px 0;
}
.page-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transition: all 0.3s;
}
.page-dot.active {
    background: var(--blue, #0a84ff);
    width: 24px;
    border-radius: 4px;
}
.page-info {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    margin-left: 12px;
}

/* 全屏模式下调整 */
.flight-display:fullscreen {
    background: linear-gradient(160deg, #0d2b6e 0%, #1565c0 45%, #0d47a1 100%);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
.flight-display:fullscreen .header-left { display: none; }
.flight-display:fullscreen .header-right .date { display: none; }
.flight-display:fullscreen .header-right .fs-btn { display: none; }
.flight-display:fullscreen .flight-header { padding: 24px 48px; justify-content: center; }
.flight-display:fullscreen .header-center { text-align: center; }
.flight-display:fullscreen .header-center h1 { font-size: 36px; letter-spacing: 3px; }
.flight-display:fullscreen .header-right { position: absolute; right: 48px; top: 50%; transform: translateY(-50%); }
.flight-display:fullscreen .clock { font-size: 42px; }
.flight-display:fullscreen .flight-table-header { padding: 18px 48px; font-size: 18px; letter-spacing: 2px; }
.flight-display:fullscreen .flight-row { padding: 26px 48px; font-size: 20px; }
.flight-display:fullscreen .col-flight { font-size: 28px; }
.flight-display:fullscreen .col-dest { font-size: 24px; }
.flight-display:fullscreen .col-time { font-size: 26px; }
.flight-display:fullscreen .col-gate { font-size: 28px; }
.flight-display:fullscreen .airline-code-text { font-size: 14px; }
.flight-display:fullscreen .status-badge { font-size: 18px; padding: 10px 22px; }
.flight-display:fullscreen .flight-footer { padding: 18px 48px; font-size: 16px; }
.flight-display:fullscreen .flight-tip-bar { padding: 12px 48px; }
.flight-display:fullscreen .tip-cn { font-size: 18px; }
.flight-display:fullscreen .tip-en { font-size: 14px; }
.flight-display:fullscreen .back-btn { display: none; }
.flight-display:-webkit-full-screen {
    background: linear-gradient(160deg, #0d2b6e 0%, #1565c0 45%, #0d47a1 100%);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}
.flight-display:-webkit-full-screen .header-left { display: none; }
.flight-display:-webkit-full-screen .header-right .date { display: none; }
.flight-display:-webkit-full-screen .header-right .fs-btn { display: none; }
.flight-display:-webkit-full-screen .flight-header { padding: 24px 48px; justify-content: center; }
.flight-display:-webkit-full-screen .header-center { text-align: center; }
.flight-display:-webkit-full-screen .header-center h1 { font-size: 36px; letter-spacing: 3px; }
.flight-display:-webkit-full-screen .header-right { position: absolute; right: 48px; top: 50%; transform: translateY(-50%); }
.flight-display:-webkit-full-screen .clock { font-size: 42px; }
.flight-display:-webkit-full-screen .flight-table-header { padding: 18px 48px; font-size: 18px; letter-spacing: 2px; }
.flight-display:-webkit-full-screen .flight-row { padding: 26px 48px; font-size: 20px; }
.flight-display:-webkit-full-screen .col-flight { font-size: 28px; }
.flight-display:-webkit-full-screen .col-dest { font-size: 24px; }
.flight-display:-webkit-full-screen .col-time { font-size: 26px; }
.flight-display:-webkit-full-screen .col-gate { font-size: 28px; }
.flight-display:-webkit-full-screen .status-badge { font-size: 18px; padding: 10px 22px; }
.flight-display:-webkit-full-screen .back-btn { display: none; }

/* 底部提示栏 */
.flight-tip-bar {
    background: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 8px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.flight-tip-bar .tip-cn {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
}
.flight-tip-bar .tip-en {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
}
