/* WWP turntable card - article audio player (owner's design, 2026-11-21).
   Matte black deck, spinning record, a tonearm that swings over and plays, glowing controls:
   soft teal outlines at rest, amber/gold glow when touched or playing. No purple (WWP palette). */
.wwp-tt{
	--tt-black:#0b0b0c; --tt-plinth:#101011; --tt-teal:#2ec4b6; --tt-teal-soft:rgba(46,196,182,.42);
	--tt-amber:#ffb23f; --tt-amber-soft:rgba(255,178,63,.5); --tt-gold:#d4a84b; --tt-gold-hi:#f6d27a; --tt-text:#f2efe6; --tt-muted:#8d9196;
	position:relative; width:100%; max-width:440px; margin:0 auto; border-radius:20px; padding:10px; overflow:hidden;
	background:radial-gradient(120% 80% at 30% 0%,#17181a 0%,#0a0a0b 60%,#050506 100%);
	box-shadow:0 18px 50px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.04);
	color:var(--tt-text); font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
	-webkit-tap-highlight-color:transparent; user-select:none; -webkit-user-select:none; touch-action:manipulation;
}
.wwp-tt *{box-sizing:border-box}
.wwp-tt.is-drop{outline:2px dashed var(--tt-amber); outline-offset:4px}

/* the deck (SVG) and the controls placed over it */
.tt-deck{position:relative; width:100%; aspect-ratio:1130/880}
.tt-svg{position:absolute; inset:0; width:100%; height:100%; display:block; overflow:visible}
.tt-disc{transform-origin:51.327% 51.136%; will-change:transform; pointer-events:none} /* record centre (450,450) in the -130 0 1130 880 viewBox */
.tt-rimglow{pointer-events:none; will-change:opacity}
.tt-hit{cursor:pointer}
.tt-armhit{cursor:grab; touch-action:none}
.wwp-tt.is-dragging .tt-armhit{cursor:grabbing}

/* glow outlines (SVG strokes) */
.tt-rimglow{opacity:0; transition:opacity .6s}
.wwp-tt.is-playing .tt-rimglow{opacity:.9; animation:tt-breathe 2.4s ease-in-out infinite}
@keyframes tt-breathe{50%{opacity:.55}}
.tt-baseglow,.tt-headglow{stroke:var(--tt-teal); opacity:.55; transition:stroke .25s, opacity .25s}
.wwp-tt.arm-hot .tt-baseglow,.wwp-tt.arm-hot .tt-headglow,.wwp-tt.is-dragging .tt-baseglow,.wwp-tt.is-dragging .tt-headglow{stroke:var(--tt-amber); opacity:1}
.tt-arm{transition:filter .25s}
.wwp-tt.arm-up .tt-arm{filter:drop-shadow(14px 22px 10px rgba(0,0,0,.75))}
.wwp-tt:not(.arm-up) .tt-arm{filter:drop-shadow(5px 8px 4px rgba(0,0,0,.7))}

/* round buttons, knob, slider (HTML over the SVG; positions in % of the deck) */
.tt-ctl{position:absolute; transform:translate(-50%,-50%); display:grid; place-items:center; padding:0; margin:0;
	border:0; background:none; color:inherit; font:inherit; cursor:pointer}
.tt-ctl:focus-visible{outline:2px solid var(--tt-amber); outline-offset:4px; border-radius:50%}
.tt-round{width:11%; aspect-ratio:1; border-radius:50%;
	background:radial-gradient(circle at 38% 32%,#2a2b2e 0%,#111214 55%,#060607 100%);
	box-shadow:0 0 0 2px #2b2d30, 0 0 0 3px rgba(255,255,255,.08), 0 0 12px 2px var(--tt-amber-soft), inset 0 2px 3px rgba(255,255,255,.08), inset 0 -3px 6px rgba(0,0,0,.7);
	transition:box-shadow .2s, transform .08s; animation:tt-club 3.2s ease-in-out infinite}
.tt-round i{width:38%; aspect-ratio:1; border-radius:50%; border:2px solid rgba(246,210,122,.45); display:grid; place-items:center}
.tt-round i::after{content:""; width:28%; aspect-ratio:1; border-radius:50%; background:#8a5a14; box-shadow:0 0 5px rgba(255,178,63,.45); transition:background .2s, box-shadow .2s}
.tt-round.is-on i::after,.wwp-tt.is-playing .tt-start i::after{background:var(--tt-amber); box-shadow:0 0 10px 3px rgba(255,178,63,.75)}
.tt-round:active,.tt-round.is-press{transform:translate(-50%,-50%) scale(.95);
	box-shadow:0 0 0 2px #3a2a10, 0 0 0 3px rgba(255,178,63,.6), 0 0 18px 4px rgba(255,178,63,.55), inset 0 2px 6px rgba(0,0,0,.8)}
.tt-cap{position:absolute; transform:translate(-50%,0); line-height:1.2; font-size:clamp(7px,1.9vw,9px); letter-spacing:.1em; text-transform:uppercase;
	color:var(--tt-muted); white-space:nowrap; pointer-events:none}
.tt-cap b{color:var(--tt-gold-hi); font-weight:600}

.tt-knob{width:9.5%; aspect-ratio:1; border-radius:50%; touch-action:none;
	background:conic-gradient(from 210deg,#1b1c1f,#2c2e32,#141517,#2a2b2f,#1b1c1f);
	box-shadow:0 0 0 2px #2a2c2f, 0 0 12px 2px var(--tt-amber-soft), inset 0 2px 4px rgba(255,255,255,.08), inset 0 -3px 6px rgba(0,0,0,.7); transition:box-shadow .2s}
.tt-knob i{position:absolute; inset:0; border-radius:50%}
.tt-knob i::before{content:""; position:absolute; left:50%; top:10%; width:9%; height:30%; transform:translateX(-50%); border-radius:4px;
	background:var(--tt-gold-hi); box-shadow:0 0 6px rgba(246,210,122,.8)}
.tt-knob.is-press,.tt-knob:active{box-shadow:0 0 0 2px #3a2a10, 0 0 0 3px rgba(255,178,63,.6), 0 0 18px 4px rgba(255,178,63,.55)}

.tt-pitch{width:5.3%; height:25%; transform:translate(-50%,0); border-radius:6px; touch-action:none;
	background:linear-gradient(90deg,#060607,#121315 50%,#060607); box-shadow:0 0 0 2px #26282b, 0 0 12px 2px var(--tt-amber-soft); transition:box-shadow .2s}
.tt-pitch::before{content:""; position:absolute; left:50%; top:8%; bottom:8%; width:3px; transform:translateX(-50%); background:#000; border-radius:2px; box-shadow:inset 0 0 2px rgba(255,255,255,.15)}
.tt-pitch::after{content:""; position:absolute; left:-30%; right:-30%; top:50%; height:1px; background:rgba(246,210,122,.45)}
.tt-pitch i{position:absolute; left:50%; width:150%; height:9%; transform:translate(-50%,-50%); border-radius:3px;
	background:linear-gradient(#3a3c40,#1a1b1e); box-shadow:0 1px 0 rgba(255,255,255,.12) inset, 0 2px 4px rgba(0,0,0,.8); transition:box-shadow .2s}
.tt-pitch i::after{content:""; position:absolute; left:15%; right:15%; top:45%; height:2px; background:var(--tt-gold-hi); opacity:.8}
.tt-pitch.is-press,.tt-pitch:active{box-shadow:0 0 0 2px #3a2a10, 0 0 16px 3px rgba(255,178,63,.5)}
.tt-pitch.is-zero i{box-shadow:0 0 8px 2px rgba(46,196,182,.7)}

/* the display: song name, artist, time, progress */
.tt-display{position:relative; margin-top:8px; padding:8px 10px 9px; border-radius:12px; background:linear-gradient(#070708,#0d0e0f);
	box-shadow:0 0 0 1px rgba(46,196,182,.35), 0 0 14px rgba(46,196,182,.18), inset 0 2px 10px rgba(0,0,0,.8); transition:box-shadow .4s}
.wwp-tt.is-playing .tt-display{box-shadow:0 0 0 1px rgba(255,178,63,.55), 0 0 18px rgba(255,178,63,.22), inset 0 2px 10px rgba(0,0,0,.8)}
.tt-row{display:flex; align-items:baseline; gap:10px}
.tt-name{flex:1; min-width:0; overflow:hidden; white-space:nowrap; font:600 15px/1.25 ui-monospace,"SF Mono",Menlo,Consolas,monospace;
	color:var(--tt-amber); text-shadow:0 0 8px rgba(255,178,63,.65); mask-image:linear-gradient(90deg,#000 88%,transparent)}
.tt-name span{display:inline-block; padding-right:3em}
.tt-name.is-long span{animation:tt-marquee var(--tt-dur,12s) linear infinite}
@keyframes tt-marquee{to{transform:translateX(-50%)}}
.tt-time{font:500 12px ui-monospace,Menlo,monospace; color:var(--tt-gold-hi); opacity:.9; font-variant-numeric:tabular-nums; white-space:nowrap}
.tt-sub{display:flex; justify-content:space-between; gap:10px; margin-top:3px; font-size:11px; letter-spacing:.08em; color:var(--tt-muted); text-transform:uppercase}
.tt-sub .tt-artist{overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-transform:none; letter-spacing:.02em; color:#b9bcc0}
.tt-sub .tt-rpm{color:var(--tt-teal); white-space:nowrap}
.tt-bar{position:relative; height:16px; margin-top:3px; cursor:pointer; touch-action:none}
.tt-bar::before{content:""; position:absolute; left:0; right:0; top:7px; height:2px; border-radius:2px; background:rgba(255,255,255,.1)}
.tt-bar i{position:absolute; left:0; top:7px; height:2px; border-radius:2px; width:0; background:linear-gradient(90deg,var(--tt-gold),var(--tt-amber)); box-shadow:0 0 8px rgba(255,178,63,.8)}
.tt-bar b{position:absolute; top:3px; width:10px; height:10px; margin-left:-5px; border-radius:50%; left:0; background:var(--tt-gold-hi); box-shadow:0 0 8px 2px rgba(255,178,63,.7)}
.tt-msg{position:absolute; left:50%; top:47%; transform:translate(-50%,-50%); padding:8px 12px; border-radius:10px; background:rgba(0,0,0,.72);
	font-size:12px; color:var(--tt-gold-hi); box-shadow:0 0 0 1px rgba(255,178,63,.4); pointer-events:none; opacity:0; transition:opacity .3s; text-align:center; max-width:80%}
.tt-msg.is-on{opacity:1}



@keyframes tt-club{50%{box-shadow:0 0 0 2px #2b2d30, 0 0 0 3px rgba(255,255,255,.08), 0 0 7px 1px rgba(255,178,63,.32), inset 0 2px 3px rgba(255,255,255,.08), inset 0 -3px 6px rgba(0,0,0,.7)}}
.tt-round.is-press,.tt-round:active{animation:none}

/* record swap */
.tt-swap{transition:opacity .25s, transform .25s; transform-box:view-box; transform-origin:450px 450px}
.tt-swap.is-swap{opacity:0; transform:scale(.9)}

/* display rows: ‹ name ›, artist + time, bar, stems, chips */
.tt-row{align-items:center; gap:6px}
.tt-skip{flex:0 0 auto; width:32px; height:32px; border:0; border-radius:9px; background:#111214; color:var(--tt-gold-hi); font:600 20px/1 system-ui; cursor:pointer;
	box-shadow:0 0 0 1px rgba(46,196,182,.45), 0 0 8px rgba(46,196,182,.2); transition:box-shadow .2s}
.tt-skip:active,.tt-skip.is-press{box-shadow:0 0 0 1px rgba(255,178,63,.7), 0 0 14px rgba(255,178,63,.5)}
.tt-skip:disabled{opacity:.3; cursor:default}
.tt-skip[hidden]{display:none}
.tt-name{cursor:pointer}
.tt-sub .tt-time{text-transform:none; letter-spacing:0}
.tt-chips{display:flex; align-items:center; gap:6px; margin-top:6px}
.tt-chips .tt-helpbtn{margin-left:auto; width:32px; padding:0; font-size:14px; letter-spacing:0}
.tt-addbtn{display:inline-flex; align-items:center}
.tt-addbtn[hidden]{display:none}
.tt-chips .tt-rpm{margin-left:auto; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--tt-teal); white-space:nowrap}
.tt-chip{border:0; border-radius:9px; padding:6px 10px; min-height:32px; background:#111214; color:var(--tt-text); font:600 11px system-ui; letter-spacing:.1em; text-transform:uppercase; cursor:pointer;
	box-shadow:0 0 0 1px rgba(46,196,182,.45), 0 0 8px rgba(46,196,182,.18); transition:box-shadow .2s, color .2s}
.tt-chip.is-on,.tt-chip[aria-expanded="true"]{color:var(--tt-amber); box-shadow:0 0 0 1px rgba(255,178,63,.7), 0 0 12px rgba(255,178,63,.4)}
.tt-chip:active,.tt-chip.is-press{box-shadow:0 0 0 1px rgba(255,178,63,.8), 0 0 16px rgba(255,178,63,.55)}
.tt-chip[hidden]{display:none}

/* stems: four lit pads (rounded rectangles) */
.tt-stems{position:relative; display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:10px}
.tt-stems[hidden]{display:none}
.tt-stem{min-height:42px; border:0; border-radius:10px; background:#0c0d0e; color:var(--tt-muted); font:700 11px system-ui; letter-spacing:.08em; text-transform:uppercase; cursor:pointer;
	box-shadow:0 0 0 1px rgba(46,196,182,.45), 0 0 8px rgba(46,196,182,.15); transition:background .15s, color .15s, box-shadow .15s}
.tt-stem.is-on{background:linear-gradient(#3a2706,#1c1304); color:var(--tt-amber); text-shadow:0 0 8px rgba(255,178,63,.7);
	box-shadow:0 0 0 1px rgba(255,178,63,.75), 0 0 14px rgba(255,178,63,.45), inset 0 0 12px rgba(255,178,63,.18)}
.tt-stem.is-solo{color:#fff3d6; box-shadow:0 0 0 2px var(--tt-gold-hi), 0 0 20px rgba(246,210,122,.7), inset 0 0 14px rgba(255,178,63,.3); animation:tt-breathe 1.2s ease-in-out infinite}
.tt-stems.is-loading .tt-stem{opacity:.35; pointer-events:none}
.tt-stemmsg{position:absolute; inset:0; display:grid; place-items:center; font-size:12px; color:var(--tt-gold-hi); pointer-events:none}
.tt-stemmsg:empty{display:none}

/* track list: slides up over the deck */
.tt-list{position:absolute; inset:2% 2% 2%; z-index:3; display:flex; flex-direction:column; border-radius:18px; padding:12px;
	background:rgba(8,9,10,.94); box-shadow:0 0 0 1px rgba(46,196,182,.4), 0 0 24px rgba(0,0,0,.8); backdrop-filter:blur(6px);
	transform:translateY(8%); opacity:0; transition:transform .25s, opacity .25s}
.tt-list.is-open{transform:none; opacity:1}
.tt-list[hidden]{display:none}
.tt-listhead{display:flex; align-items:center; justify-content:space-between; padding:2px 4px 10px; color:var(--tt-gold); letter-spacing:.14em; text-transform:uppercase; font-size:12px}
.tt-list ol{list-style:none; margin:0; padding:0; overflow:auto; display:grid; gap:8px}
.tt-li{width:100%; display:flex; align-items:center; gap:10px; padding:10px 12px; min-height:48px; border:0; border-radius:12px; background:#111214; color:var(--tt-text); text-align:left; cursor:pointer;
	box-shadow:0 0 0 1px rgba(46,196,182,.3)}
.tt-li.is-on{box-shadow:0 0 0 1px rgba(255,178,63,.75), 0 0 14px rgba(255,178,63,.3)}
.tt-li.is-on b{color:var(--tt-amber)}
.tt-li-n{font:600 12px ui-monospace,Menlo,monospace; color:var(--tt-muted); width:18px}
.tt-li-t{flex:1; min-width:0; display:grid}
.tt-li-t b{font-weight:600; font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.tt-li-t small{font-size:12px; color:var(--tt-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
.tt-li-s{font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:var(--tt-teal)}

@media (prefers-reduced-motion:reduce){
	.wwp-tt.is-playing .tt-rimglow,.tt-name.is-long span,.tt-round,.tt-stem.is-solo{animation:none}
}

/* "How it works" drawer: slides up from the bottom of the card */
.tt-help{position:absolute; left:0; right:0; bottom:0; z-index:4; max-height:86%; overflow:auto; padding:12px 14px 14px; border-radius:18px 18px 20px 20px;
	background:rgba(8,9,10,.96); box-shadow:0 -1px 0 rgba(46,196,182,.45), 0 -10px 30px rgba(0,0,0,.7); backdrop-filter:blur(6px);
	transform:translateY(100%); transition:transform .25s ease-out}
.tt-help.is-open{transform:none}
.tt-help[hidden]{display:none}
.tt-help ul{margin:0; padding:0 0 0 2px; list-style:none; display:grid; gap:8px; font-size:13px; line-height:1.4; color:#c9ccd0}
.tt-help b{color:var(--tt-amber)}

/* one-line song panel: ‹ name / artist · time › ▴ + bar; Tracks/Stems/+MP3 slide up and down (owner, 2026-11-21) */
.tt-np{flex:1; min-width:0}
.tt-np .tt-name{line-height:1.2}
.tt-np .tt-sub{margin-top:0; gap:8px; justify-content:flex-start}
.tt-np .tt-artist{flex:0 1 auto; min-width:0}
.tt-barrow{display:flex; align-items:center; gap:8px; margin-top:2px}
.tt-barrow .tt-bar{flex:1; min-width:0; margin:0}
.tt-barrow .tt-time{flex:0 0 auto; font:600 10px/1 ui-monospace,"SF Mono",Menlo,Consolas,monospace; color:var(--tt-gold)}
.tt-np .tt-tag{flex:0 0 auto; color:var(--tt-teal); white-space:nowrap; text-transform:none; letter-spacing:.02em}
.tt-np .tt-tag:empty{display:none}
.tt-fold{display:grid; place-items:center; padding:0}
.tt-stemico{width:70%; height:70%; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 0 2px rgba(46,196,182,.55))}
.tt-fold{animation:tt-stemcall 2.8s ease-in-out infinite}
@keyframes tt-stemcall{50%{box-shadow:0 0 0 1px rgba(46,196,182,.75), 0 0 14px rgba(46,196,182,.45)}}
.tt-fold.is-on{animation:none; box-shadow:0 0 0 1px rgba(255,178,63,.8), 0 0 14px rgba(255,178,63,.5)}
@media (prefers-reduced-motion:reduce){.tt-fold{animation:none}}
.tt-round.tt-loop{width:9%}
.tt-loop.is-on{box-shadow:0 0 0 2px #3a2a10, 0 0 0 3px rgba(255,178,63,.7), 0 0 18px 5px rgba(255,178,63,.6)}
.tt-story{display:grid; place-items:center; text-decoration:none; font-size:15px !important; color:var(--tt-gold-hi) !important}
.tt-story[hidden]{display:none}
.tt-more{display:grid; grid-template-rows:1fr; transition:grid-template-rows .3s ease}
.tt-more-in{min-height:0; overflow:hidden}
.wwp-tt.is-folded .tt-more{grid-template-rows:0fr}
.wwp-tt.is-folded .tt-more-in{visibility:hidden; transition:visibility 0s .3s}
@media (prefers-reduced-motion:reduce){.tt-more{transition:none}}

/* the deck's brand (owner, 2026-11-22): TALKINGGOD AI in glowing amber between the deck and the song panel - tall,
   slender, futuristic (Antonio Light) with wide movie-title spacing; sized between the track name and the BPM line */
.tt-brand{display:flex; justify-content:center; align-items:baseline; gap:1.5em; margin:12px 0 4px; padding-left:.6em;
	font:300 13px/1 'WWP Antonio','Antonio','Arial Narrow',sans-serif; letter-spacing:.6em; color:#ffd27e; white-space:nowrap;
	text-shadow:0 0 3px rgba(255,178,63,.9), 0 0 10px rgba(255,178,63,.55), 0 0 22px rgba(255,178,63,.25); user-select:none}
.wwp-tt.is-playing .tt-brand{animation:tt-brandglow 2.4s ease-in-out infinite}
@keyframes tt-brandglow{50%{text-shadow:0 0 3px rgba(255,178,63,.75), 0 0 8px rgba(255,178,63,.4), 0 0 16px rgba(255,178,63,.15)}}
@media (prefers-reduced-motion:reduce){.wwp-tt.is-playing .tt-brand{animation:none}}
/* in an article (inc/turntable-card.php). Owner 2026-11-21: "way too tall" - a smaller deck, a tighter panel,
   and on wide screens the song panel sits beside the deck instead of under it. */
.wwp-tt-wrap{margin:1.2em 0; width:100%; container-type:inline-size} /* full column width (owner, 2026-11-21) */
.wwp-tt-wrap .wwp-tt{max-width:none; padding:8px; border-radius:16px}
.wwp-tt-wrap .tt-display{margin-top:6px; padding:6px 8px 7px}
.wwp-tt-wrap .tt-skip{width:28px; height:28px; font-size:18px}
.wwp-tt-wrap .tt-name{font-size:14px}
.wwp-tt-wrap .tt-sub{margin-top:1px; font-size:10px}
.wwp-tt-wrap .tt-bar{height:12px; margin-top:1px}
.wwp-tt-wrap .tt-bar::before,.wwp-tt-wrap .tt-bar i{top:5px}
.wwp-tt-wrap .tt-bar b{top:1px}
.wwp-tt-wrap .tt-chips{margin-top:4px; gap:5px}
.wwp-tt-wrap .tt-chip{min-height:26px; padding:4px 7px; font-size:10px; letter-spacing:.06em; white-space:nowrap}
.wwp-tt-wrap .tt-chips{flex-wrap:nowrap}
.wwp-tt-wrap .tt-chips .tt-helpbtn{width:26px}
.wwp-tt-wrap .tt-stems{margin-top:6px; gap:6px}
.wwp-tt-wrap .tt-stem{min-height:32px}
@container (min-width:640px){
	.wwp-tt-wrap .wwp-tt{max-width:none; display:grid; grid-template-columns:62% minmax(0,1fr); gap:12px; align-items:center}
	.wwp-tt-wrap .tt-display{margin-top:0; align-self:center}
	.wwp-tt-wrap .tt-brand{grid-column:1 / -1; margin:6px 0 0}
}

/* as a grid card (the vinyl card's Turntable skin): no light frame around it - the deep carbon card only (owner, 2026-11-21) */
.wwp-vinyl.is-turntable{background:none !important; box-shadow:none !important; border:0 !important; padding:0 !important; height:auto !important}
.wwp-vinyl.is-turntable .wwp-tt-wrap{margin:0}
.wwp-vinyl.is-turntable .wwp-tt{border-radius:14px 14px 0 0}
/* PAUSE = the cue lever (owner, 2026-11-22): two bars instead of the ringed dot; amber while the arm is lifted */
.tt-round.tt-pause{width:9%}
.tt-round.tt-pause i{border:0; width:40%}
.tt-round.tt-pause i::after{width:62%; height:70%; aspect-ratio:auto; border-radius:1px; box-shadow:none;
	background:linear-gradient(90deg,#b07a24 0 34%,transparent 34% 66%,#b07a24 66% 100%)}
.tt-round.tt-pause.is-on i::after{background:linear-gradient(90deg,var(--tt-amber) 0 34%,transparent 34% 66%,var(--tt-amber) 66% 100%);
	filter:drop-shadow(0 0 4px rgba(255,178,63,.9))}
.tt-round.tt-pause.is-on{animation:none; box-shadow:0 0 0 2px #3a2a10, 0 0 0 3px rgba(255,178,63,.7), 0 0 18px 5px rgba(255,178,63,.6)}
