/* 主站占位页样式：令牌、字体与组件取自本项目预览稿 tmp_ui_shared（方向 D · Editorial），仅保留本页用到的部分。 */

@font-face{font-family:"Alimama ShuHeiTi";src:url("../assets/fonts/AlimamaShuHeiTi-Bold.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Noto Sans SC";src:url("../assets/fonts/noto/noto-sc-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Noto Sans SC Display";src:url("../assets/fonts/noto/noto-sc-700.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Noto Sans JP";src:url("../assets/fonts/noto/noto-jp-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Noto Sans KR";src:url("../assets/fonts/noto/noto-kr-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Noto Sans TC";src:url("../assets/fonts/noto/noto-tc-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Noto Sans TC Display";src:url("../assets/fonts/noto/noto-tc-700.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Fusion Pixel Latin";src:url("../assets/fonts/pixel/basic-latin.woff2") format("woff2");font-weight:400;font-display:swap}

:root{
  --yuno-orange:#FFA502;
  --bg:#FFFFFF;
  --ink:#121212;
  --t2:#3A3A3C;
  --t3:#6A6A6C;
  --t4:#6B6B6D;
  --line:#E6E6E6;
  --line-strong:#D2D2D4;
  --accent:#FFA502;
  --accent-text:#A86200;
  --accent-weak:rgba(255,165,2,.14);
  --accent-wash:rgba(255,165,2,.06);
  --surface:#FFFFFF;
  --surface-paper:#F4F4F1;
  --ink-rgb:18 18 18;
  --grid-line:rgba(0,0,0,.032);
  color-scheme:light;

  --font-sans:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  --font-display:"Alimama ShuHeiTi","Noto Sans SC Display","PingFang SC",sans-serif;
  --font-pixel:"Fusion Pixel Latin",ui-monospace,Consolas,monospace;
  --font-mono:ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,"Noto Sans SC",monospace;
  --ease:cubic-bezier(.19,1,.22,1);
  --hdr-h:78px;
}
html[data-theme="dark"]{
  color-scheme:dark;
  --bg:#0E0E10;
  --ink:#EDEDEF;
  --t2:#C6C6CC;
  --t3:#9B9BA3;
  --t4:#8C8C92;
  --accent-text:#FFB84D;
  --line:#2A2A31;
  --line-strong:#3C3C44;
  --surface:#17171A;
  --surface-paper:#1E1E23;
  --ink-rgb:237 237 239;
  --grid-line:rgba(255,255,255,.05);
  --accent-weak:rgba(255,165,2,.16);
  --accent-wash:rgba(255,165,2,.08);
}

/* 各语种换字族，缺字不落到系统相似体 */
html[lang="zh-Hant"]{
  --font-sans:"Noto Sans TC","PingFang TC","Microsoft JhengHei","Noto Sans SC",sans-serif;
  --font-display:"Noto Sans TC Display","Noto Sans TC","Noto Sans SC Display",sans-serif;
}
html[lang="ja"]{
  --font-sans:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans SC",sans-serif;
  --font-display:"Noto Sans JP","Noto Sans SC Display",sans-serif;
}
html[lang="ko"]{
  --font-sans:"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic","Noto Sans SC",sans-serif;
  --font-display:"Noto Sans KR","Noto Sans SC Display",sans-serif;
}
html[lang="en"]{
  --font-sans:"Noto Sans SC","Helvetica Neue",Arial,sans-serif;
  --font-display:"Noto Sans SC Display","Helvetica Neue",Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
*{-webkit-tap-highlight-color:transparent}
html{background:var(--bg);transition:background-color .4s var(--ease);overflow-x:clip}
body{
  margin:0;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;
  background:transparent;color:var(--ink);font-family:var(--font-sans);
  font-size:15px;line-height:1.95;letter-spacing:.01em;
  -webkit-font-smoothing:antialiased;overflow-wrap:anywhere;overflow-x:clip;
  transition:color .4s var(--ease);
}
:where(a,button):focus{outline:none}
:where(a,button):focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
button{font:inherit;color:inherit}

/* 底层氛围 */
.bg-grid{
  position:fixed;inset:0;z-index:-1;pointer-events:none;
  background-image:linear-gradient(var(--grid-line) 1px,transparent 0),linear-gradient(90deg,var(--grid-line) 1px,transparent 0);
  background-size:32px 32px;
}
.bg-fade{
  position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(80% 46% at 50% -8%,rgba(255,165,2,.16),transparent 70%);
}

/* 顶栏 */
.hdr{position:fixed;top:0;left:0;right:0;z-index:60}
.hdr-in{
  width:100%;max-width:1080px;margin:0 auto;padding:0 40px;height:var(--hdr-h);
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.brand{display:flex;align-items:center;text-decoration:none;flex:none}
.brand img{display:block;height:26px;width:auto}
.ctl{display:flex;align-items:center;gap:2px}
.ctl-btn{
  display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;
  border:0;background:none;cursor:pointer;color:var(--t3);border-radius:8px;
  transition:color .28s var(--ease),background-color .28s var(--ease);
}
.ctl-btn svg{
  width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;
  stroke-linecap:round;stroke-linejoin:round;transition:transform .5s var(--ease);
}
.ctl-btn:hover,.ctl-btn[aria-expanded="true"]{color:var(--ink);background:rgb(var(--ink-rgb)/.05)}
.ctl-btn:active svg{transform:scale(.86)}

/* 主体 */
.main{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  width:100%;max-width:620px;margin:0 auto;padding:calc(var(--hdr-h) + 24px) 32px 24px;
}
.help-scene{
  width:100%;max-width:560px;height:auto;display:block;margin:0 auto;overflow:visible;color:var(--ink);
}
.help-scene .cr-line{stroke:var(--ink);stroke-width:2;stroke-linecap:round}
.help-scene .cr-thin{stroke:var(--ink);stroke-width:1.35;stroke-linecap:round;opacity:.55}

.cr-jib{transform-box:view-box;transform-origin:194px 52px;animation:crSway 7.4s cubic-bezier(.45,0,.55,1) infinite}
.cr-rope{transform-box:fill-box;transform-origin:50% 0;animation:crRope 5.4s cubic-bezier(.6,0,.4,1) infinite}
.cr-hook{animation:crHook 5.4s cubic-bezier(.6,0,.4,1) infinite}
.cr-load{animation:crSwing 4.4s cubic-bezier(.45,0,.55,1) infinite;transform-box:fill-box;transform-origin:50% 0}
.cr-lamp{animation:crBlink 1.7s steps(1,end) infinite}
.cr-block{opacity:0;animation:crRise 1.05s cubic-bezier(.22,.9,.3,1) .55s forwards}
.cr-block.b2{animation-delay:.72s}
.cr-block.b3{animation-delay:.89s}
.cr-dust{animation:crDust 3.6s ease-in-out infinite}
.cr-dust.d2{animation-delay:1.1s}
.cr-dust.d3{animation-delay:2.2s}
@keyframes crSway{0%,100%{transform:rotate(-1.15deg)}50%{transform:rotate(1.15deg)}}
@keyframes crRope{0%,100%{transform:scaleY(1)}48%{transform:scaleY(.72)}}
@keyframes crHook{0%,100%{transform:translateY(0)}48%{transform:translateY(-23px)}}
@keyframes crSwing{0%,100%{transform:rotate(-2.6deg)}50%{transform:rotate(2.6deg)}}
@keyframes crBlink{0%,49%{opacity:1}50%,100%{opacity:.18}}
@keyframes crRise{0%{opacity:0;transform:translateY(14px)}100%{opacity:1;transform:translateY(0)}}
@keyframes crDust{0%{opacity:0;transform:translateY(0)}30%{opacity:.5}100%{opacity:0;transform:translateY(-26px)}}

.help-kicker{
  display:inline-flex;align-items:center;gap:9px;margin:34px auto 0;
  padding:8px 16px;border:1px dashed var(--line-strong);border-radius:9px;
  font-family:var(--font-pixel);font-size:11.5px;letter-spacing:.14em;color:var(--t3);line-height:1.6;
}
.help-kicker i{width:7px;height:7px;border-radius:50%;background:var(--accent);animation:crBlink 1.7s steps(1,end) infinite}
.help-title{
  font-family:var(--font-display);font-weight:400;letter-spacing:.04em;
  font-size:clamp(28px,4.6vw,42px);line-height:1.35;color:var(--ink);margin:16px 0 0;
}
.help-sub{max-width:520px;margin:10px auto 0;font-size:15px;line-height:2.05;color:var(--t2);letter-spacing:.12em}

/* 页脚 */
.foot{
  width:100%;max-width:1080px;margin:0 auto;padding:16px 40px 22px;
  display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 20px;
}
.foot::before{content:"";flex:0 0 100%;height:1px;background:var(--ink);margin-bottom:6px}
.f-brand img{display:block;height:20px;width:auto}
.f-meta{
  display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;margin-left:auto;text-align:right;
  font-family:var(--font-mono);font-size:9.5px;letter-spacing:.14em;color:var(--t4);line-height:1.9;
}
.f-icp{
  display:inline-block;color:inherit;text-decoration:none;
  border-bottom:1px solid var(--line-strong);padding-bottom:1px;
  font-family:"Noto Sans SC","PingFang SC",sans-serif;
  transition:color .3s var(--ease),border-color .3s var(--ease);
}
.f-icp:hover{color:var(--ink);border-color:var(--accent)}
.lang-foot{
  display:inline-flex;align-items:center;gap:7px;border:0;background:none;padding:0;cursor:pointer;
  font-family:var(--font-pixel);font-size:11px;letter-spacing:.06em;color:var(--t4);
  transition:color .28s var(--ease);
}
.lang-foot svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.lang-foot:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}

/* 弹层 */
.lang-pop{
  position:fixed;z-index:140;width:216px;padding:8px;
  border:1px solid var(--line-strong);border-radius:12px;background:var(--surface);
  box-shadow:0 22px 46px -26px rgb(var(--ink-rgb)/.45);
  opacity:0;transform:translateY(-7px) scale(.985);pointer-events:none;
  transition:opacity .26s var(--ease),transform .3s var(--ease);
}
.lang-pop.open{opacity:1;transform:none;pointer-events:auto}
.lp-h{font-family:var(--font-pixel);font-size:10px;letter-spacing:.16em;color:var(--t4);padding:6px 10px 8px;line-height:1.6}
.lp-item{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;width:100%;
  padding:8px 10px;border:0;background:none;cursor:pointer;border-radius:8px;text-align:left;
  font-family:inherit;transition:background-color .22s var(--ease);
}
.lp-item:hover{background:rgb(var(--ink-rgb)/.045)}
.lp-item.on{background:var(--accent-weak)}
.lp-name{font-size:13px;color:var(--ink);line-height:1.7}
.lp-sub{font-family:var(--font-pixel);font-size:9.5px;color:var(--t4)}
.lp-item[data-lang="zh_cn"] .lp-name{font-family:"Noto Sans SC","PingFang SC",sans-serif}
.lp-item[data-lang="zh_tw"] .lp-name{font-family:"Noto Sans TC","PingFang TC",sans-serif}
.lp-item[data-lang="ja"] .lp-name{font-family:"Noto Sans JP",sans-serif}
.lp-item[data-lang="ko"] .lp-name{font-family:"Noto Sans KR",sans-serif}
.theme-pop .lp-name{display:flex;align-items:center;gap:9px}
.theme-pop .lp-ico{display:inline-flex;width:15px;height:15px;color:var(--t3)}
.theme-pop .lp-ico svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.theme-pop .lp-item.on .lp-ico{color:var(--accent-text)}

/* 入场 */
.hdr,.main>*,.foot{animation:rise .8s var(--ease) both}
.main>.help-scene{animation-delay:.05s}
.main>.help-kicker{animation-delay:.18s}
.main>.help-title{animation-delay:.26s}
.main>.help-sub{animation-delay:.34s}
.foot{animation-delay:.4s}
@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
html.theme-fade *{transition:background-color .4s var(--ease),border-color .4s var(--ease),color .4s var(--ease)!important}

@media (max-width:640px){
  :root{--hdr-h:64px}
  .hdr-in{padding:0 20px}
  .brand img{height:21px}
  .main{padding:calc(var(--hdr-h) + 8px) 24px 20px}
  .help-scene{max-width:320px}
  .help-kicker{margin-top:22px;padding:6px 13px;font-size:11px}
  .help-title{font-size:28px;margin-top:12px}
  .help-sub{font-size:14px}
  .foot{padding:14px 20px 18px}
  .f-brand img{height:15px}
  .f-meta{margin-left:0;text-align:left;width:100%;justify-content:space-between}
}
@media (prefers-reduced-motion:reduce){
  .hdr,.main>*,.foot{animation:none!important}
  html,body,.ctl-btn,.ctl-btn svg,.f-icp,.lang-foot,.lang-pop,.lp-item,html.theme-fade *{transition:none!important}
}
