:root {
  --bg1: #f0fdf4; --bg2: #ecfdf5; --bg3: #f0fdfa;
  --green: #4caf50; --green-deep: #2e7d32; --green-mid: #66bb6a;
  --card: rgba(255,255,255,0.75); --border: #bbf7d0; --text: #1f2937; --muted: #4b5563;
}
* { box-sizing: border-box; }
html { background: #fff; }
body {
  margin: 0; font-family: "PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  color: var(--text); min-height: 100vh;
  background: linear-gradient(135deg, var(--bg1), var(--bg2) 45%, var(--bg3));
}
.topbar {
  display: flex; align-items: center; gap: 12px; padding: 18px 26px;
  backdrop-filter: blur(8px); background: rgba(255,255,255,0.55);
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20;
}
.brand { font-weight: 900; letter-spacing: .15em; font-size: 22px;
  background: linear-gradient(90deg,#2e7d32,#4caf50,#81c784); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand small { font-size: 10px; letter-spacing: .25em; color: rgba(76,175,80,.6); margin-left: 6px; }
.nav { margin-left: auto; display: flex; gap: 10px; }
.nav a { text-decoration: none; color: var(--muted); padding: 8px 14px; border-radius: 10px; font-size: 14px; }
.nav a.active, .nav a:hover { background: var(--green); color: #fff; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 26px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px; backdrop-filter: blur(6px); box-shadow: 0 6px 24px rgba(76,175,80,.08); margin-bottom: 18px; }
h1 { font-size: 22px; margin: 0 0 6px; }
h2 { font-size: 16px; margin: 0 0 14px; color: var(--green-deep); }
.muted { color: var(--muted); font-size: 13px; line-height: 1.7; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { border: none; cursor: pointer; padding: 10px 18px; border-radius: 10px; font-size: 14px; background: var(--green); color: #fff; transition: .1s; }
.btn:hover { background: var(--green-mid); }
.btn.ghost { background: #fff; color: var(--green-deep); border: 1px solid var(--border); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
select, input[type=text], input[type=number] { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border); background: #fff; font-size: 14px; }
label.lbl { font-size: 13px; color: var(--muted); display: inline-flex; flex-direction: column; gap: 4px; }
video { width: 100%; border-radius: 12px; background: #000; display: block; }
.stage { position: relative; }
.stage canvas { width: 100%; border-radius: 12px; background: #000; display: none; }
.pill { display:inline-block; padding:3px 10px; border-radius:999px; font-size:12px; background:#dcfce7; color:#166534; }
.progress { height: 8px; border-radius: 999px; background: #e5e7eb; overflow: hidden; margin-top: 10px; }
.progress > i { display:block; height:100%; width:0; background: linear-gradient(90deg,#facc15,#4caf50,#3b82f6,#a855f7); transition: width .2s; }
.live-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 14px; }
.lang-win { background: #0b1220; border-radius: 14px; overflow: hidden; border: 1px solid #1f2937; }
.lang-win .hd { padding: 8px 12px; font-size: 13px; color:#fff; display:flex; justify-content:space-between; align-items:center; }
.lang-win .hd .dot { width:8px;height:8px;border-radius:50%; background:#22c55e; }
.lang-win .body { padding: 14px; color:#e5e7eb; font-size: 15px; min-height: 90px; line-height:1.6; }
.lang-win video { border-radius: 0; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #111827; color:#fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; z-index: 50; opacity: 0; transition: .25s; }
.toast.show { opacity: 1; }
.grid2 { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px){ .grid2 { grid-template-columns: 1fr; } }
.sub-style { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.sub-style .sw { width:26px;height:26px;border-radius:50%; border:2px solid #fff; cursor:pointer; box-shadow:0 0 0 1px var(--border); }
