/* Studio 24 review page. Monochrome like studio-24.be; green only for "fixed", white for the playhead. */
:root {
  --bg: #282828; --card: #323234; --card2: #3c3c3f; --line: rgba(255,255,255,.10);
  --text: #f2f2f2; --dim: #b0b0b5; --faint: #808087; --green: #34c759; --red: #ff6961; --wave: #5a5a60; --wave-played: #d9d9de;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text);
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; }
[hidden] { display: none !important; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 1px solid var(--line); background: var(--card2); border-radius: 8px; padding: 8px 14px; }
button:hover { border-color: rgba(255,255,255,.25); }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
button.primary { background: var(--text); color: #282828; border-color: var(--text); font-weight: 600; }
button.primary:hover { background: #fff; }
input, textarea { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
textarea { resize: vertical; min-height: 72px; }
.dim { color: var(--dim); }
.spacer { flex: 1; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px max(16px, env(safe-area-inset-left)); max-width: 1120px; width: 100%; margin: 0 auto; }
.brand img { height: 56px; width: auto; display: block; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang button { border: 0; border-radius: 0; background: transparent; padding: 6px 10px; font-size: 12px; font-weight: 600; color: var(--dim); }
.lang button[aria-pressed="true"] { background: var(--text); color: #111; }
main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px 40px; }
.center { max-width: 380px; margin: 9vh auto 0; text-align: center; }
.center-text { text-align: center; }
.eyebrow { margin: 0 0 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
h1 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
h2 { margin: 0; font-size: 15px; font-weight: 600; }
.song-artist { margin: 2px 0 0; }
.stack { display: grid; gap: 12px; margin-top: 28px; text-align: left; }
.stack label span { display: block; font-size: 12px; color: var(--dim); margin-bottom: 6px; }
.error { color: var(--red); min-height: 1.4em; margin: 0; font-size: 13px; }
.song-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 8px 0 18px; }
.versions { display: flex; gap: 6px; flex-wrap: wrap; }
.versions button { font-size: 13px; padding: 6px 12px; color: var(--dim); }
.versions button[aria-selected="true"] { background: var(--text); color: #111; border-color: var(--text); font-weight: 600; }
.player { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.wave-wrap { position: relative; height: 110px; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; }
#wave { width: 100%; height: 100%; display: block; }
#markers { position: absolute; inset: 0; pointer-events: none; }
.marker { position: absolute; bottom: -3px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--text); border: 2px solid var(--card); pointer-events: auto; cursor: pointer; }
.marker.fixed { background: var(--green); }
.marker.range { border-radius: 4px; width: auto; height: 5px; margin-left: 0; bottom: -1px; border: 0; opacity: .55; }
.transport { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.round { width: 44px; height: 44px; border-radius: 50%; padding: 0; display: grid; place-items: center; background: var(--text); border: 0; }
.icon.play { width: 0; height: 0; border-left: 14px solid #111; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.icon.pause { width: 14px; height: 16px; border-left: 5px solid #111; border-right: 5px solid #111; }
.time { font-variant-numeric: tabular-nums; font-size: 14px; }
.composer { margin-top: 12px; background: var(--card); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 14px; display: grid; gap: 10px; }
.composer-head { display: flex; gap: 10px; align-items: center; font-size: 12px; }
.composer .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.composer .row input { width: auto; flex: 1 1 160px; }
.chip { font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 600; background: var(--card2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }
.list-head { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 10px; gap: 12px; flex-wrap: wrap; }
.progress { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.bar { width: 120px; height: 4px; border-radius: 2px; background: var(--card2); overflow: hidden; display: block; }
#progress-bar { display: block; height: 100%; width: 0; background: var(--green); transition: width .3s; }
.comments { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.comments:empty { display: none; }
.comment { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; padding: 12px 14px; border-top: 1px solid var(--line); background: var(--card); }
.comment:first-child { border-top: 0; }
.comment.current { background: var(--card2); }
.comment .when { grid-row: span 2; align-self: start; }
.comment .when button { font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 600; padding: 3px 8px; }
.comment .who { font-size: 12px; color: var(--dim); }
.comment .who .ver { color: var(--faint); }
.comment .text { grid-column: 2; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment.fixed .text { color: var(--dim); }
.comment .state { grid-row: 1; grid-column: 3; font-size: 11px; font-weight: 600; color: var(--faint); white-space: nowrap; }
.comment.fixed .state { color: var(--green); }
.comment .reply { grid-column: 2 / span 2; font-size: 13px; border-left: 2px solid var(--text); padding: 2px 0 2px 10px; margin-top: 4px; }
.comment .reply b { font-weight: 600; }
.comment .undo { grid-column: 3; grid-row: 2; font-size: 11px; padding: 2px 8px; color: var(--dim); background: transparent; justify-self: end; }
.approve { margin-top: 28px; padding: 18px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.approve.done { border-style: solid; border-color: rgba(52,199,89,.5); }
.approve.done p { color: var(--green); }
.status { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); margin: 0; background: var(--text); color: #111; padding: 8px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 600; opacity: 0; transition: opacity .2s; pointer-events: none; max-width: calc(100% - 32px); }
.status.show { opacity: 1; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 22px; align-items: start; }
.help { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; position: sticky; top: 16px; }
.help h2 { margin-bottom: 10px; }
.help ol { margin: 0; padding-left: 18px; display: grid; gap: 9px; font-size: 13px; color: var(--dim); }
.help li::marker { color: var(--faint); font-weight: 600; }
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } .help { position: static; } }
.foot { text-align: center; font-size: 12px; padding: 20px 16px 28px; }
@media (max-width: 560px) {
  h1 { font-size: 23px; }
  .brand img { height: 46px; }
  .wave-wrap { height: 84px; }
  #comment-btn { width: 100%; }
}
.contact { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.contact h2 { margin-bottom: 4px; }
.contact p { margin: 0 0 10px; font-size: 13px; }
.contact-row { display: flex; gap: 8px; flex-wrap: wrap; }
a.btn { display: inline-block; text-decoration: none; color: var(--text); border: 1px solid var(--line); background: var(--card2); border-radius: 8px; padding: 7px 14px; font-size: 13px; font-weight: 600; }
a.btn:hover { border-color: rgba(255,255,255,.25); }
a.btn[hidden] { display: none; }
/* download page */
.expires { margin: 0; font-size: 13px; }
.note { margin: 0 0 16px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); white-space: pre-wrap; }
.all-row { margin: 0 0 14px; }
button.big { padding: 12px 18px; font-size: 15px; }
.dim-dark { color: #6b6b70; font-weight: 500; margin-left: 6px; }
.files { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.file { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--card); border-top: 1px solid var(--line); }
.file:first-child { border-top: 0; }
.fname { overflow-wrap: anywhere; font-size: 14px; }
.fmeta { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
#files-view .help { margin-top: 0; }
@media (max-width: 560px) { .file { grid-template-columns: minmax(0, 1fr) auto; } .fmeta { grid-column: 1; grid-row: 2; } .file button { grid-row: span 2; } button.big { width: 100%; } }
