* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #fff; color: #171717; }
body { font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif; }
.verify-screen { position: fixed; inset: 0; z-index: 20; background: linear-gradient(135deg,#fff 72%,#fbffe9); padding: 28px 22px; color: #171717; }
.verify-brand { display:flex; align-items:center; gap:12px; }
.challenge { display:inline-block; margin-top:38px; padding:6px 13px; border:1px solid #d5d5d5; border-radius:18px; background:#f7f7f7; color:#999; font:11px monospace; letter-spacing:3px; }
.verify-screen h1 { margin:20px 0 14px; font:italic 42px/1.02 Georgia,serif; }
.verify-screen h1 em { color:#a9d900; font-weight:400; }
.verify-screen h1 i { color:#111; }
.verify-screen>p { color:#999; line-height:1.8; font-size:15px; }
.verify-card { margin-top:28px; min-height:112px; padding:20px; border:1px solid #d7d7d7; border-radius:20px; background:#f8f8f8; box-shadow:0 5px 15px #00000012; display:grid; grid-template-columns:30px 1fr auto; align-items:center; gap:12px; }
.verify-card small { text-align:center; font-size:9px; font-weight:700; letter-spacing:1px; }
.verify-spinner { width:26px; height:26px; border:3px dotted #18ad65; border-radius:50%; animation:verify-spin 1s linear infinite; }
.verify-spinner.ok { animation:none; border:0; color:#18b874; font-size:28px; }
.verify-spinner.fail { animation:none; border:0; color:#d33; font-size:26px; }
.verify-screen footer { position:absolute; left:0; right:0; bottom:28px; color:#999; font-size:12px; }
.app-body.verifying { visibility:hidden; }
@keyframes verify-spin { to { transform:rotate(360deg); } }
.mini-shell { width: 100%; min-height: 100vh; background: linear-gradient(130deg, #fff 70%, #f8ffe4); }
.telegram-bar { height: 54px; padding: 0 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; font-size: 18px; }
.telegram-bar span { font-size: 12px; color: #70a00c; }
.app-body { padding: 16px 16px 24px; max-width: 430px; margin: auto; }
.brand-row { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #080808; color: #fff; font-family: "Segoe UI Symbol", sans-serif; font-size: 21px; line-height: 1; }
.brand-name { font-family: serif; font-style: italic; font-size: 22px; }
.brand-sub { font-size: 11px; color: #999; letter-spacing: 1.5px; margin-top: 2px; }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 28px 0 34px; }
.progress i { height: 4px; background: #ececec; border-radius: 8px; }
.progress i.active { background: linear-gradient(90deg, #111 72%, #bfff18 72%); }
.progress i.done { background: #111; }
.step-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 5px; color: #aaa; }
.step-line::after { content: ""; height: 1px; background: #ddd; grid-column: 2; grid-row: 1; }
.step-line em { font-family: Georgia, serif; font-size: 27px; color: #222; }
.step-line span { font-family: Georgia, serif; font-size: 23px; }
.step-line b { font-size: 11px; letter-spacing: 3px; grid-column: 3; }
h1 { font-family: Georgia, "Songti SC", serif; font-weight: 400; font-size: 31px; margin: 12px 0 6px; }
.hint { color: #999; font-size: 14px; margin: 0 0 22px; }
.option-list { display: grid; gap: 10px; }
.option { width: 100%; min-height: 80px; border: 1px solid #d4d4d4; border-radius: 16px; background: #f3f3f3; display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px 18px; color: #222; }
.option strong { display: block; font-size: 17px; font-weight: 500; }
.option small { display: block; color: #999; font-size: 13px; margin-top: 4px; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 1px solid #d8d8d8; background: #fff; flex: none; }
.option.selected { border: 3px solid #161616; background: #f5f5f5; padding: 12px 16px; }
.option.selected .radio { border: 5px solid #baff16; box-shadow: inset 0 0 0 3px #161616; background:#161616; }
.actions { display: flex; gap: 10px; margin-top: 22px; }
.actions.hidden { display: none; }
.back { width: 54px; height: 54px; border-radius: 50%; border: 1px solid #d5d5d5; background: #f7f7f7; font-size: 32px; font-weight: 200; }
.back[hidden] { display: none; }
.next { flex: 1; width: 100%; height: 54px; border: 0; border-radius: 30px; background: #eee; color: #aaa; font-size: 16px; }
.next.enabled { background: #050505; color: #fff; font-weight: 700; }
.next.enabled.confirm { background: #c6ff20; color: #111; }
.next:disabled { cursor: not-allowed; }
.text-box { position: relative; display: block; border: 1px solid #d4d4d4; border-radius: 16px; padding: 12px 16px; background: #fafafa; }
.text-box span { display: block; font-size: 12px; color: #999; }
.text-box input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 17px; padding: 8px 34px 2px 0; }
.text-box small { position: absolute; right: 14px; bottom: 16px; color: #aaa; }
.unknown { margin-top: 10px; width: 100%; height: 52px; border: 1px solid #ddd; border-radius: 16px; background: #f7f7f7; }
.unknown.selected { background: #fbffe9; border-color: #b5ef20; }
.notice, .confirm-note, .success-note, .error { font-size: 13px; color: #888; line-height: 1.6; }
.error { color: #b42318; background: #fff1f0; border-radius: 12px; padding: 10px 12px; }
.summary { border: 1px solid #ddd; border-radius: 18px; background: #f8f8f8; padding: 4px 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid #ddd; }
.sum-row:last-child { border-bottom: 0; }
.sum-row span { color: #999; }
.sum-row strong { text-align: right; word-break: break-word; }
.success { text-align: center; }
.check { width: 88px; height: 88px; border: 3px solid #16c77a; color: #16c77a; border-radius: 50%; display: grid; place-items: center; font-size: 52px; margin: 28px auto 12px; }
.success h1 mark { background: linear-gradient(transparent 65%, #c6ff20 65%); }
.success .summary { text-align: left; margin: 26px 0; }
.link-box { margin-top: -12px; border: 1px solid #ddd; border-radius: 16px; background: #fff; padding: 13px 16px; text-align: left; }
.link-box span { display: block; color: #999; font-size: 12px; margin-bottom: 7px; }
.link-box input { display: block; width: 100%; border: 0; outline: 0; padding: 0; background: transparent; color: #222; font-family: Arial, sans-serif; font-size: 13px; cursor: copy; }
.link-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.link-actions .copy, .link-actions .join { margin-top: 12px; }
.join, .copy, .close { width: 100%; height: 52px; border-radius: 26px; border: 0; font-size: 16px; margin-top: 10px; }
.join { display: grid; place-items: center; text-decoration: none; background: #111; color: #c6ff20; font-weight: 700; }
.copy { background: #c6ff20; color: #111; font-weight: 700; }
.close { background: #f0f0f0; color: #555; }
footer { text-align: center; color: #777; font-size: 13px; margin-top: 28px; }
@media (min-height: 760px) { .app-body { padding-top: 22px; } .actions { margin-top: 34px; } }
