/* Onda 0.10.5: source-faithful, scoped browser demonstration.
   Geometry and tokens follow onda.css > glass.css > product.css > discovery.css.
   Narrow layouts adapt the desktop app to the website without changing its controls. */
.onda-content .onda-capabilities { margin-top: 10px; padding-top: 22px; }
.onda-capabilities > h4 { margin-bottom: 12px; }
.od-intro { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:22px; }
.od-intro p { margin:0; color:var(--text-secondary); font-size:.95rem; }
.od-reset { flex-shrink:0; padding:10px 0; min-height:44px; border:0; background:transparent; color:var(--text-secondary); font-size:.8rem; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.od-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:22px; }
.od-functions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }
.od-function { position:relative; display:flex; align-items:center; gap:10px; width:100%; min-height:64px; padding:13px 12px; border:1px solid var(--border); border-radius:11px; background:transparent; color:var(--text-secondary); text-align:left; font:inherit; font-size:.85rem; line-height:1.35; cursor:pointer; }
.od-function > svg { width:20px; height:20px; flex-shrink:0; }
.od-function[aria-pressed="true"] { color:var(--text); border-color:var(--border-strong); background:var(--surface-soft); box-shadow:inset 0 -3px #329f9f; font-weight:650; }
.od-function:hover { color:var(--text); background:var(--surface-soft); }
.od-function .od-done { position:absolute; right:7px; top:5px; width:11px; height:11px; color:var(--success); }
.od-function svg,.od-shell svg { fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.od-workspace { min-width:0; }
.od-guide { padding:0 2px 18px; }
.od-guide h5 { margin:0 0 7px; font-size:1.22rem; line-height:1.3; font-weight:650; letter-spacing:-.02em; }
.od-guide p { margin:0; max-width:78ch; font-size:.88rem; line-height:1.6; color:var(--text-secondary); }
.od-shell {
  --od-canvas:#0c121a; --od-surface:#17232e; --od-raised:#223340;
  --od-text:#f3f8fc; --od-muted:#b4c3cf; --od-line:#647888; --od-separator:#283b4b;
  --od-accent:#75dcef; --od-on-accent:#092f45; --od-selected:#183e50; --od-selection:#253c53;
  --od-focus:#86e3f5; --od-hover:#2c4355; --od-danger:#ffb9c4;
  --od-control-top:#b7dceb0a; --od-control-bottom:#b7dceb03; --od-control-edge:#afcddb26;
  --od-row:#15212b99; --od-panel:#192733f5; --od-shadow:#020b182d;
  --od-primary-a:#8ce8e8; --od-primary-b:#83c5f0;
  --od-track:#6b81905e; --od-track-edge:#b9d7e55e; --od-fill-start:#25c8d4; --od-fill-end:#46bdeb;
  --od-thumb:#def9ff; --od-thumb-edge:#f2fdff; --od-thumb-shadow:#04162957;
  --od-glass-light:#f0fcff54; --od-glass-shadow:#000b1d26; --od-wash:#167ca816;
  position:relative; min-width:0; container:onda-replica / inline-size;
  color-scheme:dark; color:var(--od-text); background:radial-gradient(ellipse at 90% 0%,var(--od-wash),transparent 60%),var(--od-canvas);
  border:1px solid var(--od-separator); border-radius:12px; overflow:clip;
  font:14px/1.4 "Segoe UI",system-ui,sans-serif; isolation:isolate;
}
.od-shell[data-skin="light"] {
  --od-canvas:#eef4f8; --od-surface:#e6eff6; --od-raised:#f8fcff;
  --od-text:#152836; --od-muted:#455e70; --od-line:#788e9f; --od-separator:#cbdbe6;
  --od-accent:#076791; --od-on-accent:#10374c; --od-selected:#d2eaf7; --od-selection:#dce8f3;
  --od-focus:#086eaa; --od-hover:#d7e7f2; --od-danger:#a02b49;
  --od-control-top:#ffffff70; --od-control-bottom:#ffffff30; --od-control-edge:#7894a83d;
  --od-row:#ffffff70; --od-panel:#f3f7fbf5; --od-shadow:#25496621;
  --od-primary-a:#b4f1eb; --od-primary-b:#8cc8ef;
  --od-track:#93aec14d; --od-track-edge:#617f96; --od-fill-start:#1588a6; --od-fill-end:#1979bb;
  --od-thumb:#f8fdff; --od-thumb-edge:#56778f; --od-thumb-shadow:#395d7b3b;
  --od-glass-light:#ffffffed; --od-glass-shadow:#48698517; --od-wash:#238dda12;
  color-scheme:light;
}
.od-shell *,.od-shell *::before,.od-shell *::after { box-sizing:border-box; }
.od-shell [hidden],#onda-demo[hidden],#onda-fallback[hidden] { display:none !important; }
.od-shell :focus-visible { outline:2px solid var(--od-focus); outline-offset:3px; }
.od-shell button,.od-shell input,.od-shell select { font:inherit; }
.od-shell button { cursor:pointer; box-shadow:none; }
.od-shell button:disabled { opacity:.44; cursor:default; }
.od-shell svg { display:block; width:19px; height:19px; flex-shrink:0; }
.od-shell ::selection { color:var(--od-text); background:var(--od-selected); }
.od-shell input { caret-color:var(--od-accent); }
.od-chrome { display:flex; align-items:center; justify-content:space-between; gap:14px; height:52px; padding:10px 22px; background:var(--od-surface); border-bottom:1px solid var(--od-separator); }
.od-brand { display:flex; align-items:center; gap:9px; letter-spacing:2px; }
.od-brand img { width:27px; height:27px; border-radius:7px; }
.od-demo-label { color:var(--od-muted); font-size:11px; }
.od-screen { position:relative; height:640px; overflow:auto; overscroll-behavior:contain; scrollbar-color:var(--od-line) var(--od-canvas); scrollbar-width:thin; padding:20px 22px 28px; }
.od-collection { display:flex; align-items:center; gap:22px; padding:0 0 22px; margin:0; }
.od-cover { flex-shrink:0; display:grid; place-items:center; width:108px; height:108px; border-radius:18px; border:1px solid var(--od-separator); overflow:hidden; background:var(--od-surface); }
.od-cover img { width:100%; height:100%; display:block; object-fit:cover; }
.od-cover > svg { width:38px; height:38px; color:var(--od-accent); }
.od-collection > div { min-width:0; }
.od-collection small { display:block; color:var(--od-accent); font-size:11px; font-weight:600; letter-spacing:.2px; }
.od-collection h6 { margin:5px 0 6px; font-size:32px; line-height:1.15; font-weight:650; letter-spacing:-.65px; overflow-wrap:anywhere; }
.od-collection p { margin:0 0 12px; color:var(--od-muted); font-size:13px; line-height:1.5; }
.od-hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.od-primary { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:38px; padding:8px 15px; border:1px solid transparent; border-radius:12px; background:linear-gradient(135deg,var(--od-primary-a),var(--od-primary-b)); color:var(--od-on-accent); font-size:13px !important; font-weight:650 !important; }
.od-primary:hover { background:linear-gradient(135deg,var(--od-primary-a),var(--od-primary-b)); color:var(--od-on-accent); }
.od-count { color:var(--od-muted); font-size:12px; }
.od-library-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin:0 0 6px; }
.od-library-heading h6 { margin:0; font-size:15px; font-weight:600; letter-spacing:-.2px; }
.od-library-tools { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.od-library-tools label { color:var(--od-muted); font-size:12px; }
.od-sort { min-width:0; padding:8px 12px; color:var(--od-text); border:1px solid var(--od-line); border-radius:12px; background:var(--od-surface); font-size:12px !important; }
.od-sort { max-width:230px; min-height:36px; }
.od-shell select option { background:var(--od-raised); color:var(--od-text); }
.od-text-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:36px; padding:7px 10px; background:transparent; border:1px solid transparent; border-radius:10px; color:var(--od-muted); font-size:12px !important; }
.od-icon { display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; gap:8px; width:37px; min-width:36px; height:37px; min-height:36px; padding:8px; border:1px solid transparent; border-radius:10px; background:transparent; color:var(--od-muted); }
.od-icon:hover,.od-text-button:hover { color:var(--od-text); background:var(--od-hover); }
.od-icon[aria-pressed="true"],.od-icon[aria-expanded="true"],.od-icon.active { color:var(--od-accent); background:var(--od-selected); }
.od-heart[aria-pressed="true"] svg { fill:currentColor; }
.od-icon.od-danger { color:var(--od-danger); }
.od-table-labels,.od-row { display:grid; grid-template-columns:34px minmax(110px,1fr) minmax(80px,.38fr) 54px 70px; align-items:center; gap:10px; padding:8px 10px; }
.od-table-labels.playlist-view,.od-list.playlist-view .od-row { grid-template-columns:28px 34px minmax(110px,1fr) minmax(80px,.38fr) 54px 70px; }
.od-table-labels { font-size:11px; color:var(--od-muted); padding-bottom:6px; }
.od-list { position:relative; list-style:none; padding:6px 0 0; margin:0; }
.od-row { min-height:62px; margin:0 0 3px; border:1px solid transparent; border-radius:10px; background:var(--od-row); font-size:14px; }
.od-row:hover { background:var(--od-surface); }
.od-row[data-current="true"] { background:var(--od-selected); }
.od-row[data-current="true"] .od-song-info strong { color:var(--od-accent); }
.od-row.selected { background:var(--od-selection); box-shadow:inset 3px 0 var(--od-focus); }
.od-meta { display:flex; align-items:center; gap:12px; min-width:0; }
.od-art { display:grid; place-items:center; width:38px; height:38px; flex-shrink:0; border-radius:6px; background:var(--od-control-top); color:var(--od-muted); overflow:hidden; }
.od-art img { width:100%; height:100%; object-fit:cover; }
.od-song-info,.od-meta > div { min-width:0; }
.od-meta strong,.od-song-info strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; font-weight:500; }
.od-meta small,.od-song-info small { display:block; color:var(--od-muted); margin-top:4px; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.od-album { min-width:0; color:var(--od-muted); font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.od-duration { color:var(--od-muted); font-size:12px; font-variant-numeric:tabular-nums; white-space:nowrap; }
.od-actions,.od-row-actions { display:flex; align-items:center; justify-content:flex-end; gap:2px; }
.od-actions .od-icon,.od-row-actions .od-icon { width:32px; min-width:32px; padding:5px; }
.od-row > .od-icon { width:34px; min-width:34px; padding:6px; }
.od-row > .od-grip { width:28px; min-width:28px; padding:4px; cursor:grab; touch-action:none; user-select:none; -webkit-user-drag:none; }
.od-row > .od-grip:active { cursor:grabbing; }
.od-list.is-dragging .od-row { transition:transform 150ms cubic-bezier(.2,.75,.25,1); }
.od-row.od-dragging { opacity:0; pointer-events:none; }
.od-drag-placeholder { position:absolute; left:0; width:100%; border:1px dashed var(--od-accent); border-radius:10px; background:var(--od-control-top); pointer-events:none; }
.od-row.od-drag-preview { position:absolute; left:0; z-index:60; width:100%; opacity:1; margin:0; background:var(--od-raised); border-color:var(--od-control-edge); box-shadow:0 8px 26px var(--od-shadow); pointer-events:none; transition:none; }
.od-drag-preview * { pointer-events:none !important; }
.od-row.od-drag-preview .od-song-info strong { color:var(--od-text); }
.od-demo-cursor { position:absolute; z-index:80; width:24px; height:30px; pointer-events:none; filter:drop-shadow(0 2px 3px #0008); }
.od-demo-cursor svg { width:24px; height:30px; fill:#fff; stroke:#10181b; stroke-width:1.3; }
.od-demo-cursor.is-pressed { filter:drop-shadow(0 0 4px var(--od-accent)); }
.od-icon.is-demo-target { color:var(--od-accent); outline:2px solid var(--od-accent); outline-offset:3px; background:var(--od-selected); }
.od-icon.is-demo-pressed { box-shadow:inset 0 0 0 2px var(--od-accent); }
.od-empty { text-align:center; color:var(--od-muted); padding:38px 18px; }
.od-empty p { margin-bottom:14px; }
.od-status { color:var(--text-secondary); min-height:20px; margin:13px 0 0; font-size:11px; }
/* One shared capsule, then the song progress directly below it. */
.od-player { position:relative; z-index:20; display:grid; grid-template-columns:minmax(160px,1fr) minmax(363px,1.3fr) minmax(136px,1fr); align-items:center; gap:22px; height:102px; padding:9px 24px; border-top:1px solid var(--od-separator); background:var(--od-panel); }
.od-now { display:flex; align-items:center; gap:12px; min-width:0; }
.od-now img { width:52px; height:52px; flex-shrink:0; border-radius:10px; object-fit:cover; }
.od-now-copy { min-width:0; }
.od-now-copy > small { display:block; margin:0 0 3px; color:var(--od-accent); font-size:10px; font-weight:600; }
.od-now-copy > strong { display:block; color:var(--od-text); font-size:13px; font-weight:600; line-height:1.4; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.od-now-copy > span { display:block; color:var(--od-muted); font-size:12px; margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.od-transport { min-width:0; }
.od-transport-buttons { display:flex; align-items:center; justify-content:center; width:max-content; max-width:100%; margin:0 auto; gap:6px; padding:4px 8px; border:1px solid var(--od-control-edge); border-radius:999px; background:var(--od-control-top); }
.od-player .od-icon { border-radius:50%; }
.od-transport-buttons [data-action="repeat"] { position:relative; }
.od-transport-buttons [data-action="repeat"] > small { position:absolute; top:-2px; right:-2px; display:grid; place-items:center; min-width:13px; height:13px; border-radius:50%; font-size:9px; line-height:1; color:var(--od-accent); background:var(--od-surface); }
.od-play,.od-play:hover { display:inline-flex; align-items:center; justify-content:center; flex:0 0 44px; width:44px; min-width:44px; height:44px; padding:0; border:1px solid transparent; border-radius:50%; color:var(--od-on-accent); background:linear-gradient(145deg,var(--od-primary-a),var(--od-primary-b)); box-shadow:none; }
.od-play svg { width:21px; height:21px; }
.od-progress { display:flex; align-items:center; gap:10px; min-width:0; margin-top:1px; color:var(--od-muted); font-size:11px; }
.od-progress > span { min-width:30px; font-variant-numeric:tabular-nums; }
.od-progress .od-range { flex:1; min-width:0; width:100%; }
.od-shell .od-range { appearance:none; height:24px; margin:0; padding:0; border:0; border-radius:999px; background:transparent; box-shadow:none; cursor:pointer; }
.od-range::-webkit-slider-runnable-track { height:6px; border-radius:999px; border:1px solid var(--od-track-edge); background:linear-gradient(90deg,var(--od-fill-start),var(--od-fill-end)) 0 0/var(--od-fill,0%) 100% no-repeat,var(--od-track); box-shadow:inset 0 1px 2px var(--od-glass-shadow),0 1px var(--od-glass-light); }
.od-range::-webkit-slider-thumb { appearance:none; width:17px; height:17px; margin-top:-6px; border:1px solid var(--od-thumb-edge); border-radius:50%; background:linear-gradient(140deg,#fff,var(--od-thumb)); box-shadow:0 2px 5px var(--od-thumb-shadow),inset 0 1px #fff; }
.od-range::-moz-range-track { height:6px; border-radius:999px; border:1px solid var(--od-track-edge); background:var(--od-track); }
.od-range::-moz-range-progress { height:6px; border-radius:999px; background:linear-gradient(90deg,var(--od-fill-start),var(--od-fill-end)); }
.od-range::-moz-range-thumb { width:15px; height:15px; border:1px solid var(--od-thumb-edge); border-radius:50%; background:var(--od-thumb); }
.od-player-right { display:flex; justify-content:flex-end; min-width:136px; }
.od-volume { display:flex; align-items:center; flex-shrink:0; gap:6px; width:136px; }
.od-volume .od-icon { width:28px; min-width:28px; height:36px; padding:5px; color:var(--od-text); border:0; background:transparent; box-shadow:none; }
.od-volume .od-icon svg { width:17px; height:17px; }
.od-volume .od-range { --od-volume-track:color-mix(in srgb,var(--od-text) 28%,var(--od-canvas)); width:100%; min-width:0; height:28px; }
.od-volume .od-range::-webkit-slider-runnable-track { height:4px; border:0; border-radius:4px; background:linear-gradient(var(--od-text),var(--od-text)) 0 0/var(--od-fill,20%) 100% no-repeat,var(--od-volume-track); box-shadow:none; }
.od-volume .od-range::-webkit-slider-thumb { width:6px; height:6px; margin-top:-1px; border:0; background:var(--od-text); box-shadow:none; opacity:0; }
.od-volume .od-range:hover::-webkit-slider-thumb,.od-volume .od-range:focus-visible::-webkit-slider-thumb,.od-volume .od-range:active::-webkit-slider-thumb { opacity:1; }
.od-volume .od-range::-moz-range-track { height:4px; border:0; background:var(--od-volume-track); }
.od-volume .od-range::-moz-range-progress { height:4px; background:var(--od-text); }
.od-volume .od-range::-moz-range-thumb { width:6px; height:6px; border:0; background:var(--od-text); }
.od-mini-top { display:none; }
/* The mini is the real compact arrangement, shown inside the demonstration. */
.od-shell.is-mini .od-screen { display:none; }
.od-shell.is-mini .od-player { display:grid; grid-template-columns:minmax(0,1fr) 32px; grid-template-rows:28px 50px minmax(44px,1fr) 24px; gap:4px 10px; width:min(420px,calc(100% - 32px)); height:190px; margin:26px auto; padding:10px 16px; border:1px solid var(--od-separator); border-radius:10px; }
.od-shell.is-mini .od-mini-top { grid-row:1; grid-column:1 / -1; display:flex; align-items:center; gap:7px; color:var(--od-text); font-size:11px; }
.od-mini-top label { display:flex; align-items:center; gap:7px; }
.od-mini-top input { width:14px; height:14px; margin:0; accent-color:var(--od-accent); }
.od-shell.is-mini .od-now { grid-row:2; grid-column:1; }
.od-shell.is-mini .od-now img { display:block; width:44px; height:44px; }
.od-shell.is-mini .od-now-copy > small { display:none; }
.od-shell.is-mini .od-now-copy > strong { font-size:14px; }
.od-shell.is-mini .od-now-copy > span { font-size:12px; }
.od-shell.is-mini .od-transport { display:contents; }
.od-shell.is-mini .od-transport-buttons { grid-row:3; grid-column:1; justify-self:center; max-width:100%; margin:0; gap:3px; padding:3px; }
.od-shell.is-mini .od-transport-buttons .od-icon { width:28px; min-width:28px; height:36px; padding:5px; }
.od-shell.is-mini .od-transport-buttons .od-play { flex-basis:38px; width:38px; min-width:38px; height:38px; }
.od-shell.is-mini .od-player-right { grid-row:2 / 4; grid-column:2; min-width:0; align-self:end; justify-content:center; }
.od-shell.is-mini .od-volume { width:32px; gap:4px; flex-direction:column-reverse; }
.od-shell.is-mini .od-volume .od-range { flex:none; writing-mode:vertical-lr; direction:rtl; width:28px; height:64px; margin:0; }
.od-shell.is-mini .od-volume .od-range::-webkit-slider-runnable-track { width:4px; height:100%; background:linear-gradient(var(--od-text),var(--od-text)) 0 100%/100% var(--od-fill,20%) no-repeat,var(--od-volume-track); }
.od-shell.is-mini .od-volume .od-range::-webkit-slider-thumb { margin:0 0 0 -1px; opacity:1; }
.od-shell.is-mini .od-volume .od-range::-moz-range-track,.od-shell.is-mini .od-volume .od-range::-moz-range-progress { width:4px; }
.od-shell.is-mini .od-volume .od-range::-moz-range-track { height:100%; }
.od-shell.is-mini .od-progress { grid-row:4; grid-column:1 / -1; margin:0; min-width:0; }
/* Collection chips and settings reuse Onda's materials and density. */
.od-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.od-small-button,.od-chip { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:38px; padding:8px 12px; border:1px solid var(--od-control-edge); border-radius:10px; color:var(--od-text); background:linear-gradient(155deg,var(--od-control-top),var(--od-control-bottom)); font-size:12px !important; line-height:1.3; }
.od-small-button:hover,.od-chip:hover { background-color:var(--od-hover); }
.od-chip[aria-pressed="true"] { color:var(--od-accent); background:var(--od-selected); border-color:var(--od-control-edge); }
.od-edit-name { min-width:100px; width:100%; min-height:40px; padding:10px 12px; border:1px solid var(--od-line); border-radius:9px; color:var(--od-text); background:var(--od-canvas); }
.od-list-caption { display:flex; justify-content:space-between; gap:12px; margin:16px 0 8px; color:var(--od-muted); font-size:11px; }
.od-queue-panel { position:absolute; right:0; top:52px; bottom:102px; z-index:35; width:310px; max-width:88%; padding:22px 16px; border-left:1px solid var(--od-separator); background:var(--od-panel); overflow:auto; overscroll-behavior:contain; scrollbar-color:var(--od-line) var(--od-canvas); scrollbar-width:thin; }
.od-queue-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.od-queue-heading h6,.od-queue-panel h6 { margin:0; font-size:18px; font-weight:600; }
.od-queue-panel > p { color:var(--od-muted); font-size:12px; line-height:1.5; }
.od-queue-list { position:relative; list-style:none; padding:0; margin:12px 0; }
.od-queue-row { display:flex; align-items:center; gap:8px; min-height:62px; padding:12px 0; border-bottom:1px solid var(--od-separator); }
.od-queue-row > span,.od-queue-row > div { flex:1; min-width:0; font-size:13px; line-height:1.4; overflow-wrap:anywhere; }
.od-queue-row small { display:block; color:var(--od-muted); font-size:11px; margin-top:4px; }
.od-queue-row .od-song-info strong { white-space:normal; font-size:13px; overflow-wrap:anywhere; }
.od-queue-row .od-icon { width:30px; min-width:30px; min-height:32px; height:32px; padding:6px; }
.od-queue-row .od-grip { min-width:26px; width:26px; cursor:grab; touch-action:none; }
.od-queue-list.is-dragging .od-queue-row { transition:transform 150ms cubic-bezier(.2,.75,.25,1); }
.od-queue-row.od-dragging { opacity:0; pointer-events:none; }
.od-queue-row.od-drag-preview { position:absolute; left:0; z-index:60; width:100%; margin:0; opacity:1; border:0; border-bottom:1px solid var(--od-control-edge); outline:1px solid var(--od-control-edge); outline-offset:-1px; border-radius:10px; background:var(--od-raised); box-shadow:0 8px 26px var(--od-shadow); pointer-events:none; transition:none; }
.od-menu { position:absolute; z-index:70; min-width:220px; max-width:calc(100% - 20px); padding:6px; border:1px solid var(--od-control-edge); border-radius:12px; background:var(--od-raised); color:var(--od-text); box-shadow:0 12px 38px var(--od-shadow); }
.od-menu button { display:flex; align-items:center; justify-content:flex-start; width:100%; min-height:38px; padding:9px 12px; gap:10px; text-align:left; font-size:13px; border:0; border-radius:7px; background:transparent; color:inherit; }
.od-menu button:hover,.od-menu button:focus-visible { background:var(--od-hover); }
.od-dialog { width:450px; max-width:calc(100% - 32px); max-height:calc(100% - 32px); padding:24px; overflow:auto; border:1px solid var(--od-control-edge); border-radius:16px; background:var(--od-raised); color:var(--od-text); box-shadow:0 12px 38px var(--od-shadow); }
.od-dialog::backdrop { background:#040d19a8; }
.od-dialog h5 { margin:0; font-size:21px; font-weight:600; }
.od-dialog-top { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:18px; }
.od-dialog label { display:grid; gap:8px; color:var(--od-muted); font-size:13px; }
.od-dialog input { width:100%; padding:10px 12px; border:1px solid var(--od-line); border-radius:10px; background:var(--od-surface); color:var(--od-text); }
.od-batch { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding:10px 0; color:var(--od-muted); font-size:13px; }
.od-dialog p { color:var(--od-muted); font-size:13px; line-height:1.7; }
.od-dialog-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:22px; }
.od-demo-controls { display:flex; align-items:center; flex-wrap:wrap; gap:12px 18px; margin:14px 2px 24px; color:var(--text-secondary); font-size:.8rem; }
.od-demo-controls button { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:46px; padding:11px 18px; border:1px solid var(--border-strong); border-radius:12px; font:inherit; font-weight:650; line-height:1.3; text-decoration:none; cursor:pointer; transition:background-color 160ms ease,border-color 160ms ease,box-shadow 160ms ease; }
.od-demo-controls .od-replay { color:var(--on-accent); background:var(--accent); border-color:var(--accent); box-shadow:0 4px 12px color-mix(in srgb,var(--accent) 18%,transparent); }
.od-demo-controls .od-replay:hover:not(:disabled) { background:var(--accent-hover); border-color:var(--accent-hover); box-shadow:0 5px 16px color-mix(in srgb,var(--accent) 26%,transparent); }
.od-demo-controls .od-stop-demo { color:var(--text); background:var(--surface-soft); }
.od-demo-controls .od-stop-demo:hover:not(:disabled) { background:var(--surface-raised); }
.od-demo-controls button:focus-visible { outline:3px solid var(--focus); outline-offset:4px; }
.od-demo-controls button:disabled { color:var(--disabled-text); background:var(--disabled); border-color:var(--disabled); box-shadow:none; cursor:default; }
.od-demo-controls button > svg { flex-shrink:0; width:18px; height:18px; }
.od-demo-controls > span { flex:1; min-width:180px; line-height:1.5; }
@supports (backdrop-filter:blur(16px)) { .od-player,.od-queue-panel,.od-dialog { backdrop-filter:blur(16px); } }
.od-shell[data-effects="reduced"] .od-player,.od-shell[data-effects="reduced"] .od-queue-panel,.od-shell[data-effects="reduced"] .od-dialog { background:var(--od-raised); backdrop-filter:none; box-shadow:none; }
.od-shell[data-effects="reduced"] *,.od-shell[data-effects="reduced"] *::before { transition:none !important; }
@container onda-replica (max-width:1100px) {
  .od-player { gap:12px; padding-left:18px; padding-right:18px; grid-template-columns:minmax(140px,1fr) minmax(343px,1.3fr) minmax(136px,1fr); }
  .od-transport-buttons { gap:4px; padding:3px 5px; }
}
@container onda-replica (max-width:800px) {
  .od-screen { padding:18px 16px 26px; }
  .od-table-labels,.od-row { grid-template-columns:34px minmax(100px,1fr) 54px 70px; }
  .od-table-labels.playlist-view,.od-list.playlist-view .od-row { grid-template-columns:28px 34px minmax(100px,1fr) 54px 70px; }
  .od-album,.od-album-heading { display:none; }
  .od-library-tools label { display:none; }
  .od-player { grid-template-columns:minmax(80px,1fr) minmax(343px,1.8fr) 136px; }
  .od-now img { display:none; }
}
@container onda-replica (max-width:650px) {
  .od-player { height:144px; grid-template-columns:minmax(0,1fr) 136px; grid-template-rows:auto auto; gap:4px 10px; padding:8px 16px; }
  .od-transport { grid-row:2; grid-column:1 / -1; width:min(440px,100%); justify-self:center; }
  .od-player-right { grid-row:1; grid-column:2; }
  .od-now-copy > strong,.od-now-copy > span { font-size:11px; }
  .od-now-copy > small { display:none; }
  .od-collection { gap:16px; }
  .od-cover { width:90px; height:90px; }
  .od-collection h6 { font-size:27px; }
  .od-collection p { font-size:12px; }
  .od-library-heading { gap:8px; }
  .od-library-tools { gap:6px; }
  .od-meta { gap:9px; }
  .od-meta strong { font-size:13px; }
  .od-queue-panel { bottom:144px; }
}
@container onda-replica (max-width:430px) {
  .od-chrome { padding:10px 12px; gap:6px; }
  .od-demo-label { font-size:10px; }
  .od-screen { height:560px; padding:18px 10px 24px; }
  .od-collection { gap:12px; align-items:flex-start; }
  .od-cover { width:64px; height:64px; border-radius:12px; }
  .od-collection h6 { font-size:24px; }
  .od-hero-actions { gap:7px; }
  .od-count { font-size:11px; }
  .od-library-heading { align-items:flex-start; }
  .od-library-tools { width:100%; justify-content:space-between; }
  .od-sort { max-width:185px; padding:8px; }
  .od-library-tools .od-text-button { font-size:11px !important; padding:7px 4px; }
  .od-table-labels,.od-row { grid-template-columns:28px minmax(0,1fr) 36px 30px; gap:5px; padding-left:5px; padding-right:5px; }
  .od-table-labels.playlist-view,.od-list.playlist-view .od-row { grid-template-columns:26px 28px minmax(0,1fr) 36px 30px; }
  .od-art { display:none; }
  .od-meta small { font-size:11px; }
  .od-duration { font-size:11px; }
  .od-actions,.od-row-actions { flex-wrap:wrap; gap:0; }
  .od-actions .od-icon,.od-row-actions .od-icon { width:28px; min-width:28px; height:28px; min-height:28px; padding:4px; }
  .od-row > .od-icon { width:28px; min-width:28px; padding:4px; }
  .od-row > .od-grip { width:26px; min-width:26px; }
  .od-player { padding-left:10px; padding-right:10px; }
  .od-transport-buttons { gap:3px; padding:3px; }
  .od-transport-buttons .od-icon { width:28px; min-width:28px; height:36px; padding:5px; }
  .od-transport-buttons .od-play { flex-basis:38px; width:38px; min-width:38px; height:38px; }
  .od-shell.is-mini .od-player { width:calc(100% - 16px); margin:18px auto; padding-left:10px; padding-right:10px; }
}
@container onda-replica (max-width:350px) {
  .od-shell.is-mini .od-player { grid-template-columns:minmax(0,1fr) 28px; gap:4px 4px; padding-left:6px; padding-right:6px; }
  .od-shell.is-mini .od-transport-buttons { gap:1px; padding:3px 2px; }
  .od-shell.is-mini .od-transport-buttons .od-icon { width:25px; min-width:25px; padding:3px; }
  .od-shell.is-mini .od-now { gap:8px; }
  .od-shell.is-mini .od-now img { width:38px; height:38px; }
  .od-shell.is-mini .od-now-copy > strong { font-size:12px; }
}
@container onda-replica (max-width:300px) {
  .od-transport-buttons { gap:1px; padding:3px; }
  .od-transport-buttons .od-icon { width:24px; min-width:24px; padding:3px; }
  .od-transport-buttons .od-icon svg { width:16px; height:16px; }
  .od-transport-buttons .od-play { flex-basis:34px; width:34px; min-width:34px; height:36px; }
  .od-shell.is-mini .od-player { width:calc(100% - 8px); grid-template-columns:minmax(0,1fr) 24px; gap:4px; }
  .od-shell.is-mini .od-volume { width:24px; }
  .od-shell.is-mini .od-volume .od-icon { width:24px; min-width:24px; }
  .od-shell.is-mini .od-volume .od-range { width:24px; }
  .od-shell.is-mini .od-transport-buttons .od-icon { width:24px; min-width:24px; padding:3px; }
  .od-shell.is-mini .od-transport-buttons .od-play { flex-basis:34px; width:34px; min-width:34px; height:36px; }
}
@media (max-width:800px) { .od-functions { grid-template-columns:repeat(2,minmax(0,1fr)); } .od-function { font-size:.82rem; } }
@media (max-width:520px) {
  .od-intro { display:block; margin-bottom:18px; }
  .od-intro p { font-size:.88rem; }
  .od-reset { padding-block:6px; }
  .od-functions { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .od-function { font-size:.78rem; min-height:60px; padding:11px 8px; gap:8px; }
  .od-function > svg { width:18px; }
  .od-guide h5 { font-size:1.13rem; }
  .od-guide p { font-size:.83rem; }
}
@media (prefers-reduced-motion:reduce) { .od-shell *,.od-shell *::before,.od-demo-controls button { transition:none !important; animation:none !important; } }
@media (prefers-reduced-transparency:reduce) { .od-player,.od-dialog,.od-queue-panel { background:var(--od-raised); backdrop-filter:none; } }
@media (forced-colors:active) {
  .od-shell { background:Canvas; color:CanvasText; }
  .od-player,.od-dialog,.od-queue-panel,.od-row.od-drag-preview,.od-queue-row.od-drag-preview { background:Canvas; color:CanvasText; backdrop-filter:none; box-shadow:none; }
  .od-function[aria-pressed="true"],.od-chip[aria-pressed="true"],.od-row[data-current="true"] { outline:2px solid Highlight; }
  .od-shell button { border:1px solid ButtonText; }
  .od-drag-placeholder { border:1px dashed Highlight; background:Canvas; }
  .od-volume .od-range::-webkit-slider-runnable-track { background:Canvas; border:1px solid CanvasText; }
  .od-volume .od-range::-webkit-slider-thumb { opacity:1; background:Highlight; }
}
