/* ==========================================================================
   云旭 SaaS 电竞自动部署平台 · 全局主题
   深色电竞 + 玻璃拟态 · 主色 #6C8CFF · 辅色 #7CF2FF / #B36BFF / #FFB020
   底部版权：云旭网络科技有限公司 版权所有
   ========================================================================== */

:root {
    --primary: #6C8CFF;
    --primary-soft: rgba(108, 140, 255, .16);
    --primary-line: rgba(108, 140, 255, .42);
    --cyan: #7CF2FF;
    --purple: #B36BFF;
    --amber: #FFB020;
    --green: #3DDC97;
    --red: #FF5C7A;
    --pink: #FF7BD5;
    --orange: #FF9F5A;

    --bg: #05070f;
    --bg-2: #080d1b;
    --bg-3: #0d1426;
    --panel: rgba(15, 22, 42, .72);
    --panel-solid: #0e1628;
    --panel-2: rgba(22, 31, 55, .62);
    --line: rgba(140, 165, 210, .14);
    --line-strong: rgba(140, 165, 210, .26);

    --text: #e8eeff;
    --text-2: #c3cee9;
    --muted: #8d9bbd;
    --muted-2: #66708f;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;

    --shadow-sm: 0 8px 24px rgba(0, 0, 0, .28);
    --shadow: 0 20px 50px rgba(0, 0, 0, .42);
    --shadow-glow: 0 0 0 1px rgba(108, 140, 255, .18), 0 18px 46px rgba(24, 44, 110, .38);

    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

    --copyright-h: 36px;
    --ease: cubic-bezier(.22, .68, .32, 1);

    --mx: 50%;
    --my: 50%;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.app-body {
    padding-bottom: calc(var(--copyright-h) + 14px);
    background:
        radial-gradient(1100px 620px at 12% -10%, rgba(108, 140, 255, .16), transparent 62%),
        radial-gradient(900px 520px at 92% 8%, rgba(179, 107, 255, .12), transparent 68%),
        radial-gradient(1000px 700px at 50% 115%, rgba(124, 242, 255, .08), transparent 60%),
        linear-gradient(180deg, #05070f 0%, #070c18 46%, #05070f 100%);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 600;
    letter-spacing: .01em;
    color: var(--text);
}

p {
    margin: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color .2s var(--ease);
}

a:hover {
    color: var(--cyan);
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    border: 0;
    vertical-align: middle;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

code {
    padding: 2px 7px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cyan);
    background: rgba(124, 242, 255, .1);
}

/* ---------- 通用工具类 ---------- */
.ico {
    display: inline-block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
    filter: drop-shadow(0 0 6px rgba(108, 140, 255, .18));
    opacity: .92;
}

.muted {
    color: var(--muted);
    font-size: 12.5px;
}

.mono {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .02em;
}

.money {
    color: var(--amber);
    font-family: var(--font-mono);
    font-weight: 600;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden { display: none !important; }

/* ---------- 极光背景 ---------- */
.aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: .85;
}

.aurora span {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .5;
    animation: auroraFloat 16s var(--ease) infinite alternate;
}

.aurora span:nth-child(1) {
    width: 46vw;
    height: 46vw;
    left: -12vw;
    top: -14vw;
    background: radial-gradient(circle, rgba(108, 140, 255, .55), transparent 68%);
}

.aurora span:nth-child(2) {
    width: 40vw;
    height: 40vw;
    right: -10vw;
    top: 2vh;
    background: radial-gradient(circle, rgba(179, 107, 255, .45), transparent 68%);
    animation-delay: -5s;
}

.aurora span:nth-child(3) {
    width: 52vw;
    height: 40vw;
    left: 22vw;
    bottom: -22vw;
    background: radial-gradient(circle, rgba(124, 242, 255, .3), transparent 70%);
    animation-delay: -9s;
}

@keyframes auroraFloat {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(3vw, 2vh, 0) scale(1.08); }
    100% { transform: translate3d(-2vw, -3vh, 0) scale(.96); }
}

/* ---------- 卡片 / 面板 ---------- */
.card,
.panel {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(150deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .006) 45%, rgba(255, 255, 255, .02)),
        var(--panel);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
}

.card::before,
.panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(140, 180, 255, .55), transparent);
    opacity: .55;
    pointer-events: none;
}

.card {
    padding: 18px 20px;
}

.panel {
    padding: 18px 20px 20px;
    margin-bottom: 18px;
}

.card:hover,
.panel:hover {
    border-color: rgba(108, 140, 255, .24);
}

.panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.panel-head h2 {
    font-size: 16px;
    letter-spacing: .02em;
}

.panel-head p {
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--muted);
}

.panel-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.panel-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 0 10px;
}

.panel-sub h3 {
    font-size: 13.5px;
    color: var(--text-2);
    letter-spacing: .06em;
}

.panel-sub h3::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 13px;
    margin-right: 8px;
    border-radius: 3px;
    vertical-align: -2px;
    background: linear-gradient(180deg, var(--cyan), var(--primary));
    box-shadow: 0 0 10px rgba(124, 242, 255, .5);
}

/* ---------- 区块标题 ---------- */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.section-head h2 {
    font-size: 15.5px;
    letter-spacing: .02em;
}

.section-head h2::after {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    margin-top: 7px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    box-shadow: 0 0 12px rgba(124, 242, 255, .45);
}

.section-head p {
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--muted);
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ---------- 按钮 ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition: transform .18s var(--ease), box-shadow .22s var(--ease), background .2s, border-color .2s, color .2s;
}

.btn:active {
    transform: translateY(1px) scale(.99);
}

.btn .ico {
    width: 16px;
    height: 16px;
    opacity: .95;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #6C8CFF 0%, #8A6BFF 52%, #B36BFF 100%);
    box-shadow: 0 10px 24px rgba(108, 140, 255, .32), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(108, 140, 255, .44), inset 0 1px 0 rgba(255, 255, 255, .32);
}

.btn-soft {
    color: #cfe0ff;
    background: rgba(108, 140, 255, .13);
    border-color: rgba(108, 140, 255, .3);
}

.btn-soft:hover {
    color: #fff;
    background: rgba(108, 140, 255, .22);
    border-color: rgba(108, 140, 255, .5);
}

.btn-ghost {
    color: var(--text-2);
    background: rgba(255, 255, 255, .035);
    border-color: var(--line-strong);
}

.btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, .07);
    border-color: rgba(140, 180, 255, .42);
}

.btn-danger-soft {
    color: #ffb2c1;
    background: rgba(255, 92, 122, .12);
    border-color: rgba(255, 92, 122, .32);
}

.btn-danger-soft:hover {
    color: #fff;
    background: rgba(255, 92, 122, .22);
    border-color: rgba(255, 92, 122, .56);
}

.btn-danger {
    color: #fff;
    background: linear-gradient(135deg, #ff5c7a, #d93b6a);
    box-shadow: 0 10px 24px rgba(255, 92, 122, .3);
}

.btn-sm {
    padding: 6px 11px;
    border-radius: 9px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

.btn[disabled],
.btn[aria-busy="true"] {
    opacity: .6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}

.btn-block .ico {
    width: 16px;
}

.top-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 11px;
    font-size: 12.5px;
    color: var(--text-2);
    background: rgba(255, 255, 255, .035);
    cursor: pointer;
    transition: all .2s var(--ease);
}

.top-btn:hover {
    color: #fff;
    border-color: rgba(108, 140, 255, .45);
    background: rgba(108, 140, 255, .12);
    box-shadow: 0 8px 20px rgba(108, 140, 255, .18);
}

.top-btn .ico {
    width: 16px;
    height: 16px;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--text-2);
    background: rgba(255, 255, 255, .035);
    cursor: pointer;
    transition: all .18s var(--ease);
}

.icon-btn .ico {
    width: 15px;
    height: 15px;
    opacity: .8;
}

.icon-btn:hover {
    color: #fff;
    border-color: rgba(108, 140, 255, .5);
    background: rgba(108, 140, 255, .16);
    transform: translateY(-1px);
}

.icon-btn.danger:hover {
    border-color: rgba(255, 92, 122, .55);
    background: rgba(255, 92, 122, .16);
    box-shadow: 0 8px 18px rgba(255, 92, 122, .16);
}

/* 复制按钮 */
.copy-btn,
.js-copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border: 1px dashed var(--line-strong);
    border-radius: 7px;
    font-size: 11.5px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    transition: all .2s var(--ease);
}

.copy-btn:hover,
.js-copy:hover {
    color: var(--cyan);
    border-color: rgba(124, 242, 255, .5);
    background: rgba(124, 242, 255, .08);
}

/* ---------- 表单 ---------- */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="date"],
input[type="datetime-local"],
select,
textarea,
.input {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    color: var(--text);
    background: rgba(6, 10, 20, .65);
    outline: none;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
    -webkit-appearance: none;
    appearance: none;
}

input::placeholder,
textarea::placeholder {
    color: var(--muted-2);
}

input:hover,
select:hover,
textarea:hover {
    border-color: rgba(140, 180, 255, .36);
}

input:focus,
select:focus,
textarea:focus,
.input:focus {
    border-color: var(--primary);
    background: rgba(10, 16, 32, .9);
    box-shadow: 0 0 0 3px rgba(108, 140, 255, .16), 0 0 20px rgba(108, 140, 255, .12);
}

input[disabled],
select[disabled],
textarea[disabled],
.btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
}

textarea {
    min-height: 96px;
    line-height: 1.65;
    resize: vertical;
}

select {
    padding-right: 34px;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}

select option {
    color: var(--text);
    background: #0d1426;
}

input[type="checkbox"],
input[type="radio"] {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--primary);
    cursor: pointer;
    vertical-align: -2px;
}

input[type="file"] {
    width: 100%;
    padding: 9px 12px;
    border: 1px dashed var(--line-strong);
    border-radius: 11px;
    color: var(--muted);
    background: rgba(6, 10, 20, .5);
    cursor: pointer;
}

input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 6px 12px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, #6C8CFF, #B36BFF);
    cursor: pointer;
}

input[type="color"] {
    width: 46px;
    height: 38px;
    padding: 3px;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    background: rgba(6, 10, 20, .6);
    cursor: pointer;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

.form-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.form-item.wide {
    grid-column: 1 / -1;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-2);
    letter-spacing: .02em;
}

.form-label em {
    color: var(--red);
    font-style: normal;
}

.form-help {
    font-size: 11.5px;
    line-height: 1.5;
    color: var(--muted-2);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 18px;
    margin-top: 20px;
    border-top: 1px solid var(--line);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field-label {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-2);
}

.field-label em {
    color: var(--red);
    font-style: normal;
}

.crud-form .form-panel {
    max-width: 1100px;
}

/* 多选药丸 */
.check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(6, 10, 20, .35);
}

.check-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px 7px 9px;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    font-size: 12.5px;
    color: var(--text-2);
    background: rgba(255, 255, 255, .03);
    cursor: pointer;
    transition: all .18s var(--ease);
    user-select: none;
}

.check-pill:hover {
    border-color: rgba(108, 140, 255, .45);
    background: rgba(108, 140, 255, .1);
}

.check-pill:has(input:checked) {
    color: #fff;
    border-color: rgba(108, 140, 255, .65);
    background: rgba(108, 140, 255, .22);
    box-shadow: 0 0 0 1px rgba(108, 140, 255, .28), 0 8px 18px rgba(108, 140, 255, .16);
}

.check-pill input {
    width: 14px;
    height: 14px;
    margin: 0;
}

/* 开关 */
.switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    cursor: pointer;
    user-select: none;
}

.switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.switch-dot {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(8, 13, 26, .85);
    transition: all .24s var(--ease);
    flex-shrink: 0;
}

.switch-dot::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #8d9bbd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
    transition: all .24s var(--ease);
}

.switch input:checked + .switch-dot {
    border-color: rgba(108, 140, 255, .7);
    background: linear-gradient(135deg, #6C8CFF, #B36BFF);
    box-shadow: 0 0 16px rgba(108, 140, 255, .4);
}

.switch input:checked + .switch-dot::after {
    left: 21px;
    background: #fff;
}

.switch input:focus-visible + .switch-dot {
    box-shadow: 0 0 0 3px rgba(108, 140, 255, .22);
}

.switch-text {
    font-size: 12.5px;
    color: var(--text-2);
}

/* 颜色字段 */
.color-field {
    display: flex;
    align-items: center;
    gap: 9px;
}

.color-field .color-text {
    max-width: 120px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
    cursor: default;
}

/* 文件字段 */
.file-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.file-current {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, .025);
}

.file-current a {
    color: var(--cyan);
}

.file-current img {
    border-radius: 6px;
    border: 1px solid var(--line);
}

/* 搜索与筛选 */
.list-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    padding: 0 0 16px;
    margin-bottom: 2px;
}

.search-box {
    position: relative;
    flex: 1 1 220px;
    min-width: 180px;
    max-width: 360px;
}

.search-box .ico {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    opacity: .6;
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding-left: 36px;
}

.mini-select {
    width: auto;
    min-width: 132px;
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 12.5px;
}

/* ---------- 表格 ---------- */
.table-form {
    margin: 0;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(6, 10, 20, .36);
    -webkit-overflow-scrolling: touch;
}

.data-table,
.table {
    width: 100%;
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.table {
    min-width: 0;
}

.data-table thead th,
.table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 12px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--muted);
    text-align: left;
    white-space: nowrap;
    background: linear-gradient(180deg, rgba(22, 32, 58, .96), rgba(14, 22, 40, .96));
    border-bottom: 1px solid var(--line-strong);
}

.data-table tbody td,
.table tbody td {
    padding: 12px 14px;
    color: var(--text-2);
    border-bottom: 1px solid rgba(140, 165, 210, .08);
    vertical-align: middle;
    word-break: break-word;
}

.data-table tbody tr:hover td,
.table tbody tr:hover td {
    background: rgba(108, 140, 255, .07);
    color: var(--text);
}

.data-table tbody tr:last-child td,
.table tbody tr:last-child td {
    border-bottom: 0;
}

.data-table .check-col,
.table .check-col {
    width: 44px;
    padding-right: 0;
    text-align: center;
}

.data-table .action-col,
.table .action-col {
    width: 116px;
    white-space: nowrap;
}

.row-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.row-actions .btn-sm {
    gap: 4px;
}

.inline-form {
    display: inline-flex;
    margin: 0;
}

.table-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 2px 2px;
}

.thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 9px;
    border: 1px solid var(--line-strong);
    background: #0a1122;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 7px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

/* ---------- Badge ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.5;
    white-space: nowrap;
}

.badge::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
    opacity: .9;
}

.badge-ok {
    color: #7ef7c2;
    background: rgba(61, 220, 151, .12);
    border-color: rgba(61, 220, 151, .3);
}

.badge-warn {
    color: #ffcd82;
    background: rgba(255, 176, 32, .12);
    border-color: rgba(255, 176, 32, .32);
}

.badge-danger {
    color: #ff9db0;
    background: rgba(255, 92, 122, .12);
    border-color: rgba(255, 92, 122, .32);
}

.badge-info {
    color: #9fe8ff;
    background: rgba(124, 242, 255, .1);
    border-color: rgba(124, 242, 255, .3);
}

.badge-muted {
    color: #9aa6c4;
    background: rgba(140, 165, 210, .1);
    border-color: rgba(140, 165, 210, .22);
}

.badge-muted::before {
    opacity: .5;
}

/* ---------- Flash 提示 ---------- */
.flash-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.flash {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border: 1px solid var(--line-strong);
    border-left-width: 3px;
    border-radius: 11px;
    font-size: 13px;
    color: var(--text-2);
    background: var(--panel-2);
    animation: yxUp .42s var(--ease) both;
}

.flash .ico {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.flash-success {
    color: #b9ffdd;
    border-color: rgba(61, 220, 151, .34);
    border-left-color: var(--green);
    background: linear-gradient(90deg, rgba(61, 220, 151, .13), rgba(61, 220, 151, .03));
}

.flash-error {
    color: #ffc1cd;
    border-color: rgba(255, 92, 122, .36);
    border-left-color: var(--red);
    background: linear-gradient(90deg, rgba(255, 92, 122, .14), rgba(255, 92, 122, .03));
}

.flash-warning {
    color: #ffe0a6;
    border-color: rgba(255, 176, 32, .34);
    border-left-color: var(--amber);
    background: linear-gradient(90deg, rgba(255, 176, 32, .13), rgba(255, 176, 32, .03));
}

.flash-info {
    color: #c4dcff;
    border-color: rgba(108, 140, 255, .32);
    border-left-color: var(--primary);
    background: linear-gradient(90deg, rgba(108, 140, 255, .12), rgba(108, 140, 255, .03));
}

/* ---------- 统计卡片 ---------- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.stat-card {
    --mx: 50%;
    --my: 50%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(150deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .008) 52%),
        rgba(15, 22, 42, .72);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform .22s var(--ease), border-color .22s, box-shadow .22s;
}

.stat-link {
    display: block;
    color: inherit;
    border: 0;
}

.stat-link:hover {
    color: inherit;
}

.stat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(200px circle at var(--mx) var(--my), rgba(108, 140, 255, .26), rgba(124, 242, 255, .08) 38%, transparent 68%);
    opacity: 0;
    transition: opacity .3s var(--ease);
    pointer-events: none;
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card:hover {
    border-color: rgba(108, 140, 255, .4);
    box-shadow: 0 18px 40px rgba(8, 16, 40, .55), 0 0 0 1px rgba(108, 140, 255, .18);
    transform: translateY(-2px);
}

.stat-card > * {
    position: relative;
    z-index: 2;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(108, 140, 255, .2), rgba(108, 140, 255, .04));
    border: 1px solid rgba(108, 140, 255, .26);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.stat-icon .ico {
    width: 26px;
    height: 26px;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(108, 140, 255, .45));
}

.stat-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.stat-title {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: .01em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.stat-hint {
    font-size: 11.5px;
    color: var(--muted-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-spark {
    position: absolute;
    right: -20px;
    bottom: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 140, 255, .3), transparent 68%);
    filter: blur(10px);
    pointer-events: none;
}

.stat-card.tone-blue .stat-icon { border-color: rgba(108, 140, 255, .34); background: linear-gradient(145deg, rgba(108, 140, 255, .26), rgba(108, 140, 255, .04)); }
.stat-card.tone-purple .stat-icon { border-color: rgba(179, 107, 255, .34); background: linear-gradient(145deg, rgba(179, 107, 255, .26), rgba(179, 107, 255, .04)); }
.stat-card.tone-green .stat-icon { border-color: rgba(61, 220, 151, .32); background: linear-gradient(145deg, rgba(61, 220, 151, .24), rgba(61, 220, 151, .04)); }
.stat-card.tone-red .stat-icon { border-color: rgba(255, 92, 122, .34); background: linear-gradient(145deg, rgba(255, 92, 122, .24), rgba(255, 92, 122, .04)); }
.stat-card.tone-cyan .stat-icon { border-color: rgba(124, 242, 255, .32); background: linear-gradient(145deg, rgba(124, 242, 255, .22), rgba(124, 242, 255, .04)); }
.stat-card.tone-orange .stat-icon { border-color: rgba(255, 159, 90, .34); background: linear-gradient(145deg, rgba(255, 159, 90, .24), rgba(255, 159, 90, .04)); }
.stat-card.tone-pink .stat-icon { border-color: rgba(255, 123, 213, .34); background: linear-gradient(145deg, rgba(255, 123, 213, .22), rgba(255, 123, 213, .04)); }
.stat-card.tone-yellow .stat-icon { border-color: rgba(255, 176, 32, .34); background: linear-gradient(145deg, rgba(255, 176, 32, .24), rgba(255, 176, 32, .04)); }

.stat-card.tone-purple .stat-spark { background: radial-gradient(circle, rgba(179, 107, 255, .3), transparent 68%); }
.stat-card.tone-green .stat-spark { background: radial-gradient(circle, rgba(61, 220, 151, .26), transparent 68%); }
.stat-card.tone-red .stat-spark { background: radial-gradient(circle, rgba(255, 92, 122, .26), transparent 68%); }
.stat-card.tone-cyan .stat-spark { background: radial-gradient(circle, rgba(124, 242, 255, .26), transparent 68%); }
.stat-card.tone-orange .stat-spark { background: radial-gradient(circle, rgba(255, 159, 90, .26), transparent 68%); }
.stat-card.tone-pink .stat-spark { background: radial-gradient(circle, rgba(255, 123, 213, .26), transparent 68%); }
.stat-card.tone-yellow .stat-spark { background: radial-gradient(circle, rgba(255, 176, 32, .26), transparent 68%); }

/* 通用数据卡片跟随光斑 */
[data-cursor-follow] {
    --mx: 50%;
    --my: 50%;
}

[data-cursor-follow] .cursor-spot,
[data-cursor-follow]::after {
    background: radial-gradient(220px circle at var(--mx) var(--my), rgba(108, 140, 255, .2), rgba(124, 242, 255, .08) 40%, transparent 70%);
}

/* 3D 倾斜卡片 */
[data-tilt] {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
    transition: box-shadow .3s ease;
}

@media (prefers-reduced-motion: reduce) {
    [data-tilt] {
        transform: none !important;
        will-change: auto;
    }
}

/* ---------- 分页 ---------- */
.pager {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 16px;
}

.pager-total {
    margin-right: 6px;
    font-size: 12px;
    color: var(--muted-2);
}

.pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 12.5px;
    color: var(--text-2);
    background: rgba(255, 255, 255, .03);
    transition: all .18s var(--ease);
}

.pager-btn:hover {
    color: #fff;
    border-color: rgba(108, 140, 255, .5);
    background: rgba(108, 140, 255, .12);
}

.pager-btn.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #6C8CFF, #B36BFF);
    box-shadow: 0 8px 18px rgba(108, 140, 255, .3);
}

/* ---------- 空状态 ---------- */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 34px 18px;
    text-align: center;
    color: var(--muted);
}

.empty-state .ico {
    width: 46px;
    height: 46px;
    opacity: .45;
    filter: grayscale(.2) drop-shadow(0 0 14px rgba(108, 140, 255, .3));
}

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

/* ---------- Modal ---------- */
.yx-modal-mask {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(3, 6, 16, .74);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: yxFade .22s ease both;
}

.yx-modal {
    position: relative;
    width: min(520px, 100%);
    max-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(108, 140, 255, .3);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .012) 55%),
        #0d1426;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 0 1px rgba(108, 140, 255, .12);
    animation: yxModalIn .3s var(--ease) both;
    overflow: hidden;
}

.yx-modal::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--purple), var(--cyan), transparent);
    opacity: .8;
}

.yx-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px 12px;
}

.yx-modal-title {
    font-size: 16px;
    font-weight: 600;
}

.yx-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 16px;
    line-height: 1;
    color: var(--muted);
    background: transparent;
    transition: all .2s var(--ease);
}

.yx-modal-close:hover {
    color: #fff;
    border-color: rgba(255, 92, 122, .45);
    background: rgba(255, 92, 122, .12);
}

.yx-modal-body {
    padding: 6px 22px 18px;
    overflow-y: auto;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--text-2);
}

.yx-modal-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    padding: 14px 22px 18px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .015);
}

@keyframes yxModalIn {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Toast ---------- */
.yx-toast-wrap {
    position: fixed;
    top: 22px;
    left: 50%;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    transform: translateX(-50%);
    pointer-events: none;
    width: max-content;
    max-width: calc(100vw - 32px);
}

.yx-toast {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    font-size: 13px;
    color: var(--text);
    background: rgba(13, 20, 38, .94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: yxToastIn .28s var(--ease) both;
    pointer-events: auto;
}

.yx-toast::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    flex-shrink: 0;
}

.yx-toast-success::before { background: var(--green); box-shadow: 0 0 10px var(--green); }
.yx-toast-error::before { background: var(--red); box-shadow: 0 0 10px var(--red); }
.yx-toast-warning::before { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.yx-toast-info::before { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.yx-toast.is-out {
    animation: yxToastOut .24s ease both;
}

@keyframes yxToastIn {
    from { opacity: 0; transform: translateY(-12px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes yxToastOut {
    to { opacity: 0; transform: translateY(-10px) scale(.96); }
}

/* ---------- Tooltip ---------- */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 9px);
    z-index: 1200;
    padding: 6px 10px;
    border: 1px solid rgba(108, 140, 255, .32);
    border-radius: 8px;
    font-size: 11.5px;
    white-space: nowrap;
    color: var(--text);
    background: rgba(10, 16, 32, .96);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 4px);
    transition: all .18s var(--ease);
    pointer-events: none;
}

[data-tooltip]::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    z-index: 1200;
    border: 5px solid transparent;
    border-top-color: rgba(108, 140, 255, .32);
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all .18s var(--ease);
    pointer-events: none;
}

[data-tooltip]:hover::after,
[data-tooltip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* ---------- 版权栏（固定，禁止关闭） ---------- */
.copyright-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: var(--copyright-h);
    padding: 0 22px;
    font-size: 11.5px;
    color: var(--muted-2);
    border-top: 1px solid rgba(140, 165, 210, .12);
    background: linear-gradient(180deg, rgba(8, 12, 24, .8), rgba(4, 7, 15, .95));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    letter-spacing: .02em;
    user-select: none;
}

.copyright-bar span:first-child {
    color: #9aa6c4;
}

.copyright-bar .copy-note {
    color: #6d7794;
    font-size: 11px;
}

.copyright-bar::before {
    content: "";
    position: absolute;
    inset: -1px 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 140, 255, .45), rgba(179, 107, 255, .35), transparent);
    opacity: .65;
}

/* ---------- 引导 ---------- */
.yx-guide,
.yx-guide-layer {
    position: fixed;
    inset: 0;
    z-index: 2100;
}

.yx-guide-mask {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: auto;
}

.yx-guide-spot {
    position: absolute;
    border: 2px solid rgba(124, 242, 255, .9);
    border-radius: 14px;
    box-shadow: 0 0 0 9999px rgba(2, 5, 14, .82), 0 0 26px rgba(124, 242, 255, .7), inset 0 0 26px rgba(108, 140, 255, .28);
    transition: all .45s var(--ease);
    pointer-events: none;
}

.yx-guide-ring {
    position: absolute;
    border: 2px solid rgba(108, 140, 255, .8);
    border-radius: 18px;
    animation: guideRing 2s ease-out infinite;
    transition: all .45s var(--ease);
    pointer-events: none;
}

@keyframes guideRing {
    0% { transform: scale(.92); opacity: .9; }
    70% { transform: scale(1.14); opacity: 0; }
    100% { transform: scale(1.18); opacity: 0; }
}

.yx-guide-cursor {
    position: absolute;
    z-index: 3;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, var(--cyan) 35%, rgba(108, 140, 255, .6) 65%, transparent 72%);
    box-shadow: 0 0 18px var(--cyan), 0 0 40px rgba(108, 140, 255, .7);
    transition: left .55s var(--ease), top .55s var(--ease);
    pointer-events: none;
}

.yx-guide-cursor::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 242, 255, .35), transparent 68%);
    animation: cursorPulse 1.6s ease-in-out infinite;
}

@keyframes cursorPulse {
    0%, 100% { transform: scale(.9); opacity: .55; }
    50% { transform: scale(1.25); opacity: .95; }
}

.yx-guide-tip {
    position: absolute;
    z-index: 4;
    width: min(360px, calc(100vw - 32px));
    padding: 18px 20px 16px;
    border: 1px solid rgba(108, 140, 255, .4);
    border-radius: 18px;
    background:
        linear-gradient(155deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .015) 55%),
        #0c1324;
    box-shadow: 0 26px 64px rgba(0, 0, 0, .6), 0 0 32px rgba(108, 140, 255, .22);
    animation: yxUp .35s var(--ease) both;
    transition: left .4s var(--ease), top .4s var(--ease);
}

.yx-guide-tip::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, var(--cyan), var(--primary), var(--purple));
    opacity: .9;
}

.yx-guide-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 9px;
    padding: 3px 10px;
    border: 1px solid rgba(124, 242, 255, .3);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--cyan);
    background: rgba(124, 242, 255, .08);
}

.yx-guide-title {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.yx-guide-text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-2);
}

.yx-guide-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
}

.yx-guide-dots {
    display: flex;
    align-items: center;
    gap: 5px;
}

.yx-guide-dots i {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(140, 165, 210, .35);
    transition: all .22s var(--ease);
}

.yx-guide-dots i.on {
    width: 16px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--primary));
    box-shadow: 0 0 10px rgba(124, 242, 255, .6);
}

.yx-guide-btns {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---------- 页面入场动画 ---------- */
@keyframes yxUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes yxFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.page-in {
    animation: yxFade .4s ease both;
}

.content > *,
.agent-content > * {
    animation: yxUp .5s var(--ease) both;
}

.content > *:nth-child(2),
.agent-content > *:nth-child(2) { animation-delay: .05s; }
.content > *:nth-child(3),
.agent-content > *:nth-child(3) { animation-delay: .1s; }
.content > *:nth-child(4),
.agent-content > *:nth-child(4) { animation-delay: .15s; }
.content > *:nth-child(5),
.agent-content > *:nth-child(5) { animation-delay: .2s; }
.content > *:nth-child(n+6),
.agent-content > *:nth-child(n+6) { animation-delay: .25s; }

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(8, 12, 24, .6);
}

::-webkit-scrollbar-thumb {
    border: 2px solid rgba(8, 12, 24, .6);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(108, 140, 255, .55), rgba(179, 107, 255, .45));
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(124, 242, 255, .7), rgba(108, 140, 255, .6));
}

::-webkit-scrollbar-corner {
    background: transparent;
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(108, 140, 255, .5) rgba(8, 12, 24, .6);
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    }

    .panel-head {
        flex-direction: column;
        align-items: stretch;
    }

    .panel-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    body.app-body {
        font-size: 13.5px;
    }

    .content,
    .agent-content {
        padding-left: 12px;
        padding-right: 12px;
    }

    .panel,
    .card {
        padding: 14px 14px 16px;
        border-radius: 14px;
    }

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

    .stat-card {
        padding: 12px;
        gap: 10px;
    }

    .stat-icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .stat-icon .ico {
        width: 21px;
        height: 21px;
    }

    .stat-value {
        font-size: 19px;
    }

    .stat-hint {
        font-size: 10.5px;
    }

    .list-toolbar {
        gap: 7px;
    }

    .search-box {
        flex: 1 1 100%;
        max-width: none;
    }

    .mini-select {
        flex: 1 1 45%;
        min-width: 0;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-actions {
        width: 100%;
    }

    .pager {
        justify-content: center;
    }

    .pager-total {
        width: 100%;
        text-align: center;
        margin-bottom: 4px;
    }

    .form-actions {
        flex-wrap: wrap;
    }

    .copyright-bar {
        padding: 0 12px;
        font-size: 10.5px;
    }

    .copyright-bar .copy-note {
        display: none;
    }

    .yx-modal {
        border-radius: 16px;
    }

    .yx-modal-head,
    .yx-modal-body,
    .yx-modal-foot {
        padding-left: 16px;
        padding-right: 16px;
    }

    .yx-guide-tip {
        width: calc(100vw - 24px);
        padding: 15px 16px 13px;
    }
}

@media (max-width: 375px) {
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 8px 12px;
        font-size: 12.5px;
    }
}
