/* =========================================================================
   청춘IP 새 메인 (index_new.php / head_new.php / tail_new.php)
   모든 선택자는 yn- 접두어로 기존 CSS 와 겹치지 않게 했습니다.
   ========================================================================= */

:root {
  --yn-ink: #14171c;
  --yn-ink-2: #3d434d;
  --yn-ink-3: #5f6672;
  --yn-line: #e2e5ea;
  --yn-line-strong: #c9ced6;
  --yn-surface: #f2f4f7;
  --yn-white: #ffffff;
  --yn-blue: #1a64e0;
  --yn-blue-ink: #1450b8;
  --yn-blue-soft: #e8f0fd;
  --yn-yellow: #ffd80a;
  --yn-green: #12a15e;

  --yn-sky: #d9eefb;
  --yn-butter: #fff2b8;
  --yn-lilac: #ebe4ff;
  --yn-mint: #d7f3e6;

  --yn-r-lg: 32px;
  --yn-r-md: 22px;
  --yn-r-sm: 14px;

  --yn-shadow: 0 18px 40px -18px rgba(20, 23, 28, .22), 0 2px 6px rgba(20, 23, 28, .06);
  --yn-shadow-lift: 0 14px 30px -14px rgba(20, 23, 28, .20);
  --yn-ease: cubic-bezier(.16, 1, .3, 1);

  --yn-gutter: clamp(16px, 4vw, 40px);
  --yn-max: 1260px;
  --yn-header-h: 76px;

  color-scheme: light;
  accent-color: var(--yn-blue);
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--yn-header-h); }
body.yn-body {
  margin: 0;
  background: var(--yn-white);
  color: var(--yn-ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: var(--yn-line-strong) transparent;
}
/* 초기화는 :where() 로 우선순위 0 — 아래 컴포넌트 규칙이 항상 이기도록 */
:where(.yn-body) :where(img) { max-width: 100%; height: auto; display: block; }
:where(.yn-body) :where(a) { color: inherit; text-decoration: none; }
:where(.yn-body) :where(a:hover) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:where(.yn-body) :where(ul, ol, dl, dd, p, h1, h2, h3) { margin: 0; padding: 0; }
:where(.yn-body) :where(ul, ol) { list-style: none; }
:where(.yn-body) :where(button) { font: inherit; color: inherit; cursor: pointer; }
.yn-body ::selection { background: var(--yn-yellow); color: var(--yn-ink); }
.yn-body :focus-visible { outline: 3px solid var(--yn-blue); outline-offset: 3px; border-radius: 8px; }
.yn-body ::-webkit-scrollbar { width: 10px; height: 10px; }
.yn-body ::-webkit-scrollbar-thumb { background: var(--yn-line-strong); border-radius: 10px; border: 2px solid var(--yn-white); }

.yn-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.yn-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.yn-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.yn-skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--yn-ink); color: #fff !important; font-weight: 700; }
.yn-skip:focus { top: 12px; }

.yn-wrap { width: 100%; max-width: calc(var(--yn-max) + var(--yn-gutter) * 2); margin-inline: auto; padding-inline: var(--yn-gutter); }
.yn-main { display: block; outline: none; }

/* ---------- 버튼 ---------- */
.yn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 16px; font-weight: 700; line-height: 1; white-space: nowrap;
  transition: background-color .2s var(--yn-ease), color .2s var(--yn-ease), border-color .2s var(--yn-ease), transform .2s var(--yn-ease);
}
.yn-body .yn-btn:hover { text-decoration: none; }
.yn-btn:active { transform: translateY(1px); }
.yn-btn--ink { background: var(--yn-ink); color: #fff !important; }
.yn-btn--ink:hover { background: #2a2f37; }
.yn-btn--line { background: transparent; border-color: var(--yn-ink); color: var(--yn-ink); }
.yn-btn--line:hover { background: var(--yn-ink); color: #fff !important; }
.yn-btn--soft { background: var(--yn-blue-soft); color: var(--yn-blue-ink) !important; }
.yn-btn--soft:hover { background: #d9e6fb; }
.yn-btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.yn-btn--block { display: flex; width: 100%; }
.yn-btn .yn-ico { width: 18px; height: 18px; }

/* ---------- 헤더 ---------- */
/* 헤더 스타일은 css/yn_header.css 로 옮겼습니다 (모든 페이지 공통 헤더). */

/* ---------- 메인 배너 + 용도 찾기 ---------- */
.yn-top { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(300px, 1fr); gap: 24px; margin-top: 20px; }

.yn-hero { position: relative; display: grid; border-radius: var(--yn-r-lg); overflow: hidden; isolation: isolate; }
.yn-hero__track { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.yn-slide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 24px;
  min-height: 456px; padding: 48px 48px 96px;
  opacity: 0; visibility: hidden;
  transition: opacity .6s var(--yn-ease), visibility 0s .6s;
}
.yn-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--yn-ease), visibility 0s; }
.yn-slide--fixed { background: var(--yn-sky); }
.yn-slide--dynamic { background: var(--yn-butter); }
.yn-slide--kt { background: var(--yn-lilac); }
.yn-slide--proxy { background: var(--yn-mint); }
/* 사진 배경 슬라이드 (배경 1680x1220 webp + 인물 투명 이미지 778x985) */
.yn-slide--photo { position: relative; background-color: var(--yn-sky); background-repeat: no-repeat; background-size: cover; background-position: right center; }
.yn-slide--photo .yn-slide__copy { position: relative; z-index: 1; }
.yn-slide__person { position: absolute; right: var(--person-right, 2%); bottom: 0; height: var(--person-size, 92%); max-width: 56%; display: flex; align-items: flex-end; justify-content: flex-end; pointer-events: none; }
.yn-slide__person picture, .yn-slide__person img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: right bottom; }
.yn-slide__person { transition: transform .9s var(--yn-ease) .1s, opacity .9s var(--yn-ease) .1s; }
.yn-slide:not(.is-active) .yn-slide__person { transform: translateY(18px); opacity: 0; }

.yn-slide__copy > * { transition: transform .8s var(--yn-ease), opacity .8s var(--yn-ease); }
.yn-slide:not(.is-active) .yn-slide__copy > * { transform: translateY(14px); opacity: 0; }
.yn-slide.is-active .yn-slide__copy > :nth-child(2) { transition-delay: .06s; }
.yn-slide.is-active .yn-slide__copy > :nth-child(3) { transition-delay: .12s; }
.yn-slide.is-active .yn-slide__copy > :nth-child(4) { transition-delay: .18s; }

.yn-slide__title { font-size: clamp(28px, 2.7vw, 40px); font-weight: 800; line-height: 1.26; letter-spacing: -0.035em; text-wrap: balance; }
.yn-slide__desc { margin-top: 16px; max-width: 34ch; font-size: 16px; color: var(--yn-ink-2); text-wrap: pretty; }
.yn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.yn-chips li { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(20, 23, 28, .08); font-size: 13px; font-weight: 650; color: var(--yn-ink); }
/* 첫 슬라이드(전문가들은 왜 청춘IP를…) 세 가지 강점: 번호 목록 */
.yn-slide__points { display: grid; gap: 10px; margin-top: 18px; }
.yn-slide__points li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; }
.yn-slide__num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--yn-ink); color: var(--yn-white); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.yn-slide__points strong { display: block; font-size: 15px; font-weight: 800; line-height: 1.45; letter-spacing: -0.03em; color: var(--yn-ink); }
.yn-slide__points div > span { display: block; font-size: 13px; line-height: 1.5; color: var(--yn-ink-2); }
/* 글 칸을 조금 넓혀 설명이 한 줄에 들어가게 (인물은 오른쪽 끝으로 조금 작게: index.php 의 person_size·person_right) */
.yn-slide--why, .yn-slide--photo { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); } /* [2026-11-26] 2~5장도 사진형이라 같은 칸 비율 */
.yn-slide--why .yn-slide__desc { margin-top: 12px; max-width: 40ch; }
.yn-slide--why .yn-slide__actions { margin-top: 22px; }
.yn-slide__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.yn-slide__visual { display: flex; justify-content: center; align-items: center; }
.yn-slide:not(.is-active) .yn-slide__visual > * { transform: translateY(18px) scale(.98); opacity: 0; }
.yn-slide__visual > * { transition: transform .9s var(--yn-ease) .1s, opacity .9s var(--yn-ease) .1s; }

.yn-demo__label { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--yn-surface); font-size: 11px; font-weight: 700; color: var(--yn-ink-3); letter-spacing: 0; }

/* 시그니처: IP 바꾸기 데모 */
.yn-demo { width: 100%; max-width: 320px; padding: 22px 24px 20px; border-radius: 26px; background: var(--yn-white); box-shadow: var(--yn-shadow); }
.yn-demo__head { display: flex; justify-content: space-between; align-items: center; }
.yn-demo__status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--yn-green); }
.yn-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--yn-green); }
.yn-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--yn-green); opacity: 0; animation: yn-ping 2.4s var(--yn-ease) infinite; }
@keyframes yn-ping { 0% { transform: scale(.6); opacity: .55; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.yn-demo__caption { margin-top: 20px; font-size: 13px; color: var(--yn-ink-3); }
.yn-demo__ip {
  margin-top: 2px; font-size: clamp(28px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; line-height: 1.2; overflow: hidden;
}
.yn-demo__ip span { display: inline-block; }
.yn-demo__ip.is-out span { animation: yn-ip-out .22s cubic-bezier(.4, 0, 1, 1) forwards; }
.yn-demo__ip.is-in span { animation: yn-ip-in .5s var(--yn-ease) backwards; }
.yn-demo__ip.is-in span:nth-child(n+8) { animation-delay: .03s; }
@keyframes yn-ip-out { to { transform: translateY(-60%); opacity: 0; filter: blur(4px); } }
@keyframes yn-ip-in { from { transform: translateY(60%); opacity: 0; filter: blur(4px); } }
.yn-demo__meta { min-height: 22px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--yn-blue-ink); font-variant-numeric: tabular-nums; }
.yn-demo__btn { width: 100%; margin-top: 18px; }
.yn-demo__btn[disabled] { opacity: .55; cursor: progress; }
.yn-demo__note { margin-top: 12px; font-size: 12px; text-align: center; color: var(--yn-ink-3); }

/* 유동IP: 대역 격자 */
.yn-bands { width: 100%; max-width: 320px; padding: 22px 24px; border-radius: 26px; background: var(--yn-white); box-shadow: var(--yn-shadow); }
.yn-bands__grid { display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px; margin-top: 16px; }
.yn-bands__grid i { aspect-ratio: 1; border-radius: 3px; background: #ece3b0; transition: background-color .35s var(--yn-ease), transform .35s var(--yn-ease); }
.yn-bands__grid i.is-on { background: var(--yn-ink); transform: scale(1.25); }
.yn-bands__caption { margin-top: 16px; font-size: 14px; color: var(--yn-ink-2); font-variant-numeric: tabular-nums; }
.yn-bands__caption strong { color: var(--yn-ink); }

/* KTIP / 프록시: 조회 카드 */
.yn-lookup { width: 100%; max-width: 320px; padding: 22px 24px 12px; border-radius: 26px; background: var(--yn-white); box-shadow: var(--yn-shadow); }
.yn-lookup dl { margin-top: 10px; }
.yn-lookup dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--yn-line); }
.yn-lookup dl > div:last-child { border-bottom: 0; }
.yn-lookup dt { font-size: 13px; color: var(--yn-ink-3); }
.yn-lookup dd { font-size: 15px; font-weight: 650; text-align: right; }
.yn-lookup dd strong { font-weight: 800; }
.yn-lookup__ip { font-variant-numeric: tabular-nums; font-weight: 800 !important; font-size: 17px !important; }

/* 배너 컨트롤 */
.yn-hero__ctrl { position: absolute; left: 48px; bottom: 32px; z-index: 2; display: flex; align-items: center; gap: 2px; height: 40px; padding: 0 4px; border-radius: 999px; background: rgba(20, 23, 28, .78); color: #fff; }
.yn-hero__btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #fff; }
.yn-hero__btn:hover { background: rgba(255, 255, 255, .14); }
.yn-hero__btn .yn-ico { width: 16px; height: 16px; stroke-width: 2.2; }
.yn-hero__btn--toggle { margin-left: 4px; background: rgba(255, 255, 255, .12); }
.yn-hero__count { display: inline-flex; gap: 8px; padding: 0 4px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .78); }
.yn-hero__count b { color: #fff; }
.yn-hero__count span[aria-hidden] { color: rgba(255, 255, 255, .45); }
/* 가운데 양옆 넘기기 화살표 (휴대폰 폭에서는 숨김: 밀어서 넘기기 + 아래 넘기기 바) */
.yn-hero__side { position: absolute; top: 50%; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-top: -24px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .82); color: #14171c; box-shadow: 0 4px 14px rgba(20, 23, 28, .12); cursor: pointer; transition: background-color .2s, transform .2s var(--yn-ease); }
.yn-hero__side--prev { left: 16px; }
.yn-hero__side--next { right: 16px; }
.yn-hero__side:hover { background: #fff; transform: scale(1.06); }
.yn-hero__side:active { transform: scale(.96); }
.yn-hero__side .yn-ico { width: 22px; height: 22px; stroke-width: 2.4; }
.yn-slide { padding-left: 80px; padding-right: 80px; }
.yn-hero__ctrl { left: 80px; padding-left: 10px; }
.yn-hero__btn--step { display: none; } /* PC·태블릿: 넘기기는 양옆 화살표, 아래 바는 번호 + 멈춤만 */

/* 용도 찾기 패널 */
.yn-finder { display: flex; flex-direction: column; padding: 32px 28px 24px; border-radius: var(--yn-r-lg); border: 1px solid var(--yn-line); background: var(--yn-white); }
.yn-finder fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.yn-finder__title { padding: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.yn-finder__sub { margin-top: 6px; font-size: 14px; color: var(--yn-ink-3); }
.yn-finder__opts { display: grid; gap: 8px; margin-top: 20px; }
.yn-opt { position: relative; display: block; cursor: pointer; }
.yn-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.yn-opt span {
  display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 18px;
  border-radius: var(--yn-r-sm); background: var(--yn-surface); border: 1.5px solid transparent;
  font-size: 15px; font-weight: 600; color: var(--yn-ink-2);
  transition: background-color .18s, border-color .18s, color .18s;
}
.yn-opt span::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--yn-line-strong); background: var(--yn-white); flex: none; transition: border-color .18s, box-shadow .18s; }
.yn-opt:hover span { background: #e9ecf1; }
.yn-opt input:checked + span { background: var(--yn-white); border-color: var(--yn-ink); color: var(--yn-ink); }
.yn-opt input:checked + span::after { border-color: var(--yn-ink); box-shadow: inset 0 0 0 4px var(--yn-white), inset 0 0 0 10px var(--yn-ink); }
.yn-opt input:focus-visible + span { outline: 3px solid var(--yn-blue); outline-offset: 2px; }
.yn-finder__result { margin-top: auto; padding-top: 20px; }
.yn-finder__pick { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; padding: 12px 16px; border-radius: var(--yn-r-sm); background: var(--yn-blue-soft); }
.yn-finder__pick[hidden], .yn-drawer[hidden] { display: none; }
.yn-finder__pick strong { font-size: 16px; color: var(--yn-blue-ink); }
.yn-finder__pick span { font-size: 14px; color: var(--yn-ink-2); }
.yn-finder__pick.is-empty { background: var(--yn-surface); }
.yn-finder__pick.is-empty strong { color: var(--yn-ink-3); }
.yn-finder__pick.is-fresh > * { animation: yn-rise .45s var(--yn-ease); }
@keyframes yn-rise { from { opacity: 0; transform: translateY(6px); } }
/* [2026-11-24] 친절센터 전화번호: 위 '서비스 한눈에 보기' 버튼과 같은 폭·높이의 테두리 버튼 */
.yn-finder__call { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; color: var(--yn-ink-2); }
.yn-finder__call b { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; border: 1.5px solid var(--yn-ink); border-radius: 999px; background: var(--yn-white); font-size: 20px; font-weight: 800; letter-spacing: -0.01em; color: var(--yn-ink); font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s; }
.yn-body a.yn-finder__call:hover { text-decoration: none; }
.yn-body a.yn-finder__call:hover b { background: var(--yn-ink); color: #fff; }
.yn-finder__call .yn-ico { width: 20px; height: 20px; }

/* ---------- 퀵메뉴 + 로그인 ---------- */
.yn-quickrow { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(300px, 1fr); gap: 24px; margin-top: 24px; align-items: stretch; }
.yn-quick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; align-content: center; padding: 20px 12px; border-radius: var(--yn-r-lg); background: var(--yn-surface); }
.yn-quick a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 4px; border-radius: 18px; font-size: 14px; font-weight: 650; color: var(--yn-ink-2); text-align: center; line-height: 1.35; }
.yn-body .yn-quick a:hover { text-decoration: none; color: var(--yn-ink); }
.yn-quick__ico { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--yn-white); color: var(--yn-ink); box-shadow: 0 1px 2px rgba(20, 23, 28, .06); transition: transform .3s var(--yn-ease), background-color .2s, color .2s, box-shadow .3s var(--yn-ease); }
.yn-quick__ico .yn-ico { width: 28px; height: 28px; stroke-width: 1.6; }
.yn-quick a:hover .yn-quick__ico { transform: translateY(-3px); color: var(--yn-blue); box-shadow: var(--yn-shadow-lift); }

.yn-login { padding: 24px 24px 22px; border-radius: var(--yn-r-lg); border: 1px solid var(--yn-line); background: var(--yn-white); }
.yn-login__title { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.yn-login__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 14px; }
.yn-input { width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--yn-line); background: var(--yn-white); font: inherit; font-size: 15px; color: var(--yn-ink); transition: border-color .18s; }
.yn-input::placeholder { color: #737a86; }
.yn-input:hover { border-color: var(--yn-line-strong); }
.yn-input:focus { outline: none; border-color: var(--yn-ink); }
.yn-input:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--yn-blue-soft); }
.yn-login__form .yn-input:nth-of-type(1) { grid-column: 1; }
.yn-login__form .yn-input:nth-of-type(2) { grid-column: 1; }
.yn-login__form .yn-btn { grid-column: 2; grid-row: 1 / span 2; height: 100%; padding: 0 22px; border-radius: 14px; }
.yn-login__links { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13px; color: var(--yn-ink-3); }
.yn-login__hello { display: flex; align-items: center; gap: 12px; }
.yn-login__avatar { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yn-blue-soft); color: var(--yn-blue); flex: none; }
.yn-login__hello p { flex: 1; font-size: 16px; line-height: 1.4; }
.yn-login__hello strong { color: var(--yn-blue-ink); }
.yn-login__out { font-size: 13px; color: var(--yn-ink-3); white-space: nowrap; }
.yn-login__menu { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 14px; }
.yn-login__menu a { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px; background: var(--yn-surface); font-size: 13px; font-weight: 600; }
.yn-body .yn-login__menu a:hover { background: #e7eaef; text-decoration: none; }
.yn-login__free { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.yn-login__free .yn-btn { padding: 0 10px; }
.yn-login__admin { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 12px 14px; border-radius: 12px; background: var(--yn-surface); font-size: 13px; }
.yn-login__admin a { color: var(--yn-blue-ink); }

/* ---------- 섹션 공통 ---------- */
.yn-section { margin-top: 50px; } /* 섹션 위 간격 (예전 88px) */
.yn-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.yn-section__title { font-size: clamp(22px, 2vw, 26px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.3; }
.yn-more { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: var(--yn-ink-3); white-space: nowrap; }
.yn-more .yn-ico { width: 16px; height: 16px; }

/* ---------- 서비스 카드 ---------- */
.yn-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.yn-card { display: flex; }
.yn-card__link {
  display: flex; flex-direction: column; width: 100%; padding: 28px 28px 24px;
  border-radius: 26px; border: 1px solid var(--yn-line); background: var(--yn-white);
  transition: border-color .25s var(--yn-ease), box-shadow .35s var(--yn-ease), transform .35s var(--yn-ease);
}
.yn-body a.yn-card__link:hover { text-decoration: none; border-color: var(--yn-line-strong); box-shadow: var(--yn-shadow-lift); transform: translateY(-4px); }
.yn-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.yn-tags span { display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: 6px; border: 1px solid var(--yn-line-strong); font-size: 12px; font-weight: 600; color: var(--yn-ink-2); }
.yn-tags span.is-new { border-color: var(--yn-yellow); background: var(--yn-yellow); color: var(--yn-ink); font-weight: 800; }
.yn-tags span.is-sky { border-color: var(--yn-sky); background: var(--yn-sky); }
.yn-tags span.is-butter { border-color: var(--yn-butter); background: var(--yn-butter); }
.yn-tags span.is-lilac { border-color: var(--yn-lilac); background: var(--yn-lilac); }
.yn-tags span.is-mint { border-color: var(--yn-mint); background: var(--yn-mint); }
.yn-card__head { display: block; margin-top: 16px; font-size: 22px; font-weight: 800; line-height: 1.3; letter-spacing: -0.035em; text-wrap: balance; }
.yn-card__desc { display: block; margin-top: 6px; min-height: 3em; font-size: 15px; line-height: 1.5; color: var(--yn-ink-2); text-wrap: pretty; }
.yn-price { display: flex; flex-wrap: wrap; align-items: baseline; align-content: flex-end; gap: 2px 8px; min-height: 62px; margin-top: 22px; }
.yn-price del { width: 100%; font-size: 14px; color: var(--yn-ink-3); font-variant-numeric: tabular-nums; }
.yn-price__now { font-size: 30px; font-weight: 800; color: var(--yn-blue); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.yn-price__tag { font-size: 14px; font-weight: 700; color: var(--yn-blue-ink); }
.yn-price__now small { font-size: .55em; font-weight: 700; letter-spacing: 0; }
/* [2026-11-20] 고정IP 카드: '행사중' 자리에 문구 3개가 아래에서 올라왔다가 위로 사라지며 번갈아 나옴 (한 바퀴 7.5초) */
.yn-roll { position: relative; display: block; flex-basis: 100%; height: 1.5em; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--yn-blue-ink); }
.yn-roll__track span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(100%); animation: yn-roll 7.5s infinite; }
.yn-roll__track span:nth-child(2) { animation-delay: 2.5s; }
.yn-roll__track span:nth-child(3) { animation-delay: 5s; }
@keyframes yn-roll {
  0%   { opacity: 0; transform: translateY(100%); }
  5%   { opacity: 1; transform: translateY(0); }
  29%  { opacity: 1; transform: translateY(0); }
  34%  { opacity: 0; transform: translateY(-100%); }
  100% { opacity: 0; transform: translateY(-100%); }
}
/* '동작 줄이기'(윈도우 '애니메이션 효과' 끔 포함) 기기: 위아래로 움직이지 않고 제자리에서 흐려졌다 나타나며 바뀜 */
@media (prefers-reduced-motion: reduce) {
  /* 아래 전체 '동작 줄이기' 규칙(.yn-body * 애니메이션 0.01ms)보다 우선해야 해서 !important */
  .yn-body .yn-roll__track span { transform: none; animation-name: yn-roll-fade; animation-duration: 7.5s !important; animation-iteration-count: infinite !important; }
  /* 비교용: yn-roll--slide 는 이 설정에서도 위로 올라가는 방식 그대로 */
  .yn-body .yn-roll--slide .yn-roll__track span { transform: translateY(100%); animation-name: yn-roll; }
  .yn-body .yn-roll--4 .yn-roll__track span { animation-duration: 10s !important; }
  .yn-body .yn-roll--slide.yn-roll--4 .yn-roll__track span { animation-name: yn-roll4; }
}
/* 문구 4개짜리: 한 바퀴 10초, 2.5초씩 */
.yn-roll--4 .yn-roll__track span { animation-name: yn-roll4; animation-duration: 10s; }
.yn-roll--4 .yn-roll__track span:nth-child(4) { animation-delay: 7.5s; }
@keyframes yn-roll4 {
  0%   { opacity: 0; transform: translateY(100%); }
  4%   { opacity: 1; transform: translateY(0); }
  22%  { opacity: 1; transform: translateY(0); }
  26%  { opacity: 0; transform: translateY(-100%); }
  100% { opacity: 0; transform: translateY(-100%); }
}
@keyframes yn-roll-fade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  29%  { opacity: 1; }
  34%  { opacity: 0; }
  100% { opacity: 0; }
}
.yn-card__meta { margin-top: auto; padding-top: 18px; font-size: 14px; color: var(--yn-ink-2); }
.yn-card--split .yn-card__link { cursor: default; }
.yn-card__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; }
.yn-card__pair a { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 12px; background: var(--yn-surface); font-size: 13px; font-weight: 700; transition: background-color .2s, color .2s; }
.yn-body .yn-card__pair a:hover { background: var(--yn-ink); color: #fff; text-decoration: none; }
.yn-card--split .yn-card__meta { margin-top: 18px; padding-top: 0; }
.yn-card--split .yn-card__pair { margin-top: auto; padding-top: 14px; }

/* ---------- 상담 띠 ---------- */
.yn-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 40px; min-height: 64px; padding: 12px 24px; border-radius: 18px; background: var(--yn-butter); font-size: 16px; text-align: center; }
.yn-strip b { font-weight: 800; }
.yn-strip__tel { margin-left: 6px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- 왜 청춘IP ---------- */
.yn-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
.yn-why__lead p { margin-top: 14px; max-width: 30ch; font-size: 16px; color: var(--yn-ink-2); }
.yn-why__lead .yn-more { margin-top: 18px; }
.yn-why__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.yn-why__list li { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 2px solid var(--yn-ink); }
.yn-why__list strong { font-size: 18px; font-weight: 800; line-height: 1.4; letter-spacing: -0.03em; }
.yn-why__list span { font-size: 15px; color: var(--yn-ink-2); }

/* ---------- 처음이라면 / 회사 이야기 ---------- */
.yn-split { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(300px, 1fr); gap: 24px; }
.yn-split .yn-section__title { margin-bottom: 20px; }
.yn-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.yn-tiles a { display: flex; flex-direction: column; min-height: 210px; padding: 28px; border-radius: 26px; background: var(--yn-surface); transition: background-color .25s, transform .35s var(--yn-ease); }
.yn-body .yn-tiles a:hover { text-decoration: none; background: #e9ecf1; transform: translateY(-3px); }
.yn-tiles strong { margin-top: auto; font-size: 21px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.3; }
.yn-tiles span:not([class]) { margin-top: 4px; font-size: 15px; color: var(--yn-ink-2); }
.yn-tile__ico { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; color: var(--yn-ink); }
.yn-tile__ico .yn-ico { width: 26px; height: 26px; }
.yn-tile__ico--butter { background: var(--yn-butter); }
.yn-tile__ico--sky { background: var(--yn-sky); }
.yn-tile__ico--mint { background: var(--yn-mint); }

.yn-story { display: flex; flex-direction: column; align-items: flex-start; height: calc(100% - 56px); min-height: 210px; padding: 28px; border-radius: 26px; border: 1px solid var(--yn-line); background: var(--yn-white); transition: border-color .25s, box-shadow .35s var(--yn-ease); }
.yn-body .yn-story:hover { text-decoration: none; border-color: var(--yn-line-strong); box-shadow: var(--yn-shadow-lift); }
.yn-story__ico { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--yn-lilac); }
.yn-story__ico .yn-ico { width: 26px; height: 26px; }
.yn-story strong { margin-top: 20px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.yn-story > span:not([class]) { margin-top: 6px; font-size: 15px; color: var(--yn-ink-2); }
.yn-story .yn-btn { margin-top: auto; }
.yn-story .yn-btn { margin-top: 20px; }

/* ---------- 질문과 답변 / 새소식 ---------- */
.yn-board { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.yn-board .yn-section__head { margin-bottom: 8px; }
.yn-list li { border-bottom: 1px solid var(--yn-line); }
.yn-list a { display: flex; align-items: center; gap: 10px; min-height: 54px; font-size: 15px; }
.yn-body .yn-list a:hover { text-decoration: none; }
.yn-body .yn-list a:hover .yn-list__title { text-decoration: underline; text-underline-offset: 3px; }
.yn-list__title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yn-list__q { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 7px; background: var(--yn-blue-soft); color: var(--yn-blue-ink); font-size: 12px; font-weight: 800; flex: none; }
.yn-list__new { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: var(--yn-blue); color: #fff; font-size: 10px; font-weight: 800; flex: none; }
.yn-list__date { flex: none; font-size: 13px; color: var(--yn-ink-3); font-variant-numeric: tabular-nums; }
.yn-list__empty { padding: 18px 0; font-size: 15px; color: var(--yn-ink-3); }

/* ---------- 당직자 상담 모달 ---------- */
.yn-modal { position: fixed; inset: 0; z-index: 1000; /* 상단 헤더(900) 위 */ display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 23, 28, .6); }
.yn-modal[hidden] { display: none; }
.yn-modal__panel { display: flex; flex-direction: column; width: 100%; max-width: 640px; max-height: calc(100dvh - 32px); border-radius: 24px; background: var(--yn-white); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); overflow: hidden; animation: yn-rise .4s var(--yn-ease); }
.yn-modal__head { display: flex; align-items: center; gap: 14px; padding: 22px 24px; background: var(--yn-ink); color: #fff; }
.yn-modal__badge { display: flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--yn-yellow); color: var(--yn-ink); }
.yn-modal__badge .yn-ico { width: 26px; height: 26px; }
.yn-modal__titles { flex: 1; min-width: 0; }
.yn-modal__eyebrow { font-size: 13px; font-weight: 700; color: var(--yn-yellow); }
.yn-modal__head h2 { margin-top: 2px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.yn-modal__close { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.yn-modal__close:hover { background: rgba(255, 255, 255, .26); }
.yn-modal__close:focus-visible { outline: 3px solid var(--yn-yellow); outline-offset: 3px; }
.yn-modal__body { overflow-y: auto; padding: 20px 24px 24px; overscroll-behavior: contain; }
.yn-modal__time { padding: 12px 16px; border-radius: 14px; background: var(--yn-butter); font-size: 14px; line-height: 1.6; color: var(--yn-ink-2); word-break: keep-all; }
.yn-modal__time b { color: var(--yn-ink); }
.yn-modal__hint { margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--yn-ink-3); }
.yn-modal__faq { display: grid; gap: 8px; margin-top: 8px; }
.yn-modal__faq a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--yn-surface); font-size: 15px; font-weight: 700; color: var(--yn-ink); transition: background-color .15s; }
.yn-modal__faq a:hover { background: var(--yn-sky); }
.yn-modal__faq .yn-ico { width: 18px; height: 18px; color: var(--yn-ink-3); }
.yn-modal__frame { display: block; width: 100%; height: 640px; margin-top: 18px; border: 0; background: transparent; }

/* 인증 아이피 셋팅 (jQuery UI dialog 안) */
/* 대화상자 겉모양을 당직자 상담 팝업과 같은 톤으로 (dialogClass: yn-ipdlg) */
.ui-widget-overlay.ui-front { background: rgba(20, 23, 28, .6); opacity: 1; z-index: 999; }
.yn-ipdlg.ui-dialog { z-index: 1000; max-width: calc(100vw - 32px); padding: 0; border: 0; border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); overflow: hidden; font-family: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", sans-serif; }
.yn-ipdlg .ui-dialog-titlebar { padding: 20px 24px; border: 0; border-radius: 0; background: var(--yn-ink); color: #fff; }
.yn-ipdlg .ui-dialog-title { float: none; width: auto; margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -0.03em; }
.yn-ipdlg .ui-dialog-content { padding: 20px 24px 8px !important; }
.yn-ipdlg .ui-dialog-buttonpane { margin: 0; padding: 8px 24px 22px; border: 0; background: #fff; }
.yn-ipdlg .ui-dialog-buttonpane .ui-dialog-buttonset { float: none; }
.yn-ipdlg .ui-dialog-buttonpane button { width: 100%; height: 48px; margin: 0; border: 0; border-radius: 14px; background: var(--yn-surface); color: var(--yn-ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.yn-ipdlg .ui-dialog-buttonpane button:hover { background: var(--yn-line); }
.yn-ipform { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--yn-ink-2); }
.yn-ipform p { margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--yn-butter); line-height: 1.6; }
.yn-ipform p b { color: var(--yn-ink); font-variant-numeric: tabular-nums; }
.yn-ipform .ip_list { display: flex; flex-direction: column; gap: 6px; }
.yn-ipform .ip_list > div:not(.ip_item) { padding: 12px 0; text-align: center; color: var(--yn-ink-3); }
.yn-ipform .ip_item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 12px; background: var(--yn-surface); }
.yn-ipform .ip_text { font-size: 15px; font-weight: 700; color: var(--yn-ink); font-variant-numeric: tabular-nums; }
.yn-ipform__add { display: flex; gap: 8px; align-items: center; }
.yn-ipform .new_ip { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--yn-line-strong, #c9ced6); border-radius: 12px; font: inherit; font-size: 15px; color: var(--yn-ink); }
.yn-ipform .new_ip:focus { outline: none; border-color: var(--yn-ink); box-shadow: 0 0 0 3px rgba(255, 216, 10, .6); }
.yn-ipform .add_btn, .yn-ipform .delete_btn { flex: none; height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--yn-ink); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.yn-ipform .delete_btn { height: 34px; padding: 0 12px; background: #fff; color: var(--yn-ink-2); border: 1px solid var(--yn-line); }
.yn-ipform .delete_btn:hover { border-color: #EC4000; color: #EC4000; }
.yn-ipform .add_btn:disabled { opacity: .6; }

/* ---------- 푸터 ---------- */
/* 푸터 스타일은 css/yn_footer.css 로 옮겼습니다 (모든 페이지 공통 푸터). */

/* =========================================================================
   반응형
   ========================================================================= */
@media (max-width: 1180px) {
  .yn-top, .yn-quickrow, .yn-split { grid-template-columns: minmax(0, 1fr); }
  .yn-finder__opts { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .yn-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yn-why { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .yn-story { height: auto; }
}

@media (max-width: 760px) {
  :root { --yn-r-lg: 26px; }
  .yn-top { margin-top: 8px; gap: 16px; }
  .yn-slide { grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; padding: 32px 24px 88px; align-items: start; align-content: start; }
  .yn-slide__desc { font-size: 15px; }
  .yn-slide__points { gap: 10px; margin-top: 18px; }
  .yn-slide__points strong { font-size: 15px; }
  .yn-slide__points div > span { font-size: 13px; }
  .yn-slide__actions .yn-btn { flex: 1 1 auto; }
  .yn-slide__visual { justify-content: flex-start; }
  .yn-demo, .yn-bands, .yn-lookup { max-width: none; }
  .yn-hero__ctrl { left: 24px; bottom: 24px; }
  .yn-hero__side { display: none; }
  .yn-hero__ctrl { padding-left: 4px; }
  .yn-hero__btn--step { display: inline-flex; }
  .yn-slide { padding-left: 24px; padding-right: 24px; }
  .yn-slide--photo { background-position: 70% top; }
  /* 좁은 화면: 제목·설명·칩 → (빈 공간) → 인물 → 5px → 버튼 → 넘기기 바 순서로 세로 배치 */
  .yn-slide--photo { display: flex; flex-direction: column; gap: 0; }
  .yn-slide--photo .yn-slide__copy { display: contents; }
  .yn-slide--photo .yn-slide__actions { order: 3; margin-top: 0; }
  .yn-slide__person { position: static; order: 2; margin-top: auto; padding-top: 16px; margin-bottom: 5px; height: var(--person-size-m, 260px); max-width: 100%; align-self: center; justify-content: center; }
  .yn-slide__person picture, .yn-slide__person img { object-position: center bottom; }
  .yn-finder { padding: 26px 20px 20px; }
  .yn-finder__opts { grid-template-columns: minmax(0, 1fr); }

  .yn-quickrow { gap: 16px; margin-top: 16px; }
  .yn-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; padding: 18px 8px; }
  .yn-quick__ico { width: 56px; height: 56px; }
  .yn-quick a { font-size: 13px; }

  .yn-section { margin-top: 40px; } /* 예전 64px */
  .yn-cards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--yn-gutter);
    margin-inline: calc(var(--yn-gutter) * -1); padding: 4px var(--yn-gutter) 12px;
    scrollbar-width: none;
  }
  .yn-cards::-webkit-scrollbar { display: none; }
  .yn-card { scroll-snap-align: start; }
  .yn-body a.yn-card__link:hover { transform: none; }

  .yn-strip { justify-content: flex-start; text-align: left; padding: 16px 20px; }
  .yn-strip .yn-btn { width: 100%; }
  .yn-why__list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .yn-tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .yn-tiles a { min-height: 0; flex-direction: row; align-items: center; gap: 16px; padding: 20px; flex-wrap: wrap; }
  .yn-tiles strong { margin-top: 0; font-size: 18px; flex: 1; }
  .yn-tiles span:not([class]) { width: 100%; margin-top: -8px; padding-left: 68px; font-size: 14px; }
  .yn-board { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .yn-modal { padding: 0; align-items: flex-end; }
  .yn-modal__panel { max-height: 92dvh; border-radius: 24px 24px 0 0; }
  .yn-modal__head { padding: 18px 20px; }
  .yn-modal__body { padding: 16px 20px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .yn-body *, .yn-body *::before, .yn-body *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- 빠른 메뉴 (include/yn_dock.inc.php): 당직자 상담요청 · 회원가입 · 로그인 · MY서비스 · 결제하기 ---------- */
.yn-dock { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; animation: yn-rise .5s var(--yn-ease) .3s backwards; }
.yn-dock__item { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 7px 18px 7px 7px; border: 0; border-radius: 999px; background: var(--yn-ink); color: #fff !important; font: inherit; text-align: left; text-decoration: none !important; cursor: pointer; box-shadow: 0 14px 32px -12px rgba(20, 23, 28, .55); transition: transform .25s var(--yn-ease), box-shadow .25s; }
.yn-dock__item:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -12px rgba(20, 23, 28, .6); }
.yn-dock__item:focus-visible { outline: 3px solid var(--yn-yellow); outline-offset: 3px; }
.yn-dock__ico { display: flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--yn-yellow); color: var(--yn-ink); }
.yn-dock__ico .yn-ico { width: 21px; height: 21px; }
.yn-dock__txt { display: flex; flex-direction: column; line-height: 1.3; }
.yn-dock__txt small { font-size: 12px; font-weight: 600; color: var(--yn-yellow); }
.yn-dock__txt b { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.yn-dock__short { display: none; }
/* 당직자 상담요청: 다른 버튼(검정+노란 아이콘)과 반대로 노란 바탕+검정 아이콘, '지금 상담 가능' 초록 점 */
.yn-dock__item--duty { min-height: 58px; padding-right: 20px; background: var(--yn-yellow); color: var(--yn-ink) !important; box-shadow: 0 14px 32px -12px rgba(180, 140, 0, .6), 0 0 0 2px var(--yn-ink) inset; }
.yn-dock__item--duty .yn-dock__ico { position: relative; width: 44px; height: 44px; background: var(--yn-ink); color: var(--yn-yellow); }
.yn-dock__item--duty .yn-dock__ico .yn-ico { width: 24px; height: 24px; }
.yn-dock__item--duty .yn-dock__txt small { color: var(--yn-ink-2); }
.yn-dock__item--duty .yn-dock__txt b { font-size: 16px; }
.yn-dock__live { position: absolute; top: 0; right: 0; width: 12px; height: 12px; border: 2px solid var(--yn-yellow); border-radius: 50%; background: #12a15e; }
.yn-dock__live::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; background: #12a15e; animation: yn-dock-live 1.8s ease-out infinite; }
@keyframes yn-dock-live { from { transform: scale(1); opacity: .7; } to { transform: scale(2.4); opacity: 0; } }
.yn-dock__item--duty:focus-visible { outline-color: var(--yn-ink); }

/* 하단 바 (앱 하단 메뉴처럼): yn-dock--bar 클래스는 yn_dock.inc.php 스크립트가 붙임
   - 화면 760px 이하: 항상
   - 그 밖에도 오른쪽 아래 버튼이 본문을 침범하는 순간 (메인 포함) */
.yn-dock.yn-dock--bar { left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto; flex-direction: row; align-items: stretch; gap: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); border-radius: 18px 18px 0 0; background: var(--yn-ink); box-shadow: 0 -10px 30px -16px rgba(20, 23, 28, .6); }
.yn-dock--bar .yn-dock__item, .yn-dock--bar .yn-dock__item--duty { flex: 1 1 0; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; min-height: 56px; padding: 6px 4px; border-radius: 12px; box-shadow: none; text-align: center; }
.yn-dock--bar .yn-dock__item:hover { transform: none; box-shadow: none; background: rgba(255, 255, 255, .08); }
.yn-dock--bar .yn-dock__item--duty, .yn-dock--bar .yn-dock__item--duty:hover { background: var(--yn-yellow); box-shadow: none; } /* 바 안에서도 노란 칸으로 구별 */
.yn-dock--bar .yn-dock__live { width: 10px; height: 10px; top: -1px; right: -1px; }
.yn-dock--bar .yn-dock__ico, .yn-dock--bar .yn-dock__item--duty .yn-dock__ico { width: 30px; height: 30px; }
.yn-dock--bar .yn-dock__ico .yn-ico, .yn-dock--bar .yn-dock__item--duty .yn-dock__ico .yn-ico { width: 18px; height: 18px; }
.yn-dock--bar .yn-dock__txt small { display: none; }
.yn-dock--bar .yn-dock__txt b, .yn-dock--bar .yn-dock__item--duty .yn-dock__txt b { font-size: 12px; font-weight: 700; }
body:has(.yn-dock--bar) { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); } /* 바가 푸터를 가리지 않게 */
@media (max-width: 760px) {
  .yn-dock.yn-dock--bar { max-width: none; }
  .yn-dock--bar .yn-dock__long { display: none; }
  .yn-dock--bar .yn-dock__short { display: inline; }
}
@media (prefers-reduced-motion: reduce) { .yn-dock, .yn-dock__item, .yn-dock__live::after { animation: none; transition: none; } }

/* ---------- 청춘IP 서비스: 카드 4개 폭을 위 퀵메뉴 줄과 맞추고 오른쪽에 이벤트 배너 ---------- */
.yn-svcrow { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(300px, 1fr); gap: 24px; align-items: stretch; } /* .yn-quickrow 와 같은 비율 */
.yn-svcrow .yn-cards { gap: 12px; }
.yn-svc-pop { display: flex; align-items: center; justify-content: center; border-radius: var(--yn-r-lg); overflow: hidden; border: 1px solid var(--yn-line); background: #fff; /* 이미지의 흰 테두리와 이어지게 */ transition: transform .25s var(--yn-ease), box-shadow .25s var(--yn-ease); }
.yn-svc-pop img { display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.yn-svc-pop:hover { transform: translateY(-3px); box-shadow: var(--yn-shadow-lift); }
@media (max-width: 1180px) {
  .yn-svcrow { grid-template-columns: minmax(0, 1fr); }
  .yn-svc-pop { justify-self: center; width: 100%; max-width: 420px; }
}
/* 메인 서비스 카드 4개: 폭이 좁아진 만큼 안쪽 여백·빈 공간 줄임 */
.yn-svcrow .yn-card__link { padding: 20px 18px 18px; border-radius: 22px; }
.yn-svcrow .yn-card__head { margin-top: 12px; font-size: 19px; }
.yn-svcrow .yn-card__desc { min-height: 0; margin-top: 4px; font-size: 14px; }
.yn-svcrow .yn-price { min-height: 0; margin-top: 14px; }
.yn-svcrow .yn-price__now { font-size: 26px; }
.yn-svcrow .yn-card__meta { padding-top: 12px; font-size: 13px; }
.yn-svcrow .yn-card--split .yn-card__meta { margin-top: 10px; }
.yn-svcrow .yn-card--split .yn-card__pair { padding-top: 10px; }
.yn-svcrow .yn-card__pair a { height: 36px; font-size: 12px; }
/* 배너 이미지가 줄 높이를 늘리지 않게: 높이는 카드에 맞추고 이미지는 그 안에 맞춤 */
.yn-svc-pop { position: relative; min-height: 0; }
.yn-svc-pop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 1180px) {
  .yn-svc-pop { aspect-ratio: 1 / 1; }
}

/* PC·태블릿: 카드 높이를 맞추느라 가격과 아래 할인 문구 사이가 벌어지던 것 → 가격 바로 아래에 붙임 */
.yn-svcrow .yn-card__meta { margin-top: 0; padding-top: 8px; }

/* 상품 아이콘: PC 에서는 숨기고, 휴대폰 목록에서만 보임 */
.yn-card__ico { display: none; }
.yn-tile__ico--lilac { background: var(--yn-lilac); }

/* 휴대폰: '처음이라면 여기서 시작하세요' 타일처럼 아이콘 + 제목 + 설명 세로 목록 */
@media (max-width: 760px) {
  .yn-svcrow { gap: 12px; }
  .yn-svcrow .yn-cards {
    display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-auto-columns: auto;
    gap: 10px; overflow: visible; margin-inline: 0; padding: 0; scroll-snap-type: none;
  }
  .yn-svcrow .yn-card__link {
    display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; align-items: center;
    padding: 18px 20px; border: 0; border-radius: 22px; background: var(--yn-surface);
  }
  .yn-svcrow .yn-card__ico {
    display: flex; align-items: center; justify-content: center; grid-column: 1; grid-row: 1 / span 3;
    align-self: start; width: 52px; height: 52px; border-radius: 16px; color: var(--yn-ink);
  }
  .yn-svcrow .yn-card__ico .yn-ico { width: 26px; height: 26px; }
  .yn-svcrow .yn-tags, .yn-svcrow .yn-card__meta, .yn-svcrow .yn-price del { display: none; }
  .yn-svcrow .yn-card__head, .yn-svcrow .yn-card__desc, .yn-svcrow .yn-price { grid-column: 2; }
  .yn-svcrow .yn-card__head { margin-top: 0; font-size: 18px; }
  .yn-svcrow .yn-card__desc { margin-top: 2px; font-size: 14px; }
  .yn-svcrow .yn-price { margin-top: 6px; gap: 0 6px; }
  .yn-svcrow .yn-price__now { font-size: 17px; line-height: 1.3; }
  .yn-svcrow .yn-price__tag { font-size: 12px; }
  .yn-svcrow .yn-roll { font-size: 12px; }
  .yn-svcrow .yn-price__now small { font-size: .7em; }
  .yn-svcrow .yn-card__pair { grid-column: 1 / -1; margin-top: 14px; padding-top: 0; }
  .yn-svcrow .yn-card__pair a { height: 40px; background: #fff; font-size: 13px; }
  .yn-body .yn-svcrow a.yn-card__link:hover { box-shadow: none; background: #e9ecf1; }
}

/* ---------- 이벤트 배너 (A안): 그림 자체의 흰 여백·테두리는 잘라내고, 그림 바탕색과 같은 어두운 카드로 ----------
   그림(popup_20260922.png 410×449)에서 검은 본문은 x 24~397, y 15~434 (테두리선이 남지 않게 x 26~394, y 17~431 만 보이게) → 아래 % 값은 그 영역만 보이게 하는 값.
   이벤트 그림을 바꾸면 이 % 값도 새 그림에 맞춰야 함. */
.yn-svc-pop { position: relative; display: block; border: 0; background: #1c1818; color: #fff; }
.yn-svc-pop__img { position: absolute; top: 0; bottom: 0; left: 50%; height: 100%; aspect-ratio: 368 / 414; transform: translateX(-50%); overflow: hidden; }
.yn-svc-pop .yn-svc-pop__img img { position: absolute; inset: auto; top: -4.11%; left: -7.07%; width: 111.41%; height: 108.45%; max-width: none; max-height: none; object-fit: fill; }
.yn-svc-pop__txt, .yn-svc-pop__go { display: none; }
.yn-body a.yn-svc-pop:hover { text-decoration: none; }

/* 태블릿·휴대폰: 카드 아래 가로로 긴 배너 카드 (왼쪽 그림 썸네일 + 문구) */
@media (max-width: 1180px) {
  .yn-svc-pop { display: flex; align-items: center; gap: 18px; justify-self: stretch; width: auto; max-width: none; aspect-ratio: auto; padding: 0 22px 0 0; border-radius: 22px; overflow: hidden; }
  .yn-svc-pop__img { position: relative; top: auto; bottom: auto; left: auto; flex: none; width: 128px; height: auto; transform: none; }
  .yn-svc-pop__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex: 1; min-width: 0; padding-block: 16px; }
  .yn-svc-pop__tag { padding: 3px 8px; border-radius: 6px; background: #e5484d; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
  .yn-svc-pop__txt strong { margin-top: 4px; font-size: 21px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.25; color: #3ddc84; }
  .yn-svc-pop__sub { font-size: 14px; color: #c9ced6; }
  .yn-svc-pop__go { display: inline-flex; align-items: center; gap: 2px; flex: none; height: 40px; padding: 0 12px 0 16px; border-radius: 999px; background: var(--yn-yellow); color: var(--yn-ink); font-size: 14px; font-weight: 800; white-space: nowrap; }
  .yn-svc-pop__go .yn-ico { width: 16px; height: 16px; }
}
@media (max-width: 760px) {
  .yn-svc-pop { gap: 14px; padding-right: 16px; }
  .yn-svc-pop__img { width: 96px; }
  .yn-svc-pop__txt { padding-block: 14px; }
  .yn-svc-pop__txt strong { font-size: 18px; }
  .yn-svc-pop__sub { font-size: 13px; }
  .yn-svc-pop__go { width: 36px; height: 36px; padding: 0; justify-content: center; font-size: 0; } /* 좁은 화면은 화살표 동그라미만 */
  .yn-svc-pop__go .yn-ico { width: 18px; height: 18px; }
}

/* [2026-11-24] 1번 배너 제목 Read along (js/yn_read_along.js): 파란 알약이 단어 뒤를 지나가고, 읽은 단어는 진하게
   원본 designbookmark read-along 의 read.css 를 이 사이트 색·글꼴로 */
.yn-ra { position: relative; }
/* 흐린 글씨는 스크립트가 돌 때만(.is-on). 스크립트가 못 돌면 원래 진한 제목 그대로 */
.yn-ra__w { position: relative; z-index: 1; transition: color .18s ease; }
.yn-ra.is-on .yn-ra__w { color: rgba(20, 23, 28, .34); }
.yn-ra.is-on .yn-ra__w.is-past { color: var(--yn-ink); }
.yn-ra.is-on .yn-ra__w.is-now { color: #fff; }
.yn-ra__pill { position: absolute; left: 0; top: 0; height: 1.3em; border-radius: .34em; background: var(--yn-blue); opacity: 0; will-change: transform, width, opacity; pointer-events: none; }

/* [2026-11-24] '어디에 쓰실 IP인가요?' 용도별 색
   - 평소: 원래 회색
   - 고르면: 그 칸만 옅은 색 바탕 + 테두리·글씨·동그라미가 진한 색, 아래 추천 칸(옅은 색)과 '자세히 보기' 버튼(진한 색)도 같은 색으로 바뀜
   색: --t(진한 색) / --t-on(--t 위 글씨, 대비 4.5:1 이상) / --t-soft(옅은 바탕) / --t-ink(옅은 바탕 위 글씨) / --t-line(테두리·동그라미) */
[data-tone] { --t-on: #fff; --t-line: var(--t); }
[data-tone="blue"]   { --t: #1a64e0; --t-soft: #e3effc; --t-ink: #1450b8; }
[data-tone="amber"]  { --t: var(--yn-yellow); --t-on: var(--yn-ink); --t-line: #d99a00; --t-soft: #fff3cc; --t-ink: #8a4b00; } /* 노랑은 사이트 노란색 버튼 + 검은 글씨 */
[data-tone="rose"]   { --t: #c42f55; --t-soft: #fde6ec; --t-ink: #a3203f; }
[data-tone="violet"] { --t: #6a3fd0; --t-soft: #efe9ff; --t-ink: #5530b0; }
[data-tone="green"]  { --t: #11805a; --t-soft: #ddf4ea; --t-ink: #0c6a4a; }
/* 고르기 전·안 고른 칸은 원래 회색 그대로. 고른 칸만 색 (다른 칸을 누르면 이전 칸은 회색으로 돌아감) */
.yn-opt[data-tone] input:checked + span { background: var(--t-soft); border-color: var(--t-line); color: var(--t-ink); font-weight: 800; box-shadow: 0 0 0 3px color-mix(in srgb, var(--t-line) 18%, transparent); }
.yn-opt[data-tone] input:checked + span::after { border-color: var(--t-line); box-shadow: inset 0 0 0 4px var(--yn-white), inset 0 0 0 10px var(--t-line); }
.yn-opt[data-tone] input:focus-visible + span { outline-color: var(--t-line); }
/* 고른 뒤: 추천 칸 + 자세히 보기 버튼 */
.yn-finder[data-tone] .yn-finder__pick:not(.is-empty) { background: var(--t-soft); box-shadow: inset 4px 0 0 var(--t-line); }
.yn-finder[data-tone] .yn-finder__pick:not(.is-empty) strong { color: var(--t-ink); }
.yn-finder[data-tone] [data-pick-go] { background: var(--t); border-color: var(--t); color: var(--t-on) !important; transition: background-color .25s var(--yn-ease); }
.yn-finder[data-tone] [data-pick-go]:hover { background: color-mix(in srgb, var(--t) 85%, #000); }
/* 프록시: 버튼 2개 (프록시 고정 > / 프록시 유동 >) — 같은 초록 */
.yn-finder__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.yn-finder__pair[hidden], [data-pick-go][hidden] { display: none; }
.yn-finder__pair .yn-btn { gap: 4px; padding: 0 12px; }
.yn-finder__pair .yn-ico { width: 18px; height: 18px; }
.yn-finder[data-tone] .yn-finder__pair .yn-btn { background: var(--t); border-color: var(--t); color: var(--t-on) !important; }
.yn-finder[data-tone] .yn-finder__pair .yn-btn:hover { background: color-mix(in srgb, var(--t) 85%, #000); }

/* [2026-11-24] 메인 친절센터 배너 등장 (data-rise, js/youngip_new.js) — 스크롤해서 보이면 위 20px 에서 내려오며 0.5초 easeOut */
[data-rise].is-wait { opacity: 0; transform: translateY(-20px); }
[data-rise].is-in { animation: yn-strip-in .5s cubic-bezier(0, 0, .58, 1) backwards; }
@keyframes yn-strip-in { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes yn-strip-fade { from { opacity: 0; } to { opacity: 1; } }
/* '동작 줄이기' 기기: 위아래 움직임 없이 0.5초 동안 나타나기만 */
@media (prefers-reduced-motion: reduce) {
  [data-rise].is-wait { transform: none; }
  .yn-body [data-rise].is-in { animation-name: yn-strip-fade; animation-duration: .5s !important; }
}
/* [2026-11-24] 키 작은 휴대폰(높이 740px 이하): 용도를 고르면 제목부터 버튼·전화번호까지 한 화면에 들어오게 간격만 줄임 */
@media (max-width: 760px) and (max-height: 740px) {
  .yn-finder { padding: 18px 18px 16px; }
  .yn-finder__sub { margin-top: 2px; }
  .yn-finder__opts { gap: 6px; margin-top: 12px; }
  .yn-opt span { min-height: 40px; font-size: 14px; }
  .yn-finder__result { padding-top: 12px; }
  .yn-finder__pick { margin-bottom: 8px; padding: 8px 14px; }
  .yn-finder__result .yn-btn { min-height: 44px; }
  .yn-finder__call { gap: 4px; margin-top: 8px; font-size: 13px; }
  .yn-finder__call b { min-height: 44px; font-size: 18px; }
}

/* [2026-11-24] 다량 구매·상담 배너 공용 (include/yn_bulk.inc.php — 메인, VPN 고정·유동·통신사, 프록시 고정·유동) (A안 + B안): 어두운 남색 바탕 + 노란 강조, 전화기 아이콘만 4초마다 짧게 흔들림
   (예전 '떨어지는 애니메이션'은 뺌. '동작 줄이기' 기기는 사이트 전체 규칙으로 아이콘도 멈춰 있음) */
.ym-bulk { display: flex; align-items: center; gap: 20px 28px; margin-top: 20px; padding: 22px 28px; border-radius: 22px; background: #13213f; color: #fff; }
.ym-bulk__num { flex: none; display: flex; align-items: baseline; gap: 2px; font-size: 18px; font-weight: 800; color: var(--yn-yellow); letter-spacing: -0.02em; white-space: nowrap; }
.ym-bulk__num b { font-size: 52px; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ym-bulk__num b.is-word { font-size: 32px; letter-spacing: -0.03em; } /* 숫자 대신 글자(메인 '친절센터') */
.ym-bulk__copy { flex: 1; min-width: 0; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .18); }
.ym-bulk__copy strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.ym-bulk__copy p { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.ym-bulk__copy small { font-size: 12px; color: rgba(255, 255, 255, .6); }
.ym-bulk__tel { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.ym-bulk__call { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--yn-yellow); font-size: 17px; font-weight: 800; color: var(--yn-ink) !important; transition: transform .2s var(--yn-ease), background-color .2s; }
.yn-body a.ym-bulk__call:hover { text-decoration: none; background: #ffe44d; transform: translateY(-2px); }
.ym-bulk__call .yn-ico { width: 20px; height: 20px; transform-origin: 50% 60%; animation: ym-ring 4s ease-in-out 1s infinite; }
/* 따르릉: 4초 중 앞 0.6초만 좌우로 흔들고 나머지는 가만히 */
@keyframes ym-ring {
  0%, 15%, 100% { transform: rotate(0); }
  2% { transform: rotate(-16deg); } 4% { transform: rotate(14deg); } 6% { transform: rotate(-12deg); }
  8% { transform: rotate(10deg); } 10% { transform: rotate(-6deg); } 12% { transform: rotate(4deg); }
}
.ym-bulk__tel { white-space: nowrap; }
@media (max-width: 760px) {
  /* 휴대폰: '10개 이상' 위, 문구 아래, 버튼 맨 아래로 세로 배치 */
  .ym-bulk { flex-direction: column; align-items: flex-start; padding: 22px 20px 20px; gap: 10px; }
  .ym-bulk__num b { font-size: 44px; }
  .ym-bulk__copy { padding-left: 0; border-left: 0; }
  .ym-bulk__copy strong { font-size: 20px; }
  .ym-bulk__copy small { display: block; margin-top: 2px; }
  .ym-bulk__call { width: 100%; margin-top: 6px; }
}
/* [2026-11-24] 윈도우 '애니메이션 효과'를 꺼 둔 PC(크롬·웨일)에서도 전화기 아이콘은 흔들리게 — 사이트 전체 '동작 줄이기' 규칙(0.01ms·1회)보다 우선 */
@media (prefers-reduced-motion: reduce) {
  .yn-body .ym-bulk__call .yn-ico { animation-duration: 4s !important; animation-iteration-count: infinite !important; }
}

/* [2026-11-24] PC 에서 '전화 상담'(data-pc-call)을 누르면 전화 대신 상담 안내 창 (js/youngip_new.js) */
.yn-calldlg { width: min(380px, calc(100% - 32px)); padding: 28px 24px 22px; border: 0; border-radius: 24px; text-align: center; color: var(--yn-ink); box-shadow: var(--yn-shadow); }
.yn-calldlg::backdrop { background: rgba(20, 23, 28, .5); }
.yn-calldlg__lead { font-size: 15px; font-weight: 700; color: var(--yn-ink-2); }
.yn-calldlg__num { display: block; margin-top: 6px; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.yn-calldlg__time { margin-top: 2px; font-size: 13px; color: var(--yn-ink-3); }
.yn-calldlg__btns { display: grid; gap: 8px; margin-top: 18px; }
.yn-calldlg__btns .yn-btn { width: 100%; }
.yn-calldlg__done { min-height: 18px; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--yn-green); }
[data-rise].ym-bulk { margin-top: 40px; } /* 메인: 예전 띠 배너와 같은 위 간격 */

/* [2026-11-24] 메인 VPN 고정IP 카드 가격 숫자 내려가기 (data-countdown) — 조건 문구 + 할인된 숫자는 빨간색 */
.yn-price__cond { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--yn-surface); font-size: 12px; font-weight: 700; color: var(--yn-ink-2); white-space: nowrap; }
[data-countdown].is-deal { color: #e0322d; transition: color .3s; }
[data-countdown].is-deal ~ .yn-price__cond { background: #fde8e8; color: #c62520; }
.yn-price__cond.is-pop { animation: yn-cond-pop .35s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes yn-cond-pop { from { transform: scale(.8); opacity: .3; } to { transform: scale(1); opacity: 1; } }
[data-countdown-num] { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .yn-body .yn-price__cond.is-pop { animation-duration: .35s !important; } }
/* [2026-11-24] 7,650 다음 5초: 숫자가 아래로 미끄러지며 사라지고 다시 나타나기 반복 + ↓ 통통 (js/youngip_new.js spin) */
.yn-fall { display: inline-block; animation: yn-fall .9s cubic-bezier(.5, 0, .75, 0) infinite; }
@keyframes yn-fall { 0% { transform: translateY(-.35em); opacity: 0; } 25% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(.45em); opacity: 0; } }
.yn-fall__arrow { display: inline-block; margin-left: 2px; font-size: .75em; animation: yn-fall-arrow .9s ease-in-out infinite; }
@keyframes yn-fall-arrow { 0%, 100% { transform: translateY(-.1em); } 50% { transform: translateY(.2em); } }
/* '애니메이션 효과'를 꺼 둔 PC 에서도 움직이게 (사이트 전체 0.01ms 규칙보다 우선) */
@media (prefers-reduced-motion: reduce) { .yn-body .yn-fall, .yn-body .yn-fall__arrow { animation-duration: .9s !important; animation-iteration-count: infinite !important; } }
/* [2026-11-24] 메인 서비스 카드 중 프록시(.yn-card--split): '프록시 지원프로그램에서 사용' 한 줄로 + 'HTTP / HTTPS 방식 IP' 를 가격 바로 아래로 붙임 → 카드 높이 줄어듦 */
.yn-svcrow .yn-card--split .yn-card__desc { white-space: nowrap; letter-spacing: -0.04em; }
.yn-svcrow .yn-card--split .yn-card__meta { margin-top: 0; }
/* 화면 폭 1181~1339px 에서는 카드가 좁아 14px 로는 한 줄에 안 들어감 → 카드 폭에 맞춰 글씨만 살짝 작게 (1280px 에서 약 13px, 1181px 에서 약 11.7px) */
.yn-svcrow .yn-card--split .yn-card__link { container-type: inline-size; }
.yn-svcrow .yn-card--split .yn-card__desc { font-size: min(14px, calc(100cqi / 11.2)); } /* 100cqi = 카드 안쪽 폭(여백 제외) */
/* 같은 이유로 제목 'PROXY 고정 / 유동IP' 도 한 줄 (1280px 에서 두 줄로 내려가 카드가 커지던 것) — 데스크톱 카드 크기에서만 (휴대폰 목록은 원래대로) */
@media (min-width: 761px) {
  .yn-svcrow .yn-card--split .yn-card__head { white-space: nowrap; font-size: min(19px, calc(100cqi / 8.45)); }
}

/* [2026-11-24] 메인 '청춘IP 서비스' 오른쪽 보안 배너 (.yn-sec) — 사진 + HTML 글자, 반응형
   바탕색 #1d1818 = 사진 바탕색 그대로(사진 가장자리가 티 나지 않게)
   PC(1181px~): 카드 줄 높이에 맞춘 세로 배너, 글자 왼쪽 위 / 사람 오른쪽 아래
   태블릿(~1180px): 카드 아래 가로 띠, 글자 왼쪽 / 사람 오른쪽
   휴대폰(~760px): 높이 줄이고 글자 작게 */
.yn-sec { position: relative; display: block; min-height: 0; overflow: hidden; border-radius: var(--yn-r-lg); background: #1d1818; color: #fff; isolation: isolate; transition: transform .25s var(--yn-ease), box-shadow .25s var(--yn-ease); }
.yn-body a.yn-sec:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--yn-shadow-lift); }
.yn-sec__img { position: absolute; right: -6%; bottom: 0; height: 100%; width: auto; max-width: none; z-index: -1; }
/* 글자 쪽이 사진 위에서도 읽히게 왼쪽에서 오른쪽으로 옅어지는 어둠 */
.yn-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #1d1818 0%, rgba(29, 24, 24, .85) 38%, rgba(29, 24, 24, 0) 62%); pointer-events: none; }
.yn-sec__copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 28px 24px 22px; }
.yn-sec__t1 { font-size: clamp(30px, 2.6vw, 40px); font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; }
.yn-sec__t2 { font-size: clamp(54px, 4.8vw, 72px); font-weight: 900; line-height: 1; letter-spacing: -0.05em; color: #3ddc84; text-shadow: 0 0 22px rgba(61, 220, 132, .35); }
/* [2026-11-24] 문구 '보안? 청춘IP와 함께라면 언제든 안심' */
.yn-sec__with { margin-top: 8px; font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; color: rgba(255, 255, 255, .88); letter-spacing: -0.02em; }
.yn-sec__t2 small { font-size: .34em; font-weight: 800; color: #fff; text-shadow: none; letter-spacing: -0.02em; vertical-align: .12em; }
.yn-sec__pill { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); font-size: 14px; font-weight: 700; white-space: nowrap; }
.yn-sec__pill .yn-ico { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: #fff; color: #1d1818; }
.yn-sec__pill b { font-weight: 900; color: var(--yn-yellow); }
.yn-sec__more { display: none; }
@media (max-width: 1180px) {
  .yn-sec__more { position: absolute; left: 34%; right: 30%; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
  .yn-sec__go { display: inline-flex; align-items: center; gap: 2px; height: 40px; padding: 0 12px 0 16px; border-radius: 999px; background: var(--yn-yellow); color: var(--yn-ink); font-size: 14px; font-weight: 800; white-space: nowrap; }
  .yn-sec__go .yn-ico { width: 16px; height: 16px; }
  .yn-sec { justify-self: stretch; width: auto; max-width: none; aspect-ratio: auto; height: 210px; }
  .yn-sec__img { right: 4%; height: 112%; bottom: -6%; }
  .yn-sec::before { background: linear-gradient(90deg, #1d1818 0%, #1d1818 45%, rgba(29, 24, 24, 0) 70%); }
  .yn-sec__copy { justify-content: center; padding: 22px 28px; }
  .yn-sec__t1 { font-size: 34px; }
  .yn-sec__t2 { font-size: 60px; }
  .yn-sec__pill { margin-top: 14px; }
}
@media (max-width: 760px) {
  .yn-sec__more { display: none; }
  .yn-sec { height: 168px; border-radius: 22px; }
  .yn-sec__img { right: -4%; height: 118%; bottom: -10%; }
  .yn-sec::before { background: linear-gradient(90deg, #1d1818 0%, #1d1818 40%, rgba(29, 24, 24, 0) 72%); }
  .yn-sec__copy { padding: 16px 18px; }
  .yn-sec__t1 { font-size: 24px; }
  .yn-sec__with { margin-top: 4px; font-size: 13.5px; }
  .yn-sec__t2 { font-size: 40px; }
  .yn-sec__pill { margin-top: 10px; padding: 6px 12px 6px 8px; font-size: 12.5px; }
  .yn-sec__pill .yn-ico { width: 16px; height: 16px; }
}

/* [2026-11-24] 당직 시간: '어디에 쓰실 IP인가요?' 아래 전화 버튼이 '당직자 상담연결'로 바뀌어도 위 '서비스 한눈에 보기' 버튼과 같은 폭·모양 */
a.yn-finder__call.yn-duty-call { display: flex !important; justify-content: center !important; width: 100%; min-height: 56px; margin-top: 12px; padding: 6px 18px; border: 1.5px solid var(--yn-ink); border-radius: 999px; background: #fff; color: var(--yn-ink); font-size: 14px; transition: background-color .2s, color .2s; }
a.yn-finder__call.yn-duty-call .yn-duty-call__txt b { display: inline; width: auto; min-height: 0; border: 0; border-radius: 0; background: none; font-size: 18px; color: inherit; }
.yn-body a.yn-finder__call.yn-duty-call:hover { background: var(--yn-ink); color: #fff; text-decoration: none; }
.yn-body a.yn-finder__call.yn-duty-call:hover .yn-duty-call__txt b { background: none; color: inherit; }
@media (max-width: 760px) and (max-height: 740px) { a.yn-finder__call.yn-duty-call { min-height: 50px; margin-top: 8px; } }

/* [2026-11-27] 메인: 1줄 = 서비스 카드 + 로그인(카드 높이만큼), 2줄 = 바로가기 + 보안 배너(바로가기 높이에 맞춤) */
.yn-svcrow--top { margin-top: 24px; }
.yn-svcrow--top .yn-login { display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1181px) {
  /* 배너 내용이 줄 높이를 키우지 않게 → 바로가기 상자 높이(약 150px)를 따라감. 글자는 3줄로: '보안? 청춘IP와 함께라면' / '언제든 안심' / 알약 */
  .yn-quickrow--sec .yn-sec { contain: size; }
  .yn-quickrow--sec .yn-sec__copy { display: grid; grid-template-columns: auto 1fr; align-content: center; justify-items: start; column-gap: 8px; row-gap: 4px; padding: 12px 20px; }
  .yn-quickrow--sec .yn-sec__t1 { grid-column: 1; font-size: 26px; }
  .yn-quickrow--sec .yn-sec__with { grid-column: 2; align-self: end; margin: 0 0 2px; font-size: 14px; }
  .yn-quickrow--sec .yn-sec__t2 { grid-column: 1 / -1; font-size: 46px; }
  .yn-quickrow--sec .yn-sec__pill { grid-column: 1 / -1; margin-top: 2px; padding: 5px 11px 5px 7px; font-size: 12.5px; }
  .yn-quickrow--sec .yn-sec__pill .yn-ico { width: 16px; height: 16px; }
  /* 인물을 크게(상반신 가까이) + 글자 끝(약 182px)과 배너 오른쪽 끝의 가운데로. 그림 폭 = 높이의 0.747배 */
  .yn-quickrow--sec .yn-sec__img { height: 175%; bottom: -72%; right: calc((100% - 182px) / 2 - 97px); }
}
@media (max-width: 1180px) {
  .yn-svcrow--top .yn-login { order: -1; } /* 한 줄로 쌓이면 로그인 → 카드 */
}
/* 휴대폰: 로그인 전에는 [로그인하기] 버튼 + 그 아래 작은 회원가입 (index.php .yn-login__m) */
.yn-login__m { display: none; }
@media (max-width: 760px) {
  .yn-svcrow--top .yn-login:has(.yn-login__m) { padding: 16px; }
  .yn-svcrow--top .yn-login:has(.yn-login__m) > .yn-login__title,
  .yn-svcrow--top .yn-login:has(.yn-login__m) > .yn-login__form,
  .yn-svcrow--top .yn-login:has(.yn-login__m) > .yn-login__links { display: none; }
  .yn-login__m { display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .yn-login__m .yn-btn { width: 100%; height: 52px; font-size: 16px; }
  .yn-login__m-join { font-size: 13px; color: var(--yn-ink-3); text-decoration: underline; text-underline-offset: 3px; }
}

/* [2026-11-27] 메인 로그인 버튼 색 (PC [로그인] · 휴대폰 [로그인하기]) */
.yn-login__form .yn-btn--ink, .yn-login__m .yn-btn--ink { background: #2D80E3; border-color: #2D80E3; color: #fff; }
.yn-body .yn-login__form .yn-btn--ink:hover, .yn-body .yn-login__m .yn-btn--ink:hover { background: #2470CC; border-color: #2470CC; color: #fff; }

/* [2026-11-27] 태블릿·휴대폰 보안 배너도 인물을 크게(상반신 가까이) */
@media (min-width: 761px) and (max-width: 1180px) { .yn-quickrow--sec .yn-sec__img { height: 175%; bottom: -72%; right: 3%; } }
@media (max-width: 760px) { .yn-quickrow--sec .yn-sec__img { height: 175%; bottom: -72%; right: -50px; } }
