/* shared/info.css — 판 이야기(/<slug>/info/)·헉! 소개(/about/) 같이 쓰는 모양. 허브(hub.css)·게임(ui.css)과 따로, 글 읽는 페이지 전용
   톤: 허브의 어두운 휴대용 TV (검정 몸체 · 크림 글자 · 노란 단추 · 초록 채널 숫자 · 회녹색 LCD 상자). 모바일 먼저, 이미지는 판 썸네일만
   글꼴: 헉! 로고·채널 숫자만 Neo둥근모(16·32px 에서만 또렷함, shared/fonts/neodgm-OFL.txt), 본문은 시스템 글꼴 */
@font-face { font-family: 'NeoDGM'; src: url(fonts/neodgm.woff2) format('woff2'); font-display: swap; }
:root {
  --bg: #0c0c0e; --body: #141416; --line: #232327; --cream: #f1e8d4; --text: #e6dcc6; --dim: #a59c8a; --yellow: #ffd54a; --osd: #7dff8a;
  --lcd-hi: #aab394; --lcd-lo: #8c9678; --lcd-ink: #1d2419;
  --px: 'NeoDGM', ui-monospace, monospace;
  --sans: "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 760px; margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 8px) 16px 8px; background: rgba(12,12,14,0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-bottom: 1px solid #18181b; }
.logo { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--px); font-size: 32px; line-height: 32px; color: var(--yellow); text-decoration: none; text-shadow: 2px 2px 0 #000; }
.top-go { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 800; color: #16120b; background: var(--yellow); text-decoration: none; box-shadow: 0 2px 0 #8a6a0c; }

.wrap { max-width: 760px; margin: 0 auto; padding: 18px 16px 8px; }
.kick { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 6px 0 8px; font-size: 14px; color: var(--dim); }
.ch { font-family: var(--px); font-size: 16px; line-height: 16px; color: var(--osd); text-shadow: 0 0 8px rgba(80,255,120,0.4); }
h1 { margin: 0 0 10px; font-size: 27px; line-height: 1.35; font-weight: 900; letter-spacing: -0.5px; color: #fff; }
.hook { margin: 0 0 16px; font-size: 17px; line-height: 1.6; font-weight: 700; color: var(--cream); }
.idea { margin: -8px 0 16px; font-size: 14px; color: var(--dim); }

/* 썸네일 = 작은 TV 화면 (주사선 무늬는 그림 위 얇은 줄, 합성만) */
.tv { position: relative; margin: 0 0 16px; padding: 10px; border-radius: 18px; background: linear-gradient(180deg, #1d1d21, #111113); box-shadow: inset 0 0 0 1px #2a2a2f, 0 10px 28px rgba(0,0,0,0.5); }
.tv img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 10px; background: #050507; image-rendering: pixelated; }
.tv::after { content: ''; position: absolute; inset: 10px; border-radius: 10px; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0,0,0,0.16) 0 1px, transparent 1px 3px); box-shadow: inset 0 0 40px rgba(0,0,0,0.55); }
.tv .ch { position: absolute; top: 18px; left: 20px; z-index: 1; font-size: 32px; line-height: 32px; text-shadow: 2px 2px 0 #000, 0 0 8px rgba(80,255,120,0.45); }

.cta { margin: 0 0 22px; }
.go { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 420px; min-height: 56px; margin: 0 auto; padding: 0 18px; border-radius: 12px;
  font-size: 18px; font-weight: 900; color: #16120b; background: var(--yellow); text-decoration: none; box-shadow: 0 3px 0 #8a6a0c, 0 0 18px rgba(255,213,74,0.18); }
.go i { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #16120b; }
.go:active { transform: translateY(2px); box-shadow: 0 1px 0 #8a6a0c; }

section { margin: 0 0 26px; }
h2 { margin: 0 0 10px; padding: 0 0 0 12px; font-size: 20px; line-height: 1.4; font-weight: 900; color: #fff; border-left: 4px solid var(--yellow); }
h3 { margin: 14px 0 6px; font-size: 15px; font-weight: 800; color: var(--cream); }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding: 0; list-style: none; }
li { position: relative; margin: 0 0 8px; padding: 0 0 0 18px; }
li::before { content: ''; position: absolute; left: 2px; top: 0.72em; width: 7px; height: 7px; background: var(--yellow); }
b, strong { color: #fff; font-weight: 800; }
.keys li::before { background: var(--osd); }

/* 실제로 이런 일이 생기면 = 허브 예보창 같은 회녹색 LCD 상자 */
.real { padding: 16px 16px 6px; border-radius: 12px; color: var(--lcd-ink); background: linear-gradient(172deg, var(--lcd-hi), var(--lcd-lo)); box-shadow: 0 0 0 3px #0a0a0b, 0 0 0 4px rgba(255,255,255,0.06); }
.real h2 { color: var(--lcd-ink); border-left-color: var(--lcd-ink); }
.real h3 { color: var(--lcd-ink); }
.real b, .real strong { color: var(--lcd-ink); }
.real li::before { background: var(--lcd-ink); }
.real a { color: #1b3a8a; font-weight: 700; }
.real .src { font-size: 13.5px; line-height: 1.6; }
.real .src li { margin-bottom: 6px; }
.real .src li::before { width: 5px; height: 5px; top: 0.75em; }
.real .note { font-size: 13.5px; }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--body); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
dl.facts dt { color: var(--dim); }
dl.facts dd { margin: 0; color: var(--cream); }

/* 다른 판: 폰 = 그림 왼쪽 가로 카드, 넓은 화면 = 두 칸 */
.more { margin: 8px 0 18px; }
.cards { display: grid; gap: 10px; margin: 0 0 12px; }
.cards li { margin: 0; padding: 0; }
.cards li::before { display: none; }
.cards a { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: var(--body); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--text); }
.cards a:hover { box-shadow: inset 0 0 0 1px rgba(255,213,74,0.5); }
.cards img { display: block; width: 120px; height: 75px; object-fit: cover; border-radius: 8px; background: #050507; image-rendering: pixelated; }
.cards b { display: block; font-size: 15px; line-height: 1.4; color: #fff; }
.cards small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--dim); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.all { font-size: 15px; }

.foot { max-width: 760px; margin: 0 auto; padding: 18px 16px calc(env(safe-area-inset-bottom, 0px) + 36px); border-top: 1px solid #18181b; font-size: 13px; line-height: 1.6; color: #8a8273; }
.foot p { margin: 0 0 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 16px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: #a59c8a; }
.rgb { display: flex; gap: 7px; height: 6px; margin: 0 0 14px; }
.rgb i { width: 25px; height: 6px; background: repeating-linear-gradient(90deg, var(--c) 0 5px, transparent 5px 7px); }
.rgb i:nth-child(1) { --c: #e8453c; } .rgb i:nth-child(2) { --c: #3dbb5c; } .rgb i:nth-child(3) { --c: #4673e6; }

@media (min-width: 620px) {
  h1 { font-size: 32px; }
  .wrap { padding-top: 26px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards a { grid-template-columns: 1fr; align-items: start; }
  .cards img { width: 100%; height: auto; aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) { .go:active { transform: none; } }
