#auth-screen569{--auth-gold:#eac77c;position:fixed;inset:0;z-index:100000;overflow:auto;background:#0b202b url('assets/auth_wind569.jpg') center/cover no-repeat;color:#fff0cf;font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-synthesis:none;letter-spacing:normal;line-height:1.5}
#auth-screen569[hidden],#auth-screen569 [hidden]{display:none!important}
#auth-screen569 *{box-sizing:border-box}
#auth-screen569:before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(90deg,#061b2430,#091c2760 40%,#091922f7 77%),linear-gradient(0deg,#071b26f5,transparent 60%)}
#auth-screen569 .auth-wrap{position:relative;max-width:1420px;min-height:100%;margin:auto;padding:35px 56px 26px;display:flex;flex-direction:column}
#auth-screen569 header{display:flex;justify-content:space-between;align-items:center;gap:20px}
#auth-screen569 .auth-logo{font-family:Georgia,serif;font-size:34px;font-weight:700;letter-spacing:3px;color:#fff1d0}
#auth-screen569 .auth-logo span{color:var(--auth-gold);font-size:44px}
#auth-screen569 button{font-family:inherit;cursor:pointer}
#auth-screen569 .auth-help{background:none;border:0;color:#e7eeee;font-size:14px;padding:12px 0}
#auth-screen569 .auth-layout{display:grid;grid-template-columns:minmax(0,1fr) 410px;gap:60px;align-items:center;flex:1;padding:35px 0}
#auth-screen569 .auth-story{max-width:580px;align-self:end;padding-bottom:55px}
#auth-screen569 .auth-kicker{color:var(--auth-gold);font-size:12px;font-weight:700;letter-spacing:2px;margin:0 0 22px}
#auth-screen569 .auth-story h1{font-size:clamp(34px,4vw,57px);line-height:1.22;font-weight:600;letter-spacing:-1px;margin:0 0 28px;text-shadow:0 3px 18px #0a222b}
#auth-screen569 .auth-story h1 span{display:block;color:var(--auth-gold)}
#auth-screen569 .auth-story p{font-size:17px;color:#dce8ec;line-height:1.8;margin:0}
#auth-screen569 .auth-schools{display:flex;flex-wrap:wrap;gap:16px;color:#ead297;font-size:12px;letter-spacing:1px;margin-top:34px}
#auth-screen569 .auth-panel{position:relative;background:linear-gradient(135deg,#16303bfc,#0b1b26fc);padding:34px 32px 28px;border:1px solid #a98b536e;border-radius:14px;box-shadow:0 24px 80px #0005,inset 0 0 0 4px #e8c9810a}
#auth-screen569 .auth-panel:before{content:"";height:3px;width:62px;position:absolute;left:calc(50% - 31px);top:-2px;background:var(--auth-gold)}
#auth-screen569 h2{font-size:29px;font-weight:600;letter-spacing:normal;margin:0 0 8px;text-align:center;line-height:1.4}
#auth-screen569 .auth-subtitle{font-size:14px;color:#afc3ce;text-align:center;margin:0 0 27px}
#auth-screen569 .auth-tabs{display:flex;gap:30px;border-bottom:1px solid #9ab0bb24;margin-bottom:25px}
#auth-screen569 .auth-tabs button{border:0;border-bottom:2px solid transparent;color:#9fb4c0;background:none;font-size:14px;font-weight:600;padding:0 0 13px;min-height:38px}
#auth-screen569 .auth-tabs button[aria-selected=true]{color:var(--auth-gold);border-bottom-color:var(--auth-gold)}
#auth-screen569 .auth-field{margin-bottom:20px}
#auth-screen569 .auth-field label{display:block;font-size:13px;font-weight:600;color:#d0dce0;margin-bottom:9px}
#auth-screen569 input:not([type=checkbox]){width:100%;height:49px;border:1px solid #7b9aa04d;background:#081b24;color:#f4efe2;border-radius:6px;padding:0 14px;font:16px "Segoe UI",Tahoma,Arial,sans-serif;outline-offset:3px;letter-spacing:normal}
#auth-screen569 input::placeholder{color:#819aa8}
#auth-screen569 .auth-password{position:relative}
#auth-screen569 .auth-password input{padding-right:60px}
#auth-screen569 .auth-eye{position:absolute;right:4px;top:4px;height:41px;min-width:50px;font-size:12px;color:#bfced4;border:0;background:none}
#auth-screen569 .auth-options{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:4px 0 26px;font-size:12px;color:#c5d2d8}
#auth-screen569 .auth-remember{display:flex;align-items:center;gap:7px}
#auth-screen569 input[type=checkbox]{accent-color:var(--auth-gold);margin:0;width:15px;height:15px}
#auth-screen569 .auth-forgot{border:0;background:none;color:var(--auth-gold);font-size:12px;padding:5px 0}
#auth-screen569 .auth-submit{width:100%;min-height:50px;background:linear-gradient(#f5dda2,#dbb56c);color:#382c1c;border:1px solid #ffebac;border-radius:6px;box-shadow:0 3px 0 #665131;font-size:14px;letter-spacing:1px;font-weight:700}
#auth-screen569 .auth-submit:hover{filter:brightness(1.06)}
#auth-screen569 .auth-submit:disabled{opacity:.7;cursor:wait}
#auth-screen569 .auth-note{margin:19px 0 0;font-size:13px;line-height:1.7;text-align:center;color:#eedca6;min-height:22px}
#auth-screen569 .auth-note[data-error=true]{color:#ffb7af}
#auth-screen569 footer{display:flex;justify-content:space-between;gap:18px;color:#abc0c9;font-size:12px;padding:18px 0 0;flex-wrap:wrap}
#auth-screen569 footer span:last-child{color:#d9c798}
@media(max-width:850px){#auth-screen569 .auth-wrap{padding:22px 24px;max-width:510px}#auth-screen569 .auth-logo{font-size:27px}#auth-screen569 .auth-logo span{font-size:35px}#auth-screen569 .auth-layout{display:flex;flex-direction:column;gap:25px;padding:22px 0;align-items:stretch}#auth-screen569 .auth-story{padding:0;align-self:stretch}#auth-screen569 .auth-story h1{font-size:29px;line-height:1.3;margin-bottom:0;letter-spacing:normal}#auth-screen569 .auth-story h1 span{display:inline}#auth-screen569 .auth-story p,#auth-screen569 .auth-schools,#auth-screen569 .auth-kicker{display:none}#auth-screen569 .auth-panel{padding:26px 25px}#auth-screen569 h2{font-size:25px}#auth-screen569 .auth-help{font-size:12px}#auth-screen569 footer{font-size:10px}#auth-screen569:before{background:linear-gradient(0deg,#071b26f7,#071b268a)}}

/* Cinematic login artwork v680 */
#auth-screen569{background-image:url('assets/auth_cinematic680.jpg');background-position:center center;background-color:#071722}
#auth-screen569:before{background:linear-gradient(90deg,rgba(3,14,23,.12),rgba(4,16,27,.04) 32%,rgba(5,18,29,.40) 58%,rgba(4,16,27,.78) 100%),linear-gradient(0deg,rgba(3,14,23,.94),rgba(3,14,23,.44) 30%,transparent 65%)}
#auth-screen569 .auth-wrap{max-width:1540px;padding-top:38px}
#auth-screen569 .auth-logo{text-shadow:0 3px 24px #0009}
#auth-screen569 .auth-layout{gap:100px;grid-template-columns:minmax(0,1fr) 410px}
#auth-screen569 .auth-story{padding-bottom:38px;max-width:650px}
#auth-screen569 .auth-story h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(38px,4vw,62px);line-height:1.18;font-weight:500;text-shadow:0 3px 25px #03111df0;margin-bottom:25px}
#auth-screen569 .auth-story p{text-shadow:0 2px 12px #000;color:#e2e7e7}
#auth-screen569 .auth-kicker{letter-spacing:3px;font-size:11px}
#auth-screen569 .auth-panel{background:linear-gradient(145deg,rgba(19,38,49,.94),rgba(6,20,31,.96));border-color:#bba16c66;border-radius:16px;box-shadow:0 28px 90px #0008,inset 0 0 0 4px #e8c98108;backdrop-filter:blur(12px)}
#auth-screen569 .auth-schools{letter-spacing:2px;color:#d8bc7e}
@media(max-width:850px){#auth-screen569{background-position:36% center}#auth-screen569 .auth-wrap{padding:22px 24px;max-width:510px}#auth-screen569 .auth-layout{gap:25px;display:flex}#auth-screen569 .auth-story{padding-bottom:0}#auth-screen569 .auth-story h1{font-size:29px;line-height:1.3}#auth-screen569:before{background:linear-gradient(0deg,#05131ff5,#071b2670)}#auth-screen569 .auth-panel{backdrop-filter:blur(8px)}}

/* Consistent Vietnamese glyphs v681 */
#auth-screen569 .auth-story h1{font-family:'Segoe UI',Tahoma,Arial,sans-serif;font-weight:600;letter-spacing:-.6px;font-kerning:normal;font-synthesis:none;line-height:1.25;font-size:clamp(36px,3.7vw,56px)}
@media(max-width:850px){#auth-screen569 .auth-story h1{font-size:29px;line-height:1.35;letter-spacing:0}}

/* Keep login readable in short browser windows and on phones with display cutouts. */
#auth-screen569 {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#auth-screen569 .auth-wrap {
  min-height: 100%;
  min-height: 100dvh;
  padding: max(18px, env(safe-area-inset-top)) max(clamp(18px, 4vw, 56px), env(safe-area-inset-right))
           max(16px, env(safe-area-inset-bottom)) max(clamp(18px, 4vw, 56px), env(safe-area-inset-left));
}
#auth-screen569 header { flex: none; gap: 12px; }
#auth-screen569 .auth-help { min-height: 44px; text-align: right; }
#auth-screen569 .auth-layout {
  flex: 1 0 auto;
  gap: clamp(24px, 5vw, 84px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  padding-block: clamp(16px, 4vh, 34px);
}
#auth-screen569 .auth-panel { width: 100%; min-width: 0; }
#auth-screen569 .auth-options { flex-wrap: wrap; }
#auth-screen569 .auth-tabs button { min-height: 44px; }
#auth-screen569 .auth-note { overflow-wrap: anywhere; }
#auth-screen569 .auth-note:empty { display: none; }

@media (max-width: 850px) and (min-height: 501px), (max-width: 599px) {
  #auth-screen569 .auth-wrap { max-width: 480px; }
  #auth-screen569 .auth-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
  #auth-screen569 .auth-story { display: none; }
  #auth-screen569 .auth-panel { padding: clamp(16px, 5vw, 26px); }
  #auth-screen569 h2 { font-size: clamp(20px, 5.4vw, 25px); }
  #auth-screen569 footer { gap: 6px 16px; padding-top: 8px; }
}

@media (max-height: 650px) {
  #auth-screen569 .auth-panel { padding: 18px 22px; }
  #auth-screen569 h2 { font-size: 23px; margin-bottom: 3px; }
  #auth-screen569 .auth-subtitle { margin-bottom: 10px; font-size: 13px; }
  #auth-screen569 .auth-tabs { margin-bottom: 10px; }
  #auth-screen569 .auth-tabs button { padding-bottom: 5px; }
  #auth-screen569 .auth-field { margin-bottom: 10px; }
  #auth-screen569 .auth-field label { margin-bottom: 3px; }
  #auth-screen569 input:not([type=checkbox]) { height: 44px; }
  #auth-screen569 .auth-eye { top: 0; height: 44px; }
  #auth-screen569 .auth-options { margin: 0 0 12px; }
  #auth-screen569 .auth-submit { min-height: 44px; }
  #auth-screen569 .auth-note { margin-top: 8px; }
  #auth-screen569 .auth-story { align-self: center; padding-bottom: 0; }
  #auth-screen569 .auth-story p,
  #auth-screen569 .auth-schools,
  #auth-screen569 .auth-kicker { display: none; }
}

@media (min-width: 600px) and (max-height: 500px) {
  #auth-screen569 .auth-wrap {
    max-width: 1024px;
    padding-top: max(4px, env(safe-area-inset-top));
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }
  #auth-screen569 .auth-logo { font-size: 21px; }
  #auth-screen569 .auth-logo span { font-size: 27px; }
  #auth-screen569 .auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    gap: clamp(12px, 4vw, 44px);
    padding-block: 4px;
  }
  #auth-screen569 .auth-story h1 { font-size: clamp(19px, 3.4vw, 34px); margin: 0; }
  #auth-screen569 .auth-panel { padding: 10px 14px 12px; }
  #auth-screen569 h2 { font-size: clamp(17px, 2.5vw, 22px); }
  #auth-screen569 .auth-subtitle { margin-bottom: 2px; }
  #auth-screen569 .auth-tabs { margin-bottom: 6px; }
  #auth-screen569 .auth-panel form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
  }
  #auth-screen569 .auth-field { min-width: 0; }
  #auth-screen569 .auth-field[data-confirm],
  #auth-screen569 .auth-options,
  #auth-screen569 .auth-submit,
  #auth-screen569 .auth-note { grid-column: 1 / -1; }
  #auth-screen569 .auth-options { margin-bottom: 6px; }
  #auth-screen569 footer { padding-top: 5px; }
}

@media (min-width: 600px) and (max-height: 380px) {
  #auth-screen569 .auth-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    grid-template-rows: auto 1fr;
    column-gap: clamp(12px, 4vw, 44px);
    align-items: start;
  }
  #auth-screen569 header { grid-area: 1 / 1; flex-wrap: wrap; gap: 0 12px; }
  #auth-screen569 .auth-layout { display: contents; }
  #auth-screen569 .auth-story { grid-area: 2 / 1; }
  #auth-screen569 .auth-panel { grid-area: 1 / 2 / 3; align-self: center; }
  #auth-screen569 footer { grid-column: 1 / -1; }
}
