:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #14223a;
  background: #f3f7ff;
}
* { box-sizing: border-box; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(74,132,255,.18), transparent 28rem),
    linear-gradient(180deg, #f8faff 0%, #eef4ff 100%);
}
button { font: inherit; }
.line-page {
  display: grid;
  min-height: calc(100vh - 92px);
  padding: clamp(24px, 6vh, 64px) 18px 30px;
  place-items: center;
}
.line-shell {
  width: min(720px, 100%);
  overflow: hidden;
  border: 1px solid rgba(185,204,236,.86);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 28px 80px rgba(36,76,146,.13);
}
.line-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 28px 30px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(125deg, #265ff2 0%, #3978ff 56%, #6ea4ff 100%);
}
.line-hero::after {
  position: absolute;
  right: -66px;
  bottom: -118px;
  width: 250px;
  height: 250px;
  border: 42px solid rgba(255,255,255,.08);
  border-radius: 50%;
  content: "";
}
.brand-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 19px;
  background: rgba(255,255,255,.16);
  box-shadow: inset 0 1px rgba(255,255,255,.32);
  backdrop-filter: blur(8px);
}
.brand-mark .line-brand-fallback { font-size: 21px; font-weight: 900; letter-spacing: -1px; }
.line-brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-mark .line-brand-logo { width: 46px; height: 46px; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.eyebrow { margin: 0 0 5px; color: rgba(255,255,255,.7); font-size: 10px; font-weight: 850; letter-spacing: .17em; }
.hero-copy h1 { margin: 0; font-size: clamp(24px, 4vw, 34px); letter-spacing: -.035em; }
.hero-copy > p:last-child { margin: 7px 0 0; color: rgba(255,255,255,.8); font-size: 13px; }
.overall-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(10,39,112,.22);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.overall-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(255,255,255,.12); }
.overall-status.is-checking i { animation: pulse 1.15s infinite; }
.overall-status.is-ready { background: rgba(5,115,78,.3); }
.overall-status.is-error { background: rgba(151,34,49,.28); }
.checker-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin: 26px;
  padding: 25px;
  border: 1px solid #dce7f8;
  border-radius: 21px;
  background: linear-gradient(135deg, #f8faff, #f2f6ff);
}
.check-orb { position: relative; display: grid; width: 76px; height: 76px; place-items: center; }
.check-orb::before, .check-orb::after, .check-orb i {
  position: absolute;
  border: 1px solid rgba(47,107,255,.25);
  border-radius: 50%;
  content: "";
}
.check-orb::before { inset: 0; animation: orb-spin 5s linear infinite; border-top-color: #2f6bff; }
.check-orb::after { inset: 8px; border-color: rgba(47,107,255,.13); }
.check-orb i { inset: -5px; border-color: transparent; border-right-color: rgba(45,193,181,.7); animation: orb-spin 3.5s linear infinite reverse; }
.check-orb-core {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #2f6bff, #6b91ff);
  box-shadow: 0 12px 24px rgba(47,107,255,.24);
  font-size: 16px;
  font-weight: 900;
}
.check-orb-core .line-brand-logo { width: 38px; height: 38px; }
.check-orb-core .line-brand-fallback { line-height: 1; }
.checker-copy { min-width: 0; }
.progress-copy { display: flex; justify-content: space-between; gap: 16px; }
.progress-copy strong { color: #24344f; font-size: 17px; }
.progress-copy span { color: #2f6bff; font-size: 13px; font-weight: 850; }
.checker-copy p { margin: 7px 0 14px; color: #71809a; font-size: 12px; line-height: 1.55; }
.progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: #e2eaf8; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2864f5, #2dc1b5); box-shadow: 0 0 16px rgba(47,107,255,.28); transition: width .35s ease; }
.retry-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #cbdaf2;
  border-radius: 11px;
  color: #46607f;
  background: #fff;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.retry-button:hover { border-color: #8fb1ed; color: #255ed8; }
.retry-button:disabled { opacity: .52; cursor: wait; }
.result-panel {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto auto;
  align-items: center;
  gap: 15px;
  margin: 0 26px 26px;
  padding: 18px 20px;
  border: 1px solid #b9ddcf;
  border-radius: 18px;
  background: #f0fbf6;
}
.result-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; color: #fff; background: #18a873; font-size: 22px; font-weight: 900; }
.result-copy { display: grid; gap: 3px; min-width: 0; }
.result-copy span, .result-copy small { color: #668174; font-size: 11px; }
.result-copy strong { overflow: hidden; color: #116946; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.countdown-copy { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 4px; margin: 0; color: #4c7465; white-space: nowrap; }
.countdown-copy strong { color: #14825a; font-size: 28px; line-height: 1; }
.countdown-copy span { font-size: 11px; }
#enter-button {
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #2f6bff;
  box-shadow: 0 9px 20px rgba(47,107,255,.23);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.error-panel { margin: 0 26px 26px; padding: 17px 19px; border: 1px solid #f2c8cd; border-radius: 17px; color: #923d49; background: #fff7f8; }
.error-panel strong { font-size: 15px; }
.error-panel p { margin: 6px 0 0; color: #a46169; font-size: 12px; }
.site-footer { display: grid; min-height: 92px; padding: 20px 18px 24px; gap: 5px; justify-items: center; color: #73829a; text-align: center; }
.site-footer strong { color: #4a5f7c; font-size: 13px; }
.site-footer span { font-size: 11px; }
[hidden] { display: none !important; }
@keyframes pulse { 50% { opacity: .4; transform: scale(.72); } }
@keyframes orb-spin { to { transform: rotate(360deg); } }
html[data-theme="dark"] .line-shell { border-color: #294565; background: rgba(8,22,40,.96); }
html[data-theme="dark"] .checker-panel { border-color: #294565; background: linear-gradient(135deg, #10233d, #0d1d33); box-shadow: inset 0 1px rgba(255,255,255,.03); }
html[data-theme="dark"] .progress-copy strong { color: #e9f1ff; }
html[data-theme="dark"] .checker-copy p { color: #8fa5c5; }
html[data-theme="dark"] .progress-track { background: #1d3554; }
html[data-theme="dark"] .retry-button { border-color: #355475; color: #adc0dd; background: #132842; }
html[data-theme="dark"] .result-panel { border-color: #27644f; background: #0e2d27; }
html[data-theme="dark"] .error-panel { border-color: #703945; color: #ffacb7; background: #301a22; }
html[data-theme="dark"] .site-footer strong { color: #b8c7df; }
@media (max-width: 680px) {
  .line-page { min-height: calc(100vh - 82px); padding: 12px 10px 20px; place-items: start center; }
  .line-shell { border-radius: 22px; }
  .line-hero { grid-template-columns: auto minmax(0,1fr); gap: 13px; padding: 22px 18px; }
  .brand-mark { width: 52px; height: 52px; border-radius: 17px; }
  .brand-mark .line-brand-fallback { font-size: 18px; }
  .brand-mark .line-brand-logo { width: 40px; height: 40px; }
  .hero-copy h1 { font-size: clamp(21px, 7vw, 27px); }
  .hero-copy > p:last-child { font-size: 11px; line-height: 1.55; }
  .overall-status { grid-column: 1 / -1; width: fit-content; min-height: 32px; }
  .checker-panel { grid-template-columns: auto minmax(0,1fr); gap: 15px; margin: 16px 14px; padding: 18px 16px; }
  .check-orb { width: 58px; height: 58px; }
  .check-orb-core { width: 40px; height: 40px; border-radius: 14px; font-size: 13px; }
  .check-orb-core .line-brand-logo { width: 30px; height: 30px; }
  .progress-copy strong { font-size: 15px; }
  .retry-button { grid-column: 1 / -1; justify-self: end; min-height: 34px; }
  .result-panel { grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; margin: 0 14px 18px; padding: 15px; }
  .countdown-copy { grid-column: 1 / -1; justify-self: center; }
  #enter-button { grid-column: 1 / -1; width: 100%; }
  .error-panel { margin: 0 14px 18px; }
  .site-footer { min-height: 82px; padding-top: 16px; }
}
@media (max-width: 370px) {
  .checker-panel { grid-template-columns: 1fr; text-align: center; }
  .check-orb { justify-self: center; }
  .progress-copy { align-items: center; flex-direction: column; gap: 5px; }
  .retry-button { justify-self: center; }
  .result-panel { grid-template-columns: auto minmax(0,1fr); }
  .countdown-copy { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .check-orb::before, .check-orb i, .overall-status.is-checking i { animation: none; }
}
