/* Otoolia — Oreille musicale (styles limités à .or / .or-*) */
.or-head h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: .2em; }
.or h2 { font-size: 1.05rem; margin: 0 0 10px; }
.or-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 var(--ot-space); }
.or-tb { border: 1px solid var(--ot-border); background: var(--ot-surface); color: var(--ot-text); border-radius: 999px; padding: 7px 16px; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; }
.or-tb[aria-pressed="true"] { background: var(--ot-brand); border-color: var(--ot-brand); color: var(--ot-brand-ink); }
.or-main { display: grid; gap: var(--ot-space); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .or-main { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.or-main > * { min-width: 0; }
.or-ctl { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 6px 0 14px; }
.or-big { min-height: 52px; font-size: 1.05rem; padding: 8px 22px; }
.or-ans { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.or-a { min-height: 46px; justify-content: flex-start; text-align: left; }
.or-a kbd { font: inherit; font-size: .72rem; color: var(--ot-text-soft); border: 1px solid var(--ot-border); border-radius: 4px; padding: 0 4px; margin-right: 4px; }
.or-a.is-ok { border-color: var(--ot-success); background: color-mix(in srgb, var(--ot-success) 15%, var(--ot-surface)); }
.or-a.is-bad { border-color: var(--ot-danger); background: color-mix(in srgb, var(--ot-danger) 12%, var(--ot-surface)); }
.or-fb { text-align: center; font-weight: 700; min-height: 1.5em; margin: 12px 0 4px; }
.or-fb.is-ok { color: var(--ot-success); } .or-fb.is-bad { color: var(--ot-danger); }
.or-explain { font-size: .88rem; color: var(--ot-text-soft); background: var(--ot-surface-2); border-radius: var(--ot-radius-s); padding: 8px 12px; margin: 8px 0 0; min-height: 1em; }
.or-explain:empty { display: none; }
.or-score { text-align: center; font-size: .88rem; color: var(--ot-text-soft); font-variant-numeric: tabular-nums; min-height: 1.3em; }
.or-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; margin-bottom: 8px; }
.or-row[hidden], .or-cmp[hidden] { display: none; }
.or-f { display: flex; flex-direction: column; gap: 3px; font-size: .78rem; font-weight: 600; color: var(--ot-text-soft); }
.or-f .ot-select { min-height: 36px; padding: 4px 8px; font-size: .92rem; width: auto; }
.or-items { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.or-chip { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border: 1px solid var(--ot-border); border-radius: 999px; font-size: .84rem; cursor: pointer; background: var(--ot-surface); }
.or-chip:has(input:checked) { border-color: var(--ot-logo-blue); background: color-mix(in srgb, var(--ot-logo-blue) 10%, var(--ot-surface)); }
.or-ck { display: flex; gap: 6px; align-items: center; font-size: .88rem; margin: 4px 0; }
.or-sm { min-height: 32px; padding: 4px 12px; font-size: .85rem; }
.or-stats table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.or-stats th { text-align: left; font-weight: 500; padding: 3px 8px 3px 0; }
.or-stats td { padding: 3px 0; font-variant-numeric: tabular-nums; text-align: right; }
.or-bar { display: inline-block; width: 100%; min-width: 60px; height: 8px; background: var(--ot-surface-2); border-radius: 99px; overflow: hidden; vertical-align: middle; }
.or-bar i { display: block; height: 100%; }
.or-about { margin-top: calc(var(--ot-space) * 2); }
