:root {
    --ds-navy: #10233f;
    --ds-navy-hover: #182f52;
    --ds-ink: #16243a;
    --ds-muted: #708096;
    --ds-line: #dfe7f0;
    --ds-canvas: #f3f6fa;
    --ds-surface: var(--clash-surface, #fffdf8);
    --ds-gold: #e3a22d;
    --ds-blue: #2873d4;
    --ds-green: #1d8d62;
    --ds-red: #c74b54;
    --ds-radius: 14px;
    --ds-radius-small: 9px;
    --ds-shadow: 0 14px 38px rgba(20, 43, 73, .08);
    --ds-space-1: 4px;
    --ds-space-2: 8px;
    --ds-space-3: 12px;
    --ds-space-4: 16px;
    --ds-space-5: 24px;
    --ds-space-6: 32px;
    --bg: var(--ds-canvas);
    --surface: var(--ds-surface);
    --surface-muted: #edf4ff;
    --text: var(--ds-ink);
    --muted: var(--ds-muted);
    --border: var(--ds-line);
    --primary: var(--ds-navy);
    --primary-hover: var(--ds-navy-hover);
    --danger: var(--ds-red);
    --success: var(--ds-green);
    --shadow: var(--ds-shadow);
    --radius: var(--ds-radius);
}

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--ds-canvas);
    color: var(--ds-ink);
    font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(40, 115, 212, .5); outline-offset: 3px; }
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 50;
    transform: translateY(-180%);
    padding: 10px 16px;
    border-radius: var(--ds-radius-small);
    background: var(--ds-gold);
    color: var(--ds-ink);
}
.skip-link:focus { transform: translateY(0); }
.app-shell { display: grid; grid-template-columns: 72px minmax(0, 1fr); min-height: 100vh; transition: grid-template-columns .2s ease; }
.app-sidebar-collapsed .app-shell { grid-template-columns: 72px minmax(0, 1fr); }
.app-sidebar-expanded .app-shell { grid-template-columns: 248px minmax(0, 1fr); }
.app-sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: var(--ds-space-5);
    height: 100vh;
    height: 100dvh;
    padding: 22px 16px;
    overflow-y: auto;
    background: #0f2745;
    color: #eef5fd;
    border-right: 1px solid #25476e;
}
.app-brand { display: flex; align-items: center; gap: 11px; padding: 2px 6px 18px; border-bottom: 1px solid #315577; }
.app-brand:hover { text-decoration: none; }
.app-brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    flex: none;
    place-items: center;
    border-radius: 10px;
    background: var(--ds-gold);
    color: var(--ds-ink);
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(227, 162, 45, .22);
}
.app-brand-copy { min-width: 0; }
.app-sidebar-collapsed .app-brand-copy,
.app-sidebar-collapsed .app-clan-context,
.app-sidebar-collapsed .app-nav-label,
.app-sidebar-collapsed .app-sidebar-footer { display: none; }
.app-sidebar-collapsed .app-brand { justify-content: center; padding-inline: 0; }
.app-sidebar-collapsed .app-nav a { justify-content: center; padding-inline: 10px; }
.app-sidebar-collapsed .app-nav a { font-size: 0; }
.app-sidebar-collapsed .app-nav-icon { font-size: 14px; margin: 0; }
.app-brand-copy strong, .app-brand-copy small { display: block; }
.app-brand-copy strong { color: #fff; font-size: 14px; }
.app-brand-copy small { margin-top: 3px; color: #b6cbe0; font-size: 10px; letter-spacing: .03em; }
.app-clan-context { padding: 12px; border: 1px solid #416587; border-radius: 12px; background: #1d4168; }
.app-clan-context > span { display: block; color: #c2d5e8; font-size: 11px; }
.app-clan-context strong, .app-clan-context a { display: block; margin-top: 7px; color: #fff; overflow-wrap: anywhere; }
.app-nav-group { display: grid; gap: 8px; }
.app-nav-label { margin: 0 10px; color: #c2d5e8; font-size: 11px; letter-spacing: .12em; }
.app-nav { display: grid; gap: 5px; }
.app-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 10px; color: #e0ebf7; font-weight: 500; transition: background .18s ease; }
.app-nav a:hover { background: #244b75; color: #fff; text-decoration: none; }
.app-nav a[aria-current="page"] { background: #3b6c9f; color: #fff; box-shadow: inset 4px 0 var(--ds-gold); }
.app-nav-icon { width:20px; height:20px; display:inline-flex; align-items:center; justify-content:center; flex:none; color:#c7daed; text-align:center; }
.app-nav-icon svg { display:block; width:20px; height:20px; flex:none; }
.app-nav a[aria-current="page"] .app-nav-icon { color: #ffd36a; }
.app-sidebar-footer { margin-top: auto; padding: 15px 10px 0; border-top: 1px solid #315577; color: #b5cbe0; font-size: 12px; }
.app-sidebar-footer small { display: block; margin-top: 4px; color: #b5cbe0; }
.app-main { min-width: 0; }
.app-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 66px;
    padding: 12px 30px;
    border-bottom: 1px solid var(--ds-line);
    background: var(--ds-surface);
}
.app-breadcrumb { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ds-muted); font-size: 13px; }
.app-breadcrumb a { color: var(--ds-muted); font-weight: 500; }
.app-breadcrumb strong { color: var(--ds-ink); }
.app-topbar-actions { display: flex; align-items: center; gap: 16px; color: var(--ds-muted); font-size: 12px; white-space: nowrap; }
.app-avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #e9eef6; color: var(--ds-navy); font-weight: 800; }
.app-menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 4px 10px; }
.app-content { min-width: 0; padding: 24px 30px 34px; }
.app-content > .container { width: 100%; max-width: none; margin: 0; padding: 0; min-width: 0; }
.app-body.screenshot-prompt-page { padding: 0; }
.app-body.screenshot-prompt-page .app-content > .container { padding: 0; }
.app-sidebar-backdrop { display: none; }

.page-header { margin-bottom: 20px; }
.page-title { font-size: clamp(26px, 2vw, 31px); letter-spacing: -.03em; }
.page-subtitle, .muted { color: var(--ds-muted); }
.card, .panel, .stat-card { min-width: 0; background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: var(--ds-radius); box-shadow: var(--ds-shadow); }
.panel { padding: 20px; }
.card, .stat-card { padding: 20px; }
.stat-value { color: var(--ds-navy); }
.actions { gap: 10px; }
button, .button, .btn, a.btn-primary, a.btn-secondary, a.btn-danger { min-height: 40px; padding: 9px 14px; border: 1px solid var(--ds-line); border-radius: var(--ds-radius-small); background: var(--ds-surface); color: var(--ds-ink); font-weight: 700; }
.button, .btn, a.btn-primary, a.btn-secondary, a.btn-danger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
button:hover, .button:hover, .btn:hover { border-color: #b8c9dd; background: #f8fbff; text-decoration: none; }
.btn-primary, a.btn-primary, .button-primary, .btn.primary { background: var(--ds-navy); border-color: var(--ds-navy); color: #fff; }
.btn-primary:hover, a.btn-primary:hover, .button-primary:hover, .btn.primary:hover { background: var(--ds-navy-hover); border-color: var(--ds-navy-hover); }
.btn-secondary, a.btn-secondary, .button-secondary { background: var(--clash-surface, #fffdf8); color: var(--ds-ink); border-color: var(--ds-line); }
.btn-danger, a.btn-danger, .btn.danger { background: #fff0f1; color: var(--ds-red); border-color: #f2c7cb; }
.btn-danger:hover, a.btn-danger:hover, .btn.danger:hover { background: #ffe4e6; border-color: #e8b4bb; }
.btn-link { min-height: auto; padding: 0; border: 0; background: transparent; color: var(--ds-blue); }
.btn.small { min-height: 32px; padding: 5px 10px; font-size: 12px; }
button:disabled { cursor: not-allowed; opacity: .6; }
input, select, textarea { min-width: 0; border-color: var(--ds-line); border-radius: var(--ds-radius-small); color: var(--ds-ink); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ds-blue); }
.table-wrap, .members-table-scroll { min-width: 0; max-width: 100%; border-color: var(--ds-line); border-radius: 12px; }
.app-content table { min-width: 0; }
th, td { padding: 12px 14px; border-color: var(--ds-line); }
th { background: #f8fafc; color: var(--ds-muted); font-size: 12px; }
td { overflow-wrap: anywhere; }
tbody tr:hover { background: #f8fbff; }
.badge, .tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: var(--clash-forest-pale, #f1f5ed); color: var(--ds-blue); font-size: 12px; font-weight: 700; }
.badge-success { background: #e7f6ef; color: var(--ds-green); }
.badge-danger { background: #fff0f1; color: var(--ds-red); }
.badge-warning { background: #fff4da; color: #946315; }
.notice { padding: 12px 16px; border-radius: var(--ds-radius-small); }
.notice-success { background: #e7f6ef; color: var(--ds-green); border-color: #bce5d0; }
.notice-error { background: #fff0f1; color: var(--ds-red); border-color: #f2c7cb; }
.empty-state { padding: 32px 20px; color: var(--ds-muted); }

dialog {
    width: min(560px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 48px);
    padding: 24px;
    overflow: auto;
    border: 1px solid var(--ds-line);
    border-radius: var(--ds-radius);
    background: var(--ds-surface);
    color: var(--ds-ink);
    box-shadow: 0 24px 80px rgba(15, 35, 63, .28);
}
dialog::backdrop { background: rgba(15, 35, 63, .55); }
dialog h2 { margin-top: 0; }
.ui-dialog-header, .ui-drawer-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--ds-line); }
.ui-dialog-body, .ui-drawer-body { padding: 20px 0; }
.ui-dialog-footer, .ui-drawer-footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding-top: 16px; border-top: 1px solid var(--ds-line); }
dialog.ui-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(480px, 100vw);
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 14px 0 0 14px;
}

@media (max-width: 1440px) {
    .app-content { padding: 22px 24px 30px; }
    .app-topbar { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 900px) {
    .app-shell { grid-template-columns: minmax(0, 1fr); }
    .app-shell, .app-sidebar-collapsed .app-shell, .app-sidebar-expanded .app-shell { grid-template-columns: minmax(0, 1fr); }
    .app-sidebar { position: fixed; left: 0; width: 248px; z-index: 60; visibility: hidden; transform: translateX(-100%); }
    .sidebar-open { overflow: hidden; }
    .sidebar-open .app-sidebar { visibility: visible; transform: translateX(0); }
    .sidebar-open .app-sidebar-backdrop { position: fixed; inset: 0; z-index: 55; display: block; background: rgba(15, 35, 63, .55); }
    .app-menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 4px 10px; }
    .app-sidebar-collapsed .app-brand-copy, .app-sidebar-collapsed .app-clan-context, .app-sidebar-collapsed .app-nav-label, .app-sidebar-collapsed .app-sidebar-footer { display: block; }
    .app-sidebar-collapsed .app-brand { justify-content: flex-start; padding-inline: 6px; }
    .app-sidebar-collapsed .app-nav a { justify-content: flex-start; padding-inline: 12px; font-size: 14px; }
    .app-sidebar-collapsed .app-nav-icon { margin: 0; }
    .app-topbar { padding: 12px 20px; }
    .app-content { padding: 20px; }
}
@media (max-width: 560px) {
    .app-topbar { min-height: 58px; padding: 10px 12px; }
    .app-topbar-actions > span:first-child { display: none; }
    .app-content { padding: 16px 12px 24px; }
    .card, .panel { padding: 16px; }
    dialog { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.auth-panel{max-width:560px;margin:0 auto;padding:24px}.auth-form{display:grid;gap:10px;max-width:420px}.auth-form label{font-weight:700;color:var(--ds-ink,#172033)}.auth-form input{min-height:42px;padding:8px 10px;border:1px solid var(--ds-line,#dbe3ee);border-radius:8px}.auth-logout-form{display:inline}.auth-status{font-size:12px;color:var(--ds-muted,#64748b)}

.btn-admin-login {
    display: inline-block;          /* 让 a 标签支持宽高和内边距 */
    padding: 4px 12px;             /* 上下 4px，左右 12px 内边距（小按钮尺寸） */
    font-size: 13px;               /* 字体大小 */
    color: #005eb7;                /* 默认字体颜色（科技蓝） */
    background-color: transparent; /* 默认背景透明 */
    border: 1px solid #0081f9;     /* 默认边框：1像素实线 */
    border-radius: 4px;            /* 圆角（如果想要胶囊形状可改成 20px） */
    text-decoration: none;         /* 去除 a 标签默认下划线 */
    cursor: pointer;               /* 鼠标放上去显示为手型 */
    transition: all 0.3s ease;     /* 核心：0.3秒平滑过渡动画 */
}

/* 鼠标悬停状态（Hover） */
.btn-admin-login:hover {
    color: #ffffff;                /* 悬停时文字变为白色 */
    background-color: #0261bb;     /* 悬停时背景填满蓝色 */
    border-color: #0068ca;         /* 悬停时保持边框颜色一致 */
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.35); /* (可选) 悬停时带轻微发光阴影 */
}

/* 鼠标按下一瞬间的效果（点击反馈） */
.btn-admin-login:active {
    background-color: #00356e;     /* 颜色稍微加深 */
    border-color: #003267;
}
/* The brand is a navigation toggle, not a link to the dashboard. */
button.app-brand {
    width: 100%; border: 0; border-bottom: 1px solid #315577; border-radius: 0;
    background: transparent; color: inherit; font: inherit; text-align: left;
    cursor: pointer; box-shadow: none;
}
button.app-brand:hover { background: #ffffff08; }
button.app-brand:focus-visible { outline: 2px solid #e3a22d; outline-offset: 3px; }
.app-breadcrumb > strong { min-width: 0; overflow-wrap: anywhere; }
.app-breadcrumb > a { flex-shrink: 0; }
.app-breadcrumb > .app-menu-toggle { flex-shrink: 0; }
.app-nav-sections{display:grid;gap:20px}
.app-nav-sections .app-nav-group+.app-nav-group{padding-top:16px;border-top:1px solid #31506e}
.app-nav-sections .app-nav-label{font-weight:600;font-size:11px;color:#9eb6ce;letter-spacing:.08em}
.app-nav .app-nav-disabled{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:10px;color:#9aafa4;font-weight:600;cursor:not-allowed;opacity:.68}
@media(min-width:901px){.app-sidebar-collapsed .app-nav .app-nav-disabled{justify-content:center;padding-inline:10px;font-size:0}.app-sidebar-collapsed .app-nav .app-nav-disabled .app-nav-icon{margin:0}}
.is-permission-disabled{cursor:not-allowed!important;opacity:.62;pointer-events:none}
.is-permission-disabled:hover{transform:none!important;filter:none!important}
@media(min-width:901px){.app-sidebar-collapsed .app-nav-sections{gap:10px}.app-sidebar-collapsed .app-nav-sections .app-nav-group+.app-nav-group{padding-top:10px}}

/* Clash themed visual layer */
:root {
    --ds-navy: #193a4b;
    --ds-navy-hover: #285769;
    --ds-ink: #20312f;
    --ds-muted: #6f7f7b;
    --ds-line: #d9dfd6;
    --ds-canvas: #eef1e9;
    --ds-surface: #fffdf8;
    --ds-gold: #c58a32;
    --ds-blue: #2e7285;
    --ds-green: #3e7651;
    --ds-red: #b84f43;
    --ds-shadow: 0 16px 40px rgba(40, 61, 51, .10);
    --bg: var(--ds-canvas);
    --surface: var(--ds-surface);
    --surface-muted: #edf1e8;
    --text: var(--ds-ink);
    --muted: var(--ds-muted);
    --border: var(--ds-line);
    --primary: var(--ds-navy);
    --primary-hover: var(--ds-navy-hover);
    --danger: var(--ds-red);
    --success: var(--ds-green);
    --shadow: var(--ds-shadow);
}

body {
    background:
        radial-gradient(circle at 12% 4%, rgba(209, 170, 78, .10), transparent 24rem),
        linear-gradient(135deg, #f5f5ed 0%, #e9eee5 100%);
    color: var(--ds-ink);
    font-family: "Trebuchet MS", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

.app-sidebar {
    background:
        linear-gradient(165deg, rgba(255,255,255,.06), transparent 35%),
        #132f2b;
    border-right-color: #34594d;
}
.app-brand { border-bottom-color: #3a6155; }
.app-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f1ca70;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .2);
    overflow: hidden;
}
.app-brand-mark img { width: 100%; height: 100%; display: block; }
.app-brand-copy small { color: #b9d0c6; letter-spacing: .08em; }
.app-clan-context { border-color: #426657; background: #1e473d; }
.app-clan-context > span { color: #c5dacd; }
.app-nav-label { color: #b5d0c0; }
.app-nav a { color: #e3f0e5; font-weight: 600; transition: background .18s ease, transform .18s ease; }
.app-nav a:hover { background: #285649; color: #fff; transform: translateX(2px); }
.app-nav a[aria-current="page"] {
    background: linear-gradient(90deg, #3d795b, #2e5f4c);
    box-shadow: inset 4px 0 #f0c15e, 0 7px 16px rgba(0,0,0,.12);
}
.app-nav-icon { color: #b9d8c4; }
.app-sidebar-footer { border-top-color: #3a6155; color: #b5d0c0; }
.app-sidebar-footer small { color: #9cb9aa; }
.app-topbar {
    border-bottom-color: #d4ddd3;
    background: rgba(255, 253, 248, .94);
    backdrop-filter: blur(12px);
}
.app-avatar { background: #e6eee4; color: var(--ds-navy); border: 1px solid #c9d9c9; }
.app-content { padding-top: 28px; }
.card, .panel, .stat-card { background: rgba(255, 253, 248, .96); }
button, .button, .btn, a.btn-primary, a.btn-secondary, a.btn-danger { border-radius: 11px; }
.btn-primary, a.btn-primary, .button-primary, .btn.primary {
    background: linear-gradient(135deg, #315f58, #1e3c43);
    border-color: #234b49;
    box-shadow: 0 6px 15px rgba(30, 74, 67, .18);
}
.btn-primary:hover, a.btn-primary:hover, .button-primary:hover, .btn.primary:hover {
    background: linear-gradient(135deg, #3c766a, #28505b);
    border-color: #28505b;
}
.btn-secondary, a.btn-secondary, .button-secondary { background: #fffdf8; }
.badge, .tag { background: #e8f0e7; color: var(--ds-green); }
th { background: #f1f4ed; }
tbody tr:hover { background: #f6f8f1; }
.notice-success { background: #e7f1e5; color: #326647; border-color: #bbd6b9; }
.notice-error { background: #fff0ed; color: #a9443d; border-color: #e7beb8; }
.skip-link { background: #f1ca70; }

.dashboard-header {
    position: relative;
    overflow: hidden;
    padding: 26px 28px;
    border: 1px solid #315e5d;
    border-radius: 20px;
    background:
        linear-gradient(90deg, rgba(14, 37, 43, .94), rgba(23, 68, 70, .68)),
        url("../images/clash/war-banner.svg") center / cover;
    box-shadow: 0 18px 38px rgba(24, 56, 56, .18);
}
.dashboard-header::after {
    position: absolute;
    right: 28px;
    bottom: -44px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(247, 207, 113, .35);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 22px rgba(247, 207, 113, .05), 0 0 0 44px rgba(247, 207, 113, .04);
}
.dashboard-header > * { position: relative; z-index: 1; }
.dashboard-header .dashboard-kicker { color: #f3c96b; }
.dashboard-header .page-title { color: #fff8df; text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.dashboard-header .page-subtitle { color: #d5e5dc; }
.dashboard-header-actions .btn-secondary { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.10); color: #fff8df; }
.dashboard-header-actions .btn-secondary:hover { background: rgba(255,255,255,.18); }
.clan-bar { border-color: #d8d2c1; background: linear-gradient(135deg, #fffdf7, #f5f0e3); }
.clan-emblem { background: #edf3e7; border-color: #cbdcc5; color: #3e7651; }
.clan-status { background: #e7f1e5; color: #326647; }
.attention-overview, .section-panel, .quick-panel { border-color: #d8dfd5; }
.status-card { background: linear-gradient(145deg, #fffef9, #f5f7ef); }
.status-icon { background: #e7f0e6; color: #3e7651; }
.status-icon-warn { background: #fff1d3; color: #9b6921; }
.status-icon-good { background: #e5f1e4; color: #3e7651; }
.attention-card { background: #fffdf8; }
.attention-card-icon { background: #fce8e2; color: #af4e42; }
.attention-warning .attention-card-icon { background: #fff1d3; color: #9b6921; }
.battle-item:hover { background: #f6f8f1; }
.battle-type-badge { background: #e6f0ec; color: #39715e; }
.battle-metric { background: #f1f4ed; }
.quick-link { background: linear-gradient(135deg, #fffdf8, #f1f5ed); border-color: #d8dfd5; }
.quick-link:hover { border-color: #c1cfbf; background: #fffef9; }
.phone-dashboard { color: #20312f; }
.phone-dashboard-head p { color: #6f7f7b; }
.phone-dashboard-head h1 { color: #20312f; }
.phone-dashboard-switch { color: #41665f; border-color: #d2ddd1; background: #fffdf8; }
.phone-dashboard-clan {
    background:
        linear-gradient(135deg, rgba(18, 57, 53, .94), rgba(35, 92, 76, .76)),
        url("../images/clash/war-banner.svg") center / cover;
    border: 1px solid #39735f;
    box-shadow: 0 16px 30px rgba(33, 74, 61, .18);
}
.phone-dashboard-clan-title > span { background: rgba(247, 203, 106, .16); border-color: rgba(247, 203, 106, .32); }
.phone-dashboard-counts span { color: #c8ddd0; }
.phone-dashboard-shortcuts a { color: #2e4e49; }
.phone-dashboard-shortcuts .is-gold { color: #9a6a24; background: #f8e7bf; }
.phone-dashboard-shortcuts .is-blue { color: #2d6a75; background: #dceceb; }
.phone-dashboard-shortcuts .is-purple { color: #7b5d86; background: #eee3eb; }
.phone-dashboard-shortcuts .is-green { color: #3c7651; background: #e0eedf; }
.phone-dashboard-upload { background: #e4efe8; border-color: #cbded0; color: #326647; }
.phone-dashboard-upload small { color: #6c8b79; }
.phone-dashboard-attention > button { border-color: #dbe3d9; background: #fffdf8; }
.phone-dashboard-alert-icon { background: #fce8e2; color: #af4e42; }
.phone-dashboard-alert-icon.is-warning { background: #fff1d3; color: #9b6921; }
.phone-dashboard-attention button strong { color: #2e4541; }
.phone-dashboard-battle { border-color: #dbe3d9; background: #fffdf8; color: #2e4541; }
.phone-dashboard-battle-meta > span { background: #e6f0ec; color: #39715e; }
.phone-dashboard-battle-metrics { border-top-color: #e5ebe2; }
.phone-dashboard-battle-metrics span { color: #75857d; }
.phone-dashboard-more { border-color: #dbe3d9; background: #fffdf8; }
.phone-dashboard-more a { color: #477267; }
.phone-dashboard-empty { border-color: #cddcc9; background: #fffdf8; }
.phone-dashboard-empty p { color: #7c8d83; }
.phone-dashboard-empty a { color: #3e7651; }

@media (max-width: 900px) {
    .app-content { padding-top: 20px; }
}

@media (max-width: 700px) {
    .dashboard-header { padding: 22px 18px; }
}
