/* 하단 플레이어의 맛보기 알약 · SoundCloud 알약 · 안내 카드 (2026-11-07, 작업 03의 11번 — sub/js/edm_taste.js) */
.edm-tchips[hidden],.edm-tcard[hidden]{display:none!important}
.edm-tchips{display:flex;gap:6px;align-items:center;z-index:20;font-family:-apple-system,"Segoe UI","Malgun Gothic",sans-serif}
.edm-tchips-pc{position:absolute;top:4px;right:8px}
.edm-tchips-mo{margin-top:2px;gap:4px;max-width:100%;overflow:hidden}
.edm-tchips-mo .edm-sc-pill span{display:none} /* 휴대폰은 칸이 좁아서 SoundCloud 그림만 (링크는 그대로) */
.edm-tchips-mo .edm-sc-pill{padding:0 6px}
.edm-taste-pill{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px;border-radius:999px;background:rgba(255,46,99,.18);color:#ff7a9c;font-weight:800;font-size:11px;line-height:1;white-space:nowrap}
.edm-taste-pill i{display:flex;gap:3px}
.edm-taste-pill i b{width:6px;height:6px;border-radius:50%;background:rgba(255,46,99,.35)}
.edm-taste-pill i b.on{background:#ff2e63}
.edm-sc-pill{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px;border-radius:999px;border:1px solid rgba(255,255,255,.2);background:rgba(0,0,0,.4);color:#e5e5e5!important;font-weight:700;font-size:11px;line-height:1;text-decoration:none!important;white-space:nowrap}
.edm-sc-pill svg{width:14px;height:14px;color:#ff5500;flex:none}
.edm-sc-pill:hover{border-color:#ff5500}
.edm-tchips-mo .edm-taste-pill,.edm-tchips-mo .edm-sc-pill{height:16px;padding:0 7px;font-size:10px;gap:4px}
.edm-tchips-mo .edm-taste-pill i b{width:5px;height:5px}
.edm-tchips-mo .edm-sc-pill svg{width:12px;height:12px}

.edm-tcard{position:absolute;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 42px 0 14px;background:rgba(12,12,14,.94);color:#f5f5f6;font-family:-apple-system,"Segoe UI","Malgun Gothic",sans-serif;word-break:keep-all}
.edm-tcard .ic{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(255,46,99,.18);color:#ff2e63}
.edm-tcard .ic.is-sc{background:rgba(255,85,0,.18);color:#ff5500}
.edm-tcard .ic svg{width:18px;height:18px}
.edm-tcard .tx{min-width:0;display:flex;flex-direction:column;gap:1px}
.edm-tcard .tx b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.edm-tcard .tx span{font-size:12px;color:#a1a1aa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.edm-tcard .bt{display:flex;gap:6px;flex:none}
.edm-tcard .bt a{height:32px;padding:0 12px;border-radius:9px;display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:12.5px;text-decoration:none!important;white-space:nowrap}
.edm-tcard .bt a svg{width:15px;height:15px}
.edm-tcard .bt a.p{background:#ff2e63;color:#fff!important}
.edm-tcard .bt a.s{border:1px solid rgba(255,255,255,.28);color:#f5f5f6!important}
.edm-tcard .bt a.sc{background:#ff5500;color:#fff!important}
.edm-tcard .x{position:absolute;top:50%;right:8px;transform:translateY(-50%);width:28px;height:28px;border:0;border-radius:50%;background:none;color:#a1a1aa;font-size:20px;line-height:1;cursor:pointer}
.edm-tcard .x:hover{background:rgba(255,255,255,.08);color:#fff}
.edm-tcard-mo{z-index:10001;gap:8px;padding:0 34px 0 10px}
.edm-tcard-mo .ic,.edm-tcard-mo .tx span{display:none}
.edm-tcard-mo .tx b{font-size:12.5px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.edm-tcard-mo .bt a{height:30px;padding:0 10px;font-size:12px}
.edm-tcard-mo .bt a.s{display:none}
@media (max-width:1100px){.edm-tcard-pc .tx span{display:none}}

[data-theme="light"] .edm-taste-pill{background:#fdecef;color:#c81d43}
[data-theme="light"] .edm-taste-pill i b{background:#f6c0cc}
[data-theme="light"] .edm-taste-pill i b.on{background:#e0244e}
[data-theme="light"] .edm-sc-pill{background:#fff;border-color:#dcd8d1;color:#46423d!important}
[data-theme="light"] .edm-tcard{background:rgba(251,250,248,.97);color:#1d1b19}
[data-theme="light"] .edm-tcard .ic{background:#fdecef;color:#e0244e}
[data-theme="light"] .edm-tcard .ic.is-sc{background:#fff0e6;color:#ff5500}
[data-theme="light"] .edm-tcard .tx span{color:#6f6a63}
[data-theme="light"] .edm-tcard .bt a.p{background:#e0244e}
[data-theme="light"] .edm-tcard .bt a.s{border-color:#cdc8c0;color:#1d1b19!important}
[data-theme="light"] .edm-tcard .x{color:#6f6a63}
[data-theme="light"] .edm-tcard .x:hover{background:#f0eeea;color:#1d1b19}
