/* 苹果式简约大气：大留白、黑白灰骨架、克制蓝色点缀。 */
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: #1d1d1f; background: #f5f5f7; line-height: 1.65; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; padding: 12px 24px; background: rgba(255,255,255,.86); backdrop-filter: blur(12px); border-bottom: 1px solid #e5e5ea; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.brand-mark { display: inline-flex; width: 28px; height: 28px; border-radius: 8px; background: #0071e3; color: #fff; align-items: center; justify-content: center; font-size: 15px; }
.topbar nav { display: flex; gap: 16px; flex: 1; flex-wrap: wrap; }
.topbar nav a { color: #424245; text-decoration: none; font-size: 14px; }
.topbar nav a:hover { color: #0071e3; }
.top-actions { display: flex; gap: 8px; align-items: center; }
main { max-width: 960px; margin: 0 auto; padding: 24px 16px 64px; }
.hero { text-align: center; padding: 72px 16px 48px; }
.hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.5px; }
.hero-sub { font-size: 18px; color: #6e6e73; max-width: 680px; margin: 0 auto 28px; }
.hero-note { color: #6e6e73; font-size: 14px; margin-top: 16px; }
.card { background: #fff; border-radius: 18px; padding: 28px; margin: 20px 0; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.card h2 { margin-top: 0; font-size: 24px; }
.sub { color: #6e6e73; }
.fine { color: #86868b; font-size: 13px; }
.msg { color: #b25000; font-size: 14px; min-height: 1em; }
.primary-btn { display: inline-block; background: #0071e3; color: #fff; border: 0; border-radius: 980px; padding: 12px 26px; font-size: 16px; cursor: pointer; text-decoration: none; }
.primary-btn.small { padding: 8px 18px; font-size: 14px; }
.primary-btn:disabled { opacity: .5; cursor: default; }
.ghost-btn { background: transparent; border: 1px solid #d2d2d7; color: #1d1d1f; border-radius: 980px; padding: 8px 16px; font-size: 14px; cursor: pointer; text-decoration: none; display: inline-block; }
.ghost-btn:hover { border-color: #0071e3; color: #0071e3; }
.user-chip { background: #eef4fb; color: #0071e3; border-radius: 980px; padding: 5px 12px; font-size: 13px; }
label { display: block; margin: 10px 0; font-size: 14px; color: #424245; }
label input, label select { display: block; margin-top: 4px; }
input[type=email], input[type=password], input[type=text], select, textarea { width: 100%; border: 1px solid #d2d2d7; border-radius: 10px; padding: 10px 12px; font-size: 15px; font-family: inherit; background: #fff; }
textarea { resize: vertical; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.row input[type=text] { flex: 1; min-width: 180px; }
.radio { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.login-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .login-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 32px; } }
.q-block { border-top: 1px solid #f0f0f2; padding: 14px 0; }
.q-block p { margin: 0 0 8px; font-weight: 600; }
.q-opts { display: grid; gap: 8px; }
.q-opts label { display: flex; gap: 8px; align-items: flex-start; background: #f5f5f7; border-radius: 10px; padding: 10px 12px; margin: 0; cursor: pointer; }
.score-bars { margin: 12px 0; }
.score-bar { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: 14px; }
.score-bar .bar { flex: 1; height: 10px; background: #f0f0f2; border-radius: 5px; overflow: hidden; }
.score-bar .fill { height: 100%; background: #0071e3; }
.output { white-space: pre-wrap; background: #f5f5f7; border-radius: 12px; padding: 16px; font-family: inherit; font-size: 14px; max-height: 480px; overflow: auto; }
.chat { border: 1px solid #e5e5ea; border-radius: 12px; padding: 14px; max-height: 420px; overflow: auto; background: #fbfbfd; }
.chat .bubble { max-width: 82%; padding: 10px 14px; border-radius: 14px; margin: 8px 0; white-space: pre-wrap; font-size: 14px; }
.chat .bubble.ai { background: #eef4fb; margin-right: auto; }
.chat .bubble.user { background: #0071e3; color: #fff; margin-left: auto; }
.script-card { border: 1px solid #e5e5ea; border-radius: 14px; padding: 16px; margin: 12px 0; }
.script-card h3 { margin: 0 0 6px; font-size: 16px; }
.script-card .locked-note { color: #b25000; font-size: 13px; }
.script-card ol { margin: 6px 0; padding-left: 20px; }
.tag { display: inline-block; background: #eef4fb; color: #0071e3; font-size: 12px; border-radius: 6px; padding: 2px 8px; margin-right: 6px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { border: 1px solid #e5e5ea; border-radius: 14px; padding: 18px; text-align: center; }
.price-card.hot { border-color: #0071e3; box-shadow: 0 4px 18px rgba(0,113,227,.12); }
.price-card .price { font-size: 30px; font-weight: 700; margin: 6px 0; }
.pay-box { display: flex; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.pay-box > div { flex: 1; min-width: 280px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { border-bottom: 1px solid #f0f0f2; padding: 7px 8px; text-align: left; vertical-align: top; }
.foot { text-align: center; color: #86868b; font-size: 13px; padding: 24px 0; }
.file-btn { display: inline-block; border: 1px solid #d2d2d7; border-radius: 980px; padding: 8px 16px; font-size: 14px; cursor: pointer; margin: 0; }
.file-btn:hover { border-color: #0071e3; color: #0071e3; }
