/* Wallpaper:LAB 페이지: 아이콘의 금색·분홍·보라 그라데이션에서 가져온 색과 시연 화면. */
.kit--wl {
  --k-bg: #10071a;
  --k-bg-2: #2a1142;
  --k-glow-1: #b8508f;
  --k-glow-2: #d99a45;
  --k-brand: #7a3fc2;
  --k-brand-hover: #8a4fd4;
  --k-frame: rgba(255, 196, 226, 0.1);
  --k-frame-line: rgba(255, 220, 240, 0.12);
  --k-panel-a: #2a1242;
  --k-panel-b: #b0579e;
  --k-band: #4b1f6e;
  --k-foot-a: #1a0b28;
  --k-foot-b: #7a3fc2;
  --k-word: #ffe2b3;
}

/* ── 모니터 틀과 실제 렌더러 ── */
.wl-monitor { position: relative; padding: 12px 12px 0; }
.wl-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #05030a; box-shadow: 0 0 0 10px #17101f, 0 0 0 11px rgba(255, 255, 255, 0.12), 0 60px 120px -40px rgba(0, 0, 0, 0.9); isolation: isolate; }
.wl-poster, .wl-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wl-poster { object-fit: cover; }
.wl-frame { opacity: 0; transition: opacity 0.6s ease; }
.wl-screen.is-live .wl-frame { opacity: 1; }
.wl-loading { position: absolute; z-index: 3; left: 16px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.wl-loading:empty { display: none; }
.wl-stand { display: block; width: 26%; height: 38px; margin: 10px auto 0; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #221731, #140c1d); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset; clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.wl-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.wl-tabs .k-toggle, .wl-controls__tabs .k-toggle { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* 앱의 시스템 정보 표기(LabOverlay)를 그대로 */
.wl-info { position: absolute; z-index: 2; inset: 0; container-type: size; display: grid; place-content: center; text-align: center; color: #fff; font-family: 'Segoe UI', 'Malgun Gothic', 'Pretendard Variable', sans-serif; text-shadow: 0 3px 24px rgba(0, 0, 0, 0.35); pointer-events: none; }
.wl-info__date { font-size: clamp(9px, 2.1cqw, 26px); opacity: 0.85; letter-spacing: 0.05em; }
.wl-info__time { font-size: clamp(32px, 13cqw, 230px); line-height: 1.25; font-weight: 300; letter-spacing: -0.055em; font-variant-numeric: tabular-nums; }
.wl-info__city { font-size: clamp(9px, 1.9cqw, 24px); opacity: 0.9; }
.wl-screen .wl-info { inset: 12% 0 auto; height: 44%; }

/* 효과 카드 */
.wl-screen--card { width: 100%; height: 100%; min-height: 360px; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
@media (min-width: 900px) { .wl-screen--card { min-height: 528px; } }
.wl-controls { display: grid; gap: 14px; width: 100%; }
.wl-controls__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.wl-range { display: grid; grid-template-columns: 5.5em 1fr 2.4em; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--k-ink-2); }
.wl-range output { text-align: right; font-variant-numeric: tabular-nums; color: #fff; }
.wl-range input { width: 100%; height: 28px; margin: 0; background: transparent; accent-color: #f0b35a; cursor: pointer; }
.wl-bgs { display: flex; gap: 10px; }
.wl-bg { width: 108px; padding: 0; border: 2px solid transparent; border-radius: 12px; background: none; overflow: hidden; opacity: 0.7; transition: opacity 0.2s, border-color 0.2s; }
.wl-bg img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.wl-bg:hover { opacity: 1; }
.wl-bg[aria-pressed='true'] { border-color: #fff; opacity: 1; }

/* 배경 갤러리 흐름 */
.wl-wall { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 12px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.wl-wall__col { overflow: hidden; }
.wl-wall__track { display: grid; gap: 12px; animation: wall 90s linear infinite; }
.wl-wall__col:nth-child(2) .wl-wall__track { animation-duration: 110s; animation-direction: reverse; }
.wl-wall__col:nth-child(3) .wl-wall__track { animation-duration: 100s; }
.wl-wall img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.wl-wall:hover .wl-wall__track { animation-play-state: paused; }
@keyframes wall { to { transform: translateY(-50%); } }
.wl-shot { border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14); }
#backgrounds .k-card__panel { min-height: 420px; }

/* 시스템 정보 */
.wl-clockscene { position: absolute; inset: 0; }
.wl-clockscene img { width: 100%; height: 100%; object-fit: cover; }
.wl-clockscene__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), transparent 50%, rgba(0, 0, 0, 0.2)); }
#info .k-card__panel { min-height: 420px; }

/* 다중 모니터 */
.wl-multi { position: relative; width: 100%; display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: end; gap: 10px; }
.wl-mon { margin: 0; }
.wl-mon__screen { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 0 0 5px #17101f, 0 0 0 6px rgba(255, 255, 255, 0.12), 0 24px 40px -16px rgba(0, 0, 0, 0.8); }
.wl-mon--1 .wl-mon__screen { aspect-ratio: 16 / 9.4; }
.wl-mon__screen img { width: 100%; height: 100%; object-fit: cover; transition: object-position 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s; }
.wl-mon__stand { display: block; width: 30%; height: 16px; margin: 6px auto 0; border-radius: 0 0 6px 6px; background: #1c1327; }
.wl-mon__tag { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); font-size: 12px; font-weight: 600; }
.wl-mon__pause { position: absolute; inset: auto 8px 8px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px; border-radius: 8px; background: rgba(12, 8, 18, 0.82); font-size: 11px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s; }
.wl-mon__pause .ico { width: 12px; height: 12px; }
.wl-multi.is-paused .wl-mon--1 .wl-mon__pause { opacity: 1; transform: none; }
.wl-multi.is-paused .wl-mon--1 img { filter: grayscale(0.7) brightness(0.6); }
/* 하나로 펼치기: 세 화면이 한 장의 그림을 나눠 보여 준다 */
.wl-multi[data-multi='span'] .wl-mon__tag { opacity: 0; }

/* 음악 목록 (앱 설정창의 음악 목록 모양) */
.wl-tracks { width: min(100%, 420px); max-height: 460px; display: grid; grid-template-rows: auto 1fr; border-radius: 18px; background: #0f0d12; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); overflow: hidden; font-family: 'Segoe UI', 'Malgun Gothic', 'Pretendard Variable', sans-serif; }
.wl-tracks__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.wl-tracks__head img { width: 36px; height: 36px; border-radius: 9px; }
.wl-tracks__head b { display: block; font-size: 15px; }
.wl-tracks__head span { font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.wl-tracks__list { margin: 0; padding: 6px 8px 10px; list-style: none; overflow: auto; scrollbar-width: thin; scrollbar-color: #3b3246 transparent; }
.wl-tracks__list li { display: grid; grid-template-columns: 2em 1fr auto; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; font-size: 13px; }
.wl-tracks__list li + li { border-top: 1px solid rgba(255, 255, 255, 0.05); }
.wl-tracks__n { color: rgba(255, 255, 255, 0.45); font-variant-numeric: tabular-nums; }
.wl-tracks__s { font-size: 12px; color: rgba(255, 255, 255, 0.4); }
.wl-tracks__list li.is-playable { padding: 0; background: rgba(240, 179, 90, 0.12); }
.wl-tracks__list li.is-playable button { grid-column: 1 / -1; display: grid; grid-template-columns: 2em 1fr auto; align-items: center; gap: 8px; width: 100%; padding: 10px; border: 0; border-radius: 10px; background: none; text-align: left; font-size: 13px; }
.wl-tracks__list li.is-playable button:hover { background: rgba(240, 179, 90, 0.18); }
.wl-tracks__b { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #f0b35a; color: #1a0d05; }
.wl-tracks__b .ico { width: 13px; height: 13px; fill: currentColor; }
.wl-tracks__list li.is-playing .wl-tracks__b { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(240, 179, 90, 0.25); } }

/* 프레임 HUD (렌더러 개발 패널의 표기) */
.wl-hud { width: min(100%, 420px); padding: 24px; border-radius: 22px; background: rgba(8, 12, 20, 0.72); border: 1px solid rgba(140, 230, 255, 0.18); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); font-family: 'Segoe UI', 'Pretendard Variable', sans-serif; }
.wl-hud__row { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.wl-hud__row span { font-size: 12px; letter-spacing: 0.18em; color: rgba(180, 235, 255, 0.7); }
.wl-hud__row strong { font-size: 30px; font-weight: 300; font-variant-numeric: tabular-nums; }
.wl-hud__foot { margin: 14px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.6); }

/* 마지막: 부채꼴 썸네일 */
.fan { height: clamp(160px, 22vw, 280px); align-items: flex-end; }
.fan__item { width: clamp(120px, 18vw, 260px); aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin: 0 calc(clamp(120px, 18vw, 260px) * -0.18); box-shadow: 0 30px 50px rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.16); transform: translateY(calc(var(--a) * 14px)) rotate(calc(var(--n) * 5deg)); transform-origin: 50% 120%; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.fan__item:hover { transform: translateY(calc(var(--a) * 14px - 16px)) rotate(calc(var(--n) * 5deg)); z-index: 2; }
@media (max-width: 640px) { .fan__item:nth-child(1), .fan__item:nth-child(7) { display: none; } }

@media (prefers-reduced-motion: reduce) { .wl-wall__track { animation: none; } }

/* 카드 바깥 틀을 디스코드처럼 한 겹 밝게 */
.kit--wl .k-card { background: linear-gradient(145deg, rgba(255, 196, 226, 0.2), rgba(200, 120, 220, 0.08) 60%, rgba(255, 210, 150, 0.14)); border-color: rgba(255, 220, 240, 0.2); }

/* ── 텀블벅 스토리에서 가져온 구역 ── */
/* 네 가지 분위기: 가리킨 칸이 넓어지고 나머지는 좁아진다 (실제 녹화 영상) */
.wl-moods-sec { padding-block: clamp(40px, 6vw, 96px); }
.wl-moods { display: flex; gap: 12px; height: clamp(360px, 46vw, 620px); }
.wl-mood { position: relative; flex: 1 1 0; min-width: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--k-frame-line); background: #05060f; cursor: pointer; transition: flex-grow 0.7s var(--k-ease), border-color 0.3s; }
.wl-mood.is-on { flex-grow: 3.2; border-color: rgba(255, 255, 255, 0.34); }
.wl-mood .k-clip { position: absolute; inset: 0 0 auto 0; width: 100%; height: 132%; object-fit: cover; object-position: 50% 0; filter: saturate(0.7) brightness(0.6); transition: filter 0.6s; }
.wl-mood.is-on .k-clip { filter: none; }
.wl-mood__cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 48px 22px 20px; background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent); }
.wl-mood__cap strong { font-family: var(--k-display); font-size: clamp(18px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.wl-mood__cap span { font-size: 14px; color: var(--k-ink-2); max-height: 0; opacity: 0; overflow: hidden; transition: opacity 0.4s 0.2s; }
.wl-mood.is-on .wl-mood__cap span { max-height: 4em; opacity: 1; }
@media (max-width: 720px) {
  .wl-moods { flex-direction: column; height: auto; }
  .wl-mood { flex: none; height: 96px; transition: height 0.6s var(--k-ease); }
  .wl-mood.is-on { height: 300px; }
}
/* 자주 묻는 질문 */
.wl-faq { padding-block: clamp(40px, 6vw, 96px); }
.wl-faq__list { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.wl-faq__item { border-radius: 20px; border: 1px solid var(--k-frame-line); background: rgba(255, 255, 255, 0.05); }
.wl-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.wl-faq__item summary::-webkit-details-marker { display: none; }
.wl-faq__item summary i { flex: none; width: 14px; height: 14px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.3s var(--k-ease); }
.wl-faq__item[open] summary i { transform: rotate(225deg) translate(-3px, -3px); }
.wl-faq__item p { margin: 0; padding: 0 24px 22px; font-size: 16px; line-height: 1.7; color: var(--k-ink-2); }
@media (prefers-reduced-motion: reduce) { .wl-mood, .wl-mood .k-clip, .wl-mood__cap span { transition: none; } }
