:root{
  --tok-shell-height:64px;
  --p50:#F5F3FF;--p100:#EDE9FE;--p200:#DDD6FE;
  --p400:#A78BFA;--p600:#7C3AED;--p700:#6D28D9;
  --g0:#FFFFFF;--g50:#F9FAFB;--g100:#F3F4F6;
  --g200:#E5E7EB;--g400:#9CA3AF;--g600:#4B5563;--g700:#374151;--g900:#111827;
  --font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}


body.tok-shell-ready{
  padding-top:var(--tok-shell-height);
}

body.tok-shell-ready header.pointer-events-none.fixed.inset-x-0.top-0.z-50,
body.tok-shell-ready header.sticky.top-0.z-40{
  opacity:0;
  pointer-events:none;
}

#tok-official-shell,
#tok-official-shell *{
  box-sizing:border-box;
}

#tok-official-shell nav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1200;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 40px;
  gap:24px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(20px) saturate(1.4);
  -webkit-backdrop-filter:blur(20px) saturate(1.4);
  border-bottom:1px solid rgba(17,24,39,.06);
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.65);
  font-family:var(--font);
}


#tok-official-shell a:focus-visible,
#tok-official-shell button:focus-visible,
#tok-official-shell .lopt:focus-visible{
  outline:2px solid var(--p600);
  outline-offset:2px;
  border-radius:8px;
}

#tok-official-shell .nlogo{
  display:flex;
  align-items:center;
  flex-shrink:0;
  width:150px;
  height:31px;
  text-decoration:none;
  background:url("/tok-assets/logo-cropped-alpha.png") left center/contain no-repeat;
}

#tok-official-shell .nlogo img{
  display:none !important;
}

/* sidebar 折叠按钮（独立 fixed 元素，位于 sidebar 右侧、nav 下方） */
.tok-sidebar-trigger{
  width:34px !important;
  height:34px !important;
  flex-shrink:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid transparent !important;
  border-radius:8px !important;
  background:#FFFFFF !important;
  color:var(--g600) !important;
  cursor:pointer !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  transition:background .15s, color .15s, left .2s ease;
  padding:0 !important;
  box-shadow:0 1px 3px rgba(17,24,39,.06) !important;
}

.tok-sidebar-trigger:hover{
  background:var(--g100) !important;
  color:var(--g900) !important;
}

.tok-sidebar-trigger:active{
  background:var(--g200) !important;
}

.tok-sidebar-trigger svg{
  width:18px !important;
  height:18px !important;
  pointer-events:none !important;
  display:block !important;
}

.tok-sidebar-trigger > *{
  pointer-events:none !important;
}

#tok-official-shell .nlinks{
  display:flex;
  align-items:center;
  gap:4px;
  flex:1;
  justify-content:flex-end;
  padding:4px;
  border-radius:12px;
}

#tok-official-shell .nlinks a{
  font-size:14px;
  font-weight:500;
  color:var(--g600);
  text-decoration:none;
  padding:6px 13px;
  border-radius:8px;
  transition:color .15s,background .15s;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  gap:4px;
}

#tok-official-shell .nlinks a:hover{
  color:var(--g900);
  background:var(--g100);
}

#tok-official-shell .nlinks a.active{
  color:var(--p600);
  background:var(--p50);
  font-weight:600;
  box-shadow:0 1px 2px rgba(17,24,39,.05);
}

#tok-official-shell .nright{
  display:flex;
  align-items:center;
  gap:2px;
  flex-shrink:0;
}

#tok-official-shell .ico-btn{
  width:36px;
  height:36px;
  border-radius:8px;
  border:none;
  background:transparent;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--g600);
  transition:color .15s,background .15s;
  position:relative;
  flex-shrink:0;
  font:inherit;
}

#tok-official-shell .ico-btn:hover{
  color:var(--g900);
  background:var(--g100);
}

#tok-official-shell .ico-btn svg{
  width:18px;
  height:18px;
}

#tok-official-shell .lang-wrap{
  position:relative;
}

#tok-official-shell .lang-btn{
  display:flex;
  align-items:center;
  gap:5px;
  height:36px;
  padding:0 9px;
  border-radius:8px;
  border:none;
  background:transparent;
  cursor:pointer;
  color:var(--g600);
  font-size:13px;
  font-weight:600;
  font-family:var(--font);
  transition:color .15s,background .15s;
}

#tok-official-shell .lang-btn:hover{
  color:var(--g900);
  background:var(--g100);
}

#tok-official-shell .lang-btn svg{
  width:16px;
  height:16px;
  flex-shrink:0;
}

#tok-official-shell .lchev{
  width:11px !important;
  height:11px !important;
  opacity:.45;
  transition:transform .18s;
}

#tok-official-shell .lang-menu{
  position:absolute;
  top:calc(100% + 7px);
  right:0;
  background:#fff;
  border:1px solid var(--g200);
  border-radius:12px;
  box-shadow:0 8px 32px rgba(0,0,0,.1);
  min-width:150px;
  padding:5px;
  z-index:1400;
  opacity:0;
  transform:translateY(-6px) scale(.97);
  pointer-events:none;
  transition:opacity .18s,transform .18s;
}

#tok-official-shell .lang-wrap.open .lang-menu{
  opacity:1;
  transform:none;
  pointer-events:all;
}

#tok-official-shell .lang-wrap.open .lchev{
  transform:rotate(180deg);
}

#tok-official-shell .lopt{
  display:flex;
  align-items:center;
  gap:9px;
  padding:8px 10px;
  border-radius:7px;
  cursor:pointer;
  font-size:13px;
  font-weight:500;
  color:var(--g700);
  transition:background .12s;
}

#tok-official-shell .lopt:hover{
  background:var(--g50);
}

#tok-official-shell .lopt.sel{
  color:var(--p600);
  background:var(--p50);
}

#tok-official-shell .lf{
  font-size:16px;
  line-height:1;
}

#tok-official-shell .lck{
  margin-left:auto;
  width:13px;
  height:13px;
  color:var(--p600);
  flex-shrink:0;
}

#tok-official-shell .notif-btn{
  position:relative;
}

#tok-official-shell .ndot{
  position:absolute;
  top:7px;
  right:7px;
  width:7px;
  height:7px;
  background:#EF4444;
  border-radius:50%;
  border:1.5px solid #fff;
}

#tok-official-shell .ndiv{
  width:1px;
  height:22px;
  background:var(--g200);
  margin:0 5px;
  flex-shrink:0;
}

#tok-official-shell .btn-login{
  font-size:13.5px;
  font-weight:600;
  color:#fff;
  background:var(--p600);
  border:none;
  cursor:pointer;
  padding:8px 18px;
  border-radius:8px;
  text-decoration:none;
  white-space:nowrap;
  flex-shrink:0;
  transition:background .15s,transform .12s,box-shadow .15s;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

#tok-official-shell .btn-login:hover{
  background:var(--p700);
  transform:translateY(-1px);
  box-shadow:0 4px 16px rgba(124,58,237,.28);
}

#tok-official-shell .btn-login.avatar{
  width:36px;
  height:36px;
  padding:0;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  line-height:1;
  box-shadow:none;
}

#tok-official-shell .btn-login.avatar:hover{
  background:var(--p700);
  transform:none;
  box-shadow:none;
}

#tok-official-shell .tw{
  position:relative;
}

#tok-official-shell .tw .tip{
  display:none !important;
}

#tok-official-shell .tw .tip::after{
  display:none !important;
}

#tok-official-shell .tw:hover .tip{
  display:none !important;
}

#tok-official-shell .notif-btn-wrap{
  position:relative;
}

#tok-official-shell .notice-pop{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:min(360px,calc(100vw - 24px));
  background:#fff;
  border:1px solid var(--g200);
  border-radius:18px;
  box-shadow:0 18px 44px rgba(15,23,42,.18);
  opacity:0;
  transform:translateY(-6px) scale(.985);
  pointer-events:none;
  transition:opacity .18s,transform .18s;
  z-index:1550;
  overflow:hidden;
}

#tok-official-shell .notif-btn-wrap.open .notice-pop{
  opacity:1;
  transform:none;
  pointer-events:auto;
}

#tok-official-shell .notice-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:16px 16px 12px;
  border-bottom:1px solid var(--g200);
}

#tok-official-shell .notice-title{
  font-size:16px;
  font-weight:700;
  color:var(--g900);
  line-height:1.2;
}

#tok-official-shell .notice-sub{
  margin-top:4px;
  font-size:12px;
  line-height:1.45;
  color:var(--g400);
}

#tok-official-shell .notice-close{
  width:30px;
  height:30px;
  border:none;
  border-radius:10px;
  background:transparent;
  color:var(--g600);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

#tok-official-shell .notice-close:hover{
  background:var(--g100);
  color:var(--g900);
}

#tok-official-shell .notice-close svg{
  width:16px;
  height:16px;
}

#tok-official-shell .notice-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:12px 16px 0;
}

#tok-official-shell .notice-tab{
  border:none;
  border-radius:999px;
  padding:9px 12px;
  background:var(--g100);
  color:var(--g600);
  font-size:12.5px;
  font-weight:600;
  cursor:pointer;
  transition:background .15s,color .15s;
}

#tok-official-shell .notice-tab.active{
  background:var(--p50);
  color:var(--p600);
}

#tok-official-shell .notice-body{
  padding:14px 16px 16px;
  max-height:360px;
  overflow:auto;
}

#tok-official-shell .notice-body::-webkit-scrollbar{
  width:6px;
}

#tok-official-shell .notice-body::-webkit-scrollbar-thumb{
  background:var(--g200);
  border-radius:999px;
}

#tok-official-shell .notice-loading,
#tok-official-shell .notice-empty{
  padding:28px 12px;
  text-align:center;
  font-size:13px;
  line-height:1.6;
  color:var(--g600);
}

#tok-official-shell .notice-markdown{
  font-size:13px;
  line-height:1.7;
  color:var(--g700);
  word-break:break-word;
}

#tok-official-shell .notice-markdown p + p{
  margin-top:10px;
}

#tok-official-shell .notice-markdown a{
  color:var(--p600);
  text-decoration:none;
}

#tok-official-shell .notice-markdown a:hover{
  text-decoration:underline;
}

#tok-official-shell .notice-items{
  display:flex;
  flex-direction:column;
  gap:10px;
}

#tok-official-shell .notice-item{
  border:1px solid var(--g200);
  border-radius:14px;
  padding:12px 12px 11px;
  background:var(--g50);
}

#tok-official-shell .notice-item-top{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:6px;
}

#tok-official-shell .notice-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  flex-shrink:0;
}

#tok-official-shell .notice-item-top strong{
  font-size:13px;
  font-weight:700;
  color:var(--g900);
}

#tok-official-shell .notice-item-body{
  font-size:12.5px;
  line-height:1.6;
  color:var(--g600);
}

#tok-official-shell .notice-item-extra{
  margin-top:8px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:11.5px;
  color:var(--g400);
}

#tok-official-shell .notice-foot{
  padding:0 16px 16px;
}

#tok-official-shell .notice-btn{
  width:100%;
  border:none;
  border-radius:12px;
  padding:11px 14px;
  background:var(--g900);
  color:#fff;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
}

#tok-official-shell .notice-btn:hover{
  opacity:.92;
}

.tok-profile-menu{
  width:196px !important;
  min-width:196px !important;
  padding:0 !important;
  border:1px solid #D9DCE3 !important;
  border-radius:16px !important;
  background:#fff !important;
  box-shadow:0 14px 30px rgba(15,23,42,.16) !important;
  overflow:hidden !important;
  z-index:1600 !important;
  margin-left:var(--tok-profile-offset-x, 0px) !important;
  margin-top:calc(var(--tok-profile-offset-y, 0px) + 2px) !important;
}

.tok-profile-menu [data-slot="dropdown-menu-label"],
.tok-profile-menu .tok-profile-menu-head{
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  padding:9px 7px 8px !important;
  margin:0 !important;
  min-height:auto !important;
  border-bottom:1px solid #E7EAF0 !important;
}

.tok-profile-menu [data-slot="avatar"]{
  width:32px !important;
  height:32px !important;
  min-width:32px !important;
  min-height:32px !important;
  border-radius:999px !important;
}

.tok-profile-menu [data-slot="dropdown-menu-label"] *{
  white-space:normal !important;
}

.tok-profile-menu [data-slot="dropdown-menu-label"] [class*="font"],
.tok-profile-menu [data-slot="dropdown-menu-label"] strong,
.tok-profile-menu [data-slot="dropdown-menu-label"] b{
  font-size:12px !important;
  font-weight:700 !important;
  line-height:1.1 !important;
  color:#111827 !important;
}

.tok-profile-menu [data-slot="dropdown-menu-label"] [class*="text-muted"],
.tok-profile-menu [data-slot="dropdown-menu-label"] small{
  margin-top:2px !important;
  font-size:10px !important;
  line-height:1.15 !important;
  color:#6B7280 !important;
}

.tok-profile-menu [data-slot="dropdown-menu-separator"]{
  margin:0 !important;
  background:#E7EAF0 !important;
}

.tok-profile-menu [data-slot="dropdown-menu-item"]{
  min-height:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:8px !important;
  margin:4px !important;
  padding:7px 5px !important;
  border-radius:8px !important;
  font-size:12px !important;
  font-weight:500 !important;
  line-height:1.1 !important;
  color:#111827 !important;
}

.tok-profile-menu [data-slot="dropdown-menu-item"]:hover,
.tok-profile-menu [data-slot="dropdown-menu-item"][data-highlighted]{
  background:#F8FAFC !important;
}

.tok-profile-menu [data-slot="dropdown-menu-item"] svg{
  width:16px !important;
  height:16px !important;
  flex-shrink:0 !important;
}

.tok-profile-menu .tok-profile-menu-signout{
  color:#EF4444 !important;
}

.tok-profile-menu .tok-profile-menu-signout:hover,
.tok-profile-menu .tok-profile-menu-signout[data-highlighted]{
  background:#FEF2F2 !important;
  color:#DC2626 !important;
}

@media(max-width:900px){
  :root{
    --tok-shell-height:58px;
  }
  /* 手机端 NewAPI header 不占空间（但仍保留在 DOM 中以便克隆折叠按钮） */
  body.tok-shell-ready header.pointer-events-none.fixed.inset-x-0.top-0.z-50,
  body.tok-shell-ready header.sticky.top-0.z-40{
    height:0 !important;
    min-height:0 !important;
    overflow:hidden !important;
    opacity:0 !important;
    pointer-events:none !important;
  }
  #tok-official-shell nav{
    padding:0 14px;
    gap:8px;
    height:58px;
  }
  /* 手机端没有 sidebar，折叠按钮隐藏 */
  .tok-sidebar-trigger{
    display:none !important;
  }

  #tok-official-shell .nlogo{
    width:136px;
    height:28px;
  }

  #tok-official-shell .nlinks{
    gap:0;
  }

  #tok-official-shell .nlinks a{
    font-size:13px;
    padding:5px 8px;
  }

  #tok-official-shell .ndiv{
    display:none;
  }

  #tok-official-shell .lang-wrap .tip,
  #tok-official-shell .tw .tip{
    display:none;
  }

  #tok-official-shell .ico-btn{
    width:32px;
    height:32px;
  }

  #tok-official-shell .ico-btn svg{
    width:16px;
    height:16px;
  }

  #tok-official-shell .lang-btn{
    height:32px;
    padding:0 6px;
    font-size:12px;
  }

  #tok-official-shell .btn-login{
    padding:7px 13px;
    font-size:12.5px;
  }

  #tok-official-shell .btn-login.avatar{
    width:32px;
    height:32px;
    font-size:11px;
    padding:0;
  }
}

@media(max-width:640px){
  #tok-official-shell nav{
    padding:0 10px;
    gap:6px;
  }

  #tok-official-shell .nlinks a{
    font-size:12.5px;
    padding:5px 5px;
  }

  #tok-official-shell .nlogo{
    width:126px;
    height:26px;
  }

  #tok-official-shell .btn-login{
    padding:7px 11px;
    font-size:12px;
  }

  #tok-official-shell .btn-login.avatar{
    width:32px;
    height:32px;
    font-size:11px;
    padding:0;
  }
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2){
  background:
    radial-gradient(circle at 18% 16%, rgba(124,58,237,.22), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(59,130,246,.12), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(167,139,250,.16), transparent 40%),
    linear-gradient(180deg, #F8FAFC 0%, #EEF2FF 45%, #F8FAFC 100%);
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) #tok-official-shell{
  display:none !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2).tok-shell-ready{
  padding-top:0 !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .relative.grid.h-svh.max-w-none{
  min-height:100svh;
  background:
    radial-gradient(circle at top right, rgba(124,58,237,.18), transparent 34%),
    radial-gradient(circle at left center, rgba(59,130,246,.10), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,.70), rgba(255,255,255,.38));
  overflow-x:hidden;
  overflow-y:auto;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .relative.grid.h-svh.max-w-none::before,
body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .relative.grid.h-svh.max-w-none::after{
  content:"";
  position:absolute;
  border-radius:999px;
  pointer-events:none;
  filter:blur(36px);
  opacity:.72;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .relative.grid.h-svh.max-w-none::before{
  width:260px;
  height:260px;
  left:-88px;
  top:84px;
  background:rgba(124,58,237,.16);
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .relative.grid.h-svh.max-w-none::after{
  width:320px;
  height:320px;
  right:-120px;
  bottom:18px;
  background:rgba(59,130,246,.10);
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .absolute.top-4.left-4.z-10.flex.items-center.gap-2{
  top:28px !important;
  left:36px !important;
  gap:0 !important;
  width:148px !important;
  height:32px !important;
  background:url("/tok-assets/logo-cropped-alpha.png") left center/contain no-repeat !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .absolute.top-4.left-4.z-10.flex.items-center.gap-2 > div,
body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .absolute.top-4.left-4.z-10.flex.items-center.gap-2 > img,
body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .absolute.top-4.left-4.z-10.flex.items-center.gap-2 h1{
  display:none !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .tok-auth-home{
  position:absolute;
  top:28px;
  right:36px;
  z-index:12;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:124px;
  height:42px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(124,58,237,.16);
  background:rgba(255,255,255,.78);
  box-shadow:0 14px 30px rgba(15,23,42,.10);
  color:#5B21B6;
  font-size:14px;
  font-weight:700;
  letter-spacing:-.01em;
  text-decoration:none;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .tok-auth-home:hover{
  background:rgba(255,255,255,.92);
  box-shadow:0 18px 34px rgba(124,58,237,.14);
  transform:translateY(-1px);
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .container.flex.items-center.pt-16{
  min-height:100svh !important;
  align-items:flex-start !important;
  justify-content:center !important;
  padding-top:110px !important;
  padding-bottom:56px !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .mx-auto.flex.w-full.flex-col.justify-center.space-y-2.px-4.py-8{
  width:min(100%, 560px) !important;
  padding:0 !important;
  position:relative;
  z-index:1;
  justify-content:flex-start !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .w-full.space-y-8{
  padding:42px 42px 38px !important;
  border:1px solid rgba(255,255,255,.72) !important;
  border-radius:36px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.975) 0%, rgba(255,255,255,.91) 100%) !important;
  box-shadow:
    0 36px 100px rgba(15,23,42,.13),
    0 16px 40px rgba(124,58,237,.10),
    inset 0 1px 0 rgba(255,255,255,.82) !important;
  backdrop-filter:blur(22px) saturate(1.25);
  -webkit-backdrop-filter:blur(22px) saturate(1.25);
  position:relative;
  overflow:hidden;
}

body[data-tok-auth-page="sign-up"]:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .w-full.space-y-8{
  padding-bottom:34px !important;
}

body[data-tok-auth-page="forgot-password"]:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .w-full.space-y-8,
body[data-tok-auth-page="reset"]:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .w-full.space-y-8,
body[data-tok-auth-page="user-reset"]:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .w-full.space-y-8{
  padding-bottom:34px !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .w-full.space-y-8::before{
  content:"";
  display:block;
  width:56px;
  height:4px;
  margin-bottom:18px;
  border-radius:999px;
  background:linear-gradient(90deg, #7C3AED 0%, #A78BFA 100%);
  box-shadow:0 8px 18px rgba(124,58,237,.20);
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .w-full.space-y-8::after{
  content:"";
  position:absolute;
  inset:-24px auto auto -18px;
  width:210px;
  height:210px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(124,58,237,.16) 0%, rgba(124,58,237,0) 72%);
  pointer-events:none;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .space-y-2 > h2{
  font-size:42px !important;
  line-height:1 !important;
  font-weight:800 !important;
  letter-spacing:-.05em !important;
  color:#0F172A !important;
  text-align:left !important;
  max-width:340px;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .space-y-2 > p{
  margin-top:12px !important;
  font-size:15px !important;
  line-height:1.72 !important;
  color:#526075 !important;
  text-align:left !important;
  max-width:448px;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .space-y-2{
  min-height:110px;
}

body[data-tok-auth-page="forgot-password"]:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .space-y-2,
body[data-tok-auth-page="reset"]:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .space-y-2,
body[data-tok-auth-page="user-reset"]:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .space-y-2{
  min-height:132px;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .space-y-2 > p a{
  color:#7C3AED !important;
  font-weight:600 !important;
  text-decoration:underline !important;
  text-underline-offset:4px !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .space-y-2 > p a:hover{
  color:#6D28D9 !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) form{
  margin-top:8px !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) form a{
  color:#7C3AED !important;
  font-weight:600 !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) form a:hover{
  color:#6D28D9 !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) form label{
  font-size:13px !important;
  font-weight:600 !important;
  color:#334155 !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) form[class*="gap-4"],
body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) form .grid.gap-4{
  gap:18px !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) form input{
  height:52px !important;
  border-radius:16px !important;
  border:1px solid rgba(203,213,225,.88) !important;
  background:rgba(255,255,255,.985) !important;
  box-shadow:0 2px 8px rgba(15,23,42,.035) !important;
  font-size:15px !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) form input::placeholder{
  color:#94A3B8 !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) form input:focus{
  border-color:#7C3AED !important;
  box-shadow:0 0 0 4px rgba(124,58,237,.12), 0 8px 24px rgba(124,58,237,.10) !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) form button[type="submit"]{
  height:54px !important;
  border:none !important;
  border-radius:18px !important;
  background:linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%) !important;
  box-shadow:0 22px 40px rgba(124,58,237,.30) !important;
  font-size:15.5px !important;
  font-weight:700 !important;
  letter-spacing:-.01em !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) form button[type="submit"] svg{
  width:18px !important;
  height:18px !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) form button[type="submit"]:hover{
  filter:brightness(.99);
  transform:translateY(-1px);
  box-shadow:0 20px 38px rgba(124,58,237,.32) !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .text-center{
  text-align:left !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .text-center.text-sm,
body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .text-muted-foreground.text-center{
  color:#64748B !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .w-full.space-y-8 > p:last-child{
  margin-top:14px !important;
  font-size:12.5px !important;
  line-height:1.65 !important;
  color:#6B7280 !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .w-full.space-y-8 > p:last-child a{
  color:#7C3AED !important;
  font-weight:600 !important;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .tok-auth-footer{
  margin-top:18px;
  padding-top:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-top:1px solid rgba(226,232,240,.82);
  font-size:13px;
  line-height:1.6;
  color:#64748B;
  position:relative;
  z-index:5;
  pointer-events:auto;
}

body[data-tok-auth-page="sign-up"]:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .tok-auth-footer,
body[data-tok-auth-page="forgot-password"]:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .tok-auth-footer,
body[data-tok-auth-page="reset"]:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .tok-auth-footer,
body[data-tok-auth-page="user-reset"]:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .tok-auth-footer{
  margin-top:20px;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .tok-auth-footer-link{
  color:#64748B;
  font-weight:600;
  text-decoration:none;
  background:none;
  border:none;
  padding:0;
  margin:0;
  cursor:pointer;
  font:inherit;
  position:relative;
  z-index:20;
  pointer-events:auto !important;
  -webkit-appearance:none;
  appearance:none;
  transition:color .18s ease;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .tok-auth-footer-link:hover{
  color:#7C3AED;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .tok-auth-footer-dot{
  color:#CBD5E1;
  font-weight:700;
}

body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) [class*="rounded-md"],
body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) [class*="rounded-lg"]{
  border-radius:16px !important;
}

@media (max-width: 640px){
  body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .absolute.top-4.left-4.z-10.flex.items-center.gap-2{
    top:18px !important;
    left:18px !important;
    width:132px !important;
    height:28px !important;
  }

  body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .tok-auth-home{
    top:18px;
    right:18px;
    min-width:110px;
    height:38px;
    padding:0 14px;
    font-size:12.5px;
  }

  body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .container.flex.items-center.pt-16{
    padding-top:86px !important;
    padding-bottom:34px !important;
  }

  body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .w-full.space-y-8{
    padding:34px 22px 28px !important;
    border-radius:28px !important;
  }

  body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .space-y-2{
    min-height:auto;
  }

  body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .space-y-2 > h2{
    font-size:34px !important;
  }

  body:has(.relative.grid.h-svh.max-w-none .absolute.top-4.left-4.z-10.flex.items-center.gap-2) .tok-auth-footer{
    gap:8px;
    font-size:12.5px;
    flex-wrap:wrap;
  }
}

/* Mobile hamburger menu */
#tok-official-shell .nburger{
  display:none;
}

@media(max-width:640px){
  #tok-official-shell .nright{order:2}
  #tok-official-shell .nburger{
    order:1;margin-left:auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border:none;
    background:transparent;
    cursor:pointer;
    padding:0;
    border-radius:8px;
    flex-shrink:0;
    -webkit-tap-highlight-color:transparent;
  }
  #tok-official-shell .nburger svg{
    width:22px;
    height:22px;
    color:#374151;
  }
  #tok-official-shell .nburger:active{
    background:rgba(17,24,39,.08);
  }
  #tok-official-shell .nlinks{
    display:none;
    position:absolute;
    top:58px;
    left:0;
    right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:8px 12px 12px;
    background:#FFFFFF;
    border-bottom:1px solid rgba(17,24,39,.08);
    box-shadow:0 12px 28px rgba(17,24,39,.10);
    border-radius:0 0 16px 16px;
  }
  #tok-official-shell.nav-open .nlinks{
    display:flex;
  }
  #tok-official-shell .nlinks a{
    font-size:15px;
    padding:13px 14px;
    border-radius:10px;
    justify-content:flex-start;
  }
  #tok-official-shell .nlinks a.active{
    background:rgba(124,58,237,.08);
    color:#7C3AED;
  }
}

@media(max-width:640px){
  #tok-official-shell .notice-pop{
    position:fixed!important;
    top:64px!important;
    right:12px!important;
    left:12px!important;
    width:auto!important;
    max-width:none!important;
  }
  #tok-official-shell .lang-menu{
    position:fixed!important;
    top:64px!important;
    right:12px!important;
    left:auto!important;
    width:200px!important;
  }
}
