/* ── 확장 위젯 C (v1.12.0) — 정보·구조 + 미디어 26종 ── */

/* 아코디언 */
.wg-acc { display: flex; flex-direction: column; }
.wg-acc-item { border-bottom: 1px solid var(--line); }
.wg-acc-item:last-child { border-bottom: none; }
.wg-acc-sum { display: flex; align-items: center; gap: 8px; padding: 9px 4px; font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; border-radius: 8px; }
.wg-acc-sum::-webkit-details-marker { display: none; }
.wg-acc-sum:hover { color: var(--c-primary, var(--brand)); background: var(--brand-soft); }
.wg-acc-arrow { display: inline-block; width: 18px; text-align: center; font-size: 18px; color: var(--c-primary, var(--brand)); transition: transform .2s; flex-shrink: 0; }
.wg-acc-item[open] > .wg-acc-sum .wg-acc-arrow { transform: rotate(90deg); }
.wg-acc-body { padding: 2px 6px 12px 30px; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* 탭 카드 */
.wg-tabs { display: flex; flex-direction: column; height: 100%; }
.wg-tabs-bar { display: flex; gap: 4px; overflow-x: auto; border-bottom: 2px solid var(--line); margin-bottom: 10px; flex-shrink: 0; scrollbar-width: thin; }
.wg-tabs-btn { border: none; background: none; padding: 8px 12px; font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; margin-bottom: -2px; border-bottom: 2px solid transparent; cursor: pointer; }
.wg-tabs-btn:hover { color: var(--c-text, var(--ink)); }
.wg-tabs-btn.on { color: var(--c-primary, var(--brand)); border-bottom-color: var(--c-primary, var(--brand)); }
.wg-tabs-panel { font-size: 14px; line-height: 1.65; overflow-y: auto; min-height: 0; }

/* 표 */
.wg-tbl { display: flex; flex-direction: column; height: 100%; }
.wg-tbl-scroll { overflow: auto; min-height: 0; border: 1px solid var(--line); border-radius: 10px; }
.wg-tbl-table { border-collapse: collapse; width: 100%; font-size: 13px; }
.wg-tbl-table th { position: sticky; top: 0; background: var(--brand-soft); color: var(--c-primary, var(--brand)); font-weight: 800; text-align: left; padding: 8px 12px; white-space: nowrap; }
.wg-tbl-table td { padding: 7px 12px; border-top: 1px solid var(--line); white-space: nowrap; }
.wg-tbl-table tbody tr:hover td { background: var(--paper); }
.wg-tbl-none { text-align: center; color: var(--muted); }
.wg-tbl .empty small { font-size: 12px; }

/* 아이콘 목록 */
.wg-il-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wg-il-row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.wg-il-ico { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-soft); font-size: 17px; flex-shrink: 0; }
.wg-il-text { min-width: 0; overflow-wrap: anywhere; }

/* 단계 안내 — 좁으면 세로, 넓으면 가로 */
.wg-steps { container-type: inline-size; }
.wg-steps-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; counter-reset: none; }
.wg-steps-item { display: flex; gap: 12px; align-items: flex-start; position: relative; padding-bottom: 14px; }
.wg-steps-item:last-child { padding-bottom: 0; }
.wg-steps-item:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 30px; bottom: 2px; width: 2px; background: var(--line); }
.wg-steps-no { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-primary, var(--brand)); color: #fff; font-weight: 800; font-size: 13px; flex-shrink: 0; position: relative; z-index: 1; }
.wg-steps-name { font-weight: 700; font-size: 14px; padding-top: 5px; }
.wg-steps-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }
@container (min-width: 480px) {
  .wg-steps-list { flex-direction: row; align-items: flex-start; }
  .wg-steps-item { flex: 1; flex-direction: column; align-items: center; text-align: center; padding-bottom: 0; }
  .wg-steps-item:not(:last-child)::after { left: calc(50% + 18px); right: calc(-50% + 18px); top: 14px; bottom: auto; width: auto; height: 2px; }
  .wg-steps-name { padding-top: 0; }
}

/* 알림 박스 */
.wg-ab { --ab-c: var(--c-primary, var(--brand)); --ab-bg: var(--brand-soft); display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 12px 14px; border-radius: 12px; background: var(--ab-bg); border-left: 5px solid var(--ab-c); }
.wg-ab-warn { --ab-c: var(--c-accent, var(--amber)); --ab-bg: color-mix(in srgb, var(--ab-c) 14%, transparent); }
.wg-ab-danger { --ab-c: var(--danger); --ab-bg: color-mix(in srgb, var(--danger) 10%, transparent); }
.wg-ab-success { --ab-c: #2FAE62; --ab-bg: color-mix(in srgb, #2FAE62 12%, transparent); }
.wg-ab-ico { font-size: 20px; line-height: 1.2; flex-shrink: 0; }
.wg-ab-body { min-width: 0; }
.wg-ab-title { font-weight: 800; font-size: 14px; color: var(--ab-c); margin-bottom: 3px; }
.wg-ab-text { font-size: 13px; line-height: 1.55; }
.wg-ab-empty { color: var(--muted); }

/* 바로가기 목차 */
.wg-an { display: flex; flex-direction: column; height: 100%; }
.wg-an-list { display: flex; flex-direction: column; gap: 4px; overflow-y: auto; min-height: 0; }
.wg-an-btn { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--c-card, var(--card)); border-radius: 10px; padding: 8px 10px; font-size: 13px; cursor: pointer; }
.wg-an-btn:hover { border-color: var(--c-primary, var(--brand)); background: var(--brand-soft); }
.wg-an-no { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; border-radius: 6px; background: var(--brand-soft); color: var(--c-primary, var(--brand)); font-weight: 800; font-size: 11px; padding: 0 5px; flex-shrink: 0; }
.wg-an-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.wg-an-go { color: var(--muted); }
.wg-an-hint { margin-top: 8px; }
.widget.wg-an-target { animation: wg-an-flash 1.5s ease-out; }
@keyframes wg-an-flash { 0%, 60% { box-shadow: 0 0 0 4px var(--c-primary, var(--brand)); } 100% { box-shadow: none; } }

/* 더보기 접기 글 */
.wg-col-text { font-size: 14px; line-height: 1.65; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--lines, 3); overflow: hidden; }
.wg-col-text.open { display: block; -webkit-line-clamp: none; }
.wg-col-btn { margin-top: 8px; border: none; background: none; padding: 4px 0; color: var(--c-primary, var(--brand)); font-weight: 700; font-size: 13px; cursor: pointer; }
.wg-col-btn:hover { text-decoration: underline; }

/* 뒤집기 카드 */
.wg-fc { position: relative; height: 100%; min-height: 120px; perspective: 900px; cursor: pointer; border-radius: 12px; }
.wg-fc-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.4, .2, .2, 1); }
.wg-fc.on .wg-fc-inner { transform: rotateY(180deg); }
.wg-fc-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 14px; background: var(--brand-soft); }
.wg-fc-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wg-fc-text { position: relative; font-weight: 700; font-size: clamp(14px, 1.8vw, 17px); line-height: 1.5; overflow-wrap: anywhere; }
.wg-fc-face img + .wg-fc-text { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); background: rgba(0, 0, 0, .3); padding: 6px 10px; border-radius: 8px; }
.wg-fc-front { background: linear-gradient(135deg, var(--brand-soft), var(--c-card, var(--card))); border: 1px solid var(--line); }
.wg-fc-back { transform: rotateY(180deg); background: var(--c-primary, var(--brand)); color: #fff; }
.wg-fc-hint { position: absolute; right: 8px; bottom: 6px; font-size: 13px; color: var(--muted); opacity: .7; }
.wg-fc:focus-visible { outline: 2px solid var(--c-primary, var(--brand)); outline-offset: 3px; }

/* 이미지 핀 설명 */
.wg-hs { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wg-hs-wrap { position: relative; display: inline-block; max-width: 100%; border-radius: 10px; overflow: visible; }
.wg-hs-img { display: block; max-width: 100%; height: auto; border-radius: 10px; }
.wg-hs-pin { position: absolute; transform: translate(-50%, -50%); }
.wg-hs-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: var(--c-primary, var(--brand)); color: #fff; font-weight: 800; font-size: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); cursor: pointer; padding: 0; }
.wg-hs-dot:hover { background: var(--c-accent, var(--amber)); }
.wg-hs-tip { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); min-width: 120px; max-width: min(240px, 70vw); width: max-content; background: var(--c-text, var(--ink)); color: #fff; font-size: 12px; line-height: 1.5; padding: 7px 10px; border-radius: 8px; z-index: 5; opacity: 0; pointer-events: none; transition: opacity .15s; }
.wg-hs-pin.wg-hs-left .wg-hs-tip { left: auto; right: -6px; transform: none; }
.wg-hs-pin.wg-hs-up .wg-hs-tip { top: auto; bottom: calc(100% + 6px); }
.wg-hs-pin:hover .wg-hs-tip, .wg-hs-pin.on .wg-hs-tip, .wg-hs-dot:focus-visible + .wg-hs-tip { opacity: 1; pointer-events: auto; }
.wg-hs-hint { text-align: center; }

/* 코드 복사 카드 */
.wg-cc { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.wg-cc-box { display: flex; align-items: center; gap: 8px; border: 2px dashed var(--c-primary, var(--brand)); border-radius: 10px; padding: 8px 8px 8px 12px; background: var(--brand-soft); }
.wg-cc-code { flex: 1; min-width: 0; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: clamp(13px, 1.6vw, 16px); font-weight: 700; letter-spacing: .5px; overflow-wrap: anywhere; color: var(--c-primary, var(--brand)); }
.wg-cc-btn { flex-shrink: 0; }
.wg-cc-btn.done { background: #2FAE62; border-color: #2FAE62; }
.wg-cc-desc { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* 공유 버튼 */
.wg-share { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.wg-share-row { display: flex; flex-wrap: wrap; gap: 6px; }
.wg-share-hint { font-size: 11px; color: var(--muted); margin-top: 8px; }

/* QR 코드 */
.wg-qr { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 8px; text-align: center; }
.wg-qr-img { width: min(100%, 180px); aspect-ratio: 1; border-radius: 10px; background: #fff; padding: 6px; border: 1px solid var(--line); }
.wg-qr-cap { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }

/* 글 보관함 */
.wg-arch { display: flex; flex-direction: column; height: 100%; }
.wg-arch-list { display: flex; flex-direction: column; overflow-y: auto; min-height: 0; }
.wg-arch-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 4px; border-bottom: 1px solid var(--line); font-size: 13px; color: inherit; }
.wg-arch-row:last-child { border-bottom: none; }
.wg-arch-row:hover .wg-arch-ym { color: var(--c-primary, var(--brand)); }
.wg-arch-ym { font-weight: 600; }
.wg-arch-n { font-size: 11px; font-weight: 700; color: var(--c-primary, var(--brand)); background: var(--brand-soft); border-radius: 99px; padding: 1px 8px; }

/* 공지 티커 */
.wg-nt { display: flex; align-items: center; gap: 10px; height: 100%; }
.wg-nt-badge { flex-shrink: 0; font-size: 12px; font-weight: 800; color: #fff; background: var(--c-primary, var(--brand)); border-radius: 99px; padding: 3px 10px; white-space: nowrap; }
.wg-nt-view { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.wg-nt-track { display: flex; align-items: center; width: max-content; white-space: nowrap; animation: wg-nt-move linear infinite; }
.wg-nt-view:hover .wg-nt-track { animation-play-state: paused; }
.wg-nt-item { font-size: clamp(13px, 1.6vw, 15px); font-weight: 700; color: inherit; }
.wg-nt-item:hover { color: var(--c-primary, var(--brand)); text-decoration: underline; }
.wg-nt-sep { padding: 0 18px; color: var(--muted); }
@keyframes wg-nt-move { to { transform: translateX(-50%); } }

/* RSS 피드 */
.wg-rss { display: flex; flex-direction: column; height: 100%; }
.wg-rss-src { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 45%; }
.wg-rss-list { display: flex; flex-direction: column; overflow-y: auto; min-height: 0; }
.wg-rss-item { display: flex; justify-content: space-between; gap: 10px; padding: 7px 2px; border-bottom: 1px solid var(--line); font-size: 13px; color: inherit; }
.wg-rss-item:last-child { border-bottom: none; }
.wg-rss-item:hover .wg-rss-t { color: var(--c-primary, var(--brand)); }
.wg-rss-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wg-rss-d { color: var(--muted); font-size: 12px; flex-shrink: 0; }

/* 연도 진행률 */
.wg-yp { display: flex; flex-direction: column; justify-content: center; gap: 8px; height: 100%; }
.wg-yp-text { font-size: clamp(14px, 1.8vw, 17px); font-weight: 700; }
.wg-yp-text b { color: var(--c-primary, var(--brand)); font-family: var(--font-display); font-size: 1.35em; }
.wg-yp-bar { height: 12px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.wg-yp-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--c-primary, var(--brand)), var(--c-accent, var(--amber))); transition: width .6s ease; }
.wg-yp-sub { font-size: 12px; color: var(--muted); }

/* 세계 시계 */
.wg-wc { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; height: 100%; align-content: center; }
.wg-wc-city { text-align: center; background: var(--paper); border-radius: 12px; padding: 10px 6px; }
.wg-wc-name { font-size: 12px; font-weight: 700; color: var(--muted); }
.wg-wc-time { font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 24px); color: var(--c-primary, var(--brand)); letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.wg-wc-date { font-size: 11px; color: var(--muted); }

/* 오디오 플레이어 */
.wg-aud { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.wg-aud-player { width: 100%; height: 40px; }

/* 최신 유튜브 여러 개 */
.wg-ytm { display: flex; flex-direction: column; height: 100%; }
.wg-ytm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; overflow-y: auto; min-height: 0; align-content: start; }
.wg-ytm-list { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; min-height: 0; }
.wg-ytm-item { display: flex; flex-direction: column; gap: 5px; color: inherit; text-decoration: none; }
.wg-ytm-list .wg-ytm-item { flex-direction: row; align-items: center; gap: 10px; }
.wg-ytm-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; flex-shrink: 0; }
.wg-ytm-list .wg-ytm-thumb { flex: 0 0 clamp(90px, 32%, 140px); }
.wg-ytm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wg-ytm-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 32px; height: 32px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; padding-left: 3px; }
.wg-ytm-item:hover .wg-ytm-play { background: var(--c-primary, var(--brand)); }
.wg-ytm-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wg-ytm-t { font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wg-ytm-d { font-size: 11px; color: var(--muted); }

/* 쇼츠·틱톡 — 9:16 세로 프레임 */
.wg-shorts, .wg-tik { height: 100%; display: flex; justify-content: center; align-items: center; }
.wg-shorts-frame, .wg-tik-frame { position: relative; height: 100%; max-width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #000; }
.wg-shorts-frame iframe, .wg-tik-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* 인스타 그리드 */
.wg-ig { display: flex; flex-direction: column; height: 100%; }
.wg-ig-handle { font-size: 12px; font-weight: 700; color: var(--c-primary, var(--brand)); }
.wg-ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; overflow-y: auto; min-height: 0; align-content: start; }
.wg-ig-cell { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--paper); }
.wg-ig-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.wg-ig-cell:hover img { transform: scale(1.05); }

/* 카드 캐러셀 */
.wg-car { position: relative; height: 100%; min-height: 140px; border-radius: 12px; overflow: hidden; background: var(--paper); touch-action: pan-y; }
.wg-car-track { display: flex; height: 100%; transition: transform .45s ease; }
.wg-car-slide { position: relative; flex: 0 0 100%; height: 100%; display: block; color: inherit; text-decoration: none; user-select: none; }
.wg-car-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wg-car-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #fff; background: linear-gradient(135deg, var(--c-primary, var(--brand)), var(--c-accent, var(--amber))); }
.wg-car-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 26px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.wg-car-t { font-weight: 800; font-size: clamp(14px, 1.8vw, 18px); text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.wg-car-d { font-size: 12px; opacity: .92; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wg-car-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(0, 0, 0, .45); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 0 2px; z-index: 2; }
.wg-car-nav:hover { background: var(--c-primary, var(--brand)); }
.wg-car-prev { left: 8px; }
.wg-car-next { right: 8px; }
.wg-car-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.wg-car-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255, 255, 255, .55); cursor: pointer; padding: 0; }
.wg-car-dot.on { background: #fff; }

/* 환경음 버튼 */
.wg-amb { display: flex; flex-direction: column; justify-content: center; gap: 8px; height: 100%; }
.wg-amb-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wg-amb-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 1px solid var(--line); background: var(--c-card, var(--card)); border-radius: 12px; padding: 8px 2px; cursor: pointer; font-size: 11px; color: var(--muted); }
.wg-amb-btn:hover { border-color: var(--c-primary, var(--brand)); }
.wg-amb-btn.on { background: var(--brand-soft); border-color: var(--c-primary, var(--brand)); color: var(--c-primary, var(--brand)); font-weight: 700; }
.wg-amb-ico { font-size: 20px; line-height: 1.2; }
.wg-amb-btn.on .wg-amb-ico { animation: wg-amb-breathe 2.4s ease-in-out infinite; }
.wg-amb-vol { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.wg-amb-vol input { flex: 1; min-width: 0; accent-color: var(--c-primary, var(--brand)); }
@keyframes wg-amb-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

/* 카페 BGM */
.wg-bgm { display: flex; flex-direction: column; justify-content: center; gap: 8px; height: 100%; }
.wg-bgm-head { display: flex; align-items: center; gap: 10px; }
.wg-bgm-play { width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--c-primary, var(--brand)); color: #fff; font-size: 15px; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding-left: 2px; }
.wg-bgm-play:hover { filter: brightness(1.08); }
.wg-bgm-info { min-width: 0; flex: 1; }
.wg-bgm-title { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wg-bgm-name { font-weight: 800; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wg-bgm-hint { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wg-bgm-eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; flex-shrink: 0; }
.wg-bgm-eq i { width: 3px; height: 100%; border-radius: 2px; background: var(--c-accent, var(--amber)); transform-origin: bottom; animation: wg-bgm-eq .9s ease-in-out infinite; }
.wg-bgm-eq i:nth-child(2) { animation-delay: .25s; }
.wg-bgm-eq i:nth-child(3) { animation-delay: .5s; }
@keyframes wg-bgm-eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.wg-bgm-ctrl { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wg-bgm-seek { flex: 1; min-width: 0; accent-color: var(--c-primary, var(--brand)); }
.wg-bgm-vol { display: flex; align-items: center; gap: 3px; flex: 0 0 clamp(60px, 22%, 90px); font-size: 12px; }
.wg-bgm-vol input { width: 100%; min-width: 0; accent-color: var(--c-primary, var(--brand)); }

/* 모션 최소화 — 이 파일의 애니메이션·전환 전부 비활성 */
@media (prefers-reduced-motion: reduce) {
  .widget.wg-an-target, .wg-nt-track, .wg-amb-btn.on .wg-amb-ico, .wg-bgm-eq i { animation: none; }
  .wg-fc-inner, .wg-car-track, .wg-acc-arrow, .wg-yp-fill, .wg-ig-cell img { transition: none; }
  .widget.wg-an-target { box-shadow: 0 0 0 3px var(--c-primary, var(--brand)); }
  .wg-bgm-eq i { transform: scaleY(.7); }
}
