* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f0f2f5; color: #262626; }
.page { max-width: 640px; margin: 0 auto; min-height: 100vh; }

.card { margin: 15vh 24px 0; background: #fff; border-radius: 16px; padding: 32px 24px; text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.logo { font-size: 48px; line-height: 1; margin-bottom: 8px; }
h1 { font-size: 22px; margin-bottom: 8px; color: #1f1f1f; }
h2 { font-size: 18px; }
.form { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
input { height: 46px; border: 1px solid #d9d9d9; border-radius: 10px; padding: 0 14px; font-size: 16px; outline: none; }
input:focus { border-color: #1677ff; box-shadow: 0 0 0 2px rgba(22,119,255,.1); }
button { height: 46px; border: none; border-radius: 10px; font-size: 16px; cursor: pointer; }
button.primary { background: #1677ff; color: #fff; font-weight: 600; }
button.ghost { background: #fff; color: #1677ff; border: 1px solid #1677ff; height: 34px; font-size: 14px; }
button.danger { background: #fff; color: #ff4d4f; border: 1px solid #ff4d4f; height: 34px; font-size: 14px; border-radius: 8px; }
button:active { opacity: .85; }
.msg { color: #ff4d4f; font-size: 13px; min-height: 18px; margin-top: 8px; }
.hidden { display: none; }

header { display: flex; justify-content: space-between; align-items: center; padding: 16px; background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; }
.header-right { display: flex; gap: 8px; }
.crumb { font-size: 13px; color: #8c8c8c; word-break: break-all; }

.list { padding: 12px; }
.item { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.item .name { flex: 1; font-size: 15px; word-break: break-all; }
.item .name .icon { margin-right: 8px; }
.item .meta { font-size: 12px; color: #8c8c8c; white-space: nowrap; }
.item .actions { display: flex; gap: 8px; }
.stats { font-size: 12px; color: #8c8c8c; padding: 0 16px 8px; }
.btn-sm { height: 32px; border-radius: 8px; font-size: 13px; padding: 0 12px; cursor: pointer; border: none; }
.btn-blue { background: #1677ff; color: #fff; }
.btn-white { background: #fff; color: #595959; border: 1px solid #d9d9d9; }
.empty-tip { text-align: center; color: #bbb; padding: 60px 0; }