@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@300;400;500;700&display=swap');

:root {
  --paper: #f5e6c8;
  --paper-2: #efdcb4;
  --film: #d4a574;
  --ink: #262117;
  --ink-2: #4d4130;
  --frame: #fdf7ea;
  --line: rgba(38, 33, 23, 0.16);
  --shadow: 0 14px 30px -22px rgba(38, 33, 23, 0.8);
  --sans: "Noto Sans Hebrew", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(90deg, rgba(38, 33, 23, 0.028) 0 1px, transparent 1px 7px),
    radial-gradient(120% 90% at 50% 0%, var(--paper-2), var(--paper) 62%);
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.17;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
}

body::before {
  content: "";
  position: fixed;
  inset: -12%;
  z-index: 70;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: blur(16px);
  background:
    radial-gradient(34% 26% at 84% 4%, rgba(255, 198, 126, 0.6), transparent 72%),
    radial-gradient(28% 22% at 6% 86%, rgba(255, 158, 118, 0.34), transparent 74%);
  animation: leak 18s ease-in-out infinite alternate;
}

@keyframes leak {
  0% { opacity: 0.5; transform: translate3d(0, 0, 0) scale(1); }
  100% { opacity: 0.86; transform: translate3d(-2%, 1.5%, 0) scale(1.07); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.skip {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip:focus { left: 0; }

/* 页头 */
.masthead {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem clamp(0.9rem, 4vw, 2.4rem);
  border-bottom: 2px solid var(--ink);
  background: rgba(245, 230, 200, 0.86);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
}

.brand .mark {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  object-fit: cover;
}

.mark-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--film);
  font-size: 0.86rem;
  letter-spacing: 0;
}

.brand-name { border-bottom: 2px solid var(--film); }

.topnav {
  margin-left: auto;
  min-width: 0;
  display: flex;
  gap: 0.1rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.topnav::-webkit-scrollbar { display: none; }

.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 0.55rem;
  white-space: nowrap;
  font-size: 0.94rem;
  color: var(--ink-2);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.topnav a:hover,
.topnav a:focus-visible { color: var(--ink); border-bottom-color: var(--film); }

/* 粘性锚点条 */
.indexbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.25rem clamp(0.9rem, 4vw, 2.4rem);
  background: var(--ink);
  color: var(--paper);
  border-bottom: 3px solid var(--film);
  overflow-x: auto;
  scrollbar-width: none;
}
.indexbar::-webkit-scrollbar { display: none; }

.indexbar .lb {
  flex: 0 0 auto;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  opacity: 0.72;
  white-space: nowrap;
}

.indexbar ol {
  display: flex;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.indexbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  min-height: 44px;
  padding: 0 0.55rem;
  font-size: 0.85rem;
  color: #efe2c6;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.indexbar a:hover,
.indexbar a.on,
.indexbar a:focus-visible { color: #fff; border-bottom-color: var(--film); }
.indexbar .ix { font-size: 0.7rem; letter-spacing: 0.08em; color: var(--film); }

/* 主体 */
main { padding: 0 clamp(0.9rem, 4vw, 2.4rem) 3rem; }

.reel {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
}

/* 首屏 */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 68vh;
  padding: clamp(2.4rem, 11vh, 6rem) 0 clamp(1.4rem, 4vh, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: rise 0.6s ease both;
}

.hero::before {
  content: "赛果";
  position: absolute;
  right: -0.08em;
  bottom: -0.02em;
  font-size: clamp(5rem, 26vw, 15rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: rgba(38, 33, 23, 0.075);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.32em;
  color: var(--ink-2);
  position: relative;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--film);
}

h1 {
  position: relative;
  margin: 0.5rem 0 0.8rem;
  font-size: clamp(2.15rem, 8vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lede {
  position: relative;
  max-width: 33em;
  margin: 0 0 1rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--film);
  color: var(--ink-2);
  font-size: 1rem;
}

.hero-tip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: #6b5b40;
}

.perf {
  flex: 0 0 auto;
  width: 46px;
  height: 9px;
  background-image: radial-gradient(circle at 4px 4.5px, var(--film) 0 3px, transparent 3px);
  background-size: 12px 9px;
  background-repeat: repeat-x;
}

/* 左侧栏 */
.rail {
  order: 2;
  padding: 1rem 0.95rem;
  border: 1px dashed rgba(38, 33, 23, 0.32);
  border-radius: 4px;
  background: rgba(38, 33, 23, 0.055);
  animation: rise 0.6s 0.08s ease both;
}

.rail h2 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.rail hr {
  width: 46px;
  height: 3px;
  margin: 0 0 0.6rem;
  border: 0;
  background: var(--film);
}

.rail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rail;
}

.rail-list li {
  counter-increment: rail;
  border-bottom: 1px dotted rgba(38, 33, 23, 0.26);
}

.rail-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  font-size: 0.92rem;
  color: var(--ink-2);
  text-decoration: none;
}
.rail-list a::before {
  content: "0" counter(rail);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #9a7345;
}
.rail-list a:hover { color: var(--ink); }

.rail-note {
  margin: 0.8rem 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #6b5b40;
}

/* 正文卡片 */
.reel > div:not(.hero) {
  scroll-margin-top: 86px;
  padding: 1.4rem 1.15rem 1.3rem;
  border: 1px solid var(--line);
  border-top: 9px solid #fff;
  border-bottom: 4px solid var(--film);
  border-radius: 4px;
  background: var(--frame);
  box-shadow: var(--shadow);
  animation: rise 0.6s ease both;
}

.reel > div:not(.hero):nth-of-type(2n) { animation-delay: 0.05s; }
.reel > div:not(.hero):nth-of-type(3n) { animation-delay: 0.1s; }

.reel div h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.32rem, 3.4vw, 1.85rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.reel div h3 {
  margin: 1.5rem 0 0.35rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

.reel div h2 + hr,
.reel div h3 + hr {
  width: 64px;
  height: 3px;
  margin: 0 0 1rem;
  border: 0;
  background: var(--film);
}

.reel div p { margin: 0 0 1rem; }
.reel div p:last-child { margin-bottom: 0; }

.reel div ul,
.reel div ol {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
}
.reel div li { margin: 0.3rem 0; }

.reel div a {
  color: #8a5322;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reel div blockquote {
  margin: 1.2rem 0;
  padding: 0.85rem 1rem;
  background: rgba(212, 165, 116, 0.24);
  border-left: 4px solid var(--film);
  border-radius: 4px;
}
.reel div blockquote p:last-child { margin-bottom: 0; }

.reel div img {
  max-width: 100%;
  height: auto;
  border: 8px solid #fff;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.reel div strong { background: rgba(212, 165, 116, 0.42); padding: 0 0.15em; }

/* 结尾块 */
.outro {
  scroll-margin-top: 86px;
  padding: 1.4rem 1.15rem;
  border-radius: 4px;
  border-bottom: 4px solid var(--film);
  background: var(--ink);
  color: #e9dcc0;
  animation: rise 0.6s ease both;
}
.outro h2 { color: #fff; margin: 0 0 0.5rem; font-size: clamp(1.3rem, 3.4vw, 1.8rem); }
.outro hr { width: 64px; height: 3px; margin: 0 0 1rem; border: 0; background: var(--film); }
.outro p { margin: 0 0 0.9rem; }
.outro p:last-child { margin-bottom: 0; }
.outro a { color: var(--film); text-underline-offset: 3px; }

/* 页脚 */
.colophon {
  margin-top: 2rem;
  padding: 2.2rem clamp(0.9rem, 4vw, 2.4rem) 1.1rem;
  background: #1d1a13;
  color: #e8dcc2;
}

.cta {
  max-width: 1180px;
  margin: 0 auto 2rem;
  padding: 1.5rem 1.15rem;
  border: 1px solid rgba(212, 165, 116, 0.45);
  border-radius: 6px;
  background: linear-gradient(120deg, rgba(212, 165, 116, 0.18), rgba(212, 165, 116, 0.03));
}

.cta p { margin: 0; }
.cta-k { font-size: 0.72rem; letter-spacing: 0.32em; color: var(--film); }
.cta-t {
  margin: 0.5rem 0 1.1rem;
  font-size: clamp(1.15rem, 3.6vw, 1.7rem);
  line-height: 1.36;
  color: #fbf3e2;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 1.15rem;
  border-radius: 4px;
  background: var(--film);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: #e6bb8c; transform: translateY(-1px); }

.foot-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

.foot-logo {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fbf3e2;
}

address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #d9c9a8;
}
.foot-fine { color: #a99b7f; font-size: 0.85rem; }

.foot-desc {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #a99b7f;
}

.footlinks dl { margin: 0; }

.footlinks dt {
  margin: 0.8rem 0 0.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--film);
}

.footlinks dd { margin: 0; display: inline-block; margin-right: 1rem; }

.footlinks a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.93rem;
  color: #e8dcc2;
  text-decoration: none;
}
.footlinks a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.foot-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.1rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(232, 220, 194, 0.16);
}

.foot-anchors a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.88rem;
  color: #c9ba9c;
  text-decoration: none;
}
.foot-anchors a:hover { color: #fff; }

.foot-base {
  max-width: 1180px;
  margin: 1.8rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(232, 220, 194, 0.18);
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #a99b7f;
}
.foot-base p { margin: 0.2rem 0; }

@media (min-width: 760px) {
  .foot-grid { grid-template-columns: 1.15fr 0.85fr; gap: 2rem; }
}

@media (min-width: 960px) {
  .reel {
    grid-template-columns: 232px minmax(0, 1fr);
    column-gap: 2rem;
  }
  .hero { grid-column: 1 / -1; }
  .outro { grid-column: 2; }
  .rail {
    order: 0;
    grid-column: 1;
    grid-row: 2 / -1;
    align-self: start;
    position: sticky;
    top: 74px;
  }
  .reel > div:not(.hero) { grid-column: 2; }
}

@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .brand-name { font-size: 0.96rem; }
  .hero { min-height: 62vh; }
  .reel > div:not(.hero) { padding: 1.2rem 0.95rem 1.15rem; }
  .footlinks dd { margin-right: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

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