/* =====================================================================
   CRYOTALE R33 · NEKO TERMINAL —— 赛博冰晶 · 电子猫娘登录/注册外观层
   ---------------------------------------------------------------------
   · 只改外观：不改 app.js / registration-ui.js / 任何接口与校验逻辑。
   · 全部规则挂在 #auth-view.cryo-r33 下（class 由 login-r33.js 添加）。
     如果脚本没加载，页面会自动退回到 R32 原样，不会坏。
   · 必须放在 <head> 里所有登录 CSS 的最后面加载。
   · 背景图沿用线上 R17（电脑横图）与 R27（手机竖图），不新增图片。
   ===================================================================== */

#auth-view#auth-view.cryo-r33{
  --r33-ear:34px;              /* 猫耳高度 */
  --r33-cut:18px;              /* 框体切角 */
  --r33-glass-top:.22;         /* 框体透明度（上），数值越小越透 */
  --r33-glass-bottom:.46;      /* 框体透明度（下） */
  --r33-blur:2.5px;            /* 框体背后毛玻璃强度（0 = 完全不模糊） */
  --r33-cyan:#8ff3ff;
  --r33-violet:#c9b3ff;
  --r33-font:"PingFang SC","HarmonyOS Sans SC","MiSans","Microsoft YaHei","Noto Sans SC","Source Han Sans SC",system-ui,sans-serif;
  --r33-mono:"Cascadia Mono","SF Mono",Consolas,Menlo,"Roboto Mono",monospace;
}

/* ---------- 背景：极淡扫描线（不压暗人物） ---------- */
#auth-view#auth-view.cryo-r33::after{
  content:''!important;display:block!important;position:absolute!important;inset:0!important;z-index:0!important;
  pointer-events:none!important;filter:none!important;transform:none!important;
  background:repeating-linear-gradient(180deg,rgba(255,255,255,.022) 0,rgba(255,255,255,.022) 1px,transparent 1px,transparent 4px)!important;
}

/* =====================================================================
   1. 冰晶赛博方块（替换原来的小方片）
   ===================================================================== */
#auth-view#auth-view.cryo-r33 .cryo-r14-cubes{opacity:1!important;z-index:1!important;display:block}
#auth-view#auth-view.cryo-r33 .cryo-r14-cube{
  width:calc(var(--r14-s,10px) * 1.55)!important;height:calc(var(--r14-s,10px) * 1.55)!important;
  border:1px solid rgba(196,247,255,.85)!important;
  background:linear-gradient(135deg,rgba(228,252,255,.62),rgba(120,195,255,.14) 52%,rgba(201,179,255,.34))!important;
  box-shadow:0 0 10px rgba(120,220,255,.6),inset 0 0 6px rgba(255,255,255,.4)!important;
  animation:cryo-r33-fall var(--r14-dur,26s) linear var(--r14-delay,0s) infinite!important;
  will-change:transform,opacity;
}
#auth-view#auth-view.cryo-r33 .cryo-r14-cube::before{ /* 背面线框 → 立方体透视感 */
  content:'';position:absolute;left:34%;top:-34%;width:100%;height:100%;box-sizing:border-box;
  border:1px solid rgba(196,247,255,.55);
  background:linear-gradient(135deg,rgba(143,243,255,.10),transparent);
}
#auth-view#auth-view.cryo-r33 .cryo-r14-cube::after{ /* 偶尔闪一下 HUD 光 */
  content:'';position:absolute;inset:-3px;border:1px solid #ffffff;opacity:0;
  box-shadow:0 0 14px #8ff3ff;
  animation:cryo-r33-blink 7s linear var(--r14-delay,0s) infinite;
}
@keyframes cryo-r33-fall{
  0%{transform:translate3d(0,-10vh,0) rotate3d(1,1,.2,0deg);opacity:0}
  10%{opacity:.9}
  85%{opacity:.72}
  100%{transform:translate3d(38px,112vh,0) rotate3d(1,1,.2,330deg);opacity:0}
}
@keyframes cryo-r33-blink{0%,90%,100%{opacity:0}93%{opacity:.95}96%{opacity:0}}

@media (min-width:851px){
  #auth-view#auth-view.cryo-r33 .cryo-r14-cube:nth-child(-n+18){display:block!important}
  #auth-view#auth-view.cryo-r33 .cryo-r14-cube:nth-child(n+19){display:none!important}
  #auth-view#auth-view.cryo-r33 .cryo-r14-cube:nth-child(13){--r14-x:66%;--r14-s:9px;--r14-dur:26s;--r14-delay:-11s}
  #auth-view#auth-view.cryo-r33 .cryo-r14-cube:nth-child(14){--r14-x:83%;--r14-s:12px;--r14-dur:32s;--r14-delay:-21s}
  #auth-view#auth-view.cryo-r33 .cryo-r14-cube:nth-child(15){--r14-x:29%;--r14-s:10px;--r14-dur:27s;--r14-delay:-2s}
  #auth-view#auth-view.cryo-r33 .cryo-r14-cube:nth-child(16){--r14-x:58%;--r14-s:6px;--r14-dur:22s;--r14-delay:-9s}
  #auth-view#auth-view.cryo-r33 .cryo-r14-cube:nth-child(17){--r14-x:91%;--r14-s:10px;--r14-dur:29s;--r14-delay:-25s}
  #auth-view#auth-view.cryo-r33 .cryo-r14-cube:nth-child(18){--r14-x:8%;--r14-s:12px;--r14-dur:35s;--r14-delay:-31s}
}

/* =====================================================================
   2. 电脑端：注册框放在图片右侧空白区
   ===================================================================== */
@media (min-width:851px){
  #auth-view#auth-view.cryo-r33 .auth-panel,
  #auth-view#auth-view.cryo-r33:has(#register-tab.active) .auth-panel{
    position:absolute!important;z-index:5!important;
    top:50%!important;bottom:auto!important;left:auto!important;
    right:clamp(36px,8.4vw,190px)!important;
    width:clamp(380px,26vw,484px)!important;max-width:calc(100vw - 40px)!important;
    max-height:100dvh!important;box-sizing:border-box!important;
    padding:calc(var(--r33-ear) + 22px) 12px 18px!important;
    transform:translateY(-50%)!important;
    display:flex!important;flex-direction:column!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    scrollbar-width:none!important;overscroll-behavior:contain;
    background:transparent!important;border:0!important;
  }
}
#auth-view#auth-view.cryo-r33 .auth-panel::-webkit-scrollbar{display:none}
#auth-view#auth-view.cryo-r33 .auth-panel::before,
#auth-view#auth-view.cryo-r33 .auth-panel::after{display:none!important;content:none!important}

/* =====================================================================
   3. 猫娘终端框体（框线由 login-r33.js 生成的 SVG 绘制）
   ===================================================================== */
#auth-view#auth-view.cryo-r33 .auth-box{
  position:relative!important;isolation:isolate!important;
  box-sizing:border-box!important;width:100%!important;max-width:none!important;
  height:auto!important;max-height:none!important;overflow:visible!important;
  margin:0!important;padding:24px 30px 22px!important;
  border:0!important;border-radius:0!important;
  background:none!important;background-image:none!important;
  box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  transform:none!important;filter:none!important;
  font-family:var(--r33-font)!important;
}
#auth-view#auth-view.cryo-r33 .auth-box::before,
#auth-view#auth-view.cryo-r33 .auth-box::after{display:none!important;content:none!important}

/* 半透明毛玻璃：背景会透进框里 */
#auth-view#auth-view.cryo-r33 .r33-glass{
  position:absolute;inset:0;z-index:-2;pointer-events:none;
  clip-path:polygon(0 var(--r33-cut),var(--r33-cut) 0,calc(100% - var(--r33-cut)) 0,100% var(--r33-cut),100% calc(100% - var(--r33-cut)),calc(100% - var(--r33-cut)) 100%,var(--r33-cut) 100%,0 calc(100% - var(--r33-cut)));
  background:linear-gradient(180deg,rgba(14,40,120,var(--r33-glass-top)) 0%,rgba(10,26,92,calc((var(--r33-glass-top) + var(--r33-glass-bottom)) / 2)) 45%,rgba(6,14,56,var(--r33-glass-bottom)) 100%);
  backdrop-filter:blur(var(--r33-blur)) saturate(1.15) brightness(.9);
  -webkit-backdrop-filter:blur(var(--r33-blur)) saturate(1.15) brightness(.9);
}
#auth-view#auth-view.cryo-r33 .r33-glass::after{ /* 冰晶切面高光 */
  content:'';position:absolute;right:-8%;top:16%;width:52%;height:42%;
  clip-path:polygon(40% 0,100% 30%,70% 100%,0 60%);
  background:linear-gradient(140deg,rgba(255,255,255,.10),rgba(255,255,255,0));
}
#auth-view#auth-view.cryo-r33 .r33-scan{
  position:absolute;left:0;right:0;top:0;height:64px;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(143,243,255,.08),transparent);
  animation:cryo-r33-scan 5.5s linear infinite;
}
@keyframes cryo-r33-scan{0%{transform:translateY(0);opacity:0}8%{opacity:1}92%{opacity:1}100%{transform:translateY(var(--r33-scan-h,600px));opacity:0}}

#auth-view#auth-view.cryo-r33 .r33-frame{
  position:absolute;left:0;top:calc(var(--r33-ear) * -1);
  width:100%;height:calc(100% + var(--r33-ear));
  z-index:-1;overflow:visible;pointer-events:none;
}
#auth-view#auth-view.cryo-r33 .r33-frame .r33-ear{fill:rgba(18,48,140,.4)}
#auth-view#auth-view.cryo-r33 .r33-frame .r33-ear-in{fill:url(#r33-ear-grad);animation:cryo-r33-breathe 3s ease-in-out infinite}
#auth-view#auth-view.cryo-r33 .r33-frame .r33-ear-in.r{animation-delay:-1.5s}
#auth-view#auth-view.cryo-r33 .r33-frame .r33-edge{fill:none;stroke:url(#r33-edge-grad);stroke-width:1.7;stroke-linejoin:round;animation:cryo-r33-breathe 4.5s ease-in-out infinite}
#auth-view#auth-view.cryo-r33 .r33-frame .r33-flow{fill:none;stroke:#ffffff;stroke-width:2.6;stroke-linecap:round;stroke-dasharray:90 910;animation:cryo-r33-flow 6.5s linear infinite}
#auth-view#auth-view.cryo-r33 .r33-frame .r33-flow.v{stroke:#d9c9ff;stroke-dasharray:55 945;animation-delay:-3.25s}
#auth-view#auth-view.cryo-r33 .r33-frame .r33-collar{fill:none;stroke:url(#r33-collar-grad);stroke-width:2.2}
#auth-view#auth-view.cryo-r33 .r33-frame .r33-tick{fill:none;stroke:var(--r33-cyan);stroke-width:2}
@keyframes cryo-r33-flow{from{stroke-dashoffset:0}to{stroke-dashoffset:-1000}}
@keyframes cryo-r33-breathe{0%,100%{opacity:.62}50%{opacity:1}}

/* HUD 顶栏 + 侧边竖排字（纯装饰，读屏忽略） */
#auth-view#auth-view.cryo-r33 .r33-hud{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin:0 0 6px;font:400 11px/1.4 var(--r33-mono);letter-spacing:.16em;color:#9fe9ff;
  text-shadow:0 0 8px rgba(143,243,255,.4);white-space:nowrap;
}
#auth-view#auth-view.cryo-r33 .r33-hud-l{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden}
#auth-view#auth-view.cryo-r33 .r33-hud-l i{flex:none;width:7px;height:7px;background:var(--r33-cyan);box-shadow:0 0 10px var(--r33-cyan);animation:cryo-r33-led 1.4s ease-in-out infinite}
#auth-view#auth-view.cryo-r33 .r33-hud-r{color:var(--r33-violet)}
#auth-view#auth-view.cryo-r33 .r33-when-reg{display:none}
#auth-view#auth-view.cryo-r33:has(#register-tab.active) .r33-when-reg{display:inline}
#auth-view#auth-view.cryo-r33:has(#register-tab.active) .r33-when-login{display:none}
@keyframes cryo-r33-led{0%,100%{opacity:1}50%{opacity:.25}}
#auth-view#auth-view.cryo-r33 .r33-side{
  position:absolute;right:9px;top:64px;writing-mode:vertical-rl;pointer-events:none;
  font:400 10px/1 var(--r33-mono);letter-spacing:.42em;color:rgba(170,220,255,.5);
}

/* =====================================================================
   4. 标题：只保留「欢迎来到冰叙域」一行，放在两只猫耳下面
   ===================================================================== */
#auth-view#auth-view.cryo-r33 .cryo-r18-welcome{
  position:relative!important;display:block!important;isolation:auto!important;
  box-sizing:border-box!important;width:100%!important;max-width:none!important;
  margin:8px 0 20px!important;padding:0!important;
  text-align:center!important;white-space:nowrap!important;
  font:900 clamp(27px,1.95vw,35px)/1.25 var(--r33-font)!important;
  letter-spacing:.12em!important;color:#ffffff!important;
  text-shadow:-2px 0 rgba(143,243,255,.85),2px 0 rgba(201,179,255,.85),0 0 22px rgba(143,243,255,.6),0 2px 10px rgba(2,10,40,.6)!important;
  background:none!important;filter:none!important;transform:none!important;
}
#auth-view#auth-view.cryo-r33 .cryo-r18-welcome>span{
  display:inline!important;position:static!important;margin:0!important;padding:0!important;
  font:inherit!important;letter-spacing:inherit!important;line-height:inherit!important;
  color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
  background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;
  text-shadow:inherit!important;filter:none!important;transform:none!important;white-space:nowrap!important;
}
#auth-view#auth-view.cryo-r33 .cryo-r18-welcome::before,
#auth-view#auth-view.cryo-r33 .cryo-r18-welcome::after{display:none!important;content:none!important}

/* =====================================================================
   5. 登录 / 注册切换
   ===================================================================== */
#auth-view#auth-view.cryo-r33 .auth-panel .tabs{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;
  margin:0 0 20px!important;padding:5px!important;
  border:1px solid rgba(130,205,255,.26)!important;border-radius:0!important;
  background:rgba(2,8,34,.46)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);
}
#auth-view#auth-view.cryo-r33 .auth-panel .tab{
  display:flex;align-items:center;justify-content:center;gap:8px;
  height:44px!important;min-height:44px!important;padding:0 8px!important;
  border:0!important;border-radius:0!important;
  clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
  background:transparent!important;color:#a9c6ec!important;
  font:700 15px/1 var(--r33-font)!important;letter-spacing:.24em!important;
  text-shadow:none!important;box-shadow:none!important;cursor:pointer;
  transition:color .2s,background .2s;
}
#auth-view#auth-view.cryo-r33 .auth-panel .tab:not(.active):hover{color:#ffffff!important;background:rgba(143,243,255,.08)!important}
#auth-view#auth-view.cryo-r33 .auth-panel .tab.active{
  background:linear-gradient(95deg,#a6f8ff 0%,#7cc8ff 55%,#b49eff 100%)!important;
  color:#06194a!important;border:0!important;box-shadow:none!important;
}
#auth-view#auth-view.cryo-r33 .auth-panel .tab.active::before{ /* 猫爪肉球 */
  content:'';flex:none;width:14px;height:14px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4.2'/%3E%3Ccircle cx='5.5' cy='10' r='2.2'/%3E%3Ccircle cx='9.5' cy='6' r='2.2'/%3E%3Ccircle cx='14.5' cy='6' r='2.2'/%3E%3Ccircle cx='18.5' cy='10' r='2.2'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cellipse cx='12' cy='16' rx='5' ry='4.2'/%3E%3Ccircle cx='5.5' cy='10' r='2.2'/%3E%3Ccircle cx='9.5' cy='6' r='2.2'/%3E%3Ccircle cx='14.5' cy='6' r='2.2'/%3E%3Ccircle cx='18.5' cy='10' r='2.2'/%3E%3C/svg%3E") center/contain no-repeat;
}
#auth-view#auth-view.cryo-r33 .auth-panel .tab:disabled{opacity:.45;cursor:not-allowed}
#auth-view#auth-view.cryo-r33 .auth-panel .tab:focus-visible{outline:2px solid #fff;outline-offset:-4px}

/* =====================================================================
   6. 表单：标签、输入框、人机验证
   ===================================================================== */
#auth-view#auth-view.cryo-r33 .auth-form{gap:8px!important}
#auth-view#auth-view.cryo-r33 .auth-panel .auth-form label,
#auth-view#auth-view.cryo-r33 .auth-panel .cryo-secure-row label,
#auth-view#auth-view.cryo-r33 .auth-panel #invite-row label{
  display:flex!important;align-items:baseline;justify-content:space-between;gap:10px;
  margin:6px 0 0!important;
  font:700 13px/1.4 var(--r33-font)!important;letter-spacing:.04em!important;
  color:#d6edff!important;text-shadow:0 1px 4px rgba(0,10,40,.85)!important;
}
#auth-view#auth-view.cryo-r33 .auth-panel label::after{
  flex:none;font:400 10.5px/1 var(--r33-mono);letter-spacing:.16em;color:#82b6ea;text-shadow:none;
}
#auth-view#auth-view.cryo-r33 .auth-panel label[for="auth-username"]::after{content:'USER_ID'}
#auth-view#auth-view.cryo-r33 .auth-panel label[for="auth-password"]::after{content:'PASSKEY'}
#auth-view#auth-view.cryo-r33 .auth-panel label[for="cryo-register-email"]::after,
#auth-view#auth-view.cryo-r33 .auth-panel label[for="cryo-action-email"]::after{content:'E-MAIL'}
#auth-view#auth-view.cryo-r33 .auth-panel label[for="invite-code"]::after{content:'INVITE'}
#auth-view#auth-view.cryo-r33 .auth-panel .cryo-secure-row label:not([for])::after{content:'HUMAN_CHECK'}

#auth-view#auth-view.cryo-r33 .auth-panel .cryo-secure-row{gap:8px!important;margin:2px 0 4px!important}
#auth-view#auth-view.cryo-r33 #invite-row:not(.hidden){display:flex;flex-direction:column;gap:8px}

#auth-view#auth-view.cryo-r33 .auth-panel .auth-form input,
#auth-view#auth-view.cryo-r33 .auth-panel .cryo-secure-row input,
#auth-view#auth-view.cryo-r33 .auth-panel #invite-row input{
  box-sizing:border-box!important;width:100%!important;
  height:48px!important;min-height:48px!important;padding:0 14px 0 44px!important;
  border:1px solid rgba(130,205,255,.34)!important;border-left:3px solid var(--r33-cyan)!important;border-radius:3px!important;
  background-color:rgba(3,12,44,.46)!important;
  background-repeat:no-repeat!important;background-position:14px 50%!important;background-size:18px 18px!important;
  color:#f3fbff!important;caret-color:var(--r33-cyan);
  font:500 15px/1.2 var(--r33-font)!important;letter-spacing:.02em;
  text-shadow:none!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;outline:none!important;
  transition:border-color .2s,box-shadow .2s,background-color .2s;
}
#auth-view#auth-view.cryo-r33 .auth-panel input::placeholder{color:#88a8d8!important;opacity:1!important}
#auth-view#auth-view.cryo-r33 .auth-panel .auth-form input:hover,
#auth-view#auth-view.cryo-r33 .auth-panel .cryo-secure-row input:hover{border-color:rgba(143,243,255,.6)!important;border-left-color:var(--r33-cyan)!important}
#auth-view#auth-view.cryo-r33 .auth-panel .auth-form input:focus,
#auth-view#auth-view.cryo-r33 .auth-panel .cryo-secure-row input:focus,
#auth-view#auth-view.cryo-r33 .auth-panel #invite-row input:focus{
  border-color:var(--r33-cyan)!important;background-color:rgba(10,30,90,.72)!important;
  box-shadow:0 0 0 1px rgba(143,243,255,.45),0 0 22px rgba(143,243,255,.28),inset 0 0 18px rgba(143,243,255,.1)!important;
}
/* 浏览器自动填充时不变成白/黄底 */
#auth-view#auth-view.cryo-r33 .auth-panel input:-webkit-autofill,
#auth-view#auth-view.cryo-r33 .auth-panel input:-webkit-autofill:hover,
#auth-view#auth-view.cryo-r33 .auth-panel input:-webkit-autofill:focus{
  -webkit-text-fill-color:#f3fbff!important;
  -webkit-transition:background-color 600000s 0s,color 600000s 0s!important;
  transition:background-color 600000s 0s,color 600000s 0s!important;
}
/* 输入框左侧图标 */
#auth-view#auth-view.cryo-r33 #auth-username{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ff3ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10 6 3l4 4M19 10l-1-7-4 4'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Cpath d='M4 22c1-3 4.2-4.5 8-4.5s7 1.5 8 4.5'/%3E%3C/svg%3E")!important}
#auth-view#auth-view.cryo-r33 #auth-password{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ff3ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E")!important}
#auth-view#auth-view.cryo-r33 #cryo-register-email,
#auth-view#auth-view.cryo-r33 #cryo-action-email{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ff3ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E")!important}
#auth-view#auth-view.cryo-r33 #invite-code{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ff3ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l2.4 7.6L22 12l-7.6 2.4L12 22l-2.4-7.6L2 12l7.6-2.4z'/%3E%3C/svg%3E")!important}

/* 人机验证（Cloudflare 组件本身不可改样式，只给外框） */
#auth-view#auth-view.cryo-r33 .auth-panel .cryo-turnstile-wrap{
  position:relative;box-sizing:border-box;max-width:100%;min-height:0!important;
  padding:5px;border:1px solid rgba(143,243,255,.32);
  background:linear-gradient(90deg,rgba(143,243,255,.08),rgba(201,179,255,.06));
  overflow:hidden;
}
#auth-view#auth-view.cryo-r33 .auth-panel .cryo-turnstile-wrap:empty{min-height:66px!important}
#auth-view#auth-view.cryo-r33 .auth-panel .cryo-turnstile-wrap::before,
#auth-view#auth-view.cryo-r33 .auth-panel .cryo-turnstile-wrap::after{
  content:'';position:absolute;width:11px;height:11px;pointer-events:none;border:2px solid var(--r33-violet);
}
#auth-view#auth-view.cryo-r33 .auth-panel .cryo-turnstile-wrap::before{right:-1px;top:-1px;border-left:0;border-bottom:0}
#auth-view#auth-view.cryo-r33 .auth-panel .cryo-turnstile-wrap::after{left:-1px;bottom:-1px;border-right:0;border-top:0}

/* =====================================================================
   7. 主按钮（进入冰叙域 / 创建你的账号 / 发送邮件）
   ===================================================================== */
#auth-view#auth-view.cryo-r33 .auth-panel .primary-btn{
  position:relative!important;overflow:hidden!important;box-sizing:border-box;width:100%;
  min-height:54px!important;height:auto!important;margin-top:14px!important;padding:12px 18px!important;
  display:flex!important;align-items:center;justify-content:center;gap:10px!important;
  border:0!important;border-radius:0!important;
  clip-path:polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px);
  background:linear-gradient(95deg,#a6f8ff 0%,#6cc6ff 45%,#a993ff 100%)!important;
  color:#06194a!important;-webkit-text-fill-color:#06194a;
  font:900 16px/1.35 var(--r33-font)!important;letter-spacing:.2em!important;text-shadow:none!important;
  box-shadow:none!important;filter:none;cursor:pointer;transition:filter .2s,transform .15s!important;
}
#auth-view#auth-view.cryo-r33 .auth-panel .primary-btn::after{
  content:'';position:absolute;top:0;left:0;width:34%;height:100%;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.7),transparent);
  animation:cryo-r33-sweep 3.2s ease-in-out infinite;
}
@keyframes cryo-r33-sweep{0%{transform:translateX(-160%) skewX(-24deg)}55%,100%{transform:translateX(320%) skewX(-24deg)}}
#auth-view#auth-view.cryo-r33 .auth-panel .primary-btn:hover:not(:disabled){filter:brightness(1.08) saturate(1.1)!important;transform:translateY(-1px)!important}
#auth-view#auth-view.cryo-r33 .auth-panel .primary-btn:focus-visible{outline:2px solid #fff;outline-offset:3px}
#auth-view#auth-view.cryo-r33 .auth-panel .primary-btn:disabled{filter:saturate(.35) brightness(.82)!important;cursor:not-allowed;letter-spacing:.06em!important;font-size:14px!important}
#auth-view#auth-view.cryo-r33 .auth-panel .primary-btn:disabled::after{display:none}

/* =====================================================================
   8. 链接、提示、错误
   ===================================================================== */
#auth-view#auth-view.cryo-r33 .auth-panel .cryo-action-tools{
  display:flex;justify-content:center;align-items:center;gap:22px!important;margin:12px 0 2px!important;
}
#auth-view#auth-view.cryo-r33 .auth-panel .cryo-link-button{
  position:relative;padding:6px 2px!important;
  font:500 13px/1.4 var(--r33-font)!important;color:var(--r33-cyan)!important;
  text-decoration:none!important;text-shadow:0 1px 4px rgba(0,10,40,.8)!important;
}
#auth-view#auth-view.cryo-r33 .auth-panel .cryo-link-button:hover{color:#ffffff!important;text-decoration:underline!important;text-underline-offset:4px}
#auth-view#auth-view.cryo-r33 .auth-panel .cryo-action-tools .cryo-link-button+.cryo-link-button::before{
  content:'';position:absolute;left:-14px;top:50%;width:5px;height:5px;margin-top:-2.5px;
  background:#6f95cf;transform:rotate(45deg);
}
#auth-view#auth-view.cryo-r33 .auth-panel #auth-error{
  min-height:0!important;margin:0!important;
  font:500 13px/1.6 var(--r33-font)!important;color:#ffd3de!important;text-shadow:none!important;
}
#auth-view#auth-view.cryo-r33 .auth-panel #auth-error:not(:empty){
  margin-top:10px!important;padding:9px 12px;border-left:3px solid #ff9ab6;background:rgba(255,110,150,.16);
}
#auth-view#auth-view.cryo-r33 .auth-panel #cryo-register-message{
  margin-top:10px!important;font:400 13px/1.6 var(--r33-font)!important;color:#d3f1ff!important;text-shadow:none!important;
}
#auth-view#auth-view.cryo-r33 .auth-panel #cryo-register-message:not(:empty){
  padding:9px 12px;border-left:3px solid var(--r33-cyan);background:rgba(143,243,255,.1);
}
#auth-view#auth-view.cryo-r33 .auth-panel #cryo-register-message.cryo-error{color:#ffd3de!important}
#auth-view#auth-view.cryo-r33 .auth-panel #cryo-register-message.cryo-error:not(:empty){border-left-color:#ff9ab6;background:rgba(255,110,150,.16)}
/* 注册时同一句报错会同时写进两个位置：只显示按钮下面那一条，避免重复 */
#auth-view#auth-view.cryo-r33:has(#auth-error:not(:empty)) #cryo-register-message.cryo-error{display:none!important}

/* 重发验证邮件 / 找回密码 子面板 */
#auth-view#auth-view.cryo-r33 #cryo-email-actions:not(.hidden){
  margin:12px 0 0!important;padding:14px!important;border:1px solid rgba(143,243,255,.34)!important;border-radius:0!important;
  background:rgba(2,8,34,.5)!important;
}
#auth-view#auth-view.cryo-r33 #cryo-action-heading{
  display:flex;align-items:center;gap:8px;margin-bottom:6px;
  font:700 15px/1.4 var(--r33-font);color:#ffffff;letter-spacing:.08em;
}
#auth-view#auth-view.cryo-r33 #cryo-action-heading::before{content:'';width:7px;height:7px;background:var(--r33-cyan);box-shadow:0 0 10px var(--r33-cyan)}
#auth-view#auth-view.cryo-r33 #cryo-action-cancel{display:block;margin:8px auto 0}

/* =====================================================================
   9. 电脑端左下角四个特色按钮（保留悬停说明，换成 HUD 风格）
   ===================================================================== */
@media (min-width:851px){
  #auth-view#auth-view.cryo-r33 .intro-content .feature-tags{
    gap:4px!important;padding:6px!important;width:min(600px,46vw)!important;
    border:0!important;border-top:1px solid rgba(143,243,255,.75)!important;border-radius:0!important;
    background:linear-gradient(90deg,rgba(10,26,86,.84),rgba(20,56,150,.62))!important;
    backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;
    box-shadow:0 0 24px rgba(63,172,255,.28),inset 0 1px 0 rgba(220,250,255,.18)!important;
    text-shadow:none!important;
  }
  #auth-view#auth-view.cryo-r33 .intro-content .feature-tags>span.cryo-r32-feature{
    min-height:44px!important;padding:8px 6px!important;border:0!important;border-radius:0!important;
    gap:9px!important;
    font:700 14px/1.2 var(--r33-font)!important;letter-spacing:.06em!important;color:#e8f7ff!important;
    text-shadow:0 1px 4px rgba(0,10,40,.8)!important;
    transition:background .2s,box-shadow .2s,color .2s;
  }
  #auth-view#auth-view.cryo-r33 .intro-content .feature-tags>span.cryo-r32-feature:is(:hover,:focus-visible){
    color:#ffffff!important;
    background:linear-gradient(180deg,rgba(143,243,255,0),rgba(143,243,255,.22))!important;
    box-shadow:inset 0 -2px 0 var(--r33-cyan);
  }
  #auth-view#auth-view.cryo-r33 .intro-content .feature-tags>span.cryo-r32-feature>small.cryo-r32-popover{
    gap:6px!important;padding:14px 18px 16px!important;
    border:1px solid rgba(143,243,255,.55)!important;border-left:3px solid var(--r33-cyan)!important;border-radius:2px!important;
    background:linear-gradient(150deg,rgba(16,44,120,.96),rgba(6,16,58,.97))!important;
    box-shadow:0 18px 44px rgba(1,8,32,.5),0 0 24px rgba(74,191,255,.28)!important;
    font-family:var(--r33-font)!important;letter-spacing:.02em!important;
  }
  #auth-view#auth-view.cryo-r33 .intro-content .feature-tags>span.cryo-r32-feature>small.cryo-r32-popover::before{
    font:400 10.5px/1 var(--r33-mono);letter-spacing:.2em;color:var(--r33-violet);
  }
  #auth-view#auth-view.cryo-r33 .feature-tags>span:nth-child(1)>small.cryo-r32-popover::before{content:'FEATURE // 01'}
  #auth-view#auth-view.cryo-r33 .feature-tags>span:nth-child(2)>small.cryo-r32-popover::before{content:'FEATURE // 02'}
  #auth-view#auth-view.cryo-r33 .feature-tags>span:nth-child(3)>small.cryo-r32-popover::before{content:'FEATURE // 03'}
  #auth-view#auth-view.cryo-r33 .feature-tags>span:nth-child(4)>small.cryo-r32-popover::before{content:'FEATURE // 04'}
  #auth-view#auth-view.cryo-r33 .intro-content .feature-tags>span.cryo-r32-feature>small.cryo-r32-popover>b{color:#ffffff!important;font-size:15px!important}
  #auth-view#auth-view.cryo-r33 .intro-content .feature-tags>span.cryo-r32-feature>small.cryo-r32-popover>em{color:#d8ecff!important}
}

/* 特色按钮图标 + 左上角品牌 */
#auth-view#auth-view.cryo-r33 .feature-tags .r33-ficon{display:inline-flex!important;flex:none!important;width:15px!important;height:15px!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;background:none!important;color:var(--r33-cyan)!important;pointer-events:none}
#auth-view#auth-view.cryo-r33 .feature-tags .r33-ficon svg{display:block;width:100%;height:100%}
#auth-view#auth-view.cryo-r33 .r33-brand{display:none}
@media (min-width:851px){
  #auth-view#auth-view.cryo-r33 .r33-brand{
    position:absolute;z-index:6;left:clamp(24px,2.6vw,52px);top:clamp(18px,3vh,36px);
    display:flex;align-items:center;gap:12px;pointer-events:none;
    font:400 13px/1 var(--r33-mono);letter-spacing:.2em;color:#cfe6ff;
    text-shadow:0 1px 6px rgba(0,10,40,.9);
  }
  #auth-view#auth-view.cryo-r33 .r33-brand img{width:60px;height:60px;filter:drop-shadow(0 0 10px rgba(120,220,255,.75))}
  #auth-view#auth-view.cryo-r33 .r33-brand-en{font:800 16px/1 var(--r33-mono);letter-spacing:.32em;color:#ffffff}
}

/* 电脑端：较矮的屏幕（笔记本 768/800 高）压缩间距 */
@media (min-width:851px) and (max-height:820px){
  #auth-view#auth-view.cryo-r33 .auth-panel,
  #auth-view#auth-view.cryo-r33:has(#register-tab.active) .auth-panel{padding-top:calc(var(--r33-ear) + 12px)!important;padding-bottom:10px!important}
  #auth-view#auth-view.cryo-r33 .auth-box{padding:18px 26px 16px!important}
  #auth-view#auth-view.cryo-r33 .auth-panel .auth-form label,
  #auth-view#auth-view.cryo-r33 .auth-panel .cryo-secure-row label{margin-top:2px!important}
  #auth-view#auth-view.cryo-r33 .cryo-r18-welcome{margin:4px 0 14px!important;font-size:clamp(25px,1.8vw,30px)!important}
  #auth-view#auth-view.cryo-r33 .auth-panel .tabs{margin-bottom:14px!important}
  #auth-view#auth-view.cryo-r33 .auth-panel .auth-form input,
  #auth-view#auth-view.cryo-r33 .auth-panel .cryo-secure-row input{height:44px!important;min-height:44px!important}
  #auth-view#auth-view.cryo-r33 .auth-panel .primary-btn{min-height:50px!important;margin-top:10px!important}
}
@media (min-width:851px) and (max-width:1180px){
  #auth-view#auth-view.cryo-r33 .auth-panel,
  #auth-view#auth-view.cryo-r33:has(#register-tab.active) .auth-panel{right:24px!important;width:min(400px,42vw)!important}
  #auth-view#auth-view.cryo-r33 .auth-box{padding:22px 22px 20px!important}
}

/* =====================================================================
   10. 手机端 / Android WebView（竖图 R27，人物脸部留在上方）
   ===================================================================== */
@media (max-width:850px){
  #auth-view#auth-view.cryo-r33{
    --r33-ear:28px;--r33-cut:14px;
    --r33-glass-top:.16;--r33-glass-bottom:.40;--r33-blur:2px;
  }
  #auth-view#auth-view.cryo-r33 .cryo-r14-cubes{opacity:1!important}
  #auth-view#auth-view.cryo-r33 .cryo-r14-cube:nth-child(-n+8){display:block!important}
  #auth-view#auth-view.cryo-r33 .cryo-r14-cube:nth-child(n+9){display:none!important}
  #auth-view#auth-view.cryo-r33 .cryo-r14-cube{width:calc(var(--r14-s,10px) * 1.3)!important;height:calc(var(--r14-s,10px) * 1.3)!important}
  #auth-view#auth-view.cryo-r33 .cryo-r14-cube::after{display:none}

  #auth-view#auth-view.cryo-r33 .auth-panel,
  #auth-view#auth-view.cryo-r33:has(#register-tab.active) .auth-panel{
    padding:clamp(236px,37dvh,350px) 14px max(22px,env(safe-area-inset-bottom))!important;
  }
  #auth-view#auth-view.cryo-r33 .auth-box{
    width:min(100%,440px)!important;max-width:440px!important;margin:0 auto!important;
    padding:18px 18px 16px!important;
  }
  #auth-view#auth-view.cryo-r33 .r33-side{display:none}
  #auth-view#auth-view.cryo-r33 .r33-hud{font-size:10px;letter-spacing:.12em}
  #auth-view#auth-view.cryo-r33 .cryo-r18-welcome{
    font-size:clamp(25px,7.4vw,31px)!important;letter-spacing:.1em!important;margin:6px 0 16px!important;
  }
  #auth-view#auth-view.cryo-r33 .auth-panel .tab{font-size:15px!important}
  #auth-view#auth-view.cryo-r33 .auth-panel .auth-form input,
  #auth-view#auth-view.cryo-r33 .auth-panel .cryo-secure-row input,
  #auth-view#auth-view.cryo-r33 .auth-panel #invite-row input{font-size:16px!important;height:48px!important;min-height:48px!important}
  #auth-view#auth-view.cryo-r33 .auth-panel .cryo-link-button{padding:11px 4px!important}
}
@media (max-width:380px){
  #auth-view#auth-view.cryo-r33 .auth-panel,
  #auth-view#auth-view.cryo-r33:has(#register-tab.active) .auth-panel{padding-left:9px!important;padding-right:9px!important}
  #auth-view#auth-view.cryo-r33 .auth-box{padding:16px 12px 14px!important}
  #auth-view#auth-view.cryo-r33 .auth-panel .cryo-turnstile-wrap{padding:2px}
  #auth-view#auth-view.cryo-r33 .r33-hud-r{display:none}
}
@media (max-width:850px) and (max-height:680px){
  #auth-view#auth-view.cryo-r33 .auth-panel,
  #auth-view#auth-view.cryo-r33:has(#register-tab.active) .auth-panel{padding-top:clamp(170px,31dvh,240px)!important}
}

/* 系统开启「减少动态效果」时，全部静止 */
@media (prefers-reduced-motion:reduce){
  #auth-view#auth-view.cryo-r33 .cryo-r14-cubes{display:none!important}
  #auth-view#auth-view.cryo-r33 .r33-frame *,
  #auth-view#auth-view.cryo-r33 .r33-scan,
  #auth-view#auth-view.cryo-r33 .r33-hud-l i,
  #auth-view#auth-view.cryo-r33 .auth-panel .primary-btn::after{animation:none!important}
  #auth-view#auth-view.cryo-r33 .r33-frame .r33-flow,
  #auth-view#auth-view.cryo-r33 .r33-scan{display:none}
}

/* F3.13 (2026-12-02) 自动登录：勾选框与说明，沿用深海冰样式；不受上面输入框 48px 规则影响 */
.cryo-remember-login{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:8px;row-gap:2px;margin:4px 0 2px;cursor:pointer}
.cryo-remember-login[hidden]{display:none!important}
.cryo-remember-login small{grid-column:2;font-size:11.5px;line-height:1.4;opacity:.8}
#auth-view#auth-view.cryo-r33 .auth-panel .auth-form label.cryo-remember-login{
  display:grid!important;grid-template-columns:auto 1fr;justify-content:start;align-items:center;column-gap:9px;row-gap:2px;
  margin:4px 0 2px!important;cursor:pointer;font:600 13px/1.4 var(--r33-font)!important;letter-spacing:.04em!important}
#auth-view#auth-view.cryo-r33 .auth-panel .auth-form label.cryo-remember-login[hidden]{display:none!important}
#auth-view#auth-view.cryo-r33 .auth-panel label.cryo-remember-login::after{content:none!important}
#auth-view#auth-view.cryo-r33 .auth-panel .auth-form label.cryo-remember-login input{
  width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:0!important;
  border:none!important;background:none!important;box-shadow:none!important;accent-color:var(--r33-cyan);cursor:pointer}
#auth-view#auth-view.cryo-r33 .auth-panel .auth-form label.cryo-remember-login small{
  grid-column:2;font:400 11.5px/1.4 var(--r33-font);letter-spacing:.02em;color:#9cc3ea;text-shadow:none}
