/* uyeon.xyz 홈페이지 — 디자인: design/시안-PC-모바일.html (2026-10-31 적용)
   시안에서 예시 데이터뿐인 시그니처·후원 포인트 칸은 아직 뺐다(자료가 생기면 시안에서 다시 가져온다). */
:root {
  --accent: #e20011;
  --ink: #111111;
  --ink-2: #222222;
  --gray: #888888;
  --gray-2: #6a7282;
  --line: #e5e5e5;
  --paper: #ffffff;
  --paper-2: #f4f5f7;
  --black: #000000;
  --black-2: #141414;
  --black-line: #2a2a2a;
  --side: 40px;
  --max: 1400px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Hiragino Sans', 'Noto Sans KR', 'Noto Sans JP', 'Malgun Gothic', 'Meiryo', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
html[lang="ja"] body { word-break: normal; line-break: strict; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--side); }

/* ───────── 맨 위 띠 ───────── */
.topbar { position: relative; z-index: 35; background: var(--black); color: #bbb; font-size: 13px; }
.topbar .inner { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.topbar nav { display: flex; gap: 22px; }
.topbar a:hover, .tb-btn:hover { color: #fff; }
.topbar .right { display: flex; align-items: stretch; height: 40px; }
.tb-item { position: relative; display: flex; align-items: center; padding: 0 11px; }
.tb-item + .tb-item::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: #333; }
.tb-item:last-child { padding-right: 0; }
.tb-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0; border: 0; background: none; color: #bbb; font-size: 13px; }
.tb-btn .caret { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2.4; transition: transform .2s; }
.tb-btn[aria-expanded="true"] { color: #fff; }
.tb-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.topbar .em { color: var(--accent); font-weight: 700; }
.topbar .em:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.globe { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* 펼침 칸 공통 */
.pop {
  position: absolute; top: 100%; right: 0; z-index: 60;
  margin-top: 6px;
  background: #fff; color: var(--ink);
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
  border-top: 3px solid var(--accent);
}
.pop-bank { width: 340px; padding: 22px 22px 20px; }
.pop-bank h4 { margin: 0; font-size: 15px; font-weight: 700; }
.pop-bank .num { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.pop-bank .num em { font-style: normal; color: var(--gray-2); font-size: 13px; }
.pop-bank .num b { font-size: 24px; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.pop-bank .holder { margin-top: 2px; color: var(--gray-2); font-size: 13px; }
.pop-bank .copy-btn { margin-top: 16px; width: 100%; height: 44px; border: 0; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.pop-bank .copy-btn.done { background: var(--accent); }
.pop-bank .note { margin: 12px 0 0; color: var(--gray-2); font-size: 12.5px; line-height: 1.5; }
.pop-lang { width: 150px; padding: 6px 0; list-style: none; margin: 6px 0 0; }
.pop-lang button { display: flex; width: 100%; align-items: center; justify-content: space-between; height: 40px; padding: 0 16px; border: 0; background: none; font-size: 14px; color: var(--ink-2); text-align: left; }
.pop-lang button:hover { background: var(--paper-2); }
.pop-lang button[aria-checked="true"] { color: var(--accent); font-weight: 700; }
.pop-lang button[aria-checked="true"]::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ───────── 메뉴 ───────── */
.gnb { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.gnb .inner { display: flex; align-items: center; height: 88px; gap: 56px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -1px; }
.logo-text { display: grid; line-height: 1.15; }
.logo-text strong { font-size: 24px; font-weight: 800; letter-spacing: -0.8px; color: var(--ink); }
.logo-text small { font-size: 11px; color: var(--gray); letter-spacing: .2px; }
.menu { display: flex; gap: 40px; flex: 1; }
.menu a { position: relative; font-size: 18px; font-weight: 700; letter-spacing: -0.5px; color: var(--ink); padding: 30px 0; white-space: nowrap; }
.menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 22px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.menu a:hover::after, .menu a.is-on::after { transform: scaleX(1); }
.gnb-right { display: flex; align-items: center; gap: 14px; flex: none; }
.onair { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line); color: var(--gray-2); font-size: 13px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }
.onair i { width: 8px; height: 8px; border-radius: 50%; background: #c4c4c4; }
.onair.is-live { border-color: var(--accent); color: var(--accent); }
.onair.is-live i { background: var(--accent); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.btn-donate { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; }

/* ───────── 큰 슬라이드 ───────── */
.hero { position: relative; height: min(760px, calc(100vh - 128px)); min-height: 560px; overflow: hidden; overflow: clip; background: #0b0b0f; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.slide.is-on { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; overflow: hidden; }
.slide-bg img { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(18px) saturate(1.1); opacity: .55; }
.slide-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.15) 100%), linear-gradient(0deg, rgba(0,0,0,.6), transparent 40%); }
.slide-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.slide-label { margin: 0 0 18px; color: var(--accent); font-size: 15px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.slide-label i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: blink 1.4s ease-in-out infinite; }
.slide-title { margin: 0; max-width: 860px; font-size: 56px; line-height: 1.25; font-weight: 700; letter-spacing: -2px; }
html[lang="en"] .slide-title { letter-spacing: -1.6px; }
.slide-sub { margin: 18px 0 0; font-size: 19px; color: rgba(255,255,255,.75); }
.slide-btns { display: flex; gap: 12px; margin-top: 44px; }
.slide-btn { display: inline-flex; align-items: center; gap: 14px; height: 58px; padding: 0 34px; border: 1px solid rgba(255,255,255,.45); color: #fff; font-weight: 600; transition: background-color .2s, border-color .2s; }
.slide-btn:hover { background: #fff; color: #000; border-color: #fff; }
.slide-btn.is-accent { background: var(--accent); border-color: var(--accent); }
.slide-btn.is-accent:hover { color: #fff; filter: brightness(1.08); }
.hero-ctrl { position: absolute; z-index: 3; left: 0; right: 0; bottom: 48px; }
.hero-ctrl .inner { display: flex; align-items: center; gap: 18px; }
.hero-count { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.hero-count b { color: #fff; }
.hero-bar { width: 160px; height: 2px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero-bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.hero-bar i.run { animation: fill 6s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.hero-ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: none; color: #fff; display: grid; place-items: center; }
.hero-ctrl button:hover { background: rgba(255,255,255,.12); }
.hero-ctrl svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ───────── 섹션 공통 ───────── */
.sec { padding: 110px 0; }
.sec-white { background: var(--paper); }
.sec-gray { background: var(--paper-2); }
.sec-black { background: var(--black-2); color: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.eyebrow { display: block; margin-bottom: 8px; color: var(--accent); font-size: 15px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; }
.sec-title { margin: 0; font-size: 48px; line-height: 1.1; font-weight: 700; letter-spacing: -1.5px; }
.view-all { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 15px; font-weight: 600; white-space: nowrap; }
.view-all svg, .arrow { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ───────── 공지 + 후원 ───────── */
.notice-grid { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: start; }
.news { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.news li { border-bottom: 1px solid var(--line); }
.news a { display: grid; grid-template-columns: 90px 110px 1fr; align-items: center; min-height: 64px; padding: 0 16px; transition: background-color .15s; }
.news a:hover { background: var(--paper-2); }
.news .date { color: var(--gray); font-weight: 700; font-variant-numeric: tabular-nums; }
.news .cate { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.news .tit { font-size: 17px; font-weight: 500; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news a:hover .tit { text-decoration: underline; text-underline-offset: 4px; }

.support { background: var(--ink); color: #fff; padding: 34px 34px 30px; }
.support h3 { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.8px; }
.support > p { margin: 6px 0 22px; color: #9a9a9a; font-size: 14px; }
.support-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-top: 1px solid #2c2c2c; }
.support-row strong { display: block; font-size: 16px; }
.support-row span { color: #9a9a9a; font-size: 13px; }
.s-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; font-size: 14px; font-weight: 700; border: 1px solid #fff; color: #fff; background: none; white-space: nowrap; }
.s-btn.is-accent { background: var(--accent); border-color: var(--accent); }
.bank { margin-top: 2px; padding: 16px 18px; background: #1c1c1c; }
.bank-num { display: flex; align-items: baseline; gap: 10px; }
.bank-num em { font-style: normal; color: #9a9a9a; font-size: 14px; }
.bank-num b { font-size: 22px; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.bank-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; color: #9a9a9a; font-size: 13px; }
.support .copy-btn { height: 34px; padding: 0 14px; border: 1px solid #555; background: none; color: #fff; font-size: 13px; font-weight: 600; }
.support .copy-btn.done { border-color: var(--accent); color: var(--accent); }

/* ───────── 다시보기 (검정) ───────── */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.vod { scroll-snap-align: start; display: block; }
.vod-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #3a2a3a, #1d1d28); }
.vod-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.vod:hover .vod-thumb img { transform: scale(1.04); }
.tag { position: absolute; left: 12px; top: 12px; padding: 4px 8px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .8px; }
.vod-time { position: absolute; right: 10px; bottom: 10px; padding: 2px 7px; background: rgba(0,0,0,.75); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vod-tit { margin: 18px 0 0; font-size: 18px; font-weight: 700; letter-spacing: -0.4px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vod-meta { margin-top: 8px; display: flex; gap: 14px; color: #8a8a8a; font-size: 14px; }
.rail-foot { display: flex; align-items: center; gap: 20px; margin-top: 40px; }
.rail-line { flex: 1; height: 2px; background: var(--black-line); position: relative; overflow: hidden; }
.rail-line i { position: absolute; left: 0; top: 0; bottom: 0; width: 25%; background: var(--accent); transition: transform .3s; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #444; background: none; color: #fff; display: grid; place-items: center; }
.rail-btn:hover { border-color: #fff; }
.rail-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ───────── 플랫폼 줄 ───────── */
.platforms { background: #fff; border-top: 1px solid var(--line); }
.platforms .inner { display: flex; align-items: center; justify-content: space-between; height: 110px; }
.platforms a { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; color: #b5b8bf; transition: color .15s; }
.platforms a:hover { color: var(--ink); }

/* ───────── 푸터 ───────── */
.foot { background: var(--black); color: #fff; padding: 90px 0 40px; }
.foot-top { display: grid; grid-template-columns: 1fr auto; gap: 60px; padding-bottom: 70px; border-bottom: 1px solid #262626; }
.foot h2 { margin: 0; font-size: 40px; font-weight: 700; letter-spacing: -1.4px; line-height: 1.25; }
.foot-btns { display: flex; gap: 10px; margin-top: 30px; }
.foot-btns a { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border: 1px solid #555; font-weight: 600; }
.foot-btns a:hover { border-color: #fff; }
.foot-menus { display: flex; gap: 72px; }
.foot-menus strong { display: block; margin-bottom: 18px; color: var(--accent); font-size: 13px; letter-spacing: 1.6px; }
.foot-menus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: #bdbdbd; font-size: 15px; }
.foot-menus a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 28px; color: #777; font-size: 13px; }

/* ───────── 떠 있는 버튼 ───────── */
.quick { position: fixed; right: 28px; bottom: 28px; z-index: 40; display: grid; gap: 10px; }
.quick a, .quick button { width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.quick .q-donate { background: var(--accent); color: #fff; }
.quick .q-top { background: #333; color: #fff; }
.quick svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.toast { position: fixed; left: 50%; bottom: 40px; z-index: 70; transform: translate(-50%, 10px); padding: 12px 22px; background: #111; color: #fff; font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1240px) {
  :root { --side: 28px; }
  .menu { gap: 22px; }
  .menu a { font-size: 17px; }
  .gnb .inner { gap: 32px; }
  .notice-grid { grid-template-columns: 1fr 380px; gap: 40px; }
}

/* ───────── 모바일 메뉴 버튼 · 전체 메뉴 ───────── */
.m-menu { display: none; width: 40px; height: 40px; margin-right: -8px; border: 0; background: none; place-items: center; color: var(--ink); }
.m-menu svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.drawer {
  position: fixed; inset: 0; z-index: 80;
  overflow-y: auto; overscroll-behavior: contain;
  background: #000; color: #fff;
  padding: 0 var(--side) calc(40px + env(safe-area-inset-bottom));
  animation: drawer-in .25s ease-out;
}
@keyframes drawer-in { from { transform: translateX(24px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.drawer-head .logo-mark { background: #fff; color: #000; width: 36px; height: 36px; font-size: 16px; }
.drawer-head .logo-text strong { color: #fff; font-size: 20px; }
.drawer-close { width: 40px; height: 40px; margin-right: -8px; border: 0; background: none; color: #fff; display: grid; place-items: center; }
.drawer-close svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.drawer-lang { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 12px; border: 1px solid #333; }
.drawer-lang button { height: 40px; border: 0; background: none; color: #999; font-size: 13px; font-weight: 700; letter-spacing: .5px; }
.drawer-lang button + button { border-left: 1px solid #333; }
.drawer-lang button[aria-pressed="true"] { background: #fff; color: #000; }
.drawer-menu { display: grid; margin-top: 28px; border-top: 1px solid #262626; }
.drawer-menu a { display: flex; align-items: center; justify-content: space-between; height: 64px; border-bottom: 1px solid #262626; font-size: 24px; font-weight: 700; letter-spacing: -0.6px; }
.drawer-menu a svg { width: 18px; height: 18px; stroke: #666; fill: none; stroke-width: 2; }
.drawer-donate { display: grid; gap: 8px; margin-top: 28px; }
.drawer-donate > a, .drawer-bank-btn { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 20px; font-weight: 700; font-size: 16px; }
.drawer-donate > a { background: var(--accent); color: #fff; }
.drawer-bank-btn { width: 100%; border: 1px solid #444; background: none; color: #fff; }
.drawer-bank-btn .caret { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.4; transition: transform .2s; }
.drawer-bank-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.drawer-bank { padding: 18px 20px; background: #161616; }
.drawer-bank .num { display: flex; align-items: baseline; gap: 10px; }
.drawer-bank .num em { font-style: normal; color: #999; font-size: 13px; }
.drawer-bank .num b { font-size: 22px; letter-spacing: .5px; font-variant-numeric: tabular-nums; }
.drawer-bank .holder { margin-top: 2px; color: #999; font-size: 13px; }
.drawer-bank .copy-btn { margin-top: 14px; width: 100%; height: 46px; border: 0; background: #fff; color: #000; font-weight: 700; font-size: 15px; }
.drawer-bank .copy-btn.done { background: var(--accent); color: #fff; }
.drawer-bank .note { margin: 10px 0 0; color: #999; font-size: 13px; }
.drawer-sns { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 32px; color: #999; font-size: 14px; }

/* ───────── 메뉴줄: 1180px 이하는 모바일 머리 ───────── */
@media (max-width: 1180px) {
  html { scroll-padding-top: 64px; }
  .topbar, .menu, .btn-donate { display: none; }
  .gnb .inner { height: 60px; gap: 12px; justify-content: space-between; }
  .logo { gap: 10px; }
  .logo-mark { width: 36px; height: 36px; font-size: 16px; }
  .logo-text strong { font-size: 20px; }
  .logo-text small { font-size: 10px; }
  .gnb-right { gap: 6px; }
  .onair { height: 30px; padding: 0 11px; gap: 6px; font-size: 12px; }
  .m-menu { display: grid; }
}

/* ───────── 모바일 바로가기 (PC에서는 숨김) ───────── */
.m-quick { display: none; }

/* ───────── 태블릿 · 모바일: 한눈에 많이, 글씨는 또렷하게 ───────── */
@media (max-width: 1024px) {
  :root { --side: 16px; --gray: #666b75; --gray-2: #555b66; }
  body { font-size: 15px; line-height: 1.55; }
  .notice-grid > * { min-width: 0; }
  /* 모바일에서 빼는 것: 플랫폼 줄, 큰 후원 칸(바로가기로 대신), 푸터 메뉴(전체 메뉴에 있음), 영어 작은 제목 */
  .platforms, .support, .foot-menus, .eyebrow, .quick .q-donate { display: none; }

  /* 큰 슬라이드 → 짧은 띠 */
  .hero { height: 300px; min-height: 0; }
  .slide-bg::after { background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.35) 100%); }
  .slide-copy { justify-content: flex-end; padding-bottom: 58px; }
  .slide-label { margin-bottom: 8px; font-size: 13px; letter-spacing: .8px; }
  .slide-title { font-size: 24px; line-height: 1.3; letter-spacing: -0.8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .slide-title br { display: none; }
  .slide-sub { margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .slide-btns { margin-top: 14px; gap: 8px; flex-wrap: wrap; }
  .slide-btn { height: 40px; padding: 0 14px; gap: 8px; font-size: 14px; }
  .slide-btn .arrow { width: 14px; height: 14px; }
  .hero-ctrl { bottom: 16px; }
  .hero-ctrl .inner { gap: 10px; }
  .hero-bar { flex: 1; width: auto; }
  .hero-count { font-size: 13px; }
  .hero-ctrl button { width: 28px; height: 28px; }
  .hero-ctrl svg { width: 13px; height: 13px; }

  /* 바로가기 줄 */
  .m-quick { display: block; padding: 14px 0 12px; background: #fff; border-bottom: 8px solid var(--paper-2); }
  .m-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .m-quick-grid > a, .m-quick-grid > button { display: grid; justify-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.25; text-align: center; }
  .m-quick-grid .ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--paper-2); }
  .m-quick-grid .ic svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .m-quick-grid .is-main .ic { background: var(--accent); }
  .m-quick-grid .is-main .ic svg { stroke: #fff; }
  .m-quick-grid [aria-expanded="true"] .ic { background: var(--ink); }
  .m-quick-grid [aria-expanded="true"] .ic svg { stroke: #fff; }
  .m-bank { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; margin: 12px 0 0; padding: 14px 16px; background: var(--ink); color: #fff; }
  .m-bank[hidden] { display: none; }
  .m-bank .num { font-size: 20px; font-weight: 800; letter-spacing: .3px; font-variant-numeric: tabular-nums; }
  .m-bank .num em { margin-right: 6px; font-style: normal; font-size: 13px; font-weight: 500; color: #c4c4c4; }
  .m-bank .holder { grid-column: 1; color: #c4c4c4; font-size: 13px; }
  .m-bank .copy-btn { grid-column: 2; grid-row: 1 / span 2; height: 40px; padding: 0 16px; border: 0; background: #fff; color: #000; font-size: 14px; font-weight: 700; }
  .m-bank .copy-btn.done { background: var(--accent); color: #fff; }
  .m-bank .note { grid-column: 1 / -1; margin: 8px 0 0; color: #c4c4c4; font-size: 13px; }
  .m-sns { display: flex; gap: 6px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
  .m-sns::-webkit-scrollbar { display: none; }
  .m-sns a { flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink-2); font-size: 13px; font-weight: 600; }

  /* 섹션 공통: 제목 한 줄 + 오른쪽 "전체 보기" */
  .sec { padding: 26px 0 28px; }
  .sec-head { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
  .sec-title { font-size: 21px; line-height: 1.25; letter-spacing: -0.6px; }
  .view-all { gap: 4px; font-size: 14px; }
  .view-all svg { width: 14px; height: 14px; }

  /* 공지: 한 줄씩 4개 */
  .notice-grid { grid-template-columns: 1fr; gap: 0; }
  .news { border-top: 1px solid var(--ink); }
  .news a { grid-template-columns: 42px 1fr auto; grid-template-areas: "cate tit date"; gap: 8px; min-height: 48px; padding: 0 2px; }
  .news .cate { grid-area: cate; font-size: 12px; }
  .news .tit { grid-area: tit; color: var(--ink); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .news .date { grid-area: date; color: var(--gray-2); font-size: 13px; font-weight: 600; }
  .news li:nth-child(n+5) { display: none; }

  /* 다시보기: 두 장 넘게 보이게 */
  .rail { grid-auto-columns: 46%; gap: 10px; margin-right: calc(var(--side) * -1); padding-right: var(--side); }
  .vod-thumb .tag { display: none; }
  .vod-time { right: 6px; bottom: 6px; padding: 1px 5px; font-size: 11px; }
  .vod-tit { margin-top: 8px; font-size: 14.5px; line-height: 1.4; letter-spacing: -0.3px; }
  .vod-meta { margin-top: 4px; gap: 8px; color: #b0b0b0; font-size: 13px; }
  .rail-foot { margin-top: 14px; }
  .rail-btn { display: none; }

  /* 푸터: 짧게 */
  .foot { padding: 28px 0 calc(24px + env(safe-area-inset-bottom)); }
  .foot-top { grid-template-columns: 1fr; gap: 0; padding-bottom: 20px; }
  .foot h2 { font-size: 18px; line-height: 1.4; letter-spacing: -0.4px; }
  .foot h2 br { display: none; }
  .foot-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  .foot-btns a { height: 44px; padding: 0 12px; justify-content: space-between; font-size: 14px; }
  .foot-bottom { flex-direction: column; gap: 2px; padding-top: 16px; color: #8f8f8f; font-size: 13px; }

  .quick { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .quick .q-top { width: 44px; height: 44px; }
  .quick svg { width: 20px; height: 20px; }

}
@media (min-width: 641px) and (max-width: 1024px) {
  .hero { height: 360px; }
  .rail { grid-auto-columns: 31%; }
}
@media (min-width: 1181px) { .drawer { display: none !important; } }
@media (max-width: 420px) {
  .logo-text small { display: none; }
  .onair span { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 360px) {
  .m-quick-grid > a, .m-quick-grid > button { font-size: 12px; }
  .m-quick-grid .ic { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: none; }
  .hero-bar i.run, .onair.is-live i, .slide-label i, .drawer { animation: none; }
}

/* ───────── 공지 안내 칸 (숲 공지 게시판으로 연결) ───────── */
.notice-card { display: grid; gap: 6px; padding: 28px 28px 26px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.notice-card strong { font-size: 19px; font-weight: 700; letter-spacing: -0.4px; }
.notice-card p { margin: 0; color: var(--gray-2); font-size: 15px; }
.notice-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.notice-links a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1px solid var(--ink); font-size: 14px; font-weight: 700; }
.notice-links a:hover { background: var(--ink); color: #fff; }
.notice-links a.is-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.notice-links svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.rail-msg { margin: 0; padding: 40px 0; color: #9a9a9a; }
.rail-msg a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.slide-sub a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) {
  .notice-card { padding: 16px 2px 18px; border-top-width: 1px; }
  .notice-card strong { font-size: 16px; }
  .notice-card p { font-size: 14px; }
  .notice-links { margin-top: 10px; }
  .notice-links a { height: 40px; padding: 0 14px; font-size: 13.5px; }
  .rail-msg { padding: 20px 0; font-size: 14px; }
}
