/* /my-tennis/login（v3 の見た目。EN-15・SH-10）。部品は招待ページ（my-tennis-join.css）と同じ形にそろえる:
   地 #F4F7F2・白いカード（角丸 24）・入力欄 48px（角丸 14）・主ボタン 52px（紺×ライム）。スマホの形を幅 430px で真ん中に置く。
   共同幹事の 2 ページが読む my-tennis-auth.css は変えない。 */
.myt-auth {
  --mtl-navy: #112949;
  --mtl-navy-2: #19385F;
  --mtl-lime: #CBEA43;
  --mtl-ink: #12213C;
  --mtl-body: #34445E;
  --mtl-muted: #526078;
  --mtl-ground: #F4F7F2;
  --mtl-outside: #E9EEF2;
  --mtl-input: #C9D2DC;
  --mtl-required: #9A3B2E;
  margin: 0;
  min-height: 100vh;
  background: var(--mtl-outside);
  color: var(--mtl-ink);
  font-family: "Zen Kaku Gothic New", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-break: strict;
  overflow-wrap: anywhere;
}
.myt-auth *, .myt-auth *::before, .myt-auth *::after { box-sizing: border-box; }
.myt-auth a { color: var(--mtl-navy-2); }
.myt-auth button { font-family: inherit; cursor: pointer; }
.myt-auth :focus-visible { outline: 3px solid #8AD4F5; outline-offset: 2px; }
.myt-auth [hidden] { display: none !important; }

.myt-auth__skip {
  position: fixed; z-index: 20; top: 10px; left: 10px;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: #FFFFFF; color: var(--mtl-navy); font-weight: 700; text-decoration: none;
  transform: translateY(-200%);
}
.myt-auth__skip:focus { transform: translateY(0); }
.myt-auth__sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.myt-auth__page {
  width: 100%; max-width: 430px; min-height: 100vh; margin: 0 auto;
  display: flex; flex-direction: column;
  background: var(--mtl-ground);
}
.myt-auth__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 4px; }
/* 無料版のブランドの印とキャラ（tc-brand.css。D-207・D-221）に「プロ」の札。キャラは印の中にあるのでアイコンの絵は出さない。 */
.myt-auth__brand { display: flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; }
.myt-auth a.myt-auth__brand { color: var(--mtl-navy); }
.myt-auth__pro { flex: none; padding: 1px 8px; border-radius: 6px; background: var(--mtl-navy); color: #CBEA43; font-size: 12px; font-weight: 700; line-height: 1.5; }

.myt-auth__entry { flex: 1; padding: 12px 16px 24px; display: flex; flex-direction: column; gap: 14px; }
.myt-auth__card {
  background: #FFFFFF; border-radius: 24px; padding: 22px 20px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 14px 30px -24px rgba(17, 41, 73, .5);
}
.myt-auth__card-title { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: 17px; font-weight: 900; line-height: 1.4; color: var(--mtl-navy); }
.myt-auth__card-body { margin: 0; font-size: 13px; line-height: 1.7; color: var(--mtl-body); }
.myt-auth__dot { flex: none; width: 10px; height: 10px; border-radius: 999px; }
.myt-auth__dot--gray { background: #9AA6B8; }
.myt-auth__dot--orange { background: #F6B75B; }
.myt-auth__dot--red { background: #F2A08E; }
.myt-auth__verified-address { margin: 0; font-weight: 700; color: var(--mtl-navy); }
.myt-auth__text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 700; }

.myt-auth__panel { display: flex; flex-direction: column; gap: 14px; }
.myt-auth__form-wrap { display: flex; flex-direction: column; gap: 12px; padding: 8px 6px 0; }
.myt-auth__title { margin: 0; font-size: 22px; font-weight: 900; line-height: 1.4; color: var(--mtl-navy); }
.myt-auth__lead { margin: 0; font-size: 13px; line-height: 1.7; color: var(--mtl-body); }
.myt-auth__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.myt-auth__field { display: flex; flex-direction: column; gap: 5px; }
.myt-auth__field label { font-size: 12px; font-weight: 700; color: var(--mtl-body); }
.myt-auth__field input {
  width: 100%; min-height: 48px; border: 1.5px solid var(--mtl-input); border-radius: 14px; padding: 0 14px;
  font-family: inherit; font-size: 15px; font-weight: 700; color: var(--mtl-navy); background: #FFFFFF;
}
.myt-auth__field input::placeholder { color: #9AA6B8; }
.myt-auth__field input:focus { border-color: var(--mtl-navy); outline: none; }

.myt-auth__button {
  display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 52px; padding: 0 18px; border: none; border-radius: 999px;
  font-size: 15px; font-weight: 900; text-align: center;
}
.myt-auth__button--primary { background: var(--mtl-navy); color: var(--mtl-lime); }
.myt-auth__button--primary:hover { background: var(--mtl-navy-2); }
.myt-auth__card .myt-auth__button { margin-top: 6px; min-height: 46px; font-size: 14px; font-weight: 700; }
.myt-auth__button--soft { background: var(--mtl-ground); color: var(--mtl-navy); }
a.myt-auth__button { text-decoration: none; }
.myt-auth__button--soft:hover { background: var(--mtl-outside); }
.myt-auth__button:disabled, .myt-auth__reset:disabled { opacity: .55; cursor: wait; }
.myt-auth__reset { justify-self: end; min-height: 44px; padding: 0 6px; border: none; background: transparent; color: var(--mtl-navy-2); font-size: 12px; font-weight: 700; }

.myt-auth__feedback { display: flex; flex-direction: column; gap: 6px; }
.myt-auth__message { margin: 0; font-size: 13px; line-height: 1.6; padding: 10px 12px; border-radius: 14px; }
.myt-auth__message--status { background: #FFFFFF; color: var(--mtl-navy); }
.myt-auth__message--error { background: #FBE6E0; color: var(--mtl-required); font-weight: 700; }

.myt-auth__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; padding: 12px 20px 28px; font-size: 11px; }
.myt-auth__legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--mtl-muted); text-decoration: none; }
.myt-auth__noscript { margin: 16px; text-align: center; color: var(--mtl-muted); }

@media (min-width: 431px) {
  .myt-auth__page { box-shadow: 0 0 0 1px rgba(17, 41, 73, .04), 0 30px 60px -30px rgba(17, 41, 73, .35); }
}

@media (prefers-reduced-motion: reduce) {
  .myt-auth * { scroll-behavior: auto !important; transition: none !important; }
}
