/* Berwirausaha Divi Luxury 2.18.0 - Compact Neon Crown login top-border precision patch.
   Applied only on logged-out Member/Account route. No auth or member logic changes. */
body.bw-v16.bw-view-member .bw-guest-account{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-height:0!important;
  width:100%!important;
  max-width:100%!important;
  padding:clamp(64px,8vw,78px) 12px calc(88px + env(safe-area-inset-bottom))!important;
  gap:0!important;
  box-sizing:border-box;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel{
  width:min(100%,430px)!important;
  max-width:430px!important;
  margin:0 auto!important;
  padding:36px 22px 19px!important;
  border:1.4px solid rgba(46,215,252,.94)!important;
  border-top:0!important;
  border-radius:21px!important;
  background:
    radial-gradient(ellipse 100% 30% at 50% 0%,rgba(8,97,166,.18),transparent 77%),
    linear-gradient(154deg,rgba(5,34,62,.98),rgba(2,20,38,.99))!important;
  box-shadow:0 0 20px rgba(8,208,254,.26),0 15px 38px rgba(0,7,19,.52),inset 0 1px 12px rgba(30,148,190,.09)!important;
}
/* No complete top rule: the two light streaks belong to the badge instead. */
body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel::before{
  /* Prevent the legacy ::before height:2px and golden background from drawing a full line. */
  inset:7px!important;
  top:7px!important;
  right:7px!important;
  bottom:7px!important;
  left:7px!important;
  width:auto!important;
  height:auto!important;
  border:1px solid rgba(224,176,87,.25)!important;
  border-top:0!important;
  border-radius:15px!important;
  background:none!important;
  box-shadow:none!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel::after{
  /* Two disconnected beams on the rim; center gap keeps the avatar pristine. */
  content:""!important;
  display:block!important;
  position:absolute!important;
  z-index:1!important;
  top:0!important;
  bottom:auto!important;
  left:18px!important;
  right:18px!important;
  width:auto!important;
  height:2px!important;
  border:0!important;
  border-radius:0!important;
  background:
    linear-gradient(90deg,rgba(36,221,255,.42),rgba(238,191,98,.94) 66%,transparent 100%) left center/36% 100% no-repeat,
    linear-gradient(270deg,rgba(36,221,255,.42),rgba(238,191,98,.94) 66%,transparent 100%) right center/36% 100% no-repeat!important;
  box-shadow:none!important;
  opacity:.72;
  pointer-events:none!important;
  filter:drop-shadow(0 0 3px rgba(18,210,250,.35));
  animation:bw218-crest-side-light 3.8s ease-in-out infinite!important;
}
@keyframes bw218-crest-side-light{
  0%,100%{opacity:.38;filter:brightness(.87) drop-shadow(0 0 2px rgba(16,200,237,.25))}
  50%{opacity:.84;filter:brightness(1.14) drop-shadow(0 0 5px rgba(22,209,249,.48))}
}
body.bw-v16.bw-view-member .bw-guest-account .bw-card-head{
  display:flex!important;
  align-items:center!important;
  gap:0!important;
  margin:0 0 8px!important;
  padding:0!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-card-head::before,
body.bw-v16.bw-view-member .bw-guest-account .bw-card-head::after{
  content:none!important;
  display:none!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-card-head>div{gap:5px!important;}
body.bw-v16.bw-view-member .bw-guest-account .bw-icon-tile{
  position:relative!important;
  z-index:5!important;
  display:grid!important;
  place-items:center!important;
  flex:none!important;
  box-sizing:border-box!important;
  width:70px!important;
  height:70px!important;
  padding:13px!important;
  margin:-77px auto 21px!important;
  border:1.5px solid #f7d58d!important;
  border-radius:50%!important;
  overflow:visible!important;
  background:radial-gradient(circle at 36% 24%,#145379,#04253e 67%,#031628)!important;
  color:#ffe3a1!important;
  box-shadow:0 0 0 6px #06263f,0 0 0 8px rgba(34,209,247,.80),0 0 0 10px rgba(243,193,99,.2),0 0 17px 8px rgba(3,187,243,.25)!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-icon-tile svg{
  width:32px!important;
  height:32px!important;
}
/* Remove the old avatar-centered light rays: they crossed both the crest and top frame. */
body.bw-v16.bw-view-member .bw-guest-account .bw-icon-tile::before,
body.bw-v16.bw-view-member .bw-guest-account .bw-icon-tile::after{
  content:none!important;
  display:none!important;
  animation:none!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-eyebrow{
  font-size:10px!important;
  line-height:1.25!important;
  letter-spacing:.18em!important;
}
body.bw-v16.bw-view-member .bw-guest-account #bw-login-title{
  font-size:clamp(22px,5.6vw,31px)!important;
  line-height:1.12!important;
  letter-spacing:-.045em!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel>p:not(.bw-notice):not(.bw-card-note){
  max-width:37ch!important;
  margin:8px auto 17px!important;
  font-size:12px!important;
  line-height:1.43!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-form{
  display:grid!important;
  gap:11px!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-form>label{
  gap:5px!important;
  font-size:12px!important;
  line-height:1.35!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-form input:is([type=text],[type=password]){
  height:46px!important;
  min-height:46px!important;
  border-radius:12px!important;
  padding:9px 43px!important;
  background-size:18px 18px!important;
  background-position:14px center!important;
  font-size:15px!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-form input[name="bw_password"]{
  padding-right:45px!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-show-password{
  right:4px;
  top:3px;
  bottom:3px;
  width:36px;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-show-password svg{width:19px;height:19px;}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-options{
  gap:7px!important;
  font-size:11px!important;
  line-height:1.35!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-options .bw-check,
body.bw-v16.bw-view-member .bw-guest-account .bw-login-options a{font-size:11px!important;}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-form>.bw-button-gold{
  min-height:46px!important;
  margin-top:1px!important;
  padding:9px 12px!important;
  border-radius:12px!important;
  font-size:14px!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-divider{
  margin:14px 0 11px!important;
  font-size:11.5px!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-button-register{
  min-height:46px!important;
  padding:8px 10px!important;
  border-radius:12px!important;
  font-size:clamp(11px,2.9vw,13px)!important;
  gap:6px!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-button-register svg{width:18px;height:18px;}
body.bw-v16.bw-view-member .bw-guest-account .bw-card-note{
  margin:10px 0 3px!important;
  line-height:1.37!important;
  font-size:10.5px!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-login-mentor-link{
  margin:0!important;
  min-height:29px!important;
  padding:5px 0 0!important;
  font-size:11px!important;
}
body.bw-v16.bw-view-member .bw-guest-account .bw-guest-return{
  display:none!important;
}
body.bw-view-member:has(.bw-guest-account) .bw-footer{display:none!important;}
@media(min-width:700px){
  body.bw-v16.bw-view-member .bw-guest-account{padding-top:87px!important;}
  body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel{width:min(100%,460px)!important;max-width:460px!important;padding:41px 29px 24px!important;}
}
@media(max-width:480px){
  body.bw-v16.bw-view-member .bw-guest-account{padding:67px 10px calc(82px + env(safe-area-inset-bottom))!important;}
  body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel{width:100%!important;padding:32px 16px 15px!important;border-radius:19px!important;}
  body.bw-v16.bw-view-member .bw-guest-account .bw-icon-tile{width:64px!important;height:64px!important;padding:12px!important;margin:-70px auto 19px!important;}
  body.bw-v16.bw-view-member .bw-guest-account .bw-icon-tile svg{width:30px!important;height:30px!important;}
}
@media(max-width:360px){
  body.bw-v16.bw-view-member .bw-guest-account{padding:60px 9px calc(78px + env(safe-area-inset-bottom))!important;}
  body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel{padding:30px 13px 13px!important;}
  body.bw-v16.bw-view-member .bw-guest-account #bw-login-title{font-size:22px!important;}
  body.bw-v16.bw-view-member .bw-guest-account .bw-card-note{font-size:10px!important;}
}
@media(max-height:750px) and (max-width:700px){
  body.bw-v16.bw-view-member .bw-guest-account{padding-top:57px!important;}
  body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel>p:not(.bw-notice):not(.bw-card-note){margin-bottom:12px!important;}
  body.bw-v16.bw-view-member .bw-guest-account .bw-login-form{gap:9px!important;}
}
@media(prefers-reduced-motion:reduce){
  body.bw-v16.bw-view-member .bw-guest-account .bw-login-panel::after{
    animation:none!important;opacity:.57!important;filter:none!important;
  }
}
