/* Inner Dive · Organic Drift Engine panel (4 Nov 2026) */
.odr { --o: #5FE6FF; position: relative; overflow: hidden; padding: 18px; border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--o) 38%, transparent);
  background: radial-gradient(130% 90% at 100% 0%, color-mix(in srgb, var(--o) 14%, transparent), transparent 60%),
              radial-gradient(90% 80% at 0% 100%, rgba(170,110,255,.12), transparent 60%), rgba(4,7,18,.72);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 24px 60px -34px var(--o); }
.odr::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.odr.off { --o: #7C88A8; }
.odr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; position: relative; }
.odr-eng { margin: 0 0 4px; font-family: ui-monospace, monospace; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--o) 85%, #fff); opacity: .85; }
.odr-eng i { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--o); box-shadow: 0 0 10px var(--o); vertical-align: 1px; animation: odr-pulse 2.4s ease-in-out infinite; }
.odr.off .odr-eng i { animation: none; }
@keyframes odr-pulse { 50% { opacity: .3; } }
.odr-title { margin: 0; font-size: 1.25rem; font-weight: 650; letter-spacing: -.01em; color: #fff;
  background: linear-gradient(90deg, #fff, color-mix(in srgb, var(--o) 70%, #fff)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.odr-desc { position: relative; margin: 8px 0 12px; font-size: .86rem; line-height: 1.45; color: rgba(230,234,242,.72); }

.odr-sw { flex: none; display: inline-flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border-radius: 999px; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--o) 55%, transparent); background: rgba(5,8,20,.6); color: #fff; font: inherit; font-size: .78rem; }
.odr-knob { width: 34px; height: 20px; border-radius: 999px; position: relative; background: color-mix(in srgb, var(--o) 30%, rgba(255,255,255,.08)); transition: background .25s; }
.odr-knob::after { content: ""; position: absolute; top: 2px; left: 16px; width: 16px; height: 16px; border-radius: 50%; background: var(--o); box-shadow: 0 0 12px var(--o); transition: left .25s, background .25s; }
.odr.off .odr-knob::after { left: 2px; box-shadow: none; }

.odr-stage { position: relative; height: 250px; margin: 0 -6px 8px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 50%, rgba(20,30,60,.55), rgba(2,4,12,.9)); border: 1px solid rgba(160,200,255,.1); }
.odr-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.odr-hud { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 -6px 6px; }
.odr-hud span { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 4px; border-radius: 9px; background: rgba(3,6,16,.55); border: 1px solid rgba(160,200,255,.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); min-width: 0; }
.odr-hud small { font-family: ui-monospace, monospace; font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(230,234,242,.55); white-space: nowrap; }
.odr-hud b { font-family: ui-monospace, monospace; font-size: .8rem; font-weight: 600; color: color-mix(in srgb, var(--o) 55%, #fff); font-variant-numeric: tabular-nums; white-space: nowrap; }
.odr-state, .odr-rep { position: absolute; bottom: 9px; font-family: ui-monospace, monospace; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(230,234,242,.5); }
.odr-state { left: 12px; }
.odr-state.live { color: var(--o); text-shadow: 0 0 8px var(--o); }
.odr-state.live::before { content: "● "; }
.odr-rep { right: 12px; }

.odr-body { position: relative; transition: opacity .3s; }
.odr.off .odr-body { opacity: .45; }
.odr .odr-l { margin: 12px 0 7px; }
.odr-chips { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 7px; }
.odr-chips button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; padding: 8px 4px; border-radius: 13px; cursor: pointer;
  border: 1px solid rgba(230,234,242,.15); background: rgba(5,8,20,.55); color: var(--ink, #E6EAF2); font: inherit; text-align: center; transition: border-color .2s, box-shadow .2s, transform .2s; }
.odr-chips button b { font-size: .86rem; font-weight: 600; }
.odr-chips button small { font-family: ui-monospace, monospace; font-size: .62rem; color: rgba(230,234,242,.55); }
.odr-chips button:hover { border-color: color-mix(in srgb, var(--o) 60%, transparent); }
.odr-chips button[aria-checked="true"] { border-color: var(--o); color: #fff; transform: translateY(-1px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--o) 20%, transparent), rgba(5,8,20,.6)); box-shadow: 0 0 0 1px var(--o), 0 0 22px -6px var(--o); }
.odr-chips button[aria-checked="true"] small { color: color-mix(in srgb, var(--o) 70%, #fff); }

.odr-pace { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
.odr-tap { position: relative; width: 64px; min-height: 52px; border-radius: 13px; cursor: pointer; overflow: hidden;
  border: 1px dashed color-mix(in srgb, var(--o) 65%, transparent); background: rgba(5,8,20,.55); color: #fff; font: inherit; font-size: .84rem; }
.odr-tap.on { border-style: solid; border-color: var(--o); box-shadow: 0 0 0 1px var(--o), 0 0 22px -6px var(--o); }
.odr-tap b { position: relative; font-weight: 600; }
.odr-ring { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; border: 2px solid var(--o); opacity: 0; }
.odr-tap.hit .odr-ring { animation: odr-ring .7s ease-out; }
@keyframes odr-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(9); } }
.odr-tapnote { margin: 7px 0 0; font-family: ui-monospace, monospace; font-size: .72rem; color: color-mix(in srgb, var(--o) 75%, #fff); }
.odr-note { margin: 12px 0 0; font-size: .78rem; line-height: 1.45; color: rgba(230,234,242,.6); }

@media (max-width: 520px) {
  .odr { padding: 14px; }
  .odr-stage { height: 220px; }
  .odr-hud span { padding: 4px 6px; }
  .odr-hud b { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) { .odr-eng i, .odr-tap.hit .odr-ring { animation: none; } }

/* Voice resonance (4 Nov 2026) */
.odr-voice { position: relative; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(160,200,255,.12); }
.odr-voice[hidden] { display: none; }
.odr-voice .odr-l { margin-top: 0; }
.odr-vdesc { margin: 0 0 10px; font-size: .84rem; line-height: 1.45; color: rgba(230,234,242,.7); }
.odr-vrow { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.odr-hum { --p: 0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 92px; height: 92px; border-radius: 50%; cursor: pointer;
  border: 1px solid color-mix(in srgb, #5FE6FF 55%, transparent); color: #fff; font: inherit; font-size: .74rem;
  background: radial-gradient(circle at 50% 35%, rgba(95,230,255,.22), rgba(5,8,20,.85) 70%); box-shadow: 0 0 26px -8px #5FE6FF; }
.odr-hum svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.odr-hum b { font-weight: 600; max-width: 80px; line-height: 1.1; }
.odr-humring { position: absolute; inset: -5px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(#5FE6FF calc(var(--p) * 360deg), transparent 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 0); }
.odr-hum.on { animation: odr-humpulse 1.2s ease-in-out infinite; }
@keyframes odr-humpulse { 50% { box-shadow: 0 0 40px -4px #5FE6FF; } }
.odr-vread { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.odr-vread small { font-size: .74rem; color: rgba(230,234,242,.6); }
.odr-vread strong { font-family: ui-monospace, monospace; font-size: 1.7rem; font-weight: 650; letter-spacing: -.01em; color: #fff; text-shadow: 0 0 18px rgba(95,230,255,.6); white-space: nowrap; }
.odr-vread span { font-family: ui-monospace, monospace; font-size: .8rem; color: #8FEFFF; }
.odr-vcv { display: block; width: 100%; height: 54px; margin-top: 10px; border-radius: 10px; background: rgba(2,4,12,.6); border: 1px solid rgba(160,200,255,.1); }
.odr .odr-tune { display: block; width: 100%; margin-top: 10px; min-height: 46px; border-radius: 13px; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 600; color: #04121a;
  border: 0; background: linear-gradient(90deg, #5FE6FF, #A98BFF); box-shadow: 0 10px 30px -12px #5FE6FF; }
.odr .odr-tune, .odr .odr-tune:hover { color: #04121a !important; -webkit-text-fill-color: #04121a; opacity: 1 !important; }
.odr-tune[hidden] { display: none; }
.odr-vmsg { margin: 8px 0 0; font-size: .8rem; color: #FFD58A; }
.odr-vmsg.ok { color: #7DFFC4; }
.odr-priv { margin: 8px 0 0; font-size: .72rem; color: rgba(230,234,242,.5); }
@media (prefers-reduced-motion: reduce) { .odr-hum.on { animation: none; } }

/* with the Nodal Engine (4 Nov 2026): the Signal switch, also inside the panel */
.odr-sig { position: relative; margin: -4px 0 12px; padding: 10px; border-radius: 13px; background: rgba(5,8,20,.5); border: 1px solid rgba(160,200,255,.14); }
.odr-sig[hidden] { display: none; }
.odr-sigrow { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 3px; border-radius: 11px; background: rgba(2,4,12,.6); }
.odr-sigrow button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; border-radius: 9px; border: 1px solid transparent; background: none; color: rgba(230,234,242,.6); font: inherit; font-size: .84rem; cursor: pointer; transition: all .2s; }
.odr-sigrow button i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .6; }
.odr-sigrow button[data-s="nodal"][aria-checked="true"] { color: #fff; border-color: #A98BFF; background: linear-gradient(180deg, rgba(169,139,255,.28), rgba(169,139,255,.08)); box-shadow: 0 0 18px -6px #A98BFF; }
.odr-sigrow button[data-s="nodal"][aria-checked="true"] i { background: #A98BFF; box-shadow: 0 0 9px #A98BFF; opacity: 1; }
.odr-sigrow button[data-s="pure"][aria-checked="true"] { color: #fff; border-color: rgba(230,234,242,.7); background: rgba(230,234,242,.1); box-shadow: 0 0 18px -8px #E6EAF2; }
.odr-sigrow button[data-s="pure"][aria-checked="true"] i { background: #fff; box-shadow: 0 0 9px #fff; opacity: 1; }
.odr-sig p { margin: 8px 2px 0; font-size: .76rem; line-height: 1.45; color: rgba(230,234,242,.75); }
.odr-sig em { font-style: normal; color: rgba(230,234,242,.5); }

/* simple first (4 Nov 2026): the rest waits in Fine-tune */
.odr-more { position: relative; margin-top: 14px; border-top: 1px solid rgba(160,200,255,.12); }
.odr-more > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 12px 2px 2px; cursor: pointer; font-size: .86rem; font-weight: 600; color: rgba(230,234,242,.8); }
.odr-more > summary::-webkit-details-marker { display: none; }
.odr-more > summary i { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s; margin-right: 6px; }
.odr-more[open] > summary i { transform: rotate(225deg); }
.odr-more > summary:hover { color: #fff; }
.odr-morein { padding-top: 12px; }
.odr-voice .odr-vcv { height: 40px; }
.odr .odr-desc { margin-bottom: 10px; }
.odr-vread[hidden], .odr-vcv[hidden] { display: none; }
.odr-vrow { grid-template-columns: auto 1fr; }
