:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif}
html,body{background:#f7f3f8;margin:0;overflow:hidden;color:#40394f}
html,body,#GameDiv,#Cocos3dGameContainer,#GameCanvas{touch-action:none;overscroll-behavior:none}
#GameCanvas{outline:none}
#line-boot{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 15% 8%,#eee6f5 0,transparent 42%),#f7f3f8;padding:32px;box-sizing:border-box}
#line-boot[hidden]{display:none}
#line-boot img{width:96px;height:96px;margin-bottom:24px}
#line-boot h1{font-size:clamp(32px,7vw,48px);letter-spacing:.06em;margin:0 0 12px;font-weight:700}
#line-boot p{font-size:15px;line-height:1.8;color:#797184;margin:6px 0;max-width:340px}
#line-boot h1,#line-retry{white-space:nowrap}
#line-boot p,#line-boot noscript{text-align:center;overflow-wrap:break-word}
.boot-track{margin:30px 0 16px;width:140px;height:4px;border-radius:4px;background:#e4dceb;overflow:hidden}
.boot-track span{display:block;width:40%;height:100%;border-radius:4px;background:linear-gradient(90deg,#c55379,#be6343,#a47b30,#288699,#4b79b6,#7760b3);animation:line-loading 1.7s ease-in-out infinite}
@keyframes line-loading{0%{transform:translateX(-110%)}100%{transform:translateX(360%)}}
#line-retry{margin-top:20px;padding:14px 28px;border:0;border-radius:14px;background:#40394f;color:#fffdfa;font-size:16px;cursor:pointer;min-height:48px}
#line-retry[hidden]{display:none}
.line-sr-only{position:fixed!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#line-controls{position:fixed;inset:0;pointer-events:none;z-index:10}
.line-control{position:fixed;box-sizing:border-box;margin:0;padding:0;border:0;background:transparent!important;color:transparent!important;pointer-events:none;border-radius:12px;outline:0;appearance:none;-webkit-appearance:none;font-size:0}
.line-control:focus-visible{outline:3px solid #75619c;outline-offset:3px;box-shadow:0 0 0 5px #fffdfabb}
input.line-control::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:1px;height:1px;background:transparent}
input.line-control::-moz-range-thumb{border:0;background:transparent}
#line-retry:focus-visible{outline:3px solid #75619c;outline-offset:4px}
#line-diagnostics{position:fixed;z-index:20;left:8px;top:8px;white-space:pre;font:11px/1.5 monospace;color:#fff;background:#40394fe8;border-radius:8px;padding:8px;pointer-events:none;text-align:left}
@media(prefers-reduced-motion:reduce){.boot-track span{animation:none;width:100%}}
@media(max-height:420px){
  #line-boot{padding:12px}
  #line-boot img{width:48px;height:48px;margin-bottom:8px;flex-shrink:0}
  #line-boot h1{font-size:28px;line-height:1.2;margin-bottom:4px}
  #line-boot>p:not(#line-load-status){display:none}
  #line-boot p{line-height:1.45;margin:4px 0}
  .boot-track{margin:12px 0 8px;flex-shrink:0}
  #line-retry{margin-top:8px;padding:10px 24px;min-height:44px;flex-shrink:0}
}
