/* 冬启新程竞赛填报平台 样式 */
:root {
  --ink: #0f172a;
  --ink-2: #475569;
  --muted: #8a97ab;
  --bg: #f4f6fb;
  --card: #ffffff;
  --line: #e4e9f2;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #e8efff;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --sidebar: #0f1e33;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
table { border-collapse: collapse; width: 100%; }
input, select, textarea, button { font-family: inherit; }

/* ---------------------------------------------------------------- 布局 */
.layout { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }

.sidebar {
  background: var(--sidebar);
  color: #dfe7f3;
  padding: 22px 16px;
  display: flex; flex-direction: column; gap: 26px;
  position: sticky; top: 0; height: 100vh;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  color: #fff; font-weight: 700; font-size: 18px;
}
.brand-mark.light { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 15px; letter-spacing: .5px; }
.brand-text span { font-size: 11px; color: #7d8fa9; letter-spacing: .8px; text-transform: uppercase; }

.nav { display: flex; flex-direction: column; gap: 4px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 14px; color: #a9b7ca; transition: .18s;
}
.nav-item i { font-style: normal; font-size: 13px; width: 16px; opacity: .85; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: linear-gradient(90deg, rgba(37,99,235,.95), rgba(37,99,235,.65)); color: #fff; }
.nav-group { font-size: 11px; color: #61718a; letter-spacing: 1px; padding: 14px 12px 4px; }
.sidebar-foot { margin-top: auto; font-size: 11px; color: #6c7d94; display: flex; flex-direction: column; gap: 4px; }
.sidebar-foot .muted { color: #4d5c72; }

.content { display: flex; flex-direction: column; min-width: 0; }

.topbar {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 30px 16px;
}
.topbar h1 { font-size: 22px; font-weight: 700; letter-spacing: .3px; }
.topbar .sub { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.userbox { display: flex; align-items: center; gap: 10px; }
.userbox > div { display: flex; flex-direction: column; line-height: 1.3; }
.userbox strong { font-size: 13.5px; }
.userbox span { font-size: 11.5px; color: var(--muted); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 14px;
}
.main { padding: 6px 30px 40px; }

/* ---------------------------------------------------------------- 通用组件 */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px;
}
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.card-head h2 { font-size: 15.5px; font-weight: 700; }
.card-head p { font-size: 12px; color: var(--muted); margin-top: 4px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; padding: 0 16px; border-radius: 9px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 13.5px; cursor: pointer;
  transition: .16s; white-space: nowrap;
}
.btn:hover { border-color: #c9d4e6; background: #fbfcff; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.ghost { background: transparent; }
.btn.sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 7px; }
.btn.danger { color: var(--red); border-color: #f3cfcf; background: #fff7f7; }
.btn.danger:hover { background: #feecec; }
.btn.block { width: 100%; height: 44px; font-size: 15px; letter-spacing: 2px; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; line-height: 18px; }
.pill.blue { background: var(--brand-soft); color: var(--brand); }
.pill.green { background: #e7f7ee; color: var(--green); }
.pill.gray { background: #f0f3f8; color: var(--ink-2); }
.pill.amber { background: #fdf1de; color: var(--amber); }
.pill.red { background: #fdeaea; color: var(--red); }
.pill.gold { background: #fef3c7; color: #b45309; }
.pill.silver { background: #f1f5f9; color: #475569; }
.pill.bronze { background: #ffedd5; color: #9a3412; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field > span { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.field input, .field select, .field textarea, .grid-form input, .grid-form select {
  height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 14px; background: #fbfcff; outline: none; transition: .16s; width: 100%;
}
.field input:focus, .field select:focus, .grid-form input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }

/* ---------------------------------------------------------------- 登录页 */
.login-body {
  min-height: 100vh; padding: 28px; position: relative;
  display: grid; place-items: center;
  background: #0d1a2b url("../img/login-bg.jpg") center center / cover no-repeat fixed;
}
.login-body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background: linear-gradient(112deg, rgba(8,20,38,.54) 0%, rgba(8,20,38,.28) 46%, rgba(8,20,38,.05) 100%);
}
.login-shell {
  position: relative; z-index: 1;
  width: min(1060px, 100%); min-height: 600px; display: grid; grid-template-columns: 1.05fr .95fr;
  border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 80px rgba(2, 8, 20, .5);
}
.login-brand {
  position: relative; padding: 46px 48px; color: #fff; overflow: hidden; min-width: 0;
  display: flex; flex-direction: column; gap: 26px; justify-content: center;
  background: linear-gradient(160deg, rgba(9,22,42,.62) 0%, rgba(9,22,42,.34) 48%, rgba(9,22,42,.6) 100%);
  border-right: 1px solid rgba(255,255,255,.1);
  text-shadow: 0 1px 14px rgba(0,0,0,.32);
}
.brand-hero h2 { font-size: 40px; line-height: 1.15; letter-spacing: 3px; font-weight: 700; }
.brand-hero p { margin-top: 12px; font-size: 13px; color: #c8d8ee; letter-spacing: .6px; }
.info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.info-list li {
  display: flex; gap: 14px; align-items: flex-start; padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.13);
}
.info-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.info-icon {
  width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: #dbe9ff;
}
.info-icon svg { width: 18px; height: 18px; }
.info-body { display: flex; flex-direction: column; gap: 6px; }
.info-label { font-size: 11.5px; color: #a9bfd8; letter-spacing: 1.6px; }
.info-body strong { font-size: 15px; font-weight: 600; letter-spacing: .5px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 12px; padding: 3px 10px; border-radius: 20px; color: #eaf3ff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); letter-spacing: .5px;
}
.brand-foot { font-size: 11.5px; color: #93a8c2; letter-spacing: .4px; }
.login-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 78%);
}
.login-panel {
  padding: 48px 56px; display: flex; flex-direction: column; justify-content: center; gap: 18px;
  background: rgba(252, 253, 255, .97); min-width: 0;
}
.login-card h1 { font-size: 25px; letter-spacing: 1px; }
.login-sub { font-size: 12.5px; color: var(--muted); margin: 8px 0 26px; }
.captcha-row { display: grid; grid-template-columns: 1fr 128px; gap: 10px; align-items: center; }
.captcha-row img {
  width: 128px; height: 44px; border-radius: 9px; border: 1px solid var(--line);
  cursor: pointer; object-fit: cover; background: #14243c;
}
.login-hint { display: flex; justify-content: space-between; margin-top: 18px; font-size: 11.5px; color: var(--muted); }
.copyright { text-align: center; font-size: 11.5px; color: #9aa8bd; }
.alert { padding: 10px 14px; border-radius: 9px; font-size: 13px; margin-bottom: 18px; }
.alert.error { background: #fdeeee; color: #b42318; border: 1px solid #f6d5d5; }
.alert.success { background: #e9f8ef; color: #15803d; border: 1px solid #c8ecd7; }

/* ---------------------------------------------------------------- 看板 */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.stat::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px;
  border-radius: 50%; background: var(--brand-soft); opacity: .7;
}
.stat .label { font-size: 12.5px; color: var(--ink-2); }
.stat .value { font-size: 27px; font-weight: 700; margin-top: 8px; letter-spacing: .5px; }
.stat .value small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.stat .foot { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
.stat.accent { background: linear-gradient(135deg, #1e3a8a, #2563eb); border-color: transparent; }
.stat.accent .label, .stat.accent .foot { color: #d5e2ff; }
.stat.accent .value { color: #fff; }
.stat.accent::after { background: rgba(255,255,255,.12); }

.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.bar-list { display: flex; flex-direction: column; gap: 14px; }
.bar-item .bar-top { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 6px; }
.bar-item .bar-top span { color: var(--ink-2); }
.bar-item .bar-top b { font-weight: 600; }
.bar-track { height: 9px; background: #eef2f9; border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #3b82f6, #38bdf8); }
.bar-fill.alt2 { background: linear-gradient(90deg, #6366f1, #a78bfa); }
.bar-fill.alt3 { background: linear-gradient(90deg, #0ea5e9, #22d3ee); }
.bar-fill.alt4 { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.bar-fill.alt5 { background: linear-gradient(90deg, #10b981, #34d399); }

/* ---------------------------------------------------------------- 表格 */
.table-wrap { overflow-x: auto; }
table.grid { font-size: 13px; }
table.grid th {
  text-align: left; font-weight: 600; color: var(--ink-2); font-size: 12px;
  padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #fafbfe;
}
table.grid td { padding: 12px; border-bottom: 1px solid #f1f4fa; vertical-align: middle; }
table.grid tr:hover td { background: #fbfcff; }
table.grid td.num, table.grid th.num { text-align: right; font-variant-numeric: tabular-nums; }
.team-name { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.team-badge {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); font-size: 12px; font-weight: 700;
}
.rank-no { font-weight: 700; font-size: 14px; color: var(--ink-2); }
.rank-no.top1 { color: #d97706; }
.rank-no.top2 { color: #64748b; }
.rank-no.top3 { color: #b45309; }

/* 填报 */
.revenue-input {
  width: 118px; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px;
  font-size: 13px; text-align: right; background: #fbfcff; font-variant-numeric: tabular-nums;
}
.revenue-input:focus { border-color: var(--brand); background: #fff; outline: none; }
.revenue-input.dirty { border-color: #f0b429; background: #fffdf3; }
.score-cell { font-weight: 700; color: var(--brand); }

.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar label { font-size: 12.5px; color: var(--ink-2); }
.toolbar input[type=month], .toolbar input[type=text], .toolbar select {
  height: 34px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px;
  font-size: 13px; background: #fff; outline: none;
}
.spacer { flex: 1; }

/* 排名 */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.podium-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); text-align: center;
}
.podium-card .crown { font-size: 22px; }
.podium-card .t { font-size: 16px; font-weight: 700; margin: 8px 0 4px; }
.podium-card .s { font-size: 26px; font-weight: 700; color: var(--brand); letter-spacing: .5px; }
.podium-card .s small { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 3px; }
.podium-card .m { font-size: 12px; color: var(--muted); margin-top: 6px; }
.podium-card.gold { border-top: 3px solid #f59e0b; }
.podium-card.silver { border-top: 3px solid #94a3b8; }
.podium-card.bronze { border-top: 3px solid #d97706; }

/* 表单网格（弹窗） */
.grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-form .full { grid-column: 1 / -1; }
.grid-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }

.modal-mask {
  position: fixed; inset: 0; background: rgba(9, 18, 33, .55); backdrop-filter: blur(2px);
  display: none; place-items: center; z-index: 60; padding: 24px;
}
.modal-mask.show { display: grid; }
.modal {
  width: min(560px, 100%); background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: 0 30px 70px rgba(2,8,20,.4); max-height: 90vh; overflow: auto;
}
.modal h3 { font-size: 17px; margin-bottom: 18px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px);
  background: #0f172a; color: #fff; padding: 11px 20px; border-radius: 10px; font-size: 13.5px;
  opacity: 0; pointer-events: none; transition: .25s; z-index: 80; box-shadow: 0 14px 30px rgba(0,0,0,.25);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: #b42318; }

.empty { padding: 40px; text-align: center; color: var(--muted); font-size: 13px; }

/* 错误页 */
.error-page { min-height: 100vh; display: grid; place-items: center; background: var(--bg); }
.error-box { text-align: center; }
.error-box .code { font-size: 64px; font-weight: 800; color: var(--brand); letter-spacing: 3px; }
.error-box p { color: var(--ink-2); margin: 10px 0 22px; }

/* 响应式 */
@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .login-shell { grid-template-columns: 1fr; min-height: auto; }
  .login-brand { padding: 30px 30px 24px; gap: 16px; }
  .brand-hero h2 { font-size: 26px; letter-spacing: 4px; }
  .info-list li { padding: 10px 0; }
  .brand-foot { display: none; }
  .login-panel { padding: 32px 28px; }
}

@media (max-width: 640px) {
  .login-body { padding: 14px; }
  .login-shell { border-radius: 18px; }
  .login-brand { padding: 24px 22px 20px; gap: 14px; }
  .brand-hero h2 { font-size: 24px; }
  .login-panel { padding: 26px 20px 24px; }
  .captcha-row { grid-template-columns: 1fr 104px; gap: 8px; }
  .captcha-row img { width: 104px; }
  .login-hint { flex-direction: column; gap: 4px; }
}
@media (max-width: 820px) {
  /* ---- 布局：侧边栏变吸顶横滑导航 ---- */
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: sticky; top: 0; height: auto; z-index: 50;
    padding: 10px 14px; gap: 10px;
    box-shadow: 0 4px 16px rgba(2, 8, 20, .25);
  }
  .brand { gap: 8px; }
  .brand-mark { width: 30px; height: 30px; font-size: 15px; border-radius: 8px; }
  .brand-text strong { font-size: 13.5px; }
  .brand-text span { display: none; }
  .nav {
    flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 6px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav-item { flex: 0 0 auto; padding: 7px 13px; font-size: 13px; border-radius: 8px; }
  .nav-item i { display: none; }
  .nav-group { display: none; }
  .sidebar-foot { display: none; }

  /* ---- 顶栏 ---- */
  .topbar { padding: 14px 14px 10px; gap: 10px; }
  .topbar h1 { font-size: 18px; }
  .topbar .sub { font-size: 11.5px; margin-top: 3px; }
  .avatar { width: 30px; height: 30px; font-size: 13px; }
  .userbox strong { font-size: 12.5px; }
  .userbox span { font-size: 10.5px; }
  .main { padding: 4px 12px 32px; }

  /* ---- 卡片 / 看板 ---- */
  .card { padding: 14px; border-radius: 12px; }
  .card-head { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 12px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat { padding: 12px 14px; }
  .stat .value { font-size: 20px; margin-top: 6px; }
  .stat .value small { font-size: 11.5px; }
  .two-col { grid-template-columns: 1fr; gap: 12px; }
  .podium { grid-template-columns: 1fr; gap: 10px; }
  .podium-card { padding: 14px; }
  .podium-card .s { font-size: 20px; }

  /* ---- 工具条 / 表格 ---- */
  .toolbar { gap: 8px; }
  .toolbar input[type=month], .toolbar select, .toolbar input[type=text] {
    flex: 1; min-width: 0; height: 38px; font-size: 16px;
  }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  table.grid { font-size: 12.5px; }
  table.grid th { padding: 8px 9px; font-size: 11.5px; }
  table.grid td { padding: 9px; }

  /* ---- 触控 ---- */
  .btn { height: 40px; padding: 0 16px; font-size: 14px; }
  .btn.sm { height: 32px; padding: 0 12px; font-size: 12.5px; }
  .btn.block { height: 46px; font-size: 15.5px; }

  /* ---- 弹窗 / 表单 ---- */
  .modal-mask { padding: 10px; }
  .modal { width: 100%; padding: 18px 16px; border-radius: 14px; max-height: 92vh; }
  .modal h3 { font-size: 15.5px; margin-bottom: 14px; }
  .modal-foot { margin-top: 14px; }
  .modal-foot .btn { flex: 1; height: 42px; font-size: 14.5px; }
  .grid-form { grid-template-columns: 1fr; gap: 10px; }
  .field input, .field select, .field textarea, .grid-form input, .grid-form select, .grid-form textarea {
    font-size: 16px; /* 防 iOS/微信内置浏览器聚焦自动放大 */
  }

  .toast { bottom: 20px; max-width: 90vw; }
  .empty { padding: 26px 14px; }
}

/* 他队明细隐藏占位 */
.detail-hidden { color: #b6c0d1; }

/* ---------------------------------------------------------------- 移动端卡片视图 */
.mobile-cards { display: none; }

/* 我的队伍卡片（队长/队员） */
.my-team-card {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  border-radius: var(--radius); padding: 18px 20px; margin-bottom: 16px;
  color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.my-team-card::after {
  content: ""; position: absolute; right: -36px; top: -36px; width: 110px; height: 110px;
  border-radius: 50%; background: rgba(255, 255, 255, .12);
}
.my-team-card .mt-head { font-size: 13px; color: #c9dbff; letter-spacing: 1px; }
.my-team-card .mt-name { font-size: 21px; font-weight: 700; margin: 4px 0 12px; }
.my-team-card .mt-total { font-size: 30px; font-weight: 700; line-height: 1; }
.my-team-card .mt-total small { font-size: 12px; font-weight: 500; color: #c9dbff; margin-left: 4px; }
.my-team-card .mt-items { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 14px 0; }
.my-team-card .mt-item {
  background: rgba(255, 255, 255, .13); border-radius: 9px; padding: 8px 6px; text-align: center;
}
.my-team-card .mt-item .k { font-size: 10.5px; color: #c9dbff; }
.my-team-card .mt-item .v { font-size: 13px; font-weight: 700; margin-top: 3px; }
.my-team-card .mt-meta { font-size: 11.5px; color: #b7c9e8; margin-bottom: 12px; }
.my-team-card .mt-actions { display: flex; gap: 10px; position: relative; z-index: 1; }
.my-team-card .mt-actions .btn { flex: 1; height: 44px; font-size: 15px; }
.my-team-card .mt-actions .btn.primary { background: #fff; color: var(--brand-dark); border-color: #fff; }
.my-team-card .mt-actions .btn.ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255,255,255,.08); }

@media (max-width: 820px) {
  .mobile-cards { display: block; }
  .hide-mobile { display: none !important; }
  .m-card {
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 12px 14px; margin-bottom: 10px; box-shadow: var(--shadow);
  }
  .m-card-head { display: flex; align-items: center; gap: 8px; }
  .m-card-title { font-weight: 700; font-size: 14px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .m-amount { font-size: 17px; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .m-amount small { font-size: 11px; color: var(--muted); font-weight: 500; margin-left: 2px; }
  .m-meta { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
  .m-actions { display: flex; gap: 8px; margin-top: 10px; }
  .m-actions .btn { flex: 1; }
  .my-team-card .mt-items { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 821px) {
  .hide-desktop { display: none; }
}
