:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans JP", sans-serif;
  background: #080808;
  color: #f7f7f7;
}

* { box-sizing: border-box; }

body.public-site {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 70% 5%, rgba(130, 80, 255, 0.15), transparent 30rem),
    #080808;
}

body.public-site:has(.talent-page),
body.public-site:has(.talents-index-page),
body.public-site:has(.news-page) {
  background: #000;
}

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.public-flash {
  position: fixed;
  z-index: 10;
  top: 16px;
  left: 50%;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 12px 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(35, 35, 35, 0.95);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.public-flash--alert { color: #ffb5b5; }

.talent-page { width: min(1120px, 100%); margin: 0 auto; padding: 28px 24px 64px; }

.public-nav {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}

.public-brand {
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-decoration: none;
}

.public-account { display: flex; align-items: center; gap: 14px; color: #aaa; font-size: 13px; }

.public-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.talent-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 40px;
  background: rgba(20, 20, 20, 0.86);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.38);
}

.talent-visual { min-height: 660px; background: #202020; }
.talent-image { display: block; width: 100%; height: 100%; min-height: 660px; object-fit: cover; }
.talent-image-fallback { display: grid; min-height: 660px; place-items: center; font-size: 112px; color: #777; }

.talent-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 6vw, 76px); }
.talent-eyebrow { margin: 0 0 14px; color: #a78cff; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; }
.talent-content h1, .login-panel h1 { margin: 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; }
.talent-bio { margin: 22px 0 0; color: #aaa; line-height: 1.8; white-space: pre-line; }

.subscription-offer { margin-top: 46px; }
.subscription-price { display: flex; align-items: baseline; gap: 7px; margin: 0; }
.subscription-price strong { font-size: 38px; font-weight: 650; }
.subscription-price span { color: #999; }
.subscription-description { margin: 18px 0 28px; color: #b7b7b7; line-height: 1.7; }

.subscription-button, .login-button {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #090909;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
}

.subscription-button:hover, .login-button:hover { background: #e9e9e9; }
.subscription-button:disabled, .login-button:disabled { cursor: wait; opacity: 0.55; }
.subscription-note { margin: 14px 0 0; color: #777; font-size: 12px; line-height: 1.6; text-align: center; }
.subscription-status { margin: 0; padding: 18px; border-radius: 18px; background: #252525; text-align: center; }
.subscription-status--active { color: #aef3c4; background: rgba(40, 150, 80, 0.18); }
.subscription-result { margin: 18px 0 0; color: #d6cbff; font-size: 13px; line-height: 1.6; }

.login-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.login-panel {
  display: flex;
  width: min(480px, 100%);
  min-height: 600px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 7vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 38px;
  background: rgba(20, 20, 20, 0.9);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}
.login-panel h1 { margin-bottom: 16px; font-size: clamp(36px, 9vw, 56px); }
.login-panel > div > p:last-child { color: #999; line-height: 1.7; }
.login-actions { display: grid; gap: 12px; }
.login-button--google { border: 1px solid #3b3b3b; background: #202020; color: #fff; }
.google-mark { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #fff; color: #4285f4; font-weight: 800; }
.auth-error { margin: 4px 0 0; color: #ff9e9e; font-size: 13px; line-height: 1.5; }
.login-legal { margin: 0; color: #666; font-size: 11px; line-height: 1.7; }
.login-legal a { color: #999; }

@media (max-width: 760px) {
  .talent-page { padding: 18px 14px 36px; }
  .public-nav { margin: 0 6px 22px; }
  .public-account > span { display: none; }
  .talent-card { grid-template-columns: 1fr; border-radius: 30px; }
  .talent-visual, .talent-image, .talent-image-fallback { min-height: min(100vw, 520px); }
  .talent-content { padding: 32px 24px 38px; }
  .talent-content h1 { font-size: 42px; }
  .subscription-offer { margin-top: 34px; }
}
