/* =====================================================================
   马114 — 前台样式
   风格：极简清爽 / 白卡片 + 青绿主色 + 柔和冷灰底
   ===================================================================== */

:root{
  --bg:#f5f7f9;
  --card:#ffffff;
  --text:#16232b;
  --sub:#6b7c86;
  --line:#e8eef1;
  --line2:#dfe7ea;
  --brand:#0ea79b;
  --brand-d:#0b8d83;
  --brand-l:#e6f6f4;
  --brand-r:rgba(14,167,155,.18);
  --orange:#f59e0b;
  --orange-l:#fef5e7;
  --green:#10b981;
  --green-l:#e8f8f2;
  --blue:#3b82f6;
  --blue-l:#eaf1fe;
  --red:#ef4444;
  --red-l:#fdeceb;
  --purple:#8b5cf6;
  --purple-l:#f1ecfe;
  --gray-l:#f0f3f5;
  --r:14px;
  --sh1:0 1px 2px rgba(16,35,45,.04);
  --sh2:0 2px 4px rgba(16,35,45,.04), 0 10px 26px rgba(16,35,45,.06);
  --sh3:0 8px 20px rgba(16,35,45,.07), 0 24px 60px rgba(16,35,45,.10);
}

*{box-sizing:border-box;margin:0;padding:0;}
html{-webkit-text-size-adjust:100%;}
body{
  font-family:"PingFang SC","Microsoft YaHei","Hiragino Sans GB",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  font-size:14px;line-height:1.65;color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;border:0;vertical-align:middle;}
ul,ol{list-style:none;}
button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit;outline:0;}
table{border-collapse:collapse;width:100%;}

.container{max-width:1180px;margin:0 auto;padding:0 20px;}
.page{padding:26px 0 60px;min-height:60vh;}

/* ---------------- 顶栏 ---------------- */
.topbar{
  background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:60;
  box-shadow:0 1px 2px rgba(16,35,45,.03);
}
.tb-in{display:flex;align-items:center;gap:26px;height:64px;}
.brand{display:flex;align-items:center;gap:11px;flex:0 0 auto;}
.brand-mark{
  width:38px;height:38px;border-radius:12px;flex:0 0 38px;
  background:linear-gradient(140deg,#17c3b2,#0ea79b 55%,#0b8d83);
  color:#fff;display:grid;place-items:center;font-size:17px;font-weight:700;
  box-shadow:0 5px 14px rgba(14,167,155,.28);
}
.brand-txt{display:flex;flex-direction:column;line-height:1.25;}
.brand-txt b{font-size:16.5px;font-weight:700;letter-spacing:.2px;}
.brand-txt i{font-size:11.5px;color:var(--sub);font-style:normal;}

.nav{display:flex;align-items:center;gap:4px;flex:1 1 auto;}
.nav > a{
  position:relative;padding:8px 14px;border-radius:9px;font-size:14.5px;color:#40525c;transition:.16s;
}
.nav > a:hover{background:#f2f7f8;color:var(--brand-d);}
.nav > a.on{color:var(--brand-d);font-weight:600;background:var(--brand-l);}
.dot-num{
  display:inline-block;min-width:17px;height:17px;line-height:17px;padding:0 4px;margin-left:4px;
  background:#ef4444;color:#fff;border-radius:9px;font-size:11px;font-style:normal;font-weight:600;text-align:center;
}

.tb-right{display:flex;align-items:center;gap:9px;flex:0 0 auto;}
.userbox{position:relative;display:flex;align-items:center;}
.avatar{
  width:34px;height:34px;border-radius:50%;background:var(--brand-l);color:var(--brand-d);
  display:grid;place-items:center;font-weight:700;font-size:14px;cursor:pointer;border:1px solid #cdece9;
}
.udrop{
  display:none;position:absolute;right:0;top:42px;width:176px;background:#fff;border:1px solid var(--line);
  border-radius:12px;box-shadow:var(--sh3);padding:6px;z-index:70;
}
.userbox:hover .udrop{display:block;}
.udrop-name{padding:8px 10px;font-size:13px;color:var(--sub);border-bottom:1px solid var(--line);margin-bottom:5px;}
.udrop a{display:block;padding:8px 10px;border-radius:8px;font-size:13.5px;color:#33444d;}
.udrop a:hover{background:#f2f7f8;color:var(--brand-d);}
.udrop a.out{color:#ef4444;}
.udrop a.out:hover{background:#fdeceb;color:#d93a3a;}

/* ---------------- 按钮 ---------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  height:40px;padding:0 20px;border:1px solid transparent;border-radius:10px;
  cursor:pointer;font-size:14.5px;font-weight:600;transition:.18s;white-space:nowrap;
}
.btn-sm{height:34px;padding:0 14px;font-size:13.5px;border-radius:9px;font-weight:500;}
.btn-lg{height:46px;padding:0 28px;font-size:16px;border-radius:12px;}
.btn-primary{background:linear-gradient(135deg,#14b8a6,#0ea79b);color:#fff;box-shadow:0 4px 12px rgba(14,167,155,.26);}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(14,167,155,.32);}
.btn-ghost{background:#fff;border-color:var(--line2);color:#3d4f59;}
.btn-ghost:hover{border-color:#a9e0da;color:var(--brand-d);background:var(--brand-l);}
.btn-gray{background:var(--gray-l);color:#4a5c66;}
.btn-gray:hover{background:#e6ebee;}
.btn-danger{background:#fff;border-color:#f6c9c6;color:#d93a3a;}
.btn-danger:hover{background:#fdeceb;border-color:#efa9a5;}
.btn-block{width:100%;}
.btn:disabled,.btn.dis{opacity:.55;cursor:not-allowed;transform:none;}

/* ---------------- 公告条 ---------------- */
.noticebar{background:#fffdf5;border-bottom:1px solid #f7ecc9;}
.noticebar .container{display:flex;align-items:center;gap:10px;height:40px;overflow:hidden;}
.nb-tag{flex:0 0 auto;background:#f59e0b;color:#fff;font-size:11.5px;padding:2px 8px;border-radius:6px;font-weight:600;}
.nb-txt{font-size:13.5px;color:#8a6d3b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

/* ---------------- 通用卡片 / 区块 ---------------- */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh1);}
.card.pad{padding:20px;}
.card-hd{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;border-bottom:1px solid var(--line);}
.card-hd h3{font-size:16px;font-weight:700;}
.card-hd .more{font-size:13px;color:var(--sub);}
.card-hd .more:hover{color:var(--brand-d);}
.card-bd{padding:20px;}

.sec{margin-bottom:26px;}
.sec-hd{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}
.sec-hd h2{font-size:19px;font-weight:700;letter-spacing:.2px;display:flex;align-items:center;gap:9px;}
.sec-hd h2::before{content:"";width:4px;height:17px;border-radius:2px;background:linear-gradient(180deg,#17c3b2,#0b8d83);}
.sec-hd .more{font-size:13.5px;color:var(--sub);}
.sec-hd .more:hover{color:var(--brand-d);}

/* ---------------- 首页 Hero ---------------- */
.hero{
  background:#fff;border:1px solid var(--line);border-radius:20px;padding:34px 34px 30px;
  box-shadow:var(--sh2);margin-bottom:24px;position:relative;overflow:hidden;
}
.hero::after{
  content:"";position:absolute;right:-70px;top:-70px;width:260px;height:260px;border-radius:50%;
  background:radial-gradient(circle,rgba(14,167,155,.10),rgba(14,167,155,0) 70%);
}
.hero h1{font-size:27px;font-weight:700;letter-spacing:.3px;margin-bottom:9px;}
.hero p{color:var(--sub);font-size:14.5px;margin-bottom:20px;}
.hero-search{display:flex;gap:10px;max-width:660px;position:relative;z-index:2;}
.hero-search input{
  flex:1 1 auto;height:48px;border:1px solid var(--line2);border-radius:12px;padding:0 16px 0 42px;
  background:#fafcfc url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa8b0' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.6' y2='16.6'/></svg>") 14px center/17px no-repeat;
  transition:.18s;
}
.hero-search input:focus{border-color:#a9e0da;background-color:#fff;box-shadow:0 0 0 4px var(--brand-r);}
.hero-kpi{display:flex;gap:30px;margin-top:22px;flex-wrap:wrap;position:relative;z-index:2;}
.hero-kpi div{display:flex;flex-direction:column;}
.hero-kpi b{font-size:22px;font-weight:700;color:var(--brand-d);line-height:1.2;}
.hero-kpi span{font-size:12.5px;color:var(--sub);}

/* ---------------- 筛选条 ---------------- */
.filterbar{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:16px 18px;box-shadow:var(--sh1);margin-bottom:18px;}
.fb-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.fb-row + .fb-row{margin-top:13px;padding-top:13px;border-top:1px dashed var(--line2);}
.fb-label{flex:0 0 auto;font-size:13px;color:var(--sub);min-width:56px;}
.chip{
  display:inline-flex;align-items:center;height:31px;padding:0 14px;border-radius:9px;
  border:1px solid var(--line2);background:#fff;font-size:13.5px;color:#4a5c66;cursor:pointer;transition:.16s;
}
.chip:hover{border-color:#a9e0da;color:var(--brand-d);background:var(--brand-l);}
.chip.on{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:600;}
.fb-input{
  height:38px;border:1px solid var(--line2);border-radius:10px;padding:0 13px;background:#fafcfc;min-width:150px;
}
.fb-input:focus{border-color:#a9e0da;background:#fff;box-shadow:0 0 0 3px var(--brand-r);}
select.fb-input{cursor:pointer;padding-right:28px;}

/* ---------------- 赛事卡片 ---------------- */
.ev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.ev-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  display:flex;flex-direction:column;transition:transform .18s,border-color .18s,box-shadow .18s;box-shadow:var(--sh1);
}
.ev-card:hover{transform:translateY(-3px);border-color:#bfe4df;box-shadow:0 10px 26px rgba(13,148,136,.12);}
.ev-cover{
  height:112px;background:linear-gradient(135deg,#0ea79b,#0b8d83);position:relative;
  display:flex;align-items:center;justify-content:center;color:#fff;overflow:hidden;
}
.ev-cover img{width:100%;height:100%;object-fit:cover;position:absolute;left:0;top:0;}
.ev-cover .ph{font-size:26px;font-weight:700;letter-spacing:3px;opacity:.9;position:relative;z-index:1;}
.ev-cover .date-badge{
  position:absolute;left:12px;top:12px;background:rgba(255,255,255,.94);border-radius:10px;
  padding:6px 10px;text-align:center;line-height:1.15;z-index:2;box-shadow:0 3px 10px rgba(0,0,0,.10);
}
.ev-cover .date-badge b{display:block;font-size:16px;color:#0b8d83;font-weight:700;}
.ev-cover .date-badge span{font-size:11px;color:#7b8b94;}
.ev-cover .ctag{
  position:absolute;right:10px;top:11px;background:rgba(22,35,43,.62);color:#fff;
  font-size:11.5px;padding:3px 9px;border-radius:7px;backdrop-filter:blur(4px);z-index:2;
}
.ev-body{padding:14px 15px 15px;flex:1 1 auto;display:flex;flex-direction:column;}
.ev-title{font-size:15.5px;font-weight:700;line-height:1.4;margin-bottom:9px;height:44px;overflow:hidden;}
.ev-title a:hover{color:var(--brand-d);}
.ev-meta{display:flex;flex-direction:column;gap:5px;font-size:12.5px;color:var(--sub);margin-bottom:11px;}
.ev-meta span{display:flex;align-items:center;gap:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.ev-meta i{font-style:normal;opacity:.75;}
.ev-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:11px;border-top:1px dashed var(--line2);}
.ev-tags{display:flex;gap:6px;flex-wrap:wrap;}
.ev-join{font-size:13px;color:var(--brand-d);font-weight:600;white-space:nowrap;}
.ev-join:hover{text-decoration:underline;}

/* 状态标签 */
.tag{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:7px;font-size:11.5px;font-weight:600;background:var(--gray-l);color:#5d6e77;white-space:nowrap;}
.tag.green{background:var(--green-l);color:#0a8f6a;}
.tag.orange{background:var(--orange-l);color:#b97109;}
.tag.blue{background:var(--blue-l);color:#2563eb;}
.tag.red{background:var(--red-l);color:#d93a3a;}
.tag.gray{background:var(--gray-l);color:#6b7c86;}
.tag.teal{background:var(--brand-l);color:var(--brand-d);}
.tag.purple{background:var(--purple-l);color:#7c3aed;}

/* ---------------- 赛事详情 ---------------- */
.detail{display:grid;grid-template-columns:1fr 330px;gap:20px;align-items:start;}
.dt-hero{background:linear-gradient(135deg,#0ea79b,#0b8d83);border-radius:16px;color:#fff;padding:26px 26px 22px;position:relative;overflow:hidden;}
.dt-hero::after{content:"";position:absolute;right:-60px;bottom:-80px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.07);}
.dt-hero h1{font-size:24px;font-weight:700;line-height:1.35;margin-bottom:12px;position:relative;z-index:2;}
.dt-hero .dt-sub{display:flex;gap:20px;flex-wrap:wrap;font-size:13.5px;opacity:.94;position:relative;z-index:2;}
.dt-hero .dt-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px;position:relative;z-index:2;}
.dt-hero .tag{background:rgba(255,255,255,.2);color:#fff;}

.info-list{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;}
.info-list li{display:flex;gap:12px;padding:11px 0;border-bottom:1px dashed var(--line2);font-size:13.5px;}
.info-list li .k{flex:0 0 84px;color:var(--sub);}
.info-list li .v{flex:1 1 auto;color:#26363f;word-break:break-word;}
.info-list li.full{grid-column:1 / -1;}
.info-list li:last-child{border-bottom:0;}

.side-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px;box-shadow:var(--sh1);margin-bottom:16px;}
.side-card h4{font-size:14.5px;font-weight:700;margin-bottom:12px;display:flex;align-items:center;gap:7px;}
.side-card h4::before{content:"";width:3px;height:14px;border-radius:2px;background:var(--brand);}
.countdown{text-align:center;padding:6px 0 12px;}
.countdown b{font-size:34px;font-weight:700;color:var(--brand-d);line-height:1.1;}
.countdown span{display:block;font-size:12.5px;color:var(--sub);margin-top:4px;}

/* 备赛清单 */
.prep{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.prep-box{background:#fafcfc;border:1px solid var(--line);border-radius:12px;padding:14px 16px;}
.prep-box h5{font-size:13.5px;font-weight:700;color:var(--brand-d);margin-bottom:9px;display:flex;align-items:center;gap:7px;}
.prep-box h5 em{font-style:normal;font-size:11px;background:var(--brand-l);padding:1px 7px;border-radius:6px;color:var(--brand-d);font-weight:600;}
.prep-box ul li{position:relative;padding-left:16px;font-size:13px;color:#42535c;padding-bottom:6px;line-height:1.6;}
.prep-box ul li::before{content:"";position:absolute;left:3px;top:9px;width:5px;height:5px;border-radius:50%;background:#9fdcd5;}

/* ---------------- 列表型（我的赛事 / 后台） ---------------- */
.tbl{width:100%;font-size:13.5px;background:#fff;}
.tbl th{
  text-align:left;padding:12px 14px;background:#f7fafb;color:#5d6e77;font-weight:600;
  border-bottom:1px solid var(--line);white-space:nowrap;
}
.tbl td{padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:middle;}
.tbl tr:last-child td{border-bottom:0;}
.tbl tbody tr:hover{background:#fafcfc;}
.tbl .t-title{font-weight:600;color:#1d2c34;}
.tbl .t-title:hover{color:var(--brand-d);}
.tbl .ops{white-space:nowrap;}
.tbl .ops a{color:var(--brand-d);font-size:13px;margin-right:11px;}
.tbl .ops a:hover{text-decoration:underline;}
.tbl .ops a.del{color:#d93a3a;}
.tbl-wrap{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--sh1);}
.tbl-scroll{overflow-x:auto;}

/* ---------------- 台账卡片列表 ---------------- */
.my-list{display:flex;flex-direction:column;gap:12px;}
.my-item{
  background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 18px;
  display:flex;align-items:center;gap:18px;box-shadow:var(--sh1);transition:.18s;
}
.my-item:hover{border-color:#bfe4df;box-shadow:0 6px 18px rgba(13,148,136,.09);}
.my-date{flex:0 0 66px;text-align:center;border-right:1px dashed var(--line2);padding-right:14px;}
.my-date b{display:block;font-size:19px;font-weight:700;color:var(--brand-d);line-height:1.2;}
.my-date span{font-size:11.5px;color:var(--sub);}
.my-main{flex:1 1 auto;min-width:0;}
.my-main h4{font-size:15px;font-weight:700;margin-bottom:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.my-main h4 a:hover{color:var(--brand-d);}
.my-main .sub{font-size:12.5px;color:var(--sub);display:flex;gap:14px;flex-wrap:wrap;}
.my-side{flex:0 0 auto;display:flex;align-items:center;gap:10px;}

/* ---------------- 表单 ---------------- */
.form-row{margin-bottom:16px;}
.form-row > label{display:block;font-size:13.5px;font-weight:600;margin-bottom:7px;color:#31424b;}
.form-row > label em{font-style:normal;color:#ef4444;margin-left:3px;}
.form-row .tip{font-size:12px;color:var(--sub);margin-top:5px;}
.inp,.sel,.tarea{
  width:100%;border:1px solid var(--line2);border-radius:10px;background:#fafcfc;padding:0 13px;height:40px;transition:.16s;
}
.tarea{height:auto;padding:11px 13px;line-height:1.6;resize:vertical;min-height:88px;}
.inp:focus,.sel:focus,.tarea:focus{border-color:#a9e0da;background:#fff;box-shadow:0 0 0 3px var(--brand-r);}
.sel{cursor:pointer;padding-right:30px;}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;}
.form-grid .full{grid-column:1 / -1;}
.form-actions{display:flex;gap:10px;align-items:center;padding-top:6px;}
.checks{display:flex;gap:20px;flex-wrap:wrap;}
.checks label{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;cursor:pointer;font-weight:400;}
.checks input{width:16px;height:16px;accent-color:var(--brand);}

/* 登录 / 注册 */
.auth-wrap{max-width:420px;margin:40px auto;}
.auth-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:34px 32px;box-shadow:var(--sh2);}
.auth-card h2{font-size:21px;font-weight:700;margin-bottom:6px;text-align:center;}
.auth-card .auth-sub{text-align:center;color:var(--sub);font-size:13.5px;margin-bottom:24px;}
.auth-foot{text-align:center;margin-top:18px;font-size:13.5px;color:var(--sub);}
.auth-foot a{color:var(--brand-d);font-weight:600;}

/* ---------------- 空状态 ---------------- */
.empty{text-align:center;padding:56px 20px;color:var(--sub);}
.empty .ico{font-size:40px;opacity:.35;margin-bottom:12px;}
.empty p{font-size:14px;margin-bottom:16px;}

/* ---------------- 分页 ---------------- */
.pager{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:22px;justify-content:center;}
.pg-info{font-size:12.5px;color:var(--sub);margin-right:8px;}
.pg{
  display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 10px;
  border:1px solid var(--line2);border-radius:9px;background:#fff;font-size:13.5px;color:#4a5c66;transition:.16s;
}
.pg:hover{border-color:#a9e0da;color:var(--brand-d);background:var(--brand-l);}
.pg.cur{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:600;}
.pg.off{color:#c3ced3;background:#fafcfc;cursor:default;}

/* ---------------- 提醒 ---------------- */
.rm-list{display:flex;flex-direction:column;gap:11px;}
.rm-item{display:flex;gap:14px;padding:15px 18px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--sh1);}
.rm-item.lv1{border-left:3px solid #ef4444;}
.rm-item.lv2{border-left:3px solid #f59e0b;}
.rm-item.lv3{border-left:3px solid #3b82f6;}
.rm-ico{flex:0 0 34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:16px;}
.rm-item.lv1 .rm-ico{background:var(--red-l);}
.rm-item.lv2 .rm-ico{background:var(--orange-l);}
.rm-item.lv3 .rm-ico{background:var(--blue-l);}
.rm-body h4{font-size:14.5px;font-weight:700;margin-bottom:4px;}
.rm-body p{font-size:13px;color:#4d5f69;}
.rm-body .rm-date{font-size:12px;color:var(--sub);margin-top:5px;}

/* ---------------- 统计小卡 ---------------- */
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
.stat{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px 20px;box-shadow:var(--sh1);}
.stat b{display:block;font-size:26px;font-weight:700;color:var(--brand-d);line-height:1.2;}
.stat span{font-size:12.5px;color:var(--sub);}
.stat.orange b{color:#b97109;}
.stat.blue b{color:#2563eb;}
.stat.green b{color:#0a8f6a;}

/* ---------------- 资讯 ---------------- */
.news-list{ display:flex;flex-direction:column;gap:0;}
.news-item{display:flex;gap:16px;padding:16px 0;border-bottom:1px dashed var(--line2);}
.news-item:last-child{border-bottom:0;}
.news-thumb{flex:0 0 120px;height:76px;border-radius:10px;background:linear-gradient(135deg,#e6f6f4,#d5efec);display:grid;place-items:center;color:#0b8d83;font-weight:700;font-size:20px;overflow:hidden;}
.news-thumb img{width:100%;height:100%;object-fit:cover;}
.news-body{flex:1 1 auto;min-width:0;}
.news-body h3{font-size:15.5px;font-weight:700;margin-bottom:6px;}
.news-body h3 a:hover{color:var(--brand-d);}
.news-body p{font-size:13px;color:var(--sub);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.news-body .nm{font-size:12px;color:#9aa8b0;margin-top:7px;display:flex;gap:14px;}
.article{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:32px 36px;box-shadow:var(--sh1);}
.article h1{font-size:23px;font-weight:700;line-height:1.45;margin-bottom:12px;}
.article .a-meta{font-size:12.5px;color:#9aa8b0;padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:20px;display:flex;gap:16px;flex-wrap:wrap;}
.article .a-body{font-size:15px;line-height:1.9;color:#2b3a43;}
.article .a-body p{margin-bottom:14px;}
.article .a-body img{margin:12px 0;border-radius:10px;}

/* ---------------- 面包屑 / 页头 ---------------- */
.crumb{font-size:13px;color:var(--sub);margin-bottom:14px;}
.crumb a:hover{color:var(--brand-d);}
.crumb span{margin:0 7px;opacity:.5;}
.page-hd{margin-bottom:20px;}
.page-hd h1{font-size:22px;font-weight:700;}
.page-hd p{font-size:13.5px;color:var(--sub);margin-top:5px;}

/* ---------------- 提示 ---------------- */
.alert{padding:12px 16px;border-radius:10px;font-size:13.5px;margin-bottom:16px;border:1px solid transparent;}
.alert-info{background:var(--blue-l);color:#2563eb;border-color:#cfe0fd;}
.alert-warn{background:var(--orange-l);color:#b97109;border-color:#f7e0b5;}
.alert-ok{background:var(--green-l);color:#0a8f6a;border-color:#c3ecd9;}
.alert-err{background:var(--red-l);color:#d93a3a;border-color:#f6c9c6;}

.toast{
  position:fixed;left:50%;bottom:34px;transform:translate(-50%,14px);
  background:rgba(22,35,43,.93);color:#fff;font-size:13.5px;padding:10px 18px;border-radius:11px;
  box-shadow:0 12px 30px rgba(0,0,0,.2);opacity:0;pointer-events:none;transition:.22s;z-index:999;max-width:88vw;text-align:center;
}
.toast.show{opacity:1;transform:translate(-50%,0);}

/* ---------------- 我发起的赛事 / 报名信息 ---------------- */
.a-nowrap{white-space:nowrap;}
/* 表格内的文字型按钮（删除等），外观与 .tbl .ops a 保持一致 */
.lnk-del{
  background:none;border:0;padding:0;margin-right:11px;
  font:inherit;font-size:13px;color:#d93a3a;cursor:pointer;line-height:1.6;
}
.lnk-del:hover{text-decoration:underline;}

/* ---------------- 赛事日历 ---------------- */
.cal-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:16px;}
.cal-bar b{font-size:16px;font-weight:700;letter-spacing:.4px;}
.sp{flex:1 1 auto;}
.cal-wrap{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh1);overflow-x:auto;}
.cal{width:100%;min-width:660px;table-layout:fixed;}
.cal th{
  font-size:12.5px;font-weight:600;color:var(--sub);text-align:center;
  padding:10px 6px;border-bottom:1px solid var(--line);background:#fafcfc;
}
.cal th.wk{color:#d98a3a;}
.cal td{vertical-align:top;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:6px;height:104px;width:14.28%;}
.cal td:last-child{border-right:0;}
.cal tr:last-child td{border-bottom:0;}
.cal-day{background:#fff;}
.cal-day .dn{display:block;font-size:12.5px;font-weight:700;color:#41525c;margin-bottom:4px;}
.cal-today{background:var(--brand-l);}
.cal-today .dn{color:var(--brand-d);}
.cal-off{background:#fafcfc;}
.cal-ev{
  display:block;font-size:11.5px;line-height:1.35;padding:3px 6px;margin-bottom:3px;border-radius:6px;
  background:var(--brand-l);color:var(--brand-d);font-weight:600;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.cal-ev:hover{filter:brightness(.96);}
.cal-ev.orange{background:var(--orange-l);color:#b97109;}
.cal-ev.red{background:var(--red-l);color:#d93a3a;}
.cal-ev.gray{background:var(--gray-l);color:#6b7c86;}

/* 卡片封面上的「改期 / 取消」高对比标记 */
.ev-st-flag{
  position:absolute;right:8px;bottom:8px;font-size:11.5px;font-weight:700;z-index:2;
  padding:3px 9px;border-radius:999px;backdrop-filter:blur(2px);
}
.ev-st-flag.orange{background:rgba(245,158,11,.94);color:#fff;}
.ev-st-flag.red{background:rgba(239,68,68,.94);color:#fff;}
.ev-st-flag.gray{background:rgba(107,124,134,.9);color:#fff;}

/* 赛事对比表：首列固定，便于横向滚动时对照 */
.cmp-tbl th:first-child,.cmp-tbl td:first-child{position:sticky;left:0;background:#fafcfc;z-index:2;}
.cmp-pick{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}

/* 参赛报告：横向条形分布 */
.a-bars{display:flex;flex-direction:column;gap:13px;}

/* ---------------- 跑团库（v1.4.0） ---------------- */
.club-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.club-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:16px 17px;
  display:flex;flex-direction:column;gap:10px;box-shadow:var(--sh1);
  transition:transform .18s,border-color .18s,box-shadow .18s;
}
.club-card:hover{transform:translateY(-3px);border-color:#bfe4df;box-shadow:0 10px 26px rgba(13,148,136,.12);}
.club-head{display:flex;align-items:center;gap:12px;}
.club-avatar{
  flex:0 0 46px;width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#0ea79b,#0b8d83);color:#fff;font-size:19px;font-weight:700;
}
.club-avatar.lg{width:64px;height:64px;border-radius:17px;font-size:26px;flex-basis:64px;}
.club-tt{min-width:0;}
.club-tt h3{font-size:15.5px;font-weight:700;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.club-card:hover .club-tt h3{color:var(--brand-d);}
.club-tt p{font-size:12.5px;color:var(--sub);margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.club-tags{display:flex;gap:6px;flex-wrap:wrap;}
.club-tags .tag{font-size:11.5px;padding:3px 9px;}
.club-intro{font-size:13px;color:#4a5c66;line-height:1.65;margin:0;}
.club-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:9px;border-top:1px dashed var(--line2);}
.club-place{font-size:12.5px;color:var(--sub);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
/* 跑团详情头部 */
.club-hero{
  background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px 24px;
  display:flex;align-items:flex-start;gap:16px;box-shadow:var(--sh1);margin-bottom:18px;flex-wrap:wrap;
}
.club-hero-main{flex:1 1 auto;min-width:220px;}
.club-hero-main h1{font-size:21px;margin-bottom:7px;}
.club-hero-main > p{font-size:13.5px;color:var(--sub);}
.club-hero-side{display:flex;gap:9px;flex-wrap:wrap;align-items:flex-start;}
.club-intro-full{font-size:14px;line-height:1.85;color:#2c3d46;margin:0 0 6px;}
.mono{font-family:Consolas,"Courier New",monospace;letter-spacing:.4px;}
/* 微信群二维码区块 */
.wechat-box{
  margin-top:16px;border:1px dashed var(--line2);border-radius:12px;padding:18px;
  display:flex;gap:18px;align-items:center;background:#fafcfc;flex-wrap:wrap;
}
.wq-img{
  flex:0 0 168px;width:168px;height:168px;border-radius:12px;overflow:hidden;
  border:1px solid var(--line2);background:#fff;display:flex;align-items:center;justify-content:center;
}
.wq-img img{width:100%;height:100%;object-fit:contain;}
.wq-side{flex:1 1 220px;min-width:200px;}
.wq-side h4{font-size:15px;font-weight:700;margin-bottom:7px;}
.wq-empty{flex:1 1 auto;text-align:center;padding:10px 6px;}
.wq-empty .ico{font-size:26px;color:#b9c8cf;line-height:1;margin-bottom:8px;}
.wq-empty p{margin:3px 0;font-size:13.5px;color:#31424b;}
.wq-note{font-size:13px;color:var(--brand-d);font-weight:600;}
.wq-tip{font-size:12.5px;color:var(--sub) !important;}
/* 我的跑团：停用态整条淡化 */
.my-item.off{opacity:.62;background:#fbfcfd;}
.my-item.off:hover{opacity:.85;}
/* 跑团库空态下“城市快捷筛选”卡片的 chips 行 */
.fb-row .chip{margin-bottom:2px;}

/* ---------------- 凭证截图上传（v1.5.0） ---------------- */
/* 三种凭证类型的可选大按钮 */
.prf-picks{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:2px;}
.prf-pick{display:block;border:1px solid var(--line2);border-radius:12px;padding:11px 13px;cursor:pointer;background:#fff;transition:border-color .16s,background .16s,box-shadow .16s;}
.prf-pick:hover{border-color:var(--brand);background:#fbfdfd;}
.prf-pick.on{border-color:var(--brand);background:var(--brand-l);box-shadow:inset 0 0 0 1px var(--brand);}
.prf-pick input{margin-right:6px;vertical-align:-1px;}
.prf-pick b{font-size:13.5px;color:var(--text);}
.prf-pick span{display:block;margin-top:5px;font-size:12px;color:var(--sub);line-height:1.65;}

/* 已上传凭证列表 */
.prf-row{display:flex;align-items:flex-start;gap:14px;padding:14px 0;border-top:1px solid var(--line);}
.prf-row:first-child{border-top:0;padding-top:0;}
.prf-thumb{flex:0 0 92px;width:92px;height:92px;border:1px solid var(--line2);border-radius:10px;overflow:hidden;background:var(--gray-l);display:block;}
.prf-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s;}
.prf-thumb:hover img{transform:scale(1.04);}
.prf-info{flex:1;min-width:0;}
.prf-l1{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:6px;}
.prf-time,.prf-size{font-size:12.5px;color:var(--sub);}
.prf-l2{font-size:13px;color:#42535c;line-height:1.8;word-break:break-word;}
.prf-l2 b{color:var(--text);}
.prf-del{flex:0 0 auto;}
.prf-empty{padding:20px;text-align:center;font-size:13.5px;color:var(--sub);background:#fafcfd;border:1px dashed var(--line2);border-radius:12px;line-height:1.8;}

/* 自动更新规则说明 */
.prf-rule{display:flex;flex-direction:column;gap:10px;font-size:13.5px;color:#42535c;line-height:1.75;}
.prf-rule .tag{margin-right:6px;}
.prf-tip{background:#f7fafb;border:1px solid var(--line);border-radius:10px;padding:10px 13px;font-size:12.5px;color:var(--sub);line-height:1.8;}

/* 台账条目上的「已上传凭证」小徽章 */
.pf-mini{display:inline-flex;align-items:center;gap:6px;background:var(--brand-l);border:1px solid #cfe9e5;border-radius:999px;padding:2px 10px 2px 3px;font-size:11.5px;color:var(--brand-d);text-decoration:none;line-height:1.5;}
.pf-mini:hover{border-color:var(--brand);background:#d9f2ee;}
.pf-mini img{width:20px;height:20px;border-radius:50%;object-fit:cover;display:block;background:#fff;}

/* ---------------- 响应式 ---------------- */
@media (max-width:980px){
  .ev-grid{grid-template-columns:repeat(2,1fr);}
  .detail{grid-template-columns:1fr;}
  .stat-grid{grid-template-columns:repeat(2,1fr);}
  .nav{gap:0;}
  .nav > a{padding:8px 10px;font-size:14px;}
  .brand-txt i{display:none;}
  .club-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:720px){
  .tb-in{height:58px;gap:12px;}
  .nav{overflow-x:auto;flex-wrap:nowrap;}
  .nav > a{white-space:nowrap;}
  .tb-right .btn-ghost{display:none;}
  .hero{padding:24px 20px;}
  .hero h1{font-size:22px;}
  .ev-grid{grid-template-columns:1fr;}
  .info-list{grid-template-columns:1fr;}
  .prep{grid-template-columns:1fr;}
  .form-grid{grid-template-columns:1fr;}
  .my-item{flex-wrap:wrap;gap:12px;}
  .my-date{border-right:0;padding-right:0;text-align:left;flex:0 0 auto;}
  .article{padding:22px 20px;}
  .container{padding:0 14px;}
  .club-grid{grid-template-columns:1fr;}
  .club-hero{padding:18px 16px;}
  .wq-img{flex-basis:140px;width:140px;height:140px;}
  .prf-picks{grid-template-columns:1fr;}
  .prf-row{flex-wrap:wrap;}
  .prf-thumb{flex-basis:72px;width:72px;height:72px;}
}
