.hero { position: relative; overflow: hidden; padding: clamp(36px, 7vw, 88px) clamp(16px, 4vw, 40px) clamp(48px, 8vw, 96px); background:
  radial-gradient(60% 70% at 0% 0%, rgba(255, 90, 0, .42), transparent 62%),
  radial-gradient(55% 60% at 100% 100%, rgba(255, 106, 0, .38), transparent 60%), var(--ink); }
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { position: relative; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy h1 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); line-height: 1.16; letter-spacing: -.01em; color: var(--cream); font-weight: 900; margin-bottom: 22px; }
.sub { font-size: clamp(15px, 1.5vw, 17px); color: #e6d3c1; max-width: 34em; margin-bottom: 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hero .fine { max-width: 34em; }

/* 共同編集のイメージ */
.mock { position: relative; background: rgba(19, 11, 7, .88); border: 1px solid var(--line-2); border-radius: 18px; padding: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 138, 31, .08); backdrop-filter: blur(6px); }
.mock-top { display: flex; align-items: center; gap: 12px; padding: 2px 4px 12px; font-size: 13px; }
.mock-top b { font-size: 15px; }
.mock-top .live { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.mock-top .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: block; }
.mock-who { display: flex; }
.mock-who span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 12px; color: #140b07; margin-left: -6px; border: 2px solid var(--panel); }
.mock-who span:first-child { margin-left: 0; }
.mock-body { display: grid; grid-template-columns: 64px 1fr; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #110a06; }
.mock-keys { display: grid; grid-template-rows: repeat(9, 1fr); font-size: 10px; font-weight: 700; color: #6a4a35; border-right: 1px solid var(--line); }
.mock-keys span { padding: 0 8px; display: flex; align-items: center; border-bottom: 1px solid #24160d; }
.mock-keys span:nth-child(odd) { background: #1c120b; }
.mock-grid { position: relative; aspect-ratio: 16 / 7.4; background:
  repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), #3a2417 calc(12.5% - 1px) 12.5%),
  repeating-linear-gradient(90deg, transparent 0 calc(3.125% - 1px), #22150d calc(3.125% - 1px) 3.125%),
  repeating-linear-gradient(180deg, transparent 0 calc(11.111% - 1px), #24160d calc(11.111% - 1px) 11.111%); overflow: hidden; }
.mock-note { position: absolute; height: calc(11.111% - 3px); border-radius: 3px; transform-origin: left center; animation: drawIn .35s cubic-bezier(.2, .8, .2, 1) backwards; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); }
@keyframes drawIn { from { transform: scaleX(0); opacity: 0; } }
.mock-play { position: absolute; top: 0; bottom: 0; width: 2px; left: 0; background: #ffd9a8; box-shadow: 0 0 10px #ff8a1f; animation: sweep 6.4s linear 1.8s infinite; }
@keyframes sweep { from { left: 0; } to { left: 100%; } }
.mock-cur { position: absolute; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; pointer-events: none; z-index: 2; }
.mock-cur::before { content: ""; width: 12px; height: 12px; background: var(--c); clip-path: polygon(0 0, 100% 45%, 45% 100%); }
.mock-cur em { font-style: normal; font-weight: 700; font-size: 11px; background: var(--c); color: #140b07; padding: 1px 7px; border-radius: 4px; margin-left: 8px; white-space: nowrap; }
.cur-a { --c: #38bdf8; animation: curA 9s ease-in-out 2s infinite; }
.cur-b { --c: #f472b6; animation: curB 11s ease-in-out 3s infinite; }
@keyframes curA { 0% { left: 62%; top: 12%; } 30% { left: 70%; top: 34%; } 55% { left: 48%; top: 48%; } 80% { left: 80%; top: 22%; } 100% { left: 62%; top: 12%; } }
@keyframes curB { 0% { left: 20%; top: 70%; } 35% { left: 36%; top: 56%; } 60% { left: 14%; top: 40%; } 85% { left: 40%; top: 80%; } 100% { left: 20%; top: 70%; } }

/* 共通セクション */
.band { width: min(1120px, 100%); margin: 0 auto; padding: clamp(44px, 7vw, 84px) clamp(16px, 4vw, 40px) 0; scroll-margin-top: 70px; }
.band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 26px; color: var(--cream); }
.band-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.muted { color: var(--muted); font-size: 13px; }
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.feat > div { padding: 22px 0; border-top: 1px solid var(--line-2); }
.feat h3 { font-size: 19px; margin-bottom: 8px; }
.feat p { color: #cdb9a7; margin: 0; max-width: 36em; }
.flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.flow li { counter-increment: s; position: relative; padding-top: 52px; }
.flow li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 600; color: #1c0b02; background: linear-gradient(135deg, var(--ember), var(--flame)); }
.flow li::after { content: ""; position: absolute; top: 19px; left: 52px; right: -20px; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.flow li:last-child::after { display: none; }
.flow li b { display: block; font-size: 18px; margin-bottom: 6px; }
.flow li span { color: #cdb9a7; }

#gallery .tcard { cursor: default; }
#gallery .tc-body { cursor: pointer; }
#gallery .tc-title:hover { color: var(--amber); }
.rules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.terms h3 { font-size: 16px; margin: 0 0 8px; color: var(--cream); }
.terms ul { margin: 0 0 22px; padding-left: 1.3em; }
.terms li { margin-bottom: 6px; }
.track-view { text-align: left; }
.track-view .tv-art { margin-bottom: 14px; }
.track-view .tv-art .tc-art { aspect-ratio: 16 / 7; }
.track-view .tv-by { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.track-view p { white-space: pre-wrap; }
.report-link { font-size: 13px; }
#copyright { padding-bottom: 8px; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .feat, .rules { grid-template-columns: 1fr; }
  .flow ol { grid-template-columns: 1fr; gap: 22px; }
  .flow li { padding: 0 0 0 54px; min-height: 40px; }
  .flow li::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mock-play, .mock-cur { animation: none; }
  .mock-play { left: 38%; }
  .cur-a { left: 62%; top: 20%; } .cur-b { left: 20%; top: 66%; }
}
