nav a.active{color:#f5c547!important}
.bgb-main{min-height:100vh}.bgb-hero{padding:92px 20px 58px;text-align:center;background:radial-gradient(circle at 50% 0,#efb62b20,transparent 48%)}.bgb-hero h1{margin:13px 0 12px;font-size:clamp(58px,10vw,116px);line-height:.9;color:#f5c547}.bgb-hero p{max-width:780px;margin:auto;color:#aeb8c5;font-size:18px;line-height:1.65}.map-section,.location-section,.assignment-section{padding:68px 4vw}.section-head{max-width:1400px;margin:0 auto 25px}.section-head>span{color:#f5c547;font-size:12px;font-weight:900;letter-spacing:3px}.section-head h2{margin:8px 0;font-size:clamp(30px,4vw,50px)}.section-head p{margin:0;color:#98a4b3}.map-frame{max-width:1200px;margin:auto;padding:10px;border:1px solid #ffffff1c;border-radius:18px;background:#ffffff08}.location-legend{max-width:1400px;margin:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.legend-item{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid #ffffff15;border-radius:14px;background:#111823}.location-code{display:grid;place-items:center;min-width:62px;height:48px;border:1px solid #f5c54766;border-radius:12px;background:#f5c54712;color:#f5c547;font-weight:900}.legend-item strong{display:block;font-size:16px}.legend-item small{display:block;margin-top:4px;color:#7f8a99}.location-cards{max-width:1400px;margin:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.location-card{overflow:hidden;border:1px solid #ffffff16;border-radius:16px;background:#0d131e}.location-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:18px 20px;border:0;background:#111a27;color:#fff;text-align:left;cursor:pointer}.location-title{display:flex;align-items:center;gap:13px}.location-title h3{margin:0;font-size:19px}.location-title p{margin:4px 0 0;color:#7f8a99;font-size:12px}.location-meta{display:flex;align-items:center;gap:10px}.member-count{color:#f5c547;font-weight:900}.chevron{transition:transform .2s ease}.location-card.collapsed .chevron{transform:rotate(180deg)}.assigned-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#ffffff0c}.assigned-member{padding:15px 17px;background:#0d131e}.assigned-member strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assigned-member small{display:block;margin-top:5px;color:#8d98a7}.empty-assignment{grid-column:1/-1;padding:28px;text-align:center;color:#687486;background:#0d131e}.bgb-updated{max-width:1400px;margin:22px auto 0;text-align:right;color:#6f7a89}.bgb-updated strong{margin-left:7px;color:#aab4c1}.rtl .location-toggle,.rtl .legend-item{text-align:right}.rtl .bgb-updated{text-align:left}@media(max-width:900px){.location-legend{grid-template-columns:repeat(2,minmax(0,1fr))}.location-cards{grid-template-columns:1fr}}@media(max-width:620px){.map-section,.location-section,.assignment-section{padding:52px 12px}.location-legend{grid-template-columns:1fr}.assigned-list{grid-template-columns:1fr}.bgb-hero{padding-top:78px}.bgb-hero p{font-size:15px}.location-toggle{padding:15px}.location-code{min-width:54px;height:43px}.bgb-updated{text-align:center}.rtl .bgb-updated{text-align:center}}

/* v10 A/B team lineup */
.team-tabs{max-width:1400px;margin:0 auto 16px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.team-tabs button{padding:16px;border:1px solid #ffffff18;border-radius:11px;background:#111a27;color:#9ca8b7;font-weight:900;cursor:pointer}.team-tabs button.active{border-color:#f5c547;background:#f5c547;color:#171000}.final-lineup-card{max-width:1400px;margin:0 auto 18px;padding:18px;border:1px solid #ffffff16;border-radius:16px;background:#0d131e}.final-lineup-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}.final-lineup-head span{display:grid;place-items:center;min-width:82px;height:42px;border:1px solid #f5c54766;border-radius:10px;background:#f5c54710;color:#f5c547;font-weight:900}.final-lineup-head h3{margin:0}.final-lineup{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.final-member{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid #ffffff10;border-radius:10px;background:#111923}.final-member span{color:#6f7b8b;font-size:11px;font-weight:900}.final-member strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assigned-member small{display:none}.location-meta{display:none}
@media(max-width:1000px){.final-lineup{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.final-lineup{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.final-lineup{grid-template-columns:1fr}}


/* v21 full team-lineup preview */
.download-row{max-width:1400px;margin:0 auto 18px;display:flex;justify-content:flex-end}.team-lineup-view{min-height:48px;padding:0 20px;border:1px solid #f5c54788;border-radius:11px;background:#f5c547;color:#171000;font-weight:900;cursor:pointer;box-shadow:0 10px 28px #0004}.team-lineup-view:hover{filter:brightness(1.07);transform:translateY(-1px)}.team-lineup-view:active{transform:translateY(0)}
.rtl .download-row{justify-content:flex-start}
@media(max-width:620px){.download-row{display:block}.team-lineup-view{width:100%}}

/* v21 cross-browser full-screen team-lineup preview */
.image-preview-modal[hidden]{display:none}.image-preview-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:14px}.image-preview-backdrop{position:absolute;inset:0;background:#02050ae8;backdrop-filter:blur(8px)}.image-preview-panel{position:relative;z-index:1;width:min(960px,100%);max-height:calc(100vh - 28px);overflow:auto;border:1px solid #ffffff1c;border-radius:18px;background:#0b111b;box-shadow:0 30px 90px #000c}.image-preview-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid #ffffff12;background:#0b111bf2;backdrop-filter:blur(12px)}.preview-kicker{color:#f5c547;font-size:11px;font-weight:900;letter-spacing:2px}.image-preview-head h2{margin:5px 0 0;font-size:22px}.preview-close{width:42px;height:42px;border:1px solid #ffffff1c;border-radius:50%;background:#151e2b;color:#fff;font-size:28px;line-height:1;cursor:pointer}.preview-guide{margin:0;padding:16px 20px;color:#d8dee7;background:#f5c54712;line-height:1.6}.preview-image-wrap{padding:14px}.preview-image-wrap img{display:block;width:100%;height:auto;border-radius:10px;box-shadow:0 12px 40px #0008;-webkit-touch-callout:default;user-select:auto}.preview-actions{position:sticky;bottom:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px 20px;border-top:1px solid #ffffff12;background:#0b111bf2;backdrop-filter:blur(12px)}.preview-actions button{min-height:48px;border-radius:11px;font-weight:900;cursor:pointer}.preview-secondary{border:1px solid #ffffff20;background:#151e2b;color:#fff}.preview-primary{border:1px solid #f5c54788;background:#f5c547;color:#171000}.rtl .image-preview-head{text-align:right}@media(max-width:620px){.image-preview-modal{padding:0}.image-preview-panel{width:100%;height:100vh;max-height:100vh;border-radius:0}.preview-actions{grid-template-columns:1fr}.image-preview-head{padding:14px}.preview-guide{padding:14px}.preview-image-wrap{padding:10px}}

.preview-primary-full{grid-column:1/-1}
@media(max-width:620px){.preview-primary-full{grid-column:auto}}

/* v62: shared alliance password gate for BGB lineups */
.bgb-lock{max-width:760px;margin:0 auto;padding:54px 30px;text-align:center;border:1px solid rgba(245,197,71,.24);border-radius:24px;background:linear-gradient(145deg,rgba(18,24,35,.96),rgba(8,12,19,.98));box-shadow:0 24px 70px rgba(0,0,0,.35)}
.lock-emblem{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)}
.lock-kicker{display:block;color:#f5c547;font-size:.76rem;font-weight:900;letter-spacing:.22em;margin-bottom:12px}
.bgb-lock h2{margin:0;color:#fff;font-size:clamp(1.7rem,4vw,2.6rem)}
.bgb-lock>p{max-width:560px;margin:14px auto 28px;color:#9ca8b8;line-height:1.7}
.bgb-lock-form{max-width:560px;margin:0 auto;text-align:left}
.bgb-lock-form label{display:block;margin:0 0 9px;color:#dce2ea;font-size:.88rem;font-weight:800}
.bgb-password-row{display:flex;gap:10px}
.bgb-password-row input{min-width:0;flex:1;height:50px;padding:0 16px;border-radius:12px;border:1px solid #303b4d;background:#080c13;color:#fff;font-size:1rem;outline:none}
.bgb-password-row input:focus{border-color:#f5c547;box-shadow:0 0 0 3px rgba(245,197,71,.11)}
.bgb-password-row button,.protected-toolbar button{border:1px solid #f5c547;border-radius:12px;background:#f5c547;color:#101217;font-weight:900;cursor:pointer;padding:0 20px}
.bgb-lock-error{min-height:22px;margin:10px 0 0!important;color:#ff7979!important;font-size:.87rem}
.protected-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:-6px 0 20px;color:#7fdca8;font-size:.85rem;font-weight:800}
.protected-toolbar button{height:36px;padding:0 14px;background:transparent;color:#f5c547}
[hidden]{display:none!important}
.rtl .bgb-lock-form{text-align:right}
@media(max-width:620px){.bgb-lock{padding:38px 18px;border-radius:18px}.bgb-password-row{flex-direction:column}.bgb-password-row button{height:48px}.protected-toolbar{justify-content:space-between}}
