:root {
    --brand: #c8102e;
    --text: #222;
    --muted: #666;
    --line: #e5e5e5;
    --bg: #f7f7f8;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Microsoft YaHei", "微软雅黑", Verdana, Arial, sans-serif;
    font-size: 12px;
    color: #262626;
    background: #fff;
    line-height: 1.5;
}

.container { width: 1080px; margin: 0 auto; }
.container.narrow { max-width: 680px; }

/* ===== 站点外壳(还原线上:顶栏 + 红色主导航 + 1080 版式) ===== */
.st-top { height: 65px; background: linear-gradient(#f7f7f7, #d9d9d9); }
.st-top-inner { position: relative; width: 1080px; height: 65px; margin: 0 auto; }
.st-exit {
    position: absolute; right: 0; top: 18px; height: 29px; line-height: 29px; padding: 0 16px;
    background: #4a4a4a; color: #cfcfcf; font-size: 12px; border: none; border-radius: 3px; cursor: pointer;
}
.st-exit:hover { background: #3a3a3a; }
.st-nav { height: 42px; background: #D4121B; }
.st-nav-inner { display: flex; justify-content: flex-end; width: 1080px; height: 42px; margin: 0 auto; }
.st-nav a {
    display: block; line-height: 42px; padding: 0 24px; color: #fff; font-size: 14px; text-decoration: none;
    border-left: 1px solid #F00001; border-right: 1px solid #A70101;
}
.st-nav a:hover { background: #A70101; }

/* 首页控制台 */
.home-title { text-align: center; color: #ff0000; font-size: 40px; font-weight: normal; margin: 60px 0 34px; }
.user-card { width: 220px; margin: 0 auto; border: 1px solid #d2d2d2; background: #fff; }
.user-card .uc-head {
    display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; font-size: 14px;
    background: linear-gradient(#fafafa, #ececec); border-bottom: 1px solid #d2d2d2; border-left: 6px solid #3A5183;
}
.user-card .uc-head .uc-exit { color: #666; font-size: 12px; text-decoration: none; }
.user-card .uc-body { padding: 14px 14px 20px; font-size: 12px; }
.user-card .uc-body p { margin: 0 0 14px; }
.user-card .uc-body b { font-weight: bold; }
.uc-center-btn {
    display: block; width: 187px; margin: 6px auto 0; text-align: center; background: #1A429A; color: #fff;
    padding: 6px 0; font-size: 12px; text-decoration: none; border-radius: 3px;
}
.uc-center-btn:hover { background: #2053C3; }
.inline { display: inline; }
.link-btn { border: none; background: none; color: inherit; cursor: pointer; padding: 0; font-size: 12px; }

/* 首页登录卡(未登录态) */
.uc-body .uc-in { width: 100%; margin-bottom: 10px; padding: 6px 8px; border: 1px solid #cfcfcf; font-size: 12px; }
.uc-body .uc-remember { display: block; font-size: 12px; color: #666; margin-bottom: 10px; }
.uc-login-btn {
    display: block; width: 187px; margin: 2px auto 0; text-align: center; background: #1A429A;
    color: #fff; border: none; padding: 6px 0; font-size: 12px; border-radius: 3px; cursor: pointer;
}
.uc-login-btn:hover { background: #2053C3; }

main { padding: 20px 0 40px; }
h1 { font-size: 26px; }

.tag {
    display: inline-block; padding: 1px 8px; margin-left: 6px;
    font-size: 12px; color: var(--brand); background: #fdeef0; border-radius: 10px;
}

.card-list { list-style: none; padding: 0; }
.card-list li { background: #fff; padding: 14px 16px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 8px; }
.card-list a { color: var(--text); font-weight: 600; text-decoration: none; }
.card-list a:hover { color: var(--brand); }
.summary { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.data-table { width: 100%; border-collapse: collapse; background: #fff; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { background: #fafafa; }

.pager { margin-top: 20px; display: flex; gap: 14px; align-items: center; }
.pager a { color: var(--brand); text-decoration: none; }

.meta { color: var(--muted); font-size: 14px; }
.content-body { background: #fff; padding: 18px; border: 1px solid var(--line); border-radius: 8px; }
.empty { color: var(--muted); }

/* Form */
.form { display: flex; flex-direction: column; gap: 14px; background: #fff; padding: 20px; border: 1px solid var(--line); border-radius: 8px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.form input { padding: 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 15px; }
.btn { background: var(--brand); color: #fff; border: none; padding: 11px; border-radius: 6px; font-size: 15px; cursor: pointer; }
.btn:hover { opacity: .92; }
.hint { color: var(--muted); font-size: 13px; }

.alert { padding: 10px 14px; border-radius: 6px; margin-bottom: 14px; font-size: 14px; }
.alert.error { background: #fdecec; color: #b00020; border: 1px solid #f5c2c7; }
.alert.info { background: #e7f5ec; color: #1b6b34; border: 1px solid #bfe3c9; }

.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 18px 0; color: var(--muted); font-size: 13px; }

.st-footer { width: 1080px; margin: 30px auto 0; text-align: center; color: #555; font-size: 12px; padding: 20px 0 30px; }
.st-footer .emblem { vertical-align: -4px; margin-right: 6px; width: 18px; height: 18px; }
.st-footer a { color: #555; text-decoration: none; }

/* ===== 登录页(独立整页,还原旧站风格) ===== */
.lg-body { background: #fff; }
.lg-topstrip { height: 14px; background: #d9d9d9; }
.lg-banner { height: 72px; background: #c8102e; }
.lg-title {
    text-align: center; color: #d81e28; font-size: 40px; font-weight: 700;
    letter-spacing: 2px; margin: 70px 20px 40px;
}
.lg-card {
    width: 430px; max-width: 92%; margin: 0 auto; background: #fff;
    border: 1px solid #dcdcdc; box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.lg-card-head {
    padding: 12px 16px; font-size: 16px; color: #333;
    background: linear-gradient(#fafafa, #ececec);
    border-bottom: 1px solid #dcdcdc; border-left: 4px solid #2b4a8b;
}
.lg-card-body { padding: 26px 30px 30px; }
.lg-field {
    display: flex; align-items: stretch; margin-bottom: 18px;
    border: 1px solid #cfcfcf; background: #fff;
}
.lg-field:focus-within { border-color: #2b4a8b; }
.lg-icon {
    width: 42px; display: flex; align-items: center; justify-content: center;
    background: #f0f0f0; border-right: 1px solid #cfcfcf; color: #9a9a9a;
}
.lg-icon svg { width: 18px; height: 18px; fill: currentColor; }
.lg-field input {
    flex: 1; border: none; outline: none; padding: 11px 12px; font-size: 15px; background: transparent;
}
.lg-remember { display: flex; align-items: center; gap: 8px; margin: 2px 0 20px; font-size: 14px; color: #333; }
.lg-remember input { width: 16px; height: 16px; accent-color: #2b6fd6; }
.lg-submit {
    width: 100%; background: #2b4a8b; color: #fff; border: none; border-radius: 3px;
    padding: 12px; font-size: 16px; letter-spacing: 4px; cursor: pointer;
}
.lg-submit:hover { background: #23407a; }
.lg-alert { padding: 10px 12px; margin-bottom: 16px; font-size: 14px; border-radius: 4px; }
.lg-alert.error { background: #fdecec; color: #b00020; border: 1px solid #f5c2c7; }
.lg-alert.info { background: #e7f5ec; color: #1b6b34; border: 1px solid #bfe3c9; }
.lg-footer {
    text-align: center; color: #555; font-size: 14px; margin-top: 46px; padding-bottom: 48px;
}
.lg-footer .emblem { vertical-align: middle; margin-right: 6px; width: 18px; height: 18px; }

/* ===== 影院介绍(对齐旧站 cinema-list:每行两列,列内左图右文) ===== */
.cine-search { display: flex; align-items: center; gap: 12px; margin: 16px 0 26px; }
.cine-search input { flex: 0 1 480px; padding: 8px 10px; border: 1px solid #cfcfcf; font-size: 14px; }
.cine-search .cine-go { background: #1A429A; color: #fff; border: none; padding: 8px 22px; font-size: 14px; border-radius: 3px; cursor: pointer; }
.cine-search .cine-go:hover { background: #2053C3; }

.cine-list {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px;
    list-style: none; margin: 0; padding: 0;
}
.cine-item { display: flex; gap: 16px; }
.cine-thumb {
    position: relative; flex: 0 0 200px; width: 200px; height: 178px;
    display: block; overflow: hidden; background: #f2f2f2;
}
.cine-thumb img { width: 200px; height: 178px; object-fit: cover; display: block; border: 1px solid #ddd; }
.cine-thumb .cine-noimg {
    display: block; height: 178px; line-height: 178px; text-align: center;
    color: #999; font-size: 13px; border: 1px solid #ddd;
}
.cine-thumb .cine-bar {
    position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between;
    padding: 3px 10px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px;
}
.cine-info { flex: 1 1 auto; min-width: 0; }
.cine-info h5 { margin: 0 0 10px; font-size: 15px; font-weight: bold; }
.cine-addr { margin: 0 0 14px; color: #262626; font-size: 12px; }
.cine-detail {
    display: inline-block; padding: 5px 18px; background: #1A429A; color: #fff;
    font-size: 12px; text-decoration: none; border-radius: 3px;
}
.cine-detail:hover { background: #2053C3; }

@media (max-width: 900px) {
    .cine-list { grid-template-columns: 1fr; gap: 26px; }
}

/* 影院详情 */
.cinema-hero { margin: 20px 0; }
.cinema-hero .cinema-main { width: 100%; max-width: 960px; display: block; border: 1px solid #eee; }
.cinema-hero .cinema-title { font-size: 16px; font-weight: bold; color: #3A5183; margin: 12px 0 6px; }
.cinema-hero .cinema-addr { color: #c8102e; font-size: 13px; margin: 0; }
.cinema-meta { color: #666; font-size: 13px; margin: 10px 0; }
.cinema-meta p { margin: 4px 0; }
.cinema-desc { margin: 16px 0; line-height: 1.7; }
.cinema-shots { margin-top: 24px; }
.cinema-shots h2 { font-size: 16px; color: #333; border-left: 4px solid #c8102e; padding-left: 8px; }
.shot-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.shot-grid .shot { width: 180px; height: 120px; object-fit: cover; border: 1px solid #eee; }

/* ===== 百视通影片库(还原线上:左网格 + 右侧速查/年代) ===== */
.mv-wrap { display: flex; gap: 20px; align-items: flex-start; margin-top: 16px; }
.mv-main { flex: 1 1 auto; min-width: 0; }
.mv-side { flex: 0 0 200px; width: 200px; }
.mv-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mv-count { font-size: 14px; color: #333; }
.mv-count .mv-num { background: #1A429A; color: #fff; padding: 1px 8px; border-radius: 10px; font-size: 13px; }
.mv-search { display: flex; }
.mv-search input { width: 180px; padding: 6px 8px; border: 1px solid #cfcfcf; font-size: 13px; }
.mv-search .mv-go { margin-left: 6px; background: #1A429A; color: #fff; border: none; padding: 0 16px; font-size: 13px; border-radius: 3px; cursor: pointer; }
.mv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 16px; }
.mv-card { font-size: 12px; }
.mv-poster { display: block; width: 100%; max-width: 168px; height: 224px; line-height: 224px; text-align: center; color: #999; font-size: 16px; background: #f2f2f2; border: 1px solid #eee; margin-bottom: 8px; text-decoration: none; overflow: hidden; }
.mv-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mv-title { font-size: 13px; color: #333; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-meta { color: #666; margin: 3px 0; }
.mv-meta .cdn-bad { color: #c8102e; }
.mv-meta .cdn-ok { color: #2e7d32; }
.mv-actions { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.mv-btn { display: inline-block; background: #1A429A; color: #fff; text-decoration: none; padding: 4px 16px; font-size: 12px; border-radius: 3px; }
.mv-btn:hover { background: #2053C3; }
.mv-side-block { margin-bottom: 22px; }
.mv-side-title { font-size: 16px; color: #333; border-left: 4px solid #c8102e; padding-left: 8px; margin: 0 0 10px; }
.mv-links { line-height: 2; }
.mv-links a { color: #3A5183; text-decoration: none; }
.mv-links a:hover { color: #c8102e; }
.mv-alpha a { text-transform: uppercase; }

/* 影片详情 */
.mv-detail { margin-top: 20px; }
.mv-detail-top { display: flex; gap: 24px; }
.mv-detail-poster { flex: 0 0 200px; width: 200px; height: 268px; line-height: 268px; text-align: center; color: #999; font-size: 16px; background: #f2f2f2; border: 1px solid #eee; overflow: hidden; }
.mv-detail-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mv-detail-info { flex: 1 1 auto; }
.mv-detail-title { font-size: 24px; color: #333; font-weight: normal; margin: 0 0 16px; }
.mv-line { color: #666; margin: 6px 0; font-size: 13px; }
.mv-section { font-size: 16px; color: #333; border-left: 4px solid #c8102e; padding-left: 8px; margin: 26px 0 12px; }
.mv-detail-body { line-height: 1.8; }
.mv-brief { color: #555; margin: 14px 0; line-height: 1.8; }
.mv-buy { display: inline-block; background: #1A429A; color: #fff; text-decoration: none; padding: 6px 22px; font-size: 13px; border-radius: 3px; margin-top: 8px; }
.mv-buy:hover { background: #2053C3; }

/* ===== 用户中心(三行×三栏仪表盘 + 账户信息修改) ===== */
.mg-wrap { margin-top: 20px; }
.mg-flash { background: #eef6ee; border: 1px solid #cde3cd; color: #2e7d32; padding: 8px 12px; margin-bottom: 14px; }
.mg-row { display: flex; border: 1px solid #e2e2e2; margin-bottom: 18px; }
.mg-col { padding: 16px 18px; border-right: 1px solid #eee; }
.mg-col-h { flex: 0 0 200px; }
.mg-col-b { flex: 0 0 220px; }
.mg-col-o { flex: 1 1 auto; border-right: none; }
.mg-col h2 { font-size: 18px; font-weight: normal; color: #333; margin: 0 0 10px; }
.mg-col h3 { font-size: 15px; color: #333; margin: 0 0 12px; }
.mg-col p { color: #666; margin: 8px 0; }
.mg-btn { display: inline-block; background: #1A429A; color: #fff; text-decoration: none; padding: 6px 0; width: 180px; text-align: center; font-size: 13px; border: none; border-radius: 3px; cursor: pointer; }
.mg-btn:hover { background: #2053C3; }
.mg-form-wrap { width: 460px; margin: 40px auto; }
.mg-form-title { font-size: 26px; font-weight: normal; color: #333; margin-bottom: 24px; }
.mg-label { display: block; color: #333; margin: 16px 0 6px; font-size: 13px; }
.mg-input { width: 100%; padding: 8px 10px; border: 1px solid #cfcfcf; font-size: 13px; }
.mg-form-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* ===== 子账号管理(对齐旧站 management layout=addson / updateplaytimes / updateauthor) ===== */
.son-title { font-size: 20px; font-weight: normal; color: #333; margin: 12px 0 20px; }
.son-title .son-back { float: right; font-size: 12px; line-height: 28px; color: #3A5183; text-decoration: none; }
.son-title .son-back:hover { color: var(--brand); }
.son-subtitle { font-size: 14px; font-weight: bold; margin: 22px 0 10px; padding-left: 8px; border-left: 4px solid #3A5183; }
.son-list { border: 1px solid #e5e5e5; background: #fff; }
.son-item + .son-item { border-top: 1px solid #eee; }
.son-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 12px; }
.son-cell { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #333; }
.son-cell .son-label { color: #888; }
.son-cell input, .son-cell select { width: 132px; height: 26px; padding: 2px 6px; border: 1px solid #cfcfcf; font-size: 12px; }
.son-actions { display: flex; gap: 8px; margin-left: auto; }
.son-actions .mg-btn { width: auto; padding: 4px 16px; font-size: 12px; }
.mg-btn-danger { background: #c8102e; }
.mg-btn-danger:hover { background: #a50d26; }
.son-add { width: 460px; margin: 0 0 20px; }
.son-summary { margin: 14px 0 30px; color: #666; font-size: 12px; }

/* ===== 百视通历史订单 ===== */
.ho-wrap { margin-top: 20px; }
.ho-title { font-size: 24px; font-weight: normal; color: #333; margin: 0 0 16px; }
.ho-back { font-size: 13px; color: #999; text-decoration: none; margin-left: 10px; }
.ho-back:hover { color: #c8102e; }
.ho-filter { border: 1px solid #e2e2e2; padding: 12px 16px; margin-bottom: 18px; background: #fafafa; }
.ho-filter-row { display: flex; align-items: center; gap: 12px; margin: 6px 0; }
.ho-filter-row input[type=text] { width: 220px; padding: 6px 8px; border: 1px solid #cfcfcf; font-size: 13px; }
.ho-filter-row select { padding: 6px 8px; border: 1px solid #cfcfcf; font-size: 13px; }
.ho-count { color: #333; }
.ho-remain { color: #666; margin-left: auto; }
.ho-btn { display: inline-block; background: #1A429A; color: #fff; text-decoration: none; padding: 6px 16px; font-size: 13px; border: none; border-radius: 3px; cursor: pointer; }
.ho-btn:hover { background: #2053C3; }
.ho-order { border: 1px solid #d8d8d8; margin-bottom: 18px; }
.ho-order-head { display: flex; align-items: center; background: #eee; padding: 10px 16px; border-bottom: 1px solid #d8d8d8; }
.ho-col { flex: 0 0 200px; }
.ho-col p { margin: 2px 0; font-size: 13px; color: #333; }
.ho-label { color: #666; font-size: 12px; }
.ho-col-no { flex: 1 1 auto; text-align: right; }
.ho-print { color: #3A5183; text-decoration: none; font-size: 12px; }
.ho-print:hover { color: #c8102e; }
.ho-items { padding: 8px 16px; }
.ho-item { display: flex; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px dashed #eee; }
.ho-item:last-child { border-bottom: none; }
.ho-poster { flex: 0 0 90px; width: 90px; height: 120px; line-height: 120px; text-align: center; color: #999; font-size: 12px; background: #f2f2f2; border: 1px solid #eee; overflow: hidden; }
.ho-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ho-name { flex: 0 0 200px; color: #333; font-size: 14px; }
.ho-dev { flex: 0 0 200px; font-size: 13px; color: #666; }
.ho-dev p { margin: 2px 0; }
.ho-sub { flex: 0 0 120px; color: #666; font-size: 13px; }
.ho-act { flex: 1 1 auto; text-align: right; }

/* ===== 百视通设备管理 ===== */
.dv-wrap { margin-top: 20px; }
.dv-title { font-size: 24px; font-weight: normal; color: #333; margin: 0 0 16px; }
.dv-back { font-size: 13px; color: #999; text-decoration: none; margin-left: 10px; }
.dv-back:hover { color: #c8102e; }
.dv-panel { border: 1px solid #e2e2e2; border-radius: 4px; margin-bottom: 18px; background: #fff; }
.dv-panel-head { background: #f5f5f5; border-bottom: 1px solid #e2e2e2; padding: 10px 16px; font-size: 15px; color: #333; }
.dv-panel-body { padding: 14px 16px; }
.dv-add { display: flex; align-items: center; gap: 12px; }
.dv-add input[type=text] { flex: 1 1 auto; padding: 8px 10px; border: 1px solid #cfcfcf; font-size: 13px; }
.dv-addr-head { display: flex; align-items: center; justify-content: space-between; }
.dv-addr { font-weight: 600; }
.dv-btn { display: inline-block; background: #1A429A; color: #fff; text-decoration: none; padding: 6px 16px; font-size: 13px; border: none; border-radius: 3px; cursor: pointer; }
.dv-btn:hover { background: #2053C3; }
.dv-btn-sm { padding: 3px 12px; font-size: 12px; }
.dv-btn-del { background: #999; }
.dv-btn-del:hover { background: #777; }
.dv-devices { list-style: none; margin: 0; padding: 6px 16px; }
.dv-device { display: flex; align-items: center; gap: 14px; padding: 8px 0; border-bottom: 1px dashed #eee; }
.dv-device:last-child { border-bottom: none; }
.dv-dev-name { color: #333; font-size: 14px; flex: 1 1 auto; }
.dv-dev-code { color: #999; font-size: 13px; }
.dv-empty { color: #999; padding: 8px 0; }
.dv-bind { border-top: 1px solid #eee; padding: 12px 16px; background: #fafafa; }
.dv-bind-form { display: flex; align-items: center; gap: 12px; }
.dv-bind-form select { padding: 6px 8px; border: 1px solid #cfcfcf; font-size: 13px; min-width: 240px; }
.dv-nobind { color: #999; font-size: 13px; }

/* ===== 系统管理员放映平台(放映点/放映信息/放映统计/影片节目) ===== */
.console-wrap { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; align-items: start; }
.console-side { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 0; }
.console-side .cs-group { padding: 8px 16px 4px; font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.console-side a { display: block; padding: 9px 16px; color: var(--text); text-decoration: none; font-size: 14px; border-left: 3px solid transparent; }
.console-side a:hover { background: #f7f8fa; color: var(--brand); }
.console-side a.active { background: #f2f5fb; color: var(--brand); border-left-color: var(--brand); font-weight: 600; }
.console-main { min-width: 0; }

.filter-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin-bottom: 16px; }
.filter-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }
.filter-form input, .filter-form select { padding: 7px 9px; border: 1px solid var(--line); border-radius: 5px; font-size: 14px; min-width: 120px; background: #fff; }
.filter-form button { padding: 8px 16px; background: var(--brand); color: #fff; border: none; border-radius: 5px; cursor: pointer; font-size: 14px; }
.filter-form button:hover { opacity: .92; }
.filter-actions { display: flex; gap: 12px; align-items: center; }

.link { color: var(--brand); text-decoration: none; font-size: 14px; margin-right: 10px; }
.link:hover { text-decoration: underline; }
.muted { color: var(--muted); }

.label { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 12px; background: #eef1f6; color: #44506b; margin-right: 6px; }
.label.ok { background: #e7f5ec; color: #1b6b34; }
.label.warn { background: #fff4e0; color: #8a5a00; }
.label.bad { background: #fdecec; color: #b00020; }
.label.muted { background: #f0f0f0; color: #777; }

.stat-table .rank { display: inline-block; width: 24px; text-align: center; }
.stat-table .rank.top { color: #c8102e; font-weight: 700; }

.form textarea { padding: 10px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-family: inherit; }
.form-actions { display: flex; gap: 14px; align-items: center; }

@media (max-width: 860px) {
    .console-wrap { grid-template-columns: 1fr; }
}

/* ===== 关于我们(对齐旧站 css/aboutus.css) ===== */
.aboutus-page { padding-top: 0; }
.aboutus-page::after { content: ""; display: block; clear: both; }
.aboutus { width: 88%; margin: 0 auto; text-align: left; font-size: 13px; line-height: 1.9; }
.aboutus p { margin: 0 0 10px; }

/* ===== 我的购物车 / 购买影片(对齐旧站 css/shop_cart.css + shop_buy.css) ===== */
.cart-page { padding-top: 20px; }
.cart-flash { padding: 8px 12px; margin-bottom: 14px; font-size: 13px; border-radius: 3px; }
.cart-flash-ok { background: #e7f5ec; border: 1px solid #bfe3c9; color: #1b6b34; }
.cart-flash-warn { background: #fdecec; border: 1px solid #f5c2c7; color: #b00020; }

.cart-empty { text-align: center; height: 400px; }
.cart-empty img { width: 300px; max-width: 100%; }

.cart-body { display: flex; align-items: flex-start; gap: 29px; }
.cart-main {
    flex: 0 0 780px; max-width: 780px; border: 1px solid #a1a1a1;
    padding: 20px 30px; font-size: 14px;
}
.cart-head {
    display: flex; align-items: center; justify-content: space-between;
    border: 1px solid #a1a1a1; background: #bce8f1; padding: 4px 10px; margin-bottom: 4px;
}
.cart-head h4 { margin: 0; font-size: 18px; font-weight: normal; }
.cart-delivery { margin: 0; font-weight: normal; cursor: pointer; }

.cart-item {
    display: flex; align-items: flex-start; gap: 16px;
    min-height: 113px; padding: 10px 0; border-bottom: 1px solid #a1a1a1;
}
.cart-name {
    flex: 0 0 150px; width: 150px; padding: 5px 0 0 10px; font-size: 14px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-devices { flex: 0 0 350px; width: 350px; list-style: none; margin: 0; padding: 0 0 0 34px; }
.cart-devices li { padding: 5px; }
.cart-sep { padding: 0 6px; color: #888; }
.cart-item-sum { flex: 0 0 100px; padding-top: 15px; }
.cart-item-del { margin-left: auto; padding-top: 10px; }
.cart-del-btn {
    background: #5bc0de; color: #fff; border: 1px solid #46b8da; border-radius: 3px;
    padding: 5px 14px; font-size: 13px; cursor: pointer;
}
.cart-del-btn:hover { background: #31b0d5; }

.cart-total { padding: 22px 0 6px; font-size: 15px; }
.cart-pay { display: flex; align-items: center; gap: 20px; padding: 14px 0 26px; }
.cart-pwd { width: 300px; padding: 7px 10px; border: 1px solid #cfcfcf; font-size: 14px; }
.cart-pay-btn {
    width: 200px; background: #5bc0de; color: #fff; border: 1px solid #46b8da;
    border-radius: 3px; padding: 8px 0; font-size: 14px; cursor: pointer;
}
.cart-pay-btn:hover { background: #31b0d5; }

.cart-side {
    flex: 0 0 270px; width: 270px; min-height: 280px; border: 1px solid #a1a1a1;
    padding: 20px 20px 20px 30px; font-size: 14px;
}
.cart-side h4 { margin: 0 0 10px; font-size: 18px; font-weight: normal; }
.cart-side-row { margin-bottom: 20px; }
.cart-side-body div { margin-top: 20px; }
.cart-bad, .cart-bad span { color: #d4121b; }

.cart-add-title { font-size: 20px; font-weight: normal; margin: 8px 0 16px; }
.cart-add-movie { font-size: 14px; color: #333; }
.cart-add-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0 24px; }
.cart-add-table th, .cart-add-table td { border: 1px solid #ddd; padding: 8px 12px; vertical-align: top; text-align: left; }
.cart-add-table th { background: #f5f5f5; font-weight: normal; }
.cart-add-devices { list-style: none; margin: 0; padding: 0; }
.cart-add-devices li { padding: 3px 0; }
.cart-add-confirm { font-size: 16px; text-align: center; margin: 70px 0; }
.cart-add-hint { color: #d4121b; font-size: 13px; }
.cart-add-actions { display: flex; gap: 30px; justify-content: center; padding: 40px 0 10px; }
.cart-btn {
    background: #5bc0de; color: #fff; border: 1px solid #46b8da; border-radius: 3px;
    padding: 8px 18px; font-size: 14px; cursor: pointer;
}
.cart-btn:hover { background: #31b0d5; }
.cart-btn-primary { background: #337ab7; border-color: #2e6da4; }
.cart-btn-primary:hover { background: #286090; }

@media (max-width: 1080px) {
    .cart-body { flex-direction: column; }
    .cart-main { flex: 1 1 auto; width: 100%; max-width: none; }
    .cart-side { flex: 1 1 auto; width: 100%; }
    .cart-devices { flex: 1 1 auto; width: auto; }
}
@media (max-width: 640px) {
    .cart-item { flex-wrap: wrap; }
    .cart-item-sum, .cart-item-del { padding-top: 0; }
    .cart-pay { flex-direction: column; align-items: flex-start; }
    .cart-pwd, .cart-pay-btn { width: 100%; }
}

/* ===== 登录成功 / 退出确认弹窗(对齐旧站 ZENG.msgbox) ===== */
.mb-mask {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .35);
}
/* 注意:不要用 .show —— Bootstrap 3.3.4 有 .show{display:block !important},会把遮罩压成 block */
.mb-mask.is-open { display: flex; }
.mb-card {
    width: 460px;
    max-width: calc(100% - 40px);
    background: #fff;
    box-shadow: 0 6px 30px rgba(0, 0, 0, .2);
}
.mb-body {
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
}
.mb-body-icon { gap: 16px; }
.mb-check {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #23c26b;
    color: #fff;
    font-size: 26px;
    line-height: 46px;
    text-align: center;
}
.mb-text { font-size: 16px; font-weight: 600; color: #333; }
.mb-foot { padding: 0 0 26px; text-align: center; }
.mb-btn {
    min-width: 100px;
    height: 34px;
    padding: 0 16px;
    background: #2f6fe4;
    color: #fff;
    border: 0;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
}
.mb-btn:hover { background: #245cc4; }
.mb-btn-plain { background: #e6e6e6; color: #333; margin-right: 12px; }
.mb-btn-plain:hover { background: #d5d5d5; }
