/* 清水「晴空」視覺（2026-11-27）：天空藍底、白雲、原創小星球與星星。
   與天母「窗光」區隔：不用窗格圓拱與光束。登入頁與學生首頁共用。 */
:root {
  --qs-sky-top: #7cc6f2;
  --qs-sky-bottom: #c9e9fb;
  --qs-navy: #14507d;
  --qs-blue: #1f6fa8;
  --qs-ink: #13293d;
  --qs-muted: #56697d;
  --qs-red: #d0262d;
  --qs-sun: #ffc93c;
  --qs-mint: #3cc8a8;
  --qs-lilac: #9b7bf2;
  --qs-peach: #ff9f6e;
  --qs-pink: #ff8fab;
  --qs-tile-blue: linear-gradient(150deg, #2f6fd6 0%, #1f4fae 100%);
  --qs-tile-sky: linear-gradient(150deg, #6fd0fb 0%, #3aa9ea 100%);
  --qs-tile-lilac: linear-gradient(150deg, #c4a9ff 0%, #9b7bf2 100%);
  --qs-tile-peach: linear-gradient(150deg, #ffc49b 0%, #ff9466 100%);
  --qs-tile-pink: linear-gradient(150deg, #ffb3c4 0%, #ff7f9f 100%);
  --qs-tile-mint: linear-gradient(150deg, #7fe3c9 0%, #2fbf9c 100%);
}

.qs-sky {
  background: linear-gradient(180deg, var(--qs-sky-top) 0%, var(--qs-sky-bottom) 100%) fixed;
}

/* Decoration layer: purely visual, never takes clicks. */
.qs-deco { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.qs-deco > * { position: absolute; }
.qs-deco .cloud { width: 220px; height: auto; filter: drop-shadow(0 10px 18px rgba(20, 80, 125, .12)); }
.qs-deco .cloud.c1 { left: -60px; top: 18%; width: 240px; }
.qs-deco .cloud.c2 { right: -70px; top: 52%; width: 260px; opacity: .95; }
.qs-deco .cloud.c3 { left: 8%; bottom: -40px; width: 320px; }
.qs-deco .cloud.c4 { right: 6%; bottom: -60px; width: 360px; }
.qs-deco .planet { width: 74px; }
.qs-deco .planet.p1 { right: 9%; top: 11%; width: 92px; }
.qs-deco .planet.p2 { left: -14px; top: 64%; width: 46px; }
.qs-deco .star { width: 22px; }
.qs-deco .star.s1 { left: 16%; top: 9%; }
.qs-deco .star.s2 { right: 22%; top: 34%; width: 16px; }
.qs-deco .star.s3 { left: 30%; bottom: 18%; width: 18px; }
.qs-deco .star.s4 { right: 4%; top: 78%; width: 14px; }
.qs-deco .dot { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, .75); }
.qs-deco .dot.d1 { left: 44%; top: 6%; }
.qs-deco .dot.d2 { right: 14%; top: 64%; width: 10px; height: 10px; background: var(--qs-sun); }

@media (prefers-reduced-motion: no-preference) {
  .qs-deco .planet, .qs-deco .cloud.c1, .qs-deco .cloud.c2 { animation: qs-float 7s ease-in-out infinite; }
  .qs-deco .cloud.c2 { animation-duration: 9s; animation-delay: -3s; }
  .qs-deco .planet.p2 { animation-duration: 5.5s; animation-delay: -2s; }
  .qs-deco .star { animation: qs-twinkle 3.2s ease-in-out infinite; }
  .qs-deco .star.s2 { animation-delay: -1.1s; }
  .qs-deco .star.s3 { animation-delay: -2.2s; }
}
@keyframes qs-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes qs-twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.78); opacity: .7; } }

@media (max-width: 640px) {
  .qs-deco .cloud.c1 { width: 170px; top: 30%; }
  .qs-deco .cloud.c2 { width: 180px; top: 70%; }
  .qs-deco .cloud.c3 { width: 230px; }
  .qs-deco .cloud.c4 { display: none; }
  .qs-deco .planet.p1 { width: 62px; top: 7%; right: 5%; }
}

/* Floating white pill bar, used as the top bar on both pages. */
.qs-pill {
  background: rgba(255, 255, 255, .94);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(20, 80, 125, .14);
  backdrop-filter: blur(8px);
}

/* Logo badge: the round school logo on a white disc with a soft ring. */
.qs-badge {
  display: block;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .45), 0 14px 30px rgba(20, 80, 125, .22);
}
.qs-badge img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* Chunky rounded display type for the English slogan. */
.qs-display {
  font-family: 'Baloo 2', 'Noto Sans TC', sans-serif;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
  text-shadow: 0 3px 0 rgba(20, 80, 125, .18), 0 10px 24px rgba(20, 80, 125, .18);
}
