/* 기타 놀이터(이상형 월드컵 · 퀴즈쇼) 공통 — 목업 (2026-11-07) */
:root {
    --green-deep: #2a6b4a; --green-dark: #3a8a5c; --green-mid: #52a872; --green-light: #72c492; --green-pale: #b5e6c8; --green-faint: #e2f5ea;
    --cream: #f5fbf7; --ink: #151515; --sub: #7a7a7a; --line: #e6ece8; --gold: #b8913f; --red: #e25555;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body { font-family: 'Noto Sans KR', sans-serif; color: var(--ink); background: var(--cream); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* 목업 띠 */
.mock-bar { background: #fff6d6; color: #7a5a00; font-size: 12.5px; text-align: center; padding: 6px 12px; }
.mock-bar b { font-weight: 700; }

/* 머리 */
.ph { background: #fff; box-shadow: 0 1px 0 #eef2ef; position: sticky; top: 0; z-index: 20; }
.ph .wrap { height: 60px; display: flex; align-items: center; gap: 14px; }
.ph .logo img { height: 42px; display: block; }
.ph .ttl { font-weight: 900; font-size: 16px; color: var(--green-deep); display: flex; align-items: center; gap: 7px; }
.ph .sp { flex: 1; }
.ph .lnk { font-size: 13px; font-weight: 600; color: #555; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.ph .lnk:hover { border-color: var(--green-mid); color: var(--green-deep); }
@media (max-width: 560px) { .ph .wrap { gap: 10px; } .ph .lnk span { display: none; } .ph .logo img { height: 36px; } .ph .ttl { font-size: 14.5px; white-space: nowrap; } .ph .ttl i { display: none; } }

/* 광고 자리 (목업: 회색 상자) */
.ad { margin: 22px auto; text-align: center; }
.ad .tag { display: block; font-size: 11px; color: #999; letter-spacing: 0.1em; margin-bottom: 4px; }
.ad .box { margin: 0 auto; max-width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    background: repeating-linear-gradient(-45deg, #eceeed 0 10px, #e4e7e5 10px 20px); border: 1px dashed #c4cbc7; border-radius: 6px; color: #7d8681; }
.ad .box b { font-size: 14px; }
.ad .box small { font-size: 11.5px; }
.ad.r300 .box { width: 300px; height: 250px; }
.ad.r320 .box { width: 320px; height: 100px; }
.ad.wide .box { width: 728px; height: 90px; }
@media (max-width: 760px) { .ad.wide .box { width: 320px; height: 100px; } }
/* 진짜 AdSense 칸: 광고가 안 채워지면(unfilled) '광고' 글자까지 통째로 숨긴다 */
.ad.live { max-width: 100%; overflow: hidden; }
.ad.live:has(ins[data-ad-status="unfilled"]) { display: none; }

/* 전면 광고(결과 보기 전) 목업 */
.inter { position: fixed; inset: 0; z-index: 100; background: rgba(15, 25, 20, 0.86); display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .2s; }
.inter .in { background: #fff; border-radius: 14px; width: min(380px, 100%); padding: 14px 14px 16px; text-align: center; position: relative; }
.inter .top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #888; margin-bottom: 10px; }
.inter .x { font-size: 13px; font-weight: 700; color: #fff; background: #444; border-radius: 999px; padding: 5px 12px; }
.inter .x[disabled] { background: #bbb; cursor: default; }
.inter .ad { margin: 0; }
.inter .ad .box { width: 100%; height: 300px; }
.inter p { font-size: 12px; color: #888; margin-top: 10px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* 공통 단추 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px; background: var(--green-deep); color: #fff; box-shadow: 0 6px 16px rgba(42, 107, 74, 0.18); }
.btn:hover { background: var(--green-dark); }
.btn.ghost { background: #fff; color: var(--green-deep); border: 1.5px solid var(--green-mid); box-shadow: none; }
.btn.ghost:hover { background: var(--green-faint); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* 카드 */
.card { background: #fff; border-radius: 16px; box-shadow: 0 2px 0 var(--line), 0 10px 30px rgba(42, 107, 74, 0.06); }

/* 악보 추천 줄 */
.rec { margin-top: 26px; text-align: left; }
.rec h3 { font-size: 15px; font-weight: 900; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.rec h3 small { font-weight: 500; color: var(--sub); font-size: 12px; }
.rec .list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.rec a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.rec a:hover { border-color: var(--green-mid); }
.rec .cv { width: 46px; height: 46px; border-radius: 6px; background: var(--green-faint) center/cover; flex: none; display: grid; place-items: center; color: var(--green-mid); }
.rec .mt { min-width: 0; flex: 1; }
.rec .mt b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec .mt small { display: block; font-size: 12px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec .pr { font-size: 12.5px; font-weight: 700; color: var(--green-deep); white-space: nowrap; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: #222; color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 13px; z-index: 120; animation: fade .2s; }

/* 바닥 */
footer { margin-top: 48px; padding: 26px 16px 34px; background: #fff; border-top: 1px solid var(--line); font-size: 12px; color: #888; text-align: center; line-height: 1.9; }
footer span { margin: 0 6px; display: inline-block; }
footer .links a { margin: 0 7px; color: #555; }

/* ===== 썸네일 그림 (그림 파일 없이 HTML로 그림) — PLAY.thumb('tab' | 'artist' | 'trivia')
   상자 높이에 맞춰 크기가 같이 줄고 늘도록 cqh(상자 높이의 1%) 단위를 쓴다. 부모는 position:relative + 높이 */
.thumb { position: absolute; inset: 0; overflow: hidden; container-type: size; color: #fff; text-align: left; pointer-events: none; }
.thumb * { box-sizing: border-box; }
.thumb .bub { position: absolute; left: 6%; top: 10%; z-index: 3; background: #fff; color: #1d1d3a; font-size: 8cqh; font-weight: 900; padding: 3.6cqh 6.6cqh; border-radius: 7cqh; box-shadow: 0 4cqh 9cqh rgba(0, 0, 0, 0.3); transform: rotate(-4deg); letter-spacing: -0.02em; white-space: nowrap; }
.thumb .bub::after { content: ''; position: absolute; left: 11cqh; bottom: -4cqh; border: 4.2cqh solid transparent; border-top-color: #fff; border-bottom: 0; }
.thumb .bigq { position: absolute; z-index: 3; width: 33cqh; height: 33cqh; border-radius: 50%; background: #ffd23f; color: #241c55; font: 900 21cqh/33cqh 'Arial Black', sans-serif; text-align: center; box-shadow: 0 0 0 2.6cqh rgba(255, 210, 63, 0.28), 0 5cqh 11cqh rgba(0, 0, 0, 0.35); animation: thBob 2.4s ease-in-out infinite; }
@keyframes thBob { 0%, 100% { transform: rotate(12deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-2.6cqh); } }
@keyframes thSpin { to { transform: rotate(360deg); } }

/* 1) 악보 보고 노래 맞히기: 무대 조명 + 악보 한 줄 + ? + 타이머 + ABCD */
.th-tab { background: radial-gradient(120% 90% at 50% 0%, #3b2f86 0%, #241c55 55%, #160f36 100%); }
.th-tab .rays { position: absolute; inset: -40%; background: repeating-conic-gradient(from 0deg at 50% 62%, rgba(255, 214, 77, 0.13) 0deg 7deg, transparent 7deg 18deg); animation: thSpin 40s linear infinite; }
.th-tab .sheet { position: absolute; left: 50%; top: 53%; width: min(84cqw, 176cqh); transform: translate(-50%, -50%) rotate(-3deg); background: #fffdf6; border-radius: 5cqh; padding: 4cqh 4cqh 2cqh; box-shadow: 0 7cqh 16cqh rgba(0, 0, 0, 0.45), 0 0 0 1.6cqh rgba(255, 255, 255, 0.12); transition: transform .3s; }
.th-tab .sheet svg { display: block; width: 100%; height: auto; }
.th-tab .ln line { stroke: #b9b9b9; stroke-width: 1; }
.th-tab .ln .bar { stroke: #777; stroke-width: 1.4; }
.th-tab .tb { font: 900 13px 'Arial Black', sans-serif; fill: #333; }
.th-tab .nt rect { fill: #fffdf6; }
.th-tab .nt text { font: 700 11.5px 'Courier New', monospace; fill: #1a1a1a; text-anchor: middle; }
.th-tab .stem, .th-tab .beam { stroke: #222; stroke-width: 1.4; }
.th-tab .beam { stroke-width: 3; }
.th-tab .bigq { right: 7%; top: 8%; }
.th-tab .timer { position: absolute; z-index: 3; right: 7%; bottom: 9%; white-space: nowrap; font-size: 6.3cqh; font-weight: 800; color: #ffd23f; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(255, 210, 63, 0.5); border-radius: 999px; padding: 1.6cqh 4.7cqh; }
.th-tab .abcd { position: absolute; left: 6%; bottom: 8%; display: flex; gap: 2.6cqh; }
.th-tab .abcd span { width: 13cqh; height: 13cqh; border-radius: 3.6cqh; display: grid; place-items: center; color: #fff; font: 900 6.6cqh 'Arial Black', sans-serif; box-shadow: 0 1.6cqh 0 rgba(0, 0, 0, 0.3); }
.th-tab .abcd span:nth-child(1) { background: #e8483f; } .th-tab .abcd span:nth-child(2) { background: #3c8df0; } .th-tab .abcd span:nth-child(3) { background: #f2b416; } .th-tab .abcd span:nth-child(4) { background: #3fae5a; }

/* 2) 이 노래 누구 노래?: 파란 무대 + 핀 조명 아래 '?' 가수 + 재생 중인 곡 카드 */
.th-artist { background: radial-gradient(110% 100% at 75% 0%, #4b95ff 0%, #1d58c4 45%, #0c2a6b 100%); }
.th-artist .spot { position: absolute; right: 4%; top: 0; width: 42%; height: 100%; background: linear-gradient(rgba(255, 252, 214, 0.55), rgba(255, 252, 214, 0.04) 85%); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); }
.th-artist .floor { position: absolute; right: 4%; bottom: -12cqh; width: 42%; height: 28cqh; border-radius: 50%; background: radial-gradient(rgba(255, 250, 200, 0.45), transparent 70%); }
.th-artist .singer { position: absolute; right: 9%; bottom: -3cqh; font-size: 66cqh; color: #071a45; filter: drop-shadow(0 0 3cqh rgba(255, 255, 220, 0.35)); }
.th-artist .singer-q { position: absolute; z-index: 1; right: calc(9% + 19cqh); bottom: 37cqh; font: 900 17cqh 'Arial Black', sans-serif; color: #ffd23f; text-shadow: 0 1.6cqh 0 rgba(0, 0, 0, 0.35); animation: thBob 2.4s ease-in-out infinite; }
.th-artist .mic { position: absolute; right: calc(9% + 46cqh); bottom: 6cqh; font-size: 22cqh; color: #d9e6ff; transform: rotate(-18deg); }
.th-artist .player { position: absolute; z-index: 2; left: 6%; top: 50%; width: min(62cqw, 132cqh); transform: translateY(-38%) rotate(-3deg); background: #fff; color: #182544; border-radius: 6cqh; padding: 4.5cqh 5cqh 4cqh; box-shadow: 0 7cqh 16cqh rgba(0, 0, 0, 0.35); }
.th-artist .player .row { display: flex; align-items: center; gap: 4cqh; }
.th-artist .cover { width: 24cqh; height: 24cqh; flex: none; border-radius: 4cqh; background: linear-gradient(135deg, #ff7a8a, #ffb347); display: grid; place-items: center; color: #fff; font-size: 11cqh; }
.th-artist .pm { min-width: 0; white-space: nowrap; overflow: hidden; }
.th-artist .pm small { display: block; font-size: 4.2cqh; font-weight: 800; letter-spacing: 0.12em; color: #3c8df0; }
.th-artist .pm b { display: block; font-size: 8.4cqh; overflow: hidden; text-overflow: ellipsis; font-weight: 900; white-space: nowrap; letter-spacing: -0.02em; }
.th-artist .pm i.who { display: inline-block; white-space: nowrap; font-style: normal; font-size: 5.6cqh; font-weight: 800; color: #fff; background: #182544; border-radius: 2cqh; padding: 0.6cqh 3cqh; margin-top: 1cqh; }
.th-artist .prog { margin-top: 4cqh; height: 2.2cqh; border-radius: 99px; background: #e3e9f5; position: relative; }
.th-artist .prog i { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; border-radius: 99px; background: #3c8df0; }
.th-artist .prog i::after { content: ''; position: absolute; right: -2cqh; top: -1.4cqh; width: 5cqh; height: 5cqh; border-radius: 50%; background: #3c8df0; }
.th-artist .eq { position: absolute; left: 6%; bottom: 8%; display: flex; align-items: flex-end; gap: 1.6cqh; height: 13cqh; }
.th-artist .eq span { width: 2.8cqh; background: #ffd23f; border-radius: 1cqh; animation: thEq 0.9s ease-in-out infinite; }
.th-artist .eq span:nth-child(2) { animation-delay: -0.3s; } .th-artist .eq span:nth-child(3) { animation-delay: -0.6s; } .th-artist .eq span:nth-child(4) { animation-delay: -0.15s; } .th-artist .eq span:nth-child(5) { animation-delay: -0.45s; }
@keyframes thEq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* 3) 기타 상식: 노란 바탕 + 코드 그림 카드 + 문제 카드 + 전구 */
.th-trivia { background: radial-gradient(rgba(255, 255, 255, 0.28) 1.4px, transparent 1.6px) 0 0 / 15px 15px, linear-gradient(150deg, #ffd84d 0%, #ffb52e 60%, #f39317 100%); color: #3a2600; }
.th-trivia .chord { position: absolute; left: 7%; top: 50%; width: 46cqh; transform: translateY(-50%) rotate(-6deg); background: #fff; border-radius: 5cqh; padding: 3.4cqh 4cqh 3cqh; box-shadow: 0 6cqh 14cqh rgba(120, 60, 0, 0.3); text-align: center; }
.th-trivia .chord b { display: block; font-size: 6.4cqh; font-weight: 900; color: #3a2600; margin-bottom: 1.4cqh; white-space: nowrap; }
.th-trivia .chord svg { display: block; width: 100%; height: auto; }
.th-trivia .chord .str { stroke: #555; stroke-width: 1.3; }
.th-trivia .chord .fr { stroke: #888; stroke-width: 1.3; }
.th-trivia .chord .nut { stroke: #222; stroke-width: 5; }
.th-trivia .chord .dot { fill: #e8483f; }
.th-trivia .chord .op { font: 700 11px sans-serif; fill: #444; text-anchor: middle; }
.th-trivia .card2 { position: absolute; left: calc(7% + 50cqh); right: 6%; top: 50%; transform: translateY(-42%) rotate(3deg); background: #fffdf3; border-radius: 5cqh; padding: 4cqh 5cqh 4.4cqh; box-shadow: 0 6cqh 14cqh rgba(120, 60, 0, 0.3); }
.th-trivia .card2 .qn { display: inline-block; font: 900 5.4cqh 'Arial Black', sans-serif; color: #fff; background: #3a2600; border-radius: 2cqh; padding: 0.8cqh 3cqh; }
.th-trivia .card2 p { font-size: 7cqh; font-weight: 900; line-height: 1.3; margin: 2.4cqh 0 3cqh; color: #3a2600; letter-spacing: -0.02em; }
.th-trivia .card2 .ox { display: flex; gap: 2.4cqh; }
.th-trivia .card2 .ox span { flex: 1; text-align: center; font: 900 6cqh 'Arial Black', sans-serif; padding: 1.8cqh 0; border-radius: 3cqh; background: #ffe9a3; color: #6b4a00; }
.th-trivia .card2 .ox span.ok { background: #3fae5a; color: #fff; }
.th-trivia .bulb { position: absolute; right: 5%; top: 6%; width: 26cqh; height: 26cqh; border-radius: 50%; background: #3a2600; color: #ffe066; display: grid; place-items: center; font-size: 13cqh; box-shadow: 0 0 0 3cqh rgba(255, 255, 255, 0.35), 0 0 9cqh rgba(255, 240, 150, 0.9); animation: thBob 2.6s ease-in-out infinite; }
.th-trivia .cnt { position: absolute; right: 6%; bottom: 7%; font-size: 6cqh; font-weight: 900; color: #3a2600; background: rgba(255, 255, 255, 0.6); border-radius: 99px; padding: 1.4cqh 4.4cqh; }

@media (prefers-reduced-motion: reduce) { .thumb *, .thumb .bigq { animation: none !important; } }

/* 피크 (놀이터 포인트, 2026-11-10) — 기타 피크 모양 아이콘 + 머리줄 표시 + 결과 화면 '받음' 줄 */
.pki { width: 1em; height: 1.1em; flex: none; vertical-align: -0.15em; }
.pki path { fill: #f29a1f; stroke: #c9700a; stroke-width: 1.2; }
.pki path.sh { fill: none; stroke: rgba(255, 255, 255, 0.75); stroke-width: 1.6; stroke-linecap: round; }
.ph .pkb { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; border: 1.5px solid #f6d29a; background: #fff8ec; font-size: 13px; font-weight: 700; color: #a85a00; cursor: pointer; }
.ph .pkb b { font-weight: 900; font-size: 14px; }
.ph .pkb .pki { font-size: 16px; }
.ph .pkb.bump { animation: pkBump .7s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pkBump { 0% { transform: scale(1); } 35% { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(242, 154, 31, 0.25); } 100% { transform: scale(1); } }
@media (max-width: 560px) { .ph .pkb { padding: 5px 9px; } .ph .pkb span { display: none; } }
.pk-got { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 7px 14px; border-radius: 999px; background: #fff3df; color: #8a4b00; font-size: 14px; }
.pk-got .pki { font-size: 18px; }
.pk-got b { font-weight: 900; color: #c96a00; }
.pk-got span { color: #7a5a35; }
.pk-got.full { background: #f3f4f2; color: #666; }
@media (prefers-reduced-motion: reduce) { .ph .pkb.bump { animation: none; } }

/* ===== 사이트 위 메뉴: 메인(index.html)·약관 페이지와 같은 모양 (2026-11-10 사용자 요청). play.js 가 넣는다(앱 안에서는 안 넣음) =====
   놀이터에서는 메뉴는 따라 내려오지 않고(아래 놀이터 줄 .ph 만 위에 붙음) — 퀴즈 화면이 좁아지지 않게 */
header.site-hd { position: relative; z-index: 30; background: #fff; box-shadow: 0 1px 0 #eef2ef; font-size: 14px; line-height: 1.55; }
header.site-hd a { color: inherit; text-decoration: none; }
header.site-hd .hd { max-width: 1440px; margin: 0 auto; padding: 0 32px; height: 84px; display: flex; align-items: center; gap: 24px; }
header.site-hd .logo img { height: 60px; display: block; }
header.site-hd .nav { display: flex; gap: 38px; margin: 0 auto; font-size: 13.5px; font-weight: 600; letter-spacing: 0.15em; color: #333; white-space: nowrap; }
header.site-hd .nav a.on { color: var(--green-deep); }
header.site-hd .hd-right { display: flex; align-items: center; gap: 10px; }
header.site-hd .pill-btn { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--green-mid); color: var(--green-deep); background: #fff; border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 600; white-space: nowrap; }
header.site-hd .sns-mini { display: flex; gap: 13px; margin-left: 8px; color: #444; font-size: 14px; align-items: center; }
header.site-hd .sns-mini b { font-size: 10px; background: #222; color: #7fd18e; border-radius: 3px; padding: 0 3px; }
header.site-hd .sns-mini a:hover { color: var(--green-deep); }
header.site-hd .burger { display: none; font-size: 22px; color: var(--green-deep); background: none; border: 0; cursor: pointer; padding: 6px; }
header.site-hd .hd-mobile { display: none; align-items: center; gap: 6px; margin-left: auto; }
header.site-hd .mnav { display: none; border-top: 1px solid #eef2ef; background: #fff; padding: 8px 16px 18px; }
header.site-hd .mnav.open { display: block; }
header.site-hd .mnav a { display: block; padding: 12px 4px; font-size: 15px; font-weight: 700; color: #333; border-bottom: 1px solid #f1f4f2; }
header.site-hd .mnav a.on { color: var(--green-deep); }
header.site-hd .mnav a i { width: 22px; color: var(--green-mid); }
header.site-hd .mnav .mnav-sns { display: flex; gap: 18px; padding: 14px 4px 0; font-size: 18px; color: #444; }
header.site-hd .mnav .mnav-sns a { border: 0; padding: 0; font-size: 18px; }
header.site-hd .nav-new { display: inline-block; margin-left: 4px; padding: 1px 5px 0; border-radius: 4px; background: #ffcf3f; color: #5a3d00; font-size: 9px; font-weight: 900; letter-spacing: 0.04em; line-height: 1.5; vertical-align: 2px; }
/* 2026-11-19: 메뉴 7칸이 1101~1199px 에서 넘쳐서(모든 페이지) 촘촘한 메뉴를 1100 → 1200px 부터 */
@media (max-width: 1200px) { header.site-hd .sns-mini { display: none; } header.site-hd .nav { gap: 16px; letter-spacing: 0.06em; } }
    @media (max-width: 1000px) { header.site-hd .nav { gap: 12px; font-size: 12.5px; letter-spacing: 0.03em; } }   /* 2026-11-18 메뉴 7칸 */
@media (max-width: 900px) {
    header.site-hd .hd { height: 64px; padding: 0 16px; }
    header.site-hd .logo img { height: 44px; }
    header.site-hd .nav, header.site-hd .hd-right { display: none; }
    header.site-hd .hd-mobile, header.site-hd .burger { display: flex; }
}
/* 위 메뉴가 있으면 놀이터 줄의 로고는 겹치니까 숨긴다 */
body.has-site .ph .logo { display: none; }

/* 2026-11-14 사용자: 퀴즈쇼·월드컵도 놀이터 줄은 없애고 제목은 사이트 메뉴 로고 옆(play.js titleUp, 기타 키우기와 같은 모양).
   위 사이트 메뉴가 내려도 위에 붙는다(예전엔 놀이터 줄이 붙었음) */
body.ttl-up header.ph { display: none; }
body.ttl-up header.site-hd { position: sticky; top: 0; }
body.ttl-up header.site-hd .ttl { display: flex; align-items: center; gap: 7px; margin-left: -6px; font-weight: 900; font-size: 17px; color: var(--green-deep); white-space: nowrap; }
body.ttl-up header.site-hd .ttl i { font-size: 15px; }
header.site-hd .nav a { white-space: nowrap; }
/* 메뉴 간격·글자 간격은 다른 페이지와 똑같이 둔다(2026-11-19 사용자: 메뉴 정렬이 흐트러졌다). 제목이 로고 옆에 들어간 만큼은 SNS 작은 아이콘을 숨겨서 자리를 만든다 */
@media (min-width: 1201px) and (max-width: 1366px) { body.ttl-up header.site-hd .sns-mini { display: none; } }
@media (max-width: 1100px) { body.ttl-up header.site-hd .ttl .t1 { display: none; } }
@media (min-width: 901px) and (max-width: 1000px) { body.ttl-up header.site-hd .hd { gap: 16px; } body.ttl-up header.site-hd .ttl i { display: none; } }
@media (min-width: 901px) and (max-width: 940px) { body.ttl-up header.site-hd .hd { gap: 12px; } }   /* 901px 근처에서 4px 넘쳐서 */
@media (max-width: 900px) { body.ttl-up header.site-hd .hd { gap: 14px; } body.ttl-up header.site-hd .ttl { font-size: 16px; margin-left: -4px; } }
@media (max-width: 420px) { body.ttl-up:not([data-ttl-up="gk"]) header.site-hd .hd { gap: 10px; padding: 0 12px; } body.ttl-up:not([data-ttl-up="gk"]) header.site-hd .ttl { font-size: 15px; } body.ttl-up:not([data-ttl-up="gk"]) header.site-hd .ttl i { display: none; } }   /* 기타 키우기(gk)는 휴대폰 크기를 자기 CSS 대로 */
@media (max-width: 374px) { body.ttl-up header.site-hd .ttl .t1 { display: none; } }   /* 좁은 폰: '기타 이상형 월드컵' → '이상형 월드컵' (로그인 단추와 한 줄에 들어가게) */
@media (max-width: 339px) { body.ttl-up header.site-hd .ttl .t2 { display: none; } }   /* 아주 좁은 폰(320px): '월드컵' */
body.ttl-up .hero { padding-top: 22px; }
/* 놀이터·다른 게임 단추(play.js sideLinks) — 게임 줄에서는 동그란 아이콘, 목록 화면에서는 글자까지. 앱(놀이터 줄이 보이는 곳)에서는 숨김 */
.slk { display: inline-flex; align-items: center; gap: 6px; }
body:not(.ttl-up) .slk { display: none; }
.slk a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: #555; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.slk a:hover { border-color: var(--green-mid); color: var(--green-deep); }
.slk.ic a { width: 32px; padding: 0; color: #667; }
.hero .slk { display: flex; justify-content: center; margin-top: 12px; }
body:not(.ttl-up) .hero .slk { display: none; }

/* 결과 화면은 칸을 나란히 놓느라 조금 넓게 (2026-11-11) */
.wrap.wide { max-width: 1320px; }

/* 도움말 창 (2026-11-18) — play.js helpInit, 글은 페이지의 #plHelp. 여는 단추는 게임 안([data-help-open]) — 2026-11-19 위 메뉴에서 뺌 */
.hlp-wrap { position: fixed; inset: 0; z-index: 4000; background: rgba(10, 22, 16, 0.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.hlp-wrap[hidden] { display: none; }
.hlp-card { position: relative; width: 100%; max-width: 640px; max-height: min(86vh, 780px); overflow: auto; background: #fff; border-radius: 16px; padding: 22px 22px 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); color: #2b2f2d; font-size: 15px; line-height: 1.75; text-align: left; }
.hlp-x { position: sticky; top: 0; float: right; margin: -8px -8px 0 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f1f5f2; color: #444; font-size: 16px; cursor: pointer; z-index: 1; }
.hlp-x:hover { background: #e3ebe6; }
.hlp-box h2 { font-size: 19px; font-weight: 900; color: var(--green-deep, #2a6b4a); margin: 0 0 8px; line-height: 1.4; }
.hlp-box h3 { font-size: 15.5px; font-weight: 800; color: #1f2a24; margin: 18px 0 6px; }
.hlp-box p { margin: 0 0 8px; word-break: keep-all; }
.hlp-box ul { margin: 0 0 6px 1.2em; padding: 0; }
.hlp-box li { margin: 3px 0; word-break: keep-all; }
.hlp-box .hlp-tip { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #fff8e3; border-left: 4px solid #f2c14e; font-size: 14px; }
html.hlp-open, html.hlp-open body { overflow: hidden; }
@media (max-width: 560px) { .hlp-card { padding: 18px 16px 16px; font-size: 14.5px; } .hlp-box h2 { font-size: 17.5px; } }

