/* 岔路 —— 竖屏、影院感、冷灰 */

:root {
  --bg: #08090b;
  --panel: #101216;
  --ink: #e8ebef;
  --muted: #79808c;
  --accent: #e2564a;
  --line: #1e2228;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(700px 420px at 50% -10%, #171b21 0%, transparent 65%), var(--bg);
  color: var(--ink);
  font: 16px/1.7 -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  display: flex;
  justify-content: center;
  padding: 28px 16px 48px;
}

.app { width: 100%; max-width: 420px; }

.top { margin-bottom: 14px; }
h1 { margin: 0 0 4px; font-size: 20px; font-weight: 600; letter-spacing: 1px; }
.meta { color: var(--muted); font-size: 12.5px; }

.player { position: relative; }

.stage {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 62vh;
  background: #000;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage video { width: 100%; height: 100%; object-fit: contain; background: #000; }

.stage .ph {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  line-height: 2;
  padding: 24px;
  background: repeating-linear-gradient(45deg, #0d0f13, #0d0f13 10px, #101318 10px, #101318 20px);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stage .ph b { color: var(--ink); font-weight: 600; font-size: 15px; }
.stage .ph span { font-size: 12px; opacity: .8; }

button.play {
  position: absolute;
  inset: auto auto 24px 50%;
  transform: translateX(-50%);
  font: inherit;
  font-size: 15px;
  color: #fff;
  background: rgba(226, 86, 74, .92);
  border: none;
  border-radius: 999px;
  padding: 11px 26px;
  cursor: pointer;
}

.bar { height: 3px; background: var(--line); border-radius: 2px; margin-top: 12px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s linear; }

.ctrl {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
  font-family: ui-monospace, Consolas, monospace;
}
.ctrl .hint { font-family: inherit; opacity: .75; }

.overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,.96), rgba(0,0,0,.82) 70%, transparent);
  padding: 40px 18px 18px;
  border-radius: 0 0 12px 12px;
}

.q { font-size: 15px; font-weight: 600; margin-bottom: 14px; line-height: 1.6; }

.opts { display: flex; flex-direction: column; gap: 9px; }

.opts button {
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  padding: 12px 15px;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.opts button:hover { border-color: var(--accent); background: rgba(226,86,74,.16); }

.ending { margin-top: 18px; }
.ending .text { font-size: 15.5px; line-height: 1.9; color: #d7dbe1; white-space: pre-wrap; }

.ending button.primary {
  margin-top: 16px;
  font: inherit;
  font-size: 15px;
  width: 100%;
  color: #0a0d11;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  font-weight: 600;
}

.foot { margin-top: 18px; display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.foot b { color: var(--ink); font-weight: 600; }
.foot .site { margin-left: auto; font-family: ui-monospace, Consolas, monospace; color: #3a4048; }
