:root{
  --card: rgba(18, 20, 32, .74);
  --stroke: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --cyan: #65f7ff;
  --good: #6dffb1;
  --bad:  #ff6b6b;
  --shadow: 0 14px 36px rgba(0,0,0,.34);
}

*{box-sizing:border-box}
html,body{height:100%}

.m-body{
  margin:0;
  color:var(--text);
  background:#0b0d17;
  overflow-x:hidden;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
}

/* 背景：不 scale、不 blur、不 backdrop-filter */
.m-bg{
  position:fixed; inset:0;
  background-size:cover;
  background-position:center;
  filter:saturate(1.06) contrast(1.02);
  will-change: background-image;
  z-index:-3;
}

/* overlay：尽量用 linear，少 radial */
.m-overlay{
  position:fixed; inset:0;
  background:
    linear-gradient(135deg, rgba(255,107,214,.12), transparent 55%),
    linear-gradient(225deg, rgba(101,247,255,.10), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.65));
  z-index:-2;
}

.m-wrap{
  position:relative;
  max-width:1200px;
  margin:20px auto;
  padding:0 14px 40px;
}

.m-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.m-brand{display:flex;gap:12px;align-items:center;}
.m-logo{
  width:44px;height:44px;border-radius:16px;
  background:linear-gradient(135deg, rgba(255,107,214,.26), rgba(101,247,255,.18));
  border:1px solid var(--stroke);
  display:grid;place-items:center;
  box-shadow: var(--shadow);
}

.m-title{font-size:18px;font-weight:800;letter-spacing:.5px}
.m-sub{font-size:12px;color:var(--muted)}

.m-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.m-link{color:var(--cyan);text-decoration:none}
.m-link:hover{text-decoration:underline}

.m-card{
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:18px;
  box-shadow: var(--shadow);
  padding:14px;
  margin-top:12px;
}

.m-card-title{font-weight:800;margin-bottom:10px;letter-spacing:.3px}
.hidden{display:none}
.m-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}

.m-input{
  flex:1;
  min-width:220px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--stroke);
  background:rgba(0,0,0,.28);
  color:var(--text);
  outline:none;
}
.m-input:focus{
  border-color:rgba(101,247,255,.38);
  box-shadow: 0 0 0 3px rgba(101,247,255,.10);
}

.m-btn{
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  color:var(--text);
  background:linear-gradient(135deg, rgba(255,107,214,.24), rgba(156,123,255,.16));
  cursor:pointer;
  transition: transform .08s ease, filter .16s ease;
}
.m-btn:hover{filter:brightness(1.06)}
.m-btn:active{transform: translateY(1px)}
.m-btn.ghost{background: rgba(0,0,0,.22);}
.m-btn.danger{background: linear-gradient(135deg, rgba(255,107,107,.26), rgba(255,107,214,.14));}
.m-btn.tiny{padding:8px 10px;border-radius:12px;font-size:12px}

.m-hint{margin-top:10px;font-size:12px;color:var(--muted)}
.m-hint.bad{color:var(--bad)}

.m-bar{display:flex;flex-direction:column;gap:10px;margin-bottom:10px;}
.m-meta{display:flex;gap:8px;flex-wrap:wrap;}

.pill{
  font-size:12px;
  color:var(--muted);
  padding:4px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(0,0,0,.20);
}

.m-table-wrap{
  overflow:auto;
  border-radius:16px;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.16);
}
.m-table{
  width:100%;
  border-collapse:collapse;
  min-width:980px;
}
.m-table thead th{
  text-align:left;
  font-size:12px;
  color:var(--muted);
  padding:12px 10px;
  background: rgba(0,0,0,.26);
}
.m-table td{
  padding:10px;
  border-top:1px solid rgba(255,255,255,.08);
  vertical-align:top;
}

.chk{width:18px;height:18px}
.thumb{
  width:120px;height:90px;
  object-fit:contain;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.24);
}

.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.tag{
  display:inline-block;
  font-size:12px;
  padding:3px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
}
.tag.ok{color:var(--good);border-color:rgba(109,255,177,.22)}
.tag.bad{color:var(--bad);border-color:rgba(255,107,107,.22)}

.mini{font-size:12px;color:var(--muted);margin-top:6px}
.a{color:var(--cyan);text-decoration:none}
.a:hover{text-decoration:underline}
.m-foot{margin-top:10px;font-size:12px;color:var(--muted)}
