/* Izzy Neutron: ten nights, the deck display (pieces/izzy-nights.js). Scoped to .inz. His look around it: void black, bone, graphite
   hairlines, wide capitals (Archivo, loaded by the page), a light film grain. The colour lives only in the waveforms (blue lows, orange
   mids, white highs), as Brian asked. An original screen: no maker's name, logo or layout. */
.inz { --void: #0B0B0C; --bone: #ECEBE7; --ash: #8D9197; --graphite: #2A2A2E; --scr: #060607; position: relative; padding: clamp(56px, 8vw, 120px) var(--pad); background: var(--void); color: var(--bone); overflow: hidden; }
.inz::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.inz > * { position: relative; }
.inz-head { display: grid; gap: clamp(12px, 1.6vw, 18px); margin: 0 0 clamp(14px, 2vw, 22px); max-width: 46rem; }
.inz-title { margin: 0; font-family: "Archivo", var(--disp); font-stretch: 112%; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1.02;
  font-size: clamp(1.75rem, 4.2vw, 3.4rem); color: #ECEBE7; text-wrap: balance; }
.inz-why { margin: 0; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.5; color: rgba(236, 235, 231, .86); text-wrap: pretty; }
.inz-hint { margin: 0 0 clamp(22px, 3vw, 36px); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: rgba(236, 235, 231, .78); }
.inz .inz-tag, .inz .inz-tt, .inz .inz-ct, .inz .inz-fl, .inz .inz-ph em, .inz .inz-bt, .inz .inz-cue span, .inz .inz-kk, .inz .inz-date, .inz .inz-room, .inz .inz-none, .inz .inz-b, .inz .inz-list b, .inz .inz-list em, .inz .inz-tn, .inz .inz-tb, .inz .inz-tk, .inz .inz-k, .inz .inz-pad, .inz .inz-list i { font-family: "Archivo", var(--disp); font-stretch: 112%; text-transform: uppercase; letter-spacing: .08em; font-style: normal; }

/* the screen */
/* full bleed: the screen runs edge to edge across the viewport; its labels keep to the page margins */
.inz-scr { margin: 0 calc(-1 * var(--pad)); border-top: 1px solid var(--graphite); border-bottom: 1px solid var(--graphite); background: var(--scr); padding: 12px 0 14px; display: grid; gap: 8px; }
.inz-hd { padding: 0 var(--pad); }
.inz-hd { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.inz-tag { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--bone); border-radius: 2px; font-weight: 700; font-size: 11px; }
.inz-tt { font-weight: 600; color: var(--bone); }
.inz-ct { margin-left: auto; display: flex; gap: 14px; align-items: baseline; font-variant-numeric: tabular-nums; }
.inz-ct b { font-weight: 700; font-size: 15px; letter-spacing: .06em; }
.inz-ct i { font-style: normal; color: var(--ash); font-size: 12px; }
.inz-ct i::after { content: " BPM"; }

/* the two decks */
.inz-wv { position: relative; height: clamp(96px, 11vw, 150px); border-top: 1px solid var(--graphite); cursor: grab; touch-action: pan-y; overflow: hidden; }
.inz-wv.is-drag { cursor: grabbing; }
.inz-wb { height: clamp(64px, 7vw, 100px); }
.inz-wv canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.inz-ph { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--bone); box-shadow: 0 0 0 1px rgba(6, 6, 7, .6); pointer-events: none; z-index: 2; }
.inz-ph em { position: absolute; top: 10px; right: 8px; font-size: 10px; font-weight: 700; white-space: nowrap; background: var(--scr); padding: 1px 5px; }
.inz-bt { position: absolute; left: var(--pad); bottom: 6px; margin: 0; display: grid; gap: 1px; font-size: 10px; font-weight: 600; line-height: 1.2; color: var(--bone); background: rgba(6, 6, 7, .82); padding: 3px 7px; z-index: 3; pointer-events: none; white-space: nowrap; }
.inz-bt b { font-weight: 700; color: #ff8c28; }
.inz-wb .inz-ph { opacity: .55; }

/* cue flags on deck A: the show's date and room, at its cue */
.inz-flags { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.inz-fl { position: absolute; left: 0; bottom: 0; display: grid; gap: 1px; padding: 4px 7px 5px 8px; font-size: 10px; font-weight: 600; line-height: 1.15; white-space: nowrap; color: var(--void); background: var(--bone); border-radius: 0 2px 2px 0; transition: opacity .2s; }
.inz-fl b { font-weight: 700; font-size: 10px; }
.inz-fl { box-shadow: inset 4px 0 0 var(--hue); padding-left: 11px; }
.inz-fl.is-left { box-shadow: inset -4px 0 0 var(--hue); padding-right: 11px; }
.inz-fl::before { content: none; }
.inz-fl.is-played { background: #3a3a3f; color: var(--bone); }
.inz-fl.is-played::before { background: #5a5a60; }
.inz-fl.is-out { opacity: 0; }
.inz-fl.is-left { border-radius: 2px 0 0 2px; padding: 4px 8px 5px 7px; text-align: right; }
.inz-fl.is-left::before { left: auto; right: 0; }

/* the overview: the whole set, the cues, where tonight is */
.inz-ov { position: relative; height: 54px; border-top: 1px solid var(--graphite); margin: 2px var(--pad) 0; }
.inz-ov canvas { position: absolute; left: 0; right: 0; top: 6px; height: 30px; width: 100%; display: block; }
.inz-op { position: absolute; top: 2px; height: 38px; left: var(--x); width: 2px; margin-left: -1px; background: var(--bone); pointer-events: none; }
.inz-cue { position: absolute; left: var(--x); bottom: 0; width: 26px; height: 44px;   /* 44px tall to tap (final review); the mark and label sit on its bottom edge as before */
  margin-left: -13px; padding: 0; border: 0; background: none; color: var(--bone); cursor: pointer; }
.inz-cue i { position: absolute; left: 50%; bottom: 3px; margin-left: -5px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 8px solid var(--hue); }
.inz-cue.is-played i { opacity: .5; }
.inz-cue::before { content: ""; position: absolute; bottom: 0; left: 50%; width: var(--hw, 26px); height: 44px; transform: translateX(-50%); }   /* the tap area, sized in izzy-nights.js */
.inz-cue.is-next i { transform: scale(1.4); transform-origin: 50% 100%; }
.inz-oc { position: absolute; top: 0; left: var(--x); width: 0; height: 0; margin-left: -5px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid var(--bone); pointer-events: none; }
.inz-cue span { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 10px; font-weight: 600; padding: 3px 6px; background: var(--bone); color: var(--void); border-radius: 2px; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 4; }
.inz-cue:first-of-type span { left: 0; transform: none; }
.inz-cue:nth-last-of-type(1) span, .inz-cue:nth-last-of-type(2) span { left: auto; right: 0; transform: none; }
@media (hover: hover) { .inz-cue:hover span { opacity: 1; } }
.inz-cue:focus-visible { outline: none; }
.inz-cue:focus-visible::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: -4px; height: 30px; box-sizing: border-box; border: 2px solid var(--bone); border-radius: 4px; pointer-events: none; }   /* the focus ring keeps its old 26 by 22 size */
.inz-cue:focus-visible span { opacity: 1; }
/* the slider is for the keyboard; it sits under the screen, out of sight, and shows its focus round the screen */
.inz-range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.inz-scr:has(.inz-range:focus-visible) { outline: 2px solid var(--bone); outline-offset: -3px; }


/* the track on each deck: title, artist, and BPM and key where a real source gives them */
.inz-hd-b { margin-top: -2px; }
.inz-meta-a, .inz-meta-b { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; min-width: 0; }
.inz-tn { font-weight: 700; font-size: 13px; color: var(--bone); }
.inz-ta { font-size: 13px; color: var(--ash); }
.inz-tb, .inz-tk { font-size: 11px; color: var(--bone); border: 1px solid var(--graphite); padding: 1px 6px; border-radius: 2px; }
.inz-tn small { font-size: 11px; font-weight: 600; color: var(--ash); }
.inz-tk em { font-style: normal; color: #ff8a1f; margin-left: 4px; }
.inz-src { margin: 4px var(--pad) 0; font-size: 12px; color: var(--ash); }

/* which deck you hear: On air lights on the louder deck; the crossfader sits between A and B by their fades */
.inz-air { white-space: nowrap; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-family: "Archivo", var(--disp); font-stretch: 112%; padding: 2px 6px; border-radius: 2px; border: 1px solid var(--graphite); color: #55555b; transition: color .2s, border-color .2s, background .2s; }
.inz-hd.is-air .inz-air { color: #0B0B0C; background: #ff3b30; border-color: #ff3b30; }
.inz-xf { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-family: "Archivo", var(--disp); font-size: 10px; font-weight: 700; color: var(--ash); }
.inz-xf i { position: relative; display: block; width: 72px; height: 4px; border-radius: 2px; background: var(--graphite); }
.inz-xf b { position: absolute; top: 50%; left: var(--x, 50%); width: 8px; height: 16px; margin: -8px 0 0 -4px; border-radius: 2px; background: var(--bone); }
.inz-xf + .inz-ct { margin-left: 18px; }
@media (max-width: 699px) { .inz-xf { order: 5; margin-left: 0; } .inz-xf i { width: 56px; } .inz-hd-a { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .inz-air { transition: none; } }

/* each deck's state, top right of its waveform: waiting on its cue, or at the end of its track */
.inz-st { position: absolute; top: 6px; right: var(--pad); z-index: 3; font-family: "Archivo", var(--disp); font-stretch: 112%; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 700; color: var(--bone); background: rgba(6, 6, 7, .8); padding: 1px 6px; border-radius: 2px; }
.inz-st:empty { display: none; }
/* the DJ's four taps on cue before the new track comes in, and Play hit on the one */
.inz-cuek.is-flash { background: #ff8a1f; color: #0B0B0C; box-shadow: 0 0 0 4px rgba(255, 138, 31, .25); }
.inz-play.is-hit { background: #34c759; color: #0B0B0C; border-color: #34c759; }

/* the controls: beat jump, cue, play; and the hot cue pads */
.inz-ctl { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding: 6px var(--pad) 0; }
.inz-tr { display: flex; gap: 8px; }
.inz-k { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 52px; height: 48px; padding: 0 12px; border: 1px solid #45454b; border-radius: 4px; background: #121214; color: var(--bone); font-size: 11px; font-weight: 700; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.inz-k svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.inz-k:disabled { opacity: .35; cursor: default; }
.inz-k:focus-visible, .inz-pad:focus-visible { outline: 2px solid var(--bone); outline-offset: 2px; }
.inz-play, .inz-cuek { width: 58px; height: 58px; border-radius: 50%; padding: 0; }
.inz-play svg { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.inz-play .i-pause { display: none; }
.inz.is-playing .inz-play { border-color: #34c759; color: #34c759; }
.inz.is-playing .inz-play .i-play { display: none; }
.inz.is-playing .inz-play .i-pause { display: block; }
.inz-cuek { border-color: #ff8a1f; color: #ff8a1f; }
@media (hover: hover) { .inz-k:not(:disabled):hover { background: #1c1c20; } }
.inz-pads { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; flex: 1 1 520px; }
.inz-pad { appearance: none; position: relative; display: grid; gap: 2px; justify-items: start; height: 48px; padding: 6px 8px; border: 1px solid var(--hue); border-radius: 4px; background: color-mix(in srgb, var(--hue) 16%, #0d0d0f); color: var(--bone); text-align: left; cursor: pointer; overflow: hidden; touch-action: manipulation; }
.inz-pad b { font-size: 13px; font-weight: 800; color: var(--hue); line-height: 1; }
.inz-pad span { font-size: 10px; font-weight: 600; white-space: nowrap; }
.inz-pad.is-played { opacity: .6; }
.inz-pad.is-next { background: var(--hue); color: #0B0B0C; }
.inz-pad.is-next b { color: #0B0B0C; }
@media (hover: hover) { .inz-pad:hover { opacity: 1; filter: brightness(1.15); } }
.inz-list i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 3px; background: var(--hue); color: #0B0B0C; font-size: 11px; font-weight: 800; font-style: normal; }
.inz-list b { min-width: 7.6em; }

/* the next show, as its page read that evening */
.inz-card { margin-top: clamp(24px, 3vw, 36px); min-height: 200px; }
.inz-card.is-in > * { animation: inz-in .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes inz-in { from { opacity: 0; transform: translateY(10px); } }
.inz-kk { margin: 0 0 14px; font-size: 12px; color: var(--ash); }
.inz-date { display: flex; gap: 14px; align-items: baseline; font-size: 13px; }
.inz-date span { color: var(--ash); }
.inz-date b { font-weight: 600; }
.inz-room { margin: 10px 0 6px; font-size: clamp(1.9rem, 4.6vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: .06em; }
.inz-meta { margin: 0 0 20px; font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(236, 235, 231, .8); }
.inz-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.inz-b { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--bone); border-radius: 2px; font-size: 12px; font-weight: 600; }
.inz-b.is-solid { background: var(--bone); color: var(--void); }
.inz-note { margin: 14px 0 0; font-size: 14px; color: var(--ash); }
.inz-none { margin: 0; font-size: clamp(1.7rem, 4.6vw, 4rem); font-weight: 700; line-height: 1.02; letter-spacing: .05em; }

/* the list of all ten: on a phone, and wherever motion is reduced, every cue is labelled here */
.inz-list { display: none; list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--graphite); }
.inz-list li { border-bottom: 1px solid var(--graphite); }
.inz-list button { appearance: none; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; align-content: center; min-height: 44px; box-sizing: border-box; width: 100%; position: relative; padding: 4px 64px 4px 0; border: 0; background: none; color: var(--bone); text-align: left; font: inherit; cursor: pointer; }
/* the "Played" tag sits at the row's right edge and never takes line space, so a row is the same height before and after its show is played;
   a venue too long for the room left wraps to two tight lines inside the 44px row instead of being cut (final review 2026-11-15) */
.inz-list b { font-size: 12px; font-weight: 600; min-width: 8.5em; }
.inz-list span { flex: 1 1 0; min-width: 0; font-size: 15px; line-height: 1.15; color: rgba(236, 235, 231, .8); }
.inz-list em { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 10px; color: var(--ash); visibility: hidden; }
.inz-list li.is-played em { visibility: visible; }
.inz-list li.is-next span { color: var(--bone); }
.inz-list li.is-next b { color: #ff8c28; }

/* wide screens: the decks grow with the screen, up to a point, so the waveform never looks stretched */
@media (min-width: 1600px) { .inz-wv { height: clamp(150px, 8vw, 200px); } .inz-wb { height: clamp(100px, 5.4vw, 136px); } .inz-ov { height: 62px; } .inz-ov canvas { height: 36px; } .inz-op { height: 44px; } .inz-hd { font-size: 13px; } .inz-ct b { font-size: 17px; } .inz-fl, .inz-fl b, .inz-bt { font-size: 11px; } }
@media (max-width: 699px) {
  .inz-ctl { gap: 10px; }
  .inz-tr { width: 100%; justify-content: space-between; }
  .inz-pads { grid-template-columns: repeat(5, minmax(0, 1fr)); flex-basis: 100%; }
  .inz-pad span { font-size: 9px; }
  .inz { padding-bottom: calc(clamp(56px, 8vw, 120px) + 76px); }   /* the page's dock sits over the foot of a phone screen */
  .inz-scr { padding: 10px 0 12px; }
  .inz-hd { font-size: 11px; gap: 8px; } .inz-ct { gap: 8px; } .inz-ct b { font-size: 13px; }
  .inz-wv { height: 110px; } .inz-wb { height: 70px; }
  .inz-list { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .inz-list { display: block; }
  .inz-card.is-in > * { animation: none; }
  .inz-fl, .inz-cue span { transition: none; }
}
