:root {
  --bg: #f7f5f2; --card: #fff; --ink: #1d1d1f; --muted: #6b6b70; --line: #e8e4df;
  --brand: #f07b1a; --pass: #1f9d55; --warn: #d98a00; --fail: #d93b3b; --info: #8a8a90;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif; }
a { color: var(--brand); text-decoration: none; }
.top { display: flex; justify-content: space-between; align-items: center; max-width: 860px; margin: 0 auto; padding: 18px 20px; }
.brand { color: var(--ink); font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); display: inline-block; }
.by { color: var(--muted); font-size: 13px; }
main { max-width: 860px; margin: 0 auto; padding: 0 20px 40px; }
.hero h1 { font-size: 30px; line-height: 1.25; margin: 18px 0 8px; letter-spacing: -0.5px; }
.hero .sub { color: var(--muted); margin: 0 0 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 18px; }
h2 { font-size: 18px; margin: 0 0 14px; }
.summary { display: flex; gap: 26px; align-items: center; }
.ring { position: relative; width: 132px; height: 132px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring .track { stroke: var(--line); }
.ring .bar { stroke: var(--info); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .8s ease; }
.ringText { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ringText b { font-size: 34px; line-height: 1; }
.ringText span { color: var(--muted); font-size: 13px; margin-top: 4px; }
.ipbox { min-width: 0; }
.label { color: var(--muted); font-size: 13px; }
.ip { font-size: 24px; font-weight: 700; word-break: break-all; }
.meta { color: var(--muted); }
.alt { margin-top: 8px; font-size: 14px; color: var(--muted); word-break: break-all; }
.alt b { color: var(--ink); }
.progress { margin-top: 10px; font-size: 13px; color: var(--muted); }
.progress.done { display: none; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.items li:first-child { border-top: 0; }
.badge { width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.pass .badge { background: var(--pass); } .warn .badge { background: var(--warn); } .fail .badge { background: var(--fail); } .info .badge { background: var(--info); }
.items .t { font-weight: 600; }
.items .tag { font-size: 12px; margin-left: 6px; padding: 1px 7px; border-radius: 10px; }
.pass .tag { background: #e6f5ec; color: var(--pass); } .warn .tag { background: #fdf2dc; color: var(--warn); } .fail .tag { background: #fbe5e5; color: var(--fail); } .info .tag { background: #efefef; color: var(--info); }
.items .d { color: #3a3a3e; margin-top: 2px; }
.items .fix { margin-top: 6px; font-size: 14px; color: var(--ink); background: #faf8f5; border-left: 3px solid var(--brand); padding: 6px 10px; border-radius: 4px; }
.again { margin-top: 14px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 16px; cursor: pointer; font: inherit; }
.offers h2 { margin: 6px 0 12px; }
.offerList { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 18px; }
.offer { background: #fff7ef; border: 1px solid #f5d2b0; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; }
.offer b { font-size: 16px; }
.offer p { color: #4a4a4f; flex: 1; margin: 6px 0 12px; }
.offer a { align-self: flex-start; background: var(--brand); color: #fff; padding: 8px 16px; border-radius: 10px; font-weight: 600; }
.faq details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 6px 0 0; }
footer { max-width: 860px; margin: 0 auto; padding: 0 20px 30px; color: var(--muted); font-size: 12px; }
footer a { color: var(--muted); text-decoration: underline; }
@media (max-width: 560px) {
  .hero h1 { font-size: 24px; }
  .summary { flex-direction: column; align-items: flex-start; gap: 16px; }
}
