/* EasyJam 스타일
   재즈 음반 재킷에서 가져온 평면 디자인: 종이색 바탕, 검정 글자, 악기마다 단색 면 하나.
   그라데이션·그림자·블러는 쓰지 않는다.
   - 악기 색: 피아노 겨자, 색소폰 코발트, 타악기 청록·살구. 진행자 화면의 카드와 같은 색으로 이어진다.
   - body.calm: 감각 자극에 민감한 참여자를 위한 "차분한 화면" (채도 낮춤, 움직임 없음)
   - 글꼴은 기기에 설치된 것을 쓴다 (인터넷 없이도 같은 모습) */

:root {
  --paper: #f2ede2;
  --paper-2: #e5ddcc;
  --white: #fffdf7;
  --ink: #17140f;
  --ink-2: #5b5548;
  --ok: #1f8a70;
  --accent: #e8a917;
  --on-accent: #17140f;
  --r: 4px;
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Helvetica Neue', Arial, system-ui, sans-serif;
}

[data-inst='piano'] { --accent: #e8a917; --on-accent: #17140f; }
[data-inst='saxophone'] { --accent: #2747c9; --on-accent: #fffdf7; }
[data-inst='percussion1'] { --accent: #1f8a70; --on-accent: #fffdf7; }
[data-inst='percussion2'] { --accent: #f09a7c; --on-accent: #17140f; }

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html, body { height: 100%; }
body {
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
}
body.play { display: flex; flex-direction: column; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: manipulation; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---- 버튼·입력 ---- */
.btn {
  font: inherit; font-weight: 700; color: var(--ink);
  background: transparent; border: 2px solid var(--ink); border-radius: var(--r);
  min-height: 46px; padding: 8px 16px; cursor: pointer;
}
.btn:hover { background: var(--paper-2); }
.btn:active { background: var(--ink); color: var(--paper); }
.btn:disabled { opacity: 0.4; cursor: default; }
.btn[aria-pressed='true'] { background: var(--ink); color: var(--paper); }
.btn.icon { min-width: 50px; font-size: 1.1rem; padding: 8px; }
.btn.big { min-height: 76px; padding: 16px 44px; font-size: 1.5rem; font-weight: 800; background: var(--ink); color: var(--paper); }
.btn.big:hover { background: var(--ink); }
.btn.big:active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.big.icon { min-width: 76px; padding: 16px; }
.btn.ghost { border-color: transparent; color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.btn.seg { min-height: 42px; padding: 6px 14px; }
.seg-group { display: inline-flex; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.seg-group .btn.seg { border: 0; border-radius: 0; min-height: 38px; }
.seg-group .btn.seg + .btn.seg { border-left: 2px solid var(--ink); }

.select, .input {
  font: inherit; font-weight: 600; color: var(--ink); background: var(--white);
  border: 2px solid var(--ink); border-radius: var(--r); min-height: 46px; padding: 8px 12px;
}
.input { width: 100%; }
input[type='range'] { accent-color: var(--ink); min-height: 32px; min-width: 0; }

.field { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 0.9rem; font-weight: 700; }
.field.col { flex-direction: column; align-items: stretch; gap: 4px; text-align: left; }
.field .value { min-width: 3.2em; color: var(--ink); font-variant-numeric: tabular-nums; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; color: var(--ink-2); }
.pill::before { content: ''; width: 9px; height: 9px; background: var(--ok); }
.pill.warn { background: var(--ink); color: var(--paper); padding: 2px 8px; }
.pill.warn::before { background: var(--paper); }

.row { display: flex; align-items: center; gap: 12px; }
.row.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }
.label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; color: var(--ink-2); }
.help { font-size: 0.85rem; color: var(--ink-2); }

/* ---- 상단 바 (악기 화면) ---- */
.bar {
  position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 10px 14px 14px; padding-top: max(10px, env(safe-area-inset-top));
  background: var(--paper); border-bottom: 2px solid var(--ink); z-index: 20;
}
.bar-back { display: grid; place-items: center; width: 46px; height: 46px; font-size: 1.3rem; font-weight: 800; text-decoration: none; border: 2px solid var(--ink); border-radius: var(--r); }
.bar-title { display: flex; flex-direction: column; align-items: flex-start; font-size: 1.1rem; line-height: 1.25; }
.bar-chord { display: flex; align-items: center; gap: 16px; margin: 0 auto; }
.bar-controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chord-now { font-size: 2.5rem; font-weight: 900; line-height: 1; min-width: 3em; text-align: center; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.chord-next { color: var(--ink-2); font-weight: 700; min-width: 4.6em; }
.beat-dots { display: inline-flex; gap: 6px; }
.beat-dots i { width: 16px; height: 16px; border: 2px solid var(--ink); }
.beat-dots i.on { background: var(--ink); }
.beat-dots i:first-child.on { background: var(--accent); }
/* 다음 코드까지 남은 시간 */
.chord-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; overflow: hidden; }
.chord-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---- 안내 띠 (차례·멈춤) ---- */
.banner { text-align: center; font-size: 1.5rem; font-weight: 800; max-height: 0; overflow: hidden; background: var(--ink); color: var(--paper); z-index: 10; }
.banner.show { max-height: 4em; padding: 10px 16px; }
body.my-turn .banner { background: var(--accent); color: var(--on-accent); }
body.gated .stage > * { opacity: 0.25; filter: grayscale(1); }
body.my-turn .stage { box-shadow: inset 0 0 0 8px var(--accent); }

/* ---- 무대 ---- */
.stage { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px; position: relative; }
.hint { color: var(--ink-2); text-align: center; font-size: 1rem; font-weight: 600; }
.pad { font: inherit; color: var(--ink); background: none; border: none; cursor: pointer; touch-action: none; }

/* 피아노 */
.keyboard { width: min(100%, 1100px); flex: 1; min-height: 0; max-height: 540px; display: flex; padding: 22px 12px 12px; background: var(--ink); border-radius: var(--r); }
.keyboard-keys { position: relative; flex: 1; display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.black-key { position: absolute; top: 0; width: 6.6%; height: 58%; background: var(--ink); border-radius: 0 0 var(--r) var(--r); transform: translateX(-50%); pointer-events: none; z-index: 2; }
.piano-frame { width: min(100%, 1000px); aspect-ratio: 2055 / 642; display: grid; place-items: center; padding: 14px; background: var(--ink); border-radius: var(--r); flex-shrink: 1; min-height: 0; }
.piano-image { max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none; }
.pad-row { display: grid; grid-template-columns: repeat(9, 1fr); gap: clamp(4px, 0.8vw, 8px); width: min(100%, 1000px); }
.piano-key { min-height: 0; height: 100%; background: var(--white); border: 0; border-radius: 0 0 var(--r) var(--r); font-size: 1.5rem; font-weight: 900; display: grid; place-items: end center; padding-bottom: 10px; }
.piano-key.on { background: var(--accent); color: var(--on-accent); }

/* 색소폰: 세로 면. 코드 구성음은 흰 면에 색 띠, 나머지는 작고 흐리게 */
.sax-row { display: flex; align-items: stretch; justify-content: center; gap: clamp(4px, 0.8vw, 10px); width: 100%; max-width: 1200px; flex: 1; min-height: 0; max-height: 560px; }
.sax-pad { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; padding: 12px 4px 10px; background: var(--paper-2); border-radius: var(--r); border-bottom: 14px solid transparent; transition: flex-grow 0.2s; }
.sax-pad svg { flex: 1; min-height: 0; width: 100%; object-fit: contain; pointer-events: none; }
.sax-pad.small { flex-grow: 0.6; }
.sax-pad.small svg { transform: scale(0.7); transform-origin: bottom; filter: grayscale(1); opacity: 0.55; }
.sax-pad.tone { flex-grow: 1.25; background: var(--white); border-bottom-color: var(--accent); }
.sax-pad.on { background: var(--accent); border-bottom-color: var(--ink); }
.sax-pad.on svg { filter: none; opacity: 1; transform: rotate(-4deg); }
.sax-key { display: grid; place-items: center; width: 34px; height: 34px; font-weight: 900; color: var(--ink-2); }
.sax-pad.tone .sax-key { background: var(--ink); color: var(--paper); }
.sax-pad.on .sax-key { background: var(--white); color: var(--ink); }

/* 타악기: 화면을 둘로 나눈 색 면 */
.cam-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); pointer-events: none; }
.perc-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.5vw, 16px); width: 100%; max-width: 1200px; flex: 1; min-height: 0; z-index: 2; }
.perc-pad { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; padding: clamp(14px, 3vw, 28px); border-radius: var(--r); font-size: clamp(1.4rem, 3.5vw, 2.4rem); font-weight: 900; letter-spacing: -0.02em; min-height: 0; border: 8px solid transparent; }
.perc-pad.left { background: var(--accent); color: var(--on-accent); }
.perc-pad.right { background: var(--ink); color: var(--paper); }
.perc-pad svg { align-self: center; flex: 1; min-height: 0; max-width: 80%; object-fit: contain; pointer-events: none; }
.perc-pad.near { border-color: var(--white); }
.perc-pad.on { background: var(--white); color: var(--ink); }
.perc-pad.on svg { animation: hit 0.22s ease-out; }
@keyframes hit { 0% { transform: scale(1.16) rotate(-6deg); } 100% { transform: scale(1) rotate(0); } }
.perc-tools, body.percussion .hint { position: relative; z-index: 2; }
/* 카메라를 켜면 면을 비워서 내 모습이 보이게 한다 */
body.cam-on .perc-pad.left { background: transparent; border-color: var(--accent); color: var(--white); }
body.cam-on .perc-pad.right { background: transparent; border-color: var(--ink); color: var(--white); }
body.cam-on .perc-pad.on { background: var(--white); color: var(--ink); }
body.cam-on .perc-pad.near { border-color: var(--white); }
body.cam-on .perc-tools .btn, body.cam-on .hint { background: var(--paper); }
body.cam-on .hint { padding: 2px 10px; color: var(--ink); }
.nose-tracker { position: fixed; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--accent); border: 4px solid var(--white); pointer-events: none; z-index: 30; }

/* 박자에 맞았을 때 */
.sparkle { position: fixed; z-index: 40; font-size: 2.2rem; color: var(--ink); pointer-events: none; transform: translate(-50%, -50%); animation: sparkle 0.6s ease-out forwards; }
@keyframes sparkle { from { opacity: 1; transform: translate(-50%, -50%) scale(0.6); } to { opacity: 0; transform: translate(-50%, -180%) scale(1.5) rotate(45deg); } }

/* 칭찬: 화면 전체가 악기 색으로 바뀐다 */
.cheer { position: fixed; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; z-index: 60; pointer-events: none; background: var(--accent); color: var(--on-accent); }
.cheer span { font-size: 9rem; line-height: 1.1; }
.cheer b { font-size: clamp(2.6rem, 9vw, 5rem); font-weight: 900; letter-spacing: -0.03em; }
.cheer.show { display: flex; animation: cheer 2.2s ease-out forwards; }
@keyframes cheer { 0% { opacity: 0; } 8% { opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; } }

/* 알림 */
.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: min(92vw, 560px); padding: 12px 20px; border-radius: var(--r); background: var(--ink); color: var(--paper); font-weight: 700; opacity: 0; pointer-events: none; transition: opacity 0.15s; z-index: 90; text-align: center; }
.toast.show { opacity: 1; }

/* 덮개 화면 */
.overlay { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: var(--paper); }
.card { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; width: min(100%, 560px); }
.card h1 { font-size: clamp(2.4rem, 8vw, 4rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; }
.card .hello { font-size: 1.3rem; font-weight: 700; }
.card p { font-size: 1.1rem; font-weight: 600; }
.start-art { width: 100%; height: 170px; max-width: 80%; object-fit: contain; }
.overlay.start .card::before { content: ''; width: 72px; height: 10px; background: var(--accent); }
.start-note { color: var(--ink-2); }

/* ---- 차분한 화면 ---- */
body.calm[data-inst='piano'] { --accent: #cdb47a; --on-accent: #17140f; }
body.calm[data-inst='saxophone'] { --accent: #8f9cc9; --on-accent: #17140f; }
body.calm[data-inst='percussion1'] { --accent: #8fb3a8; --on-accent: #17140f; }
body.calm[data-inst='percussion2'] { --accent: #dcbcae; --on-accent: #17140f; }
body.calm { --paper: #eceae4; --paper-2: #dedbd2; --ink: #2f2c27; }
body.calm .sparkle { display: none; }
body.calm *, body.calm *::before, body.calm *::after { animation: none !important; transition: none !important; }
body.calm .piano-key.on, body.calm .sax-pad.on svg { transform: none; }
body.calm .cheer span { font-size: 5rem; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---- 첫 화면 ---- */
body.lobby { padding: clamp(20px, 5vw, 56px) clamp(16px, 5vw, 56px); }
.lobby-card { width: min(100%, 1080px); margin: 0 auto; display: flex; flex-direction: column; gap: clamp(24px, 4vw, 40px); }
.brand { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 4px solid var(--ink); }
.brand h1 { font-size: clamp(3.6rem, 13vw, 8rem); font-weight: 900; line-height: 0.86; letter-spacing: -0.055em; }
.tagline { font-size: clamp(1rem, 2.4vw, 1.3rem); font-weight: 700; text-align: right; line-height: 1.35; padding-bottom: 4px; }
.step { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: 16px; row-gap: 14px; align-items: start; }
.step h2 { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; font-size: 1.25rem; font-weight: 800; }
.step h2 i { font-style: normal; font-size: 2.4rem; font-weight: 900; line-height: 1; letter-spacing: -0.04em; }
.step > :not(h2) { grid-column: 2; }
.join { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.join small { font-weight: 500; }
.join .input { border: 0; border-bottom: 3px solid var(--ink); border-radius: 0; background: transparent; font-size: 1.6rem; font-weight: 800; padding: 6px 0; min-height: 56px; }
.join .input::placeholder { color: #a9a08d; font-weight: 600; }
.join .input:focus { outline: none; border-bottom-color: var(--accent); background: var(--white); }
.message { font-weight: 800; background: var(--ink); color: var(--paper); padding: 8px 12px; width: fit-content; }
.message:empty { display: none; }
.inst-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.inst { font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: clamp(220px, 30vw, 320px); padding: 14px; border: 0; border-radius: var(--r); background: var(--accent); color: var(--on-accent); text-align: left; transition: transform 0.12s; }
.inst:hover { transform: translateY(-6px); }
.inst:active { transform: none; }
.inst .no { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em; }
.inst svg { align-self: center; width: 100%; flex: 1; min-height: 0; max-width: 88%; object-fit: contain; }
.inst b { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; }
.lobby-foot { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 14px; border-top: 2px solid var(--ink); font-weight: 700; }
.lobby-foot a { text-underline-offset: 4px; }
@media (max-width: 720px) {
  .step { grid-template-columns: minmax(0, 1fr); }
  .step h2 { display: flex; gap: 12px; }
  .step > :not(h2) { grid-column: 1; }
  .join { grid-template-columns: 1fr; }
  .inst-grid { grid-template-columns: repeat(2, 1fr); }
  .tagline { text-align: left; }
}

/* ---- 진행자 화면 ---- */
body.host .stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 1320px; margin: 0 auto; align-items: start; justify-content: stretch; padding: 20px 16px 60px; }
.host-side, .host-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 980px) {
  body.host .stage { grid-template-columns: 400px minmax(0, 1fr); }
  .host-side { position: sticky; top: 20px; }
}
.panel { background: var(--white); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.panel.room { background: var(--ink); color: var(--paper); }
.panel.room .label, .panel.room .help, .panel.room .pill { color: #b9b19f; }
.host-brand { font-size: 1.3rem; font-weight: 900; letter-spacing: -0.03em; }
.room-code { display: block; font-size: 5.4rem; font-weight: 900; line-height: 1; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.room-urls { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.room-urls code { font-size: 1rem; font-weight: 700; background: var(--paper); color: var(--ink); padding: 6px 10px; border-radius: var(--r); user-select: all; word-break: break-all; }
.transport .bar-chord { margin: 0 0 0 auto; gap: 12px; }
.transport .chord-now { font-size: 2.2rem; min-width: 2.6em; }
.transport .chord-next { min-width: 0; }
.time { color: var(--ink-2); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 0.9rem; margin-top: -8px; }
.progress { height: 12px; background: var(--paper-2); cursor: pointer; }
.progress i { display: block; height: 100%; width: 0; background: var(--ink); }
.transport .field { width: 100%; }
.transport .field > span:first-child { width: 4.8em; flex: none; }
.transport .field input[type='range'], .transport .field .select { flex: 1; }
.turn-now { font-weight: 800; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.person { background: var(--paper); border-radius: var(--r); border-left: 12px solid var(--accent); padding: 14px; display: flex; flex-direction: column; gap: 12px; outline: 3px solid transparent; outline-offset: -3px; }
.person.turn { outline-color: var(--ink); }
.person.offline { opacity: 0.45; }
.person .dot { width: 10px; height: 10px; background: var(--ok); flex: none; }
.person.offline .dot { background: var(--ink-2); }
.p-name { font-size: 1.3rem; font-weight: 900; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.p-inst { font-size: 0.78rem; font-weight: 800; padding: 2px 8px; background: var(--accent); color: var(--on-accent); white-space: nowrap; }
.p-stat { color: var(--ink-2); font-size: 0.9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.meter { width: 84px; height: 12px; background: var(--paper-2); overflow: hidden; flex: none; }
.meter i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 30px; border-bottom: 2px solid var(--ink); }
.spark i { flex: 1; max-width: 12px; min-height: 2px; background: var(--ink); }
.person .field { flex: 1; min-width: 120px; }
.person .field input { flex: 1; }
.empty { color: var(--ink-2); font-weight: 600; padding: 28px 12px; text-align: center; border: 2px dashed var(--ink-2); border-radius: var(--r); }
.chord-next { white-space: nowrap; }
.transport .row:first-child { gap: 10px; }
.transport .chord-now { min-width: 0; font-size: 2rem; }

/* ---- 따라 치기 ---- */
/* 참여자 화면: 한 마디를 8칸으로. 채워진 칸이 쳐야 하는 곳이다. */
.echo-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; padding: 12px 16px; background: var(--paper-2); }
.echo-strip[hidden] { display: none; }
.echo-strip i { height: 44px; border: 3px solid var(--ink); opacity: 0.25; }
.echo-strip i:nth-child(odd) { height: 56px; margin-top: -6px; }
.echo-strip i.want { opacity: 1; background: var(--white); }
.echo-strip i.lit { opacity: 1; background: var(--ink); }
.echo-strip[data-phase='response'] i.lit { background: var(--accent); }
.echo-strip[data-phase='response'] i.lit:not(.want) { background: var(--paper-2); border-style: dashed; }
.echo-strip i.now { outline: 4px solid var(--accent); outline-offset: 2px; }
.echo-strip.perfect { background: var(--accent); }
/* 진행자 화면: 리듬 편집 칸 */
.echo-box { display: flex; flex-direction: column; gap: 10px; }
.echo-box[hidden] { display: none; }
.pattern { display: grid; grid-template-columns: repeat(8, 34px); gap: 5px; }
.pattern-cell { height: 40px; padding: 0; border: 2px solid var(--ink); border-radius: 0; background: var(--white); cursor: pointer; }
.pattern-cell:nth-child(even) { height: 30px; align-self: end; }
.pattern-cell[aria-pressed='true'] { background: var(--ink); }
.pattern-cell.now { outline: 3px solid var(--accent, #e8a917); outline-offset: 1px; }

/* ---- 웹 데모 (서버 없이 정적 호스팅) ---- */
.demo-note { margin: 0; padding: 12px 14px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); font-weight: 600; line-height: 1.5; }
.demo-note a { color: inherit; font-weight: 800; }

/* 색소폰 쉬움 단계: 숨기지 않고 크기 차이만 더 크게 */
body[data-assist='1'] .sax-pad.tone { flex-grow: 1.7; }
body[data-assist='1'] .sax-pad.small { flex-grow: 0.45; }

/* 혼자 연습: 반주 버튼을 크게, 악기 색으로 */
.btn.play-main { min-height: 52px; padding: 8px 22px; font-size: 1.15rem; font-weight: 900; background: var(--accent); color: var(--on-accent); border-color: var(--ink); white-space: nowrap; }
.btn.play-main:hover { background: var(--accent); filter: brightness(0.95); }
.btn.play-main.playing { background: var(--white); color: var(--ink); }
