:root { --bg: #05060f; --card: rgba(16,19,42,.66); --line: rgba(142,162,255,.22); --eth: #627EEA; --eth2: #8EA2FF; --cyan: #39E4FF; --mag: #FF4FD8; --gold: #FFC857; --txt: #E9ECFF; --dim: #8A93C7; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; background: var(--bg); color: var(--txt); font: 15px/1.6 -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; min-height: 100vh; } .aurora { position: fixed; inset: -20%; z-index: -1; background: radial-gradient(40% 35% at 20% 15%, rgba(98,126,234,.35), transparent 70%), radial-gradient(35% 30% at 85% 30%, rgba(255,79,216,.18), transparent 70%), radial-gradient(40% 40% at 60% 95%, rgba(57,228,255,.14), transparent 70%); filter: blur(10px); } .bar { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 12px max(18px, env(safe-area-inset-left)); background: rgba(5,6,15,.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); } .logo { display: flex; align-items: center; gap: 10px; color: var(--txt); text-decoration: none; font-weight: 800; letter-spacing: 2px; font-size: 18px; } .logo svg { width: 26px; height: 26px; fill: var(--eth2); filter: drop-shadow(0 0 8px rgba(98,126,234,.8)); } nav a { color: var(--dim); text-decoration: none; margin-left: 18px; font-size: 14px; transition: color .2s; } nav a:hover { color: var(--cyan); } main { max-width: 1240px; margin: 0 auto; padding: 22px 16px 40px; } .panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px; margin-bottom: 26px; box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(12px); } h2 { margin: 0 0 8px; font-size: 22px; display: flex; align-items: center; gap: 12px; } h2 em { font-style: normal; font-family: "Space Grotesk", monospace; color: var(--eth2); font-size: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px; } .sub, .note { color: var(--dim); font-size: 14px; margin: 0 0 14px; } .screen-wrap { display: flex; justify-content: center; } .screen { position: relative; width: 100%; aspect-ratio: 16/9; max-height: 74vh; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(98,126,234,.25); } .screen.portrait { aspect-ratio: 9/16; width: auto; height: 74vh; } .screen canvas { width: 100%; height: 100%; display: block; cursor: pointer; } .veil { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(circle at 50% 45%, rgba(98,126,234,.25), rgba(5,6,15,.94) 60%); color: var(--dim); } .ring { width: 54px; height: 54px; border-radius: 50%; border: 3px solid rgba(142,162,255,.2); border-top-color: var(--cyan); animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .play-big { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 104px; height: 104px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(98,126,234,.35); backdrop-filter: blur(8px); cursor: pointer; box-shadow: 0 0 60px rgba(98,126,234,.7); transition: transform .2s; } .play-big:hover { transform: translate(-50%,-50%) scale(1.06); } .play-big svg { width: 46px; fill: #fff; margin-left: 6px; } .hidden { display: none !important; } .transport { display: flex; align-items: center; gap: 12px; margin-top: 14px; } .btn-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--txt); cursor: pointer; display: grid; place-items: center; } .btn-icon svg { width: 22px; fill: currentColor; } .btn-icon:hover { border-color: var(--cyan); color: var(--cyan); } .tc { font-family: "Space Grotesk", monospace; font-size: 14px; white-space: nowrap; color: var(--dim); } .tc b { color: var(--txt); } .tc i { margin: 0 4px; font-style: normal; } .scrub { position: relative; flex: 1; height: 8px; border-radius: 6px; background: rgba(255,255,255,.08); cursor: pointer; touch-action: none; } .scrub-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--eth), var(--cyan)); box-shadow: 0 0 12px rgba(57,228,255,.6); } .scrub-ticks i { position: absolute; top: -4px; width: 2px; height: 16px; background: rgba(255,255,255,.25); border-radius: 1px; } .scrub-head { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; transform: translate(-50%,-50%); box-shadow: 0 0 14px var(--cyan); } .scrub-tip { position: absolute; bottom: 18px; transform: translateX(-50%); background: rgba(5,6,15,.9); border: 1px solid var(--line); padding: 3px 8px; border-radius: 8px; font-size: 12px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; } .scrub:hover .scrub-tip { opacity: 1; } .row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; } .seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.03); } .seg button { border: 0; background: none; color: var(--dim); padding: 9px 14px; cursor: pointer; font-size: 14px; } .seg button.on { background: linear-gradient(135deg, rgba(98,126,234,.85), rgba(155,107,255,.75)); color: #fff; font-weight: 700; } .tog { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--dim); font-size: 14px; margin-top: 12px; } .tog input { display: none; } .tog span { width: 38px; height: 22px; border-radius: 12px; background: rgba(255,255,255,.12); position: relative; transition: background .2s; } .tog span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s; } .tog input:checked + span { background: var(--eth); } .tog input:checked + span::after { left: 19px; } .status { color: var(--dim); font-size: 13px; } .chapters { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: 0; margin: 16px 0 0; counter-reset: c; } .chapters li { border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; cursor: pointer; background: rgba(255,255,255,.02); transition: all .2s; } .chapters li:hover { border-color: var(--cyan); } .chapters li.on { background: linear-gradient(135deg, rgba(98,126,234,.35), rgba(57,228,255,.12)); border-color: var(--eth2); } .chapters li small { display: block; font-family: "Space Grotesk", monospace; color: var(--eth2); font-size: 12px; } .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 10px 0 4px; } label { display: block; font-size: 13px; color: var(--dim); margin-bottom: 6px; } .cta { border: 0; border-radius: 14px; padding: 13px 30px; font-size: 16px; font-weight: 800; color: #fff; cursor: pointer; background: linear-gradient(135deg, var(--eth), #9B6BFF 60%, var(--mag)); box-shadow: 0 10px 30px rgba(98,126,234,.45); } .cta:disabled { opacity: .45; cursor: not-allowed; } .ghost { border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--txt); border-radius: 10px; padding: 8px 14px; cursor: pointer; text-decoration: none; font-size: 14px; display: inline-block; } .ghost:hover { border-color: var(--cyan); color: var(--cyan); } .ghost.small { font-size: 12px; padding: 4px 10px; } .meter { position: relative; height: 34px; margin-top: 16px; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.06); border: 1px solid var(--line); } .meter i { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--eth), var(--cyan)); box-shadow: 0 0 20px rgba(57,228,255,.5); } .meter span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 700; text-shadow: 0 1px 4px #000; } #xOut video { width: 100%; max-height: 60vh; margin-top: 12px; border-radius: 12px; background: #000; } .warn { color: #FF8FA3; } .covers { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; } .covers figure { margin: 0; } .covers .wide { flex: 2 1 460px; } .covers .tall { flex: 1 1 220px; max-width: 320px; } .covers img { width: 100%; display: block; border-radius: 14px; border: 1px solid var(--line); } .covers figcaption { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; color: var(--dim); font-size: 14px; } .covers figcaption b { color: var(--txt); margin-right: 4px; } .fields { margin-top: 12px; } .field { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; background: rgba(255,255,255,.025); } .field header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-weight: 700; font-size: 14px; } .field header small { color: var(--dim); font-weight: 400; margin-left: 8px; } .field pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: inherit; line-height: 1.75; cursor: copy; color: #dfe4ff; } .script h3 { margin: 18px 0 6px; font-size: 17px; color: var(--eth2); } .script p { margin: 4px 0; line-height: 1.85; } .script .ts { font-family: "Space Grotesk", monospace; color: var(--dim); font-size: 12px; margin-right: 8px; cursor: pointer; } .script .ts:hover { color: var(--cyan); } .sources { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--dim); font-size: 13px; line-height: 1.8; } footer { text-align: center; color: var(--dim); font-size: 12px; padding: 0 16px 34px; } .toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%); background: rgba(16,19,42,.95); border: 1px solid var(--line); color: var(--txt); padding: 10px 18px; border-radius: 14px; transition: transform .25s; z-index: 50; } .toast.show { transform: translate(-50%, 0); } .screen:fullscreen { max-height: none; border-radius: 0; display: grid; place-items: center; } .screen:fullscreen canvas { width: auto; height: auto; max-width: 100vw; max-height: 100vh; } @media (max-width: 700px) { nav { display: none; } .screen.portrait { height: 70vh; } .tc { font-size: 12px; } }