/* MAXTI — fülke hangdemó (főoldal + fülke-oldal) */
.hd { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "play seg" "viz viz" "note note"; gap: 14px 16px; align-items: center; }
.hd-play { grid-area: play; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px; border: 0; cursor: pointer; background: #ededee; color: #0b0b0c; font: 600 15px var(--f-body, inherit); transition: transform 0.2s var(--ease), background 0.2s; }
.hd-play:hover { background: #fff; }
.hd-play:active { transform: scale(0.97); }
.hd-play svg { width: 22px; height: 22px; fill: currentColor; }
.hd-play.busy { opacity: 0.6; pointer-events: none; }
.hd-seg { grid-area: seg; display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border: 1px solid var(--line2); border-radius: 999px; justify-self: start; }
.hd-seg button { border: 0; background: none; color: var(--mute); padding: 9px 14px; border-radius: 999px; cursor: pointer; font: 500 13.5px var(--f-body, inherit); transition: color 0.2s, background 0.2s; }
.hd-seg button:hover { color: var(--text); }
.hd-seg button[aria-checked="true"] { background: rgba(255, 255, 255, 0.1); color: var(--text); }
.hd-viz { grid-area: viz; width: 100%; height: 96px; display: block; opacity: 0.35; transition: opacity 0.4s var(--ease); }
.hd.on .hd-viz { opacity: 1; }
.hd-note { grid-area: note; margin: 0; font-size: 12.5px; color: var(--dim); }

/* főoldali keret */
.hd-card { margin-top: 18px; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); }
.hd-card h3 { font: 700 23px/1.15 var(--f-disp); letter-spacing: -0.015em; margin: 0 0 6px; }
.hd-card > p { color: var(--mute); margin: 0 0 20px; max-width: 62ch; }
@media (max-width: 760px) {
  .hd { grid-template-columns: 1fr; grid-template-areas: "play" "seg" "viz" "note"; }
  .hd-seg { border-radius: 14px; display: grid; grid-template-columns: 1fr; justify-self: stretch; }
  .hd-seg button { text-align: left; }
  .hd-card { padding: 20px 16px; }
  .hd-viz { height: 72px; }
}

/* kompakt: a fülke-oldal Hang nézetének dobozában */
.hd-compact { grid-template-columns: 1fr; grid-template-areas: "play" "seg" "viz"; gap: 8px; margin-top: 10px; }
.hd-compact .hd-play { padding: 8px 14px 8px 10px; font-size: 13px; justify-self: start; }
.hd-compact .hd-play svg { width: 18px; height: 18px; }
.hd-compact .hd-seg { border-radius: 10px; padding: 3px; gap: 2px; }
.hd-compact .hd-seg button { padding: 6px 9px; font-size: 11.5px; }
.hd-compact .hd-viz { height: 40px; }
.hd-compact .hd-note { display: none; }
.hd-compact .hd-seg, .hd-compact .hd-seg { display: flex !important; flex-wrap: nowrap; justify-self: stretch; }
.hd-compact .hd-seg button { flex: 1; text-align: center !important; white-space: nowrap; }
@media (max-width: 640px) {
  .ps-meter:has(.hd) .mr, .ps-meter:has(.hd) #mNote { display: none; }
  .ps-meter:has(.hd) small { margin-top: 0; }
  .hd-compact .hd-viz { height: 30px; }
}
