* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: #f3f4f6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background:
    radial-gradient(900px 620px at 8% -8%, rgba(255, 0, 51, .13), transparent 60%),
    radial-gradient(850px 600px at 96% 2%, rgba(88, 101, 242, .12), transparent 60%),
    radial-gradient(700px 560px at 50% 108%, rgba(255, 166, 77, .07), transparent 60%),
    #08090d;
}
body::-webkit-scrollbar { width: 0; height: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.board { width: min(1560px, 100%); margin: 0 auto; padding: 24px clamp(14px, 2.6vw, 32px) 70px; position: relative; z-index: 1; }
.board::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.1) .7px, transparent .7px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.top-nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, #ff0033, #bd001f); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 16px 36px -18px rgba(255,0,51,.9);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand h1 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.brand p { margin: 2px 0 0; font-size: 10px; letter-spacing: .16em; color: rgba(255,255,255,.36); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.nav-link {
  padding: 7px 11px; border-radius: 8px; font-size: 11px; color: rgba(255,255,255,.5);
  border: 1px solid transparent; transition: .16s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-link.active { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.09); }
.page-head { margin: 38px auto 0; max-width: 900px; text-align: center; }
.eyebrow { font-size: 9px; font-weight: 700; letter-spacing: .32em; color: rgba(255,0,51,.75); text-transform: uppercase; }
.page-head h2 { margin: 10px 0 0; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.page-head p { margin: 12px auto 0; max-width: 620px; color: rgba(255,255,255,.42); font-size: 12px; line-height: 1.8; }
.meta-pills { margin-top: 18px; display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; }
.meta-pill {
  border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.035);
  border-radius: 999px; padding: 5px 10px; color: rgba(255,255,255,.45); font-size: 9.5px;
}
.phone-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 34px; margin-top: 40px; }
.frame { flex: none; width: 390px; max-width: 100%; }
.phone {
  position: relative; width: 390px; max-width: 100%; height: 844px; flex: none;
  padding: 9px; border-radius: 3.45rem;
  background: linear-gradient(150deg, #3a3d45, #0b0c10 55%, #26292f);
  box-shadow: 0 48px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08);
}
.phone::after {
  content: ""; position: absolute; inset: 4px; border-radius: 3.15rem; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
}
.screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 2.78rem;
  background: #0f0f0f; isolation: isolate;
}
.dynamic-island {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 27px; border-radius: 999px; background: #050507; z-index: 40;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.statusbar {
  position: relative; z-index: 30; height: 52px; padding: 15px 25px 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: .01em; color: rgba(255,255,255,.9);
}
.status-icons { display: flex; align-items: center; gap: 6px; font-size: 9px; }
.scroller {
  height: calc(100% - 52px); overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: none; -ms-overflow-style: none;
}
.scroller::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 25;
  padding: 8px 16px 20px; background: rgba(15,15,15,.93);
  border-top: 1px solid rgba(255,255,255,.075); backdrop-filter: blur(22px);
}
.home-indicator {
  position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%);
  width: 128px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.48); z-index: 35;
}
.frame-label { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 11px; padding: 0 2px; }
.frame-label .num { font-size: 9px; letter-spacing: .22em; color: rgba(255,255,255,.28); font-weight: 600; }
.frame-label h3 { margin: 4px 0 0; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.86); }
.frame-label .note { max-width: 150px; text-align: right; font-size: 9px; line-height: 1.5; color: rgba(255,255,255,.3); }
.glass { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.085); backdrop-filter: blur(16px); }
.glass-dark { background: rgba(15,15,15,.72); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(16px); }
.yt-logo { display: inline-flex; align-items: center; gap: 6px; }
.yt-logo-mark { display: grid; place-items: center; width: 32px; height: 22px; border-radius: 7px; background: #ff0033; box-shadow: 0 4px 14px -6px rgba(255,0,51,.8); }
.yt-logo-mark img { width: 13px; height: 13px; }
.yt-word { font-size: 16px; font-weight: 800; letter-spacing: -.055em; }
.icon { width: 18px; height: 18px; object-fit: contain; filter: brightness(0) invert(1); opacity: .82; }
.icon-sm { width: 14px; height: 14px; }
.icon-xs { width: 11px; height: 11px; }
.icon-lg { width: 22px; height: 22px; }
.icon-red { filter: brightness(0) saturate(100%) invert(16%) sepia(97%) saturate(7499%) hue-rotate(344deg) brightness(97%) contrast(117%); opacity: 1; }
.icon-muted { filter: brightness(0) invert(.68); opacity: .72; }
.icon-dark { filter: none; opacity: .72; }
.chip { padding: 6px 11px; border-radius: 8px; font-size: 10px; white-space: nowrap; color: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.06); }
.chip.active { background: #f1f1f1; color: #0f0f0f; border-color: #f1f1f1; font-weight: 700; }
.video-title { font-size: 12px; line-height: 1.45; font-weight: 600; color: rgba(255,255,255,.9); }
.video-meta { margin-top: 3px; font-size: 9px; line-height: 1.5; color: rgba(255,255,255,.38); }
.thumb { position: relative; overflow: hidden; background: #1a1a1a; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.thumb:hover img { transform: scale(1.025); }
.duration { position: absolute; right: 6px; bottom: 6px; padding: 1px 4px; border-radius: 4px; background: rgba(0,0,0,.78); font-size: 8px; font-weight: 700; color: #fff; }
.avatar { border-radius: 50%; object-fit: cover; background: #222; }
.avatar-ring { ring: 1px solid rgba(255,255,255,.12); }
.live-dot { width: 5px; height: 5px; border-radius: 50%; background: #ff0033; box-shadow: 0 0 0 3px rgba(255,0,51,.14); }
.tab-item { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 8.5px; color: rgba(255,255,255,.35); transition: .16s; }
.tab-item.active { color: #fff; }
.tab-item.active .icon { opacity: 1; }
.tab-item .icon { width: 19px; height: 19px; }
.subscribe-btn { background: #f1f1f1; color: #0f0f0f; font-size: 9.5px; font-weight: 700; border-radius: 999px; padding: 6px 11px; }
.subscribe-btn.subscribed { background: rgba(255,255,255,.12); color: rgba(255,255,255,.75); }
.like-btn.liked { color: #ff0033; }
.like-btn.liked .icon { filter: brightness(0) saturate(100%) invert(16%) sepia(97%) saturate(7499%) hue-rotate(344deg) brightness(97%) contrast(117%); opacity: 1; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); z-index: 60;
  background: rgba(245,245,245,.96); color: #0f0f0f; border-radius: 999px; padding: 9px 16px;
  font-size: 11px; font-weight: 650; opacity: 0; pointer-events: none; transition: .22s;
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.8); max-width: calc(100vw - 30px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.back-link {
  display: inline-flex; align-items: center; gap: 7px; font-size: 11px; color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.035);
  padding: 7px 11px; border-radius: 999px; transition: .16s;
}
.back-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.back-link img { width: 13px; height: 13px; filter: brightness(0) invert(1); opacity: .65; }
.module-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 32px; }
.module-page-head h2 { margin: 7px 0 0; font-size: clamp(25px, 3.6vw, 36px); font-weight: 800; letter-spacing: -.04em; }
.module-page-head p { margin: 7px 0 0; max-width: 620px; color: rgba(255,255,255,.42); font-size: 11.5px; line-height: 1.75; }
.module-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 34px; }
.module-card {
  position: relative; overflow: hidden; border-radius: 20px; min-height: 260px;
  border: 1px solid rgba(255,255,255,.09); background: #111318;
  box-shadow: 0 28px 60px -38px rgba(0,0,0,.85); transition: transform .22s ease, border-color .22s ease;
}
.module-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.module-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; transition: transform .5s ease, opacity .3s; }
.module-card:hover > img { transform: scale(1.04); opacity: .52; }
.module-card .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,9,13,.98) 8%, rgba(8,9,13,.45) 55%, rgba(8,9,13,.12)); }
.module-card .content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.module-card .index-num { position: absolute; top: 18px; left: 20px; font-size: 10px; font-weight: 700; letter-spacing: .22em; color: rgba(255,255,255,.38); z-index: 2; }
.module-card .icon-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px);
}
.module-card h3 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.module-card p { margin: 7px 0 0; color: rgba(255,255,255,.45); font-size: 11px; line-height: 1.65; }
.module-card .go { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 650; color: #fff; }
.module-card .screen-count { position: absolute; right: 18px; bottom: 18px; z-index: 2; font-size: 9px; color: rgba(255,255,255,.38); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 3px 8px; background: rgba(0,0,0,.22); backdrop-filter: blur(6px); }
.token-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.token { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); padding: 7px 10px; border-radius: 9px; font-size: 9.5px; color: rgba(255,255,255,.4); }
.token i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.index-footer { margin-top: 42px; text-align: center; font-size: 9.5px; line-height: 1.9; color: rgba(255,255,255,.22); }
@media (max-width: 860px) {
  .phone-row { gap: 26px; }
  .frame { width: 390px; }
}
@media (max-width: 640px) {
  .board { padding: 16px 10px 44px; }
  .phone { width: 100%; height: 844px; }
  .frame-label .note { display: none; }
  .module-index { grid-template-columns: 1fr; }
  .top-nav { gap: 10px; }
  .nav-links { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .nav-link { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
