/* LINE's ZIP-only route: never expose the regular signed-out Library while
   the signed, owner-scoped ZIP converter is loading. */
html.line-zip-route .app-shell,
html.line-zip-route #toast { display: none !important; }
#lineZipScreen { display: none; }
html.line-zip-route #lineZipScreen {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 20px;
  background: #f1fbf5;
  color: #173429;
  font-family: system-ui, "Noto Sans Thai", sans-serif;
}
.line-zip-card {
  width: min(100%, 490px);
  border-radius: 22px;
  background: #fff;
  padding: clamp(22px, 5vw, 38px);
  border: 1px solid #d9ecdd;
  box-shadow: 0 12px 36px #17342914;
}
.line-zip-logo {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 28px;
  background: #06c755;
  color: #fff;
}
.line-zip-kicker { color: #087f42; font-size: 13px; font-weight: 750; letter-spacing: .08em; margin-top: 20px; }
.line-zip-card h1 { font-size: clamp(22px, 5vw, 28px); line-height: 1.3; margin: 8px 0 14px; }
#lineZipStatus { font-size: 16px; line-height: 1.7; margin-bottom: 22px; overflow-wrap: anywhere; }
#lineZipDetail { color: #4c6f5f; font-size: 13px; line-height: 1.6; }
.line-zip-actions { display: grid; gap: 10px; margin: 24px 0 12px; }
.line-zip-action {
  border: 0;
  border-radius: 12px;
  min-height: 48px;
  padding: 11px 16px;
  background: #06c755;
  color: #062511;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.line-zip-action.secondary { background: #eaf5ed; }
.line-zip-action[hidden], #lineZipError[hidden] { display: none !important; }
#lineZipError { color: #b42318; font-weight: 600; }
.line-zip-meter { height: 5px; border-radius: 10px; background: #eaf5ed; overflow: hidden; margin-bottom: 24px; }
.line-zip-meter > span { display: block; height: 100%; width: 30%; background: #06c755; border-radius: 10px; animation: line-zip-load 1.5s ease-in-out infinite alternate; }
html.line-zip-done .line-zip-meter > span { width: 100%; animation: none; }
html.line-zip-failed .line-zip-meter > span { width: 100%; background: #d84343; animation: none; }
@keyframes line-zip-load { from { transform: translateX(-110%); } to { transform: translateX(320%); } }
@media (prefers-reduced-motion: reduce) { .line-zip-meter > span { animation: none; width: 65%; } }
