/* Figma 5702:6032 and 5729:7624, 16 October 2026. */
#tn-dj{background:#172117!important;color:#ecd1c6!important}
#tn-dj .tn-addon-scroll{padding:32px 32px 0;background:#172117}
#tn-dj .tn-addon-items{gap:24px;min-height:0}
#tn-dj .tn-addon-content{display:flex;flex-direction:column;gap:0}
#tn-dj .tn-addon-heading{margin:0;min-height:60px;font:400 40px/normal 'The Seasons',serif;color:#ecd1c6}
#tn-dj .tn-addon-copy{height:99px;min-height:99px;flex-shrink:0;gap:20px;color:#ecd1c6}
#tn-dj .tn-addon-copy p{color:#ecd1c6}
#tn-dj .tn-addon-copy>p:nth-child(3),#tn-dj .tn-addon-image-frame{display:none}
#tn-dj [data-tn-close-addon]{width:24px;height:24px;min-width:24px;background:url('assets/overlay-imgCross.svg') center no-repeat!important;border:0!important}
#tn-dj [data-tn-close-addon]>*,#tn-dj [data-tn-close-addon]::before,#tn-dj [data-tn-close-addon]::after{visibility:hidden!important}
#tn-dj .tn-addon-pinned{background:#172117!important;border-top-color:rgba(236,209,198,.2)!important}
#tn-dj .tn-addon-pinned::before{background:linear-gradient(to top,#172117,rgba(23,33,23,0))!important}
#tn-dj [data-tn-added-card]{color:#ecd1c6;background:rgba(255,255,255,.05);margin-top:16px}
[data-tn-dj-component]{margin-top:16px;width:100%;min-width:0}
[data-dj-track-source],[data-dj-manual-track]{display:none!important}
.tn-dj-feature{display:flex;flex-direction:column;gap:16px;width:100%;min-width:0;color:#ecd1c6}
.tn-dj-feature-heading{padding:8px 0 0;margin:0;font:400 32px/32px 'The Seasons',serif;letter-spacing:0;color:#ecd1c6}
.tn-dj-player{position:relative;box-sizing:border-box;width:100%;min-width:0;padding-bottom:16px;background:rgba(255,255,255,.05);color:#ecd1c6}
.tn-dj-profile{display:flex;box-sizing:border-box;gap:16px;align-items:center;padding:16px;width:100%;border-bottom:1px solid rgba(0,0,0,.3)}
.tn-dj-identity{display:flex;gap:16px;align-items:center;flex:1;min-width:0}
.tn-dj-avatar-frame{position:relative;display:block;flex:0 0 64px;width:64px;height:64px;border-radius:50%;background:rgba(231,231,231,.2)}
.tn-dj-avatar{position:absolute;display:block;left:-5px;top:-5px;width:74px;height:74px;max-width:none;border-radius:50%;object-fit:cover}
.tn-dj-avatar:not([src]){display:none}
.tn-dj-name{min-width:0;font:300 28px/20px 'LDT The Seasons Light','the-seasons','The Seasons',serif;font-synthesis:none;letter-spacing:1px;color:#ecd1c6;overflow-wrap:anywhere}
.tn-dj-socials{display:flex;gap:4px;align-items:center;flex-shrink:0}
.tn-dj-social{display:flex;box-sizing:border-box;width:32px;height:32px;flex:0 0 32px;border-radius:50%;background:rgba(231,231,231,.2);align-items:center;justify-content:center;transition:background .2s}
.tn-dj-social img{display:block;width:auto;height:13.7143px;max-width:28px}
.tn-dj-social:not([href]),.tn-dj-social[href=''],.tn-dj-social[href='#'],.tn-dj-social[hidden]{display:none}
.tn-dj-metadata{display:flex;gap:12px;align-items:center;padding:16px;min-width:0}
.tn-dj-track{display:block;flex:1;min-width:0;margin:0;font:400 24px/20px 'The Seasons',serif;letter-spacing:0;color:#ecd1c6;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tn-dj-duration{flex-shrink:0;font:400 16px/20px 'Work Sans',sans-serif;color:#ecd1c6}
.tn-dj-controls{display:flex;align-items:center;gap:8px;box-sizing:border-box;width:100%;height:72px;min-width:0;padding:0 16px}
.tn-dj-toggle,.tn-dj-skip{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 56px;width:56px;height:56px;min-width:0;padding:0;margin:0;border:0;border-radius:50%;background:rgba(255,255,255,.05);box-shadow:none;cursor:pointer;appearance:none;transition:background .2s,opacity .2s}
.tn-dj-toggle{width:64px;height:64px;flex-basis:64px}
.tn-dj-toggle,.tn-dj-skip{background:transparent}
.tn-dj-toggle>img,.tn-dj-skip>img{display:block;max-width:none;pointer-events:none}
.tn-dj-control-art{position:absolute;inset:0;pointer-events:none}
.tn-dj-pause{display:none;overflow:hidden;border-radius:50%}
.tn-dj-pause img{display:block;width:72px;height:72px;max-width:none;transform:scale(.8888889);transform-origin:0 0}
.tn-dj-pause::before,.tn-dj-pause::after{content:'';position:absolute;z-index:1;top:16.56px;width:7.53px;height:30.87px;background:#ecd1c6}
.tn-dj-pause::before{left:21.83px}.tn-dj-pause::after{left:35.39px}
.tn-dj-player[data-playing='true'] .tn-dj-play{display:none}
.tn-dj-player[data-playing='true'] .tn-dj-pause{display:block}
.tn-dj-toggle:disabled,.tn-dj-skip:disabled{cursor:default;opacity:.45}
.tn-dj-player[data-player-state='loading'] .tn-dj-toggle,.tn-dj-player[data-player-state='idle'] .tn-dj-toggle{opacity:1}
.tn-dj-wave{position:relative;align-self:stretch;flex:1;min-width:0;height:72px;overflow:hidden;background:rgba(255,255,255,.05);--tn-dj-progress:0%;isolation:isolate}
.tn-dj-bars{position:absolute;left:0;top:50%;width:313px;height:103px;transform:translateY(-50%);overflow:hidden;pointer-events:none}
.tn-dj-bars i{position:absolute;display:block;background:rgba(255,255,255,.4)}
.tn-dj-wave-progress{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--tn-dj-progress)) 0 0);pointer-events:none}
.tn-dj-wave-progress .tn-dj-bars i{background:#ecd1c6}
.tn-dj-wave-image{position:absolute;inset:0;display:none;width:100%;height:100%;object-fit:fill;filter:brightness(0) invert(1);opacity:.4;pointer-events:none}
.tn-dj-wave-progress .tn-dj-wave-image{opacity:1}
.tn-dj-wave[data-waveform='true'] .tn-dj-wave-image{display:block}.tn-dj-wave[data-waveform='true'] .tn-dj-bars{display:none}
.tn-dj-seek{position:absolute;z-index:2;inset:0;display:block;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;touch-action:pan-y}
.tn-dj-record-wrap{height:284px;width:100%;position:relative}
.tn-dj-record{position:relative;display:block;box-sizing:border-box;width:284px;height:284px;max-width:100%;margin:0 auto;border:0;border-radius:50%;padding:0;background:transparent;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.tn-dj-player[data-scrubbing='true'] .tn-dj-record{cursor:grabbing}
.tn-dj-rotor{position:absolute;inset:0;display:block;transform:rotate(0deg);transform-origin:50% 50%;pointer-events:none;will-change:transform}
.tn-dj-vinyl{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:contain;pointer-events:none}
.tn-dj-artwork{position:absolute;left:50%;top:50%;display:block;width:42.9577465%;height:42.9577465%;max-width:none;transform:translate(-50%,-50%);object-fit:cover;border-radius:50%;background:#172117;pointer-events:none}
.tn-dj-artwork:not([src]){visibility:hidden}.tn-dj-hole{position:absolute;left:50%;top:50%;display:block;width:6px;height:6px;max-width:none;transform:translate(-50%,-50%);pointer-events:none}
.tn-dj-source{position:absolute;bottom:3px;right:16px;display:flex;align-items:center;gap:4px;color:#ecd1c6;font:400 8px/10px 'Work Sans',sans-serif;text-decoration:none}
.tn-dj-source img{display:block;width:30px;height:13.7143px;max-width:none}
.tn-dj-source[hidden]{display:none}.tn-dj-status{margin:0;padding:8px 16px 0;font:400 12px/18px 'Work Sans',sans-serif;color:#ecd1c6}.tn-dj-status:empty{display:none}
.tn-dj-engine{position:absolute;left:0;bottom:0;width:100%;height:166px;border:0;opacity:0;pointer-events:none}
.tn-dj-player[data-player-state='error'] .tn-dj-engine{position:relative;width:100%;height:166px;margin-top:16px;opacity:1;pointer-events:auto}
.tn-dj-player[data-player-state='error'] .tn-dj-controls,.tn-dj-player[data-player-state='error'] .tn-dj-record-wrap{display:none}
.tn-dj-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tn-dj-player :is(a,button,[role='slider']):focus-visible,.tn-dj-wave:focus-within{outline:2px solid #ecd1c6;outline-offset:3px}
@media(hover:hover){.tn-dj-social:hover,.tn-dj-toggle:not(:disabled):hover,.tn-dj-skip:not(:disabled):hover{background:rgba(255,255,255,.16)}}
@media(max-width:991px){#tn-dj .tn-addon-scroll{padding:16px 16px 0}#tn-dj .tn-addon-copy{height:auto;min-height:99px}.tn-dj-profile{gap:10px}.tn-dj-name{font-size:26px}.tn-dj-identity{gap:12px}}
@media(max-width:359px){.tn-dj-profile{flex-wrap:wrap}.tn-dj-socials{margin-left:76px}.tn-dj-controls{gap:4px;padding:0 12px}}
.tn-dj-player:is([data-player-state='idle'],[data-player-state='loading']) :is(.tn-dj-track,.tn-dj-duration){position:relative;color:transparent}
.tn-dj-player:is([data-player-state='idle'],[data-player-state='loading']) :is(.tn-dj-track,.tn-dj-duration,.tn-dj-wave,.tn-dj-toggle)::after{content:'';position:absolute;inset:0;z-index:3;background:linear-gradient(100deg,#293328 20%,#465242 45%,#293328 70%);background-size:250% 100%;animation:tn-dj-skeleton 1.4s ease-in-out infinite;pointer-events:none}
.tn-dj-player:is([data-player-state='idle'],[data-player-state='loading']) .tn-dj-toggle::after{border-radius:50%}
.tn-dj-player:is([data-player-state='idle'],[data-player-state='loading']) .tn-dj-artwork{visibility:hidden}
@keyframes tn-dj-skeleton{from{background-position:100% 0}to{background-position:0 0}}
@media(prefers-reduced-motion:reduce){.tn-dj-rotor{will-change:auto}.tn-dj-player :is(a,button){transition:none}.tn-dj-player ::after{animation:none!important}}
/* Clip the rotating square to its fixed disc bounds. Otherwise its overflow
   changes scrollHeight on every turn and scroll anchoring bounces the panel. */
.tn-dj-record{overflow:hidden;isolation:isolate;filter:drop-shadow(0 3px 5px #0b110b)}
#tn-dj .tn-addon-scroll{overflow-anchor:none}
#tn-dj::after,#tn-photographer::after,#tn-bartender::after{background:linear-gradient(to top,#172117,rgba(23,33,23,0))!important}
/* Figma 5735:8237 and 5735:8256. Keep native dialog and pinned-action logic. */
#tn-photographer,#tn-bartender{background:#172117;color:#ecd1c6}
#tn-photographer .tn-addon-scroll,#tn-bartender .tn-addon-scroll{padding:16px 0 0;background:#172117}
#truffle-nights #tn-photographer .tn-addon-close,#truffle-nights #tn-bartender .tn-addon-close{margin-left:24px;background:url('assets/overlay-imgCross.svg') center no-repeat}
#tn-photographer .tn-addon-close-icon,#tn-bartender .tn-addon-close-icon{visibility:hidden}
#tn-photographer .tn-addon-image-frame,#tn-bartender .tn-addon-image-frame{height:361px;width:100%}
#tn-photographer .tn-addon-content,#tn-bartender .tn-addon-content{padding:0 24px;box-sizing:border-box}
#tn-photographer .tn-addon-content{gap:8px}
#tn-bartender .tn-addon-content{gap:0}
#tn-photographer .tn-addon-heading,#tn-bartender .tn-addon-heading{color:#ecd1c6}
#tn-photographer .tn-addon-copy,#tn-bartender .tn-addon-copy{color:#ecd1c6}
#tn-photographer .tn-addon-copy p,#tn-bartender .tn-addon-copy p{white-space:pre-line}
#truffle-nights #tn-bartender .tn-addon-image{position:absolute;left:0;top:-5.54%;width:100%;height:148.75%;object-fit:fill!important}
#tn-photographer .tn-addon-pinned,#tn-bartender .tn-addon-pinned{width:100%;margin:0;padding:24px 16px 32px;background:#172117;border-top-color:rgba(49,24,13,.2)}
#tn-photographer .tn-addon-added-heading,#tn-photographer .tn-addon-added-name,#tn-bartender .tn-addon-added-heading,#tn-bartender .tn-addon-added-name{color:#ecd1c6}
/* One fixed square, one rotating grid, and one shared spindle center. */
.tn-dj-record{width:min(284px,100%);height:auto;aspect-ratio:1}
.tn-dj-rotor{display:grid;place-items:center;grid-template:minmax(0,1fr)/minmax(0,1fr);width:100%;height:100%;transform-origin:center}
.tn-dj-rotor>img{position:relative;inset:auto;grid-area:1/1;min-width:0;min-height:0;margin:0;transform:none;transform-origin:center}
.tn-dj-rotor>.tn-dj-vinyl{width:100%;height:100%;object-fit:contain;transform:none}
.tn-dj-rotor>.tn-dj-artwork{width:min(122px,43%);height:min(122px,43%)}
.tn-dj-rotor>.tn-dj-hole{width:6px;height:6px}
/* Real track peaks fill the available width rather than cropping a stock pattern. */
.tn-dj-wave .tn-dj-bars{width:100%;height:100%}
.tn-dj-wave .tn-dj-bars i{top:50%;transform:translateY(-50%)}
.tn-dj-wave[data-wave-state='loading'] .tn-dj-bars,.tn-dj-wave[data-wave-state='unavailable'] .tn-dj-bars{visibility:hidden}
.tn-dj-wave[data-wave-state='loading']::after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,#293328 20%,#465242 45%,#293328 70%);background-size:250% 100%;animation:tn-dj-skeleton 1.4s ease-in-out infinite;pointer-events:none}
.tn-dj-wave[data-wave-state='unavailable']::before{content:'';position:absolute;left:0;right:0;top:50%;height:1px;background:rgba(236,209,198,.4)}
/* The normalized square asset, artwork and spindle share one immutable centre.
   The skeleton sits outside the rotor so loading never changes its geometry. */
.tn-dj-record::after{content:'';position:absolute;inset:4%;z-index:4;border-radius:50%;background:linear-gradient(100deg,#293328 20%,#465242 45%,#293328 70%);background-size:250% 100%;animation:tn-dj-skeleton 1.4s ease-in-out infinite;pointer-events:none;visibility:hidden}
.tn-dj-player:is([data-player-state='idle'],[data-player-state='loading'],[data-vinyl-state='loading']) .tn-dj-record::after{visibility:visible}
.tn-dj-player:is([data-player-state='idle'],[data-player-state='loading'],[data-vinyl-state='loading']) .tn-dj-rotor{visibility:hidden}
.tn-dj-player[data-vinyl-state='error'] .tn-dj-record{background:radial-gradient(circle,#090909 64%,transparent 65%)}
.tn-dj-player[data-vinyl-state='error'] .tn-dj-vinyl{visibility:hidden}
