/* 任务426（报告 M-2）：从 index.html 的 <head> 内联 <style> 外置而来。
 *
 * 首帧关键样式 + 启动层。live.css 有 218KB，弱网下要 1~3 秒才到；
 * 这段空窗里浏览器会把 <video> 画成默认的 300×150 黑块、body 还带着 8px 外边距，
 * 用户看到的就是「一块黑贴在页面上」。这几条只做一件事：让首帧就是满屏黑底。
 *
 * 必须排在 live.css 之前：两者对 html/body 的 margin/padding 都是后者覆盖前者，
 * 顺序反了会出现「先按 live.css 排版、再被本文件拉回黑底」的抖动。 */
html,body{margin:0;padding:0;background:#0a0a0a;color:#f6f5f1}
body{-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;overscroll-behavior:none}
#app{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;overflow:hidden;background:#0a0a0a}
.view{position:absolute;inset:0;display:none;background:#0a0a0a}
.view.on{display:flex}
.view-home{flex-direction:column;touch-action:none;background:#0a0a0a}
.home-stage{position:absolute;inset:0;overflow:hidden;background:#000}
/* 只写定位与尺寸，不写 object-fit —— #player 是 id 选择器，写成 id 会压过
   live.css 里 .player.fit-contain 的 contain 判定 */
#player{position:absolute;left:0;top:0;width:100%;height:100%;background:transparent}

/* 启动层：解析到这里就有品牌画面，不等接口、不等封面。
   JS 会在首帧封面解出图时提前揭；JS 完全不跑也有 4.6s 的 CSS 兜底淡出。
   t412：整块换成「细线条」口径 —— 外面一道 1.5px 细弧在跑（两段弧，一强一弱当尾迹），
   里面一圈几乎看不见的细线只亮顶端、反向慢转；LOGO 外面不再是实心圆盘，
   换成 1px 细描边圆 + 内辉光，缝里由一团呼吸的金光补亮。
   LOGO 自己会上下浮动，并被一道 3.6s 的斜向高光扫过（只在这个圆里）；
   底下三点改成三根跳动的细竖条，像音波。 */
.boot-veil{position:fixed;inset:0;z-index:99;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:22px;will-change:opacity;
  background:radial-gradient(120% 88% at 50% 42%,#2b2311 0%,#100e08 46%,#060606 100%);
  transition:opacity .42s ease,visibility .42s ease;animation:bvFallback .5s ease 4.6s forwards}
.boot-veil.is-done{opacity:0;visibility:hidden;pointer-events:none;animation:none}
.bv-core{position:relative;width:150px;height:150px;display:grid;place-items:center}
/* 缝里的金光：整块呼吸，只改 opacity 与 scale，不动 layout。
   比核心大一圈（190px），当作 Logo 背后的一团暖雾，别让画面只剩两根细线。 */
.bv-core::before{content:'';position:absolute;width:190px;height:190px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,186,40,.17),rgba(255,186,40,0) 72%);
  animation:bvGlow 3.2s ease-in-out infinite}
/* 外环：细弧沿着一圈看不见的线跑，1.5px，两段（强的一段是头，弱的一段是尾迹） */
.bv-halo{position:absolute;inset:0;border-radius:50%;
  background:conic-gradient(from 0deg,rgba(255,210,31,0) 0deg,rgba(255,216,96,.95) 58deg,rgba(255,210,31,0) 148deg,
    rgba(255,210,31,0) 214deg,rgba(255,232,150,.22) 286deg,rgba(255,210,31,0) 334deg,rgba(255,210,31,0) 360deg);
  -webkit-mask:radial-gradient(closest-side,transparent 93%,#000 95%);
  mask:radial-gradient(closest-side,transparent 93%,#000 95%);
  animation:bvSpin 2.4s linear infinite}
/* 里环：1px 细线，只有顶端一段亮着，反向慢慢转 */
.bv-core::after{content:'';position:absolute;width:128px;height:128px;border-radius:50%;
  border:1px solid rgba(255,210,31,.14);border-top-color:rgba(255,236,168,.6);
  animation:bvSpinBack 5.4s linear infinite}
/* 兜住 LOGO 的细描边圆：没有实心底，只有 1px 环 + 内辉光 */
.bv-disc{position:relative;width:112px;height:112px;border-radius:50%;display:grid;place-items:center;overflow:hidden;
  background:radial-gradient(circle at 50% 28%,rgba(255,214,90,.12),rgba(255,190,40,0) 70%);
  box-shadow:inset 0 0 0 1px rgba(255,210,31,.32),inset 0 0 26px rgba(255,190,40,.13),0 0 34px rgba(255,180,30,.16);
  animation:bvPulse 3.2s ease-in-out infinite}
/* 斜向高光：每 3.6s 自左扫到右，overflow:hidden 把它限制在这个圆里。
   z-index 必须压在 LOGO 之上，不然白光只会掠过圆盘的空白边，看不见。 */
.bv-disc::before{content:'';position:absolute;top:-45%;left:-75%;width:56%;height:190%;z-index:3;pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.34),rgba(255,255,255,0));
  transform:rotate(16deg);animation:bvSheen 3.6s ease-in-out .5s infinite}
/* LOGO：品牌图自带橙底方图，原样圆裁是一块比细线还抢眼的实心橘圆。
   这里把它整体压沉一档（亮度 .93 / 饱和 .9），让细线与金光浮到前面，
   苹果本体靠 drop-shadow 的金边和扫过去的高光提亮。 */
.bv-disc img{position:relative;width:80px;height:80px;object-fit:contain;border-radius:50%;
  filter:saturate(.9) brightness(.93) drop-shadow(0 3px 9px rgba(0,0,0,.45)) drop-shadow(0 0 16px rgba(255,190,40,.34));
  animation:bvLogo 3.4s ease-in-out infinite}
.bv-name{font:700 17px/1 "PingFang SC","HarmonyOS Sans SC","Microsoft YaHei",system-ui,sans-serif;
  letter-spacing:.32em;text-indent:.32em;color:#f3e6bf;text-shadow:0 2px 12px rgba(255,190,40,.26)}
/* 三根细竖条代替三个圆点：scaleY 高低跳，像音波。2px 在真机上几乎看不见，收到 2.5px */
.bv-dots{display:flex;align-items:center;gap:5px;height:16px}
.bv-dots i{width:2.5px;height:16px;border-radius:2px;background:linear-gradient(180deg,#ffeeb4,#ffb431);
  opacity:.36;transform:scaleY(.45);animation:bvWave 1.15s ease-in-out infinite}
.bv-dots i:nth-child(2){animation-delay:.14s}
.bv-dots i:nth-child(3){animation-delay:.28s}
@keyframes bvSpin{to{transform:rotate(360deg)}}
@keyframes bvSpinBack{to{transform:rotate(-360deg)}}
@keyframes bvPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}
@keyframes bvGlow{0%,100%{opacity:.55;transform:scale(.94)}50%{opacity:1;transform:scale(1.04)}}
@keyframes bvWave{0%,100%{opacity:.28;transform:scaleY(.45)}45%{opacity:1;transform:scaleY(1)}}
@keyframes bvSheen{0%{left:-75%;opacity:0}16%{opacity:1}58%,100%{left:120%;opacity:0}}
@keyframes bvLogo{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.045)}}
@keyframes bvFallback{to{opacity:0;visibility:hidden}}
@media (prefers-reduced-motion:reduce){
  .bv-halo,.bv-core::before,.bv-core::after,.bv-disc,.bv-disc::before,.bv-disc img,.bv-dots i{animation:none}
  .bv-dots i{opacity:.8;transform:scaleY(.8)}}
