:root{
  --red:#ff0000;
  --violet:#8b00ff;
  --ink:#261717;
  --text:#f8f2f4;
  --muted:#cdb8c0;
  --line:rgba(255,255,255,.2);
  --radius:18px;
}

*,*::before,*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  font-family:"Plus Jakarta Sans",system-ui,-apple-system,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:16px;
  line-height:1.65;
  color:var(--text);
  background-color:#1d1113;
  background-image:
    radial-gradient(58vw 58vw at 6% -12%, rgba(255,0,0,.45), transparent 62%),
    radial-gradient(52vw 52vw at 104% 2%, rgba(139,0,255,.42), transparent 64%),
    radial-gradient(70vw 52vw at 50% 112%, rgba(255,0,0,.2), transparent 66%);
  background-repeat:no-repeat;
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;
}

a{color:inherit}
:focus-visible{outline:2px solid #ffd2d2;outline-offset:3px;border-radius:8px}

.skip{
  position:absolute;
  left:-999px;
  top:0;
  z-index:60;
  display:flex;
  align-items:center;
  min-height:44px;
  padding:0 18px;
  border-radius:0 0 14px 0;
  background:var(--violet);
  color:#fff;
  text-decoration:none;
}
.skip:focus{left:0}

.shell{
  display:grid;
  grid-template-columns:264px minmax(0,1fr);
  gap:26px;
  max-width:1240px;
  margin:0 auto;
  padding:22px clamp(14px,3vw,32px) 40px;
}

/* 左栏：细条 + 品牌 + 胶囊菜单 */
.rail{
  position:sticky;
  top:16px;
  align-self:start;
  max-height:calc(100vh - 32px);
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:16px 14px 18px;
  border-radius:calc(var(--radius) + 8px);
  border:1px solid var(--line);
  background:linear-gradient(158deg,rgba(255,255,255,.17),rgba(255,255,255,.05));
  -webkit-backdrop-filter:blur(18px) saturate(150%);
  backdrop-filter:blur(18px) saturate(150%);
  box-shadow:0 24px 54px -30px rgba(0,0,0,.9),inset 0 1px 0 rgba(255,255,255,.32);
}

.ticker{
  margin:0;
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.14);
  display:flex;
  align-items:center;
  gap:9px;
  font-size:16px;
  line-height:1.4;
  letter-spacing:.06em;
  color:var(--muted);
}
.ticker::before{
  content:"";
  flex:0 0 auto;
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--red);
  box-shadow:0 0 12px 2px rgba(255,0,0,.85);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  text-decoration:none;
  font-size:19px;
  line-height:1.3;
  letter-spacing:-.01em;
}
.brand strong{font-weight:700}
.brand img{
  display:block;
  width:40px;
  height:40px;
  border-radius:12px;
  background:rgba(255,255,255,.14);
}
.brand .mark{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:12px;
  font-size:19px;
  background:linear-gradient(135deg,var(--red),var(--violet));
}

.pillnav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.pillnav a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:10px 16px;
  border-radius:999px;
  font-size:16px;
  line-height:1.35;
  text-decoration:none;
  color:#f4ebee;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.18);
  transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.pillnav a:hover{
  background:rgba(255,0,0,.24);
  border-color:rgba(255,0,0,.55);
  transform:translateX(3px);
  box-shadow:0 10px 24px -14px rgba(255,0,0,.95);
}

.back{margin:0}
.back a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:6px 14px;
  border-radius:999px;
  font-size:16px;
  text-decoration:none;
  color:var(--muted);
  border:1px dashed rgba(255,255,255,.26);
  transition:color .18s ease,border-color .18s ease;
}
.back a:hover{color:#fff;border-color:rgba(255,255,255,.5)}

/* 主区 */
.wrap{display:block}

.hero{
  position:relative;
  min-height:70vh;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:22px;
  padding:clamp(26px,5vw,56px);
  border-radius:calc(var(--radius) + 12px);
  overflow:hidden;
  border:1px solid var(--line);
  background:linear-gradient(140deg,rgba(255,255,255,.17),rgba(255,255,255,.04) 62%);
  -webkit-backdrop-filter:blur(20px) saturate(155%);
  backdrop-filter:blur(20px) saturate(155%);
  box-shadow:0 40px 90px -52px #000,inset 0 1px 0 rgba(255,255,255,.4);
}
.hero::before{
  content:"";
  position:absolute;
  right:-90px;
  top:-130px;
  width:340px;
  height:340px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,0,0,.7),transparent 68%);
  filter:blur(14px);
}
.hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-2px;
  height:11px;
  background:linear-gradient(90deg,var(--red),var(--violet));
  transform:skewY(-.9deg);
  transform-origin:left bottom;
}
.hero > *{position:relative;z-index:1}

.heroText{flex:1 1 320px;max-width:38ch}
h1{
  margin:0 0 14px;
  font-size:clamp(30px,5.2vw,54px);
  line-height:1.16;
  font-weight:700;
  letter-spacing:-.02em;
}
.lede{
  margin:0;
  max-width:34ch;
  font-size:clamp(16px,1.6vw,18px);
  line-height:1.75;
  color:#e8d9de;
}

.heroArt{
  position:relative;
  flex:0 0 auto;
  margin-left:auto;
  display:grid;
  place-items:center;
  width:clamp(96px,15vw,162px);
  height:clamp(96px,15vw,162px);
  border-radius:28px;
  overflow:hidden;
  font-size:clamp(36px,6vw,60px);
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.3);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
}
.heroArt .mark{position:relative;z-index:2}
.orb{
  position:absolute;
  right:-18px;
  bottom:-22px;
  width:72%;
  height:72%;
  border-radius:50%;
  background:radial-gradient(circle,rgba(139,0,255,.9),transparent 70%);
  filter:blur(12px);
}

.body{
  margin-top:clamp(24px,4vw,42px);
  padding:clamp(20px,4vw,40px);
  border-radius:calc(var(--radius) + 6px);
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.07);
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
  box-shadow:0 30px 70px -46px #000,inset 0 1px 0 rgba(255,255,255,.26);
}
.eyebrow{
  display:block;
  margin:0 0 6px;
  font-size:16px;
  line-height:1.4;
  letter-spacing:.12em;
  color:#ffb9b9;
}
h2{
  margin:0 0 20px;
  font-size:clamp(22px,3vw,31px);
  line-height:1.3;
  letter-spacing:-.01em;
}

.prose{
  max-width:70ch;
  font-size:17px;
  line-height:1.8;
  color:#f0e5e9;
  overflow-wrap:break-word;
}
.prose p{margin:0 0 1.05em}
.prose h2,
.prose h3{
  margin:1.5em 0 .55em;
  line-height:1.35;
  color:#fff;
}
.prose h3{font-size:20px}
.prose a{color:#ffb6b6;text-underline-offset:3px}
.prose ul,.prose ol{padding-left:1.35em;margin:0 0 1.1em}
.prose li{margin:.32em 0}
.prose img{display:block;max-width:100%;height:auto;margin:1.2em 0;border-radius:14px}
.prose blockquote{
  margin:1.2em 0;
  padding:12px 18px;
  border-left:3px solid var(--violet);
  border-radius:0 14px 14px 0;
  background:rgba(139,0,255,.16);
}
.prose div[id]{
  scroll-margin-top:26px;
  padding-top:1.5em;
  border-top:1px solid rgba(255,255,255,.13);
}
.prose > div:first-child{padding-top:0;border-top:0}
.prose div[id] h2:first-child{margin-top:.2em}

.reveal{opacity:0;transform:translateY(16px);transition:opacity .55s ease,transform .55s ease}
.reveal.is-in{opacity:1;transform:none}

/* 页脚 */
.foot{
  max-width:1240px;
  margin:0 auto;
  padding:38px clamp(14px,3vw,32px) 34px;
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
  gap:16px 26px;
  align-items:end;
}
.foot .giant{
  margin:0;
  font-size:clamp(34px,7vw,62px);
  line-height:1;
  font-weight:700;
  letter-spacing:-.03em;
  background:linear-gradient(100deg,#ffffff,#ff9a9a 46%,#c88cff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.foot .links{
  margin:0;
  justify-self:end;
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:6px 8px;
}
.foot .links a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:4px 12px;
  border-radius:999px;
  font-size:16px;
  text-decoration:none;
  color:#ecdee3;
  border:1px solid rgba(255,255,255,.16);
  transition:background .18s ease;
}
.foot .links a:hover{background:rgba(255,255,255,.15)}
.foot small{
  grid-column:1/-1;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.14);
  font-size:16px;
  color:#bda7b0;
}

@media (max-width:900px){
  .shell{grid-template-columns:minmax(0,1fr);gap:18px;padding-top:14px}
  .rail{
    position:static;
    max-height:none;
    overflow:visible;
    gap:10px;
  }
  .pillnav ul{
    flex-direction:row;
    overflow-x:auto;
    padding-bottom:6px;
    -webkit-overflow-scrolling:touch;
  }
  .pillnav a{
    white-space:nowrap;
    min-height:44px;
    transform:none;
  }
  .pillnav a:hover{transform:none}
  .hero{
    min-height:0;
    padding:26px 20px 32px;
    gap:16px;
  }
  .heroText{flex:1 1 100%;max-width:none}
  .lede{max-width:none}
  .heroArt{
    order:-1;
    margin-left:0;
    width:74px;
    height:74px;
    border-radius:20px;
    font-size:30px;
  }
  .foot{grid-template-columns:minmax(0,1fr)}
  .foot .links{justify-self:start;justify-content:flex-start}
}

@media (max-width:560px){
  h1{font-size:30px}
  .prose{font-size:17px}
  .prose div[id]{scroll-margin-top:14px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    transition-duration:.01ms !important;
    animation-duration:.01ms !important;
  }
  .reveal{opacity:1;transform:none}
}

button[aria-expanded]{min-width:44px;min-height:44px}
