/* campfire-radio.css — 11/7 대표 A+C: 텐트존 모닥불 라디오. 흰 바탕 · 또렷한 테두리(대표 선호: 누르는 상자는 불투명) */
.cr-pill{all:unset;box-sizing:border-box;position:absolute;left:50%;top:calc(118px + env(safe-area-inset-top));transform:translateX(-50%);z-index:6;display:flex;align-items:center;gap:7px;max-width:min(320px,78vw);height:34px;padding:0 13px 0 10px;border-radius:999px;background:#fff;border:1.5px solid #d9e2df;box-shadow:0 2px 8px rgba(0,0,0,.14);font:800 12.5px/1 var(--sh-font,"Pretendard",system-ui);color:#3b2e24;cursor:pointer;-webkit-tap-highlight-color:transparent;white-space:nowrap}
.cr-pill i{font-style:normal;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#6EEAC2,#2ADCCA);color:#0b3b35;font-size:12px;flex:none}
.cr-pill b{font-weight:900;overflow:hidden;text-overflow:ellipsis;min-width:0}
.cr-pill span{font-weight:700;color:#8a7a6a;font-size:11.5px;overflow:hidden;text-overflow:ellipsis}
.cr-pill.live i{animation:crBeat 1.2s ease-in-out infinite}
@keyframes crBeat{0%,100%{transform:scale(1)}50%{transform:scale(1.12)}}
.cr-card{position:absolute;left:50%;top:calc(160px + env(safe-area-inset-top));transform:translateX(-50%);z-index:6;width:212px;background:#fff;border:1.5px solid #d9e2df;border-radius:16px;box-shadow:0 4px 14px rgba(0,0,0,.18);padding:6px;box-sizing:border-box}
.cr-card[hidden]{display:none}
.cr-yt{width:200px;height:200px;border-radius:11px;overflow:hidden;background:#000}
.cr-yt iframe{width:200px;height:200px;display:block}
.cr-cap{display:flex;align-items:center;gap:6px;padding:6px 2px 2px;font:700 11.5px/1.25 var(--sh-font,"Pretendard",system-ui);color:#3b2e24}
.cr-cap b{font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}
.cr-cap .cr-by{display:none}
.cr-like{all:unset;cursor:pointer;flex:none;padding:4px 8px;border-radius:999px;background:#fff0f7;color:#e8177f;font-weight:900;font-size:11.5px}
.cr-like i{font-style:normal}
.cr-like.on{background:#e8177f;color:#fff}
.cr-sheet{position:absolute;left:50%;top:calc(160px + env(safe-area-inset-top));transform:translateX(-50%);z-index:8;width:min(360px,92vw);max-height:min(560px,calc(100% - 200px));overflow:auto;background:#fff;border:1.5px solid #d9e2df;border-radius:20px;box-shadow:0 10px 30px rgba(0,0,0,.25);padding:12px 14px 14px;box-sizing:border-box;font:600 13px/1.4 var(--sh-font,"Pretendard",system-ui);color:#2b2a24}
.cr-sheet[hidden]{display:none}
.cr-hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.cr-hd b{font-size:15px;font-weight:900}
.cr-sheet button{font-family:inherit}
.cr-close,.cr-x{all:unset;cursor:pointer;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:#9a8f84;font-weight:900}
.cr-close:hover,.cr-x:hover{background:#f5f1ea}
.cr-sec{padding:10px 0;border-top:1px solid #efe8dc}
.cr-sec:first-of-type{border-top:0}
.cr-lbl{display:flex;justify-content:space-between;font-size:11.5px;font-weight:800;color:#8a7a6a;margin-bottom:6px}
.cr-lbl span{font-weight:700}
.cr-q{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.cr-q li{display:flex;align-items:center;gap:8px;padding:6px 4px;border-radius:12px}
.cr-q li.now{background:#eefcf8}
.cr-f{width:28px;height:28px;border-radius:50%;flex:none;background:#f3efe6 center 18%/cover no-repeat;box-shadow:0 0 0 2px #2ADCCA}
.cr-t{display:flex;flex-direction:column;min-width:0;flex:1}
.cr-t b{font-weight:900;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cr-t small{font-size:11px;color:#8a7a6a;font-weight:700}
.cr-lk{all:unset;cursor:pointer;flex:none;padding:5px 9px;border-radius:999px;background:#fff0f7;color:#e8177f;font-weight:900;font-size:11.5px}
.cr-lk.on{background:#e8177f;color:#fff}
.cr-empty{margin:2px 0 6px;color:#8a7a6a;font-size:12.5px}
.cr-in{display:flex;gap:6px;margin-top:8px}
.cr-in input{flex:1;min-width:0;height:40px;border-radius:999px;border:1.5px solid #d9e2df;padding:0 14px;font:600 13.5px var(--sh-font,"Pretendard",system-ui);background:#fff;color:#2b2a24}
.cr-in input:focus{outline:none;border-color:#2ADCCA;box-shadow:0 0 0 3px rgba(42,220,202,.2)}
.cr-in button{height:40px;padding:0 16px;border:0;border-radius:999px;background:linear-gradient(135deg,#6EEAC2,#2ADCCA);color:#0b3b35;font-weight:900;font-size:13.5px;cursor:pointer}
.cr-in button:disabled,.cr-in input:disabled{opacity:.5;cursor:default}
.cr-note{margin:6px 2px 0;font-size:11px;color:#9a8f84;font-weight:600}
.cr-vote{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.cr-vote button{all:unset;cursor:pointer;display:flex;flex-direction:column;gap:2px;padding:9px 10px;border-radius:12px;background:#f8f4ec;border:1.5px solid transparent}
.cr-vote button b{font-weight:900;font-size:12.5px}
.cr-vote button small{font-size:11px;color:#8a7a6a;font-weight:700}
.cr-vote button.on{border-color:#2ADCCA;background:#eefcf8}
.cr-vote button.playing b::before{content:"♪ ";color:#0f8f7f}
.cr-ft{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px solid #efe8dc;font-size:12px;font-weight:800;color:#5b4f45}
.cr-ft label{display:flex;align-items:center;gap:8px}
.cr-ft input[type=range]{width:110px;accent-color:#2ADCCA}
.cr-pow{all:unset;cursor:pointer;padding:7px 12px;border-radius:999px;background:#f3efe6;color:#5b4f45;font-weight:900;font-size:12px}
@media (max-width:600px){.cr-pill{top:calc(112px + env(safe-area-inset-top))}.cr-card{top:calc(152px + env(safe-area-inset-top))}.cr-sheet{top:calc(152px + env(safe-area-inset-top));max-height:calc(100% - 330px)}}
/* 유튜브 플레이어는 늘 보이게(유튜브 규칙: 200×200 이상) — 신청곡이 나올 때 라디오 창은 플레이어 아래로 */
.cr-card:not([hidden]) ~ .cr-sheet{top:calc(160px + 262px + env(safe-area-inset-top));max-height:calc(100% - 450px)}
@media (max-width:600px){.cr-card:not([hidden]) ~ .cr-sheet{top:calc(152px + 262px + env(safe-area-inset-top));max-height:calc(100% - 540px)}}
/* 11/7 대표: 누구나 신청 + 넘기기 투표 · 관리자 막기 */
.cr-skip,.cr-sk{all:unset;cursor:pointer;flex:none;padding:4px 8px;border-radius:999px;background:#f3efe6;color:#5b4f45;font-weight:900;font-size:11.5px;white-space:nowrap}
.cr-skip i{font-style:normal}
.cr-skip.on,.cr-sk.on{background:#5b4f45;color:#fff}
.cr-ban{all:unset;cursor:pointer;flex:none;width:28px;height:28px;display:grid;place-items:center;border-radius:50%;font-size:13px}
.cr-ban:hover{background:#fdecec}
