:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  color-scheme: dark;
  color: #f5f2f9;
  background: #000;
}
* { box-sizing: border-box; }
body, h1, p { margin: 0; }
.login-layout {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(22px, 4svh, 54px) 20px;
  text-align: center;
}
.tree-frame {
  position: relative;
  width: min(100%, 560px, 69svh);
  aspect-ratio: 1350 / 868;
  margin: clamp(10px, 2svh, 24px) auto 0;
  pointer-events: none;
}
.tree-base, .tree-film, .tree-current { display: block; width: 100%; height: 100%; object-fit: contain; }
.tree-film, .tree-current { opacity: 0; position: absolute; inset: 0; }
.tree-motion .tree-base { visibility: hidden; }
.tree-motion .tree-film, .tree-motion.tree-flowing .tree-current { opacity: 1; }
.entry { width: min(100%, 406px); margin: 12px auto 0; }
.entry h1 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -.048em; font-weight: 600; }
.intro { margin: 12px auto 0; max-width: 36ch; font-size: 16px; line-height: 1.5; color: #c5bfcc; }
.entry-actions { margin: 25px auto 0; max-width: 348px; }
.google-login, .team-access button {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid #faf9fc;
  border-radius: 8px; background: #faf9fc; color: #1f1928;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
}
.google-login:hover, .team-access button:hover { background: #ebe5f2; }
.email-hint { color: #aaa2b4; font-size: 13px; line-height: 1.5; margin-top: 13px; }
.team-access { margin-top: 18px; }
.team-access summary { cursor: pointer; font-size: 14px; color: #d2c4df; }
.team-access form { display: grid; gap: 14px; text-align: left; margin-top: 18px; }
.team-access label { display: grid; gap: 6px; font-size: 14px; }
.team-access input, .team-access select {
  width: 100%; min-height: 44px; background: #151219; color: #fff; border: 1px solid #706978;
  border-radius: 7px; font: inherit; font-size: 16px; padding: 9px 12px;
}
.team-access button { background: #e1d1f5; border-color: #e1d1f5; }
.login-notice, .login-error { padding: 12px; border-radius: 8px; background: #28232f; color: #ddd7e7; font-size: 14px; line-height: 1.5; }
.login-error { color: #ffd5d4; background: #382124; margin-bottom: 12px; }
:focus-visible { outline: 3px solid #b68fe3; outline-offset: 4px; }
@media (max-height: 600px) {
  .tree-frame { width: min(100%, 48svh); }
  .entry-actions { margin-top: 16px; }
}

.request-link { color: #e0cbed; font-weight: 600; text-underline-offset: 3px; }
.request-layout .entry { margin-top: 36px; }
.request-layout form { display: grid; text-align: left; gap: 8px; }
.request-layout label { color: #e2dce8; font-size: 14px; }
.request-layout input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #796f81; border-radius: 8px; background: #151219; color: #fff; font: inherit; font-size: 16px; }
.request-layout button { margin-top: 8px; }
