/* Member-only layout; no global site or admin control overrides. */
.member-auth-page { min-height: 100svh; margin: 0; padding: 0; color-scheme: dark; color: #fff8f0; background: radial-gradient(ellipse at 9% 8%, #42254660, transparent 43%), radial-gradient(ellipse at 95% 68%, #59313035, transparent 42%), #120e18; font-family: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.member-auth-page *, .member-auth-page *::before, .member-auth-page *::after { box-sizing: border-box; }
.member-auth-page .app-tabbar { display: none; }
.member-auth-page [hidden] { display: none !important; }
.member-auth-page a { color: inherit; }
.member-auth-shell { position: relative; z-index: 1; width: min(100%, 1120px); min-height: 100svh; margin: auto; padding: max(env(safe-area-inset-top), 22px) clamp(18px, 4vw, 44px) max(env(safe-area-inset-bottom), 24px); }
.member-auth-header { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 38px; }
.member-auth-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff8f0; text-decoration: none; }
.member-auth-brand strong { font-size: 1.24rem; font-weight: 800; letter-spacing: -.04em; }
.member-auth-mark { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border: 1px solid #ffe1c9; border-radius: 15px; background: #fff1e3; box-shadow: 0 5px 20px #03010530; }
.member-auth-mark img { display: block; width: 36px; height: 36px; object-fit: contain; }
.member-auth-language { position: relative; color: #f3e8f2; }
.member-auth-language summary { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 13px; border: 1px solid #68546f; border-radius: 15px; background: #211927; font-size: .76rem; font-weight: 700; list-style: none; cursor: pointer; }
.member-auth-language summary::-webkit-details-marker { display: none; }
.member-auth-language-chevron { color: #ffc596; }
.member-auth-language[open] .member-auth-language-chevron { transform: rotate(180deg); }
.member-auth-language nav { position: absolute; z-index: 4; top: calc(100% + 8px); right: 0; display: grid; min-width: 180px; padding: 7px; border: 1px solid #68546f; border-radius: 17px; background: #281d31; box-shadow: 0 15px 35px #05010865; }
.member-auth-language nav a { min-height: 48px; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 11px 12px; border-radius: 11px; color: #e9dfe9; font-size: .8rem; text-decoration: none; }
.member-auth-language nav a[aria-current] { color: #ffd0aa; background: #493043; }
.member-auth-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 70px); padding-block: 18px 46px; }
.member-auth-layout-register { align-items: start; }
.member-auth-intro { min-width: 0; }
.member-auth-back { min-height: 48px; display: inline-flex; align-items: center; gap: 10px; color: #d3c3d6; font-size: .75rem; text-decoration: none; }
.member-auth-back > span { font-size: 1.2rem; color: #ffc596; }
.member-auth-orbit { position: relative; display: grid; place-items: center; width: 154px; height: 154px; margin: 26px 0 24px; border: 1px solid #725173; border-radius: 50%; background: radial-gradient(circle, #d6785840, transparent 70%); color: #ffd0a0; }
.member-auth-orbit i { position: absolute; inset: 16px; border: 1px solid #886372; border-radius: 50%; }
.member-auth-orbit > span { font-size: 3.7rem; line-height: 1; }
.member-auth-orbit b { position: absolute; right: 6px; top: 11px; font-size: 3.5rem; line-height: 1; color: #ff8c7e; background: #120e18; }
.member-auth-kicker { margin: 0 0 10px; color: #ffc596; font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.member-auth-page h1 { margin: 0 0 15px; color: #fff8f0; font: 800 clamp(2rem, 5vw, 3.15rem)/1.12 "Sora", -apple-system, sans-serif; letter-spacing: -.055em; overflow-wrap: anywhere; }
.member-auth-lead { max-width: 410px; margin: 0; color: #d6c6d9; font-size: .88rem; line-height: 1.75; }
.member-auth-card { min-width: 0; padding: clamp(22px, 3.5vw, 34px); border: 1px solid #65506f; border-radius: 28px; color: #fff8f0; background: linear-gradient(135deg, #2a1e32, #1e1727); box-shadow: 0 24px 65px #05010738; }
.member-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 27px; padding: 5px; border: 1px solid #594660; border-radius: 16px; background: #1b1422; }
.member-auth-tabs a { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 10px; border-radius: 11px; color: #cbb8d2; font-size: .81rem; font-weight: 700; text-align: center; text-decoration: none; }
.member-auth-tabs a[aria-current] { color: #271726; background: #ffc596; box-shadow: 0 4px 12px #04010620; }
.member-auth-form { display: grid; gap: 18px; margin: 0; }
.member-auth-form-register { grid-template-columns: 1fr 1fr; gap: 17px 14px; }
.member-auth-full { grid-column: 1 / -1; }
.member-auth-field { min-width: 0; display: grid; align-content: start; gap: 8px; margin: 0; color: #f4e9f4; font-size: .79rem; font-weight: 600; }
.member-auth-field > label { margin: 0; color: #f4e9f4; font-size: .79rem; font-weight: 600; }
.member-auth-field input { width: 100%; min-height: 54px; margin: 0; padding: 14px; border: 1px solid #836c8e; border-radius: 14px; color: #fff8f0; background: #1b1423; font: 400 16px/1.4 "Sora", -apple-system, sans-serif; caret-color: #ffc596; -webkit-appearance: none; }
.member-auth-field input::placeholder { color: #b3a1ba; }
.member-auth-field input:focus { border-color: #ffc596; outline: 3px solid #ffc59630; outline-offset: 1px; }
.member-auth-field input:-webkit-autofill { -webkit-text-fill-color: #fff8f0; caret-color: #ffc596; box-shadow: 0 0 0 1000px #241b2d inset; }
.member-auth-password { position: relative; display: flex; align-items: center; }
.member-auth-password input { padding-right: 64px; }
.member-auth-password-toggle { position: absolute; top: 3px; right: 3px; width: 48px; min-height: 48px; display: grid; place-items: center; padding: 11px; border: 0; border-radius: 12px; color: #e6cedd; background: transparent; cursor: pointer; }
.member-auth-password-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.member-auth-password-slash { display: none; }
.member-auth-password-toggle[aria-pressed="true"] .member-auth-password-slash { display: block; }
.member-auth-page .member-auth-hint, .member-auth-page .username-status, .member-auth-page .password-status { margin: 0; color: #ccb9d0; font-size: .68rem; font-weight: 400; line-height: 1.6; }
.member-auth-page .username-status:empty, .member-auth-page .password-status:empty, .member-auth-submit-status:empty { display: none; }
.member-auth-page .username-status.ok { color: #9ce6bd; }
.member-auth-page .username-status.bad, .member-auth-page .password-status.bad { color: #ffb0b9; }
.member-auth-field input.username-bad, .member-auth-field input.password-bad { border-color: #ff98a8; }
.member-auth-forgot { justify-self: end; margin-block: -3px 1px; color: #ffd0aa !important; font-size: .74rem; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.member-auth-consents { display: grid; gap: 15px; padding: 16px; border: 1px solid #5c4664; border-radius: 16px; background: #33243765; }
.member-auth-check { display: flex; align-items: flex-start; gap: 12px; min-height: 48px; margin: 0; color: #e7d8e7; font-size: .72rem; line-height: 1.65; cursor: pointer; }
.member-auth-check input { width: 23px; height: 23px; min-width: 23px; margin: 1px 0 0; accent-color: #ffc596; }
.member-auth-policy-links { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.member-auth-policy-links a { color: #ffd0aa; text-underline-offset: 3px; }
.member-auth-security { min-width: 0; max-width: 100%; }
.member-auth-security-note { margin: 0; color: #c5b1c8; font-size: .67rem; line-height: 1.6; }
.member-auth-submit { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 13px; width: 100%; padding: 14px 17px; border: 1px solid #ffb896; border-radius: 16px; color: #2a1924; background: linear-gradient(110deg, #ffc58f, #ffa48b); font: inherit; font-size: .86rem; font-weight: 800; line-height: 1.35; text-align: center; cursor: pointer; box-shadow: 0 7px 22px #05010825; }
.member-auth-submit-arrow { margin-left: auto; color: #643a3e; font-size: 1.25rem; line-height: 1; }
.member-auth-submit [data-auth-submit-label] { flex: 1; }
.member-auth-submit:disabled { color: #ede0e5; background: #655066; border-color: #957a96; cursor: wait; box-shadow: none; }
.member-auth-spinner { display: none; width: 19px; height: 19px; flex: 0 0 19px; border: 2px solid #715159; border-top-color: currentColor; border-radius: 50%; animation: member-auth-spin .8s linear infinite; }
.member-auth-submit[aria-busy="true"] .member-auth-spinner { display: inline-block; }
.member-auth-submit[aria-busy="true"] .member-auth-submit-arrow { display: none; }
.member-auth-submit-status { grid-column: 1 / -1; margin: -7px 0 0; color: #dcc8df; font-size: .7rem; line-height: 1.5; }
.member-auth-alerts { display: grid; gap: 9px; margin-bottom: 22px; }
.member-auth-message { margin: 0; padding: 13px 15px; border: 1px solid #8d788f; border-radius: 14px; color: #f8ecf7; background: #403045; font-size: .78rem; line-height: 1.65; overflow-wrap: anywhere; }
.member-auth-message.error { border-color: #c8778a; color: #ffe1e6; background: #54303e; }
.member-auth-message.ok { border-color: #749f84; color: #dff9e8; background: #294333; }
.member-auth-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 13px 22px; margin-top: 18px; padding-top: 22px; border-top: 1px solid #4d3a57; color: #bda9c6; font-size: .64rem; }
.member-auth-footer nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.member-auth-footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.member-auth-support { color: #e9c9a8 !important; }
.member-auth-native .member-auth-shell { max-width: 640px; }
.member-auth-native .member-auth-header { margin-bottom: 24px; }
.member-auth-native-title { margin-bottom: 27px; }
.member-auth-native-title .member-auth-lead { max-width: none; font-size: .81rem; }
.member-auth-native .member-auth-footer { justify-content: center; text-align: center; }
.member-auth-native .member-auth-footer nav { justify-content: center; }
.member-auth-result { display: grid; gap: 18px; }
.member-auth-result h1, .member-auth-result .member-auth-kicker { margin: 0; }
.member-auth-result-icon { width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid #b6debd; border-radius: 20px; color: #def8e5; background: #33563e; font-size: 1.8rem; }
.member-auth-result-icon.is-error { border-color: #e397a0; color: #ffdae0; background: #553341; }
.member-auth-page .registration-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.member-auth-page a:focus-visible, .member-auth-page button:focus-visible, .member-auth-page summary:focus-visible { outline: 3px solid #ffd2a7; outline-offset: 3px; }
@keyframes member-auth-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .member-auth-shell { padding-inline: 18px; }
  .member-auth-header { margin-bottom: 18px; }
  .member-auth-layout { grid-template-columns: 1fr; gap: 24px; padding-block: 0 14px; }
  .member-auth-back { margin-bottom: 14px; }
  .member-auth-orbit { display: none; }
  .member-auth-intro h1 { font-size: clamp(1.9rem, 8vw, 2.65rem); margin-bottom: 9px; }
  .member-auth-lead { max-width: 560px; font-size: .79rem; line-height: 1.65; }
  .member-auth-kicker { font-size: .61rem; }
  .member-auth-card { padding: 22px 20px; border-radius: 23px; }
  .member-auth-footer { justify-content: center; gap: 5px 16px; margin-top: 22px; text-align: center; }
  .member-auth-footer nav { justify-content: center; }
}
@media (max-width: 440px) {
  .member-auth-form-register { grid-template-columns: 1fr; }
  .member-auth-card { padding: 20px 17px; }
  .member-auth-brand strong { font-size: 1.12rem; }
  .member-auth-mark { width: 42px; height: 42px; flex-basis: 42px; border-radius: 14px; }
  .member-auth-mark img { width: 33px; height: 33px; }
  .member-auth-consents { padding: 13px; }
}
@media (max-width: 360px) {
  .member-auth-shell { padding-inline: 8px; }
  .member-auth-card { padding-inline: 12px; }
  .member-auth-security { margin-inline: -12px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .member-auth-spinner { animation: none; }
}
