/* ============================================================
   火包炮 HBP · FPS Tactical Network
   ============================================================ */
:root {
  --bg: #07080a;
  --bg-deep: #050607;
  --surface: #0c0f12;
  --surface-2: #11151a;
  --surface-3: #161b21;
  --surface-hi: #1b2128;
  --line: rgba(255, 255, 255, .075);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #f1f3ee;
  --text-2: #c0c7c5;
  --muted: #858f96;
  --dim: #5b656d;
  --accent: #ff5c2b;
  --accent-2: #ff8a4a;
  --accent-soft: rgba(255, 92, 43, .12);
  --volt: #d8ff4f;
  --volt-soft: rgba(216, 255, 79, .1);
  --cyan: #59d8ff;
  --green: #64e6a3;
  --red: #ff5364;
  --yellow: #f5c451;
  --font-display: "Bahnschrift SemiCondensed", "Bahnschrift", "DIN Alternate", "Arial Narrow", "Microsoft YaHei", sans-serif;
  --font-ui: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-mono: "Cascadia Mono", "JetBrains Mono", "Consolas", monospace;
  --sidebar: 252px;
  --topbar: 70px;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
::selection { color: #0a0b0b; background: var(--accent); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { padding: 0; border: 0; color: inherit; background: none; cursor: pointer; }
img, svg { display: block; }
svg { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
input, textarea, select { color: var(--text); }
input::placeholder, textarea::placeholder { color: #5f686f; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.text-accent { color: var(--accent); }
.text-volt { color: var(--volt); }
.text-danger { color: var(--red) !important; }
.skip-link { position: fixed; z-index: 500; left: 20px; top: -90px; padding: 10px 16px; border-radius: 8px; color: #111; background: var(--volt); font-weight: 700; }
.skip-link:focus { top: 12px; }
.noscript { max-width: 560px; margin: 100px auto; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); text-align: center; }

/* 背景氛围 */
.ambient { position: fixed; z-index: 0; border-radius: 50%; pointer-events: none; filter: blur(100px); opacity: .45; }
.ambient-a { width: 600px; height: 600px; right: -180px; top: -240px; background: radial-gradient(circle, rgba(255, 92, 43, .24), transparent 68%); }
.ambient-b { width: 520px; height: 520px; left: 12%; bottom: -340px; background: radial-gradient(circle, rgba(80, 150, 120, .12), transparent 70%); }

/* 应用骨架 */
.app { position: relative; z-index: 1; min-height: 100vh; }
.sidebar {
  width: var(--sidebar);
  position: fixed;
  z-index: 80;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 22px 16px 16px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 22%),
    linear-gradient(160deg, #0b0d10, #080a0c 60%);
}
.sidebar::after { content: ""; position: absolute; top: 0; right: -1px; width: 1px; height: 160px; background: linear-gradient(var(--accent), transparent); opacity: .55; }
.sidebar-brand { display: flex; align-items: center; justify-content: space-between; padding: 2px 8px 20px; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark { width: 38px; height: 38px; display: block; color: #f4f6f2; flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark.mini { width: 27px; height: 27px; }
.brand-type { min-width: 0; }
.brand-type strong { display: block; font-family: var(--font-display); font-size: 24px; line-height: 1.05; letter-spacing: 3px; font-weight: 800; white-space: nowrap; }
.brand-type small { display: block; margin-top: 4px; color: var(--dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.3px; white-space: nowrap; }
.sidebar .sidebar-close { display: none !important; }
.network-chip { display: flex; align-items: center; gap: 9px; padding: 10px 11px; margin: 0 4px 24px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 255, 255, .022); }
.status-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(100, 230, 163, .09), 0 0 12px rgba(100, 230, 163, .55); animation: status-pulse 2.4s infinite; }
.status-dot.small { width: 5px; height: 5px; }
.network-chip div { min-width: 0; flex: 1; }
.network-chip strong { display: block; font-size: 13px; font-weight: 600; letter-spacing: .2px; }
.network-chip small { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 11.5px; }
.network-tag { color: var(--green); font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; }
.nav-group-title { margin: 0 12px 7px; color: #525b62; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 1.7px; }
.main-nav { display: grid; gap: 3px; }
.nav-group-title:not(:first-child) { margin-top: 25px; }
.nav-link { position: relative; min-height: 43px; display: flex; align-items: center; gap: 11px; padding: 8px 12px; border-radius: 10px; color: #8d979d; font-size: 14.5px; transition: color .18s, background .18s; }
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .035); }
.nav-link.active { color: #fff; background: linear-gradient(90deg, rgba(255, 92, 43, .16), rgba(255, 92, 43, .035)); }
.nav-link.active::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.nav-icon { display: flex; color: #69737a; transition: color .18s; }
.nav-link:hover .nav-icon, .nav-link.active .nav-icon { color: var(--accent); }
.nav-icon svg { width: 17px; height: 17px; }
.nav-key { margin-left: auto; color: #4a5259; border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; font-family: var(--font-mono); font-size: 11px; line-height: 1.7; }
.nav-live { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-family: var(--font-mono); font-size: 11.5px; }
.nav-live i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.sidebar-spacer { flex: 1; min-height: 24px; }
.voice-dock-wrap { margin-bottom: 10px; }
.voice-dock { border: 1px solid rgba(255, 92, 43, .22); border-radius: 14px; padding: 12px; background: linear-gradient(145deg, rgba(255, 92, 43, .12), rgba(255, 255, 255, .02)); }
.voice-dock-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.voice-dock-live { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-2); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 1px; }
.voice-dock-live i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 7px var(--accent); animation: status-pulse 1.4s infinite; }
.voice-dock-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; font-weight: 600; margin: 0 0 10px; }
.voice-dock-controls { display: flex; gap: 5px; }
.voice-dock-controls .icon-button { width: 30px; height: 30px; border-radius: 8px; }
.voice-dock-controls .icon-button.leave { color: #ff8a8a; margin-left: auto; }
.sidebar-system { display: flex; justify-content: space-between; gap: 8px; padding: 10px 6px 0; color: #4b545a; font-family: var(--font-mono); font-size: 11px; letter-spacing: .5px; }
.sidebar-system span { display: flex; align-items: center; gap: 5px; }
.sidebar-scrim { display: none; }

.app-body { min-height: 100vh; margin-left: var(--sidebar); }
.topbar {
  height: var(--topbar);
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 10, .82);
  backdrop-filter: blur(22px) saturate(130%);
}
.mobile-menu, .mobile-brand { display: none; }
.topbar .mobile-menu { display: none; }
.page-crumb { display: flex; align-items: center; gap: 9px; min-width: 160px; color: #5d666d; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 1px; }
.page-crumb i { color: #3b4348; font-style: normal; }
.page-crumb b { overflow: hidden; max-width: 220px; color: #c4cbc7; font-family: var(--font-ui); font-size: 13.5px; font-weight: 500; letter-spacing: 0; white-space: nowrap; text-overflow: ellipsis; }
.search-trigger { width: min(380px, 34vw); height: 38px; display: flex; align-items: center; gap: 9px; padding: 0 11px; margin-left: auto; border: 1px solid var(--line); border-radius: 10px; color: #707a80; background: rgba(255, 255, 255, .022); font-size: 14px; text-align: left; transition: .18s; }
.search-trigger:hover { color: #aab2b0; border-color: var(--line-strong); background: rgba(255, 255, 255, .04); }
.search-trigger > span:first-child { display: flex; }
.search-trigger svg { width: 15px; height: 15px; }
.search-placeholder { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.search-trigger kbd { padding: 1px 5px; border: 1px solid var(--line); border-radius: 4px; color: #5e676d; font-family: var(--font-mono); font-size: 11.5px; }
.topbar-actions { display: flex; align-items: center; gap: 7px; }
.latency-chip { height: 31px; display: flex; align-items: center; gap: 7px; padding: 0 9px; margin-right: 4px; border: 1px solid var(--line); border-radius: 7px; color: #707b80; font-family: var(--font-mono); font-size: 12px; }
.latency-chip small { font-size: 10.5px; margin-left: 1px; }
.latency-bars { height: 11px; display: flex; align-items: flex-end; gap: 1.5px; }
.latency-bars i { width: 2px; border-radius: 1px; background: var(--green); }
.latency-bars i:nth-child(1) { height: 3px; }
.latency-bars i:nth-child(2) { height: 5px; }
.latency-bars i:nth-child(3) { height: 8px; }
.latency-bars i:nth-child(4) { height: 11px; opacity: .25; }
.icon-button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; position: relative; border-radius: 9px; color: #89939a; transition: color .18s, background .18s, border-color .18s; }
.icon-button:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.icon-button svg { width: 17px; height: 17px; }
.notify-dot { width: 5px; height: 5px; position: absolute; right: 8px; top: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg), 0 0 8px var(--accent); }
.popover-wrap { position: relative; }
.popover { width: 310px; position: absolute; z-index: 100; right: 0; top: calc(100% + 10px); border: 1px solid var(--line-strong); border-radius: 14px; background: #0e1216; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-5px); transition: .16s; }
.popover.open { opacity: 1; pointer-events: auto; transform: none; }
.popover-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 15px 10px; border-bottom: 1px solid var(--line); }
.popover-head strong { font-size: 14px; }
.popover-head small { color: var(--dim); font-family: var(--font-mono); font-size: 11.5px; }
.notification-item { display: flex; gap: 10px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.notification-item:last-child { border-bottom: 0; }
.notification-item .n-icon { width: 28px; height: 28px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--accent); background: var(--accent-soft); }
.notification-item .n-icon svg { width: 14px; height: 14px; }
.notification-item p { margin: 0; color: var(--text-2); font-size: 13.5px; line-height: 1.6; }
.notification-item small { display: block; margin-top: 2px; color: var(--dim); font-family: var(--font-mono); font-size: 11.5px; }
.user-trigger { height: 40px; display: flex; align-items: center; gap: 8px; padding: 3px 6px 3px 3px; border: 1px solid transparent; border-radius: 9px; transition: .18s; }
.user-trigger:hover { border-color: var(--line); background: rgba(255, 255, 255, .03); }
.user-trigger-meta { text-align: left; }
.user-trigger-meta strong { display: block; max-width: 76px; overflow: hidden; font-size: 13px; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.user-trigger-meta small { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 11px; }
.user-trigger > svg { width: 12px; height: 12px; color: #596268; }
.login-trigger { height: 35px; display: inline-flex; align-items: center; gap: 6px; padding: 0 13px; border-radius: 8px; color: #111; background: var(--text); font-size: 13.5px; font-weight: 700; }
.login-trigger:hover { background: #fff; }
.user-popover { width: 220px; padding: 7px; }
.user-popover-head { display: flex; align-items: center; gap: 10px; padding: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.user-popover-head strong { display: block; font-size: 13.5px; }
.user-popover-head small { display: block; color: var(--dim); font-size: 12px; }
.popover-link { width: 100%; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 7px; color: #aeb6b3; font-size: 13.5px; text-align: left; }
.popover-link:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.popover-link svg { width: 14px; height: 14px; color: #737d82; }
.popover-link.danger { color: #ff8c91; }
.popover-divider { height: 1px; background: var(--line); margin: 4px 6px; }

.main { max-width: 1520px; min-height: calc(100vh - var(--topbar)); margin: 0 auto; padding: 30px 34px 70px; }
.page-enter { animation: page-enter .35s ease-out; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.page-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 7px; color: var(--accent); font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 2px; }
.page-kicker::before { content: ""; width: 18px; height: 1px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.page-title { margin: 0; font-family: var(--font-display); font-size: clamp(30px, 3vw, 42px); font-weight: 800; line-height: 1.08; letter-spacing: .5px; }
.page-title em { color: var(--accent); font-style: normal; }
.page-subtitle { max-width: 580px; margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.page-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 30px 0 13px; }
.section-title { display: flex; align-items: center; gap: 9px; margin: 0; font-family: var(--font-display); font-size: 21px; letter-spacing: .4px; }
.section-title .slash { color: var(--accent); font-family: var(--font-mono); font-size: 14px; }
.section-title small { color: var(--dim); font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; letter-spacing: 1px; }
.section-link { display: inline-flex; align-items: center; gap: 4px; color: #798289; font-size: 13px; }
.section-link:hover { color: var(--accent-2); }
.section-link svg { width: 13px; height: 13px; }

/* 通用组件 */
.button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 16px; border: 1px solid transparent; border-radius: 9px; color: var(--text-2); background: rgba(255, 255, 255, .045); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: .18s; }
.button:hover { color: #fff; background: rgba(255, 255, 255, .075); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button svg { width: 14px; height: 14px; }
.button-primary { color: #130b07; background: linear-gradient(135deg, var(--accent), #ff8140); box-shadow: 0 6px 20px rgba(255, 92, 43, .22); }
.button-primary:hover { background: linear-gradient(135deg, #ff6b3d, #ff955b); box-shadow: 0 8px 26px rgba(255, 92, 43, .3); }
.button-volt { color: #12150a; background: var(--volt); }
.button-volt:hover { background: #e3ff7a; }
.button-outline { border-color: var(--line-strong); background: transparent; }
.button-outline:hover { border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .04); }
.button-ghost { background: transparent; color: #8e989e; }
.button-ghost:hover { background: rgba(255, 255, 255, .04); }
.button-danger { color: #1a0809; background: #ff747e; }
.button-block { width: 100%; }
.button-sm { min-height: 31px; padding: 5px 10px; border-radius: 7px; font-size: 13px; }
.button-lg { min-height: 45px; padding: 11px 22px; font-size: 14px; border-radius: 10px; }
.button:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255, 255, 255, .018), transparent 45%), var(--surface); }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 5px; color: #8d979d; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .3px; white-space: nowrap; }
.pill-live { color: #ff9b79; border-color: rgba(255, 92, 43, .28); background: rgba(255, 92, 43, .08); }
.pill-live i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); animation: status-pulse 1.4s infinite; }
.pill-volt { color: var(--volt); border-color: rgba(216, 255, 79, .2); background: var(--volt-soft); }
.pill-cyan { color: var(--cyan); border-color: rgba(89, 216, 255, .2); background: rgba(89, 216, 255, .07); }
.avatar { --avatar-color: #637d8f; width: 36px; height: 36px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--avatar-color) 90%, white), color-mix(in srgb, var(--avatar-color) 60%, #0b0c0d)); font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: .3px; }
.avatar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .22), transparent 45%); }
.avatar-xs { width: 24px; height: 24px; font-size: 11.5px; }
.avatar-sm { width: 29px; height: 29px; font-size: 13px; }
.avatar-lg { width: 48px; height: 48px; font-size: 18px; }
.avatar-xl { width: 76px; height: 76px; font-size: 29px; border-width: 2px; }
.avatar-stack { display: flex; align-items: center; }
.avatar-stack .avatar { margin-left: -8px; border: 2px solid #111519; }
.avatar-stack .avatar:first-child { margin-left: 0; }
.avatar-more { width: 28px; height: 28px; margin-left: -8px; display: flex; align-items: center; justify-content: center; border: 2px solid #111519; border-radius: 50%; color: #a6afb2; background: #232a2f; font-family: var(--font-mono); font-size: 11.5px; }
.game-mark { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--game-color, #76818b) 35%, transparent); border-radius: 8px; color: var(--game-color, #a7b0b6); background: color-mix(in srgb, var(--game-color, #76818b) 9%, transparent); font-family: var(--font-display); font-size: 13px; font-weight: 800; letter-spacing: .5px; }
.game-tag { display: inline-flex; align-items: center; gap: 5px; color: var(--game-color, #8e989e); font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .8px; }
.game-tag::before { content: ""; width: 4px; height: 4px; border-radius: 1px; background: var(--game-color, #8e989e); }
.metric { font-family: var(--font-display); font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: .3px; }
.metric small { color: var(--dim); font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; margin-left: 3px; letter-spacing: 0; }
.divider { height: 1px; background: var(--line); }
.eyebrow { color: var(--dim); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 1.5px; }
.empty-state { padding: 55px 24px; text-align: center; }
.empty-icon { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; border: 1px solid var(--line); border-radius: 16px; color: #758087; background: rgba(255, 255, 255, .025); }
.empty-icon svg { width: 24px; height: 24px; }
.empty-state h3 { margin: 0 0 5px; font-family: var(--font-display); font-size: 19px; letter-spacing: .3px; }
.empty-state p { max-width: 360px; margin: 0 auto 17px; color: var(--muted); font-size: 13.5px; }
.corner-brackets { position: relative; }
.corner-brackets::before, .corner-brackets::after { content: ""; position: absolute; width: 12px; height: 12px; border-color: rgba(255, 255, 255, .2); border-style: solid; pointer-events: none; }
.corner-brackets::before { left: 8px; top: 8px; border-width: 1px 0 0 1px; }
.corner-brackets::after { right: 8px; bottom: 8px; border-width: 0 1px 1px 0; }
.scanline { position: relative; overflow: hidden; }
.scanline::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .012) 3px 4px); }

/* 首页 */
.hero { min-height: 362px; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); border: 1px solid var(--line-strong); border-radius: 22px; background: #0a0d10; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 13, 16, .98) 10%, rgba(10, 13, 16, .65) 55%, transparent 80%), radial-gradient(ellipse at 75% 38%, rgba(255, 92, 43, .17), transparent 55%), linear-gradient(160deg, #10151a, #080a0c); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .42; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, transparent, black 35%, black 90%, transparent); }
.hero-copy { position: relative; z-index: 3; padding: 38px 0 31px 38px; align-self: center; }
.hero-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; color: #9aa5a8; font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; }
.hero-eyebrow .live { color: var(--accent-2); }
.hero-eyebrow .slash { color: #485157; }
.hero h1 { max-width: 640px; margin: 0; font-family: var(--font-display); font-size: clamp(40px, 4.6vw, 64px); font-weight: 800; line-height: .99; letter-spacing: .5px; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 1px rgba(241, 243, 238, .55); }
.hero h1 em { color: var(--accent); font-style: normal; text-shadow: 0 0 34px rgba(255, 92, 43, .2); }
.hero-sub { max-width: 470px; margin: 15px 0 21px; color: #9aa3a6; font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 9px; }
.hero-stats { display: flex; gap: 28px; margin-top: 28px; padding-top: 19px; border-top: 1px solid var(--line); max-width: 500px; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 19px; line-height: 1.2; letter-spacing: .5px; }
.hero-stat strong span { color: var(--green); font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; margin-left: 2px; }
.hero-stat small { display: block; margin-top: 2px; color: var(--dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; }
.hero-visual { position: relative; z-index: 2; min-height: 320px; display: flex; align-items: center; justify-content: center; }
.radar { width: 270px; height: 270px; position: relative; border: 1px solid rgba(255, 255, 255, .09); border-radius: 50%; background: radial-gradient(circle, rgba(255, 92, 43, .1), transparent 67%); }
.radar::before, .radar::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); }
.radar::before { inset: 41px; }
.radar::after { inset: 88px; border-color: rgba(255, 92, 43, .18); }
.radar-line { position: absolute; background: rgba(255, 255, 255, .06); }
.radar-line.h { left: 0; right: 0; top: 50%; height: 1px; }
.radar-line.v { top: 0; bottom: 0; left: 50%; width: 1px; }
.radar-sweep { position: absolute; left: 50%; top: 50%; width: 50%; height: 50%; transform-origin: 0 0; border-radius: 0 100% 0 0; background: conic-gradient(from -90deg, rgba(255, 92, 43, .23), transparent 55%); animation: radar-sweep 6s linear infinite; }
.radar-center { width: 47px; height: 47px; position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 92, 43, .5); border-radius: 50%; color: var(--accent); background: rgba(9, 11, 13, .85); box-shadow: 0 0 34px rgba(255, 92, 43, .2); transform: translate(-50%, -50%); }
.radar-center svg { width: 23px; height: 23px; }
.radar-dot { width: 7px; height: 7px; position: absolute; border: 1px solid #ffd3bf; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.radar-dot::after { content: ""; position: absolute; inset: -8px; border: 1px solid rgba(255, 92, 43, .25); border-radius: 50%; }
.radar-dot.one { right: 35px; top: 64px; }
.radar-dot.two { left: 32px; bottom: 72px; width: 5px; height: 5px; background: var(--volt); box-shadow: 0 0 9px var(--volt); }
.radar-dot.two::after { border-color: rgba(216, 255, 79, .22); }
.radar-label { position: absolute; padding: 3px 7px; border: 1px solid var(--line); border-radius: 4px; color: #8e989b; background: rgba(7, 8, 10, .7); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .7px; }
.radar-label.one { right: 0; top: 55px; }
.radar-label.two { left: 0; bottom: 53px; }
.radar-label.three { left: 9px; top: 32px; }
.visual-tag { position: absolute; right: 22px; bottom: 21px; color: #5d676d; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; }
.visual-tag strong { color: var(--green); font-weight: 500; }
.hero-corner { position: absolute; z-index: 4; width: 20px; height: 20px; border-color: rgba(255, 255, 255, .22); border-style: solid; pointer-events: none; }
.hero-corner.tl { left: 12px; top: 12px; border-width: 1px 0 0 1px; }
.hero-corner.br { right: 12px; bottom: 12px; border-width: 0 1px 1px 0; }

.module-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; margin-top: 14px; }
.module-card { position: relative; min-height: 128px; overflow: hidden; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; transition: .2s; }
.module-card::after { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 1px; background: linear-gradient(90deg, var(--module-color, var(--accent)), transparent); opacity: .7; }
.module-card:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-2px); }
.module-icon { width: 31px; height: 31px; display: flex; align-items: center; justify-content: center; margin-bottom: 13px; border: 1px solid color-mix(in srgb, var(--module-color, var(--accent)) 26%, transparent); border-radius: 8px; color: var(--module-color, var(--accent)); background: color-mix(in srgb, var(--module-color, var(--accent)) 8%, transparent); }
.module-icon svg { width: 16px; height: 16px; }
.module-card strong { display: block; font-family: var(--font-display); font-size: 17px; letter-spacing: .3px; }
.module-card p { margin: 3px 0 0; color: var(--dim); font-size: 13px; line-height: 1.55; }
.module-arrow { position: absolute; right: 14px; top: 15px; color: #576168; transition: .2s; }
.module-card:hover .module-arrow { color: var(--module-color, var(--accent)); transform: translate(2px, -2px); }
.module-meta { position: absolute; right: 16px; bottom: 13px; color: #717b81; font-family: var(--font-mono); font-size: 11px; letter-spacing: .5px; }
.module-meta b { color: var(--text-2); font-weight: 500; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .72fr); gap: 13px; align-items: start; }
.stack { display: grid; gap: 13px; min-width: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 13px; border-bottom: 1px solid var(--line); }
.panel-head h2, .panel-head h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-display); font-size: 17px; letter-spacing: .4px; }
.panel-head h2 svg, .panel-head h3 svg { width: 15px; height: 15px; color: var(--accent); }
.panel-head small { color: var(--dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: .6px; }
.panel-body { padding: 16px 18px; }
.room-list { display: grid; }
.room-row { display: flex; align-items: center; gap: 13px; padding: 14px 18px; border-bottom: 1px solid var(--line); transition: background .18s; }
.room-row:last-child { border-bottom: 0; }
.room-row:hover { background: rgba(255, 255, 255, .022); }
.room-row-mark { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; border: 1px solid color-mix(in srgb, var(--game-color) 25%, transparent); border-radius: 10px; color: var(--game-color); background: color-mix(in srgb, var(--game-color) 7%, transparent); font-family: var(--font-display); font-size: 13.5px; font-weight: 800; letter-spacing: .5px; }
.room-row-main { flex: 1; min-width: 0; }
.room-row-top { display: flex; align-items: center; gap: 7px; }
.room-row-title { overflow: hidden; margin: 0; font-size: 14.5px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.room-row-meta { display: flex; align-items: center; gap: 7px; margin-top: 4px; color: var(--dim); font-family: var(--font-mono); font-size: 11.5px; }
.room-row-meta .dot { width: 2px; height: 2px; border-radius: 50%; background: #50585e; }
.room-row-side { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.room-row-side .join { width: 29px; height: 29px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; color: #8e989e; }
.room-row-side .join:hover { color: #fff; border-color: var(--accent); background: var(--accent-soft); }
.room-row-side .join svg { width: 14px; height: 14px; }
.slot-text { color: #7e878d; font-family: var(--font-mono); font-size: 11.5px; }
.slot-text b { color: var(--text-2); font-weight: 500; }

.feed-mini { display: grid; }
.feed-mini-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.feed-mini-row:last-child { border-bottom: 0; }
.feed-mini-row:hover { background: rgba(255, 255, 255, .02); }
.feed-index { color: #4b545a; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; }
.feed-mini-main { min-width: 0; }
.feed-mini-title { display: block; overflow: hidden; color: #d7dcd7; font-size: 14px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.feed-mini-row:hover .feed-mini-title { color: #fff; }
.feed-mini-meta { display: flex; gap: 7px; margin-top: 3px; color: var(--dim); font-family: var(--font-mono); font-size: 11px; }
.feed-mini-replies { color: #6d777c; font-family: var(--font-mono); font-size: 11.5px; }

.ops-card { position: relative; overflow: hidden; padding: 19px; border: 1px solid rgba(255, 92, 43, .2); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255, 92, 43, .12), rgba(255, 92, 43, .02) 55%), var(--surface); }
.ops-card::before { content: "OPS"; position: absolute; right: -3px; top: -26px; color: rgba(255, 92, 43, .065); font-family: var(--font-display); font-size: 105px; font-weight: 900; line-height: 1; }
.ops-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; }
.ops-top .eyebrow { color: #a28d83; }
.ops-card h3 { position: relative; margin: 13px 0 4px; font-family: var(--font-display); font-size: 22px; line-height: 1.25; letter-spacing: .3px; }
.ops-card p { position: relative; margin: 0 0 15px; color: #a19893; font-size: 13px; }
.ops-progress { position: relative; height: 4px; margin-bottom: 7px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.ops-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #ffba61); box-shadow: 0 0 12px rgba(255, 92, 43, .4); }
.ops-progress-meta { display: flex; justify-content: space-between; margin-bottom: 14px; color: #7c6d66; font-family: var(--font-mono); font-size: 11px; }
.ops-actions { display: flex; align-items: center; justify-content: space-between; position: relative; }
.ops-actions .reward { display: flex; align-items: center; gap: 5px; color: var(--volt); font-family: var(--font-mono); font-size: 11.5px; }
.leader-list { display: grid; }
.leader-row { display: flex; align-items: center; gap: 9px; padding: 9px 18px; }
.leader-row + .leader-row { border-top: 1px solid rgba(255, 255, 255, .04); }
.leader-rank { width: 18px; color: #596269; font-family: var(--font-mono); font-size: 12.5px; font-style: italic; }
.leader-row:nth-child(1) .leader-rank { color: var(--accent); }
.leader-row:nth-child(2) .leader-rank { color: var(--yellow); }
.leader-row:nth-child(3) .leader-rank { color: #c2b5a5; }
.leader-name { flex: 1; min-width: 0; overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.leader-score { color: #a6b0b1; font-family: var(--font-mono); font-size: 12px; }
.squad-online { display: flex; align-items: center; gap: 10px; padding: 13px 18px; }
.squad-online p { flex: 1; margin: 0; color: #969fa2; font-size: 13px; }
.squad-online strong { color: var(--green); }
.mini-cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 18px; border-top: 1px solid var(--line); }
.mini-cta p { margin: 0; color: var(--dim); font-size: 13px; }

/* 论坛 */
.forum-spotlight { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; min-height: 220px; padding: 25px 27px; margin-bottom: 15px; border: 1px solid var(--line-strong); border-radius: 19px; background: linear-gradient(120deg, #13181d, #0a0d10 55%); }
.forum-spotlight::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -100px; border: 1px solid rgba(255, 92, 43, .14); border-radius: 50%; box-shadow: inset 0 0 0 48px rgba(255, 92, 43, .025), inset 0 0 0 96px rgba(255, 92, 43, .02); }
.spotlight-main { position: relative; z-index: 2; min-width: 0; }
.spotlight-label { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.spotlight-title { display: block; margin: 0; font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 33px); font-weight: 800; line-height: 1.22; letter-spacing: .2px; }
.spotlight-title:hover { color: var(--accent-2); }
.spotlight-excerpt { overflow: hidden; display: -webkit-box; margin: 10px 0 16px; color: #929c9d; font-size: 13.5px; line-height: 1.8; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.spotlight-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--dim); font-family: var(--font-mono); font-size: 11.5px; }
.spotlight-side { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; gap: 14px; }
.spotlight-author { display: flex; align-items: center; gap: 10px; text-align: right; }
.spotlight-author strong { display: block; font-size: 13px; }
.spotlight-author small { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 11px; }
.spotlight-stats { display: flex; gap: 18px; }
.spotlight-stats span { color: var(--dim); font-family: var(--font-mono); font-size: 11.5px; text-align: right; }
.spotlight-stats b { display: block; color: var(--text-2); font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.forum-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 13px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.filter-chips { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; min-width: 0; }
.filter-chip { min-height: 29px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid transparent; border-radius: 6px; color: #7d878d; font-size: 13px; white-space: nowrap; transition: .16s; }
.filter-chip:hover { color: #c8ceca; background: rgba(255, 255, 255, .04); }
.filter-chip.active { color: var(--text); border-color: var(--line-strong); background: rgba(255, 255, 255, .055); }
.filter-chip .game-dot { width: 5px; height: 5px; border-radius: 1px; background: var(--game-color, #79848a); }
.toolbar-divider { width: 1px; height: 19px; background: var(--line); }
.forum-toolbar-right { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.round-count { color: var(--dim); font-family: var(--font-mono); font-size: 11.5px; }
.sort-select { height: 30px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; outline: 0; color: #a1aaac; background: #0d1013; font-size: 12.5px; }
.forum-layout { display: grid; grid-template-columns: minmax(0, 1fr) 286px; gap: 13px; align-items: start; }
.post-list { overflow: hidden; }
.post-row { display: flex; gap: 13px; padding: 17px 17px; border-bottom: 1px solid var(--line); transition: background .17s; }
.post-row:last-child { border-bottom: 0; }
.post-row:hover { background: rgba(255, 255, 255, .022); }
.post-row-main { flex: 1; min-width: 0; }
.post-row-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 5px; }
.category-label { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 4px; color: var(--accent-2); background: rgba(255, 92, 43, .075); font-size: 11px; font-weight: 600; }
.post-row-title { display: inline; margin: 0; font-size: 16px; font-weight: 600; line-height: 1.55; letter-spacing: .05px; }
.post-row-title:hover { color: var(--accent-2); }
.post-row-excerpt { display: -webkit-box; overflow: hidden; margin: 5px 0 9px; color: #7f898d; font-size: 13.5px; line-height: 1.75; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.post-row-bottom { display: flex; align-items: center; gap: 8px; color: var(--dim); font-family: var(--font-mono); font-size: 11px; }
.post-row-author { display: flex; align-items: center; gap: 5px; color: #9ba4a5; }
.post-row-stats { display: flex; gap: 12px; margin-left: auto; }
.post-row-stats span { display: inline-flex; align-items: center; gap: 3px; }
.post-row-stats svg { width: 12px; height: 12px; }
.post-row-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.bookmark-btn { width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; color: #657077; }
.bookmark-btn:hover { color: var(--accent-2); border-color: var(--line); background: rgba(255, 255, 255, .03); }
.bookmark-btn.active { color: var(--accent); }
.bookmark-btn.active svg { fill: currentColor; }
.bookmark-btn svg { width: 14px; height: 14px; }
.forum-side { display: grid; gap: 13px; }
.side-card { padding: 16px; }
.side-card-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 13px; }
.side-card-title h3 { display: flex; align-items: center; gap: 7px; margin: 0; font-family: var(--font-display); font-size: 17px; letter-spacing: .3px; }
.side-card-title h3 svg { width: 14px; height: 14px; color: var(--accent); }
.hot-list { display: grid; gap: 12px; }
.hot-item { display: flex; gap: 8px; }
.hot-rank { color: #4f585e; font-family: var(--font-mono); font-size: 12.5px; font-style: italic; line-height: 1.6; }
.hot-item:nth-child(-n+3) .hot-rank { color: var(--accent); }
.hot-item a { display: -webkit-box; overflow: hidden; color: #bdc4c1; font-size: 13px; line-height: 1.6; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hot-item a:hover { color: #fff; }
.hot-item small { display: block; margin-top: 2px; color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.quick-squad { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid var(--line); }
.quick-squad:first-of-type { border-top: 0; padding-top: 0; }
.quick-squad-main { flex: 1; min-width: 0; }
.quick-squad-main strong { display: block; overflow: hidden; font-size: 13px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.quick-squad-main small { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 12px; border-top: 1px solid var(--line); }
.page-btn { min-width: 27px; height: 27px; padding: 0 7px; border: 1px solid transparent; border-radius: 6px; color: #737e84; font-family: var(--font-mono); font-size: 12px; }
.page-btn:hover { color: #fff; border-color: var(--line); background: rgba(255, 255, 255, .04); }
.page-btn.active { color: #17100c; background: var(--accent); border-color: var(--accent); }
.page-btn:disabled { opacity: .3; cursor: not-allowed; }

/* 帖子详情 */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 286px; gap: 13px; align-items: start; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; color: #7d878d; font-size: 13px; }
.back-link:hover { color: var(--accent-2); }
.back-link svg { width: 13px; height: 13px; }
.detail-card { overflow: hidden; }
.detail-head { padding: 25px 27px 18px; border-bottom: 1px solid var(--line); }
.detail-labels { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 11px; }
.detail-title { margin: 0; font-family: var(--font-display); font-size: clamp(26px, 2.7vw, 36px); font-weight: 800; line-height: 1.24; letter-spacing: .2px; }
.detail-author-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.detail-author-meta { min-width: 0; flex: 1; }
.detail-author-meta strong { display: block; font-size: 13.5px; }
.detail-author-meta small { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 11px; }
.detail-owner-actions { display: flex; gap: 4px; }
.detail-content { padding: 24px 27px; color: #b8c0bd; font-size: 15px; line-height: 2; }
.detail-content p { margin: 0 0 16px; }
.detail-content p:last-child { margin-bottom: 0; }
.detail-content p:first-child::first-letter { color: var(--accent); font-family: var(--font-display); font-size: 2.1em; font-weight: 800; float: left; line-height: 1; padding: 5px 8px 0 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 27px 20px; }
.tag { padding: 4px 8px; border: 1px solid var(--line); border-radius: 5px; color: #879196; background: rgba(255, 255, 255, .02); font-family: var(--font-mono); font-size: 11.5px; }
.tag:hover { color: var(--accent-2); border-color: rgba(255, 92, 43, .25); }
.detail-actions { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 27px 20px; border-top: 1px solid var(--line); }
.reaction { min-width: 86px; height: 35px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 13px; border: 1px solid var(--line); border-radius: 18px; color: #909a9d; font-size: 13px; transition: .18s; }
.reaction:hover { color: #fff; border-color: var(--line-strong); background: rgba(255, 255, 255, .04); }
.reaction.active { color: var(--accent-2); border-color: rgba(255, 92, 43, .3); background: var(--accent-soft); }
.reaction.active svg { fill: currentColor; }
.reaction svg { width: 14px; height: 14px; }
.comments { margin-top: 13px; overflow: hidden; }
.comments-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 14px; }
.comments-head h2 { margin: 0; font-family: var(--font-display); font-size: 19px; letter-spacing: .3px; }
.comments-head h2 span { margin-left: 4px; color: var(--dim); font-family: var(--font-mono); font-size: 11.5px; }
.comments-head small { color: var(--dim); font-size: 12px; }
.reply-form { display: flex; gap: 10px; padding: 0 22px 20px; }
.reply-form-main { flex: 1; min-width: 0; }
.reply-ref { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 9px; margin-bottom: 5px; border-radius: 6px; color: #b1a299; background: var(--accent-soft); font-size: 12px; }
.reply-textarea { width: 100%; min-height: 76px; padding: 10px 11px; resize: vertical; border: 1px solid var(--line); border-radius: 9px; outline: 0; background: #0b0e11; color: var(--text); font-size: 13.5px; line-height: 1.8; transition: .18s; }
.reply-textarea:focus { border-color: rgba(255, 92, 43, .4); box-shadow: 0 0 0 3px rgba(255, 92, 43, .05); }
.reply-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.reply-footer small { color: var(--dim); font-family: var(--font-mono); font-size: 11px; }
.comment-list { border-top: 1px solid var(--line); }
.comment { display: flex; gap: 10px; padding: 17px 22px; border-bottom: 1px solid var(--line); }
.comment:last-child { border-bottom: 0; }
.comment-main { flex: 1; min-width: 0; }
.comment-top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.comment-top strong { font-size: 13px; }
.comment-top time { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.author-badge { padding: 1px 4px; border-radius: 3px; color: var(--accent-2); background: var(--accent-soft); font-size: 10.5px; }
.floor { margin-left: auto; color: #4e575d; font-family: var(--font-mono); font-size: 10.5px; }
.comment-ref { padding: 5px 8px; margin: 6px 0; border-left: 2px solid #4d403a; color: #7f888b; background: rgba(255, 255, 255, .018); font-size: 12px; }
.comment-text { margin: 5px 0 7px; color: #aeb7b4; font-size: 13.5px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-actions { display: flex; gap: 13px; }
.comment-action { display: inline-flex; align-items: center; gap: 3px; color: #657077; font-family: var(--font-mono); font-size: 11px; }
.comment-action:hover, .comment-action.active { color: var(--accent-2); }
.comment-action svg { width: 11px; height: 11px; }
.comment-action.active svg { fill: currentColor; }
.detail-side-author { padding: 18px; text-align: center; }
.detail-side-author .avatar { margin: 0 auto 10px; }
.detail-side-author h3 { margin: 0 0 2px; font-family: var(--font-display); font-size: 18px; }
.detail-side-author p { margin: 0 0 12px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.author-stat-row { display: flex; border-top: 1px solid var(--line); padding-top: 13px; margin-top: 13px; }
.author-stat-row div { flex: 1; }
.author-stat-row strong { display: block; font-family: var(--font-display); font-size: 17px; }
.author-stat-row small { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.related-list { display: grid; gap: 9px; }
.related-link { display: block; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.related-link:last-child { padding-bottom: 0; border-bottom: 0; }
.related-link strong { display: -webkit-box; overflow: hidden; color: #bcc4c0; font-size: 13px; font-weight: 500; line-height: 1.65; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.related-link:hover strong { color: var(--accent-2); }
.related-link small { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }

/* 语音大厅 */
.rooms-banner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 28px; margin-bottom: 14px; border: 1px solid rgba(255, 92, 43, .16); border-radius: 19px; background: linear-gradient(110deg, rgba(255, 92, 43, .1), rgba(255, 92, 43, .015) 45%), var(--surface); }
.rooms-banner::before { content: ""; width: 280px; height: 280px; position: absolute; right: 60px; top: -140px; border: 1px solid rgba(255, 255, 255, .06); border-radius: 50%; box-shadow: inset 0 0 0 45px rgba(255, 255, 255, .015), inset 0 0 0 90px rgba(255, 255, 255, .012); }
.rooms-banner-copy { position: relative; z-index: 2; }
.rooms-banner h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 29px; letter-spacing: .3px; }
.rooms-banner p { max-width: 520px; margin: 0; color: #8b9699; font-size: 13.5px; }
.rooms-live-stats { position: relative; z-index: 2; display: flex; gap: 25px; flex: 0 0 auto; }
.rooms-live-stat { text-align: right; }
.rooms-live-stat strong { display: block; font-family: var(--font-display); font-size: 24px; line-height: 1.1; }
.rooms-live-stat strong small { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.rooms-live-stat span { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .6px; }
.room-filters { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.room-card { position: relative; overflow: hidden; padding: 17px 17px 14px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); transition: .2s; }
.room-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--game-color), transparent 65%); opacity: .65; }
.room-card:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-2px); }
.room-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.room-card-title { display: flex; align-items: center; gap: 7px; margin: 0 0 5px; font-family: var(--font-display); font-size: 21px; line-height: 1.3; letter-spacing: .2px; }
.room-card-desc { overflow: hidden; display: -webkit-box; min-height: 35px; margin: 0 0 12px; color: #808a8e; font-size: 13px; line-height: 1.75; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.room-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 13px; }
.mini-tag { padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; color: #7e888c; font-family: var(--font-mono); font-size: 10.5px; }
.room-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 11px; border-top: 1px solid var(--line); }
.room-host { display: flex; align-items: center; gap: 7px; min-width: 0; }
.room-host span { min-width: 0; }
.room-host strong { display: block; overflow: hidden; color: #aeb6b3; font-size: 12px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.room-host small { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.room-participants { display: flex; align-items: center; gap: 7px; }
.room-capacity { display: flex; align-items: center; gap: 5px; }
.capacity-bar { width: 36px; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.capacity-bar span { display: block; height: 100%; border-radius: inherit; background: var(--game-color, var(--accent)); }
.room-capacity small { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.room-card-features { display: flex; gap: 10px; margin-top: 9px; color: #626c71; font-family: var(--font-mono); font-size: 10.5px; }
.room-card-features span { display: inline-flex; align-items: center; gap: 3px; }
.room-card-features svg { width: 10px; height: 10px; }

/* 语音房间舞台 */
.voice-stage { display: grid; gap: 13px; }
.voice-head { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.voice-head-main { flex: 1; min-width: 200px; }
.voice-head-main h1 { display: flex; align-items: center; gap: 9px; margin: 0; font-family: var(--font-display); font-size: 30px; letter-spacing: .3px; }
.voice-head-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 4px; color: var(--dim); font-family: var(--font-mono); font-size: 11px; }
.voice-head-actions { display: flex; align-items: center; gap: 6px; }
.room-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .65fr); gap: 13px; align-items: stretch; }
.stage-panel { position: relative; overflow: hidden; min-height: 540px; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(ellipse at 50% 20%, rgba(255, 92, 43, .09), transparent 55%), linear-gradient(160deg, #10151a, #090b0e); }
.stage-panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 40%, black, transparent 72%); }
.stage-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.stage-top h2 { display: flex; align-items: center; gap: 7px; margin: 0; font-family: var(--font-display); font-size: 16px; letter-spacing: 1px; }
.stage-top h2 svg { width: 14px; height: 14px; color: var(--accent); }
.stage-top small { color: var(--dim); font-family: var(--font-mono); font-size: 11px; }
.stage-seats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 22px 20px 112px; }
.seat { min-height: 124px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 255, 255, .022); text-align: center; transition: .2s; }
.seat.speaking { border-color: rgba(255, 92, 43, .4); background: rgba(255, 92, 43, .045); box-shadow: 0 0 24px rgba(255, 92, 43, .06); }
.seat.empty { border-style: dashed; background: transparent; color: #4f585e; }
.seat.empty svg { width: 21px; height: 21px; }
.seat-avatar-wrap { position: relative; }
.seat.speaking .avatar { box-shadow: 0 0 0 3px rgba(255, 92, 43, .06), 0 0 0 5px rgba(255, 92, 43, .28); }
.seat-mic { width: 17px; height: 17px; position: absolute; right: -2px; bottom: -2px; display: flex; align-items: center; justify-content: center; border: 2px solid #11161a; border-radius: 50%; color: #879196; background: #1d242a; }
.seat-mic svg { width: 8px; height: 8px; }
.seat-name { font-size: 13px; font-weight: 600; line-height: 1.35; }
.seat-name small { display: inline-block; margin-left: 3px; padding: 1px 3px; border-radius: 3px; color: var(--accent-2); background: var(--accent-soft); font-family: var(--font-mono); font-size: 10px; font-weight: 400; }
.seat-rank { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.seat-host { display: inline-flex; align-items: center; gap: 3px; color: var(--yellow); font-family: var(--font-mono); font-size: 10px; }
.seat-host svg { width: 9px; height: 9px; }
.speaking-bars { height: 9px; display: flex; align-items: center; gap: 2px; opacity: 0; }
.seat.speaking .speaking-bars { opacity: 1; }
.speaking-bars i { width: 2px; border-radius: 1px; background: var(--accent); animation: speak-bar .8s ease-in-out infinite alternate; }
.speaking-bars i:nth-child(2) { height: 6px; animation-delay: .15s; }
.speaking-bars i:nth-child(3) { height: 9px; animation-delay: .3s; }
.speaking-bars i:nth-child(4) { height: 4px; animation-delay: .1s; }
.stage-wave { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 89px; opacity: .46; pointer-events: none; }
.stage-wave-label { display: flex; justify-content: space-between; margin-bottom: 8px; color: #566168; font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.2px; }
.stage-wave-bars { height: 31px; display: flex; align-items: center; gap: 3px; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.stage-wave-bars i { flex: 1; height: var(--wave); border-radius: 2px; background: linear-gradient(180deg, rgba(255, 92, 43, .75), rgba(255, 92, 43, .1)); animation: wave-idle 2.2s ease-in-out infinite alternate; animation-delay: var(--delay); }
.voice-controls { position: absolute; left: 18px; right: 18px; bottom: 17px; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(9, 12, 14, .82); backdrop-filter: blur(16px); }
.voice-btn { width: 44px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 1px solid var(--line); border-radius: 9px; color: #9aa4a8; transition: .18s; }
.voice-btn:hover { color: #fff; border-color: var(--line-strong); background: rgba(255, 255, 255, .06); }
.voice-btn svg { width: 16px; height: 16px; }
.voice-btn small { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .3px; }
.voice-btn.active { color: var(--volt); border-color: rgba(216, 255, 79, .22); background: var(--volt-soft); }
.voice-btn.danger { color: #ff858c; border-color: rgba(255, 83, 100, .18); }
.voice-btn.danger:hover { background: rgba(255, 83, 100, .1); }
.voice-btn.muted { color: #ff858c; }
.voice-level { width: 82px; display: flex; align-items: center; gap: 5px; padding: 0 5px; }
.voice-level-bars { flex: 1; height: 4px; display: flex; gap: 2px; align-items: flex-end; }
.voice-level-bars i { flex: 1; height: 3px; border-radius: 1px; background: #30383d; transition: height .08s, background .08s; }
.voice-level small { color: #687278; font-family: var(--font-mono); font-size: 10px; }
.voice-status { display: flex; align-items: center; gap: 5px; padding: 0 4px 0 8px; color: #697379; font-family: var(--font-mono); font-size: 10.5px; }
.voice-status i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }
.room-chat { display: flex; flex-direction: column; min-height: 540px; max-height: 680px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 15px; border-bottom: 1px solid var(--line); }
.chat-head h3 { display: flex; align-items: center; gap: 6px; margin: 0; font-family: var(--font-display); font-size: 16px; letter-spacing: .5px; }
.chat-head h3 svg { width: 14px; height: 14px; color: var(--accent); }
.chat-head small { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 11px; scrollbar-width: thin; }
.chat-msg { display: flex; gap: 8px; }
.chat-msg-main { min-width: 0; flex: 1; }
.chat-msg-top { display: flex; align-items: center; gap: 5px; }
.chat-msg-top strong { font-size: 12px; }
.chat-msg-top time { color: #4f585e; font-family: var(--font-mono); font-size: 10px; }
.chat-msg-text { margin: 2px 0 0; color: #a7b0ae; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.chat-system { align-self: center; max-width: 90%; padding: 3px 8px; border-radius: 4px; color: #687278; background: rgba(255, 255, 255, .025); font-family: var(--font-mono); font-size: 10.5px; text-align: center; }
.chat-form { display: flex; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; outline: 0; background: #0b0e11; font-size: 13px; }
.chat-form input:focus { border-color: rgba(255, 92, 43, .35); }
.chat-form button { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 7px; color: #17100c; background: var(--accent); }
.chat-form button svg { width: 14px; height: 14px; }
.room-note { display: flex; align-items: flex-start; gap: 7px; padding: 10px 14px; color: #7d878b; border-top: 1px solid var(--line); font-size: 11.5px; line-height: 1.6; }
.room-note svg { width: 12px; height: 12px; margin-top: 1px; color: var(--dim); }

/* 网盘 */
.drive-stats { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, .55fr)); gap: 10px; margin-bottom: 13px; }
.storage-card { padding: 17px 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.storage-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.storage-card h3 { display: flex; align-items: center; gap: 7px; margin: 0; font-family: var(--font-display); font-size: 16px; }
.storage-card h3 svg { width: 14px; height: 14px; color: var(--accent); }
.storage-value { margin: 11px 0 6px; font-family: var(--font-display); font-size: 25px; line-height: 1; }
.storage-value small { color: var(--dim); font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; }
.storage-bar { height: 5px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .07); }
.storage-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #ffba61); box-shadow: 0 0 12px rgba(255, 92, 43, .35); }
.storage-meta { display: flex; justify-content: space-between; margin-top: 6px; color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.drive-stat { padding: 17px 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.drive-stat span { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: .6px; }
.drive-stat strong { display: block; margin-top: 9px; font-family: var(--font-display); font-size: 23px; line-height: 1; }
.drive-stat small { display: block; margin-top: 4px; color: #626c71; font-size: 11.5px; }
.drive-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 12px; align-items: start; }
.drive-side { padding: 10px; }
.folder-list { display: grid; gap: 2px; }
.folder-link { width: 100%; min-height: 34px; display: flex; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 7px; color: #8d979b; font-size: 13px; text-align: left; }
.folder-link:hover { color: var(--text); background: rgba(255, 255, 255, .035); }
.folder-link.active { color: var(--text); background: var(--accent-soft); }
.folder-link svg { width: 14px; height: 14px; color: #687278; }
.folder-link.active svg { color: var(--accent); }
.folder-count { margin-left: auto; color: #59636a; font-family: var(--font-mono); font-size: 10.5px; }
.folder-sep { height: 1px; background: var(--line); margin: 8px 4px; }
.drive-side-title { margin: 10px 9px 6px; color: #525c62; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 1.2px; }
.drive-main { min-width: 0; overflow: hidden; }
.drive-toolbar { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.drive-title { flex: 1; min-width: 0; }
.drive-title h2 { overflow: hidden; margin: 0; font-family: var(--font-display); font-size: 19px; letter-spacing: .3px; white-space: nowrap; text-overflow: ellipsis; }
.drive-title small { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.drive-search { width: 180px; height: 31px; display: flex; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: #0b0e11; }
.drive-search svg { width: 12px; height: 12px; color: #59636a; }
.drive-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 12.5px; }
.view-toggle { display: flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 7px; }
.view-toggle button { width: 25px; height: 25px; display: flex; align-items: center; justify-content: center; border-radius: 5px; color: #626c71; }
.view-toggle button.active { color: var(--text); background: rgba(255, 255, 255, .07); }
.view-toggle svg { width: 12px; height: 12px; }
.drive-drop { display: flex; align-items: center; gap: 12px; margin: 13px; padding: 13px 15px; border: 1px dashed rgba(255, 255, 255, .13); border-radius: 10px; background: rgba(255, 255, 255, .018); transition: .18s; }
.drive-drop.dragging { border-color: var(--accent); background: var(--accent-soft); }
.drive-drop-icon { width: 33px; height: 33px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 92, 43, .2); border-radius: 8px; color: var(--accent); background: var(--accent-soft); }
.drive-drop-icon svg { width: 16px; height: 16px; }
.drive-drop-text { flex: 1; min-width: 0; }
.drive-drop-text strong { display: block; font-size: 13px; font-weight: 500; }
.drive-drop-text small { display: block; color: var(--dim); font-size: 11.5px; }
.file-table { width: 100%; border-collapse: collapse; }
.file-table th { padding: 8px 13px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #59636a; font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; letter-spacing: .8px; text-align: left; }
.file-table td { padding: 10px 13px; border-bottom: 1px solid rgba(255, 255, 255, .04); color: #8d979b; font-size: 12.5px; }
.file-row { transition: background .16s; }
.file-row:hover { background: rgba(255, 255, 255, .022); }
.file-row:last-child td { border-bottom: 0; }
.file-name-cell { display: flex; align-items: center; gap: 9px; min-width: 0; }
.file-icon { width: 31px; height: 31px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 7px; color: #8d979b; background: var(--surface-2); }
.file-icon svg { width: 15px; height: 15px; }
.file-icon.image { color: var(--cyan); background: rgba(89, 216, 255, .06); border-color: rgba(89, 216, 255, .13); }
.file-icon.video { color: #b59cff; background: rgba(181, 156, 255, .06); border-color: rgba(181, 156, 255, .13); }
.file-icon.text { color: var(--green); background: rgba(100, 230, 163, .05); border-color: rgba(100, 230, 163, .12); }
.file-icon.archive { color: var(--yellow); background: rgba(245, 196, 81, .055); border-color: rgba(245, 196, 81, .13); }
.file-name { min-width: 0; }
.file-name strong { display: block; overflow: hidden; color: #d0d6d2; font-size: 13px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.file-name small { display: block; color: #566067; font-family: var(--font-mono); font-size: 10px; }
.file-name strong:hover { color: var(--accent-2); cursor: pointer; }
.file-actions { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.file-action { width: 25px; height: 25px; display: flex; align-items: center; justify-content: center; border-radius: 5px; color: #576168; }
.file-action:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.file-action.active { color: var(--yellow); }
.file-action svg { width: 12px; height: 12px; }
.file-menu { position: relative; }
.file-menu-pop { width: 120px; position: absolute; z-index: 20; right: 0; top: 27px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 8px; background: #101418; box-shadow: var(--shadow); }
.file-menu-pop button { width: 100%; display: flex; align-items: center; gap: 7px; padding: 6px 7px; border-radius: 5px; color: #a6afac; font-size: 12px; text-align: left; }
.file-menu-pop button:hover { background: rgba(255, 255, 255, .055); color: #fff; }
.file-menu-pop button.danger { color: #ff9297; }
.file-menu-pop svg { width: 12px; height: 12px; }
.file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 9px; padding: 13px; }
.file-card { padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .018); }
.file-card:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, .035); }
.file-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 15px; }
.file-card .file-icon { width: 35px; height: 35px; }
.file-card-name { overflow: hidden; margin: 0 0 3px; color: #cbd1cd; font-size: 12.5px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.file-card small { color: var(--dim); font-family: var(--font-mono); font-size: 10px; }
.upload-status { display: flex; align-items: center; gap: 9px; margin: 0 13px 13px; padding: 9px 12px; border: 1px solid rgba(100, 230, 163, .17); border-radius: 8px; color: var(--green); background: rgba(100, 230, 163, .05); font-size: 12px; }
.upload-status .spinner { width: 12px; height: 12px; border: 1.5px solid rgba(100, 230, 163, .25); border-top-color: var(--green); border-radius: 50%; animation: spin .7s linear infinite; }
.drive-empty { padding: 45px 20px; text-align: center; color: var(--muted); }
.drive-empty p { margin: 0 0 12px; font-size: 13px; }

/* 靶场 */
.train-layout { display: grid; grid-template-columns: minmax(0, 1fr) 294px; gap: 13px; align-items: start; }
.aim-panel { overflow: hidden; }
.aim-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.aim-tabs { display: flex; gap: 3px; }
.aim-tab { padding: 6px 10px; border-radius: 6px; color: #7f898e; font-family: var(--font-mono); font-size: 11px; letter-spacing: .4px; }
.aim-tab:hover { color: #c4cbc7; }
.aim-tab.active { color: #151008; background: var(--accent); }
.aim-head-actions { display: flex; align-items: center; gap: 7px; }
.aim-duration { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.aim-duration button { padding: 5px 8px; color: #707a80; font-family: var(--font-mono); font-size: 10.5px; }
.aim-duration button.active { color: var(--text); background: rgba(255, 255, 255, .07); }
.aim-sound { width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; color: #6d777d; }
.aim-sound.active { color: var(--volt); border-color: rgba(216, 255, 79, .18); }
.aim-sound svg { width: 12px; height: 12px; }
.arena-wrap { position: relative; background: #070a0c; }
.arena-hud { position: absolute; z-index: 4; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: flex-start; padding: 13px 15px; pointer-events: none; }
.hud-group { display: flex; gap: 18px; }
.hud-item span { display: block; color: #5c666c; font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; }
.hud-item strong { display: block; font-family: var(--font-display); font-size: 20px; line-height: 1.2; letter-spacing: .4px; }
.hud-item strong.accent { color: var(--accent); }
.hud-item small { color: #5c666c; font-family: var(--font-mono); font-size: 10.5px; }
.timer-ring { width: 53px; height: 53px; position: relative; display: flex; align-items: center; justify-content: center; }
.timer-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.timer-ring circle { fill: none; stroke-width: 2; }
.timer-ring .track { stroke: rgba(255, 255, 255, .08); }
.timer-ring .progress { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 144; stroke-dashoffset: 0; transition: stroke-dashoffset .2s linear; }
.timer-ring strong { position: relative; font-family: var(--font-display); font-size: 17px; }
.arena { display: block; width: 100%; height: 505px; cursor: none; touch-action: none; }
.arena-overlay { position: absolute; z-index: 5; inset: 0; display: flex; align-items: center; justify-content: center; padding: 22px; background: rgba(5, 7, 8, .72); backdrop-filter: blur(5px); }
.aim-start { max-width: 370px; text-align: center; }
.aim-start-icon { width: 63px; height: 63px; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; border: 1px solid rgba(255, 92, 43, .28); border-radius: 50%; color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 45px rgba(255, 92, 43, .1); }
.aim-start-icon svg { width: 29px; height: 29px; }
.aim-start h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 28px; letter-spacing: .3px; }
.aim-start p { margin: 0 auto 17px; color: #8a9498; font-size: 13px; line-height: 1.75; }
.aim-start .button { min-width: 150px; }
.aim-countdown { font-family: var(--font-display); font-size: 100px; font-weight: 800; line-height: 1; color: var(--accent); text-shadow: 0 0 50px rgba(255, 92, 43, .35); animation: countdown-pop 1s ease-out infinite; }
.aim-result { max-width: 420px; width: 100%; padding: 24px; border: 1px solid var(--line-strong); border-radius: 16px; background: #0d1114; box-shadow: var(--shadow); text-align: center; }
.result-rank { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; margin-bottom: 9px; border: 1px solid rgba(216, 255, 79, .18); border-radius: 5px; color: var(--volt); background: var(--volt-soft); font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; }
.aim-result h2 { margin: 0 0 3px; font-family: var(--font-display); font-size: 28px; letter-spacing: .3px; }
.result-score { margin: 10px 0 17px; font-family: var(--font-display); font-size: 54px; font-weight: 800; line-height: 1; color: var(--accent); text-shadow: 0 0 35px rgba(255, 92, 43, .2); }
.result-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--line); }
.result-stat { padding: 10px 6px; background: #0a0d10; }
.result-stat strong { display: block; font-family: var(--font-display); font-size: 19px; }
.result-stat span { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.result-actions { display: flex; justify-content: center; gap: 8px; }
.aim-foot { display: flex; justify-content: space-between; gap: 10px; padding: 9px 14px; border-top: 1px solid var(--line); color: #566067; font-family: var(--font-mono); font-size: 10.5px; }
.aim-foot span { display: flex; align-items: center; gap: 4px; }
.aim-foot svg { width: 10px; height: 10px; }
.train-side { display: grid; gap: 13px; }
.train-best { padding: 18px; text-align: center; background: radial-gradient(circle at 50% 0, rgba(255, 92, 43, .1), transparent 60%), var(--surface); }
.train-best .eyebrow { color: #7c6e66; }
.best-score { margin: 7px 0 2px; font-family: var(--font-display); font-size: 39px; font-weight: 800; line-height: 1; letter-spacing: .5px; }
.best-score span { color: var(--accent); font-size: 17px; vertical-align: top; }
.train-best p { margin: 3px 0 13px; color: var(--dim); font-family: var(--font-mono); font-size: 11px; }
.best-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 12px; }
.best-grid div { border-left: 1px solid var(--line); }
.best-grid div:first-child { border-left: 0; }
.best-grid strong { display: block; font-family: var(--font-display); font-size: 17px; }
.best-grid small { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.train-history { display: grid; }
.history-row { display: flex; align-items: center; gap: 8px; padding: 9px 15px; border-top: 1px solid var(--line); }
.history-row:first-child { border-top: 0; }
.history-mode { width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; color: var(--accent-2); }
.history-mode svg { width: 13px; height: 13px; }
.history-main { flex: 1; }
.history-main strong { display: block; font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.history-main small { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 10px; }
.history-score { color: #b7c0bc; font-family: var(--font-display); font-size: 16px; }
.train-tips { padding: 16px; }
.train-tips h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-family: var(--font-display); font-size: 16px; }
.train-tips h3 svg { width: 13px; height: 13px; color: var(--volt); }
.train-tips ol { margin: 0; padding-left: 15px; color: #858f93; font-size: 12px; line-height: 1.85; }
.train-tips li { margin-bottom: 4px; }

/* 个人中心 */
.profile-hero { position: relative; overflow: hidden; display: flex; align-items: center; gap: 22px; padding: 26px 28px; border: 1px solid var(--line-strong); border-radius: 20px; background: linear-gradient(120deg, rgba(255, 92, 43, .12), rgba(255, 255, 255, .012) 50%), var(--surface); }
.profile-hero::after { content: ""; width: 280px; height: 280px; position: absolute; right: 20px; top: -150px; border: 1px solid rgba(255, 255, 255, .06); border-radius: 50%; box-shadow: inset 0 0 0 45px rgba(255, 255, 255, .015), inset 0 0 0 90px rgba(255, 255, 255, .01); }
.profile-avatar-wrap { position: relative; z-index: 2; flex: 0 0 auto; }
.profile-avatar-wrap .avatar { width: 84px; height: 84px; font-size: 30px; border: 2px solid rgba(255, 255, 255, .18); }
.level-badge { position: absolute; right: -4px; bottom: -5px; padding: 2px 6px; border: 2px solid #111519; border-radius: 5px; color: #151008; background: var(--volt); font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; }
.profile-info { position: relative; z-index: 2; flex: 1; min-width: 0; }
.profile-info h1 { display: flex; align-items: center; gap: 10px; margin: 0 0 2px; font-family: var(--font-display); font-size: 32px; letter-spacing: .5px; }
.profile-info h1 small { padding: 2px 6px; border: 1px solid var(--line); border-radius: 4px; color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; }
.profile-handle { color: #828c90; font-family: var(--font-mono); font-size: 11.5px; }
.profile-bio { max-width: 520px; margin: 7px 0 0; color: #929c9e; font-size: 13px; }
.profile-hero-actions { position: relative; z-index: 2; display: flex; gap: 6px; align-self: flex-start; }
.profile-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 13px 0; }
.profile-stat { padding: 14px 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.profile-stat span { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .6px; }
.profile-stat strong { display: block; margin-top: 4px; font-family: var(--font-display); font-size: 24px; line-height: 1; }
.profile-stat small { color: #5b656b; font-size: 11.5px; margin-left: 3px; }
.profile-tabs { display: flex; gap: 18px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.profile-tab { position: relative; padding: 14px 0 11px; color: #798388; font-size: 13px; }
.profile-tab.active { color: var(--text); }
.profile-tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); box-shadow: 0 0 8px rgba(255, 92, 43, .5); }
.profile-tab span { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; margin-left: 4px; }
.profile-content { margin-top: 13px; }
.profile-post-row { display: flex; align-items: center; gap: 11px; padding: 13px 17px; border-bottom: 1px solid var(--line); }
.profile-post-row:last-child { border-bottom: 0; }
.profile-post-main { flex: 1; min-width: 0; }
.profile-post-title { overflow: hidden; display: block; color: #ccd2ce; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.profile-post-meta { display: flex; gap: 7px; margin-top: 2px; color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.profile-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 17px; margin-top: 13px; border: 1px solid var(--line); border-radius: 12px; }
.profile-bottom p { margin: 0; color: var(--dim); font-size: 12px; }
.profile-guest { padding: 55px 25px; text-align: center; }
.profile-guest .avatar { margin: 0 auto 13px; }
.profile-guest h2 { margin: 0 0 5px; font-family: var(--font-display); font-size: 26px; }
.profile-guest p { max-width: 360px; margin: 0 auto 16px; color: var(--muted); font-size: 13px; }

/* 弹窗、表单、提示 */
.modal-backdrop { position: fixed; z-index: 200; inset: 0; display: flex; align-items: center; justify-content: center; padding: 22px; background: rgba(2, 3, 4, .72); backdrop-filter: blur(8px); animation: fade-in .18s; }
.modal { width: min(480px, 100%); max-height: calc(100vh - 44px); overflow-y: auto; border: 1px solid var(--line-strong); border-radius: 18px; background: #0c0f13; box-shadow: 0 30px 100px rgba(0, 0, 0, .65); animation: modal-in .22s ease-out; scrollbar-width: thin; }
.modal-wide { width: min(660px, 100%); }
.modal-xl { width: min(900px, 100%); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 20px 22px 5px; }
.modal-head h2 { margin: 0; font-family: var(--font-display); font-size: 24px; letter-spacing: .3px; }
.modal-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.modal-close { width: 29px; height: 29px; flex: 0 0 auto; }
.modal-close svg { width: 15px; height: 15px; }
.modal-body { padding: 15px 22px 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.form-group { margin-bottom: 13px; }
.form-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; color: #b5bdba; font-size: 13px; font-weight: 500; }
.form-label small { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; }
.form-input, .form-select, .form-textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; outline: 0; background: #090c0e; color: var(--text); transition: .18s; }
.form-input, .form-select { height: 38px; padding: 0 10px; font-size: 13px; }
.form-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #687278 50%), linear-gradient(135deg, #687278 50%, transparent 50%); background-position: calc(100% - 14px) 16px, calc(100% - 10px) 16px; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }
.form-textarea { min-height: 155px; padding: 10px; resize: vertical; font-size: 13.5px; line-height: 1.8; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: rgba(255, 92, 43, .45); box-shadow: 0 0 0 3px rgba(255, 92, 43, .055); }
.form-hint { margin: 4px 0 0; color: var(--dim); font-size: 11.5px; }
.form-error { display: none; padding: 7px 9px; margin-bottom: 11px; border: 1px solid rgba(255, 83, 100, .2); border-radius: 7px; color: #ff9da2; background: rgba(255, 83, 100, .07); font-size: 12.5px; }
.form-error.visible { display: block; }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin-top: 16px; }
.form-actions .left { margin-right: auto; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 8px; background: #090c0e; }
.auth-tab { padding: 7px; border-radius: 6px; color: var(--muted); font-size: 13px; }
.auth-tab.active { color: var(--text); background: rgba(255, 255, 255, .065); }
.auth-demo { padding: 11px; margin-top: 13px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .018); text-align: center; }
.auth-demo p { margin: 0 0 6px; color: var(--dim); font-size: 12px; }
.auth-demo code { color: var(--accent-2); font-family: var(--font-mono); }
.auth-note { margin: 10px 0 0; color: #565f65; font-size: 11px; line-height: 1.7; text-align: center; }
.confirm-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; margin-bottom: 13px; border: 1px solid rgba(255, 83, 100, .2); border-radius: 12px; color: var(--red); background: rgba(255, 83, 100, .07); }
.confirm-icon svg { width: 22px; height: 22px; }
.settings-section { padding: 12px 0; border-top: 1px solid var(--line); }
.settings-section:first-child { border-top: 0; padding-top: 0; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 8px; }
.settings-row strong { display: block; font-size: 13px; }
.settings-row small { display: block; color: var(--dim); font-size: 11.5px; }
.segmented { display: flex; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 6px; }
.segmented button { padding: 4px 8px; border-radius: 4px; color: #767f84; font-size: 11.5px; }
.segmented button.active { color: var(--text); background: rgba(255, 255, 255, .07); }
.range { width: 130px; accent-color: var(--accent); }
.mic-test { height: 5px; display: flex; gap: 2px; margin-top: 8px; }
.mic-test i { flex: 1; border-radius: 1px; background: #262e33; transition: background .08s; }
.device-select { width: 100%; height: 34px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; outline: 0; background: #090c0e; font-size: 12.5px; }
.voice-consent { display: flex; align-items: flex-start; gap: 7px; padding: 9px; margin-top: 10px; border: 1px solid rgba(255, 92, 43, .14); border-radius: 7px; color: #927f75; background: var(--accent-soft); font-size: 11.5px; line-height: 1.65; }
.voice-consent svg { width: 12px; height: 12px; margin-top: 1px; flex: 0 0 auto; }

/* 全局搜索 */
.search-modal { width: min(680px, 100%); max-height: min(700px, calc(100vh - 44px)); display: flex; flex-direction: column; overflow: hidden; }
.search-input-wrap { display: flex; align-items: center; gap: 9px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.search-input-wrap svg { width: 18px; height: 18px; color: var(--accent); }
.search-input-wrap input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--font-display); font-size: 21px; letter-spacing: .3px; }
.search-esc { padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.search-results { flex: 1; overflow-y: auto; padding: 8px; }
.search-group-label { padding: 9px 10px 5px; color: #59636a; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 1.3px; }
.search-result { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 7px; text-align: left; }
.search-result:hover { background: rgba(255, 255, 255, .045); }
.search-result-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 6px; color: #849096; }
.search-result-icon svg { width: 13px; height: 13px; }
.search-result-main { flex: 1; min-width: 0; }
.search-result-main strong { display: block; overflow: hidden; color: #c7ceca; font-size: 13px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.search-result-main small { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.search-result > svg { width: 12px; height: 12px; color: #4e585e; }
.search-empty { padding: 36px 20px; color: var(--muted); text-align: center; font-size: 13px; }
.search-footer { display: flex; justify-content: space-between; gap: 10px; padding: 8px 15px; border-top: 1px solid var(--line); color: #535d63; font-family: var(--font-mono); font-size: 10.5px; }
.search-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 13px 16px; }
.search-quick a { padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; color: #899398; font-size: 12px; }
.search-quick a:hover { color: var(--accent-2); border-color: rgba(255, 92, 43, .25); }
.search-quick-label { width: 100%; color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .8px; }

/* 文件预览 */
.preview-modal { width: min(900px, 100%); }
.preview-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.preview-title { flex: 1; min-width: 0; }
.preview-title strong { display: block; overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.preview-title small { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.preview-body { min-height: 260px; max-height: 68vh; display: flex; align-items: center; justify-content: center; overflow: auto; padding: 18px; background: #07090b; }
.preview-body img, .preview-body video { max-width: 100%; max-height: 62vh; border-radius: 7px; }
.preview-body audio { width: min(450px, 100%); }
.preview-text { width: 100%; max-height: 62vh; overflow: auto; padding: 14px; border: 1px solid var(--line); border-radius: 7px; color: #b4bdba; background: #0a0d0f; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.preview-fallback { text-align: center; color: var(--muted); font-size: 13px; }
.preview-fallback .file-icon { width: 58px; height: 58px; margin: 0 auto 13px; border-radius: 13px; }
.preview-fallback .file-icon svg { width: 25px; height: 25px; }
.preview-fallback p { margin: 0 0 12px; }

/* Toast */
.toast-root { position: fixed; z-index: 300; left: 50%; bottom: 28px; display: grid; gap: 7px; transform: translateX(-50%); pointer-events: none; }
.toast { min-width: 220px; max-width: min(420px, calc(100vw - 28px)); display: flex; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 9px; color: #e7ebe5; background: #171d21; box-shadow: 0 12px 35px rgba(0, 0, 0, .4); font-size: 13px; animation: toast-in .22s ease-out; }
.toast svg { width: 14px; height: 14px; color: var(--green); flex: 0 0 auto; }
.toast.error { border-color: rgba(255, 83, 100, .22); background: #2a1518; }
.toast.error svg { color: #ff8b92; }

.mobile-dock, .mobile-voice-dock { display: none; }
.mobile-dock { position: fixed; z-index: 72; left: 0; right: 0; bottom: 0; height: 66px; grid-template-columns: repeat(6, 1fr); align-items: center; padding: 1px 8px max(1px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line-strong); background: rgba(8, 10, 12, .94); backdrop-filter: blur(18px) saturate(130%); }
.mobile-dock a { min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #6f797f; }
.mobile-dock a svg { width: 18px; height: 18px; }
.mobile-dock a small { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .2px; }
.mobile-dock a.active { color: var(--accent-2); }
.mobile-dock .dock-main { width: 49px; height: 49px; min-height: 49px; justify-self: center; align-self: start; margin-top: -17px; border: 4px solid #080a0c; border-radius: 16px; color: #160d08; background: linear-gradient(145deg, var(--accent), #ff8350); box-shadow: 0 8px 24px rgba(255, 92, 43, .3); }
.mobile-dock .dock-main svg { width: 22px; height: 22px; }
.mobile-dock .dock-main.active { color: #160d08; }
.mobile-voice-dock { position: fixed; z-index: 71; left: 10px; right: 10px; bottom: 74px; }
.mobile-voice-dock:empty { display: none; }
.mobile-voice-dock .voice-dock { display: flex; align-items: center; gap: 8px; padding: 7px 8px 7px 11px; border-radius: 12px; background: rgba(15, 19, 22, .96); backdrop-filter: blur(18px); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.mobile-voice-dock .voice-dock-top { display: none; }
.mobile-voice-dock .voice-dock-title { flex: 1; min-width: 0; margin: 0; font-size: 12.5px; }
.mobile-voice-dock .voice-dock-controls { gap: 1px; }
.mobile-voice-dock .voice-dock-controls .icon-button { width: 28px; height: 28px; }
.mobile-voice-dock .voice-dock-controls .icon-button:nth-child(2) { display: none; }
@media (max-width: 780px) {
  .mobile-dock { display: grid; }
  .mobile-voice-dock { display: block; }
}

/* ============================================================
   语音频道增强
   ============================================================ */
.room-search { width: 178px; height: 31px; display: flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; background: #0b0e11; }
.room-search svg { width: 12px; height: 12px; color: #5f696f; }
.room-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 12.5px; }
.room-search button { display: flex; color: #697379; }
.room-search button:hover { color: var(--accent-2); }
.room-search button svg { width: 12px; height: 12px; }
.room-filter-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -2px 0 9px; }
.active-channel-strip { display: flex; align-items: center; gap: 9px; padding: 10px 14px; margin-bottom: 12px; border: 1px solid rgba(255, 92, 43, .2); border-radius: 10px; background: linear-gradient(90deg, rgba(255, 92, 43, .1), rgba(255, 92, 43, .02)); }
.active-channel-strip strong { font-size: 13px; }
.active-channel-strip .muted { font-family: var(--font-mono); font-size: 11px; }
.active-channel-strip .section-link { margin-left: auto; }
.recent-channels { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.recent-channels .eyebrow { margin-right: 3px; }
.recent-channels button { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 5px; color: #8c9699; font-size: 12px; }
.recent-channels button:hover { color: var(--accent-2); border-color: rgba(255, 92, 43, .25); }
.recent-channels svg { width: 10px; height: 10px; }
.chat-quick { display: flex; gap: 4px; flex-wrap: wrap; padding: 7px 12px 0; border-top: 1px solid var(--line); }
.chat-quick button { padding: 3px 7px; border: 1px solid var(--line); border-radius: 4px; color: #7e888c; font-size: 11px; }
.chat-quick button:hover { color: var(--accent-2); border-color: rgba(255, 92, 43, .24); background: var(--accent-soft); }
.voice-switch { height: 23px; min-width: 48px; display: inline-flex; align-items: center; gap: 5px; padding: 2px 5px 2px 3px; border: 1px solid var(--line); border-radius: 12px; color: #697379; font-family: var(--font-mono); font-size: 10px; }
.voice-switch i { width: 16px; height: 16px; border-radius: 50%; background: #343d42; transition: .18s; }
.voice-switch.on { color: var(--volt); border-color: rgba(216, 255, 79, .2); background: var(--volt-soft); }
.voice-switch.on i { background: var(--volt); box-shadow: 0 0 8px rgba(216, 255, 79, .4); }

/* ============================================================
   游戏厅与公共牌桌
   ============================================================ */
.card-body { padding: 15px 17px; }
.arcade-banner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 180px; padding: 25px 29px; margin-bottom: 15px; border: 1px solid rgba(255, 92, 43, .16); border-radius: 20px; background: radial-gradient(ellipse at 75% 20%, rgba(255, 92, 43, .15), transparent 55%), linear-gradient(130deg, #15181a, #0b0e10 65%); }
.arcade-banner::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, black 40%, transparent); pointer-events: none; }
.arcade-banner h2 { position: relative; z-index: 1; margin: 10px 0 5px; font-family: var(--font-display); font-size: 34px; line-height: 1.13; letter-spacing: .4px; }
.arcade-banner p { position: relative; z-index: 1; margin: 0; color: #929b9d; font-size: 13px; }
.arcade-banner-stats { position: relative; z-index: 1; display: flex; gap: 24px; padding-right: 50px; }
.arcade-banner-stats div { text-align: right; }
.arcade-banner-stats strong { display: block; font-family: var(--font-display); font-size: 27px; line-height: 1.1; }
.arcade-banner-stats span { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.arcade-banner-deco { position: absolute; right: 18px; top: 9px; color: rgba(255, 92, 43, .11); font-family: var(--font-display); font-size: 78px; line-height: .9; transform: rotate(8deg); pointer-events: none; }
.arcade-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.arcade-card { --arcade-color: var(--accent); position: relative; overflow: hidden; min-height: 342px; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(155deg, color-mix(in srgb, var(--arcade-color) 5%, transparent), transparent 45%), var(--surface); transition: .22s; }
.arcade-card::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 1px; background: linear-gradient(90deg, var(--arcade-color), transparent 70%); opacity: .8; }
.arcade-card:hover { border-color: var(--line-strong); background: linear-gradient(155deg, color-mix(in srgb, var(--arcade-color) 8%, transparent), transparent 45%), var(--surface-2); transform: translateY(-3px); }
.arcade-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.arcade-card-info { position: relative; z-index: 2; margin-top: auto; }
.arcade-card-info h3 { margin: 3px 0 4px; font-family: var(--font-display); font-size: 28px; letter-spacing: .4px; }
.arcade-card-info p { min-height: 35px; margin: 0; color: #858f93; font-size: 13px; line-height: 1.75; }
.arcade-card-stats { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.arcade-card-stats b { color: var(--text-2); font-weight: 500; }
.arcade-play { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; color: var(--arcade-color); }
.arcade-play svg { width: 11px; height: 11px; }
.arcade-card-link { position: absolute; z-index: 4; inset: 0; }
.arcade-art { position: relative; z-index: 1; flex: 1; min-height: 113px; display: flex; align-items: center; justify-content: center; margin: 8px 0 3px; }
.art-cards .mini-playing { width: 55px; height: 78px; margin: 0 -9px; transform: rotate(-11deg); }
.art-cards .mini-playing:nth-child(2) { transform: translateY(-4px) rotate(1deg); z-index: 2; }
.art-cards .mini-playing:nth-child(3) { transform: rotate(11deg); z-index: 1; }
.mini-playing { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 7px; border: 1px solid rgba(0,0,0,.2); border-radius: 8px; color: #1b1c1f; background: linear-gradient(155deg, #fbf9ef, #ddd7c7); box-shadow: 0 10px 18px rgba(0,0,0,.28); font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.mini-playing i { align-self: flex-end; font-style: normal; font-size: 17px; }
.mini-playing.red { color: #be3f42; }
.mini-playing.joker { color: #c05430; background: linear-gradient(155deg, #fff9e9, #eadcc0); }
.art-gomoku { width: 148px; height: 148px; display: grid; grid-template-columns: repeat(7, 1fr); padding: 11px; border: 1px solid rgba(255,255,255,.11); border-radius: 8px; background-color: #1c1913; background-image: linear-gradient(rgba(228,205,162,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(228,205,162,.15) 1px, transparent 1px); background-size: 18px 18px; transform: rotate(-2deg); }
.art-gomoku i { position: relative; }
.art-gomoku .stone { position: absolute; width: 13px; height: 13px; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 2px 4px rgba(0,0,0,.4); }
.art-gomoku .stone.black { background: radial-gradient(circle at 30% 25%, #5d6268, #111315 70%); }
.art-gomoku .stone.white { background: radial-gradient(circle at 30% 25%, #fffef4, #b9b1a1 75%); }
.art-blackjack { gap: 14px; }
.art-blackjack .mini-playing { width: 64px; height: 90px; font-size: 22px; transform: rotate(-7deg); }
.bj-total { font-family: var(--font-display); font-size: 46px; font-weight: 800; color: var(--volt); text-shadow: 0 0 24px rgba(216,255,79,.18); transform: rotate(3deg); }
.arcade-lower { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .7fr); gap: 12px; margin-top: 12px; align-items: start; }
.arcade-record-list { display: grid; }
.arcade-record { display: flex; align-items: center; gap: 8px; padding: 10px 17px; border-bottom: 1px solid var(--line); }
.arcade-record:last-child { border-bottom: 0; }
.arcade-record-game { width: 27px; height: 27px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 7px; color: var(--accent-2); font-family: var(--font-display); font-size: 13.5px; }
.arcade-record-game.gomoku { color: var(--green); }
.arcade-record-game.blackjack { color: var(--volt); }
.arcade-record-main { flex: 1; min-width: 0; }
.arcade-record-main strong { display: block; overflow: hidden; font-size: 12.5px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.arcade-record-main small { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 10px; }
.arcade-result { width: 19px; height: 19px; display: flex; align-items: center; justify-content: center; border-radius: 4px; font-family: var(--font-mono); font-size: 11.5px; }
.arcade-result.win { color: var(--green); background: rgba(100,230,163,.08); }
.arcade-result.lose { color: #ff8c91; background: rgba(255,83,100,.08); }
.arcade-result.push { color: var(--yellow); background: rgba(245,196,81,.08); }
.arcade-record-score { width: 43px; text-align: right; font-family: var(--font-mono); font-size: 11.5px; }
.arcade-record-score.positive { color: var(--green); }
.arcade-record-score.negative { color: #ff8c91; }
.arcade-join-card p { margin: 0 0 12px; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.arcade-join-form { display: flex; gap: 6px; }
.arcade-join-form input { flex: 1; min-width: 0; height: 32px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; outline: 0; background: #090c0e; font-size: 13px; font-family: var(--font-mono); letter-spacing: 1px; text-transform: uppercase; }
.arcade-join-note { display: flex; gap: 5px; margin-top: 9px; color: var(--dim); font-size: 11px; line-height: 1.6; }
.arcade-join-note svg { width: 11px; height: 11px; margin-top: 1px; }
.game-topbar { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.game-topbar-title { flex: 1; min-width: 0; }
.game-topbar-title h1 { margin: 1px 0 0; font-family: var(--font-display); font-size: 28px; letter-spacing: .5px; }
.game-topbar-actions { display: flex; align-items: center; gap: 7px; }
.chip-balance { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border: 1px solid rgba(216,255,79,.18); border-radius: 6px; color: var(--volt); background: var(--volt-soft); font-family: var(--font-mono); font-size: 11.5px; }
.chip-balance svg { width: 11px; height: 11px; }
.game-help-strip { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; color: var(--dim); font-size: 11.5px; }
.game-help-strip > div { display: flex; align-items: center; gap: 7px; }
.game-help-strip svg { width: 12px; height: 12px; }
.arcade-table { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 20px; background: #0b0d0e; }
.arcade-table::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.01) 3px 4px); }

/* 扑克牌 */
.playing-card { width: 54px; height: 78px; position: relative; display: inline-flex; flex: 0 0 auto; flex-direction: column; justify-content: space-between; padding: 5px 6px; border: 1px solid rgba(0,0,0,.24); border-radius: 7px; color: #18191b; background: linear-gradient(150deg, #fcfaf2, #e6e0d1); box-shadow: 0 5px 12px rgba(0,0,0,.26); font-family: var(--font-display); user-select: none; }
.playing-card.red { color: #bd3c43; }
.playing-card.black { color: #1b1c1e; }
.playing-card .pc-corner { display: flex; flex-direction: column; align-items: flex-start; line-height: .95; }
.playing-card .pc-corner b { font-size: 17px; letter-spacing: -.3px; }
.playing-card .pc-corner i { font-style: normal; font-size: 14px; }
.playing-card .pc-center { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); font-size: 29px; line-height: 1; opacity: .9; }
.playing-card .pc-footer { position: absolute; left: 6px; bottom: 5px; color: rgba(0,0,0,.4); font-family: var(--font-mono); font-size: 9px; }
.playing-card.joker .pc-center em { display: block; font-family: var(--font-ui); font-size: 14px; font-style: normal; font-weight: 800; writing-mode: vertical-rl; letter-spacing: 2px; }
.playing-card.small { width: 38px; height: 55px; padding: 3px 4px; border-radius: 5px; }
.playing-card.small .pc-corner b { font-size: 13px; }
.playing-card.small .pc-corner i { font-size: 11.5px; }
.playing-card.small .pc-center { font-size: 19px; }
.playing-card.small.joker .pc-center em { font-size: 11.5px; }
.card-back { position: relative; overflow: hidden; align-items: center; justify-content: center; padding: 0; border-color: #3b3328; background: #171a1b; }
.card-back::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255, 138, 74, .24); border-radius: 4px; }
.card-back::after { content: ""; width: 18px; height: 18px; position: absolute; border: 1px solid rgba(255, 138, 74, .34); transform: rotate(45deg); }
.card-back-grid { width: 100%; height: 100%; background: repeating-linear-gradient(45deg, rgba(255,138,74,.06) 0 1px, transparent 1px 7px); }
.card-back.small::after { width: 11px; height: 11px; }
.card-placeholder { color: var(--dim); font-family: var(--font-mono); font-size: 11.5px; }

/* 21 点 */
.bj-table { min-height: 640px; display: flex; flex-direction: column; align-items: center; padding: 27px; background: radial-gradient(ellipse at 50% 20%, #18251f, #0a0d0c 65%); }
.table-felt { position: absolute; inset: 12px; border: 1px solid rgba(120, 210, 152, .11); border-radius: 16px; background: radial-gradient(ellipse at 50% 40%, rgba(90, 190, 120, .1), transparent 62%); pointer-events: none; }
.table-felt::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.035); border-radius: 50%; }
.bj-hand { position: relative; z-index: 2; text-align: center; }
.dealer-hand { margin-top: 9px; }
.player-hand { margin-top: auto; margin-bottom: 16px; }
.hand-label { display: inline-flex; align-items: center; gap: 6px; color: #7a8781; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; }
.hand-label b { color: var(--text-2); font-family: var(--font-display); font-size: 17px; letter-spacing: 0; }
.bj-cards { min-height: 88px; display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 8px; }
.bj-center { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.table-mark { color: rgba(255,255,255,.055); font-family: var(--font-display); font-size: 68px; font-weight: 900; letter-spacing: 7px; line-height: 1; }
.bj-message { margin-top: -20px; color: #93a49a; font-size: 13px; }
.bj-result { margin-top: 9px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 5px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 2px; }
.bj-result.win { color: var(--green); border-color: rgba(100,230,163,.2); background: rgba(100,230,163,.06); }
.bj-result.lose, .bj-result.bust { color: #ff8c91; border-color: rgba(255,83,100,.2); background: rgba(255,83,100,.06); }
.bj-result.push { color: var(--yellow); }
.bj-controls { position: relative; z-index: 3; display: flex; gap: 8px; }
.bj-foot { display: flex; gap: 25px; margin-top: 14px; color: #56615c; font-family: var(--font-mono); font-size: 10.5px; }

/* 五子棋 */
.gomoku-layout { display: grid; grid-template-columns: minmax(0, 1fr) 282px; gap: 12px; align-items: start; }
.gomoku-board-card { overflow: hidden; padding: 12px; }
.gomoku-modebar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.gomoku-modebar .segmented { padding: 3px; }
.gomoku-modebar .segmented button { display: inline-flex; align-items: center; gap: 4px; padding: 6px 9px; }
.gomoku-modebar .segmented svg { width: 11px; height: 11px; }
.gomoku-online-bar { margin-bottom: 10px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.02); }
.online-setup { display: flex; gap: 7px; align-items: center; }
.inline-code { flex: 1; display: flex; gap: 5px; }
.inline-code input { flex: 1; min-width: 0; height: 31px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; outline: 0; background: #090c0e; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; }
.online-room-active { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.online-room-active strong { font-family: var(--font-mono); font-size: 13px; }
.online-room-active .muted { font-size: 11.5px; }
.online-actions { display: flex; gap: 5px; margin-left: auto; }
.gomoku-board-wrap { position: relative; width: min(680px, 100%); margin: 0 auto; }
.gomoku-canvas { width: 100%; aspect-ratio: 1; display: block; border-radius: 10px; cursor: crosshair; touch-action: manipulation; }
.gomoku-overlay { position: absolute; z-index: 3; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; border-radius: 10px; background: rgba(7, 9, 8, .74); backdrop-filter: blur(5px); }
.gomoku-result { max-width: 340px; width: 100%; padding: 23px; border: 1px solid var(--line-strong); border-radius: 14px; background: #0d1114; box-shadow: var(--shadow); text-align: center; }
.gomoku-result h2 { margin: 8px 0 3px; font-family: var(--font-display); font-size: 28px; }
.gomoku-result p { margin: 0 0 15px; color: var(--dim); font-size: 11.5px; }
.gomoku-statusbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 3px 1px; color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.gomoku-turn { display: inline-flex; align-items: center; gap: 6px; color: #b3bcb7; font-size: 12.5px; }
.gomoku-turn i { width: 8px; height: 8px; border-radius: 50%; background: #111; border: 1px solid #777; }
.gomoku-turn.white i { background: #eee9db; border-color: #fff; }
.gomoku-side { display: grid; gap: 12px; }
.gomoku-info-list { display: grid; gap: 8px; }
.gomoku-info-list div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.gomoku-info-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.gomoku-info-list span { color: var(--dim); font-size: 11.5px; }
.gomoku-info-list strong { font-size: 12.5px; font-weight: 500; }
.online-tip { display: flex; gap: 6px; padding: 9px; margin-top: 11px; border: 1px solid rgba(255, 92, 43, .14); border-radius: 7px; color: #9a887e; background: var(--accent-soft); font-size: 11.5px; line-height: 1.7; }
.online-tip svg { width: 11px; height: 11px; margin-top: 1px; flex: 0 0 auto; }
.quick-game-list { display: grid; }
.quick-game { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.quick-game:last-child { border-bottom: 0; padding-bottom: 0; }
.quick-game-icon { width: 29px; height: 29px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; border: 1px solid color-mix(in srgb, var(--arcade-color) 25%, transparent); border-radius: 7px; color: var(--arcade-color); background: color-mix(in srgb, var(--arcade-color) 7%, transparent); font-family: var(--font-display); font-size: 13.5px; }
.quick-game div { flex: 1; }
.quick-game strong { display: block; font-size: 12.5px; font-weight: 500; }
.quick-game small { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 10px; }
.quick-game > svg { width: 11px; height: 11px; color: #5b656a; }

/* 斗地主 */
.ddz-table { min-height: 690px; display: flex; flex-direction: column; padding: 16px 18px 14px; background: radial-gradient(ellipse at 50% 28%, #17241d, #080b0a 64%); }
.ddz-felt { position: absolute; inset: 10px; border: 1px solid rgba(130, 205, 150, .1); border-radius: 16px; background: radial-gradient(ellipse at 50% 42%, rgba(87, 175, 112, .1), transparent 63%); pointer-events: none; }
.ddz-table-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 7px; }
.ddz-table-top .eyebrow { margin-right: auto; }
.ddz-multiplier { margin-left: auto; color: var(--volt); font-family: var(--font-mono); font-size: 11.5px; }
.ddz-seat-row { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr); gap: 24px; align-items: start; margin-top: 20px; }
.ddz-opponent { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ddz-opponent.left { align-items: flex-start; }
.ddz-opponent.right { align-items: flex-end; }
.ddz-opponent-info { display: flex; align-items: center; gap: 9px; }
.ddz-opponent.right .ddz-opponent-info { flex-direction: row-reverse; text-align: right; }
.ddz-opponent-info strong { display: flex; align-items: center; gap: 5px; font-size: 13px; }
.ddz-opponent-info small { display: block; color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.ddz-opponent.active .avatar { box-shadow: 0 0 0 3px rgba(255, 92, 43, .08), 0 0 0 5px rgba(255, 92, 43, .24); }
.landlord-tag { padding: 1px 4px; border-radius: 3px; color: var(--yellow); background: rgba(245,196,81,.1); font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; }
.ddz-backs { display: flex; align-items: center; }
.ddz-backs .playing-card { margin-left: -25px; box-shadow: 0 3px 8px rgba(0,0,0,.35); }
.ddz-backs .playing-card:first-child { margin-left: 0; }
.ddz-opponent-count { color: var(--dim); font-family: var(--font-mono); font-size: 11.5px; }
.ddz-bottom-area { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ddz-bottom-cards { display: flex; gap: 5px; }
.ddz-landlord-label { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.ddz-center { position: relative; z-index: 2; flex: 1; min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 9px 0; }
.ddz-play-area { min-height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.ddz-play-label { color: #77837d; font-family: var(--font-mono); font-size: 10.5px; }
.ddz-play-cards { display: flex; justify-content: center; gap: 4px; }
.ddz-waiting { color: #66716b; font-family: var(--font-mono); font-size: 11.5px; }
.ddz-message { margin-top: 10px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 5px; color: #a4afa9; background: rgba(255,255,255,.025); font-size: 12.5px; text-align: center; }
.ddz-me { position: relative; z-index: 3; padding-top: 8px; border-top: 1px solid var(--line); }
.ddz-me-head { display: flex; align-items: center; gap: 8px; }
.ddz-me-head strong { display: flex; align-items: center; gap: 5px; font-size: 12.5px; }
.ddz-me-head .muted { font-family: var(--font-mono); font-size: 10.5px; }
.ddz-me-turn { margin-left: auto; color: var(--accent-2); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .5px; }
.ddz-hand { display: flex; align-items: flex-end; justify-content: center; min-height: 94px; padding: 17px 8px 3px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.ddz-hand::-webkit-scrollbar { display: none; }
.ddz-card-btn { flex: 0 0 auto; margin-left: -22px; padding: 0; border: 0; border-radius: 7px; background: none; transition: transform .15s; }
.ddz-card-btn:first-child { margin-left: 0; }
.ddz-card-btn:hover .playing-card { border-color: rgba(255, 138, 74, .8); }
.ddz-card-btn.selected { transform: translateY(-15px); z-index: 3; }
.ddz-card-btn.selected .playing-card { box-shadow: 0 5px 16px rgba(255, 92, 43, .25); }
.ddz-card-btn:disabled { cursor: default; }
.ddz-controls { display: flex; align-items: center; gap: 6px; padding: 4px 2px 0; }
.ddz-selected-count, .ddz-bid-hint { margin-right: auto; color: var(--dim); font-family: var(--font-mono); font-size: 11px; }
.ddz-overlay { position: absolute; z-index: 6; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(6, 8, 7, .73); backdrop-filter: blur(5px); }
.ddz-start { max-width: 370px; padding: 25px; border: 1px solid var(--line-strong); border-radius: 15px; background: #0d1110; box-shadow: var(--shadow); text-align: center; }
.ddz-start h2 { margin: 10px 0 5px; font-family: var(--font-display); font-size: 30px; letter-spacing: .5px; }
.ddz-start p { margin: 0 0 16px; color: #8d9791; font-size: 13px; line-height: 1.8; }
.ddz-start-note { display: block; margin-top: 9px; color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; }
.ddz-result { text-align: center; }

/* 游戏厅响应式 */
@media (max-width: 1200px) {
  .arcade-card { min-height: 325px; }
  .arcade-banner-stats { gap: 16px; padding-right: 35px; }
  .gomoku-layout { grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 980px) {
  .arcade-grid { grid-template-columns: 1fr 1fr; }
  .arcade-card:last-child { grid-column: 1 / -1; min-height: 270px; }
  .arcade-lower { grid-template-columns: 1fr; }
  .gomoku-layout { grid-template-columns: 1fr; }
  .gomoku-side { grid-template-columns: 1fr 1fr; }
  .gomoku-side > .side-card:last-child { grid-column: 1 / -1; }
  .ddz-table { min-height: 630px; }
}
@media (max-width: 780px) {
  .room-search { width: 100%; }
  .room-filters { flex-direction: column; align-items: stretch; }
  .active-channel-strip { flex-wrap: wrap; }
  .active-channel-strip .section-link { width: 100%; margin-left: 0; justify-content: flex-end; }
  .arcade-banner { min-height: 0; flex-direction: column; align-items: flex-start; gap: 14px; padding: 21px; }
  .arcade-banner h2 { font-size: 30px; }
  .arcade-banner-stats { gap: 20px; padding-right: 0; }
  .arcade-banner-stats div { text-align: left; }
  .arcade-banner-deco { font-size: 58px; right: 10px; top: 5px; }
  .arcade-grid { grid-template-columns: 1fr; }
  .arcade-card, .arcade-card:last-child { min-height: 300px; grid-column: auto; }
  .arcade-art { min-height: 95px; }
  .arcade-lower { gap: 10px; }
  .game-topbar { flex-wrap: wrap; gap: 8px; }
  .game-topbar-title { order: 3; width: 100%; flex-basis: 100%; }
  .game-topbar-title h1 { font-size: 25px; }
  .game-topbar-actions { margin-left: auto; }
  .game-help-strip { align-items: flex-start; flex-direction: column; gap: 6px; }
  .bj-table { min-height: 580px; padding: 18px 12px; }
  .bj-cards { gap: 4px; }
  .playing-card { width: 46px; height: 67px; }
  .playing-card .pc-center { font-size: 24px; }
  .playing-card .pc-corner b { font-size: 15px; }
  .table-mark { font-size: 48px; }
  .bj-center { min-height: 90px; }
  .bj-foot { flex-direction: column; gap: 3px; align-items: center; }
  .gomoku-modebar { flex-wrap: wrap; }
  .gomoku-side { grid-template-columns: 1fr; }
  .gomoku-online-bar { padding: 7px; }
  .online-setup { flex-wrap: wrap; }
  .inline-code { flex-basis: 100%; }
  .online-actions { width: 100%; margin-left: 0; }
  .ddz-table { min-height: 620px; padding: 12px 10px; }
  .ddz-seat-row { grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 13px; }
  .ddz-opponent.left { order: 1; align-items: flex-start; }
  .ddz-opponent.right { order: 2; align-items: flex-end; }
  .ddz-bottom-area { grid-column: 1 / -1; order: 3; }
  .ddz-bottom-cards .playing-card.small { width: 31px; height: 45px; }
  .ddz-opponent-info small { display: none; }
  .ddz-center { min-height: 130px; }
  .ddz-me { margin-top: 3px; }
  .ddz-hand { justify-content: flex-start; padding-left: 21px; min-height: 82px; }
  .ddz-card-btn { margin-left: -29px; }
  .ddz-card-btn .playing-card { width: 45px; height: 65px; }
  .ddz-card-btn .playing-card .pc-center { font-size: 21px; }
  .ddz-card-btn .playing-card .pc-corner b { font-size: 14px; }
  .ddz-card-btn:first-child { margin-left: 0; }
  .ddz-controls { flex-wrap: wrap; }
  .ddz-selected-count, .ddz-bid-hint { flex-basis: 100%; margin-bottom: 2px; }
  .ddz-overlay { padding: 10px; }
}
@media (max-width: 480px) {
  .arcade-banner-stats { gap: 13px; }
  .arcade-banner-stats strong { font-size: 23px; }
  .arcade-record { gap: 5px; padding-left: 12px; padding-right: 12px; }
  .arcade-record-score { width: 35px; }
  .gomoku-modebar .segmented button { padding: 5px 6px; font-size: 11px; }
  .online-actions .button { padding: 5px 7px; font-size: 11.5px; }
  .bj-hand .playing-card { width: 42px; height: 61px; }
  .bj-table { min-height: 540px; }
  .ddz-table { min-height: 590px; }
  .ddz-table-top .eyebrow { display: none; }
  .ddz-opponent .avatar-lg { width: 38px; height: 38px; font-size: 14px; }
}

/* ============================================================
   火包炮网盘 · 独立浅色云空间
   ============================================================ */
body.drive-mode { background: #f4f5f1; color: #1d2722; padding-bottom: 0; }
body.drive-mode .sidebar,
body.drive-mode .topbar,
body.drive-mode .mobile-dock,
body.drive-mode .mobile-voice-dock,
body.drive-mode .ambient,
body.drive-mode .sidebar-scrim { display: none !important; }
body.drive-mode .app-body { margin-left: 0; }
body.drive-mode .main { max-width: none; min-height: 100vh; padding: 0; }
body.drive-mode .main > .page-enter { min-height: 100vh; }
body.drive-mode .toast-root { bottom: 24px; }

.cloud-app {
  --c-bg: #f4f5f1;
  --c-surface: #ffffff;
  --c-soft: #f7f8f4;
  --c-line: #e5e8e1;
  --c-line-strong: #d8ddd5;
  --c-text: #1d2722;
  --c-text-2: #4f5b55;
  --c-muted: #818b85;
  --c-dim: #a3aba6;
  --c-accent: #ff5c2b;
  --c-primary: #245847;
  height: 100vh;
  display: grid;
  grid-template-columns: 254px minmax(0, 1fr);
  overflow: hidden;
  color: var(--c-text);
  background: var(--c-bg);
  font-family: var(--font-ui);
}
.cloud-app button, .cloud-app input, .cloud-app select { color: inherit; }
.cloud-sidebar { display: flex; flex-direction: column; overflow-y: auto; padding: 22px 14px 15px; border-right: 1px solid var(--c-line); background: #fbfcf9; scrollbar-width: thin; }
.cloud-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 20px; }
.cloud-logo { width: 37px; height: 37px; display: flex; flex: 0 0 auto; color: #245847; }
.cloud-logo svg { width: 100%; height: 100%; }
.cloud-brand-type strong { display: block; font-family: var(--font-display); font-size: 21px; line-height: 1.1; letter-spacing: .4px; }
.cloud-brand-type small { display: block; margin-top: 2px; color: #9ba49e; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .8px; }
.cloud-upload-primary { height: 40px; display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 3px 22px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #ff5c2b, #ff8144); box-shadow: 0 8px 20px rgba(255, 92, 43, .2); font-size: 13.5px; font-weight: 600; transition: .18s; }
.cloud-upload-primary:hover { background: linear-gradient(135deg, #ff6b3d, #ff955d); transform: translateY(-1px); }
.cloud-upload-primary svg { width: 15px; height: 15px; }
.cloud-nav { flex: 1; }
.cloud-nav-group { margin-bottom: 17px; }
.cloud-nav-title { margin: 0 10px 6px; color: #a2aaa5; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.2px; }
.cloud-nav-item { width: 100%; height: 35px; display: flex; align-items: center; gap: 9px; padding: 0 10px; border-radius: 8px; color: #65716b; font-size: 13.5px; text-align: left; transition: .15s; }
.cloud-nav-item:hover { color: #2d3b34; background: #f0f3ed; }
.cloud-nav-item.active { color: #c94a1d; background: #fff0e9; font-weight: 600; }
.cloud-nav-item svg { width: 15px; height: 15px; color: #8b958f; }
.cloud-nav-item.active svg { color: var(--c-accent); }
.cloud-nav-item b { margin-left: auto; color: #a3aba6; font-family: var(--font-mono); font-size: 11px; font-weight: 400; }
.cloud-nav-item.active b { color: #d77a58; }
.cloud-nav-new { color: #8d9690; border: 1px dashed #dfe4dc; margin-top: 4px; height: 33px; }
.cloud-nav-new svg { width: 13px; height: 13px; }
.cloud-quota { margin: auto 3px 14px; padding: 13px; border: 1px solid #e2e7df; border-radius: 12px; background: #f3f6ef; }
.cloud-quota-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #68746d; font-size: 12.5px; }
.cloud-quota-head b { color: #d15c32; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; }
.cloud-quota-bar { height: 5px; margin: 9px 0 6px; overflow: hidden; border-radius: 4px; background: #e2e7dd; }
.cloud-quota-bar i { display: block; height: 100%; min-width: 2px; border-radius: inherit; background: linear-gradient(90deg, #ff5c2b, #ff9a56); }
.cloud-quota-meta { display: flex; justify-content: space-between; gap: 6px; color: #8f9892; font-family: var(--font-mono); font-size: 10px; }
.cloud-quota p { display: flex; align-items: center; gap: 4px; margin: 9px 0 0; color: #9ba49e; font-size: 11px; }
.cloud-quota p svg { width: 10px; height: 10px; }
.cloud-sidebar-foot { padding-top: 10px; border-top: 1px solid var(--c-line); }
.cloud-back, .cloud-mini-user { display: flex; align-items: center; gap: 6px; padding: 6px 8px; color: #7d8781; font-size: 12px; }
.cloud-back:hover, .cloud-mini-user:hover { color: #c94a1d; }
.cloud-back svg, .cloud-mini-user svg { width: 12px; height: 12px; }
.cloud-mini-user { margin-top: 2px; }
.cloud-mini-user .avatar { width: 20px; height: 20px; font-size: 10.5px; }
.cloud-mini-user span { flex: 1; }
.cloud-login-mini { width: 100%; margin-top: 4px; padding: 8px; border-radius: 7px; color: #c94a1d; background: #fff0e9; font-size: 12.5px; }

.cloud-main { min-width: 0; overflow-y: auto; background: var(--c-bg); scrollbar-width: thin; }
.cloud-topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 23px 32px 19px; border-bottom: 1px solid var(--c-line); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); }
.cloud-page-head { min-width: 0; }
.cloud-eyebrow { display: block; margin-bottom: 4px; color: #a0a8a3; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.1px; }
.cloud-page-head h1 { margin: 0; font-family: var(--font-display); font-size: 30px; line-height: 1.1; letter-spacing: .3px; }
.cloud-page-head p { margin: 5px 0 0; color: #909a94; font-size: 12.5px; }
.cloud-top-actions { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; }
.cloud-search { width: 215px; height: 35px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid #e2e6df; border-radius: 8px; background: #f7f8f5; }
.cloud-search:focus-within { border-color: #b8c9bd; background: #fff; box-shadow: 0 0 0 3px rgba(36, 88, 71, .05); }
.cloud-search > svg { width: 13px; height: 13px; color: #9ba49e; }
.cloud-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #33413a; font-size: 12.5px; }
.cloud-search button { display: flex; color: #939c96; }
.cloud-search button svg { width: 11px; height: 11px; }
.cloud-icon-btn { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 7px; color: #858f89; transition: .15s; }
.cloud-icon-btn:hover { color: #27352e; background: #eff2ec; }
.cloud-icon-btn svg { width: 14px; height: 14px; }
.cloud-icon-btn.starred { color: #d99a27; }
.cloud-icon-btn.danger { color: #d15959; }
.cloud-btn { height: 35px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; transition: .15s; }
.cloud-btn svg { width: 13px; height: 13px; }
.cloud-btn-primary { color: #fff; background: linear-gradient(135deg, #ff5c2b, #ff8144); box-shadow: 0 5px 15px rgba(255, 92, 43, .16); }
.cloud-btn-primary:hover { background: linear-gradient(135deg, #ff6b3d, #ff955d); }
.cloud-btn-outline { color: #4e5c55; border-color: #dfe4dc; background: #fff; }
.cloud-btn-outline:hover { border-color: #c4cec4; background: #f9faf7; }
.cloud-user { display: flex; align-items: center; gap: 7px; padding: 3px 4px; border-radius: 8px; }
.cloud-user:hover { background: #f3f6f0; }
.cloud-user strong { display: block; max-width: 80px; overflow: hidden; color: #37453e; font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.cloud-user small { display: block; color: #9aa39d; font-family: var(--font-mono); font-size: 10px; }
.cloud-toolbar { height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 32px; border-bottom: 1px solid var(--c-line); background: #f7f8f4; }
.cloud-crumbs { display: flex; align-items: center; gap: 6px; color: #9aa39d; font-size: 12px; }
.cloud-crumbs svg { width: 10px; height: 10px; color: #b3bab5; }
.cloud-crumbs strong { color: #58655e; font-weight: 500; }
.cloud-toolbar-right { display: flex; align-items: center; gap: 9px; }
.cloud-count { color: #9aa39d; font-family: var(--font-mono); font-size: 11px; }
.cloud-sort { height: 28px; padding: 0 7px; border: 1px solid #e0e5dd; border-radius: 6px; outline: 0; color: #68746d; background: #fff; font-size: 11.5px; }
.cloud-view { display: flex; gap: 1px; padding: 2px; border: 1px solid #e0e5dd; border-radius: 6px; background: #fff; }
.cloud-view button { width: 25px; height: 23px; display: flex; align-items: center; justify-content: center; border-radius: 4px; color: #8b958f; }
.cloud-view button.active { color: #33413a; background: #edf1ea; }
.cloud-view svg { width: 11px; height: 11px; }
.cloud-text-btn { display: inline-flex; align-items: center; gap: 4px; color: #79847d; font-size: 11.5px; }
.cloud-text-btn.danger { color: #c75a55; }
.cloud-text-btn svg { width: 12px; height: 12px; }
.cloud-body { padding: 15px 32px 40px; }
.cloud-drop { display: flex; align-items: center; gap: 11px; padding: 11px 14px; margin-bottom: 12px; border: 1px dashed #d7dfd5; border-radius: 11px; background: rgba(255, 255, 255, .65); transition: .16s; }
.cloud-drop.dragging { border-color: var(--c-accent); background: #fff4ed; }
.cloud-drop-icon { width: 33px; height: 33px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 9px; color: #d9673f; background: #fff0e9; }
.cloud-drop-icon svg { width: 16px; height: 16px; }
.cloud-drop > div { flex: 1; min-width: 0; }
.cloud-drop strong { display: block; color: #46534c; font-size: 12.5px; font-weight: 500; }
.cloud-drop small { display: block; margin-top: 1px; color: #98a19b; font-size: 11px; }
.cloud-uploading { display: flex; align-items: center; gap: 8px; padding: 9px 13px; margin-bottom: 11px; border: 1px solid #d6e5d8; border-radius: 8px; color: #4b7b5d; background: #f0f8f0; font-size: 12px; }
.cloud-uploading .spinner { width: 12px; height: 12px; border: 1.5px solid #c7dfcb; border-top-color: #4b8a63; border-radius: 50%; animation: spin .7s linear infinite; }
.cloud-table-wrap { overflow: hidden; border: 1px solid var(--c-line); border-radius: 13px; background: #fff; box-shadow: 0 8px 24px rgba(35, 49, 41, .025); }
.cloud-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cloud-table th { padding: 9px 14px; border-bottom: 1px solid #edf0ea; color: #9aa39d; background: #fbfcf9; font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; letter-spacing: .5px; text-align: left; }
.cloud-table th:first-child { width: 42%; }
.cloud-table th:nth-child(2) { width: 17%; }
.cloud-table th:nth-child(3) { width: 10%; }
.cloud-table th:nth-child(4) { width: 16%; }
.cloud-table th:last-child { width: 112px; }
.cloud-table td { padding: 9px 14px; border-bottom: 1px solid #f0f2ed; color: #7d8781; font-size: 12px; vertical-align: middle; }
.cloud-table tr:last-child td { border-bottom: 0; }
.cloud-table .cloud-file-row { transition: background .14s; }
.cloud-table .cloud-file-row:hover { background: #fafbf8; }
.cloud-file-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cloud-file-icon { width: 33px; height: 33px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; border: 1px solid #e6eae3; border-radius: 8px; color: #78847d; background: #f6f8f4; }
.cloud-file-icon svg { width: 15px; height: 15px; }
.cloud-file-icon.image { color: #4b9cb6; background: #edf7fa; border-color: #dceef3; }
.cloud-file-icon.video { color: #9374c5; background: #f4effb; border-color: #e9e0f5; }
.cloud-file-icon.audio { color: #b38234; background: #fbf5e9; border-color: #f0e6d1; }
.cloud-file-icon.text { color: #4b8763; background: #eff8f1; border-color: #dceee0; }
.cloud-file-icon.archive { color: #b07736; background: #fcf5e9; border-color: #f0e7d6; }
.cloud-file-icon.large { width: 42px; height: 42px; border-radius: 10px; }
.cloud-file-icon.large svg { width: 19px; height: 19px; }
.cloud-table .file-name { min-width: 0; }
.cloud-table .file-name strong { display: block; overflow: hidden; color: #33423a; font-size: 13px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; }
.cloud-table .file-name strong:hover { color: #cc5125; }
.cloud-table .file-name small { display: block; color: #a1aaa4; font-family: var(--font-mono); font-size: 10px; }
.cloud-folder-cell { display: inline-flex; align-items: center; gap: 4px; color: #828d86; }
.cloud-folder-cell svg { width: 11px; height: 11px; color: #a4ada7; }
.cloud-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 1px; }
.cloud-file-menu { position: relative; }
.cloud-menu-pop { width: 125px; position: absolute; z-index: 30; right: 0; top: 28px; padding: 4px; border: 1px solid #dfe4dc; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgba(35, 49, 41, .14); }
.cloud-menu-pop button { width: 100%; display: flex; align-items: center; gap: 7px; padding: 6px 7px; border-radius: 5px; color: #59665f; font-size: 12px; text-align: left; }
.cloud-menu-pop button:hover { color: #28362f; background: #f3f6f0; }
.cloud-menu-pop button.danger { color: #c65a55; }
.cloud-menu-pop svg { width: 12px; height: 12px; }
.cloud-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.cloud-grid-card { padding: 12px; border: 1px solid var(--c-line); border-radius: 11px; background: #fff; transition: .16s; }
.cloud-grid-card:hover { border-color: #d1d9d0; box-shadow: 0 8px 20px rgba(35, 49, 41, .04); }
.cloud-grid-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 13px; }
.cloud-grid-name { display: block; width: 100%; overflow: hidden; margin: 0 0 2px; padding: 0; color: #33423a; font-size: 12.5px; font-weight: 500; text-align: left; white-space: nowrap; text-overflow: ellipsis; }
.cloud-grid-name:hover { color: #cc5125; }
.cloud-grid-card small { display: block; color: #9ba49e; font-family: var(--font-mono); font-size: 10px; }
.cloud-grid-actions { display: flex; align-items: center; gap: 1px; margin-top: 7px; }
.cloud-empty { padding: 65px 22px; border: 1px dashed #dce2d9; border-radius: 13px; background: rgba(255, 255, 255, .55); text-align: center; }
.cloud-empty-icon { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; margin: 0 auto 13px; border-radius: 15px; color: #c17555; background: #fff0e9; }
.cloud-empty-icon svg { width: 23px; height: 23px; }
.cloud-empty h3 { margin: 0 0 4px; color: #40504a; font-family: var(--font-display); font-size: 19px; letter-spacing: .2px; }
.cloud-empty p { max-width: 340px; margin: 0 auto 15px; color: #929c96; font-size: 12px; line-height: 1.7; }
.cloud-footer-note { display: flex; align-items: center; gap: 5px; margin-top: 14px; color: #a2aaa5; font-family: var(--font-mono); font-size: 10px; }
.cloud-footer-note svg { width: 10px; height: 10px; }

/* 网盘登录引导 */
.cloud-guest-body { position: relative; flex: 1; display: flex; align-items: center; gap: 40px; min-height: calc(100vh - 150px); padding: 55px 60px; }
.cloud-guest-hero { position: relative; z-index: 2; max-width: 570px; }
.cloud-guest-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #ffd6c6; border-radius: 6px; color: #c95329; background: #fff2ec; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .5px; }
.cloud-guest-badge svg { width: 12px; height: 12px; }
.cloud-guest-hero h1 { margin: 17px 0 14px; color: #20342b; font-family: var(--font-display); font-size: clamp(40px, 4.2vw, 58px); font-weight: 800; line-height: 1.03; letter-spacing: .3px; }
.cloud-guest-hero h1 em { color: #e46132; font-style: normal; }
.cloud-guest-hero > p { max-width: 500px; margin: 0 0 22px; color: #7c8881; font-size: 13.5px; line-height: 1.85; }
.cloud-guest-actions { display: flex; gap: 8px; }
.cloud-guest-actions .cloud-btn { height: 42px; padding: 0 16px; font-size: 13.5px; }
.cloud-guest-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 35px; }
.cloud-guest-features > div { display: grid; grid-template-columns: 26px 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 10px 12px; border: 1px solid #e4e8e1; border-radius: 9px; background: rgba(255, 255, 255, .6); }
.cloud-guest-features svg { grid-row: 1 / 3; width: 17px; height: 17px; margin-top: 1px; color: #cc6238; }
.cloud-guest-features strong { color: #45534c; font-size: 12px; font-weight: 500; }
.cloud-guest-features span { color: #9aa39d; font-size: 10.5px; }
.cloud-guest-art { position: relative; flex: 1; min-width: 260px; height: 410px; }
.cloud-art-ring { position: absolute; border: 1px solid #dfe6dd; border-radius: 50%; }
.cloud-art-ring.one { width: 360px; height: 360px; right: 20px; top: 20px; }
.cloud-art-ring.two { width: 240px; height: 240px; right: 80px; top: 80px; border-color: #e9ddd5; }
.cloud-art-cloud { width: 108px; height: 108px; position: absolute; right: 145px; top: 146px; display: flex; align-items: center; justify-content: center; border-radius: 31px; color: #fff; background: linear-gradient(145deg, #ff6a37, #e94e21); box-shadow: 0 22px 45px rgba(222, 87, 44, .25); transform: rotate(-5deg); }
.cloud-art-cloud svg { width: 52px; height: 52px; }
.cloud-art-file { width: 48px; height: 48px; position: absolute; display: flex; align-items: center; justify-content: center; border: 1px solid #e2e7df; border-radius: 13px; background: #fff; box-shadow: 0 12px 28px rgba(36, 52, 43, .1); }
.cloud-art-file svg { width: 21px; height: 21px; }
.cloud-art-file.f1 { right: 42px; top: 98px; color: #4b9cb6; transform: rotate(8deg); }
.cloud-art-file.f2 { left: 5px; bottom: 102px; color: #4b8763; transform: rotate(-8deg); }
.cloud-art-file.f3 { right: 74px; bottom: 48px; color: #9374c5; transform: rotate(5deg); }
.cloud-guest-app .cloud-topbar { background: rgba(255,255,255,.94); }

@media (max-width: 1120px) {
  .cloud-app { grid-template-columns: 228px minmax(0, 1fr); }
  .cloud-topbar { padding-left: 24px; padding-right: 24px; }
  .cloud-toolbar, .cloud-body { padding-left: 24px; padding-right: 24px; }
  .cloud-search { width: 175px; }
  .cloud-btn { padding: 0 9px; }
  .cloud-guest-body { padding: 45px 35px; }
}
@media (max-width: 900px) {
  .cloud-app { height: auto; min-height: 100vh; display: block; overflow: visible; }
  .cloud-sidebar { overflow: visible; padding: 14px 14px 12px; border-right: 0; border-bottom: 1px solid var(--c-line); }
  .cloud-brand { padding: 0 2px 12px; }
  .cloud-upload-primary { display: none; }
  .cloud-nav { display: flex; flex-wrap: wrap; gap: 5px; overflow: visible; padding-bottom: 3px; }
  .cloud-nav::-webkit-scrollbar { display: none; }
  .cloud-nav-group { display: contents; }
  .cloud-nav-title { display: none; }
  .cloud-nav-item { width: auto; height: 31px; flex: 0 0 auto; padding: 0 9px; border: 1px solid #e5e9e2; background: #fff; }
  .cloud-nav-item b { display: none; }
  .cloud-nav-new { border-style: dashed; }
  .cloud-quota { margin: 9px 0 0; padding: 8px 11px; }
  .cloud-quota-head, .cloud-quota-meta { font-size: 10px; }
  .cloud-quota p { display: none; }
  .cloud-quota-bar { margin: 5px 0; }
  .cloud-sidebar-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding-top: 7px; }
  .cloud-back { padding-left: 0; }
  .cloud-mini-user { width: auto; margin-left: auto; }
  .cloud-main { overflow: visible; }
  .cloud-topbar { position: static; flex-direction: column; gap: 13px; padding: 17px 16px 14px; }
  .cloud-page-head h1 { font-size: 26px; }
  .cloud-top-actions { width: 100%; justify-content: flex-start; gap: 6px; }
  .cloud-search { flex: 1; width: auto; min-width: 150px; }
  .cloud-user { margin-left: auto; }
  .cloud-toolbar { height: auto; min-height: 40px; flex-wrap: wrap; padding: 7px 16px; gap: 7px; }
  .cloud-body { padding: 12px 16px 32px; }
  .cloud-drop { padding: 9px 11px; }
  .cloud-drop small { max-width: 330px; }
  .cloud-table th:nth-child(2), .cloud-table td:nth-child(2),
  .cloud-table th:nth-child(3), .cloud-table td:nth-child(3),
  .cloud-table th:nth-child(4), .cloud-table td:nth-child(4) { display: none; }
  .cloud-table th:first-child { width: auto; }
  .cloud-table th:last-child { width: 108px; }
  .cloud-table th, .cloud-table td { padding-left: 11px; padding-right: 11px; }
  .cloud-guest-body { display: block; min-height: 0; padding: 35px 22px 45px; }
  .cloud-guest-hero h1 { font-size: 40px; }
  .cloud-guest-art { display: none; }
  .cloud-guest-features { margin-top: 25px; }
}
@media (max-width: 520px) {
  .cloud-top-actions .cloud-btn-outline { display: none; }
  .cloud-search { flex-basis: 100%; }
  .cloud-user span { display: none; }
  .cloud-page-head p { font-size: 11.5px; }
  .cloud-toolbar-right .cloud-count { display: none; }
  .cloud-drop small { display: none; }
  .cloud-drop > div { flex: 0 1 auto; }
  .cloud-drop .cloud-btn { margin-left: auto; }
  .cloud-table th:last-child { width: 92px; }
  .cloud-table td, .cloud-table th { padding-left: 8px; padding-right: 8px; }
  .cloud-file-icon { width: 29px; height: 29px; }
  .cloud-table .file-name strong { font-size: 12px; }
  .cloud-guest-hero h1 { font-size: 34px; }
  .cloud-guest-actions { flex-direction: column; align-items: stretch; }
  .cloud-guest-features { grid-template-columns: 1fr; }
}

/* 动画 */
@keyframes status-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes radar-sweep { to { transform: rotate(360deg); } }
@keyframes speak-bar { from { height: 3px; } to { height: 9px; } }
@keyframes wave-idle { from { transform: scaleY(.55); opacity: .55; } to { transform: scaleY(1); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes countdown-pop { 0% { opacity: .2; transform: scale(.75); } 40% { opacity: 1; transform: scale(1); } 100% { opacity: .3; transform: scale(1.15); } }
@keyframes page-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 响应式 */
@media (max-width: 1320px) {
  :root { --sidebar: 232px; }
  .main { padding-left: 26px; padding-right: 26px; }
  .topbar { padding: 0 26px; }
  .hero-copy { padding-left: 30px; }
  .hero h1 { font-size: clamp(38px, 4.5vw, 56px); }
  .dashboard-grid { grid-template-columns: minmax(0, 1.45fr) minmax(280px, .7fr); }
  .forum-layout, .detail-layout { grid-template-columns: minmax(0, 1fr) 260px; }
  .drive-stats { grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, .55fr)); }
}
@media (max-width: 1120px) {
  .sidebar { transform: translateX(-105%); transition: transform .24s ease; width: 270px; padding-top: 18px; }
  body.sidebar-open .sidebar { transform: none; box-shadow: 30px 0 80px rgba(0, 0, 0, .55); }
  body.sidebar-open .sidebar-scrim { display: block; position: fixed; z-index: 75; inset: 0; background: rgba(2, 3, 4, .62); backdrop-filter: blur(4px); }
  .sidebar .sidebar-close { display: inline-flex !important; }  .app-body { margin-left: 0; }
  .topbar .mobile-menu { display: inline-flex; margin-left: -8px; }  .page-crumb { min-width: 0; }
  .search-trigger { margin-left: auto; }
  .topbar { gap: 14px; }
  .module-grid { grid-template-columns: repeat(5, 1fr); }
  .hero { grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); }
  .hero-visual { transform: scale(.9); }
}
@media (max-width: 980px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: minmax(0, 1.6fr) minmax(200px, .5fr); }
  .hero-visual { opacity: .8; transform: scale(.8); margin-right: -20px; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .forum-layout, .detail-layout { grid-template-columns: 1fr; }
  .forum-side, .detail-side { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
  .room-layout { grid-template-columns: 1fr; }
  .room-chat { min-height: 420px; max-height: 540px; }
  .train-layout { grid-template-columns: 1fr; }
  .train-side { grid-template-columns: 1fr 1fr; }
  .drive-stats { grid-template-columns: 1fr 1fr 1fr; }
  .storage-card { grid-column: 1 / -1; }
  .drive-layout { grid-template-columns: 1fr; }
  .drive-side { display: flex; overflow-x: auto; padding: 7px; gap: 4px; scrollbar-width: none; }
  .drive-side::-webkit-scrollbar { display: none; }
  .folder-list { display: flex; gap: 4px; }
  .folder-link { width: auto; flex: 0 0 auto; white-space: nowrap; }
  .folder-count { margin-left: 2px; }
  .folder-sep, .drive-side-title, .folder-list .folder-hide-mobile { display: none; }
}
@media (max-width: 780px) {
  .topbar { height: 60px; padding: 0 16px; gap: 10px; }
  .page-crumb { display: none; }
  .mobile-brand { display: flex; align-items: center; gap: 7px; }
  .mobile-brand strong { font-family: var(--font-display); font-size: 18px; letter-spacing: 2px; }
  .search-trigger { width: 36px; height: 36px; justify-content: center; margin-left: auto; padding: 0; border-color: transparent; background: transparent; }
  .search-placeholder, .search-trigger kbd { display: none; }
  .latency-chip { display: none; }
  .main { padding: 20px 16px 88px; }
  .page-head { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 18px; }
  .page-title { font-size: 30px; }
  .page-actions { width: 100%; }
  .page-actions .button { flex: 1; }
  .hero { min-height: 380px; grid-template-columns: 1fr; }
  .hero-copy { padding: 26px 22px 23px; }
  .hero h1 { font-size: 43px; }
  .hero-sub { max-width: 310px; font-size: 13.5px; }
  .hero-visual { position: absolute; right: -84px; bottom: -53px; width: 260px; height: 260px; min-height: 0; opacity: .46; transform: scale(.72); transform-origin: bottom right; }
  .hero-stats { gap: 21px; margin-top: 23px; }
  .hero-corner { display: none; }
  .module-grid { grid-template-columns: 1fr 1fr; }
  .module-card { min-height: 117px; padding: 14px; }
  .module-meta { display: none; }
  .module-card p { font-size: 12px; }
  .dashboard-grid { gap: 11px; }
  .section-head { margin-top: 23px; }
  .room-row { padding: 12px 13px; gap: 10px; }
  .room-row-mark { width: 35px; height: 35px; }
  .room-row-side .slot-text { display: none; }
  .forum-spotlight { grid-template-columns: 1fr; min-height: 0; padding: 20px; }
  .spotlight-side { flex-direction: row; align-items: center; }
  .spotlight-stats { gap: 14px; }
  .forum-toolbar { align-items: flex-start; flex-direction: column; gap: 5px; }
  .filter-chips { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; scrollbar-width: none; }
  .filter-chips::-webkit-scrollbar { display: none; }
  .forum-toolbar-right { width: 100%; justify-content: flex-end; }
  .post-row { padding: 14px; }
  .post-row-side { display: none; }
  .post-row-stats { gap: 8px; }
  .post-row-author .avatar { display: none; }
  .forum-side, .detail-side { grid-template-columns: 1fr; }
  .detail-head { padding: 20px 18px 15px; }
  .detail-title { font-size: 28px; }
  .detail-content { padding: 19px 18px; font-size: 14px; }
  .tag-list { padding: 0 18px 17px; }
  .detail-actions { padding: 14px 18px 17px; }
  .reaction { min-width: 0; flex: 1; }
  .comments-head { padding: 16px 17px 12px; }
  .reply-form { padding: 0 17px 17px; }
  .reply-form > .avatar { display: none; }
  .comment { padding: 15px 17px; }
  .comment > .avatar { width: 28px; height: 28px; font-size: 12.5px; }
  .rooms-banner { flex-direction: column; align-items: flex-start; padding: 20px; }
  .rooms-live-stats { gap: 18px; }
  .rooms-live-stat { text-align: left; }
  .room-grid { grid-template-columns: 1fr; }
  .voice-head-main h1 { font-size: 24px; }
  .voice-head-actions { width: 100%; }
  .voice-head-actions .button { flex: 1; }
  .stage-seats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px 13px 104px; gap: 8px; }
  .stage-wave { display: none; }
  .seat { min-height: 109px; }
  .voice-controls { left: 10px; right: 10px; bottom: 10px; padding: 7px; }
  .voice-level { width: 45px; }
  .voice-status { display: none; }
  .voice-btn { width: 40px; height: 38px; }
  .room-chat { min-height: 380px; }
  .drive-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .storage-card { grid-column: 1 / -1; }
  .drive-stat { padding: 13px; }
  .drive-stat strong { font-size: 20px; }
  .drive-toolbar { flex-wrap: wrap; }
  .drive-title { width: 100%; flex-basis: 100%; }
  .drive-search { flex: 1; width: auto; }
  .file-table th:nth-child(3), .file-table td:nth-child(3), .file-table th:nth-child(4), .file-table td:nth-child(4) { display: none; }
  .file-table th:nth-child(2), .file-table td:nth-child(2) { display: none; }
  .file-table { table-layout: fixed; }
  .file-table th:last-child, .file-table td:last-child { width: 86px; }
  .file-table td, .file-table th { padding-left: 9px; padding-right: 9px; }
  .aim-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .aim-head-actions { width: 100%; justify-content: space-between; }
  .arena { height: 440px; }
  .arena-hud { padding: 10px; }
  .hud-group { gap: 12px; }
  .hud-item strong { font-size: 17px; }
  .train-side { grid-template-columns: 1fr; }
  .profile-hero { align-items: flex-start; flex-wrap: wrap; gap: 15px; padding: 20px; }
  .profile-avatar-wrap .avatar { width: 67px; height: 67px; font-size: 24px; }
  .profile-info h1 { font-size: 26px; }
  .profile-hero-actions { width: 100%; align-self: auto; }
  .profile-hero-actions .button { flex: 1; }
  .profile-stats { grid-template-columns: 1fr 1fr; }
  .profile-tabs { gap: 14px; padding: 0 14px; overflow-x: auto; scrollbar-width: none; }
  .profile-tab { white-space: nowrap; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .modal-backdrop { padding: 10px; align-items: flex-end; }
  .modal { max-height: calc(100vh - 20px); border-radius: 16px 16px 12px 12px; }
  .modal-head { padding: 18px 18px 4px; }
  .modal-body { padding: 13px 18px 18px; }
  .search-modal { align-self: flex-start; margin-top: 10px; }
  .file-table td:nth-child(5) { display: table-cell; }
  .file-table th:nth-child(5) { display: table-cell; }
  .voice-dock-wrap { display: none; }
  .mobile-dock { display: grid; }
  body { padding-bottom: 74px; }
  body.has-voice { padding-bottom: 128px; }
  .toast-root { bottom: 84px; }
  .preview-body { max-height: 58vh; }
  .sidebar { width: 280px; }
  .sidebar-brand { padding-left: 8px; }
}
@media (max-width: 420px) {
  .main { padding-left: 12px; padding-right: 12px; }
  .topbar { padding-left: 13px; padding-right: 13px; }
  .hero h1 { font-size: 37px; }
  .hero-actions .button { padding-left: 11px; padding-right: 11px; }
  .page-title { font-size: 28px; }
  .module-grid { gap: 8px; }
  .module-card strong { font-size: 16px; }
  .room-card { padding: 14px; }
  .room-card-title { font-size: 19px; }
  .room-participants .avatar-stack .avatar:nth-child(4) { display: none; }
  .seat { min-height: 101px; }
  .seat-name { font-size: 12.5px; }
  .hud-group { gap: 9px; }
  .aim-tab { padding: 6px 7px; font-size: 10.5px; }
  .arena { height: 390px; }
  .result-score { font-size: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
