[hidden]{display:none!important}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#05070b;color:#f7f8fa;font-family:Arial,'Noto Sans KR',sans-serif}.site-header{position:sticky;top:0;z-index:100;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 4vw;background:#05070be6;border-bottom:1px solid #ffffff14}.brand{display:flex;gap:10px;align-items:center;color:#f5c547;text-decoration:none;font-size:30px}.brand b,.brand small{display:block;color:#fff}.brand b{font-size:18px}.brand small{font-size:9px;letter-spacing:2px;color:#f5c547}nav{display:flex;gap:24px}nav a{display:inline-flex;align-items:center;justify-content:center;min-height:24px;line-height:1;color:#b7c0cc;text-decoration:none;font-weight:700;white-space:nowrap}.lang{position:relative}.lang button,#menuBtn{background:#111823;color:#fff;border:1px solid #ffffff22;border-radius:9px;padding:10px 12px}.lang #langMenu{position:absolute;right:0;top:48px;background:#111823;border:1px solid #ffffff22;border-radius:10px;padding:7px;width:170px}.lang #langMenu button{display:block;width:100%;text-align:left;border:0}#menuBtn{display:none}.hero{min-height:74vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:70px 20px;background:radial-gradient(circle at 50% 10%,#efb62b22,transparent 34%)}.eyebrow,.head>span{color:#f5c547;font-weight:900;letter-spacing:3px;font-size:12px}.hero h1{font-size:clamp(52px,8vw,108px);line-height:.98;margin:20px 0}.hero h1 span{color:#f5c547}.hero p{max-width:750px;color:#c8d0da;font-size:20px}.actions{display:flex;gap:12px;margin-top:24px}.actions a{padding:14px 20px;border-radius:10px;text-decoration:none;font-weight:800;background:#f5c547;color:#171000}.actions a+a{background:#111823;color:#fff;border:1px solid #ffffff22}section{padding:78px 4vw}.alt{background:#ffffff05}.head{max-width:1400px;margin:0 auto 24px}.head h2{font-size:clamp(30px,4vw,48px);margin:7px 0}.head p{color:#99a4b2}.frame{max-width:1400px;margin:auto;padding:10px;border:1px solid #ffffff1c;border-radius:17px;background:#ffffff08}.mapframe{max-width:1200px}.stage{position:relative;overflow:visible;border-radius:10px;background:#020406;touch-action:pan-x pan-y pinch-zoom;-webkit-overflow-scrolling:touch;overscroll-behavior:auto}.stage img{display:block;width:100%;max-width:100%;height:auto;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;touch-action:pan-x pan-y pinch-zoom}.hint{text-align:center;color:#7f8996;font-size:12px}.objectives{max-width:1400px;margin:0 auto 22px;padding:24px;border:1px solid #f5c54755;border-radius:16px;background:#111823}.objectives ul{display:grid;grid-template-columns:1fr 1fr;gap:10px;list-style:none;padding:0}.objectives li:before{content:'✓';color:#f5c547;margin-right:9px}.tabs{max-width:1400px;margin:0 auto 15px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.tabs button{padding:14px;background:#111823;color:#bbc4cf;border:1px solid #ffffff18;border-radius:9px;font-weight:800}.tabs .active{background:#f5c547;color:#171000}.teamcard{max-width:1400px;margin:auto;display:grid;grid-template-columns:300px 1fr;gap:16px}.quick,.details{background:#111823;border:1px solid #ffffff15;border-radius:16px;padding:23px}.quick{border-top:4px solid var(--accent)}.quick li,.detail li{margin:9px 0;line-height:1.55;color:#d4dae2}.detail{padding:17px;background:#ffffff05;border:1px solid #ffffff0f;border-radius:10px;margin-bottom:12px}.detail h4{color:#f5c547;margin:0 0 9px}.orders{max-width:1400px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.order{padding:18px;background:#111823;border:1px solid #ffffff15;border-radius:13px;display:flex;gap:12px}.num{width:32px;height:32px;display:grid;place-items:center;background:#f5c547;color:#171000;border-radius:8px;font-weight:900}footer{text-align:center;padding:35px;border-top:1px solid #ffffff15;color:#9aa5b2}footer b{display:block;color:#f5c547;margin-bottom:8px}.rtl{direction:rtl}@media(max-width:900px){#menuBtn{display:block}nav{display:none;position:absolute;left:12px;right:12px;top:70px;background:#111823;padding:15px;border-radius:12px;flex-direction:column}nav.open{display:flex}.teamcard{grid-template-columns:1fr}.orders{grid-template-columns:1fr 1fr}}@media(max-width:620px){.site-header{padding:11px}.brand small,#lname{display:none}.hero h1{font-size:52px}.actions{width:100%;flex-direction:column}.tabs{grid-template-columns:1fr 1fr}.objectives ul{grid-template-columns:1fr}.orders{grid-template-columns:1fr}section{padding:55px 12px}.frame{padding:5px}}.seasonframe{max-width:1400px}.seasonframe .stage{background:#020406}.seasonframe img{width:100%;height:auto}

@media(max-width:620px){.stage{max-height:none;overflow:visible}.hint{padding:0 12px}}
\n/* v22 Event Schedule */
.schedule-section{min-height:calc(100vh - 74px);padding-top:68px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(180deg,#070a10 0%,#05070b 100%)}
.schedule-head{text-align:center}.schedule-head p{margin-left:auto;margin-right:auto}
.event-schedule-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.event-card{position:relative;min-height:210px;padding:22px;border:1px solid #ffffff16;border-radius:16px;background:linear-gradient(145deg,#121a27,#0c121c);box-shadow:0 14px 34px #0000002e;overflow:hidden}
.event-card:before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:#596579}.event-card.event-upcoming:before{background:#f5c547}.event-card.event-live:before{background:#4de181}.event-card.event-finished{opacity:.58}.event-card.event-finished:before{background:#657185}
.event-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.event-number{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#ffffff0c;color:#8d99aa;font-size:11px;font-weight:900}.event-status{padding:6px 9px;border-radius:999px;background:#ffffff0b;color:#9ea9b8;font-size:10px;font-weight:900;letter-spacing:.08em}.event-upcoming .event-status{background:#f5c54714;color:#f5c547}.event-live .event-status{background:#4de18116;color:#70ee9d}
.event-card h3{margin:24px 0 18px;font-size:clamp(20px,2.2vw,30px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-countdown small{display:block;margin-bottom:6px;color:#768398;font-size:10px;font-weight:900;letter-spacing:.14em}.event-countdown strong{display:block;color:#f5c547;font-size:clamp(25px,3vw,40px);font-variant-numeric:tabular-nums;letter-spacing:.04em}.event-live .event-countdown strong{color:#70ee9d}.event-finished .event-countdown strong{color:#8c97a7;font-size:24px}.event-card time{display:block;margin-top:20px;color:#8e9aab;font-size:12px;font-weight:700}.event-card time small{display:block;margin-bottom:5px;color:#6f7c8f;font-size:9px;font-weight:900;letter-spacing:.14em}.event-card time strong{display:block;color:#aeb8c7;font-size:13px;font-variant-numeric:tabular-nums;letter-spacing:.03em}
.event-schedule-empty{max-width:1400px;margin:0 auto;padding:30px;border:1px dashed #ffffff18;border-radius:14px;color:#788597;text-align:center}
@media(max-width:900px){.event-schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.event-schedule-grid{grid-template-columns:1fr}.event-card{min-height:185px}.schedule-section{padding-top:50px}}



/* v26: legacy timezone explanation removed from public schedule header */
.schedule-timezone{display:none!important}

/* v38: unified active state for every top navigation item */
nav a.active{color:#f5c547!important}

/* v39: identical active appearance for every main navigation link */
#nav a.active,#nav a[aria-current="page"]{color:#f5c547!important}


/* v40: Mobile header layout only — desktop remains unchanged */
@media (max-width:900px){
  .site-header{
    position:sticky;
    display:grid;
    grid-template-columns:56px minmax(0,1fr) 86px;
    align-items:center;
    min-height:70px;
    direction:ltr;
  }
  .site-header #menuBtn{
    grid-column:1;
    grid-row:1;
    justify-self:start;
    margin:0;
  }
  .site-header .brand{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    z-index:1;
    margin:0;
    white-space:nowrap;
  }
  .site-header .lang{
    grid-column:3;
    grid-row:1;
    justify-self:end;
    margin:0;
    z-index:2;
  }
  .site-header nav{
    top:calc(100% + 8px);
  }
}
@media (max-width:620px){
  .site-header{
    grid-template-columns:52px minmax(0,1fr) 72px;
    min-height:68px;
  }
  .site-header .brand{
    gap:8px;
    font-size:27px;
  }
  .site-header .brand b{
    font-size:17px;
  }
}

/* v61 official alliance home */
.brand-hero{min-height:78vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:90px 20px;background:radial-gradient(circle at 50% 8%,#f5c54720,transparent 34%),linear-gradient(180deg,#05070b,#090d14)}.brand-hero h1{margin:18px 0 8px;font-size:clamp(72px,13vw,170px);line-height:.85;letter-spacing:.08em;color:#f5c547;text-shadow:0 0 45px #f5c54722}.brand-manifesto{display:flex;flex-direction:column;margin:24px 0 20px;font-family:Georgia,serif;font-size:clamp(28px,4.6vw,58px);line-height:1.08}.brand-manifesto strong:last-child{color:#f5c547}.brand-hero>p{max-width:780px;color:#aeb8c7;font-size:clamp(16px,2vw,21px);line-height:1.75}.brand-principles{width:min(980px,100%);display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:38px}.brand-principles span{padding:20px 16px;border-top:1px solid #f5c54755;border-bottom:1px solid #ffffff10;color:#e5e8ed;font-weight:800}.immigration-section{padding:90px 4vw;background:#070a10}.immigration-card{position:relative;max-width:1200px;margin:auto;padding:54px 64px;border:1px solid #f5c54755;border-radius:24px;background:linear-gradient(135deg,#131b28,#0a0e15);box-shadow:0 24px 70px #0005;overflow:hidden}.immigration-card:after{content:'';position:absolute;width:260px;height:260px;border-radius:50%;right:-70px;top:-90px;background:#f5c54712}.immigration-status{display:inline-flex;padding:7px 10px;border-radius:999px;background:#f5c54714;color:#f5c547;font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.immigration-card h2{margin:18px 0 12px;font-size:clamp(34px,5vw,64px)}.immigration-card p{color:#aeb8c7;font-size:18px}.immigration-arrow{position:absolute;right:55px;bottom:42px;color:#f5c547;font-size:52px}.rtl .immigration-arrow{right:auto;left:55px;transform:scaleX(-1)}@media(max-width:760px){.brand-principles{grid-template-columns:1fr}.immigration-card{padding:38px 25px 90px}.immigration-arrow{right:25px;bottom:22px}.rtl .immigration-arrow{left:25px}.brand-hero{min-height:auto;padding:80px 18px}}

/* v63: multilingual Google Forms immigration application */
.immigration-card{display:block;color:inherit;text-decoration:none;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.immigration-card:hover,.immigration-card:focus-visible{transform:translateY(-4px);border-color:#f5c547aa;box-shadow:0 30px 85px #0008,0 0 0 1px #f5c54722;outline:none}
.immigration-copy{max-width:820px;line-height:1.75;margin:0 0 28px}
.immigration-button{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border-radius:12px;background:#f5c547;color:#171000;font-weight:900;letter-spacing:.02em;box-shadow:0 10px 26px #f5c54720}
.immigration-process{position:relative;z-index:1;display:block;margin-top:26px;padding-top:20px;border-top:1px solid #ffffff12;color:#d6dce5;font-size:14px;font-weight:700;line-height:1.6}
.immigration-external{position:relative;z-index:1;display:block;margin-top:8px;color:#788597;font-size:11px}
.immigration-card:hover .immigration-arrow{transform:translateX(7px)}
.rtl .immigration-card:hover .immigration-arrow{transform:scaleX(-1) translateX(7px)}
.immigration-arrow{transition:transform .22s ease}
@media(max-width:760px){.immigration-copy{font-size:16px!important}.immigration-button{width:100%}.immigration-process{padding-right:0;padding-left:0;font-size:12px}.immigration-external{font-size:10px}}


/* v82: EZPK autoplay alliance video */
.ezpk-video-section{padding:0 4vw 78px;background:#05070b}
.ezpk-video-frame{position:relative;width:min(700px,50%);aspect-ratio:16/9;margin:0 auto;overflow:hidden;border:1px solid #ffffff1c;border-radius:17px;background:#020406;box-shadow:0 24px 70px #0006}
.ezpk-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;pointer-events:none}
.ezpk-video-cover{position:absolute;inset:0;z-index:3;width:100%;height:100%;padding:0;border:0;background:#020406 url("https://i.ytimg.com/vi/mgoCrdaiI6E/maxresdefault.jpg") center/cover no-repeat;cursor:pointer;opacity:1;visibility:visible;transition:opacity .45s ease,visibility .45s ease}
.ezpk-video-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#00000012 45%,#0000007d 100%)}
.ezpk-video-cover span{position:absolute;left:50%;bottom:24px;z-index:1;transform:translateX(-50%);font-size:14px;font-weight:800;letter-spacing:.28em;color:#f4d58a;text-shadow:0 2px 12px #000}
.ezpk-video-cover.is-hidden{opacity:0;visibility:hidden;pointer-events:none}
.ezpk-video-overlay{position:absolute;inset:0;z-index:2;background:transparent;pointer-events:none}
@media(max-width:768px){.ezpk-video-section{padding:0 12px 55px}.ezpk-video-frame{width:100%;border-radius:12px}.ezpk-video-cover span{bottom:16px;font-size:12px}}


/* v87: unified multilingual alliance member password gate */
.member-gate-wrap{min-height:calc(100vh - 72px);display:grid;place-items:center;padding:54px 20px;background:radial-gradient(circle at 50% 10%,#f5c54718,transparent 38%)}
.member-gate-card{width:min(760px,100%);margin-inline:auto;padding:54px 34px;text-align:center;border:1px solid rgba(245,197,71,.26);border-radius:24px;background:linear-gradient(145deg,rgba(18,24,35,.97),rgba(8,12,19,.99));box-shadow:0 28px 80px rgba(0,0,0,.5)}
.member-gate-icon{width:70px;height:70px;margin:0 auto 18px;display:grid;place-items:center;border-radius:50%;font-size:30px;background:rgba(245,197,71,.09);border:1px solid rgba(245,197,71,.28)}
.member-gate-section{display:block;margin-bottom:14px;color:#f5c547;font-size:clamp(.72rem,1.6vw,.88rem);font-weight:900;line-height:1.4;letter-spacing:.18em;text-transform:uppercase}
.member-gate-title{max-width:720px;margin:0 auto;color:#fff;font-size:clamp(2.2rem,6vw,4rem)!important;font-weight:900;line-height:1.14;letter-spacing:-.035em;text-wrap:balance;overflow-wrap:anywhere}
.member-gate-description{max-width:620px;margin:20px auto 30px!important;color:#aeb8c7!important;font-size:clamp(.96rem,2vw,1.08rem);line-height:1.7}
.member-gate-form{max-width:620px;margin:0 auto;text-align:left}
.member-gate-form>label{display:block;margin:0 0 9px;color:#dce2ea;font-size:.9rem;font-weight:800}
.member-gate-row{display:flex;gap:10px}
.member-gate-row input{min-width:0;flex:1;height:52px;padding:0 16px;border-radius:12px;border:1px solid #303b4d;background:#080c13;color:#fff;font-size:1rem;outline:none}
.member-gate-row input:focus{border-color:#f5c547;box-shadow:0 0 0 3px rgba(245,197,71,.11)}
.member-gate-row button{min-height:52px;padding:0 22px;border:1px solid #f5c547;border-radius:12px;background:#f5c547;color:#101217;font-weight:900;white-space:nowrap;cursor:pointer}
.member-gate-error{min-height:22px;margin:10px 0 0!important;color:#ff7979!important;font-size:.87rem;text-align:center}
.rtl .member-gate-form{text-align:right}
@media(max-width:620px){.member-gate-wrap{padding:34px 16px}.member-gate-card{padding:38px 20px;border-radius:18px}.member-gate-icon{width:62px;height:62px;font-size:27px}.member-gate-title{font-size:clamp(2rem,10vw,2.8rem)!important}.member-gate-description{margin:16px auto 24px!important}.member-gate-row{flex-direction:column}.member-gate-row button{width:100%}}

/* v339: shared member-gate UX/UI for every protected page */
.member-gate-wrap{
  min-height:calc(100dvh - 72px);padding:48px 20px;
  background:radial-gradient(circle at 50% 12%,rgba(245,197,71,.11),transparent 38%)
}
.member-gate-card{
  box-sizing:border-box;width:min(640px,100%);padding:48px 34px 34px;
  border:1px solid #2c384a;border-radius:18px;
  background:linear-gradient(180deg,#111a27,#0a1019);
  box-shadow:0 24px 70px rgba(0,0,0,.56);text-align:center
}
.member-gate-icon{
  width:62px;height:62px;margin:0 auto 17px;border:1px solid rgba(245,197,71,.32);
  background:rgba(245,197,71,.10);color:#f5c547;font-size:27px
}
.member-gate-section{margin-bottom:12px;color:#f5c547;font-size:12px;line-height:1.3;letter-spacing:.18em}
.member-gate-title{font-size:clamp(2.15rem,5.4vw,3.6rem)!important;line-height:1.1}
.member-gate-description{max-width:540px;margin:16px auto 0!important;color:#aeb8c7!important;font-size:16px;line-height:1.7}
.member-gate-card .member-login-actions{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;
  max-width:500px;margin:26px auto 0!important
}
.member-gate-card .member-login-actions button,
.member-gate-card .member-login-actions a{
  box-sizing:border-box;min-height:48px!important;display:grid!important;place-items:center;
  padding:0 16px!important;border-radius:11px!important;font:inherit;font-weight:900!important;
  line-height:1.2;text-decoration:none!important;cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease
}
.member-gate-card .member-login-primary{
  border:1px solid #f5c547!important;background:#f5c547!important;color:#171000!important;
  box-shadow:0 8px 22px rgba(245,197,71,.14)
}
.member-gate-card .member-login-secondary{
  border:1px solid #344258!important;background:#151e2c!important;color:#fff!important
}
.member-gate-card .member-login-actions button:hover,
.member-gate-card .member-login-actions a:hover{transform:translateY(-1px)}
.member-gate-card .member-login-primary:hover{background:#ffd85a!important;border-color:#ffd85a!important}
.member-gate-card .member-login-secondary:hover{background:#1b2738!important;border-color:#4a5b73!important}
.member-gate-card .member-login-actions button:focus-visible,
.member-gate-card .member-login-actions a:focus-visible{outline:3px solid rgba(159,205,244,.45);outline-offset:3px}
.member-gate-error{min-height:0;margin:12px 0 0!important}
.member-gate-error:empty{display:none}
@media(max-width:620px){
  .member-gate-wrap{padding:28px 14px}
  .member-gate-card{padding:38px 20px 24px;border-radius:16px}
  .member-gate-title{font-size:clamp(2rem,10vw,2.7rem)!important}
  .member-gate-description{font-size:14px}
}
@media(max-width:480px){
  .member-gate-card .member-login-actions{grid-template-columns:1fr!important}
}


/* v152: Account navigation Premium Shine Sweep 2.0 — language-independent, desktop + mobile */
@keyframes ezpkAccountShineSweep{
  0%,58%{transform:translateX(-210%) rotate(17deg);opacity:0}
  63%{opacity:.25}
  69%{opacity:1}
  88%{transform:translateX(310%) rotate(17deg);opacity:1}
  94%,100%{transform:translateX(310%) rotate(17deg);opacity:0}
}
@keyframes ezpkAccountShinePulse{
  0%,58%,100%{transform:scale(1);color:inherit;text-shadow:none;filter:none}
  66%{transform:scale(1.02);color:#ffe8a3;text-shadow:0 0 8px rgba(245,197,71,.72),0 0 15px rgba(245,197,71,.42);filter:brightness(1.12)}
  75%{transform:scale(1.04);color:#fff7dc;text-shadow:0 0 10px rgba(255,239,177,.96),0 0 22px rgba(245,197,71,.7);filter:brightness(1.28)}
  88%{transform:scale(1.015);color:#f8d86f;text-shadow:0 0 7px rgba(245,197,71,.58),0 0 16px rgba(245,197,71,.34);filter:brightness(1.1)}
}
[data-shared-header] a.nav-account-shine{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  padding-inline:6px;
  transform-origin:center;
  animation:ezpkAccountShinePulse 3s ease-in-out infinite;
  will-change:transform,color,text-shadow,filter;
}
[data-shared-header] a.nav-account-shine::before{
  content:'';
  position:absolute;
  z-index:1;
  top:-70%;
  left:0;
  width:58%;
  height:240%;
  pointer-events:none;
  opacity:0;
  background:linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,.08) 12%,
    rgba(255,224,116,.42) 34%,
    rgba(255,255,255,.98) 50%,
    rgba(255,229,137,.68) 66%,
    rgba(255,255,255,.10) 88%,
    transparent 100%);
  filter:blur(.15px) drop-shadow(0 0 8px rgba(255,229,137,.75));
  transform:translateX(-210%) rotate(17deg);
  animation:ezpkAccountShineSweep 3s ease-in-out infinite;
  will-change:transform,opacity;
}
[data-shared-header] a.nav-account-shine::after{
  content:'';
  position:absolute;
  z-index:-1;
  inset:1px -3px;
  border-radius:8px;
  pointer-events:none;
  opacity:0;
  box-shadow:0 0 0 1px rgba(245,197,71,.18),0 0 14px rgba(245,197,71,.28),0 0 25px rgba(245,197,71,.18);
  animation:ezpkAccountAura 3s ease-in-out infinite;
}
@keyframes ezpkAccountAura{
  0%,58%,100%{opacity:0}
  68%{opacity:.55}
  76%{opacity:1}
  90%{opacity:.25}
}
[data-shared-header] a.nav-account-shine:hover,
[data-shared-header] a.nav-account-shine:focus-visible,
[data-shared-header] a.nav-account-shine.active{
  color:#f5c547;
}
@media (prefers-reduced-motion:reduce){
  [data-shared-header] a.nav-account-shine{animation:none}
  [data-shared-header] a.nav-account-shine::before,
  [data-shared-header] a.nav-account-shine::after{animation:none;opacity:0}
}


/* v172: alliance gate swaps directly to protected content */
.alliance-content-reveal{animation:allianceContentReveal .25s ease-out both}
@keyframes allianceContentReveal{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}

/* v176: shared alliance logout row */
.alliance-logout-row{display:flex;justify-content:flex-end;width:100%;margin:0 0 14px;padding:0 2px}
.alliance-logout-btn{min-height:36px;padding:7px 14px;border:1px solid rgba(245,197,71,.65);border-radius:8px;background:rgba(245,197,71,.08);color:#f5c547;font:inherit;font-size:13px;font-weight:800;cursor:pointer;transition:background .2s ease,border-color .2s ease,color .2s ease}
.alliance-logout-btn:hover,.alliance-logout-btn:focus-visible{border-color:#f5c547;background:#f5c547;color:#111722}
@media(max-width:620px){.alliance-logout-row{justify-content:center;margin-bottom:16px}}

/* v177: alliance logout placement and stronger CTA styling */
#season6Protected > .alliance-logout-row{
  width:min(calc(100% - 40px),1280px);
  margin:18px auto 0;
  padding:0;
}
#bgbProtected > .alliance-logout-row{
  width:min(calc(100% - 8vw),1400px);
  margin:18px auto 0;
  padding:0;
}
#requestProtected > .alliance-logout-row{
  width:min(calc(100% - 8vw),1280px);
  margin:18px auto 0;
  padding:0;
}
.alliance-logout-btn{
  min-height:40px;
  padding:9px 18px;
  border:1px solid #f5c547;
  border-radius:9px;
  background:#f5c547;
  color:#111111;
  font:inherit;
  font-size:13px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(0,0,0,.28);
  transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.alliance-logout-btn:hover,
.alliance-logout-btn:focus-visible{
  border-color:#ffd96a;
  background:#ffd96a;
  color:#111111;
  transform:translateY(-1px);
  box-shadow:0 11px 28px rgba(0,0,0,.34);
}
.alliance-logout-btn:active{
  border-color:#e8b732;
  background:#e8b732;
  color:#111111;
  transform:translateY(0);
  box-shadow:0 5px 14px rgba(0,0,0,.26);
}
.alliance-logout-row:not([hidden]) + .season6-page .season6-content-section:first-child .section-title-block,
.alliance-logout-row:not([hidden]) + .map-section .section-head,
.alliance-logout-row:not([hidden]) + .request-hero{
  padding-top:26px;
}
@media(max-width:620px){
  #season6Protected > .alliance-logout-row,
  #bgbProtected > .alliance-logout-row,
  #requestProtected > .alliance-logout-row{
    width:calc(100% - 24px);
    margin:14px auto 0;
    padding:0;
    justify-content:center;
  }
  .alliance-logout-btn{
    display:block;
    width:100%;
    min-height:46px;
    padding:12px 16px;
    text-align:center;
    font-size:14px;
  }
  .alliance-logout-row:not([hidden]) + .season6-page .season6-content-section:first-child .section-title-block,
  .alliance-logout-row:not([hidden]) + .map-section .section-head,
  .alliance-logout-row:not([hidden]) + .request-hero{
    padding-top:24px;
  }
}


/* v184: common authentication frame */
.site-header{
  flex-wrap:nowrap;
}
.site-header #nav{
  flex:1 1 auto;
  justify-content:center;
  min-width:0;
}
.header-account{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex:0 0 auto;
  min-height:40px;
}
.account-loading{
  color:#7f8996;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  white-space:nowrap;
}
.account-button,
.account-member-trigger,
.account-menu button,
.mobile-account-action,
.mobile-account-actions button{
  font:inherit;
}
.account-button{
  min-height:38px;
  padding:0 13px;
  border:1px solid #ffffff22;
  border-radius:9px;
  color:#fff;
  background:#111823;
  font-size:11px;
  font-weight:900;
  letter-spacing:.04em;
  cursor:pointer;
  white-space:nowrap;
}
.account-login{
  margin-right:7px;
  color:#171000;
  background:#f5c547;
  border-color:#f5c547;
  font-weight:700;
}
.account-signup{
  color:#171000;
  background:#fff;
  border-color:#fff;
  font-weight:700;
}
.account-button:hover,
.account-button:focus-visible,
.account-member-trigger:hover,
.account-member-trigger:focus-visible{
  border-color:#f5c54788;
  outline:none;
}
.account-member{
  position:relative;
}
.account-member-trigger{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:40px;
  max-width:230px;
  padding:0 11px;
  border:1px solid #ffffff22;
  border-radius:9px;
  color:#fff;
  background:#111823;
  cursor:pointer;
}
.account-member-name{
  max-width:145px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  font-weight:900;
}
.account-rank{
  flex:0 0 auto;
  padding:3px 6px;
  border-radius:999px;
  background:#ffffff0d;
  color:#c7d0db;
  font-size:9px;
  font-weight:900;
  letter-spacing:.05em;
}
.rank-r5{
  color:#f5c547!important;
}
.account-menu{
  position:absolute;
  z-index:120;
  right:0;
  top:calc(100% + 9px);
  width:210px;
  padding:8px;
  border:1px solid #ffffff22;
  border-radius:12px;
  background:#111823;
  box-shadow:0 18px 50px #000a;
}
.account-menu-profile{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:10px 10px 12px;
  margin-bottom:5px;
  border-bottom:1px solid #ffffff12;
}
.account-menu-profile strong{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#fff;
  font-size:13px;
}
.account-menu-profile span{
  color:#909baa;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
}
.account-menu button{
  display:block;
  width:100%;
  padding:10px;
  border:0;
  border-radius:8px;
  color:#d7dde6;
  background:transparent;
  text-align:left;
  font-size:11px;
  font-weight:900;
  cursor:pointer;
}
.account-menu button:hover,
.account-menu button:focus-visible{
  color:#171000;
  background:#f5c547;
  outline:none;
}
.mobile-account-slot,
.mobile-language-icon{
  display:none;
}
.rtl .account-menu{
  right:auto;
  left:0;
}
.rtl .account-menu button{
  text-align:right;
}

@media (max-width:1180px) and (min-width:901px){
  .site-header{
    gap:12px;
    padding-left:2vw;
    padding-right:2vw;
  }
  .site-header #nav{
    gap:13px;
  }
  .site-header #nav a{
    font-size:11px;
  }
  .brand{
    font-size:26px;
  }
  .brand b{
    font-size:16px;
  }
  .account-member-trigger{
    max-width:180px;
  }
  .account-member-name{
    max-width:100px;
  }
  .account-button{
    padding:0 9px;
    font-size:10px;
  }
  .lang button{
    padding-left:9px;
    padding-right:9px;
  }
}

@media (max-width:900px){
  .site-header{
    display:grid;
    grid-template-columns:minmax(0,1fr) 44px 44px;
    gap:7px;
    min-height:68px;
    padding:10px 12px;
    direction:ltr;
  }
  .site-header .brand{
    position:static;
    grid-column:1;
    grid-row:1;
    justify-self:start;
    transform:none;
    max-width:100%;
    overflow:hidden;
    z-index:1;
  }
  .site-header .lang{
    grid-column:2;
    grid-row:1;
    justify-self:center;
    z-index:3;
  }
  .site-header #menuBtn{
    display:block;
    grid-column:3;
    grid-row:1;
    justify-self:end;
    width:42px;
    min-height:42px;
    padding:0;
    margin:0;
    z-index:3;
  }
  .site-header .lang #langBtn{
    display:grid;
    place-items:center;
    width:42px;
    min-height:42px;
    padding:0;
  }
  .desktop-language-label{
    display:none;
  }
  .mobile-language-icon{
    display:inline;
    font-size:18px;
    line-height:1;
  }
  .site-header .lang #langMenu{
    position:fixed;
    left:12px;
    right:12px;
    top:76px;
    width:auto;
    max-height:min(560px,calc(100vh - 90px));
    overflow:auto;
    padding:10px;
    border-radius:13px;
  }
  .site-header .lang #langMenu button{
    min-height:43px;
    padding:10px 12px;
    font-size:13px;
  }
  .header-account{
    display:none;
  }
  .site-header #nav{
    display:none;
    position:fixed;
    left:12px;
    right:12px;
    top:76px;
    max-height:calc(100vh - 90px);
    overflow:auto;
    flex-direction:column;
    align-items:stretch;
    gap:2px;
    padding:12px;
    border:1px solid #ffffff22;
    border-radius:13px;
    background:#111823;
    box-shadow:0 20px 55px #000b;
  }
  .site-header #nav.open{
    display:flex;
  }
  .site-header #nav>a{
    justify-content:flex-start;
    min-height:42px;
    padding:0 10px;
    border-radius:8px;
    font-size:12px;
  }
  .site-header #nav>a:hover,
  .site-header #nav>a:focus-visible{
    background:#ffffff08;
  }
  .mobile-account-slot{
    display:block;
    direction:inherit;
  }
  .mobile-account-heading{
    padding:8px 10px 7px;
    color:#788597;
    font-size:9px;
    font-weight:900;
    letter-spacing:.14em;
  }
  .mobile-account-action,
  .mobile-account-actions button{
    display:block;
    width:100%;
    min-height:42px;
    padding:0 10px;
    border:0;
    border-radius:8px;
    color:#e1e6ed;
    background:transparent;
    text-align:left;
    font-size:12px;
    font-weight:900;
    cursor:pointer;
  }
  .mobile-account-primary{
    color:#171000;
    background:#f5c547;
  }
  .mobile-account-profile{
    display:flex;
    flex-direction:column;
    gap:5px;
    padding:10px;
  }
  .mobile-account-profile strong{
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#fff;
    font-size:15px;
  }
  .mobile-account-profile span{
    color:#929dac;
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
  }
  .mobile-account-divider{
    height:1px;
    margin:10px 4px;
    background:#ffffff12;
  }
  .rtl .site-header{
    direction:rtl;
    grid-template-columns:44px 44px minmax(0,1fr);
  }
  .rtl .site-header .brand{
    grid-column:3;
    justify-self:end;
  }
  .rtl .site-header .lang{
    grid-column:2;
  }
  .rtl .site-header #menuBtn{
    grid-column:1;
    justify-self:start;
  }
  .rtl .mobile-account-action,
  .rtl .mobile-account-actions button,
  .rtl .site-header #nav>a{
    text-align:right;
    justify-content:flex-start;
  }
}

@media (max-width:620px){
  .site-header{
    grid-template-columns:minmax(0,1fr) 42px 42px;
  }
  .site-header .brand{
    gap:7px;
    font-size:25px;
  }
  .site-header .brand b{
    font-size:16px;
  }
  .site-header .brand small{
    display:none;
  }
  .rtl .site-header{
    grid-template-columns:42px 42px minmax(0,1fr);
  }
}


/* EZPK v186 — shared authentication UI */
.auth-modal-open{overflow:hidden}
.ezpk-auth-modal[hidden],.ezpk-global-toast[hidden]{display:none!important}
.ezpk-auth-modal{position:fixed;inset:0;z-index:20000;display:grid;place-items:center;padding:18px}
.ezpk-auth-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.76);backdrop-filter:blur(6px)}
.ezpk-auth-dialog{position:relative;z-index:1;width:min(430px,100%);padding:28px;border:1px solid #2b3545;border-radius:20px;background:linear-gradient(180deg,#121a26,#080d14);box-shadow:0 28px 80px rgba(0,0,0,.62);color:#f7f9fc}
.ezpk-auth-close{position:absolute;top:10px;right:12px;width:40px;height:40px;border:0;background:transparent;color:#9ca9ba;font-size:28px;cursor:pointer}
.ezpk-auth-eyebrow{margin:0 0 7px;color:#69d2ff;font-size:12px;font-weight:900;letter-spacing:.15em}
.ezpk-auth-dialog h2{margin:0 0 22px;font-size:30px}
#ezpkLoginForm{display:grid;gap:15px}
#ezpkLoginForm label{display:grid;gap:7px;color:#c8d1df;font-size:13px;font-weight:800}
#ezpkLoginForm input{width:100%;min-height:50px;padding:0 14px;border:1px solid #303c4e;border-radius:12px;background:#070c13;color:#fff;font:inherit;font-size:16px}
#ezpkLoginForm input:focus{outline:2px solid rgba(91,205,255,.32);border-color:#63cffc}
.ezpk-password-field{position:relative}
.ezpk-password-field input{padding-right:54px!important}
.ezpk-password-toggle{position:absolute;right:5px;top:5px;width:40px;height:40px;border:0;border-radius:9px;background:#172130;color:#a9b8ca;cursor:pointer;font-weight:900}
.ezpk-auth-error{margin:0;padding:11px 12px;border:1px solid rgba(239,68,68,.38);border-radius:10px;background:rgba(239,68,68,.1);color:#ff9a9a;font-size:13px;line-height:1.45}
.ezpk-auth-submit{min-height:50px;border:0;border-radius:12px;background:linear-gradient(135deg,#58ccff,#8982ff);color:#071019;font:inherit;font-weight:950;cursor:pointer}
.ezpk-auth-submit:disabled{opacity:.55;cursor:wait}
.ezpk-auth-switch{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:19px;color:#929fb1;font-size:13px}
.ezpk-auth-switch a{color:#7bd9ff;font-weight:900;text-decoration:none}
.ezpk-global-toast{position:fixed;left:50%;bottom:24px;z-index:21000;transform:translateX(-50%);width:min(420px,calc(100% - 28px));padding:13px 16px;border:1px solid rgba(34,197,94,.5);border-radius:12px;background:#121b27;color:#fff;text-align:center;font-weight:850;box-shadow:0 18px 48px rgba(0,0,0,.5)}
.ezpk-global-toast.error{border-color:rgba(239,68,68,.55)}
html[dir="rtl"] .ezpk-auth-close{right:auto;left:12px}
html[dir="rtl"] .ezpk-password-field input{padding-right:14px!important;padding-left:54px!important}
html[dir="rtl"] .ezpk-password-toggle{right:auto;left:5px}
@media(max-width:640px){
  .ezpk-auth-modal{padding:0;align-items:stretch}
  .ezpk-auth-dialog{width:100%;min-height:100dvh;border:0;border-radius:0;padding:72px 20px 28px;overflow:auto}
  .ezpk-auth-close{top:16px;right:16px}
  html[dir="rtl"] .ezpk-auth-close{right:auto;left:16px}
}

/* v187: mobile account profile top clipping fix */
@media (max-width:900px){
  .mobile-account-slot{
    padding-top:8px;
    overflow:visible;
  }
  .mobile-account-profile{
    padding:16px 10px 12px;
    overflow:visible;
  }
  .mobile-account-profile strong{
    display:block;
    padding-top:2px;
    overflow:hidden;
    line-height:1.35;
  }
}

/* v188: definitive mobile account nickname clipping repair */
@media (max-width:900px){
  .mobile-menu.open{padding-top:max(26px,env(safe-area-inset-top))!important;overflow-y:auto!important}
  .mobile-account-slot{padding-top:18px!important;min-height:92px!important;overflow:visible!important;align-items:flex-start!important}
  .mobile-account-profile{min-height:76px!important;padding:22px 10px 14px!important;overflow:visible!important;align-items:flex-start!important;transform:none!important;margin-top:0!important}
  .mobile-account-profile strong{
    min-height:1.55em!important;line-height:1.5!important;padding:3px 0 1px!important;
    overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
    transform:none!important;margin-top:0!important;
  }
}


/* v189-a: responsive desktop navigation */
@media (min-width:901px){
  [data-shared-header].site-header{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr) auto auto auto!important;
    gap:12px!important;
  }
  [data-shared-header] #nav{
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    gap:8px!important;
    position:relative!important;
    overflow:visible!important;
  }
  [data-shared-header] .desktop-nav-items{
    display:flex;
    align-items:center;
    gap:18px;
    min-width:0;
    white-space:nowrap;
    overflow:hidden;
  }
  [data-shared-header] .nav-more{position:relative;flex:0 0 auto}
  [data-shared-header] #navMoreButton{
    min-height:38px;padding:8px 10px;border:1px solid #ffffff22;border-radius:9px;
    background:#111823;color:#d5dde8;font:inherit;font-weight:800;white-space:nowrap;cursor:pointer
  }
  [data-shared-header] .nav-more.active #navMoreButton{color:#f5c547}
  [data-shared-header] #navMoreMenu{
    position:absolute;right:0;top:46px;z-index:130;min-width:190px;padding:7px;
    border:1px solid #ffffff22;border-radius:11px;background:#111823;
    box-shadow:0 18px 44px rgba(0,0,0,.45)
  }
  [data-shared-header] #navMoreMenu a{
    display:block!important;padding:11px 12px;border-radius:8px;line-height:1.2;white-space:nowrap
  }
  [data-shared-header] #navMoreMenu a:hover{background:#ffffff0c}
  html[dir="rtl"] [data-shared-header] #navMoreMenu{right:auto;left:0}
}

/* v189-a: isolate the mobile account area from the site menu */
@media (max-width:900px){
  [data-shared-header] #nav{
    max-height:calc(100dvh - 82px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    align-items:stretch!important;
  }
  [data-shared-header] .desktop-nav-items{display:contents!important}
  [data-shared-header] .nav-more{display:none!important}
  [data-shared-header] .mobile-account-slot{
    display:block!important;flex:none!important;width:100%!important;
    min-height:0!important;height:auto!important;padding:24px 0 12px!important;margin:0!important;
    overflow:visible!important;position:static!important;transform:none!important
  }
  [data-shared-header] .mobile-account-profile{
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    justify-content:flex-start!important;width:100%!important;min-height:92px!important;height:auto!important;
    padding:26px 12px 16px!important;margin:0!important;overflow:visible!important;
    position:static!important;transform:none!important
  }
  [data-shared-header] .mobile-account-profile strong{
    display:block!important;width:100%!important;min-height:32px!important;padding:6px 0 3px!important;
    line-height:1.5!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important
  }
  [data-shared-header] .mobile-account-actions{
    display:flex!important;flex-direction:column!important;width:100%!important;
    padding:0 0 12px!important;margin:0!important;position:static!important;transform:none!important
  }
  [data-shared-header] .mobile-account-action,
  [data-shared-header] .mobile-account-actions button{position:static!important;transform:none!important}
  [data-shared-header] .mobile-account-divider{
    position:static!important;width:100%!important;margin:6px 0 12px!important;transform:none!important
  }
  [data-shared-header] #nav>a,
  [data-shared-header] .desktop-nav-items>a{position:static!important;flex:none!important;transform:none!important}
}


/* v189-c mobile navigation touch UX */
@media (max-width:900px){
  [data-shared-header] #nav{gap:8px!important;padding-left:12px!important;padding-right:12px!important;padding-bottom:18px!important}
  [data-shared-header] .desktop-nav-items{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important}
  [data-shared-header] .desktop-nav-items>a{
    display:flex!important;align-items:center!important;min-height:48px!important;width:100%!important;
    padding:11px 14px!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:12px!important;
    background:#101722!important;box-shadow:0 4px 14px rgba(0,0,0,.16)!important;
    transition:transform .13s ease,background .13s ease,border-color .13s ease,box-shadow .13s ease!important;
  }
  [data-shared-header] .desktop-nav-items>a::before{width:24px;display:inline-grid;place-items:center;margin-right:9px;font-size:16px;opacity:.88}
  [data-shared-header] .desktop-nav-items>a::after{content:'›';margin-left:auto;font-size:23px;line-height:1;color:#728096}
  [data-shared-header] .desktop-nav-items>a[data-menu='home']::before{content:'⌂'}
  [data-shared-header] .desktop-nav-items>a[data-menu='seasonUpcoming']::before{content:'◆'}
  [data-shared-header] .desktop-nav-items>a[data-menu='seasonArchive']::before{content:'◇'}
  [data-shared-header] .desktop-nav-items>a[data-menu='members']::before{content:'♟'}
  [data-shared-header] .desktop-nav-items>a[data-menu='bgb']::before{content:'⚔'}
  [data-shared-header] .desktop-nav-items>a[data-menu='tip']::before{content:'✦'}
  [data-shared-header] .desktop-nav-items>a[data-menu='request']::before{content:'✉'}
  [data-shared-header] .desktop-nav-items>a[data-menu='accounts']::before{content:'▣'}
  [data-shared-header] .desktop-nav-items>a[data-menu='game']::before{content:'🎮';font-size:15px}
  [data-shared-header] .desktop-nav-items>a[data-menu='logo']::before{content:'★'}
  [data-shared-header] .desktop-nav-items>a:active{transform:scale(.98)!important;background:#182233!important;border-color:#d9bb65!important;box-shadow:0 0 13px rgba(217,187,101,.19)!important}
  [data-shared-header] .desktop-nav-items>a.active,[data-shared-header] .desktop-nav-items>a[aria-current='page']{background:#181c1d!important;border-color:#d9bb65!important;color:#f5c547!important}
  [data-shared-header] .desktop-nav-items>a.active::before,[data-shared-header] .desktop-nav-items>a[aria-current='page']::before{color:#f5c547}
  html[dir='rtl'] [data-shared-header] .desktop-nav-items>a::before{margin-right:0;margin-left:9px}
  html[dir='rtl'] [data-shared-header] .desktop-nav-items>a::after{margin-left:0;margin-right:auto;transform:scaleX(-1)}
}


/* v190-a: simplified mobile shared navigation */
@media(max-width:900px){
  [data-shared-header] .desktop-nav-items>a{padding-left:20px!important;padding-right:16px!important;justify-content:flex-start!important;text-align:left!important}
  [data-shared-header] .desktop-nav-items>a::after{content:'›'!important;margin-left:auto!important;font-size:23px!important;line-height:1!important;color:#728096!important;position:static!important;inset:auto!important;width:auto!important;height:auto!important;opacity:1!important;box-shadow:none!important;background:none!important;animation:none!important;transform:none!important;filter:none!important}
  [data-shared-header] .desktop-nav-items>a:not(.nav-account-shine)::before{content:none!important;display:none!important}
  [data-shared-header] .desktop-nav-items>a[data-menu='game']::before{content:none!important;display:none!important}
  [data-shared-header] a.nav-account-shine{animation:ezpkAccountShinePulse 3.6s ease-in-out infinite!important}
  [data-shared-header] a.nav-account-shine::before{width:34%!important;animation-duration:3.6s!important;filter:blur(.1px) drop-shadow(0 0 5px rgba(255,229,137,.55))!important}
  [data-shared-header] a.nav-account-shine.active{border-color:#d9bb65!important;color:#f5c547!important}
  html[dir='rtl'] [data-shared-header] .desktop-nav-items>a{text-align:right!important}
  html[dir='rtl'] [data-shared-header] .desktop-nav-items>a::after{margin-left:0!important;margin-right:auto!important;transform:scaleX(-1)!important}
}


/* v191: stable mobile account section and card navigation */
@media(max-width:900px){
  [data-shared-header] #nav{
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    max-height:calc(100dvh - 72px)!important;
    padding:0 12px 20px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
  }
  [data-shared-header] #nav.open{display:flex!important}
  [data-shared-header] .mobile-account-slot:empty{display:none!important}
  [data-shared-header] .mobile-account-slot:not(:empty){
    display:block!important;
    flex:0 0 auto!important;
    width:100%!important;
    padding:max(22px,env(safe-area-inset-top)) 8px 10px!important;
    margin:0!important;
    min-height:0!important;
    overflow:visible!important;
  }
  [data-shared-header] .mobile-account-profile{
    min-height:0!important;
    padding:0 4px 14px!important;
  }
  [data-shared-header] .mobile-account-profile strong{
    min-height:0!important;
    padding:0!important;
    line-height:1.45!important;
  }
  [data-shared-header] .mobile-account-actions{
    display:flex!important;
    flex-direction:column!important;
    gap:4px!important;
    padding:0!important;
  }
  [data-shared-header] .mobile-account-actions button{
    width:100%!important;
    min-height:42px!important;
    padding:9px 4px!important;
    border:0!important;
    background:transparent!important;
    color:#d6deea!important;
    text-align:left!important;
  }
  [data-shared-header] .mobile-account-divider{margin:8px 0 14px!important}
  [data-shared-header] .desktop-nav-items{
    display:flex!important;
    flex-direction:column!important;
    flex:0 0 auto!important;
    gap:8px!important;
    width:100%!important;
  }
  [data-shared-header] .desktop-nav-items>a{
    flex:0 0 auto!important;
    min-width:0!important;
    width:100%!important;
    padding:11px 16px 11px 20px!important;
  }
  [data-shared-header] .desktop-nav-items>a:not([data-menu='game'])::before{content:none!important;display:none!important}
  [data-shared-header] .desktop-nav-items>a[data-menu='game']::before{content:none!important;display:none!important}
  [data-shared-header] .desktop-nav-items>a::after{
    content:'›'!important;
    position:static!important;
    margin-left:auto!important;
    opacity:1!important;
    background:none!important;
    box-shadow:none!important;
    animation:none!important;
  }
}


/* v193: mobile drawer clipping fix + unified account/menu flow */
@media(max-width:900px){
  :root{--ezpk-mobile-header-height:68px}
  [data-shared-header] #nav{
    position:fixed!important;
    top:var(--ezpk-mobile-header-height)!important;
    left:12px!important;
    right:12px!important;
    bottom:0!important;
    width:auto!important;
    height:calc(100dvh - var(--ezpk-mobile-header-height))!important;
    max-height:none!important;
    box-sizing:border-box!important;
    padding:20px 12px calc(28px + env(safe-area-inset-bottom))!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-padding-top:20px!important;
  }
  [data-shared-header] #nav.open{display:flex!important}
  [data-shared-header] .mobile-account-slot,
  [data-shared-header] .mobile-account-profile,
  [data-shared-header] .mobile-account-actions,
  [data-shared-header] .mobile-account-divider,
  [data-shared-header] .desktop-nav-items{
    position:static!important;
    inset:auto!important;
    transform:none!important;
    float:none!important;
    max-height:none!important;
    overflow:visible!important;
  }
  [data-shared-header] .mobile-account-slot:not(:empty){
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:0 8px 10px!important;
    margin:0!important;
    flex:0 0 auto!important;
  }
  [data-shared-header] .mobile-account-profile{
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    padding:0 4px 14px!important;
    margin:0!important;
  }
  [data-shared-header] .mobile-account-profile strong{
    display:block!important;
    width:100%!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    line-height:1.45!important;
  }
  [data-shared-header] .mobile-account-actions{
    width:100%!important;
    padding:0!important;
    margin:0!important;
  }
  [data-shared-header] .mobile-account-divider{
    display:block!important;
    width:100%!important;
    height:1px!important;
    margin:10px 0 16px!important;
    background:#ffffff12!important;
  }
  [data-shared-header] .mobile-account-slot:empty + .desktop-nav-items{
    margin-top:0!important;
  }
  [data-shared-header] .desktop-nav-items{
    width:100%!important;
    flex:0 0 auto!important;
  }
  body.ezpk-mobile-menu-open{overflow:hidden!important}
}

/* v194: independent mobile drawer — definitive clipping fix */
.ezpk-mobile-drawer{display:none}
@media(max-width:900px){
  :root{--ezpk-mobile-header-height:68px}
  [data-shared-header] #nav{display:none!important}

  .ezpk-mobile-drawer{
    display:block;
    position:fixed;
    inset:0;
    z-index:999;
    visibility:hidden;
    opacity:0;
    pointer-events:none;
    transform:translateX(100%);
    transition:transform .22s ease,opacity .18s ease,visibility 0s linear .22s;
    background:#0b111b;
    box-sizing:border-box;
    overflow:hidden;
  }
  .ezpk-mobile-drawer.open{
    visibility:visible;
    opacity:1;
    pointer-events:auto;
    transform:translateX(0);
    transition:transform .22s ease,opacity .18s ease;
  }
  .ezpk-mobile-drawer-scroll{
    position:absolute;
    inset:0;
    box-sizing:border-box;
    padding:calc(var(--ezpk-mobile-header-height) + 18px) 16px calc(28px + env(safe-area-inset-bottom));
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-gutter:stable;
  }
  .ezpk-mobile-drawer .mobile-account-slot,
  .ezpk-mobile-drawer .mobile-account-profile,
  .ezpk-mobile-drawer .mobile-account-actions,
  .ezpk-mobile-drawer .mobile-account-divider,
  .ezpk-mobile-drawer .mobile-menu-list,
  .ezpk-mobile-drawer .mobile-menu-list>a{
    position:static!important;
    inset:auto!important;
    float:none!important;
    transform:none!important;
    max-height:none!important;
  }
  .ezpk-mobile-drawer .mobile-account-slot:empty{display:none!important}
  .ezpk-mobile-drawer .mobile-account-slot:not(:empty){
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0 8px 10px!important;
    overflow:visible!important;
  }
  .ezpk-mobile-drawer .mobile-account-profile{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0 4px 14px!important;
    overflow:visible!important;
  }
  .ezpk-mobile-drawer .mobile-account-profile strong{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    line-height:1.45!important;
  }
  .ezpk-mobile-drawer .mobile-account-actions{
    display:flex!important;
    flex-direction:column!important;
    gap:4px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  .ezpk-mobile-drawer .mobile-account-actions button{
    width:100%!important;
    min-height:42px!important;
    margin:0!important;
    padding:9px 4px!important;
    border:0!important;
    background:transparent!important;
    color:#d6deea!important;
    text-align:left!important;
  }
  .ezpk-mobile-drawer .mobile-account-divider{
    display:block!important;
    width:100%!important;
    height:1px!important;
    margin:10px 0 16px!important;
    background:#ffffff12!important;
    overflow:visible!important;
  }
  .ezpk-mobile-drawer .mobile-menu-list{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:8px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
  }
  .ezpk-mobile-drawer .mobile-menu-list>a{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex:0 0 auto!important;
    width:100%!important;
    min-width:0!important;
    min-height:64px!important;
    margin:0!important;
    padding:11px 16px 11px 20px!important;
    border:1px solid #263246!important;
    border-radius:16px!important;
    background:#101824!important;
    color:#c8d1df!important;
    text-decoration:none!important;
    text-align:left!important;
    box-sizing:border-box!important;
  }
  .ezpk-mobile-drawer .mobile-menu-list>a::after{
    content:'›'!important;
    margin-left:auto!important;
    position:static!important;
    font-size:23px!important;
    line-height:1!important;
    color:#728096!important;
    opacity:1!important;
    background:none!important;
    box-shadow:none!important;
    animation:none!important;
  }
  .ezpk-mobile-drawer .mobile-menu-list>a:not(.nav-account-shine)::before{content:none!important;display:none!important}
  .ezpk-mobile-drawer .mobile-menu-list>a[data-menu='game']::before{content:none!important;display:none!important;margin-right:0!important}
  .ezpk-mobile-drawer .mobile-menu-list>a.nav-account-shine{animation:ezpkAccountShinePulse 3.6s ease-in-out infinite!important}
  .ezpk-mobile-drawer .mobile-menu-list>a.active{border-color:#d9bb65!important;color:#f5c547!important}
  html[dir='rtl'] .ezpk-mobile-drawer .mobile-account-actions button,
  html[dir='rtl'] .ezpk-mobile-drawer .mobile-menu-list>a{text-align:right!important}
  html[dir='rtl'] .ezpk-mobile-drawer .mobile-menu-list>a::after{margin-left:0!important;margin-right:auto!important;transform:scaleX(-1)!important}
  body.ezpk-mobile-menu-open{overflow:hidden!important}
}
@media(max-width:900px){
  [data-shared-header]{z-index:1000!important}
}

/* v195: unified desktop auth/language controls and guest mobile account actions */
@media (min-width:901px){
  .site-header .header-account .account-button,
  .site-header .lang > #langBtn{
    height:42px!important;
    min-height:42px!important;
    border-radius:10px!important;
    padding:0 16px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    font-size:11px!important;
    font-weight:900!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  .site-header .header-account .account-button{min-width:88px!important}
  .site-header .lang > #langBtn{min-width:104px!important}
  .site-header .header-account{gap:8px}
  .site-header .account-login{margin-right:0!important}
}
@media (max-width:900px){
  .ezpk-mobile-drawer .mobile-account-actions--guest{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
  }
  .ezpk-mobile-drawer .mobile-account-actions--guest button{
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
  }
  /* v223: login is primary gold, sign-up is secondary white */
  .ezpk-mobile-drawer .mobile-account-actions--guest button{
    color:#171000!important;
    font-weight:700!important;
    text-align:center!important;
    justify-content:center!important;
  }
  .ezpk-mobile-drawer .mobile-account-actions--guest button[data-account-action="login"]{background:#f5c547!important;border-color:#f5c547!important;}
  .ezpk-mobile-drawer .mobile-account-actions--guest button[data-account-action="signup"]{background:#fff!important;border-color:#fff!important;}
}
[data-menu][hidden],
.ezpk-mobile-drawer .mobile-menu-list>a[hidden],
[data-shared-header] .desktop-nav-items>a[hidden],
[data-shared-header] #navMoreMenu>a[hidden]{display:none!important}


/* V201 header buttons */
@media (min-width:901px){
.header-account{display:flex;align-items:center;gap:8px;}
.account-button,
.lang #langBtn{
width:120px;
min-width:120px;
height:40px;
display:flex;
align-items:center;
justify-content:center;
box-sizing:border-box;
}
.account-login{
margin-right:0;
background:#f5c547;
border-color:#f5c547;
color:#171000;
font-weight:700;
}
.account-signup{
color:#171000;
background:#fff;
border-color:#fff;
font-weight:700;
}
}

/* v218: dynamic home sections stay out of layout until valid data is available */
.home-vote-section[hidden],.schedule-section[hidden]{display:none!important}


/* v227: shared login/sign-up typography and CTA colors across every page */
.site-header .header-account .account-button,
.site-header .header-account .account-login,
.site-header .header-account .account-signup{
  font-family:inherit!important;
  font-weight:600!important;
}
.site-header .header-account .account-login{background:#f5c547!important;border-color:#f5c547!important;color:#171000!important}
.site-header .header-account .account-signup{background:#fff!important;border-color:#fff!important;color:#171000!important}


/* v227: keep login/sign-up labels moderately emphasized on every page. */
.site-header button.account-button[data-account-action="login"],
.site-header button.account-button[data-account-action="signup"],
.site-header button.account-login,
.site-header button.account-signup,
.ezpk-mobile-drawer button[data-account-action="login"],
.ezpk-mobile-drawer button[data-account-action="signup"]{
  font-family:inherit!important;
  font-weight:600!important;
  font-synthesis:weight!important;
  -webkit-font-smoothing:antialiased;
  text-shadow:none!important;
}


/* v232: important event priority and responsive badges */
.event-card-top{align-items:flex-start;min-width:0}
.event-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;min-width:0;max-width:calc(100% - 46px)}
.event-badge{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:6px 9px;border-radius:999px;white-space:nowrap;font-size:10px;font-weight:900;letter-spacing:.08em;line-height:1}
.event-important-badge{background:#ff5a5f1f;color:#ff7b80;border:1px solid #ff5a5f55}
.event-card.event-important{border-color:#ff5a5f66;box-shadow:0 14px 34px #0000002e,0 0 0 1px #ff5a5f1a}
.event-card.event-important:before,.event-card.event-important.event-upcoming:before,.event-card.event-important.event-live:before{background:#ff5a5f}
.event-card.event-important .event-number{color:#ff7b80;background:#ff5a5f12}
.event-card.event-important .event-status{background:#ff5a5f16;color:#ff7b80}
.event-card.event-important .event-countdown small,.event-card.event-important time small{color:#ff7b80}
.event-card.event-important .event-countdown strong{color:#ff5a5f}
.event-card.event-important time strong{color:#ffb0b3}
html[dir="rtl"] .event-badges{justify-content:flex-start}
@media(max-width:620px){.event-badges{gap:5px;max-width:calc(100% - 44px)}.event-badge{padding:4px 7px;font-size:10px;letter-spacing:.05em}}

/* v235: Migration application copy refresh and rotating gold border glow */
.immigration-card{
  isolation:isolate;
  border-color:rgba(245,197,71,.46);
}
.immigration-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  padding:2px;
  border-radius:inherit;
  pointer-events:none;
  background:conic-gradient(
    from 0deg,
    transparent 0deg 292deg,
    rgba(245,197,71,.08) 305deg,
    rgba(255,232,153,.95) 328deg,
    rgba(245,197,71,.18) 350deg,
    transparent 360deg
  );
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  filter:drop-shadow(0 0 5px rgba(245,197,71,.42));
  animation:immigration-border-orbit 7.5s linear infinite;
}
.immigration-card > *{position:relative;z-index:1}
.immigration-status{
  max-width:100%;
  white-space:normal;
  text-align:center;
  line-height:1.35;
}
.immigration-process{
  overflow-wrap:anywhere;
}
@keyframes immigration-border-orbit{
  to{transform:rotate(1turn)}
}
@media(max-width:760px){
  .immigration-card::before{
    padding:1.5px;
    filter:drop-shadow(0 0 3px rgba(245,197,71,.3));
  }
  .immigration-status{font-size:10px;letter-spacing:.08em}
}
@media(prefers-reduced-motion:reduce){
  .immigration-card::before{
    animation:none;
    background:linear-gradient(135deg,rgba(255,232,153,.8),rgba(245,197,71,.22));
  }
}


/* v237: Replace the legacy arrow decoration with a border-following gold light trail */
.immigration-arrow{display:none!important}
.immigration-card{overflow:hidden}
.immigration-card::before{
  inset:0;
  padding:2px;
  background:conic-gradient(
    from 0deg,
    transparent 0deg 318deg,
    rgba(245,197,71,0) 318deg,
    rgba(245,197,71,.16) 325deg,
    rgba(255,240,178,.92) 335deg,
    rgba(255,250,218,1) 339deg,
    rgba(255,240,178,.92) 343deg,
    rgba(245,197,71,.16) 353deg,
    rgba(245,197,71,0) 360deg
  );
  filter:drop-shadow(0 0 4px rgba(245,197,71,.38));
  animation-duration:7.5s;
}
@media(max-width:760px){
  .immigration-card::before{
    padding:1.5px;
    filter:drop-shadow(0 0 2.5px rgba(245,197,71,.26));
  }
}
@media(prefers-reduced-motion:reduce){
  .immigration-card::before{
    animation:none;
    background:linear-gradient(135deg,rgba(255,232,153,.72),rgba(245,197,71,.18));
  }
}


/* v248: persistent mobile menu discovery cue for all users */
@media (max-width:900px){
  .site-header #menuBtn.ezpk-menu-discovery-cue{
    position:relative;
    isolation:isolate;
    border-color:rgba(245,197,71,.82)!important;
    box-shadow:0 0 0 0 rgba(245,197,71,0),0 0 14px rgba(245,197,71,.16);
    animation:ezpkMenuDiscoveryGlow 3s ease-in-out infinite;
  }
  .site-header #menuBtn.ezpk-menu-discovery-cue::after{
    content:'';
    position:absolute;
    inset:-3px;
    z-index:-1;
    border:1px solid rgba(245,197,71,.66);
    border-radius:inherit;
    opacity:0;
    pointer-events:none;
    animation:ezpkMenuDiscoveryRing 3s ease-out infinite;
  }
  .site-header #menuBtn.ezpk-menu-discovery-cue{
    transform-origin:center;
  }
  @keyframes ezpkMenuDiscoveryGlow{
    0%,68%,100%{color:#fff;transform:translateX(0);box-shadow:0 0 0 0 rgba(245,197,71,0),0 0 10px rgba(245,197,71,.12)}
    74%{color:#ffe58b;transform:translateX(-1.5px);box-shadow:0 0 0 2px rgba(245,197,71,.13),0 0 20px rgba(245,197,71,.38)}
    79%{transform:translateX(1.5px)}
    84%{transform:translateX(-1px)}
    89%{color:#ffe58b;transform:translateX(1px);box-shadow:0 0 0 3px rgba(245,197,71,.08),0 0 18px rgba(245,197,71,.3)}
    94%{transform:translateX(0)}
  }
  @keyframes ezpkMenuDiscoveryRing{
    0%,70%{opacity:0;transform:scale(.96)}
    78%{opacity:.7}
    96%,100%{opacity:0;transform:scale(1.12)}
  }
}
@media (prefers-reduced-motion:reduce){
  .site-header #menuBtn.ezpk-menu-discovery-cue,
  .site-header #menuBtn.ezpk-menu-discovery-cue::after{
    animation:none!important;
  }
  .site-header #menuBtn.ezpk-menu-discovery-cue{
    border-color:rgba(245,197,71,.82)!important;
    box-shadow:0 0 0 2px rgba(245,197,71,.12),0 0 16px rgba(245,197,71,.28)!important;
  }
}

/* v292: shared portal page UI components */
.portal-page{
  width:min(900px,calc(100% - 24px));
  margin:0 auto;
  padding:42px 0 72px;
  font-family:inherit;
}
.portal-page-hero{
  margin:0 0 24px;
  padding:0;
  text-align:center;
}
.portal-eyebrow{
  margin:0 0 8px;
  color:#f5c547;
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.portal-page-hero h1{
  margin:0;
  font-size:clamp(32px,6vw,48px);
  line-height:1.1;
}
.portal-page-hero>p:last-child{
  margin:10px auto 0;
  color:#99a4b2;
  line-height:1.6;
}
.portal-card{
  width:100%;
  border:1px solid #ffffff18;
  border-radius:16px;
  background:#111823;
  box-shadow:0 16px 42px rgba(0,0,0,.24);
}
.portal-state-panel{
  padding:32px 20px;
  text-align:center;
}
.portal-form,
.portal-form input,
.portal-form select,
.portal-form textarea,
.portal-button{
  font-family:inherit;
}
.portal-form input,
.portal-form select,
.portal-form textarea{
  width:100%;
  min-height:48px;
  padding:0 13px;
  border:1px solid #ffffff22;
  border-radius:10px;
  background:#080d14;
  color:#fff;
}
.portal-form textarea{min-height:120px;padding-block:12px;resize:vertical}
.portal-form input:focus,
.portal-form select:focus,
.portal-form textarea:focus{
  outline:2px solid rgba(245,197,71,.24);
  border-color:#f5c547;
}
.portal-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border:1px solid transparent;
  border-radius:10px;
  font-weight:800;
  line-height:1.2;
  text-decoration:none;
  cursor:pointer;
}
.portal-button-primary{background:#f5c547;color:#171000}
.portal-button-secondary{border-color:#ffffff30;background:#ffffff0b;color:#fff}
.portal-button-danger{border-color:#ef4444;background:#ef4444;color:#fff}
.portal-button:disabled{opacity:.48;cursor:not-allowed}
@media(max-width:620px){
  .portal-page{width:min(100% - 16px,900px);padding:28px 0 56px}
  .portal-page-hero{margin-bottom:18px}
}

/* v319: lightweight member-convenience home */
[data-home-member][hidden],
[data-home-guest][hidden],
.schedule-section[hidden]{display:none!important}

.home-main{background:#05070b}
.home-member-content{padding:0 4vw}
.home-section-title,
.home-section-heading h2{margin:0;color:#fff;font-size:clamp(24px,3vw,36px);line-height:1.2;text-align:center}
.home-section-heading{max-width:760px;margin:0 auto 28px;text-align:center}
.home-section-heading p{margin:10px 0 0;color:#98a4b4;line-height:1.65}

.home-main .brand-hero{
  min-height:auto;
  padding:88px 20px 42px;
  background:linear-gradient(180deg,#070a10 0%,#05070b 100%);
}
.home-main .brand-hero .eyebrow{max-width:100%;color:#f5c547;font-size:12px;font-weight:800;letter-spacing:.15em;overflow-wrap:anywhere}
.home-main .brand-hero h1{
  margin:20px 0 24px;
  color:#f5c547;
  font-family:inherit;
  font-size:clamp(64px,10vw,124px);
  line-height:.85;
  letter-spacing:.06em;
  text-shadow:none;
}
.home-main .brand-hero .brand-headline{
  max-width:920px;
  margin:0 auto;
  color:#fff;
  font-family:inherit;
  font-size:clamp(25px,4vw,48px);
  font-weight:800;
  line-height:1.2;
  letter-spacing:-.025em;
  text-wrap:balance;
}
.home-main .brand-hero .brand-description{
  max-width:780px;
  margin:20px auto 0;
  color:#aeb8c7;
  font-size:clamp(15px,1.8vw,19px);
  line-height:1.7;
  text-wrap:balance;
}

.home-main .ezpk-video-section{padding:0 20px 34px;background:#05070b}
.home-main .ezpk-video-frame{
  width:min(760px,100%);
  border:1px solid #ffffff1a;
  border-radius:16px;
  box-shadow:0 16px 42px rgba(0,0,0,.3);
}

.home-account-actions{display:flex;justify-content:center;gap:12px;padding:0 20px 82px;background:#05070b}
.home-button{
  display:inline-flex;
  min-width:150px;
  min-height:48px;
  align-items:center;
  justify-content:center;
  padding:12px 22px;
  border:1px solid transparent;
  border-radius:11px;
  font-family:inherit;
  font-size:15px;
  font-weight:700;
  line-height:1.25;
  text-align:center;
  overflow-wrap:anywhere;
  cursor:pointer;
  transition:border-color .18s ease,background-color .18s ease,color .18s ease;
}
.home-button-primary{border-color:#f5c547;background:#f5c547;color:#171000}
.home-button-primary:hover,.home-button-primary:focus-visible{background:#ffe07a;border-color:#ffe07a}
.home-button-secondary{border-color:#ffffff30;background:#0d131d;color:#fff}
.home-button-secondary:hover,.home-button-secondary:focus-visible{border-color:#ffffff66;background:#121a26}

.home-features{padding:76px 4vw;background:#070a10}
.home-feature-grid{width:min(1120px,100%);margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.home-feature-card{
  min-width:0;
  min-height:132px;
  padding:28px 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:1px solid #ffffff16;
  border-radius:14px;
  background:#0d141e;
}
.home-feature-card h3{max-width:100%;margin:0;color:#fff;font-size:18px;line-height:1.3;overflow-wrap:anywhere}
.home-feature-card p{max-width:100%;margin:10px 0 0;color:#98a4b4;font-size:14px;line-height:1.45;overflow-wrap:anywhere}

.home-main .immigration-section{padding:82px 4vw;background:#05070b}
.home-main .immigration-card{
  max-width:1120px;
  padding:48px 52px;
  border:1px solid rgba(245,197,71,.34);
  border-radius:16px;
  background:#0d141e;
  box-shadow:0 16px 42px rgba(0,0,0,.25);
  transform:none;
}
.home-main .immigration-card::before{display:none!important;animation:none!important}
.home-main .immigration-card::after{display:none}
.home-main .immigration-card:hover,.home-main .immigration-card:focus-visible{
  transform:none;
  border-color:rgba(245,197,71,.68);
  box-shadow:0 16px 42px rgba(0,0,0,.25);
}
.home-main .immigration-card h2{margin:16px 0 12px;font-size:clamp(30px,4vw,52px)}
.home-main .immigration-copy{max-width:760px;margin:0 0 26px;color:#aeb8c7;font-size:17px;line-height:1.7}
.home-main .immigration-card h2,
.home-main .immigration-copy,
.home-main .immigration-process,
.home-main .immigration-external{overflow-wrap:anywhere}

.home-member-content .schedule-section{
  min-height:auto;
  padding:78px 0 54px;
  background:#05070b;
}
.home-member-content .event-schedule-grid{width:min(1400px,100%)}
.home-member-content .event-card{box-shadow:none;background:#0d141e}
.home-quick-section{padding:44px 0 76px;background:#05070b}
.home-quick-grid{width:min(1200px,100%);margin:25px auto 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.home-quick-grid a{
  min-width:0;
  min-height:70px;
  padding:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #ffffff18;
  border-radius:13px;
  background:#0d141e;
  color:#fff;
  font-size:16px;
  font-weight:800;
  line-height:1.3;
  text-align:center;
  text-decoration:none;
  overflow-wrap:anywhere;
  hyphens:auto;
  transition:border-color .18s ease,background-color .18s ease,color .18s ease;
}
.home-quick-grid a:hover,.home-quick-grid a:focus-visible{border-color:#f5c54788;background:#111a27;color:#f5c547}

.home-auth-member .brand-hero{border-top:1px solid #ffffff10}
.home-auth-member .ezpk-video-section{padding-bottom:78px}
footer span{display:block;line-height:1.55}

@media(max-width:760px){
  .home-member-content{padding:0 12px}
  .home-main .brand-hero{padding:62px 16px 32px}
  .home-main .brand-hero .eyebrow{font-size:10px;letter-spacing:.1em}
  .home-main .brand-hero h1{margin:16px 0 20px;font-size:clamp(58px,21vw,88px)}
  .home-main .brand-hero .brand-headline{font-size:clamp(24px,8vw,36px)}
  .home-main .brand-hero .brand-description{margin-top:16px;font-size:15px}
  .home-main .ezpk-video-section{padding:0 12px 26px}
  .home-account-actions{gap:9px;padding:0 12px 60px}
  .home-button{min-width:0;flex:1;min-height:48px;padding:0 12px}
  .home-features{padding:58px 12px}
  .home-section-heading{margin-bottom:22px}
  .home-feature-grid{grid-template-columns:1fr;gap:10px}
  .home-feature-card{min-height:105px;padding:22px 15px}
  .home-main .immigration-section{padding:58px 12px}
  .home-main .immigration-card{padding:32px 22px}
  .home-main .immigration-copy{font-size:15px!important}
  .home-member-content .schedule-section{padding:56px 0 36px}
  .home-quick-section{padding:36px 0 58px}
  .home-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:20px}
  .home-quick-grid .home-quick-specs{grid-column:1/-1}
  .home-quick-grid a{min-height:64px;padding:10px;font-size:14px}
  .home-auth-member .ezpk-video-section{padding-bottom:60px}
}

@media(prefers-reduced-motion:reduce){
  .home-button,.home-quick-grid a{transition:none}
}

/* v323: mobile-first home flow and compact member schedule */
.schedule-toggle{
  width:min(100%,360px);
  min-height:46px;
  margin:18px auto 0;
  padding:10px 18px;
  display:block;
  border:1px solid #ffffff26;
  border-radius:11px;
  background:#0d141e;
  color:#fff;
  font:700 14px/1.3 inherit;
  cursor:pointer;
}
.schedule-toggle:hover,.schedule-toggle:focus-visible{border-color:#f5c54788;color:#f5c547}
.schedule-toggle[hidden]{display:none!important}
.event-card h3{
  display:-webkit-box;
  min-height:2.6em;
  white-space:normal;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
}
.home-auth-member .brand-hero{padding-top:54px;padding-bottom:28px}
.home-auth-guest .home-account-actions{padding-bottom:48px}

@media(max-width:900px){
  .site-header #menuBtn.ezpk-menu-discovery-cue,
  .site-header #menuBtn.ezpk-menu-discovery-cue::after{animation-iteration-count:2}
}

@media(max-width:760px){
  .home-main .brand-hero{padding-top:48px;padding-bottom:24px}
  .home-auth-member .brand-hero{padding-top:40px;padding-bottom:22px}
  .home-auth-member .brand-hero h1{font-size:clamp(52px,18vw,72px)}
  .home-auth-member .brand-hero .brand-headline{font-size:clamp(22px,7vw,30px)}
  .home-auth-member .brand-hero .brand-description{font-size:14px;line-height:1.55}
  .home-auth-guest .home-account-actions{padding-bottom:28px}
  .home-feature-card{min-height:80px;padding:16px 14px}
  .home-feature-card h3{font-size:16px}
  .home-feature-card p{margin-top:6px;font-size:12px;line-height:1.35}
  .event-card{min-height:0;padding:18px}
  .event-card h3{margin:18px 0 14px;font-size:20px}
  .event-card time{margin-top:15px}
  .schedule-toggle{margin-top:14px}
}

/* v325: compact event command cards */
.home-member-content .schedule-section{
  padding:42px 0 64px;
}
.home-member-content .schedule-head{max-width:1080px;margin-bottom:18px}
.home-member-content .schedule-head h2{font-size:clamp(27px,3vw,36px)}
.home-member-content .schedule-head p{margin-top:8px}
.home-member-content .event-schedule-grid{
  width:min(1080px,100%);
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.home-member-content .event-card{
  position:relative;
  min-height:106px;
  padding:16px 18px 15px 22px;
  border:1px solid #ffffff17;
  border-radius:14px;
  background:linear-gradient(135deg,#111a27 0%,#0b111a 72%,#111827 100%);
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  transition:border-color .18s ease,transform .18s ease,background-color .18s ease;
}
.home-member-content .event-card::before{
  content:'';
  position:absolute;
  inset:10px auto 10px 0;
  width:3px;
  height:auto;
  border-radius:0 3px 3px 0;
  background:#8a7437;
}
.home-member-content .event-card:hover{transform:translateY(-1px);border-color:#ffffff2e}
.home-member-content .event-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.home-member-content .event-badges{justify-content:flex-start;max-width:70%;gap:6px}
.home-member-content .event-badge{padding:4px 7px;font-size:9px;letter-spacing:.07em}
.home-member-content .event-status{gap:6px;background:#f5c5470d;color:#c8ae62}
.home-member-content .event-status i{
  width:6px;
  height:6px;
  flex:0 0 auto;
  border-radius:50%;
  background:currentColor;
}
.home-member-content .event-important-badge{
  border:1px solid #f5c5474d;
  background:#f5c54712;
  color:#f5c547;
}
.home-member-content .event-card.event-important{
  border-color:#f5c54745;
  box-shadow:0 10px 28px rgba(0,0,0,.22),0 0 0 1px #f5c5470a;
}
.home-member-content .event-card.event-important::before,
.home-member-content .event-card.event-important.event-upcoming::before{background:#f5c547}
.home-member-content .event-card.event-live::before{background:#4de181}
.home-member-content .event-card.event-live{border-color:#4de18136}
.home-member-content .event-card.event-live .event-status{background:#4de18110;color:#70ee9d}
.home-member-content .event-card.event-live .event-status i{animation:ezpkEventPulse 1.8s ease-in-out infinite}
.home-member-content .event-remaining{
  min-width:0;
  color:#c7a94f;
  font-size:13px;
  font-weight:800;
  line-height:1.2;
  text-align:end;
  overflow-wrap:anywhere;
}
.home-member-content .event-live .event-remaining{color:#70ee9d}
.home-member-content .event-soon .event-remaining{color:#f5c547}
.home-member-content .event-card h3{
  min-height:0;
  margin:11px 0 9px;
  color:#fff;
  font-size:20px;
  line-height:1.25;
}
.home-member-content .event-card time{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  color:#758194;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
}
.home-member-content .event-card time strong{color:#b9c2cf;font-size:12px;letter-spacing:.03em}
.home-member-content .schedule-toggle{margin-top:16px;background:#0d141e}
.rtl .home-member-content .event-card{padding-right:22px;padding-left:18px}
.rtl .home-member-content .event-card::before{right:0;left:auto;border-radius:3px 0 0 3px}
.rtl .home-member-content .event-badges{justify-content:flex-start}

@keyframes ezpkEventPulse{
  0%,100%{opacity:.6;box-shadow:0 0 0 0 rgba(77,225,129,0)}
  50%{opacity:1;box-shadow:0 0 0 4px rgba(77,225,129,.12)}
}

@media(max-width:760px){
  .home-member-content .schedule-section{padding:30px 0 50px}
  .home-member-content .schedule-head{margin-bottom:15px;text-align:left}
  .rtl .home-member-content .schedule-head{text-align:right}
  .home-member-content .schedule-head h2{font-size:25px}
  .home-member-content .schedule-head p{font-size:13px;line-height:1.45}
  .home-member-content .event-schedule-grid{grid-template-columns:1fr;gap:9px}
  .home-member-content .event-card{min-height:100px;padding:14px 15px 13px 19px}
  .rtl .home-member-content .event-card{padding-right:19px;padding-left:15px}
  .home-member-content .event-card h3{margin:10px 0 8px;font-size:18px}
  .home-member-content .event-remaining{max-width:45%;font-size:12px}
  .home-member-content .event-card time{gap:6px}
}

@media(prefers-reduced-motion:reduce){
  .home-member-content .event-card,
  .home-member-content .event-card.event-live .event-status i{animation:none;transition:none}
}

/* v326: stable authenticated layout and simplified event heading */
.home-main{opacity:1;transition:opacity .15s ease}
.home-auth-pending .home-main{
  min-height:calc(100vh - 68px);
  visibility:hidden;
  opacity:0;
}
.home-member-content .home-quick-section{padding-bottom:36px}
.home-member-content .schedule-section{padding-top:24px}
.home-member-content .schedule-head{
  width:min(1080px,100%);
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 auto 16px;
  text-align:left;
}
.home-member-content .schedule-head::before{
  content:'';
  width:3px;
  height:24px;
  flex:0 0 auto;
  border-radius:3px;
  background:#f5c547;
}
.home-member-content .schedule-head h2{
  margin:0;
  color:#fff;
  font-size:26px;
  line-height:1.2;
  letter-spacing:-.015em;
}
.rtl .home-member-content .schedule-head{direction:rtl;text-align:right}

@media(max-width:760px){
  .home-member-content .home-quick-section{padding-bottom:28px}
  .home-member-content .schedule-section{padding-top:16px}
  .home-member-content .schedule-head{gap:9px;margin-bottom:15px;text-align:left}
  .home-member-content .schedule-head::before{height:21px}
  .home-member-content .schedule-head h2{font-size:22px}
  .rtl .home-member-content .schedule-head{text-align:right}
}

@media(prefers-reduced-motion:reduce){
  .home-main{transition:none}
}

/* v327: dedicated home headings and non-overlapping mobile flow */
.home-member-content{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-auto-flow:row;
  align-items:start;
}
.home-member-content .home-quick-section,
.home-member-content .schedule-section{
  position:relative;
  isolation:isolate;
  width:100%;
  min-width:0;
  overflow:visible;
}
.home-member-content .home-quick-section{
  padding:40px 0 30px;
}
.home-member-content .schedule-section{
  margin:0;
  padding:22px 0 64px;
}
.home-member-content .home-schedule-heading{
  width:min(1080px,100%);
  max-width:1080px;
  min-height:32px;
  margin:0 auto 16px;
}
.home-member-content .home-command-heading{
  width:100%;
  min-width:0;
  min-height:32px;
  margin:0 0 16px!important;
  padding:0!important;
  display:flex!important;
  align-items:center;
  justify-content:flex-start;
  gap:11px;
  position:relative;
  z-index:2;
  visibility:visible!important;
  opacity:1!important;
  color:#fff!important;
  font-family:Arial,'Noto Sans KR',sans-serif!important;
  font-size:26px!important;
  font-weight:800!important;
  line-height:1.2!important;
  letter-spacing:-.015em!important;
  text-align:left!important;
  text-transform:none!important;
  overflow:visible!important;
}
.home-member-content .home-quick-section>.home-command-heading{
  width:min(1200px,100%);
  margin-right:auto!important;
  margin-left:auto!important;
}
.home-member-content .home-schedule-heading>.home-command-heading{margin-bottom:0!important}
.home-member-content .home-command-heading::before{
  content:'';
  width:3px;
  height:24px;
  flex:0 0 3px;
  border-radius:3px;
  background:#f5c547;
}
.home-member-content .home-quick-grid{margin-top:0}
.home-member-content nav.home-quick-grid{
  position:static!important;
  inset:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  width:min(1200px,100%)!important;
  max-width:1200px!important;
  max-height:none!important;
  margin:0 auto!important;
  padding:0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}
.rtl .home-member-content .home-command-heading{
  direction:rtl;
  justify-content:flex-start;
  text-align:right!important;
}

@media(max-width:760px){
  .home-member-content .home-quick-section{padding:32px 0 26px}
  .home-member-content .schedule-section{padding:18px 0 50px}
  .home-member-content .home-schedule-heading{min-height:27px;margin-bottom:15px}
  .home-member-content .home-command-heading{
    min-height:27px;
    margin-bottom:15px!important;
    gap:9px;
    font-size:22px!important;
    line-height:1.2!important;
  }
  .home-member-content .home-command-heading::before{height:21px}
}

/* v329: confirmed guest mobile spacing rhythm */
@media(max-width:760px){
  .home-auth-guest .home-account-actions{padding-bottom:46px}
  .home-auth-guest .ezpk-video-section{padding:0 16px 28px}
  .home-auth-guest .ezpk-video-frame{border-radius:14px}
  .home-auth-guest .home-features{padding-top:36px}
}

/* v330: final role-aware navigation and account hierarchy */
.brand-mark{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border:1px solid rgba(245,197,71,.44);border-radius:12px;background:linear-gradient(145deg,#172130,#0b111a);color:#f5c547;font-size:24px;line-height:1;box-shadow:inset 0 1px rgba(255,255,255,.06);transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}
.brand:hover .brand-mark,.brand:focus-visible .brand-mark{border-color:#f5c547;box-shadow:0 0 0 3px rgba(245,197,71,.09),inset 0 1px rgba(255,255,255,.08)}
.brand:active .brand-mark{transform:scale(.98)}.brand:focus-visible{outline:none}
[data-shared-header] .desktop-nav-items>a,[data-shared-header] #navMoreMenu a{position:relative}
[data-shared-header] .desktop-nav-items>a.active{color:#f5c547}
[data-shared-header] .desktop-nav-items>a.active::after{content:'';position:absolute;left:0;right:0;bottom:-12px;height:2px;border-radius:2px;background:#f5c547}
[data-shared-header] .nav-immigration{color:#f5c547!important}
[data-shared-header] .nav-status-badge{display:inline-flex;align-items:center;margin-inline-start:7px;padding:3px 6px;border:1px solid rgba(245,197,71,.38);border-radius:999px;color:#d8bd66;font-size:8px;font-weight:900;line-height:1;white-space:nowrap}
[data-shared-header] .nav-lock{margin-inline-start:auto;font-size:12px;opacity:.72}
[data-shared-header] a.is-locked{color:#aeb7c5}
[data-shared-header] .nav-menu-group>h2{margin:8px 10px 6px;color:#738094;font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
[data-shared-header] .nav-menu-group>h2:empty{display:none}
[data-shared-header] .nav-menu-group+.nav-menu-group{margin-top:7px;padding-top:7px;border-top:1px solid rgba(255,255,255,.08)}
[data-shared-header] #navMoreMenu .nav-menu-group-items{display:grid;gap:2px}
[data-shared-header] #navMoreMenu a{display:flex!important;align-items:center;min-height:42px;padding:9px 11px;border-radius:8px;color:#d7dde7;text-decoration:none}
[data-shared-header] #navMoreMenu a:hover,[data-shared-header] #navMoreMenu a:focus-visible{background:rgba(255,255,255,.06);color:#fff;outline:none}
[data-shared-header] #navMoreMenu a.active{background:rgba(245,197,71,.09);color:#f5c547}
[data-shared-header] .account-menu .account-action-admin{color:#e5c75c}
[data-shared-header] .account-menu .account-action-home{color:#e7ebf1}
[data-shared-header] .account-menu .account-action-home.is-current{background:rgba(245,197,71,.09);color:#f5c547}
[data-shared-header] .header-account .account-home.is-current{border-color:rgba(245,197,71,.72)!important;color:#f5c547!important}
[data-shared-header] .account-menu .account-action-logout{margin-top:5px;border-top:1px solid rgba(255,255,255,.09);border-radius:0;color:#8f9aaa}
body.ezpk-mobile-menu-open{overflow:hidden!important}

@media(min-width:1200px){
  [data-shared-header].site-header{grid-template-columns:auto minmax(0,1fr) auto auto!important}
  [data-shared-header] .desktop-nav-items{overflow:visible;gap:20px}
  [data-shared-header] #navMoreMenu{width:260px;min-width:260px;padding:9px}
}

/* v336: shared authentication UX and distinct Login / Sign Up actions */
.ezpk-auth-modal{overflow-y:auto;overscroll-behavior:contain}
.ezpk-auth-dialog{
  width:min(440px,100%);padding:30px;border:1px solid #2c384a;border-radius:16px;
  background:linear-gradient(180deg,#111a27,#0a1019);box-shadow:0 24px 70px rgba(0,0,0,.56)
}
.ezpk-auth-eyebrow{margin-bottom:8px;color:#d8b94f;font-size:11px;letter-spacing:.17em}
.ezpk-auth-dialog h2{margin:0;font-size:30px;line-height:1.15}
.ezpk-auth-subtitle{margin:9px 34px 22px 0;color:#929fb2;font-size:14px;line-height:1.55}
#ezpkLoginForm{gap:16px}
#ezpkLoginForm label{gap:7px;color:#d2d9e3;font-weight:800}
#ezpkLoginForm input{
  min-height:48px;padding:0 14px;border-color:#344155;border-radius:10px;background:#080d15;
  transition:border-color .16s ease,background .16s ease
}
#ezpkLoginForm input:hover{border-color:#46566d}
#ezpkLoginForm input:focus{outline:none;border-color:#d8b94f;box-shadow:0 0 0 3px rgba(216,185,79,.11)}
.ezpk-password-toggle{top:4px;right:4px;border:1px solid transparent;border-radius:8px;color:#b6c1cf}
.ezpk-password-toggle:hover,.ezpk-password-toggle:focus-visible{border-color:#45556d;color:#fff;outline:none}
.ezpk-auth-error{border-radius:10px;background:rgba(239,68,68,.08)}
.ezpk-auth-submit{
  min-height:48px;border:1px solid #d8b94f;border-radius:10px;background:#d8b94f;
  color:#15120a;font-weight:900;transition:background .16s ease,border-color .16s ease
}
.ezpk-auth-submit:hover,.ezpk-auth-submit:focus-visible{background:#e3c65c;border-color:#e3c65c;outline:none}
.ezpk-auth-switch{
  display:grid;gap:10px;margin-top:22px;padding-top:20px;border-top:1px solid rgba(255,255,255,.08);
  color:#98a4b5;text-align:center
}
.ezpk-auth-switch a{
  display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:0 16px;
  border:1px solid #3f78a8;border-radius:10px;background:#1d4f7a;color:#fff;font-weight:900;
  white-space:normal;line-height:1.25;transition:background .16s ease,border-color .16s ease
}
.ezpk-auth-switch a:hover,.ezpk-auth-switch a:focus-visible{background:#245f91;border-color:#69a6d7;outline:none}
html[dir='rtl'] .ezpk-auth-subtitle{margin-right:0;margin-left:34px}

@media(max-width:640px){
  .ezpk-auth-modal{display:flex;align-items:flex-start;padding:12px;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}
  .ezpk-auth-dialog{width:100%;min-height:0;margin:auto 0;padding:58px 18px 22px;border:1px solid #2c384a;border-radius:16px;overflow:visible}
  .ezpk-auth-close{top:10px;right:10px}
  .ezpk-auth-dialog h2{font-size:28px}
  .ezpk-auth-subtitle{margin-bottom:20px}
  html[dir='rtl'] .ezpk-auth-close{right:auto;left:10px}
}

/* v347: shared login modal hierarchy, administrator context, and common colors */
.ezpk-auth-dialog{
  border-color:rgba(255,255,255,.11);
  background:linear-gradient(180deg,#111823,#0b1018);
}
.ezpk-auth-dialog h2{margin:0 34px 8px 0;color:#fff}
.ezpk-auth-dialog .ezpk-auth-subtitle{margin-top:0;color:#aeb8c7}
#ezpkLoginForm label{color:#d2d9e3}
#ezpkLoginForm input{border-color:rgba(255,255,255,.14);background:#080d15}
#ezpkLoginForm input:hover{border-color:rgba(255,255,255,.25)}
#ezpkLoginForm input:focus{border-color:#f5c547;box-shadow:0 0 0 3px rgba(245,197,71,.11)}
.ezpk-password-toggle{background:#172231;color:#b9c3d0}
.ezpk-password-toggle:hover,.ezpk-password-toggle:focus-visible{border-color:rgba(245,197,71,.5);color:#fff}
.ezpk-auth-submit{border-color:#f5c547;background:#f5c547;color:#171000}
.ezpk-auth-submit:hover,.ezpk-auth-submit:focus-visible{border-color:#ffd85a;background:#ffd85a;color:#171000}
.ezpk-auth-switch{border-top-color:rgba(255,255,255,.09)}
.admin-login-card h1{margin-top:0}
html[dir='rtl'] .ezpk-auth-dialog h2{margin-right:0;margin-left:34px}
@media(max-width:640px){
  .ezpk-auth-dialog h2{margin-bottom:8px}
}

@media(max-width:1199px){
  [data-shared-header]{z-index:1000!important}
  [data-shared-header].site-header:not(.admin-auth-host){display:grid!important;grid-template-columns:minmax(0,1fr) 44px 44px!important;gap:7px!important;min-height:68px!important;padding:10px 12px!important;direction:ltr}
  [data-shared-header]:not(.admin-auth-host) .brand{grid-column:1;grid-row:1;justify-self:start;max-width:100%;overflow:hidden}
  [data-shared-header]:not(.admin-auth-host) #nav,[data-shared-header]:not(.admin-auth-host) .header-account{display:none!important}
  [data-shared-header]:not(.admin-auth-host) .lang{display:block;grid-column:2;grid-row:1;justify-self:center}
  [data-shared-header]:not(.admin-auth-host) #menuBtn{display:grid!important;place-items:center;grid-column:3;grid-row:1;width:42px;height:42px;padding:0;font-size:24px;line-height:1}
  [data-shared-header]:not(.admin-auth-host) .lang #langBtn{display:grid;place-items:center;width:42px;height:42px;padding:0}
  [data-shared-header]:not(.admin-auth-host) .desktop-language-label{display:none}
  [data-shared-header]:not(.admin-auth-host) .mobile-language-icon{display:inline;font-size:18px}
  html[dir='rtl'] [data-shared-header].site-header:not(.admin-auth-host){grid-template-columns:44px 44px minmax(0,1fr)!important;direction:rtl}
  html[dir='rtl'] [data-shared-header]:not(.admin-auth-host) .brand{grid-column:3;justify-self:end}
  html[dir='rtl'] [data-shared-header]:not(.admin-auth-host) .lang{grid-column:2}
  html[dir='rtl'] [data-shared-header]:not(.admin-auth-host) #menuBtn{grid-column:1}
  .ezpk-mobile-drawer{display:block;position:fixed;inset:0;z-index:999;visibility:hidden;opacity:0;pointer-events:none;transform:translateX(100%);transition:transform .22s ease,opacity .18s ease,visibility 0s linear .22s;background:#0b111b;overflow:hidden}
  .ezpk-mobile-drawer.open{visibility:visible;opacity:1;pointer-events:auto;transform:translateX(0);transition:transform .22s ease,opacity .18s ease}
  .ezpk-mobile-drawer-scroll{position:absolute;inset:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:calc(var(--ezpk-mobile-header-height) + 18px) 16px calc(30px + env(safe-area-inset-bottom))}
  .ezpk-mobile-drawer .mobile-menu-list{display:block!important;width:100%!important}
  .ezpk-mobile-drawer .nav-menu-group{margin:0;padding:0}
  .ezpk-mobile-drawer .nav-menu-group+.nav-menu-group{margin-top:22px;padding-top:18px;border-top:1px solid rgba(255,255,255,.09)}
  .ezpk-mobile-drawer .nav-menu-group>h2{margin:0 4px 10px;color:#7f8ba0;font-size:10px;letter-spacing:.13em}
  .ezpk-mobile-drawer .nav-menu-group-items{display:grid!important;grid-template-columns:1fr;gap:2px!important}
  .ezpk-mobile-drawer .nav-menu-group-items>a{display:flex!important;align-items:center!important;width:100%!important;min-height:50px!important;padding:10px 12px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.07)!important;border-radius:0!important;background:transparent!important;color:#dce2ea!important;text-decoration:none!important;text-align:left!important;box-shadow:none!important}
  .ezpk-mobile-drawer .nav-menu-group-items>a::after{display:none!important;content:none!important}
  .ezpk-mobile-drawer .nav-menu-group-items>a.active{border-inline-start:3px solid #f5c547!important;background:rgba(245,197,71,.06)!important;color:#f5c547!important}
  .ezpk-mobile-drawer .nav-menu-group-items>a.nav-immigration{border-inline-start:3px solid #f5c547!important;color:#f5c547!important}
  .ezpk-mobile-drawer .nav-menu-group-items>a.is-locked{color:#a6afbd!important}
  .ezpk-mobile-drawer .nav-status-badge,.ezpk-mobile-drawer .nav-lock{margin-inline-start:auto}
  .ezpk-mobile-drawer .nav-activity-grid .nav-menu-group-items{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .ezpk-mobile-drawer .nav-activity-grid .nav-menu-group-items>a{justify-content:center!important;min-height:60px!important;padding:10px!important;border:1px solid #283448!important;border-radius:13px!important;background:#111925!important;text-align:center!important;font-weight:900!important}
  .ezpk-mobile-drawer .nav-activity-grid .nav-menu-group-items>a.active{border-color:#d8b94f!important;background:rgba(245,197,71,.09)!important}
  .ezpk-mobile-drawer .mobile-account-slot:not(:empty){display:block!important;width:100%!important;margin-top:24px!important;padding:18px!important;border:1px solid #283448!important;border-radius:16px!important;background:linear-gradient(180deg,#121b28,#0c121c)!important}
  .ezpk-mobile-drawer .mobile-account-slot:first-child{margin-top:0!important;margin-bottom:24px!important}
  .ezpk-mobile-drawer .mobile-account-profile{padding:0 0 16px!important}
  .ezpk-mobile-drawer .mobile-account-profile strong{font-size:17px!important;color:#fff!important}
  .ezpk-mobile-drawer .mobile-account-profile span{display:inline-flex!important;margin-top:6px!important;color:#aab4c2!important;font-size:11px!important}
  .ezpk-mobile-drawer .mobile-account-actions{gap:8px!important}
  .ezpk-mobile-drawer .mobile-account-actions button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:50px!important;padding:10px 14px!important;border-radius:11px!important;text-align:center!important;font-weight:900!important}
  .ezpk-mobile-drawer .mobile-account-actions .account-action-home{order:1;border:1px solid #344156!important;background:#111925!important;color:#e7ebf1!important}
  .ezpk-mobile-drawer .mobile-account-actions .account-action-home.is-current{border-color:#d8b94f!important;background:rgba(245,197,71,.09)!important;color:#f5c547!important}
  .ezpk-mobile-drawer .mobile-account-actions .account-action-admin{order:2;background:#f5c547!important;color:#171000!important}
  .ezpk-mobile-drawer .mobile-account-actions .account-action-mypage{order:3;border:1px solid rgba(245,197,71,.52)!important;background:#111925!important;color:#f5e2a1!important}
  .ezpk-mobile-drawer .mobile-account-profile:not(.is-admin)+.mobile-account-actions .account-action-mypage{background:#f5c547!important;color:#171000!important}
  .ezpk-mobile-drawer .mobile-account-actions .account-action-logout{order:4;min-height:36px!important;margin-top:4px!important;background:transparent!important;color:#8793a4!important;font-size:11px!important}
  .ezpk-mobile-drawer .mobile-account-divider{display:none!important}
  .ezpk-mobile-drawer .mobile-account-actions--guest{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .ezpk-mobile-drawer .mobile-account-actions--guest .account-action-home{grid-column:1/-1!important}
  .ezpk-mobile-drawer .mobile-account-actions--guest button{min-height:50px!important}
  .ezpk-mobile-drawer .mobile-account-actions--guest button[data-account-action='login']{background:#f5c547!important;color:#171000!important}
  .ezpk-mobile-drawer .mobile-account-actions--guest button[data-account-action='signup']{border:1px solid #fff!important;background:#fff!important;color:#171000!important}
  html[dir='rtl'] .ezpk-mobile-drawer .nav-menu-group-items>a{text-align:right!important}
}

@media(max-width:420px){.brand-mark{width:40px;height:40px;border-radius:11px;font-size:22px}[data-shared-header] .brand b{font-size:16px}}
@media(prefers-reduced-motion:reduce){.brand-mark,.ezpk-mobile-drawer{transition:none!important}}

/* v333: compact guest desktop More menu */
@media(min-width:1200px){
  [data-shared-header] #navMoreMenu{
    width:300px!important;min-width:300px!important;height:auto!important;min-height:0!important;
    max-height:min(520px,calc(100vh - 96px))!important;padding:10px!important;
    border-radius:13px!important;overflow-y:auto!important
  }
  [data-shared-header] #navMoreMenu .nav-menu-group{
    display:block!important;width:100%!important;height:auto!important;min-height:0!important;
    margin:0!important;padding:0!important;background:transparent!important
  }
  [data-shared-header] #navMoreMenu .nav-menu-group+.nav-menu-group{
    margin-top:12px!important;padding-top:12px!important;border-top:1px solid rgba(255,255,255,.09)!important
  }
  [data-shared-header] #navMoreMenu .nav-menu-group>h2{
    margin:0 10px 6px!important;padding:0!important;color:#7e899b!important;
    font-size:9px!important;line-height:1.4!important;text-align:left!important
  }
  [data-shared-header] #navMoreMenu .nav-menu-group-items{display:grid!important;gap:2px!important;width:100%!important}
  [data-shared-header] #navMoreMenu a{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    width:100%!important;min-height:42px!important;height:auto!important;margin:0!important;padding:9px 12px!important;
    border-radius:9px!important;white-space:normal!important;line-height:1.25!important;text-align:left!important
  }
  [data-shared-header] #navMoreMenu a:not(.is-locked)::after{
    content:'›';display:block;margin-inline-start:auto;color:#718096;font-size:19px;line-height:1
  }
  [data-shared-header] #navMoreMenu a.active{
    width:100%!important;background:rgba(245,197,71,.11)!important;color:#f5c547!important
  }
  [data-shared-header] #navMoreMenu .nav-lock{margin-inline-start:auto!important;flex:0 0 auto}
  html[dir='rtl'] [data-shared-header] #navMoreMenu .nav-menu-group>h2,
  html[dir='rtl'] [data-shared-header] #navMoreMenu a{text-align:right!important}
  html[dir='rtl'] [data-shared-header] #navMoreMenu a:not(.is-locked)::after{transform:scaleX(-1)}
}

/* v334: consistent guest authentication controls across every shared PC header */
@media(min-width:1200px){
  [data-shared-header] .header-account{gap:8px!important}
  [data-shared-header] .header-account .account-button,
  [data-shared-header] .lang>#langBtn{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    width:auto!important;min-width:0!important;height:42px!important;min-height:42px!important;
    padding:0 16px!important;border-radius:10px!important;box-sizing:border-box!important;
    font-family:inherit!important;font-size:11px!important;font-weight:700!important;line-height:1!important;
    letter-spacing:.02em!important;white-space:nowrap!important;box-shadow:none!important
  }
  [data-shared-header] .header-account .account-login{
    margin-right:0!important;background:#d8b94f!important;border-color:#d8b94f!important;
    color:#15120a!important
  }
  [data-shared-header] .header-account .account-signup,
  [data-shared-header] .lang>#langBtn{
    background:#111823!important;border-color:#344156!important;color:#e7ebf1!important
  }
  [data-shared-header] .header-account .account-signup:hover,
  [data-shared-header] .header-account .account-signup:focus-visible,
  [data-shared-header] .lang>#langBtn:hover,
  [data-shared-header] .lang>#langBtn:focus-visible{
    background:#151e2b!important;border-color:rgba(245,197,71,.72)!important;
    color:#fff!important;outline:none!important;box-shadow:none!important
  }
  [data-shared-header] .header-account .account-login:hover,
  [data-shared-header] .header-account .account-login:focus-visible{
    background:#e3c65c!important;border-color:#e3c65c!important;color:#15120a!important;
    outline:none!important;box-shadow:none!important
  }
}

/* v336 final action-color precedence */
@media(min-width:1200px){
  [data-shared-header] .header-account .account-signup{
    background:#1d4f7a!important;border-color:#3f78a8!important;color:#fff!important
  }
  [data-shared-header] .header-account .account-signup:hover,
  [data-shared-header] .header-account .account-signup:focus-visible{
    background:#245f91!important;border-color:#69a6d7!important;color:#fff!important
  }
}
@media(max-width:1199px){
  .ezpk-mobile-drawer .mobile-account-actions--guest button[data-account-action='signup']{
    border-color:#3f78a8!important;background:#1d4f7a!important;color:#fff!important
  }
  .ezpk-mobile-drawer .mobile-account-actions--guest button[data-account-action='signup']:hover,
  .ezpk-mobile-drawer .mobile-account-actions--guest button[data-account-action='signup']:focus-visible{
    border-color:#69a6d7!important;background:#245f91!important;color:#fff!important;outline:none!important
  }
}

/* v401 Multi-Alliance request admin source badges */
.request-source-badge{display:inline-flex;align-items:center;padding:3px 7px;border:1px solid rgba(255,255,255,.15);border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.08em;margin-right:7px;vertical-align:2px}
.request-source-badge.migration{border-color:rgba(120,176,255,.45);background:rgba(75,126,235,.12)}
.request-admin-thread{display:grid;gap:8px;margin:12px 0}.request-admin-thread-row{border-left:2px solid rgba(255,255,255,.15);padding:8px 10px}.request-admin-thread-row.admin{border-left-color:#7aaaff;background:rgba(80,125,235,.06)}.request-admin-thread-row p{white-space:pre-wrap;margin:4px 0}.request-admin-thread-row small{opacity:.65}

/* v401 alliance selector control */
.alliance-selector-link{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 10px;border:1px solid rgba(255,255,255,.13);border-radius:999px;color:#cbd3df;text-decoration:none;font-size:11px;font-weight:800;letter-spacing:.04em;white-space:nowrap}.alliance-selector-link:hover{border-color:rgba(216,177,91,.45);color:#f2d37b}.alliance-selector-link[hidden]{display:none!important}
@media(max-width:900px){.alliance-selector-link{display:none!important}}

/* v402: desktop multi-alliance header grid repair */
@media(min-width:901px){
  [data-shared-header].site-header{grid-template-columns:auto minmax(0,1fr) auto auto auto!important}
  [data-shared-header] .alliance-selector-link{max-width:138px;overflow:hidden;text-overflow:ellipsis}
}

/* v403: final desktop multi-alliance header containment.
   v402 changed column definitions but the desktop header itself was still flex.
   Use an explicit grid so Alliance Select / Account / Language remain inside the viewport. */
@media(min-width:1200px){
  [data-shared-header].site-header:not(.admin-auth-host){display:grid!important;grid-template-columns:max-content minmax(0,1fr) max-content max-content max-content!important;align-items:center!important;column-gap:12px!important;width:100%!important;min-width:0!important}
  [data-shared-header]:not(.admin-auth-host) .brand{grid-column:1!important;min-width:0!important;justify-self:start!important}
  [data-shared-header]:not(.admin-auth-host) #nav{grid-column:2!important;width:100%!important;min-width:0!important;max-width:100%!important;justify-self:stretch!important}
  [data-shared-header]:not(.admin-auth-host) .desktop-nav-items{min-width:0!important;max-width:100%!important}
  [data-shared-header]:not(.admin-auth-host) .alliance-selector-link{grid-column:3!important;min-height:42px!important;max-width:124px!important;padding-inline:12px!important;overflow:hidden!important;text-overflow:ellipsis!important}
  [data-shared-header]:not(.admin-auth-host) .header-account{grid-column:4!important;min-width:0!important;justify-self:end!important}
  [data-shared-header]:not(.admin-auth-host) .lang{grid-column:5!important;min-width:0!important;justify-self:end!important}
  [data-shared-header]:not(.admin-auth-host) .lang>#langBtn{max-width:142px!important;overflow:hidden!important}
  [data-shared-header]:not(.admin-auth-host) .desktop-language-label{max-width:110px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
}
@media(min-width:1200px) and (max-width:1380px){
  [data-shared-header].site-header:not(.admin-auth-host){column-gap:9px!important;padding-left:2vw!important;padding-right:2vw!important}
  [data-shared-header]:not(.admin-auth-host) .desktop-nav-items{gap:14px!important}
  [data-shared-header]:not(.admin-auth-host) .alliance-selector-link{max-width:104px!important;padding-inline:9px!important;font-size:10px!important}
  [data-shared-header]:not(.admin-auth-host) .header-account .account-button,[data-shared-header]:not(.admin-auth-host) .lang>#langBtn{padding-inline:12px!important}
  [data-shared-header]:not(.admin-auth-host) .lang>#langBtn{max-width:122px!important}
  [data-shared-header]:not(.admin-auth-host) .desktop-language-label{max-width:92px!important}
}
