/* CRYOTALE R16 · full-bleed cyber ice entry, extra falling data-cubes, frosted tilt.
   LOGIN ONLY. No auth/registration JS changes. Keep all interactive fields real. */
#auth-view.auth-layout{
  background-color:#071332;
  background-image:linear-gradient(100deg,rgba(4,9,30,.015),rgba(3,15,44,.04)),url('/static/cryo_login_r16_v1/shuangyin-ice-r16.webp?v=20261107-r16-poster01');
  /* No letterboxing, no zoom/crop: stretch both axes slightly to exactly fill the viewport. */
  background-size:100% 100%,100% 100%;background-position:center; background-repeat:no-repeat;
}
#auth-view.auth-layout::before{
  background:linear-gradient(90deg,rgba(4,12,28,.025),transparent 54%,rgba(3,9,32,.12));
}
#auth-view.auth-layout::after{background:none;}
/* The poster artwork itself carries the four feature symbols at lower left.
   Remove the old duplicated mascot/quote card; keep genuine feature words for a11y and mobile. */
@media(min-width:851px){
  #auth-view .intro-panel{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap;}
  #auth-view .auth-panel{
    right:clamp(20px,3.6vw,82px); width:clamp(380px,32.6vw,570px);
    top:clamp(68px,16vh,165px);bottom:clamp(31px,9vh,95px);
    transform:rotate(-1.12deg);transform-origin:50% 48%;
  }
  #auth-view .auth-box{
    border:1.5px solid rgba(116,230,255,.91);
    border-radius:clamp(23px,2.6vw,38px);
    /* 90% transparent color layer; backdrop-frost blends away any fake elements painted in poster. */
    background:linear-gradient(133deg,rgba(7,30,75,.11),rgba(7,28,70,.085) 44%,rgba(4,24,61,.12));
    backdrop-filter:blur(20px) brightness(.80) saturate(1.32);
    -webkit-backdrop-filter:blur(20px) brightness(.80) saturate(1.32);
    box-shadow:0 0 0 2px rgba(66,158,245,.25),inset 0 0 25px rgba(88,171,252,.07),
      0 0 22px rgba(96,213,255,.66),0 0 65px rgba(42,132,255,.33),0 13px 50px rgba(1,8,29,.38);
  }
  #auth-view .auth-panel .auth-form input,
  #auth-view .auth-panel .cryo-secure-row input,
  #auth-view .auth-panel #invite-row input{background:rgba(15,49,107,.38);border-color:rgba(140,207,255,.74)}
  #auth-view .auth-panel .tabs{margin-bottom:clamp(15px,2vh,25px)}
  #auth-view .auth-panel .tab{background:rgba(21,58,124,.19)}
  #auth-view .auth-panel .tab.active{background:linear-gradient(100deg,rgba(20,134,239,.70),rgba(40,87,232,.81));}
  #auth-view .auth-panel .bottom-note{display:none}
  /* Keep the registered user inputs and captcha reachable inside the card at short viewport heights. */
  #auth-view:has(#register-tab.active) .auth-panel{top:clamp(28px,8vh,105px);bottom:clamp(16px,4vh,60px)}
}
/* More refined ice-data drops: tiny square crystals, occasional diamonds; transform-only motion. */
#auth-view .cryo-r14-cubes{z-index:2;opacity:.87}
#auth-view .cryo-r14-cube{
  opacity:0;border:1px solid rgba(183,238,255,.83);border-radius:2px;
  background:linear-gradient(135deg,rgba(203,247,255,.45),rgba(85,189,255,.08) 48%,rgba(74,106,241,.32));
  box-shadow:inset 0 0 4px rgba(219,253,255,.37),0 0 8px rgba(86,210,254,.51);
  animation-duration:var(--r14-dur);
}
#auth-view .cryo-r14-cube:nth-child(3n){border-radius:0;transform:rotate(45deg);}
#auth-view .cryo-r14-cube:nth-child(13){--r14-x:20%;--r14-s:11px;--r14-dur:26s;--r14-delay:-7s;}
#auth-view .cryo-r14-cube:nth-child(14){--r14-x:51%;--r14-s:15px;--r14-dur:29s;--r14-delay:-14s;}
#auth-view .cryo-r14-cube:nth-child(15){--r14-x:82%;--r14-s:4px;--r14-dur:16s;--r14-delay:-21s;}
#auth-view .cryo-r14-cube:nth-child(16){--r14-x:16%;--r14-s:6px;--r14-dur:19s;--r14-delay:0s;}
#auth-view .cryo-r14-cube:nth-child(17){--r14-x:47%;--r14-s:8px;--r14-dur:22s;--r14-delay:-7s;}
#auth-view .cryo-r14-cube:nth-child(18){--r14-x:78%;--r14-s:11px;--r14-dur:26s;--r14-delay:-14s;}
#auth-view .cryo-r14-cube:nth-child(19){--r14-x:12%;--r14-s:15px;--r14-dur:29s;--r14-delay:-21s;}
#auth-view .cryo-r14-cube:nth-child(20){--r14-x:43%;--r14-s:4px;--r14-dur:16s;--r14-delay:0s;}
#auth-view .cryo-r14-cube:nth-child(21){--r14-x:74%;--r14-s:6px;--r14-dur:19s;--r14-delay:-7s;}
#auth-view .cryo-r14-cube:nth-child(22){--r14-x:8%;--r14-s:8px;--r14-dur:22s;--r14-delay:-14s;}
#auth-view .cryo-r14-cube:nth-child(23){--r14-x:39%;--r14-s:11px;--r14-dur:26s;--r14-delay:-21s;}
#auth-view .cryo-r14-cube:nth-child(24){--r14-x:70%;--r14-s:15px;--r14-dur:29s;--r14-delay:0s;}
#auth-view .cryo-r14-cube:nth-child(25){--r14-x:4%;--r14-s:4px;--r14-dur:16s;--r14-delay:-7s;}
#auth-view .cryo-r14-cube:nth-child(26){--r14-x:35%;--r14-s:6px;--r14-dur:19s;--r14-delay:-14s;}
#auth-view .cryo-r14-cube:nth-child(27){--r14-x:66%;--r14-s:8px;--r14-dur:22s;--r14-delay:-21s;}
#auth-view .cryo-r14-cube:nth-child(28){--r14-x:0%;--r14-s:11px;--r14-dur:26s;--r14-delay:0s;}

@media(max-width:850px){
  #auth-view.auth-layout{
    --r16-mobile-header:clamp(142px,25dvh,210px);
    background-image:linear-gradient(180deg,rgba(3,11,29,.18),rgba(3,13,38,.66) 26%,#081635 68%,#06132a),url('/static/cryo_login_r16_v1/shuangyin-mobile-r16.webp?v=20261107-r16-mobile01');
    background-size:cover,auto min(73vw,345px);background-position:center,top left 1vw;
  }
  #auth-view .intro-panel{height:var(--r16-mobile-header)}
  #auth-view .intro-content{margin:auto 0 9px}
  #auth-view .intro-content .feature-tags{
    display:flex;gap:4px;justify-content:flex-end;flex-wrap:wrap;margin-top:6px;
  }
  #auth-view .feature-tags span{
    color:#d4f4ff;font-size:clamp(9px,2.5vw,11px);padding:5px 6px;
    background:rgba(6,32,74,.46);border:1px solid rgba(123,205,247,.44);
    border-radius:7px;backdrop-filter:none;
  }
  #auth-view .auth-panel{transform:none;flex:0 1 auto;height:auto;}
  #auth-view .auth-box{
    height:auto;max-height:calc(100dvh - var(--r16-mobile-header) - 16px);
    background:linear-gradient(132deg,rgba(8,31,80,.30),rgba(6,24,65,.24));
    backdrop-filter:blur(10px) brightness(.76);-webkit-backdrop-filter:blur(10px) brightness(.76);
  }
  #auth-view .auth-panel .bottom-note{display:none}
  #auth-view .cryo-r14-cube:nth-child(n+9){display:none}
}
@media(max-width:370px){
  #auth-view.auth-layout{--r16-mobile-header:clamp(132px,24dvh,174px)}
  #auth-view .intro-panel{height:var(--r16-mobile-header)}
  #auth-view .feature-tags span{font-size:9px;padding:4px 5px}
  #auth-view .auth-box{padding-top:13px}
}
@media(max-height:630px) and (min-width:851px){
  #auth-view .auth-panel{top:2vh;bottom:2vh}
}
@media(prefers-reduced-motion:reduce){
  #auth-view .cryo-r14-cube{animation:none!important;display:none!important;}
}
