* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: #07090f;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  display: flex; justify-content: center; min-height: 100vh;
}
.phone-shell { width: 430px; max-width: 100%; min-height: 100vh; background: linear-gradient(180deg, #0d1220 0%, #0a0d16 100%); padding-bottom: 30px; }
.status-bar { display: flex; justify-content: space-between; color: #8a93a6; font-size: 12px; padding: 10px 18px; }
.status-bar .icons { display: flex; gap: 6px; align-items: center; }
.head { text-align: center; padding: 26px 0 8px; }
.shield { font-size: 46px; line-height: 1; }
.head h1 { color: #fff; font-size: 22px; letter-spacing: 3px; margin-top: 10px; }
.head .slogan { color: #5b6ac0tivate8a; color: #5b688a; font-size: 13px; margin-top: 6px; letter-spacing: 4px; }
.card { background: #121828; border: 1px solid #1e2740; border-radius: 14px; margin: 14px; padding: 18px 16px; }
.card-title { color: #dfe6f5; font-size: 15px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.key-row { display: flex; align-items: center; background: #0c1120; border: 1px solid #25304e; border-radius: 10px; padding: 0 12px; margin-bottom: 14px; }
.key-row .key-icon { color: #5b688a; font-size: 16px; }
.key-row input {
  flex: 1; border: none; background: transparent; outline: none;
  color: #fff; font-size: 14px; padding: 13px 10px; letter-spacing: 1px;
}
.key-row input::placeholder { color: #4a5570; }
.ws-btn {
  width: 100%; border: none; border-radius: 10px; padding: 13px;
  background: linear-gradient(135deg, #2f6bff, #4f8dff); color: #fff;
  font-size: 15px; font-weight: 600; cursor: pointer; letter-spacing: 2px;
}
.ws-btn:active { opacity: .85; }
.ws-btn.orange { background: linear-gradient(135deg, #ff8a00, #ff6a00); }
.ws-btn.ghost { background: #1a2440; color: #7fa4ff; margin-top: 10px; letter-spacing: 0; }
.mini-btn { border: none; border-radius: 6px; padding: 5px 10px; font-size: 12px; cursor: pointer; }
.mini-btn.danger { background: #3a1a22; color: #ff6b7a; }
.iface-row { display: flex; justify-content: space-between; align-items: center; color: #dfe6f5; font-size: 14px; }
.iface-right { display: flex; align-items: center; gap: 8px; color: #7fa4ff; font-size: 13px; cursor: pointer; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #7fa4ff; display: inline-block; position: relative; }
.dot::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: #7fa4ff; }
.arrow { color: #4a5570; }
.rules { list-style: none; }
.rules li { color: #8a93a6; font-size: 13px; line-height: 1.7; display: flex; gap: 10px; margin-bottom: 8px; }
.rules .num { color: #7fa4ff; font-weight: 600; flex-shrink: 0; }
.dl-sub { color: #5b688a; font-size: 12px; margin: -8px 0 12px; }
.notice-bar { margin: 14px 14px 0; background: #1a1408; border: 1px solid #4a3a10; color: #d9a83f; border-radius: 10px; padding: 10px 12px; font-size: 12px; line-height: 1.7; }
.token-box { margin-top: 14px; background: #0c1120; border: 1px dashed #2f6bff; border-radius: 10px; padding: 12px; }
.token-label { font-size: 12px; color: #8a93a6; margin-bottom: 8px; }
.token-text { font-size: 12px; color: #cfd8ee; word-break: break-all; line-height: 1.6; background: #070b14; padding: 8px; border-radius: 8px; max-height: 130px; overflow-y: auto; }
.msg { font-size: 13px; margin-top: 10px; min-height: 18px; }
.msg.ok { color: #2fd48a; } .msg.bad { color: #ff6b7a; }
.tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.tab { flex: 1; padding: 9px 0; border: 1px solid #25304e; background: #0c1120; border-radius: 8px; font-size: 12px; color: #8a93a6; cursor: pointer; }
.tab.on { background: #2f6bff; color: #fff; border-color: #2f6bff; }
.ws-input, .ws-textarea {
  width: 100%; border: 1px solid #25304e; border-radius: 10px;
  padding: 12px; font-size: 14px; outline: none; background: #0c1120; color: #fff;
}
.ws-input::placeholder, .ws-textarea::placeholder { color: #4a5570; }
.ws-textarea { height: 90px; resize: none; margin-bottom: 12px; font-size: 12px; word-break: break-all; }
.ws-input { margin-bottom: 12px; }
.owner-link { display: block; text-align: center; color: #4a5570; font-size: 13px; margin: 22px 0 10px; text-decoration: none; }
.foot { text-align: center; color: #3a4258; font-size: 12px; padding-bottom: 10px; }
.code-item { border: 1px solid #1e2740; background: #0c1120; border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.code-hp { font-size: 14px; font-weight: 600; color: #dfe6f5; word-break: break-all; }
.code-meta { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.tag { font-size: 11px; padding: 3px 8px; border-radius: 6px; }
.tag.ok { background: #0e2b1e; color: #2fd48a; }
.tag.bad { background: #3a1a22; color: #ff6b7a; }
.code-time { font-size: 11px; color: #4a5570; }
.empty { text-align: center; color: #4a5570; font-size: 13px; padding: 20px 0; }