/* Portal account and video introduction. Preserves the existing site identity. */
.mbw-gateway,.mbw-account{min-height:100vh;background:#080b19;color:#fbf4e7}
.mbw-gateway{position:relative;isolation:isolate;overflow-x:hidden}
.gateway-scene,.gateway-veil{position:fixed;inset:0;z-index:-2}
.gateway-scene video{width:100%;height:100%;object-fit:cover;object-position:center;filter:saturate(.95)}
.gateway-veil{z-index:-1;background:linear-gradient(93deg,rgba(5,8,20,.94) 0%,rgba(9,12,32,.75) 43%,rgba(11,11,26,.38) 100%),linear-gradient(0deg,rgba(5,8,20,.93),transparent 35%)}
.gateway-header{max-width:1380px;width:100%;margin:auto;padding:24px clamp(16px,4vw,56px);display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;z-index:10}
.gateway-header .brand{text-decoration:none;display:flex;align-items:center;gap:10px;color:#f6e5c2}
.gateway-header .brand img{height:46px;width:46px;object-fit:contain}
.gateway-header .brand strong{display:block;font:700 clamp(1.05rem,1.9vw,1.3rem) 'Cinzel',Georgia,serif}
.gateway-header .brand small{display:block;font-size:.65rem;letter-spacing:.1em}
.gateway-main{min-height:calc(100vh - 176px);display:flex;align-items:center;padding:28px 5vw 55px}
.gateway-main-inner{max-width:min(710px,100%);padding:30px 0}
.gateway-main h1{font-family:'Cinzel',Georgia,serif;font-size:clamp(2.6rem,6vw,5.9rem);line-height:1.12;max-width:740px;margin:16px 0 24px;text-wrap:balance}
.gateway-main h1 em{font-style:normal;color:#edc988}
.gateway-main p{font-size:clamp(1rem,1.8vw,1.26rem);color:#ece0d7;max-width:590px}
.gateway-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:30px 0 18px}
.gateway-actions .btn{min-width:155px}
.gateway-actions .guest-link{padding:13px 8px;color:#fff;text-decoration:underline;text-underline-offset:5px}
.gateway-user{flex-basis:100%;color:#f5d794!important}
.gateway-privacy{color:#cbbfc7!important;font-size:.82rem!important}
.gateway-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:15px;padding:20px max(5vw,22px);color:#e5d0b3;font-size:.82rem;border-top:1px solid #d9ae734a}
.gateway-footer a{text-decoration:underline}
.video-control{background:#0f183abb;border:1px solid #cdb57d80;border-radius:8px;color:#f8eace;padding:8px 14px;cursor:pointer}
.lang-select{min-width:155px;border:1px solid #d6b67d80;background:#141a30e8;color:#f8e9c4;padding:10px 13px;border-radius:8px;font-size:.93rem;max-width:190px}
.lang-select option{background:#11152a;color:#fff}
.mbw-account{background:radial-gradient(circle at 65% 10%,#37234b,#0b0c1d 54%)}
.auth-shell{padding:22px 24px 95px;min-height:75vh;display:grid;place-items:center}
.auth-panel{width:min(100%,570px);border:1px solid #ddbd8547;background:linear-gradient(155deg,#18172edd,#0b1325f2);border-radius:20px;padding:clamp(22px,4vw,45px);box-shadow:0 24px 65px #0006}
.auth-panel h1{font-family:'Cinzel',Georgia,serif;color:#f8e2bb;font-size:clamp(1.65rem,4vw,2.5rem);line-height:1.25;margin:15px 0 12px}
.auth-panel>p{font-size:.97rem;color:#ded6de}
.auth-back{color:#eac482;display:inline-block;margin:0 0 25px}
.auth-form{display:grid;gap:16px;margin:28px 0 19px}
.auth-form label:not(.auth-check):not(.hidden-trap){display:grid;gap:7px;color:#f2e5db;font-size:.9rem;font-weight:600}
.auth-form input:not([type=checkbox]),.auth-form select,.admin-card input{width:100%;padding:13px 15px;border-radius:8px;border:1px solid #8e83a3;color:#f9f2f0;background:#0f142a;font-size:1rem;min-height:48px}
.auth-form input:focus,.auth-form select:focus,.admin-card input:focus{outline:2px solid #e8c17e;outline-offset:2px}
.auth-check{font-size:.85rem;color:#ece0d8;display:flex;gap:9px;align-items:flex-start}
.auth-check input{margin-top:5px;accent-color:#dfbf8c}
.auth-check a{text-decoration:underline}
.auth-form button{min-height:52px;margin-top:5px}
.auth-form button:disabled{opacity:.5;cursor:not-allowed}
.auth-alternatives{display:grid;gap:10px;padding-top:18px;border-top:1px solid #dcb47833}
.auth-alternatives a{color:#edc785;text-decoration:underline;text-underline-offset:3px;font-size:.9rem}
.auth-error,.auth-ok,.auth-warning{border-radius:8px;padding:13px 15px;font-size:.88rem!important;line-height:1.6}
.auth-error{background:#401c28;border:1px solid #ed789b;color:#fff2f2!important}
.auth-ok{background:#153d34;border:1px solid #56bd91;color:#e8ffef!important}
.auth-warning{background:#352c1b;border:1px solid #dfba77;color:#fcefd6!important}
.hidden-trap{position:absolute;left:-9999px;opacity:0;pointer-events:none}
.admin-shell{width:min(1100px,calc(100% - 40px));margin:45px auto 95px}
.admin-shell h1,.admin-shell h2{color:#e9c686;font-family:'Cinzel',Georgia,serif}
.admin-card{margin:28px 0;padding:25px;border:1px solid #d3b57b67;border-radius:12px;background:#15172c}
.admin-card table{width:100%;border-collapse:collapse;font-size:.89rem}
.admin-card th,.admin-card td{text-align:left;padding:12px 8px;border-bottom:1px solid #ffffff27}
.admin-table-scroll{overflow-x:auto;margin-top:18px}
.admin-actions{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap}
.admin-actions form{display:grid;gap:9px}
.auth-actions{display:flex;gap:13px;flex-wrap:wrap;margin:22px 0}
[dir=rtl] .gateway-main-inner,[dir=rtl] .auth-panel{text-align:right}
[dir=rtl] .gateway-main h1,[dir=rtl] .gateway-main p{margin-inline-start:0;margin-inline-end:0}
[dir=rtl] .auth-check{flex-direction:row-reverse;justify-content:flex-end}
@media(max-width:760px){.gateway-veil{background:linear-gradient(0deg,rgba(5,8,20,.93),rgba(5,8,20,.5)),linear-gradient(90deg,rgba(8,10,27,.72),transparent)}.gateway-main{min-height:calc(100svh - 165px);padding-top:0}.gateway-header{padding:16px 20px}.gateway-header .brand small{display:none}.gateway-main-inner{padding:10px 0}.gateway-actions .btn{width:100%}.gateway-actions .guest-link{width:100%;text-align:center}.gateway-footer{gap:12px;justify-content:center}.gateway-header .brand img{width:39px;height:39px}}
.site-language{flex:none}
.account-quick{font-size:.82rem;font-weight:700;color:#f0d7a0!important;border:1px solid #d7b67573;border-radius:7px;padding:9px 11px;white-space:nowrap}
.support-register-cta{border-radius:15px;padding:24px;border:1px solid #deb98678;background:#17182e;display:flex;align-items:flex-start;flex-direction:column;gap:15px}
.support-register-cta h3{margin:0;font-size:1.25rem;color:#f7e0b2}
.support-register-cta p{margin:0}
@media(max-width:900px){.site-language .lang-select{max-width:126px;min-width:115px}.account-quick{padding:8px 10px}}
@media(max-width:700px){.site-language{order:2}.header-inner .account-quick{order:3}.header-inner{flex-wrap:wrap;row-gap:9px}.site-language .lang-select{padding:8px;max-width:160px}}
.profile-delete{margin:25px 0;padding:14px;border:1px solid #ec898965;border-radius:8px}
.profile-delete summary{cursor:pointer;color:#ffd1c8}
.profile-delete form{display:grid;gap:13px;margin-top:15px}
.profile-delete label{display:grid;gap:7px}
.profile-delete input{min-height:45px;border-radius:7px;padding:10px;background:#131b32;color:white}
@media(min-width:851px) and (max-width:1380px){.header-inner{gap:12px;padding:0 16px}.primary-nav{gap:10px}.nav-cta{display:none}.primary-nav a{font-size:.75rem}}
@media(max-width:850px){.site-header{height:auto;min-height:72px}.header-inner{min-height:72px}.primary-nav{top:72px}.menu-toggle{order:1;margin-left:auto}.site-language{order:2}.account-quick{order:3}.brand{order:0}}

.mbw-translation-notice{margin:12px auto 0;padding:9px 14px;max-width:760px;color:#f4dfa9;font-size:.79rem;line-height:1.45;text-align:center;border:1px solid #c3a16b66;border-radius:8px;background:#12162acc}
.site-language{display:flex;align-items:center;justify-content:center}
html[dir="rtl"] .site-header .header-inner{direction:rtl}
html[dir="rtl"] .primary-nav{direction:rtl}
