/* =====================================================================
   拓昼科技 · 软件问题反馈系统
   设计语言：简白卡片式 + 科技清新蓝
   ===================================================================== */

:root {
    --blue: #2F7BF6;
    --blue-dark: #1F66E0;
    --blue-light: #3B86FF;
    --blue-50: #EFF5FF;
    --blue-100: #DCE9FF;
    --cyan: #25C2E8;

    --ink: #1B2436;
    --ink-2: #4A5568;
    --ink-3: #8A94A6;
    --ink-4: #B4BCC9;

    --line: #E8EDF5;
    --line-2: #F1F5FA;
    --bg: #F4F7FC;
    --card: #FFFFFF;

    --red: #F04438;
    --red-bg: #FEF1F0;
    --green: #12B76A;
    --green-bg: #E9F9F1;
    --amber: #F79009;
    --amber-bg: #FFF8E6;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --shadow: 0 6px 24px rgba(23, 62, 120, .07);
    --shadow-hover: 0 12px 36px rgba(23, 62, 120, .12);
    --shadow-lg: 0 20px 60px rgba(23, 62, 120, .16);
    --grad: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 55%, var(--blue-dark) 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

/* ------------------------------------------------------------------ */
/* 滚动条美化：去掉浏览器原生「带箭头灰底」的丑陋滚动条                    */
/* ------------------------------------------------------------------ */
html {
    scrollbar-width: thin;
    scrollbar-color: #CBD6E6 transparent;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: #CFD9E8;
    border: 3px solid transparent;   /* 用透明边框把滑块收窄，视觉上更细 */
    border-radius: 10px;
    background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: #AFBED4; background-clip: content-box; }
::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }   /* 干掉两端箭头 */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--blue); text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }

/* ------------------------------------------------------------------ */
/* 顶部导航                                                            */
/* ------------------------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line-2);
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; height: 62px;
}

.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }

.brand-logo {
    width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px;
    background: var(--grad); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; font-weight: 700;
    box-shadow: 0 6px 16px rgba(47, 123, 246, .32);
    letter-spacing: .5px;
}

.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-text strong {
    font-size: 16px; font-weight: 700; color: var(--ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-text small {
    font-size: 11.5px; color: var(--ink-3); line-height: 1.3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.header-nav { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.header-nav a {
    font-size: 13.5px; color: var(--ink-2); padding: 7px 12px; border-radius: 9px;
    transition: .18s; white-space: nowrap;
}
.header-nav a:hover { background: var(--blue-50); color: var(--blue); }
.header-nav a.is-active { background: var(--blue-50); color: var(--blue-dark); font-weight: 600; }

/* ------------------------------------------------------------------ */
/* 主内容区                                                            */
/* ------------------------------------------------------------------ */
.main { flex: 1; padding: 18px 0 12px; }

/* 横幅公告 */
.notice-bar {
    display: flex; align-items: flex-start; gap: 9px;
    padding: 12px 15px; border-radius: var(--radius-sm);
    font-size: 13.5px; margin-bottom: 14px; line-height: 1.6;
    border: 1px solid transparent;
    animation: slideDown .32s ease both;
}
.notice-bar__icon {
    flex: 0 0 auto; margin-top: 2px; display: inline-flex; align-items: center; justify-content: center;
}
.notice-bar__icon svg { display: block; }
.notice-bar__text { flex: 1; min-width: 0; }
.notice-bar__close {
    flex: 0 0 auto; border: 0; background: transparent; cursor: pointer;
    color: inherit; opacity: .45; padding: 0 2px; margin-top: 0; display: inline-flex;
    align-items: center; justify-content: center; border-radius: 6px;
}
.notice-bar__close:hover { opacity: .9; background: rgba(0, 0, 0, .05); }
.notice-bar__close svg { display: block; }
.notice-bar--info { background: var(--blue-50); color: #1D4FA8; border-color: #D8E7FF; }
.notice-bar--info .notice-bar__icon { color: var(--blue); }
.notice-bar--warning { background: var(--amber-bg); color: #8A5A00; border-color: #FFE6A8; }
.notice-bar--warning .notice-bar__icon { color: var(--amber); }
.notice-bar--success { background: var(--green-bg); color: #0B7B4F; border-color: #B7EBD1; }
.notice-bar--success .notice-bar__icon { color: var(--green); }

/* 卡片 */
.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px 22px 24px;
    margin-bottom: 16px;
    border: 1px solid rgba(232, 237, 245, .7);
    animation: fadeUp .38s ease both;
}

.card--flat { box-shadow: none; border: 1px solid var(--line); }

.card-head { margin-bottom: 18px; }
.card-head h1 { font-size: 20px; font-weight: 700; letter-spacing: .2px; }
.card-head h2 { font-size: 17px; font-weight: 700; }
.card-head p { font-size: 13px; color: var(--ink-3); margin-top: 5px; }

.card-head--row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding-bottom: 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 18px;
}
.card-head--row h2 { font-size: 16px; }
.card-head--row h2::before {
    content: ''; display: inline-block; width: 4px; height: 15px; border-radius: 3px;
    background: var(--grad); margin-right: 9px; vertical-align: -2px;
}

/* 首页提示 */
.hint-box {
    background: linear-gradient(180deg, #FFFBFA 0%, #FFF7F5 100%);
    border: 1px solid #FFE2DC;
    border-radius: var(--radius-sm);
    padding: 15px 16px;
    margin-bottom: 20px;
}
.hint-box__title {
    font-size: 14px; font-weight: 700; color: var(--red);
    display: flex; align-items: center; gap: 7px; margin-bottom: 9px;
}
.hint-box__title::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red);
    box-shadow: 0 0 0 4px rgba(240, 68, 56, .13); flex: 0 0 6px;
}
.hint-box__body { font-size: 13.5px; color: #7A4A44; line-height: 1.9; word-break: break-word; }
.hint-box__body p { margin: 0; }

/* ------------------------------------------------------------------ */
/* 表单                                                               */
/* ------------------------------------------------------------------ */
.field { margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }

.field-label {
    display: flex; align-items: center; gap: 7px;
    font-size: 14px; font-weight: 600; color: var(--ink);
    margin-bottom: 9px;
}
.field-label .num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; flex: 0 0 20px; border-radius: 6px;
    background: var(--blue-50); color: var(--blue);
    font-size: 12px; font-weight: 700;
}
.field-label .req { color: var(--red); font-size: 13px; font-weight: 700; }
.field-label .opt { color: var(--ink-4); font-size: 12px; font-weight: 400; }
.field-hint { font-size: 12px; color: var(--ink-3); margin-top: 7px; line-height: 1.6; }

.input, .textarea, .select {
    width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: #FBFCFE; padding: 0 14px; height: 48px;
    transition: border-color .2s, box-shadow .2s, background .2s;
    color: var(--ink);
}
.textarea { height: auto; min-height: 132px; padding: 13px 14px; resize: vertical; line-height: 1.75; }
.input::placeholder, .textarea::placeholder { color: var(--ink-4); }
.input:focus, .textarea:focus, .select:focus {
    outline: none; border-color: var(--blue); background: #fff;
    box-shadow: 0 0 0 4px var(--blue-50);
}
.input.is-error, .textarea.is-error { border-color: var(--red); background: #FFFBFB; }
.input.is-error:focus, .textarea.is-error:focus { box-shadow: 0 0 0 4px rgba(240, 68, 56, .12); }

.counter { font-size: 12px; color: var(--ink-4); text-align: right; margin-top: 6px; }
.counter.is-warn { color: var(--red); }

.field-row { display: flex; gap: 10px; }
.field-row .select { flex: 0 0 118px; }
.field-row .input { flex: 1; }

.select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238A94A6' d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 36px;
}

/* 上传区 */
.uploader {
    border: 1.5px dashed #D3DEEE; border-radius: var(--radius-sm);
    background: #FAFCFF; padding: 26px 18px; text-align: center;
    cursor: pointer; transition: .2s;
}
.uploader:hover, .uploader.is-drag { border-color: var(--blue); background: var(--blue-50); }
.uploader__icon {
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 9px; color: var(--blue);
}
.uploader__icon svg { display: block; }
.uploader__main { font-size: 14px; color: var(--blue); font-weight: 600; }
.uploader__sub { font-size: 12px; color: var(--ink-3); margin-top: 5px; }

.file-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }

.file-item {
    display: flex; align-items: center; gap: 11px;
    padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: #fff; animation: fadeUp .25s ease both;
}
.file-item__thumb {
    width: 42px; height: 42px; flex: 0 0 42px; border-radius: 9px; overflow: hidden;
    background: var(--blue-50); display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--blue);
}
.file-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-item__thumb svg { display: block; }
.file-item__info { flex: 1; min-width: 0; }
.file-item__name {
    font-size: 13px; font-weight: 500; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap;
}
.file-item__meta { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.file-item__del {
    flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; border: 0;
    background: var(--line-2); color: var(--ink-3); cursor: pointer;
    font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center;
    transition: .2s;
}
.file-item__del:hover { background: var(--red-bg); color: var(--red); }

/* 验证码 */
.captcha-row { display: flex; align-items: center; gap: 10px; }
.captcha-q {
    flex: 0 0 auto; min-width: 112px; height: 48px; padding: 0 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-50); border: 1.5px solid var(--blue-100);
    border-radius: var(--radius-sm); font-size: 16px; font-weight: 700;
    color: var(--blue-dark); letter-spacing: 2px; cursor: pointer; user-select: none;
}
.captcha-q:hover { background: var(--blue-100); }

/* 按钮 */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 50px; padding: 0 30px; border: 0; border-radius: 12px;
    background: var(--grad); color: #fff;
    font-size: 15.5px; font-weight: 600; letter-spacing: 1px; cursor: pointer;
    box-shadow: 0 8px 22px rgba(47, 123, 246, .28);
    transition: transform .18s, box-shadow .18s, opacity .18s;
    -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(47, 123, 246, .34); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--block { width: 100%; }
.btn--ghost {
    background: #fff; color: var(--blue); border: 1.5px solid var(--blue-100); box-shadow: none;
}
.btn--ghost:hover { background: var(--blue-50); box-shadow: none; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 10px; letter-spacing: 0; }
.btn--plain {
    background: var(--line-2); color: var(--ink-2); box-shadow: none;
}
.btn--plain:hover { background: #E7ECF4; box-shadow: none; }

.form-footer { margin-top: 26px; }

/* ------------------------------------------------------------------ */
/* 状态徽章                                                            */
/* ------------------------------------------------------------------ */
.fb-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 11px; border-radius: 20px;
    font-size: 12.5px; font-weight: 600; line-height: 1.6; white-space: nowrap;
}
.fb-badge::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: 0 0 5px;
}
.fb-badge--pending  { background: var(--amber-bg); color: #B54708; }
.fb-badge--doing    { background: var(--blue-50);  color: var(--blue-dark); }
.fb-badge--done     { background: var(--green-bg); color: #0B7B4F; }
.fb-badge--rejected { background: var(--red-bg);   color: #B42318; }

/* ------------------------------------------------------------------ */
/* 提示条                                                              */
/* ------------------------------------------------------------------ */
.fb-alert {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 13px 16px; border-radius: var(--radius-sm);
    font-size: 13.5px; margin-bottom: 14px; line-height: 1.65;
    border: 1px solid transparent;
}
.fb-alert__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.fb-alert__icon svg { display: block; }
.fb-alert--success { background: var(--green-bg); color: #0B7B4F; border-color: #B7EBD1; }
.fb-alert--success .fb-alert__icon { color: var(--green); }
.fb-alert--error { background: var(--red-bg); color: #B42318; border-color: #FBC9C4; }
.fb-alert--error .fb-alert__icon { color: var(--red); }
.fb-alert--warning { background: var(--amber-bg); color: #8A5A00; border-color: #FFE6A8; }
.fb-alert--warning .fb-alert__icon { color: var(--amber); }
.fb-alert--info { background: var(--blue-50); color: #1D4FA8; border-color: #D8E7FF; }
.fb-alert--info .fb-alert__icon { color: var(--blue); }

/* ------------------------------------------------------------------ */
/* 成功页                                                              */
/* ------------------------------------------------------------------ */
.success-icon {
    width: 74px; height: 74px; margin: 6px auto 18px; border-radius: 50%;
    background: var(--grad); color: #fff; font-size: 34px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 14px 34px rgba(47, 123, 246, .32);
    animation: popIn .45s cubic-bezier(.2,1.3,.5,1) both;
}
.success-title { text-align: center; font-size: 19px; font-weight: 700; }
.success-desc { text-align: center; font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }

.ticket-box {
    margin: 20px 0; padding: 18px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #F4F9FF 0%, #EDF4FF 100%);
    border: 1.5px dashed var(--blue-100); text-align: center;
}
.ticket-box__label { font-size: 12.5px; color: var(--ink-3); margin-bottom: 7px; }
.ticket-box__code {
    font-size: 26px; font-weight: 800; letter-spacing: 2.5px; color: var(--blue-dark);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    word-break: break-all;
}
.ticket-box__actions { margin-top: 13px; display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------ */
/* 时间线                                                              */
/* ------------------------------------------------------------------ */
.timeline { position: relative; padding-left: 22px; }
.timeline::before {
    content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px;
    background: linear-gradient(180deg, var(--blue-100), var(--line-2));
    border-radius: 2px;
}
.timeline-item { position: relative; padding-bottom: 20px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: ''; position: absolute; left: -22px; top: 5px;
    width: 12px; height: 12px; border-radius: 50%; background: #fff;
    border: 2.5px solid var(--blue-100);
}
.timeline-item.is-active::before { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.timeline-item__head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.timeline-item__title { font-size: 14px; font-weight: 600; }
.timeline-item__time { font-size: 12px; color: var(--ink-4); }
.timeline-item__body { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.75; word-break: break-word; }

/* ------------------------------------------------------------------ */
/* 查询结果                                                            */
/* ------------------------------------------------------------------ */
.result-card {
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px 17px; margin-bottom: 12px; background: #fff;
    transition: box-shadow .2s, border-color .2s;
}
.result-card:hover { box-shadow: var(--shadow-hover); border-color: var(--blue-100); }
.result-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.result-card__ticket {
    font-size: 12.5px; color: var(--ink-3); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: .5px;
}
.result-card__title { font-size: 15px; font-weight: 600; margin-top: 7px; word-break: break-word; }
.result-card__desc {
    font-size: 13px; color: var(--ink-2); margin-top: 7px; line-height: 1.7;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.result-card__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--ink-4); margin-top: 11px; }
.result-card__box {
    margin-top: 12px; padding: 11px 13px; border-radius: var(--radius-sm);
    font-size: 13px; line-height: 1.7; word-break: break-word;
}
.result-card__box--reply { background: var(--blue-50); color: #1D4FA8; border-left: 3px solid var(--blue); }
.result-card__box--reject { background: var(--red-bg); color: #B42318; border-left: 3px solid var(--red); }
.result-card__box strong { display: block; margin-bottom: 3px; font-size: 12.5px; }

/* 附件展示 */
.attach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 9px; margin-top: 12px; }
.attach-thumb {
    position: relative; padding-top: 100%; border-radius: var(--radius-sm);
    overflow: hidden; background: var(--line-2); border: 1px solid var(--line); cursor: pointer;
}
.attach-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.attach-thumb--file {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    padding-top: 0; height: 88px; font-size: 12px; color: var(--ink-3); text-align: center; padding: 8px;
}
.attach-audio { margin-top: 10px; width: 100%; }
.attach-audio audio { width: 100%; height: 38px; }
.attach-audio__name {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    font-size: 12.5px; color: var(--ink-2); margin-bottom: 6px;
}
.attach-audio__name svg { flex: 0 0 auto; color: var(--blue); }
.attach-audio__text { word-break: break-all; }

/* ------------------------------------------------------------------ */
/* 空状态 / 分页                                                       */
/* ------------------------------------------------------------------ */
.empty { text-align: center; padding: 48px 20px; color: var(--ink-3); }
.empty__icon {
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink-4); opacity: .55; margin-bottom: 12px;
}
.empty__icon svg { display: block; }
.empty__text { font-size: 14px; }
.empty__sub { font-size: 12.5px; color: var(--ink-4); margin-top: 5px; }

.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.pager a, .pager span {
    min-width: 34px; height: 34px; padding: 0 10px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; color: var(--ink-2); background: #fff; border: 1px solid var(--line);
}
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager .is-current { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.pager .is-disabled { opacity: .45; pointer-events: none; }

/* ------------------------------------------------------------------ */
/* 弹窗公告                                                            */
/* ------------------------------------------------------------------ */
.modal-mask {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(18, 33, 61, .48);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    display: flex; align-items: center; justify-content: center;
    padding: 20px; animation: fadeIn .22s ease both;
}
.modal {
    width: 100%; max-width: 420px; background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden; animation: popIn .34s cubic-bezier(.2,1.2,.5,1) both;
    max-height: 82vh; display: flex; flex-direction: column;
}
.modal__head {
    padding: 18px 20px 0; display: flex; align-items: flex-start; gap: 12px;
}
.modal__icon {
    width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px;
    background: var(--blue-50); color: var(--blue);
    display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.modal__title { font-size: 16.5px; font-weight: 700; line-height: 1.4; padding-top: 3px; }
.modal__close {
    margin-left: auto; width: 30px; height: 30px; border-radius: 9px; border: 0;
    background: transparent; color: var(--ink-4); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .18s, color .18s; flex: 0 0 30px;
}
.modal__close svg { display: block; }
.modal__close:hover { background: var(--line-2); color: var(--ink-2); }
.modal__body {
    padding: 14px 20px 4px; font-size: 14px; color: var(--ink-2);
    line-height: 1.85; overflow-y: auto; word-break: break-word;
}
.modal__foot { padding: 16px 20px 20px; }
.modal__foot .btn { width: 100%; }

/* 图片查看器 */
.lightbox {
    position: fixed; inset: 0; z-index: 300; background: rgba(10, 18, 32, .92);
    display: flex; align-items: center; justify-content: center; padding: 20px;
    animation: fadeIn .2s ease both;
}
.lightbox img { max-width: 96vw; max-height: 90vh; border-radius: 10px; }
.lightbox__close {
    position: absolute; top: 18px; right: 20px; width: 40px; height: 40px;
    border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff;
    font-size: 22px; cursor: pointer; line-height: 1;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .26); }

/* ------------------------------------------------------------------ */
/* 公告列表                                                            */
/* ------------------------------------------------------------------ */
.notice-item {
    padding: 16px 0; border-bottom: 1px solid var(--line-2);
}
.notice-item:last-child { border-bottom: 0; padding-bottom: 0; }
.notice-item:first-child { padding-top: 0; }
.notice-item__head { display: flex; align-items: center; gap: 9px; }
.notice-item__title { font-size: 15px; font-weight: 600; }
.notice-item__time { font-size: 12px; color: var(--ink-4); margin-left: auto; white-space: nowrap; }
.notice-item__body { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.85; word-break: break-word; }
.notice-item__body p { margin: 0 0 6px; }
.notice-item__body p:last-child { margin-bottom: 0; }

.tag-top {
    display: inline-block; padding: 1px 8px; border-radius: 6px;
    background: var(--red-bg); color: var(--red); font-size: 11.5px; font-weight: 600;
}

/* ------------------------------------------------------------------ */
/* 页脚                                                                */
/* ------------------------------------------------------------------ */
.site-footer {
    padding: 26px 16px 34px; text-align: center;
    font-size: 12.5px; color: var(--ink-4);
}
.site-footer__support {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; color: var(--ink-3); font-weight: 500;
}
.site-footer__support .dot {
    width: 20px; height: 20px; border-radius: 6px; background: var(--grad);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-size: 10px; font-weight: 700;
}
.site-footer__copyright { margin-top: 8px; font-size: 12px; color: var(--ink-4); }

/* ------------------------------------------------------------------ */
/* 工具类 / 动画                                                       */
/* ------------------------------------------------------------------ */
.text-center { text-align: center; }
.text-muted { color: var(--ink-3); }
.text-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.hidden { display: none !important; }
.flex { display: flex; } .flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; }
.divider { height: 1px; background: var(--line-2); margin: 18px 0; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.86); } 100% { opacity: 1; transform: scale(1); } }

/* ------------------------------------------------------------------ */
/* 响应式                                                              */
/* ------------------------------------------------------------------ */
@media (max-width: 560px) {
    body { font-size: 14.5px; }
    .wrap { padding: 0 12px; }
    .card { padding: 18px 16px 20px; border-radius: 15px; }
    .card-head h1 { font-size: 18px; }
    .ticket-box__code { font-size: 21px; letter-spacing: 1.5px; }
    .header-inner { height: 58px; }
    .brand-logo { width: 34px; height: 34px; flex-basis: 34px; font-size: 15px; border-radius: 10px; }
    .brand-text strong { font-size: 15px; }
    .brand-text small { font-size: 11px; }
    .header-nav a { padding: 7px 9px; font-size: 13px; }
    .footer { padding: 20px 12px 28px; }
}

@media print {
    .site-header, .site-footer, .btn, .modal-mask { display: none !important; }
}
