/* MANTA V46 — Reference-style home welcome popup with admin-managed artwork */
.modal:has(.welcome-popup-hero){align-items:center!important;justify-content:center!important;padding:12px!important;background:rgba(3,18,52,.76)!important;backdrop-filter:blur(10px)}
.sheet:has(.welcome-popup-hero){width:min(620px,calc(100vw - 24px))!important;max-width:620px!important;max-height:calc(100dvh - 24px)!important;margin:auto!important;padding:0!important;overflow-y:auto!important;overflow-x:hidden!important;border-radius:29px!important;background:#fff!important;box-shadow:0 22px 70px rgba(0,18,84,.48),0 0 0 1px rgba(38,211,255,.45)!important;scrollbar-width:thin}
.sheet:has(.welcome-popup-hero)>.modal-close{display:none!important}
.welcome-popup:has(.welcome-popup-hero){position:relative;width:100%;overflow:hidden;border:2px solid #25d8ff;border-radius:29px;background:linear-gradient(180deg,#fff 0%,#f7faff 100%);box-shadow:0 0 24px rgba(25,173,255,.35),inset 0 0 0 1px rgba(255,255,255,.85)}
.welcome-popup-hero{position:relative;isolation:isolate;width:100%;aspect-ratio:1500/598;max-height:265px;min-height:150px;overflow:hidden;background:linear-gradient(120deg,#071b68,#0368e6 58%,#09b5e8)}
.welcome-popup-banner{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;background:#0b2a7d}
.welcome-close{position:absolute;top:12px;right:12px;z-index:4;display:grid;place-items:center;width:43px;height:43px;border:2px solid #7deaff;border-radius:50%;background:rgba(5,34,127,.94);color:#fff;font-size:31px;font-weight:500;line-height:1;box-shadow:0 4px 18px rgba(0,22,102,.45);cursor:pointer}
.welcome-close:active{transform:scale(.94)}
.welcome-popup-tabs{display:flex;gap:7px;padding:12px 16px 0;background:#fff}
.welcome-popup-tabs button{display:flex;align-items:center;justify-content:center;gap:10px;flex:1;min-height:52px;padding:8px 10px;border:1px solid #e4ebfa;border-radius:999px;background:linear-gradient(120deg,#f1f5ff,#e8efff);color:#092b84;font-size:clamp(14px,3.5vw,18px);font-weight:950;transition:all .2s ease}
.welcome-popup-tabs button span{font-size:20px;line-height:1}
.welcome-popup-tabs button.on{border-color:#1be0ff;background:linear-gradient(110deg,#071c9e,#0878fa 70%,#04bde8)!important;color:#fff!important;box-shadow:0 5px 17px rgba(0,83,223,.3),inset 0 0 0 1px rgba(255,255,255,.25)!important}
.welcome-popup-body{padding:14px 17px 6px;background:linear-gradient(180deg,#fff,#f8fbff);max-height:44dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.welcome-popup-body [hidden]{display:none!important}
.welcome-info-row{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:76px;margin:0 0 9px;padding:8px 10px;border:1px solid #ccdcff!important;border-radius:23px!important;background:linear-gradient(110deg,#f6f9ff,#edf3ff)!important;box-shadow:0 5px 14px rgba(20,72,180,.07);font-size:clamp(13px,3.4vw,17px)}
.welcome-info-icon{display:grid;place-items:center;width:50px;height:50px;border:1px solid #c5e5ff;border-radius:50%;background:linear-gradient(145deg,#d7f0ff,#b8dcff)!important;color:#07369d!important;font-size:27px;font-weight:950;box-shadow:inset 0 2px 5px rgba(255,255,255,.85)}
.welcome-info-row b{min-width:0;color:#082d8c!important;font-size:clamp(14px,3.7vw,19px);font-weight:950;line-height:1.32;overflow-wrap:anywhere}
.welcome-info-row strong{display:inline-flex;align-items:center;justify-content:center;min-width:74px;max-width:140px;padding:8px 13px;border:1px solid #c4e4ff;border-radius:999px;background:linear-gradient(120deg,#d8f0ff,#b6ddff)!important;color:#0b3eaa!important;font-size:clamp(15px,4vw,20px);font-weight:950;white-space:nowrap;box-shadow:0 3px 8px rgba(39,114,218,.12)}
.welcome-extra-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:2px 0 9px}
.welcome-extra-grid>div{display:flex;flex-direction:column;gap:4px;min-width:0;padding:10px 12px;border:1px solid #dce7f8;border-radius:14px;background:#f5f9ff}
.welcome-extra-grid small{color:#627493;font-size:10px;font-weight:750}.welcome-extra-grid b{color:#1550b7;font-size:13px;overflow-wrap:anywhere}
.welcome-commission,.welcome-time{border-radius:14px;padding:11px 13px;margin:8px 0;font-size:12px}
.welcome-commission{background:linear-gradient(110deg,#0838b2,#087cdf)!important;color:#fff}.welcome-time{background:#edf7ff!important;border:1px solid #c9e8ff!important;color:#164a8e!important}
.welcome-notice-content{min-height:130px;padding:15px;border:1px solid #d6e5ff;border-radius:17px;background:#f4f8ff;color:#193b79;font-size:13px;line-height:1.75;white-space:pre-wrap}
.welcome-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:13px}
.welcome-links a{display:flex;align-items:center;justify-content:center;min-height:39px;padding:8px;border:1px solid #d4e2ff;border-radius:12px;background:#eaf3ff!important;color:#1044b0!important;font-size:11px;font-weight:900;text-align:center;text-decoration:none}
.welcome-empty{padding:22px 12px;text-align:center;color:#70819d;font-size:13px}
.welcome-start{display:flex!important;align-items:center;justify-content:center;gap:13px;width:calc(100% - 38px)!important;min-height:61px!important;margin:10px 19px 18px!important;padding:12px 18px!important;border:1px solid #30e6ff!important;border-radius:999px!important;background:linear-gradient(105deg,#061b9f 0%,#086bf2 60%,#03bce8 100%)!important;color:#fff!important;font-size:clamp(17px,4vw,22px)!important;font-weight:950!important;letter-spacing:.1px;box-shadow:0 9px 23px rgba(0,89,226,.3),inset 0 1px 0 rgba(255,255,255,.3)!important}
.welcome-start span{font-size:25px;line-height:1}
@media(max-width:420px){
 .modal:has(.welcome-popup-hero){padding:8px!important}
 .sheet:has(.welcome-popup-hero){width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:22px!important}
 .welcome-popup:has(.welcome-popup-hero){border-radius:22px}
 .welcome-popup-hero{min-height:135px;max-height:205px}
 .welcome-close{top:8px;right:8px;width:36px;height:36px;font-size:26px}
 .welcome-popup-tabs{padding:9px 10px 0;gap:6px}
 .welcome-popup-tabs button{min-height:45px;font-size:14px;gap:7px}
 .welcome-popup-tabs button span{font-size:17px}
 .welcome-popup-body{padding:11px 10px 4px;max-height:43dvh}
 .welcome-info-row{grid-template-columns:43px minmax(0,1fr) auto;gap:8px;min-height:65px;padding:7px 8px;border-radius:18px!important;margin-bottom:7px}
 .welcome-info-icon{width:41px;height:41px;font-size:22px}
 .welcome-info-row b{font-size:13px}.welcome-info-row strong{min-width:59px;padding:7px 9px;font-size:15px}
 .welcome-start{width:calc(100% - 24px)!important;min-height:53px!important;margin:8px 12px 12px!important;font-size:17px!important}
}
@media(prefers-reduced-motion:reduce){.welcome-popup:has(.welcome-popup-hero),.welcome-popup:has(.welcome-popup-hero) *{animation:none!important;transition:none!important}}
