* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.45 -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif; color: #222; background: #f3f5f8; }
a { color: inherit; text-decoration: none; }
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px; background: #1b2a41; color: #fff; }
.brand { font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.brand .logo { width: 32px; height: 32px; object-fit: contain; }
.conn { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: #555; }
.conn.ok { background: #1a7f37; } .conn.bad { background: #b42318; } .conn.warn { background: #b26a00; }
main { max-width: 1180px; margin: 0 auto; padding: 10px; }
.bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.bar button, .bar input, .bar select { font: inherit; padding: 4px 10px; border: 1px solid #ccd3dd; background: #fff; border-radius: 4px; cursor: pointer; }
.bar button.on { background: #1b2a41; color: #fff; border-color: #1b2a41; }
.bar .grow { flex: 1; }
.muted { color: #888; font-size: 12px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: 5px 6px; border-bottom: 1px solid #eef0f3; text-align: center; white-space: nowrap; }
th { background: #f7f8fa; font-weight: 600; color: #555; font-size: 12px; }
.list td.h { text-align: right; } .list td.a { text-align: left; }
.list td.h, .list td.a { white-space: normal; max-width: 260px; }
.list tr.m { cursor: pointer; } .list tr.m:hover { background: #f6f9ff; }
.list tr.comp td { background: #eef2f7; text-align: left; font-weight: 600; font-size: 13px; }
tr.live .st, tr.live .sc { color: #d0021b; font-weight: 600; }
tr.done { color: #666; }
.sc { font-weight: 700; min-width: 60px; }
.red { display: inline-block; background: #d0021b; color: #fff; border-radius: 2px; padding: 0 3px; font-size: 11px; }
.pos { color: #999; font-size: 11px; }
@keyframes flash { from { background: #fff3b0; } to { background: transparent; } }
.flash td { animation: flash 3s ease-out; }
.card { background: #fff; border-radius: 6px; padding: 10px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.hdr { text-align: center; }
.hdr .comp { color: #666; font-size: 13px; }
.hdr .row { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 6px 0; }
.hdr .team { flex: 1; font-size: 18px; font-weight: 700; }
.hdr .team.h { text-align: right; } .hdr .team.a { text-align: left; }
.hdr .score { font-size: 30px; font-weight: 800; color: #d0021b; min-width: 120px; }
.hdr .status { color: #d0021b; font-size: 13px; }
.hdr .info { color: #666; font-size: 12px; }
.tabs { display: flex; gap: 2px; border-bottom: 2px solid #1b2a41; margin-bottom: 8px; flex-wrap: wrap; }
.tabs button { font: inherit; border: 0; padding: 7px 16px; background: #e4e8ee; cursor: pointer; border-radius: 4px 4px 0 0; }
.tabs button.on { background: #1b2a41; color: #fff; }
.sub { border-bottom-width: 1px; } .sub button { padding: 4px 12px; font-size: 13px; }
.grid2 { display: grid; grid-template-columns: 300px 1fr; gap: 10px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } .hdr .team { font-size: 15px; } .hdr .score { font-size: 24px; min-width: 80px; }
  .hide-sm { display: none; } th, td { padding: 4px 3px; font-size: 12px; } }
h3 { margin: 8px 0 6px; font-size: 14px; }
canvas { width: 100%; background: #fff; border: 1px solid #eee; }
tr.goal td { background: #e9f7ef; font-weight: 600; } tr.redc td { background: #fdecea; } tr.mark td { color: #888; }
td.l { text-align: left; } td.r { text-align: right; }
tr.closed td { color: #aaa; }
tr.grp td { background: #eef2f7; font-weight: 600; text-align: left; }
.odds tr.c { cursor: pointer; } .odds tr.c:hover { background: #f6f9ff; }
.W { color: #d0021b; } .L { color: #1a7f37; } .D { color: #1f6feb; }
.lu { display: grid; grid-template-columns: 340px 1fr 1fr; gap: 10px; }
@media (max-width: 900px) { .lu { grid-template-columns: 1fr; } }
.pitch { background: #2e7d32; border-radius: 6px; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; z-index: 50; }
.modal.hidden { display: none; }
.modal-box { background: #fff; width: min(720px, 95vw); max-height: 85vh; display: flex; flex-direction: column; border-radius: 6px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid #eee; }
.modal-head button { border: 0; background: none; font-size: 18px; cursor: pointer; }
#modal-body { overflow: auto; padding: 6px; }
.empty { color: #999; padding: 20px; text-align: center; }
.btn { display: inline-block; font: inherit; padding: 4px 10px; border: 1px solid #ccd3dd; background: #fff; border-radius: 4px; }
.list a { color: inherit; } .list a:hover { text-decoration: underline; }
h1.ttl { font-size: 18px; margin: 4px 0; }
h1.mh1 { font-size: 13px; font-weight: 400; color: #888; margin: 2px 0 0; }
h2.h3 { margin: 8px 0 6px; font-size: 14px; }
.crumbs { font-size: 12px; color: #888; margin: 0 0 8px; } .crumbs a { color: #1f6feb; }
.seo-more h2 { font-size: 15px; margin: 2px 0 8px; } .seo-more h3 { font-size: 14px; margin: 10px 0 4px; }
.seo-more p { margin: 4px 0; color: #444; } .seo-more a { color: #1f6feb; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; margin: 6px 0; font-size: 13px; }
.facts dt { color: #888; } .facts dd { margin: 0; }
.foot { max-width: 1180px; margin: 10px auto 20px; padding: 0 10px; color: #888; font-size: 12px; text-align: center; }
.foot a { color: #1f6feb; margin: 0 4px; }
/* event timeline (phones) */
.tl { display: none; }
.tl-head, .tl-row { display: grid; grid-template-columns: 1fr 46px 1fr; align-items: center; }
.tl-head { font-size: 12px; font-weight: 600; color: #555; padding: 4px 0 6px; border-bottom: 1px solid #eee; }
.tl-head span:first-child { text-align: right; } .tl-head span:last-child { text-align: left; }
.tl-row { position: relative; min-height: 40px; border-bottom: 1px solid #f2f3f5; }
.tl-row::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px solid #e4e8ee; }
.tl-min { position: relative; z-index: 1; justify-self: center; background: #fff; border: 1px solid #ccd3dd; border-radius: 11px;
  font-size: 11px; padding: 0 5px; min-width: 32px; text-align: center; color: #555; }
.tl-cell { padding: 6px 4px; min-width: 0; }
.tl-ev { display: flex; gap: 5px; align-items: flex-start; }
.tl-cell.h .tl-ev { flex-direction: row-reverse; text-align: right; }
.tl-ic { font-size: 15px; line-height: 18px; flex: none; }
.tl-txt { min-width: 0; overflow-wrap: anywhere; line-height: 18px; }
.tl-sub { display: block; color: #888; font-size: 11px; line-height: 15px; }
.tl-in { color: #1a7f37; font-weight: 600; } .tl-out { color: #b42318; }
.tl-score { display: inline-block; background: #d0021b; color: #fff; border-radius: 3px; padding: 0 4px; font-size: 11px; font-weight: 700; }
.tl-row.goal { background: #f0faf3; } .tl-row.redc { background: #fdf1f0; }
.tl-mark { text-align: center; padding: 6px 0; border-bottom: 1px solid #f2f3f5; }
.tl-mark span { display: inline-block; background: #eef2f7; color: #555; font-size: 12px; border-radius: 10px; padding: 1px 10px; }
@media (max-width: 760px) {
  .inc-table { display: none; } .tl { display: block; }
  .card { padding: 8px 6px; }
}

/* ---------------- top bar: brand + 足球/工具 + user ---------------- */
.top { display: block; padding: 0; }
.top-in { display: flex; align-items: center; gap: 14px; max-width: 1400px; margin: 0 auto; padding: 8px 14px; }
.top .grow { flex: 1; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 6px 14px; border-radius: 16px; color: #c8d3e6; font-weight: 600; }
.nav a.on, .nav a:hover { background: rgba(255,255,255,.14); color: #fff; }
.user-box { display: flex; align-items: center; gap: 6px; position: relative; }
.btn-login, .btn-signup { font: inherit; font-size: 13px; padding: 5px 14px; border-radius: 16px; cursor: pointer; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; }
.btn-signup { background: #2f6bff; border-color: #2f6bff; }
.me-btn { display: flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; color: #fff; background: rgba(255,255,255,.1); border: 0; border-radius: 16px; padding: 3px 10px 3px 3px; cursor: pointer; }
.me-btn img, .me-btn .av { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.me-btn .av { display: inline-flex; align-items: center; justify-content: center; background: #2f6bff; font-weight: 700; }
.me-n { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu { position: absolute; right: 0; top: 36px; background: #fff; color: #222; border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.18); min-width: 150px; padding: 6px 0; z-index: 30; }
.menu.hidden { display: none; }
.menu a, .menu button { display: block; width: 100%; text-align: left; padding: 8px 14px; font: inherit; background: none; border: 0; cursor: pointer; color: #222; }
.menu a:hover, .menu button:hover { background: #f3f5f8; }
@media (max-width: 760px) {
  .top-in { gap: 8px; padding: 6px 8px; } .brand span { display: none; } .nav a { padding: 5px 10px; }
  .conn { display: none; } .btn-login, .btn-signup { padding: 4px 10px; } .me-n { display: none; }
}

/* ---------------- login modal (Polymarket style) ---------------- */
.auth { padding: 8px 16px 14px; max-width: 380px; margin: 0 auto; }
.auth form { display: flex; flex-direction: column; gap: 8px; }
.auth input { font: inherit; padding: 11px 12px; border: 1px solid #ccd3dd; border-radius: 8px; }
.auth form button { font: inherit; font-weight: 600; padding: 11px; border: 0; border-radius: 8px; background: #2f6bff; color: #fff; cursor: pointer; }
.or { text-align: center; color: #999; margin: 14px 0; position: relative; font-size: 12px; }
.or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #eee; }
.or span { position: relative; background: #fff; padding: 0 10px; }
.sso { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-bottom: 8px; padding: 10px; font: inherit; font-weight: 600;
  border: 1px solid #dde2ea; border-radius: 8px; background: #fff; color: #222; cursor: pointer; }
.sso:disabled { opacity: .55; cursor: not-allowed; } .sso small { font-weight: 400; color: #999; }
.small { font-size: 12px; }

/* ---------------- favourites ---------------- */
.fav { border: 0; background: none; cursor: pointer; color: #bbb; font-size: 14px; padding: 0 4px 0 0; }
.fav.on { color: #f5a623; }
.hd-fav { float: right; font: inherit; font-size: 12px; border: 1px solid #ccd3dd; background: #fff; border-radius: 14px; padding: 3px 10px; cursor: pointer; }
.hd-fav.on { color: #f5a623; border-color: #f5a623; }
.favlist { list-style: none; padding: 0; } .favlist li { padding: 6px 0; border-bottom: 1px solid #f0f2f5; } .favlist a { color: #1f6feb; }

/* ---------------- tools page ---------------- */
.tool-hub { max-width: 1060px; margin: 0 auto; }
.tool-intro { line-height: 1.85; color: #444; }
.tool-copy { line-height: 1.85; overflow-wrap: anywhere; }
.tool-copy h2 { font-size: 19px; margin: 12px 0 8px; }
.tool-copy h3 { font-size: 16px; margin: 18px 0 6px; scroll-margin-top: 72px; }
.tool-copy a { color: #1f6feb; }
.tool-copy a.tool-btn { color: #fff; }
.tool-copy .card { padding: 18px; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 20px; }
.tool-status { font-size: 12px; color: #73510d; background: #fff7df; padding: 4px 8px; border-radius: 4px; align-self: flex-start; }
.calc-form { display: grid; gap: 10px; }
.calc-form label { display: grid; gap: 4px; }
.calc-form input { width: 100%; min-width: 0; box-sizing: border-box; padding: 8px; border: 1px solid #ccd4df; border-radius: 4px; }
.calc-form button { border: 0; cursor: pointer; justify-self: start; }
.calc-result { display: block; margin-top: 16px; white-space: pre-line; font-variant-numeric: tabular-nums; }
.tool-copy pre { overflow-x: auto; background: #f3f6fa; padding: 12px; border-radius: 6px; }
@media (max-width: 360px) { .tools { grid-template-columns: minmax(0, 1fr); } }
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin: 12px 0; }
.tool { background: #fff; border-radius: 10px; padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.06); display: flex; flex-direction: column; border-top: 4px solid #2f6bff; }
.tool:nth-child(2) { border-top-color: #1a7f37; } .tool:nth-child(3) { border-top-color: #b26a00; }
.tool h2 { margin: 6px 0; font-size: 18px; }
.tool-tag { font-size: 12px; color: #2f6bff; font-weight: 600; }
.tool-lead { color: #444; } .tool ul { padding-left: 18px; color: #555; flex: 1; } .tool li { margin: 4px 0; }
.tool-btn { align-self: flex-start; margin-top: 8px; padding: 8px 18px; border-radius: 18px; background: #1b2a41; color: #fff; font-weight: 600; }

/* ---------------- PC: three columns ---------------- */
.pc-left, .pc-right { display: none; }
@media (min-width: 1024px) {
  main { max-width: 1400px; }
  .pc-wrap { display: grid; grid-template-columns: 210px minmax(0, 1fr) 340px; gap: 12px; align-items: start; }
  .pc-left, .pc-right { display: block; position: sticky; top: 58px; max-height: calc(100vh - 70px); overflow: auto; background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
  .pc-left { padding: 6px 0; font-size: 13px; }
  .pc-left a { display: flex; justify-content: space-between; gap: 6px; padding: 5px 12px; color: #333; }
  .pc-left a:hover { background: #f3f6fb; } .pc-left a.on { background: #e8efff; color: #1f4fd6; font-weight: 600; }
  .lg-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lg-c { color: #999; flex: none; } .lg-c b { color: #d0021b; }
  .lg-h { padding: 8px 12px 4px; color: #888; font-size: 12px; font-weight: 600; }
  .pc-right { padding: 12px; font-size: 13px; }
  .list tr.m.sel td { background: #eef4ff; }
}
.pv-empty { color: #999; text-align: center; padding: 40px 10px; }
.pv-comp { color: #666; text-align: center; font-size: 12px; }
.pv-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin: 8px 0; text-align: center; }
.pv-t { font-weight: 700; } .pv-sc { font-size: 24px; font-weight: 800; color: #d0021b; } .pv-st { font-size: 12px; font-weight: 400; }
.pv-time { text-align: center; color: #888; font-size: 12px; }
.pc-right h4 { margin: 12px 0 6px; font-size: 13px; border-left: 3px solid #2f6bff; padding-left: 6px; }
.pv-ev { list-style: none; padding: 0; margin: 0; } .pv-ev li { padding: 3px 0; border-bottom: 1px dashed #f0f0f0; } .pv-ev li.a { text-align: right; }
.pv-min { color: #888; margin-right: 6px; }
.pv-odds td { padding: 3px 4px; font-size: 12px; }
.pv-go { display: block; text-align: center; margin-top: 12px; padding: 8px; border-radius: 6px; background: #1b2a41; color: #fff; font-weight: 600; }

/* ---------------- main tabs: 全部比赛 / 进行中 / 收藏 / 个人中心 ---------------- */
.maintabs { display: flex; gap: 4px; max-width: 1400px; margin: 8px auto 0; padding: 0 10px; }
.maintabs a { display: flex; align-items: center; gap: 6px; padding: 7px 18px; border-radius: 18px; background: #e4e8ee; color: #333; font-weight: 600; }
.maintabs a.on { background: #1b2a41; color: #fff; }
.maintabs i { font-style: normal; }
@media (max-width: 760px) {
  body { padding-bottom: 60px; }
  .maintabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid #e3e6eb; justify-content: space-around; gap: 0; }
  .maintabs a { flex: 1; flex-direction: column; gap: 1px; padding: 4px 0; background: none; border-radius: 0; font-size: 11px; color: #777; font-weight: 500; }
  .maintabs a.on { background: none; color: #2f6bff; }
  .maintabs i { font-size: 18px; line-height: 20px; }
  .foot { margin-bottom: 10px; }
}
/* ---------------- ads (hidden for members) ---------------- */
.ad-slot { margin: 6px 0; position: relative; }
.ad-slot[hidden] { display: none; }
.ad { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; background: linear-gradient(90deg, #fff6e5, #ffe9c2); color: #6b4300; flex-wrap: wrap; }
.ad b { font-size: 14px; } .ad span { color: #8a6420; font-size: 13px; } .ad em { margin-left: auto; font-style: normal; font-weight: 700; }
.ad-tag { font-size: 10px !important; border: 1px solid #c79b4a; border-radius: 3px; padding: 0 3px; }
.ad-x { position: absolute; top: -7px; right: 4px; font-size: 11px; background: #fff; border: 1px solid #e0c48a; border-radius: 8px; padding: 0 6px; color: #8a6420; }
/* ---------------- small UI ---------------- */
#toast { position: fixed; right: 16px; bottom: 20px; max-width: 360px; z-index: 60; background: #1b2a41; color: #fff; padding: 10px 14px; border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,.25); opacity: 0; transform: translateY(10px); transition: .2s; pointer-events: none; font-size: 13px; }
#toast.show { opacity: 1; transform: none; pointer-events: auto; } #toast a { color: #9cc0ff; }
@media (max-width: 760px) { #toast { left: 10px; right: 10px; bottom: 72px; max-width: none; } }
.badge { display: inline-block; min-width: 16px; padding: 0 4px; border-radius: 8px; background: #d0021b; color: #fff; font-size: 10px; line-height: 16px; text-align: center; margin-left: 4px; }
.vip-tag { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 4px; background: linear-gradient(90deg, #f7c548, #e59a1c); color: #4a2a00; font-size: 10px; font-weight: 800; line-height: 16px; }
.btn[disabled], .btn-signup[disabled] { opacity: .5; cursor: default; }
/* ---------------- personal center ---------------- */
.me { max-width: 900px; margin: 0 auto; }
.me-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.me-av { width: 56px; height: 56px; border-radius: 50%; background: #2f6bff; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; overflow: hidden; }
.me-av img { width: 100%; height: 100%; object-fit: cover; }
.me-who { flex: 1; min-width: 160px; } .me-who b { font-size: 17px; }
.me-stat { display: flex; align-items: center; gap: 16px; }
.me-stat a { display: flex; flex-direction: column; align-items: center; color: #333; } .me-stat a b { font-size: 18px; } .me-stat a span { font-size: 12px; color: #888; }
.vip-card { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 10px; border-radius: 10px;
  background: linear-gradient(100deg, #2a2112, #4a3510); color: #f7d58a; }
.vip-card b { font-size: 16px; } .vip-card span { color: #e3c27a; font-size: 13px; } .vip-card em { margin-left: auto; font-style: normal; font-weight: 700; background: #f7c548; color: #3a2400; padding: 4px 12px; border-radius: 14px; }
.me-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
@media (max-width: 600px) { .me-grid { grid-template-columns: repeat(4, 1fr); } }
.me-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border-radius: 8px; color: #333; position: relative; font-size: 13px; }
.me-item:hover { background: #f3f6fb; } .me-item i { font-style: normal; font-size: 24px; }
.me-item .badge { position: absolute; top: 6px; right: 18%; }
.me-links { display: flex; flex-direction: column; } .me-links a { padding: 10px 4px; border-bottom: 1px solid #f0f2f5; color: #333; }
.vip-hero { background: linear-gradient(100deg, #2a2112, #4a3510); color: #f7d58a; } .vip-hero b { font-size: 20px; }
.perks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.perks li { padding: 10px; border-radius: 8px; background: #faf6ec; display: flex; flex-direction: column; gap: 2px; } .perks span { color: #666; font-size: 13px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px; border: 2px solid #e3e6eb; border-radius: 10px; cursor: pointer; }
.plan:has(input:checked) { border-color: #e59a1c; background: #fffaf0; }
.plan input { position: absolute; opacity: 0; } .plan .price { font-size: 22px; font-weight: 800; color: #d0021b; }
.plan em { position: absolute; top: -9px; right: 8px; font-style: normal; font-size: 11px; background: #d0021b; color: #fff; border-radius: 8px; padding: 0 6px; }
.pay-row { display: flex; gap: 8px; margin: 12px 0 4px; flex-wrap: wrap; }
.coin-hero { display: flex; align-items: center; gap: 12px; } .coin-hero b { font-size: 28px; color: #d08a00; flex: 1; }
.form { display: flex; flex-direction: column; gap: 10px; }
.form .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .form .row > span:first-child { min-width: 90px; color: #666; }
.form input:not([type=checkbox]):not([type=radio]), .form textarea, .form select { font: inherit; padding: 8px 10px; border: 1px solid #ccd3dd; border-radius: 6px; }
.form textarea { resize: vertical; } .form .btn-signup { align-self: flex-start; padding: 8px 22px; }
.form input[type=number] { width: 90px; }
.sw { font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; } .tag { border: 1px solid #ccd3dd; border-radius: 14px; padding: 3px 10px; cursor: pointer; font-size: 13px; }
.tag:has(input:checked) { border-color: #2f6bff; background: #e8efff; color: #1f4fd6; } .tag input { display: none; }
.notices { list-style: none; padding: 0; margin: 0; }
.notices li { display: flex; flex-direction: column; gap: 2px; padding: 10px 6px; border-bottom: 1px solid #f0f2f5; }
.notices li.unread { background: #f5f8ff; } .notices a { color: #1f6feb; }
.langs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.lang { border: 1px solid #ccd3dd; border-radius: 8px; padding: 8px 10px; cursor: pointer; } .lang.on { border-color: #2f6bff; background: #e8efff; }
.share input { width: 100%; font: inherit; padding: 8px; border: 1px solid #ccd3dd; border-radius: 6px; margin-bottom: 8px; }
.share-to { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.share-to a { padding: 6px 12px; border-radius: 14px; background: #eef2f7; color: #333; }
/* ---------------- water monitor (水位监控) ---------------- */
.wm-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0; padding: 7px 12px; background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.05); font-size: 13px; }
.wm-dot { width: 8px; height: 8px; border-radius: 50%; background: #9ca3af; display: inline-block; }
.wm-dot.on { background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.2); }
.wm-dot.idle { background: #f59e0b; }
.wm-arrow { display: inline-flex; align-items: center; justify-content: center; gap: 2px; padding: 2px 7px; border: 0; border-radius: 10px; font-size: 12px; font-weight: 800; cursor: pointer; vertical-align: middle; line-height: 16px; text-decoration: none; white-space: nowrap; }
.wm-arrow.up { background: #fee2e2; color: #c81e1e; }
.wm-arrow.down { background: #dcfce7; color: #15803d; }
.wm-arrow.soft { padding: 1px 6px; font-size: 13px; background: transparent; border: 1px solid currentColor; }
.wm-arrow.alarm { box-shadow: 0 0 0 1px currentColor; }
.wm-arrow.seen { background: #e5e7eb !important; color: #6b7280 !important; border-color: #cbd5e1 !important; box-shadow: none !important; }
.wm-arrow.seen.soft { background: #f3f4f6 !important; color: #9ca3af !important; border-color: #d1d5db !important; }
.wm-arrow:hover { filter: brightness(.92); }
.wm-col { text-align: center; white-space: nowrap; width: 1%; }
.wm-th { cursor: pointer; user-select: none; white-space: nowrap; }
.wm-th:hover, .wm-th.on { color: #c81e1e; text-decoration: underline; }
.wm-btn-on { background: #1b2a41 !important; color: #fff !important; border-color: #1b2a41 !important; }
.list tr.m.wm-hit td { background: #fffbeb; }
.wm-pct { font-weight: 800; font-variant-numeric: tabular-nums; }
.wm-pct.up { color: #c81e1e; }
.wm-pct.down { color: #15803d; }
.wm-log-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.wm-log-table th, .wm-log-table td { padding: 8px 6px; border-bottom: 1px solid #eef1f5; text-align: left; }
.wm-log-table tr.wm-row { cursor: pointer; }
.wm-log-table tr.wm-row:hover { background: #f5f8ff; }
.wm-detail { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px; margin-bottom: 10px; font-size: 13px; }
.wm-detail-big { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.wm-detail-big b { font-size: 15px; }
.wm-detail-pct { font-size: 20px; font-weight: 800; }
.wm-alert-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0; padding: 9px 12px; border-radius: 8px; background: #fff1f2; border: 1px solid #fecdd3; color: #881337; font-size: 13px; }
.wm-alert-banner.down { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.wm-alert-banner a { color: #1f6feb; font-weight: 600; }
.wm-alert-banner button { margin-left: auto; border: 0; background: none; cursor: pointer; font-size: 14px; color: inherit; }
.share-card { text-align: center; }
.order-box p { margin: 6px 0; }
/* ---------------- dropping odds ---------------- */
table.drop td { font-size: 13px; } td.drop-hit { background: #e9f7ef; } td.drop-pct { color: #1a7f37; font-weight: 800; }
.lock { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px; margin-top: 8px; border-radius: 8px; background: repeating-linear-gradient(45deg, #faf6ec, #faf6ec 10px, #f4eedd 10px, #f4eedd 20px); }
.lock span { color: #8a6420; font-size: 13px; }
