/* xxuuid 启动器的网页：和启动器同样的浅色渐变 + 液态玻璃。没有任何外部资源(字体、图片、脚本都不从别的网站加载)。 */
:root {
  --ink: #2d4066; --soft: #5a6f96; --blue: #5b93e6; --pink: #e0719f;
  --glass: rgba(255,255,255,.52); --rim: rgba(255,255,255,.85);
  --ok: #2e9e5b; --warn: #d98a1e; --bad: #d04f5f;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; color: var(--ink);
  font: 16px/1.7 "Noto Sans SC", "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
  background: linear-gradient(135deg, #b9d0e6 0%, #e4c6d3 36%, #d0d5de 68%, #c4dccb 100%) fixed;   /* 启动器同款渐变，亮度/曝光压低一点 */
}
a { color: #3d7fd9; text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 880px; margin: 0 auto; padding: 56px 20px 80px; }
.tiles { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 8px 0 18px; }
.tile {
  width: 62px; height: 78px; border-radius: 15px; display: grid; place-items: center;
  background: var(--glass); border: 1.2px solid var(--rim); backdrop-filter: blur(10px);
  font-size: 44px; font-weight: 700; color: transparent;
  background-image: linear-gradient(180deg, var(--blue), var(--pink)); -webkit-background-clip: text; background-clip: text;
  box-shadow: 0 6px 22px rgba(120,140,190,.15); animation: pop .5s cubic-bezier(.2,1.4,.4,1) backwards;
}
.tile.wide { width: 130px; font-size: 26px; font-weight: 600; background-image: none; color: var(--soft); }
.tile:nth-child(1) { animation-delay: .05s } .tile:nth-child(2) { animation-delay: .15s } .tile:nth-child(3) { animation-delay: .25s }
.tile:nth-child(4) { animation-delay: .35s } .tile:nth-child(5) { animation-delay: .45s } .tile:nth-child(6) { animation-delay: .6s }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.5); } }
@media (prefers-reduced-motion: reduce) { .tile { animation: none; } }
h1 { text-align: center; font-size: 30px; margin: 6px 0 4px; }
.sub { text-align: center; color: var(--soft); margin: 0 0 30px; }
.card {
  background: var(--glass); border: 1.2px solid var(--rim); border-radius: 20px; padding: 22px 26px; margin: 16px 0;
  backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(120,140,190,.12);
}
.card h2 { margin: 0 0 8px; font-size: 20px; }
.card h3 { margin: 18px 0 4px; font-size: 16px; }
.card p, .card li { color: #3d5280; }
.card ul { padding-left: 1.3em; margin: 6px 0; }
.btn {
  display: inline-block; padding: 10px 26px; border-radius: 12px; color: #fff; font-weight: 600; border: 0; cursor: pointer; font-size: 16px;
  background: linear-gradient(135deg, var(--blue), var(--pink)); box-shadow: 0 6px 18px rgba(224,113,159,.28);
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn.plain { color: var(--ink); background: var(--glass); border: 1.2px solid var(--rim); box-shadow: none; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hint { color: var(--soft); font-size: 14px; }
.ok { color: var(--ok); } .warn { color: var(--warn); } .bad { color: var(--bad); }
.badge { display: inline-block; font-size: 12px; padding: 1px 9px; border-radius: 99px; background: rgba(91,147,230,.15); color: #3d7fd9; margin-left: 6px; vertical-align: 2px; }
.status { display: flex; gap: 12px; align-items: center; font-size: 18px; font-weight: 600; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); flex: none; }
.dot.spin { background: none; border: 3px solid rgba(91,147,230,.25); border-top-color: var(--blue); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dot.ok { background: var(--ok); } .dot.bad { background: var(--bad); } .dot.warn { background: var(--warn); }
textarea.code {
  width: 100%; min-height: 110px; resize: vertical; border-radius: 12px; border: 1.2px solid var(--rim); padding: 12px 14px; margin: 10px 0;
  background: rgba(255,255,255,.7); color: var(--ink); font: 13px/1.5 Consolas, "Courier New", monospace; word-break: break-all;
}
code { background: rgba(255,255,255,.65); padding: 1px 7px; border-radius: 6px; font-size: .92em; }
footer { text-align: center; color: var(--soft); font-size: 13px; margin-top: 34px; }
.hide { display: none !important; }

/* ===================== xxu官网(body.site)：液态玻璃，只作用在官网首页 ===================== */
.glass {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,.30), rgba(255,255,255,.12));
  border: 1px solid rgba(255,255,255,.52);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(255,255,255,.18), inset 0 0 22px rgba(255,255,255,.10), 0 10px 34px rgba(50,70,110,.16);
}
.glass::before {   /* 顶部高光 */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 70% at 12% -10%, rgba(255,255,255,.55), rgba(255,255,255,0) 55%), linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 40%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: linear-gradient(135deg, rgba(240,246,252,.80), rgba(232,238,246,.70)); }
}
body.site { overflow-x: hidden; }
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg::after { content: ""; position: absolute; inset: 0; background: rgba(6,8,16,.01); }   /* 1% 深黑 */
.bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.bg .b1 { width: 52vmax; height: 52vmax; left: -14vmax; top: -12vmax; background: radial-gradient(circle, #8dbcf0, transparent 68%); animation: drift1 26s ease-in-out infinite alternate; }
.bg .b2 { width: 46vmax; height: 46vmax; right: -12vmax; top: 18vh; background: radial-gradient(circle, #ec9dbd, transparent 68%); animation: drift2 31s ease-in-out infinite alternate; }
.bg .b3 { width: 44vmax; height: 44vmax; left: 20vw; bottom: -18vmax; background: radial-gradient(circle, #8fd3a8, transparent 68%); animation: drift3 35s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vw, 10vh) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-12vw, -8vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(10vw, -12vh) scale(1.1); } }

.top {
  position: fixed; z-index: 20; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: calc(12px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) 8px calc(16px + env(safe-area-inset-left)); pointer-events: none;
}
.top > * { pointer-events: auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 600; color: var(--ink); }
.pill.back { font-size: 17px; padding: 12px 22px; }
.pill.back:hover { text-decoration: none; filter: brightness(1.06); }
.pill.brand { font-size: 15px; }
.pill.brand img { border-radius: 6px; }

.site .wrap { max-width: 920px; padding: calc(84px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(70px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left)); }
.hero, .sec { border-radius: 26px; padding: 26px clamp(18px, 4vw, 34px); margin: 0 0 18px; }
.hero { text-align: center; }
.hero .logo { border-radius: 24px; box-shadow: 0 10px 30px rgba(60,80,140,.25); }
.hero h1 { font-size: clamp(30px, 6vw, 44px); margin: 12px 0 2px; letter-spacing: .02em; }
.lead { margin: 0 0 18px; color: var(--soft); font-size: clamp(15px, 2.4vw, 18px); }
.row.center { justify-content: center; }
.btn.big { font-size: 20px; padding: 15px 44px; border-radius: 16px; }
.hint.small { margin: 0; }
.sec h2 { margin: 0 0 8px; font-size: clamp(20px, 3.4vw, 24px); }
.sec h3 { margin: 18px 0 4px; font-size: 16px; }
.sec p, .sec li { color: #34497a; }
.sec ul { padding-left: 1.3em; margin: 6px 0; }
.sec-title { text-align: center; margin: 26px 0 14px; }
.pill-title { display: inline-block; margin: 0; padding: 12px 28px; border-radius: 999px; font-size: clamp(18px, 3vw, 22px); }
.sec-title .sub { display: inline-block; margin: 12px 0 0; padding: 8px 18px; border-radius: 16px; color: var(--soft); font-size: 14px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); margin-bottom: 18px; }
.feat { border-radius: 22px; padding: 18px 20px; transition: transform .25s cubic-bezier(.2,.9,.3,1.2), box-shadow .25s; }
.feat:hover { transform: translateY(-3px); }
.feat h3 { margin: 0 0 6px; font-size: 17px; }
.feat p { margin: 4px 0; font-size: 14.5px; line-height: 1.65; color: #34497a; }
.feat .where { margin-top: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.28); color: #2b4a86; }
.grid.small .feat { padding: 14px 18px; }
.foot { border-radius: 999px; padding: 12px 20px; text-align: center; color: var(--soft); font-size: 13px; margin-top: 26px; }
.site code { background: rgba(255,255,255,.45); }

/* 手机竖屏 */
@media (max-width: 560px) {
  .pill.back { font-size: 15px; padding: 10px 16px; }
  .pill.brand { font-size: 13px; padding: 8px 12px; }
  .btn.big { width: 100%; text-align: center; }
  .row.center .btn { flex: 1 1 100%; text-align: center; }
}
/* 横屏(矮屏幕)：压缩间距，logo 缩小，按钮不撑满 */
@media (max-height: 520px) and (orientation: landscape) {
  .site .wrap { padding-top: calc(66px + env(safe-area-inset-top)); }
  .hero, .sec { padding: 16px 22px; margin-bottom: 12px; }
  .hero .logo { width: 56px; height: 56px; border-radius: 14px; }
  .hero h1 { margin: 6px 0 0; }
  .lead { margin-bottom: 10px; }
  .btn.big { padding: 11px 34px; font-size: 18px; width: auto; }
  .pill.back { padding: 8px 16px; font-size: 15px; }
}
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg i { animation: none; } .feat { transition: none; }
}
/* 下载暂时关闭的提示弹窗(closed-notice.js) */
.dlc-mask { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: rgba(30,40,60,.38); padding: 16px; }
.dlc-box { max-width: 420px; width: 100%; padding: 28px 24px; text-align: center; }
.dlc-box h3 { margin: 0 0 10px; font-size: 22px; color: var(--ink); }
.dlc-box p { margin: 0 0 20px; line-height: 1.8; color: var(--soft); }
.dlc-box .btn.big { width: auto; padding: 11px 34px; font-size: 18px; }