/* live.css — livestream (.live-), night pyramid (.ngt-), month end (.end-), account ban (.ban-) */

/* ---------- live: setup ---------- */
.live-setup { min-height: 100%; padding: 8px 14px 0; background: radial-gradient(120% 60% at 50% 0%, #2a0f1c 0%, var(--bg) 70%); }
.live-setup .h1 { margin: 4px 0 10px; }
.live-prods { display: flex; flex-direction: column; gap: 8px; }
.live-prod { appearance: none; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 72px; padding: 7px 10px; border-radius: 14px; border: 2px solid var(--line);
  background: var(--bg2); color: var(--text); font: inherit; text-align: left; cursor: pointer; position: relative; transition: transform .12s, border-color .15s, background .15s; }
.live-prod:active { transform: scale(.97); }
.live-prod img { width: 54px; height: 54px; object-fit: contain; flex: none; filter: drop-shadow(0 3px 4px rgba(0,0,0,.5)); }
.live-prod.sel { border-color: var(--flame); background: linear-gradient(135deg, rgba(255,176,32,.14), rgba(255,48,64,.1)); box-shadow: 0 0 16px rgba(255,90,31,.25); }
.live-prod[disabled] { opacity: .5; filter: grayscale(.7); pointer-events: none; }
.live-pinfo { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.live-pinfo b { font-size: 15px; line-height: 1.25; }
.live-pmeta { font-size: 12px; color: var(--flame2); font-weight: 700; }
.live-ppitch { font-size: 12px; color: var(--muted); line-height: 1.3; }
.live-lock { font-size: 12px; font-weight: 800; color: var(--flame2); }
.live-check { margin-left: auto; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--flame); color: #fff; font-size: 14px; font-weight: 900; display: none; align-items: center; justify-content: center; }
.live-prod.sel .live-check { display: flex; }
.live-preview { margin-top: 10px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.live-eye { font-size: 26px; }
.live-pv-main { display: flex; flex-direction: column; }
.live-pv-main small { font-size: 12px; color: var(--muted); }
.live-pv-main b { font-size: 24px; font-variant-numeric: tabular-nums; }
.live-pv-side { margin-left: auto; display: flex; flex-direction: column; gap: 2px; font-size: 13px; text-align: right; color: var(--muted); }
.live-boost { margin-top: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(255,90,31,.15); border: 1px solid rgba(255,90,31,.45); color: var(--flame2); font-size: 14px; font-weight: 700; }
.live-startbar { position: sticky; bottom: 0; display: flex; justify-content: center; padding: 14px 0 18px; margin-top: 6px; background: linear-gradient(rgba(16,16,16,0), var(--bg) 45%); }
.live-startbar .btn { width: 78%; min-height: 56px; font-size: 20px; }

/* ---------- live: play ---------- */
.live-cv { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.live-res { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.62); }
.live-rescard { width: 100%; max-width: 340px; padding: 16px 16px 14px; border-radius: 20px; background: linear-gradient(#1c1c1f, #121214); border: 1px solid #343438;
  box-shadow: 0 14px 40px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 10px; animation: livePop .38s cubic-bezier(.2,1.5,.4,1); }
@keyframes livePop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.live-restitle { font-size: 20px; font-weight: 900; text-align: center; }
.live-resrow { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; padding: 6px 10px; border-radius: 10px; background: var(--bg3); }
.live-resrow i { font-style: normal; font-size: 18px; }
.live-resrow.good b { color: var(--green); }
.live-resrow.bad b { color: var(--red); }
.live-resbig { text-align: center; padding: 6px 0 2px; }
.live-resbig small { display: block; font-size: 13px; color: var(--muted); }
.live-resbig b { font-size: 34px; font-weight: 900; color: #7dff9c; text-shadow: 0 2px 0 #0a3a1a; font-variant-numeric: tabular-nums; }
.live-rescard .btn { width: 100%; min-height: 52px; margin-top: 4px; }

/* ---------- night ---------- */
.ngt-scr, #scr-night { background: radial-gradient(90% 50% at 80% 0%, #2a2358 0%, transparent 60%), linear-gradient(#0a0a18, #140c24 70%, #0d0816); }
.ngt-wrap { padding: 8px 12px 6px; display: flex; flex-direction: column; gap: 10px; }
.ngt-head { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 900; }
.ngt-head span { font-size: 22px; }
.ngt-pyr { position: relative; display: flex; justify-content: center; }
.ngt-cv { display: block; }
.ngt-title { position: absolute; left: 8px; top: 4px; font-size: 12px; font-weight: 800; color: var(--flame2); letter-spacing: .02em; max-width: 90px; line-height: 1.2; }
.ngt-card { padding: 12px; border-radius: 16px; background: rgba(24,24,28,.92); border: 1px solid #34344a; display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .25s, transform .3s cubic-bezier(.2,1.5,.4,1); }
.ngt-card.show { opacity: 1; transform: none; }
.ngt-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.ngt-row i { font-style: normal; font-size: 18px; width: 24px; text-align: center; }
.ngt-row span { flex: 1; color: var(--muted); }
.ngt-row b { font-size: 16px; font-variant-numeric: tabular-nums; }
.ngt-row.big b { font-size: 24px; color: #7dff9c; text-shadow: 0 2px 0 #0a3a1a; }
.ngt-row .g { color: var(--green); }
.ngt-rank { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; border-top: 1px solid var(--line); }
.ngt-rname { font-size: 15px; font-weight: 800; color: var(--flame2); }
.ngt-rank small { font-size: 12px; color: var(--muted); text-align: right; }
.ngt-warn { padding: 8px 10px; border-radius: 10px; background: #4a1414; color: #ffb3b3; border: 1px solid var(--red); font-size: 14px; font-weight: 800; animation: pulse 1s infinite; }
.ngt-bar { position: sticky; bottom: 0; display: flex; justify-content: center; padding: 12px 0 16px; background: linear-gradient(rgba(13,8,22,0), #0d0816 45%); }
.ngt-bar .btn { width: 80%; min-height: 54px; font-size: 18px; }
.ngt-banner { position: absolute; left: 0; right: 0; top: 24%; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; text-align: center; padding: 0 16px;
  animation: ngtSlam .5s cubic-bezier(.2,1.6,.4,1) both, ngtOut .4s ease-in 2.6s forwards; }
.ngt-banner b { font-size: 38px; font-weight: 900; line-height: 1.1; color: #ffd34d; -webkit-text-stroke: 1px #5a3210; text-shadow: 0 3px 0 #5a3210, 0 0 22px rgba(255,211,77,.6); background: radial-gradient(ellipse at center, rgba(30,10,40,.95), rgba(30,10,40,.85)); padding: 10px 28px; border-radius: 18px; border: 2px solid #ffd34d; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.ngt-banner small { background: rgba(30,10,40,.85); padding: 4px 12px; border-radius: 999px; }
.ngt-banner small { font-size: 15px; font-weight: 800; color: #fff; text-shadow: 0 2px 4px #000; }
@keyframes ngtSlam { from { transform: scale(3.2) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ngtOut { to { opacity: 0; transform: translateY(-20px); } }

/* ---------- end ---------- */
.end-wrap { min-height: 100%; padding: 16px 14px 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; background: radial-gradient(100% 50% at 50% 0%, #3a1a10 0%, var(--bg) 70%); }
.end-banner { font-size: 30px; font-weight: 900; text-align: center; color: #ffd34d; -webkit-text-stroke: 2px #5a3210; text-shadow: 0 4px 0 #5a3210, 0 0 24px rgba(255,176,32,.5); animation: ngtSlam .5s cubic-bezier(.2,1.6,.4,1) both; margin-top: 8px; }
.end-banner.bad { color: #ff6b75; -webkit-text-stroke-color: #4a0a10; text-shadow: 0 4px 0 #4a0a10; }
.end-card { width: 100%; max-width: 360px; padding: 14px; border-radius: 20px; background: linear-gradient(#1c1c1f, #121214); border: 1px solid #343438; box-shadow: 0 14px 40px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 12px; animation: livePop .4s .1s cubic-bezier(.2,1.5,.4,1) both; }
.end-big { text-align: center; }
.end-big small { display: block; font-size: 14px; color: var(--muted); }
.end-big b { display: block; font-size: 38px; font-weight: 900; line-height: 1.15; color: #7dff9c; text-shadow: 0 3px 0 #0a3a1a; font-variant-numeric: tabular-nums; word-break: break-all; }
.end-new { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: var(--flame); color: #fff; font-size: 13px; font-weight: 800; animation: pulse 1s infinite; }
.end-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.end-grid div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; background: var(--bg3); }
.end-grid i { font-style: normal; font-size: 20px; }
.end-grid span { font-size: 12px; color: var(--muted); text-align: center; }
.end-grid b { font-size: 18px; font-variant-numeric: tabular-nums; }
.end-best { padding: 10px 12px; border-radius: 12px; background: var(--bg3); border-left: 3px solid var(--flame); }
.end-best small { display: block; font-size: 12px; color: var(--flame2); font-weight: 700; margin-bottom: 4px; }
.end-best q { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.4; quotes: none; word-break: break-word; }
.end-gold { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 18px; font-weight: 900; color: #ffd34d; }
.end-gold img { width: 28px; height: 28px; object-fit: contain; }
.end-card .btn { width: 100%; min-height: 52px; }

/* ---------- ban ---------- */
.ban-wrap { min-height: 100%; padding: 14px 14px 30px; display: flex; flex-direction: column; align-items: center; gap: 10px; background: linear-gradient(#141416, #0c0c0d); }
.ban-shield { width: 74px; height: 74px; margin-top: 4px; animation: livePop .45s cubic-bezier(.2,1.6,.4,1) both; }
.ban-title { margin: 0; font-size: 22px; font-weight: 900; text-align: center; }
.ban-reason { margin: 0; font-size: 14px; line-height: 1.4; color: #b8b8b8; text-align: center; max-width: 320px; }
.ban-post { width: 100%; max-width: 360px; padding: 10px 12px; border-radius: 12px; background: var(--bg2); border: 1px solid var(--line); }
.ban-post small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.ban-post q { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.4; quotes: none; word-break: break-word; }
.ban-hold { display: flex; gap: 10px; width: 100%; max-width: 360px; }
.ban-hold span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 12px; background: var(--bg3); font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.ban-hold img { width: 30px; height: 30px; object-fit: contain; }
.ban-opts { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 8px; }
.ban-opt { display: flex; flex-direction: column; gap: 4px; }
.ban-opt .row { align-items: stretch; }
.ban-btn { flex: 1; min-height: 52px; font-size: 16px; text-align: center; }
.ban-btn img { width: 24px; height: 24px; object-fit: contain; }
.ban-get { flex: none; min-width: 64px; }
.ban-why { font-size: 12px; color: #c9a0a0; padding: 0 6px; line-height: 1.3; }
.ban-ok { color: var(--muted); }
.ban-give { width: 100%; max-width: 360px; margin-top: 4px; }
