:root {
  --blue: #3bb1ff;
  --red: #ff5252;
  --ink: #000000;
  --paper: #fbf3e5;
  --card: #ffffff;
  --line: 3px solid #000000;
  --r: 28px;
  --head-font: 'Syne', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --body-font: 'Manrope', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--head-font);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 16px;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* 顶部细条 */
.ticker {
  background: var(--ink);
  color: #fff;
  border-bottom: var(--line);
  overflow: hidden;
}

.ticker-in {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 7px 14px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-transform: none;
}

.ticker-in .star {
  color: var(--red);
}

/* 页头 */
.head {
  background: var(--paper);
  border-bottom: var(--line);
}

.head-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 18px;
}

.menu p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.menu-a p {
  justify-content: flex-start;
}

.menu-b p {
  justify-content: flex-end;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 3px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.menu a:hover {
  border-color: var(--ink);
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 6px 20px;
  background: var(--red);
  border: var(--line);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--head-font);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  transform: rotate(-2deg);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.brand:hover {
  transform: rotate(0deg) translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

/* 粘性锚点条 */
.anchors {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--blue);
  border-bottom: var(--line);
  overflow-x: auto;
}

.anchors p {
  display: flex;
  gap: 8px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 14px;
  white-space: nowrap;
}

.anchors a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 14px;
  background: var(--card);
  border: var(--line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.anchors a:hover,
.anchors a.on {
  background: var(--red);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

/* 首屏 */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 48px 0;
  background: var(--blue);
  border-bottom: 4px solid var(--ink);
  overflow: hidden;
}

.ghost {
  position: absolute;
  left: -1vw;
  bottom: -3vw;
  margin: 0;
  font-family: var(--head-font);
  font-size: clamp(64px, 20vw, 250px);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 3px var(--ink);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  opacity: 0.85;
}

.hero-in {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
}

.collage {
  position: relative;
  display: flex;
  flex: 1 1 320px;
  min-height: 250px;
}

.shot {
  width: 56%;
  height: auto;
  object-fit: cover;
  background: var(--card);
  border: var(--line);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
}

.shot-1 {
  transform: rotate(-4deg);
  z-index: 1;
}

.shot-2 {
  width: 48%;
  margin-left: -14%;
  transform: rotate(4deg) translateY(28px);
}

.hero-copy {
  display: flex;
  flex: 1 1 340px;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
  text-align: right;
}

.hero-copy h1 {
  font-size: clamp(34px, 5.4vw, 68px);
  text-shadow: 5px 5px 0 var(--card);
}

.hero-go {
  margin: 0;
}

.hero-go a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 28px;
  background: var(--red);
  border: var(--line);
  border-radius: 999px;
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.hero-go a:hover {
  background: var(--card);
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 var(--ink);
}

/* 主栏 */
.main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 18px 64px;
}

.paper {
  display: block;
  background: var(--card);
  border: var(--line);
  border-radius: var(--r);
  box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(20px, 3vw, 44px);
}

.content > section {
  padding: 6px 0 26px;
  border-bottom: 3px dashed var(--ink);
  scroll-margin-top: 96px;
}

.content > section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.content h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin: 18px 0 0;
}

.content h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 22px 0 0;
}

.content hr {
  border: 0;
  border-top: 4px solid var(--ink);
  margin: 12px 0 20px;
}

.content p {
  margin: 0 0 16px;
}

.content ul,
.content ol {
  margin: 0 0 18px;
  padding-left: 1.25em;
}

.content li {
  margin: 0 0 8px;
}

.content a {
  color: #0a58a8;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.content a:hover {
  color: var(--red);
}

.content strong {
  background: var(--blue);
  padding: 0 0.2em;
  border-radius: 5px;
}

.content blockquote {
  margin: 0 0 18px;
  padding: 14px 18px;
  background: var(--paper);
  border: var(--line);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
}

.content blockquote p:last-child {
  margin-bottom: 0;
}

.content img {
  margin: 0 0 18px;
  border: var(--line);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
}

.content table {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: collapse;
  font-size: 16px;
}

.content th,
.content td {
  padding: 8px 10px;
  border: var(--line);
  text-align: left;
  vertical-align: top;
}

.content th {
  background: var(--blue);
}

/* 右侧栏 */
.rail {
  position: sticky;
  top: 86px;
  background: var(--card);
  border: var(--line);
  border-radius: var(--r);
  box-shadow: 6px 6px 0 var(--red);
  padding: 18px;
}

.rail h2 {
  font-size: 20px;
}

.rail hr {
  border: 0;
  border-top: 4px solid var(--ink);
  margin: 10px 0 14px;
}

.rail-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  background: var(--paper);
  border: var(--line);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.rail-list a:hover {
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-2px, -2px);
}

/* 页脚 */
.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 18px;
  background: var(--ink);
  color: #fff;
  border-top: 4px solid var(--ink);
}

.foot-mark a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 4px 16px;
  background: var(--red);
  border: 3px solid #fff;
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--head-font);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.foot-mark a:hover {
  background: var(--blue);
}

.foot-nav p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
}

.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  border: 3px solid transparent;
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.foot-nav a:hover {
  border-color: #fff;
  background: var(--blue);
  color: var(--ink);
}

.foot-copy p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* 断点 */
@media (max-width: 960px) {
  .main {
    grid-template-columns: minmax(0, 1fr);
  }

  .rail {
    position: static;
  }
}

@media (max-width: 820px) {
  .head-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }

  .brand {
    order: -1;
    justify-self: center;
    font-size: 18px;
  }

  .menu p {
    justify-content: center;
  }

  .menu a {
    padding: 6px 10px;
  }

  .hero {
    min-height: 0;
    padding: 26px 0 40px;
  }

  .hero-in {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .hero-copy {
    order: -1;
    align-items: flex-start;
    text-align: left;
  }

  .ghost {
    bottom: 6px;
    font-size: clamp(52px, 22vw, 120px);
  }

  .collage {
    min-height: 0;
  }

  .shot-2 {
    transform: rotate(4deg) translateY(16px);
  }

  .foot {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .ticker-in {
    font-size: 16px;
    gap: 10px;
  }

  .paper {
    padding: 18px;
    border-radius: 20px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .shot {
    width: 58%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

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