/* 베짱이픽 분석 페이지. 첫 화면(index.html)과 같은 색·글꼴, 같은 줄바꿈 규칙 */
:root {
  --bg: #050705; --card: #10170f; --card-2: #151e13;
  --line: rgba(155, 234, 76, .16); --line-2: rgba(155, 234, 76, .32);
  --lime: #9bea4c; --lime-hi: #c6ff80; --lime-ink: #0b1a02;
  --cream: #f4efdf; --text: #eef3ea; --muted: #9ba696; --yt: #ff2d3f; --gold: #ffcf5a;
  --gutter: 16px; --max: 760px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; padding-bottom: 84px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }
h1, h2, h3, p, small { text-wrap: balance; }
.s { display: block; }
.ph { display: inline-block !important; }
.kicker, .inline-cta, .dock a, .top-cta, .jump a, .pick b, .pl { white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.board-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 30% at 50% 0%, rgba(155, 234, 76, .14), transparent 70%), var(--bg); }

.top { position: sticky; top: 0; z-index: 20; background: rgba(5, 7, 5, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 50%; }
.top-cta { flex: none; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; color: var(--lime-ink); background: var(--lime); }

.art { padding-top: 16px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs b { font-weight: 600; color: #c9d4c3; }
.kicker { display: block; font-size: 13px; font-weight: 700; color: var(--lime); letter-spacing: .02em; margin-bottom: 8px; }
h1 { font-size: clamp(27px, 7.8vw, 40px); font-weight: 850; color: var(--cream); }
.lead { margin-top: 12px; color: #cfd8ca; }

.yt-card { margin-top: 18px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 45, 63, .35); background: #000; }
.yt-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; cursor: pointer; color: #fff; }
.yt-frame img { width: 100%; height: 100%; object-fit: cover; }
.yt-frame i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 68px; height: 46px; border-radius: 12px; background: var(--yt); box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.jump a { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: var(--card-2); border: 1px solid var(--line); color: #d2dccd; }

.game { margin-top: 18px; padding: 18px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); scroll-margin-top: 72px; }
.game-time { font-size: 13px; font-weight: 700; color: var(--lime); }
.game h2 { margin-top: 4px; font-size: 24px; font-weight: 850; }
.headline { margin-top: 10px; font-size: 16.5px; font-weight: 700; color: var(--cream); }
.points { margin-top: 10px; display: grid; gap: 6px; color: #c3cdbf; font-size: 15px; }
.picks { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(155, 234, 76, .07); border: 1px solid var(--line-2); }
.picks-title { font-size: 13px; font-weight: 700; color: var(--lime); margin-bottom: 6px; }
.pick { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; padding: 5px 0; border-top: 1px solid var(--line); }
.pick:first-of-type { border-top: 0; }
.pl { font-size: 13.5px; color: var(--muted); }
.pick b { font-size: 16px; font-weight: 750; color: var(--lime-hi); }
.pick.hold b { color: var(--muted); font-weight: 600; }
.pick b { margin-left: auto; }
.pick.score b { font-size: 14.5px; }

.sum { margin-top: 18px; padding: 18px 16px; border-radius: 18px; border: 1px solid rgba(255, 207, 90, .35); background: linear-gradient(135deg, rgba(255, 207, 90, .12), rgba(255, 207, 90, .03)); }
.sum h2 { font-size: 20px; font-weight: 800; color: var(--gold); margin-bottom: 8px; }
.sum p + p { margin-top: 6px; }

.final { margin-top: 28px; padding: 26px 16px; text-align: center; border-radius: 20px; border: 1px solid var(--line-2); background: radial-gradient(80% 120% at 50% 0%, rgba(155, 234, 76, .16), transparent 70%), var(--card); }
.final h2 { font-size: clamp(22px, 6vw, 28px); font-weight: 850; }
.final p { color: #c3cdbf; margin-top: 6px; }
.final .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.inline-cta { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px; font-weight: 650; background: var(--lime); color: var(--lime-ink); }
.yt-btn { background: var(--yt); color: #fff; }
.more { display: inline-block; margin-top: 20px; font-size: 14.5px; font-weight: 600; color: var(--lime-hi); }

.cards { display: grid; gap: 10px; margin-top: 20px; }
.card { display: block; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.card:hover { border-color: var(--lime); }
.card .d { display: block; font-size: 13px; font-weight: 700; color: var(--lime); }
.card b { display: block; margin-top: 4px; font-size: 17px; font-weight: 750; text-wrap: balance; }
.card small { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); }

footer { margin-top: 44px; padding: 24px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; }
footer .links a { color: var(--text); font-weight: 600; }
footer p + p { margin-top: 6px; }

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(5, 7, 5, .96) 60%, rgba(5, 7, 5, 0)); transform: translateY(110%); transition: transform .3s ease; }
.dock.show { transform: none; }
.dock a { display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 16px; font-weight: 650; font-size: 16.5px; background: linear-gradient(135deg, var(--lime-hi), var(--lime)); color: var(--lime-ink); }
@media (min-width: 860px) { .dock { display: none; } body { padding-bottom: 0; } .cards { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
