:root{color-scheme:dark;--bg:#090b08;--bg-soft:#0e110d;--panel:#141812;--panel-2:#1b2018;--ink:#f3f5ee;--muted:#a7afa0;--line:#2c3327;--accent:#c8ff3d;--accent-2:#71d9ff;--danger:#ff786a;--warning:#ffd36c;--radius:22px;--shadow:0 24px 80px rgb(0 0 0/.38);font-family:"DM Sans",ui-sans-serif,system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(circle at 85% -10%,rgb(65 92 33/.24),transparent 34rem),linear-gradient(180deg,#090b08,#0b0e0a 55%,#080a07);color:var(--ink);line-height:1.5}body:has(dialog[open]),body:has(.swiper-overlay:not([hidden])){overflow:hidden}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 70%,transparent)}a{color:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;z-index:10000;top:12px;left:12px;transform:translateY(-160%);background:var(--accent);color:#090b08;padding:10px 16px;border-radius:999px;font-weight:800}.skip-link:focus{transform:none}.site-header{position:sticky;z-index:100;top:0;display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:74px;padding:12px clamp(18px,4vw,60px);background:rgb(9 11 8/.82);border-bottom:1px solid rgb(255 255 255/.06);backdrop-filter:blur(22px)}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;font:800 1.05rem/1 "Manrope",sans-serif;letter-spacing:-.03em}.brand-pulse{position:relative;width:25px;height:25px;border:2px solid var(--accent);border-radius:50%}.brand-pulse:before,.brand-pulse:after{content:"";position:absolute;top:50%;width:4px;background:var(--accent);border-radius:4px;transform:translateY(-50%)}.brand-pulse:before{height:9px;left:6px}.brand-pulse:after{height:15px;right:6px}.site-nav{display:flex;align-items:center;gap:6px}.site-nav a{padding:9px 12px;color:var(--muted);border-radius:999px;text-decoration:none;font-size:.9rem;font-weight:650;transition:.2s ease}.site-nav a:hover,.site-nav a.active{color:var(--ink);background:var(--panel-2)}.site-nav a.active:after{content:"";display:block;width:4px;height:4px;margin:3px auto -4px;background:var(--accent);border-radius:50%}.nav-divider{width:1px;height:22px;margin:0 5px;background:var(--line)}.nav-toggle{display:none}.site-main{width:min(1480px,calc(100% - clamp(28px,7vw,120px)));margin:0 auto;padding-bottom:100px}.hero{position:relative;min-height:min(760px,calc(100vh - 74px));display:flex;flex-direction:column;justify-content:center;align-items:flex-start;overflow:hidden;padding:80px 0}.eyebrow{margin:0 0 12px;color:var(--accent);font:800 .72rem/1.2 "Manrope",sans-serif;letter-spacing:.18em;text-transform:uppercase}.hero h1,.page-intro h1{max-width:1100px;margin:0;font:800 clamp(3.6rem,10.6vw,10.2rem)/.84 "Manrope",sans-serif;letter-spacing:-.075em}.hero h1 em{color:var(--accent);font-style:normal}.hero-copy{max-width:620px;margin:32px 0 0;color:var(--muted);font-size:clamp(1.05rem,2vw,1.35rem)}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 20px;border:1px solid transparent;border-radius:999px;text-decoration:none;font-weight:800;cursor:pointer;transition:transform .2s ease,background .2s ease,border-color .2s ease,color .2s ease}.button:hover{transform:translateY(-2px)}.button.primary{background:var(--accent);color:#090c07}.button.ghost{background:rgb(255 255 255/.025);border-color:var(--line);color:var(--ink)}.button.danger{background:var(--danger);color:#180402}.button.small{min-height:40px;padding:9px 15px;font-size:.88rem}.button.wide{width:100%}.button:disabled{opacity:.45;filter:grayscale(.8);cursor:not-allowed;transform:none}.text-link,.text-button{border:0;background:none;color:var(--accent);font-weight:750;text-decoration:none;cursor:pointer}.signal-lines{position:absolute;right:2%;bottom:12%;display:flex;align-items:end;gap:10px;height:36%;opacity:.48;transform:rotate(8deg)}.signal-lines span{display:block;width:clamp(16px,3vw,42px);border:1px solid var(--accent);border-radius:999px;background:linear-gradient(var(--accent),transparent)}.signal-lines span:nth-child(1){height:22%}.signal-lines span:nth-child(2){height:72%}.signal-lines span:nth-child(3){height:100%}.signal-lines span:nth-child(4){height:55%}.signal-lines span:nth-child(5){height:84%}.home-section{padding:76px 0;border-top:1px solid var(--line)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.section-heading h2,.empty-state h2{margin:0;font:800 clamp(2rem,4.8vw,4.5rem)/.95 "Manrope",sans-serif;letter-spacing:-.055em}.defined-grid{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));gap:18px;max-height:calc(var(--rows) * 580px);overflow:hidden}.defined-card{min-width:0;background:linear-gradient(145deg,var(--panel),#10130f);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:transform .25s ease,border-color .25s ease}.defined-card:hover{transform:translateY(-5px);border-color:#4d5a42}.cover-frame{position:relative;aspect-ratio:1;overflow:hidden;background:linear-gradient(135deg,#24321a,#151b12)}.cover-frame img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}.defined-card:hover .cover-frame img{transform:scale(1.025)}.cover-fallback{display:grid;width:100%;height:100%;place-items:center;font:800 7rem "Manrope";color:var(--accent)}.source-count{position:absolute;right:12px;bottom:12px;padding:5px 9px;border-radius:999px;background:rgb(7 9 6/.78);backdrop-filter:blur(10px);font-size:.72rem;font-weight:800}.defined-card-body{padding:20px}.card-meta,.count-line{margin:0;color:var(--muted);font-size:.8rem}.defined-card h3{margin:6px 0 14px;font:800 clamp(1.25rem,2vw,1.7rem)/1.05 "Manrope";letter-spacing:-.04em}.tag-list{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:18px}.tag-list span{padding:4px 8px;border:1px solid var(--line);border-radius:999px;color:#cbd1c3;font-size:.7rem}.card-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:18px}.spotify-link{color:var(--muted);font-size:.8rem}.empty-state{margin:40px 0;padding:80px clamp(24px,6vw,90px);background:var(--panel);border:1px dashed #4b5542;border-radius:32px}.empty-state p:last-child{color:var(--muted)}.page-intro{padding:110px 0 70px}.page-intro.compact h1{font-size:clamp(3.2rem,8vw,8rem)}.page-intro.compact>p:last-child{max-width:660px;color:var(--muted);font-size:1.15rem}.custom-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,390px);align-items:start;gap:26px}.genre-library,.selection-panel,.database-shell,.editor-card,.admin-list,.account-card{background:rgb(18 22 16/.82);border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow)}.genre-library{padding:22px}.toolbar,.database-filters{display:flex;align-items:center;gap:10px}.search-field{display:flex;flex:1}.search-field input,input,select,textarea{width:100%;min-height:44px;border:1px solid var(--line);border-radius:12px;background:#0b0e0a;color:var(--ink);padding:10px 13px}textarea{resize:vertical}.search-field input{border-radius:999px;padding-inline:18px}.filter-button{min-height:44px;padding:8px 15px;border:1px solid var(--line);border-radius:999px;background:var(--panel-2);color:var(--ink);font-weight:750;white-space:nowrap;cursor:pointer}.genre-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:12px;margin-top:18px}.genre-card{position:relative;text-align:left;border:1px solid var(--line);border-radius:17px;overflow:hidden;background:#10140e;color:var(--ink);cursor:pointer;padding:0;transition:.2s ease}.genre-card:hover{transform:translateY(-3px);border-color:#536347}.genre-card[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 2px rgb(200 255 61/.18)}.genre-card img{display:block;width:100%;aspect-ratio:1;object-fit:cover;background:#1a2116}.genre-card-content{padding:12px}.genre-card h3{margin:0 0 5px;font:800 1rem "Manrope";letter-spacing:-.025em}.genre-card p{display:-webkit-box;margin:0;color:var(--muted);font-size:.75rem;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.selected-badge{position:absolute;right:9px;top:9px;display:grid;width:27px;height:27px;place-items:center;border-radius:50%;background:var(--accent);color:#0b0e09;font-weight:900;opacity:0;transform:scale(.8)}.genre-card[aria-pressed=true] .selected-badge{opacity:1;transform:none}.selection-panel{position:sticky;top:96px;padding:22px}.selection-heading{display:flex;justify-content:space-between;gap:16px}.selection-heading h2{margin:4px 0 0;font:800 1.65rem "Manrope";letter-spacing:-.04em}.selection-dropzone{display:grid;gap:8px;min-height:260px;margin:18px 0;padding:10px;border:1px dashed #46513d;border-radius:17px}.selection-dropzone.drag-over{border-color:var(--accent);background:rgb(200 255 61/.06)}.selection-empty{align-self:center;text-align:center;color:var(--muted);font-size:.9rem}.selection-item{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid var(--line);border-radius:12px;background:#0c0f0b}.selection-item img{width:42px;height:42px;border-radius:8px;object-fit:cover}.selection-item strong{flex:1}.selection-item button{border:0;background:transparent;color:var(--muted);cursor:pointer}.selection-actions{display:grid;gap:8px}.genre-skeleton{height:245px;border-radius:17px}.skeleton{position:relative;overflow:hidden;background:#171c15}.skeleton:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgb(255 255 255/.055),transparent);animation:shimmer 1.4s infinite}.database-shell{padding:24px}.database-filters .grow{min-width:240px}.database-filters select{width:auto;min-width:140px}.result-summary{display:flex;justify-content:space-between;align-items:center;margin:24px 0 12px;color:var(--muted)}.release-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}.release-skeleton{aspect-ratio:.72;border-radius:18px}.release-card{background:#0e120d;border:1px solid var(--line);border-radius:18px;overflow:hidden}.release-cover{position:relative;aspect-ratio:1;background:#1b2118}.release-cover img{width:100%;height:100%;object-fit:cover}.like-pill{position:absolute;right:10px;top:10px;border:0;border-radius:999px;background:rgb(7 9 6/.82);color:var(--ink);padding:7px 10px;cursor:pointer}.like-pill.liked{background:var(--accent);color:#0a0c08}.release-body{padding:16px}.release-body h2{margin:4px 0 2px;font:800 1.2rem/1.08 "Manrope";letter-spacing:-.035em}.release-body .artist{margin:0 0 13px;color:#d9ddd4}.release-meta{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;margin:0;color:var(--muted);font-size:.78rem}.release-meta dt{font-weight:750;color:#c8cec0}.release-meta dd{margin:0;overflow:hidden;text-overflow:ellipsis}.release-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.micro-button{border:1px solid var(--line);border-radius:999px;background:var(--panel-2);color:var(--ink);padding:6px 10px;font-size:.72rem;font-weight:700;cursor:pointer}.tracklist{border-top:1px solid var(--line);margin-top:14px;padding-top:10px}.tracklist summary{cursor:pointer;color:var(--muted);font-size:.82rem}.track-row{display:grid;grid-template-columns:24px 1fr auto;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid rgb(255 255 255/.045);font-size:.78rem}.track-row:last-child{border:0}.track-row button,.track-row a{border:0;background:none;color:var(--accent);cursor:pointer;text-decoration:none}.pagination{display:flex;justify-content:center;gap:7px;margin-top:28px}.pagination button{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:var(--panel-2);color:var(--ink);cursor:pointer}.pagination button[aria-current=page]{background:var(--accent);color:#090b08}.account-intro{padding-bottom:40px}.account-grid{display:grid;grid-template-columns:minmax(0,560px) minmax(0,1fr);gap:24px}.account-card{display:grid;gap:16px;padding:30px}.account-card h2{margin:0;font:800 clamp(1.7rem,4vw,3rem)/1 "Manrope";letter-spacing:-.05em}.account-message{padding:30px 0 30px 40px;border-left:1px solid var(--line)}.big-number{display:block;color:var(--accent);font:800 clamp(4rem,10vw,8rem)/.8 "Manrope";letter-spacing:-.08em}.account-message p{margin:12px 0 48px;color:var(--muted);font-size:1.2rem}.form-error{min-height:1.5em;color:#ffab9f}.saved-account-item{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}.saved-account-item p{margin:2px 0;color:var(--muted);font-size:.8rem}.method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.method-card{position:relative;padding:26px;background:linear-gradient(150deg,var(--panel),#10130f);border:1px solid var(--line);border-radius:24px;overflow:hidden}.method-card.wide-card{grid-column:1/-1}.method-card h2{margin:6px 0 8px;font:800 clamp(1.55rem,3.5vw,2.7rem)/1 "Manrope";letter-spacing:-.05em}.method-card>p:not(.method-number){max-width:650px;color:var(--muted)}.method-number{margin:0;color:var(--accent);font:800 .72rem "Manrope";letter-spacing:.16em;text-transform:uppercase}.method-card form{display:grid;gap:12px;margin-top:22px}.method-card label,.editor-card label{display:grid;gap:6px;color:#d8ddd3;font-size:.86rem;font-weight:700}.check{display:flex!important;align-items:center;gap:9px}.check input{width:auto;min-height:auto}.method-results{margin-top:18px}.result-panel{padding:16px;border:1px solid var(--line);border-radius:14px;background:#0c0f0b}.result-panel h3{margin-top:0}.scan-items{display:grid;gap:8px;max-height:420px;overflow:auto}.scan-item{display:flex;gap:12px;align-items:center;padding:8px;border-bottom:1px solid var(--line)}.scan-item img{width:50px;height:50px;border-radius:8px;object-fit:cover}.scan-item label{flex:1}.job-progress{height:8px;border-radius:999px;background:#252d21;overflow:hidden}.job-progress span{display:block;height:100%;background:var(--accent);transition:width .25s}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.defined-admin{display:grid;grid-template-columns:minmax(0,680px) minmax(320px,1fr);gap:24px;align-items:start}.admin-editor{display:grid;gap:18px}.editor-card,.admin-list{padding:24px}.editor-card{display:grid;gap:14px}.editor-card h2{margin:0;font:800 2rem "Manrope";letter-spacing:-.05em}.admin-list{position:sticky;top:96px}.structure-section{margin-bottom:20px;padding:15px;border:1px solid var(--line);border-radius:15px}.structure-heading,.structure-swiper{display:flex;align-items:center;justify-content:space-between;gap:12px}.structure-heading h3,.structure-swiper h4{margin:0}.structure-swiper{margin-top:8px;padding:10px;background:#0b0e0a;border-radius:10px}.structure-actions{display:flex;gap:5px}.structure-actions button{border:1px solid var(--line);background:var(--panel-2);color:var(--ink);border-radius:8px;cursor:pointer}.modal{width:min(680px,calc(100% - 28px));max-height:calc(100vh - 28px);padding:0;border:0;border-radius:24px;background:transparent;color:var(--ink)}.modal::backdrop{background:rgb(2 4 2/.78);backdrop-filter:blur(10px)}.modal-card{position:relative;max-height:calc(100vh - 28px);overflow:auto;padding:30px;background:var(--panel);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.modal-card h2{font:800 2rem "Manrope";letter-spacing:-.05em}.modal-close{position:absolute;right:15px;top:15px}.icon-button{min-width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:var(--panel-2);color:var(--ink);cursor:pointer}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.prose{color:#d8ddd3}.prose a{color:var(--accent)}.filter-card{display:grid;gap:17px}.filter-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.filter-group{display:grid;gap:8px}.filter-group.full{grid-column:1/-1}.filter-checks{display:flex;gap:8px;flex-wrap:wrap}.filter-checks label{display:flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid var(--line);border-radius:999px;font-size:.78rem}.filter-checks input{width:auto;min-height:auto}.toast-region{position:fixed;z-index:5000;right:18px;bottom:18px;display:grid;gap:8px;width:min(380px,calc(100% - 36px))}.toast{padding:13px 16px;border:1px solid #43503a;border-radius:13px;background:#161c13;box-shadow:var(--shadow);animation:toast-in .25s ease}.toast.error{border-color:#743a31;background:#26120f}.swiper-overlay{position:fixed;z-index:3000;inset:0;overflow:hidden;background:#060706;color:white}.swiper-background{position:absolute;inset:-8%;background-position:center;background-size:cover;filter:blur(42px) brightness(.32) saturate(1.3);transform:scale(1.15);transition:background-image .3s}.swiper-overlay:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,transparent,#030403 80%)}.swiper-topbar{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:calc(16px + env(safe-area-inset-top)) clamp(16px,4vw,46px) 12px}.swiper-topbar>div{display:grid;text-align:center;font-size:.75rem}.swiper-topbar strong{color:var(--accent)}.icon-button.light{background:rgb(255 255 255/.1);border-color:rgb(255 255 255/.18);color:white}.swiper-stage{position:relative;z-index:1;display:grid;place-items:center;height:calc(100% - 90px);padding:12px 20px 30px}.swiper-card{display:grid;grid-template-columns:minmax(260px,530px) minmax(300px,520px);width:min(1100px,100%);max-height:calc(100vh - 130px);overflow:auto;background:rgb(8 10 7/.82);border:1px solid rgb(255 255 255/.13);border-radius:30px;box-shadow:0 30px 100px rgb(0 0 0/.55);backdrop-filter:blur(22px);touch-action:none;transition:transform .18s ease,opacity .18s ease}.swiper-art{position:relative;min-height:0;aspect-ratio:1;background:#161a14}.swiper-art img{width:100%;height:100%;object-fit:cover;display:block}.cover-play{position:absolute;inset:0;margin:auto;width:76px;height:76px;border:1px solid rgb(255 255 255/.32);border-radius:50%;background:rgb(5 6 5/.5);color:white;font-size:1.8rem;cursor:pointer;backdrop-filter:blur(12px)}.swiper-info{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:clamp(24px,4vw,50px)}.swiper-info h2{margin:0;font:800 clamp(2rem,5vw,4.7rem)/.9 "Manrope";letter-spacing:-.06em}.swiper-artist{margin:12px 0 0;font-size:1.25rem}.swiper-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px;color:#bac0b4;font-size:.78rem}.swiper-meta span{padding:5px 8px;border:1px solid rgb(255 255 255/.14);border-radius:999px}.now-playing{display:grid;margin-top:32px}.now-playing span{color:var(--accent);font-size:.72rem;font-weight:800}.now-playing strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.05rem}.progress{min-height:auto;padding:0;margin:12px 0 20px;accent-color:var(--accent)}.swiper-controls{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.swiper-controls button{height:48px;border:1px solid rgb(255 255 255/.15);border-radius:50%;background:rgb(255 255 255/.06);color:white;cursor:pointer}.swiper-controls .main-play{background:var(--accent);color:#0a0c08;border-color:var(--accent);font-size:1.2rem}.swiper-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.swiper-actions button,.swiper-actions a{border:0;background:none;color:#c5cabf;text-decoration:none;cursor:pointer;font-size:.82rem}.swiper-options{position:absolute;z-index:5;right:20px;top:85px;width:min(340px,calc(100% - 40px));padding:22px;background:rgb(15 18 13/.96);border:1px solid rgb(255 255 255/.13);border-radius:20px;box-shadow:var(--shadow)}.swiper-options h2{margin-top:0}.swiper-options label{display:grid;gap:7px;margin:15px 0}.shortcut-help{color:#9ba294;font-size:.75rem}.muted{color:var(--muted)}.mobile-large-text .release-body{font-size:1.08rem}@keyframes shimmer{to{transform:translateX(100%)}}@keyframes toast-in{from{transform:translateY(12px);opacity:0}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.signal-lines{display:none}}@media(max-width:1100px){.site-nav{position:fixed;left:16px;right:16px;top:72px;display:none;align-items:stretch;flex-direction:column;padding:14px;background:#11150f;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}.site-nav.open{display:flex}.nav-divider{width:100%;height:1px}.nav-toggle{display:block}.custom-workspace,.defined-admin{grid-template-columns:1fr}.selection-panel,.admin-list{position:static}.defined-grid{grid-template-columns:repeat(min(var(--columns),3),minmax(0,1fr))}.swiper-card{grid-template-columns:minmax(220px,46%) 1fr}}@media(max-width:760px){.site-main{width:min(100% - 28px,1480px)}.hero{min-height:680px}.hero h1,.page-intro h1{font-size:clamp(3rem,15vw,6rem)}.signal-lines{right:-20%;opacity:.25}.defined-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.defined-card-body{padding:14px}.method-grid,.account-grid{grid-template-columns:1fr}.method-card.wide-card{grid-column:auto}.account-message{padding-left:0;border-left:0;border-top:1px solid var(--line)}.database-filters{align-items:stretch;flex-wrap:wrap}.database-filters .grow{flex-basis:100%}.database-filters select{flex:1;min-width:120px}.release-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.release-body{padding:12px}.release-meta{grid-template-columns:1fr}.release-meta dt{margin-top:5px}.toolbar{align-items:stretch;flex-direction:column}.genre-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.genre-card-content{padding:10px}.genre-skeleton{height:210px}.form-grid,.filter-form-grid{grid-template-columns:1fr}.swiper-stage{padding:0 12px 20px}.swiper-card{display:block;width:min(520px,100%);max-height:calc(100vh - 100px);border-radius:22px}.swiper-art{width:100%;max-height:44vh}.swiper-info{padding:20px}.swiper-info h2{font-size:clamp(1.7rem,9vw,3rem)}.swiper-meta{margin-top:10px}.now-playing{margin-top:17px}.swiper-controls button{height:44px}.swiper-topbar{padding-inline:14px}.section-heading{align-items:flex-start;flex-direction:column}.modal-card{padding:24px 18px}}@media(max-width:430px){.defined-grid,.release-grid{grid-template-columns:1fr}.genre-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cover-frame{aspect-ratio:1.2}.genre-card p{display:none}.genre-card h3{font-size:.9rem}.genre-skeleton{height:180px}.site-header{padding-inline:14px}.site-main{width:calc(100% - 20px)}}
/* Custom Swiper artwork: always crop genre graphics to a square. */
[data-custom-swiper] .genre-card>img,[data-custom-swiper] .genre-card .genre-card-select>img{display:block;width:100%;height:auto!important;aspect-ratio:1/1!important;object-fit:cover;object-position:center}

/* Administrator member management */
.member-admin{display:grid;gap:18px}.member-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.member-stat{display:grid;gap:2px;padding:18px 20px;background:var(--panel);border:1px solid var(--line);border-radius:18px}.member-stat strong{color:var(--accent);font:800 2rem/1 "Manrope",sans-serif;letter-spacing:-.05em}.member-stat span{color:var(--muted);font-size:.82rem}.member-toolbar{display:flex;align-items:center;gap:10px;padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:20px}.member-toolbar label:not(.search-field){min-width:175px}.member-list{display:grid;gap:10px}.member-loading{height:112px;border-radius:18px}.member-row{display:grid;grid-template-columns:52px minmax(210px,1.3fr) minmax(160px,1fr) 150px 140px auto;align-items:center;gap:16px;padding:16px 18px;background:var(--panel);border:1px solid var(--line);border-radius:18px}.member-row:has(select[name="status"] option[value="disabled"]:checked){opacity:.72}.member-avatar{display:grid;width:48px;height:48px;place-items:center;border-radius:50%;overflow:hidden;background:#293321;color:var(--accent);font:800 1.1rem "Manrope",sans-serif}.member-avatar img{width:100%;height:100%;object-fit:cover}.member-identity,.member-activity{display:grid;min-width:0;gap:2px}.member-identity strong,.member-identity a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-identity a{color:var(--muted);font-size:.84rem;text-decoration:none}.member-identity span,.member-activity span{color:var(--muted);font-size:.72rem}.member-row label{display:grid;gap:4px;color:var(--muted);font-size:.72rem;font-weight:700}.member-row select{min-height:40px;padding-block:7px}.member-row .button{white-space:nowrap}@media(max-width:1050px){.member-row{grid-template-columns:52px minmax(0,1fr) repeat(2,minmax(130px,160px))}.member-activity{display:none}.member-row .button{grid-column:4}}@media(max-width:760px){.member-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.member-toolbar{align-items:stretch;flex-direction:column}.member-toolbar label:not(.search-field){width:100%}.member-row{grid-template-columns:48px 1fr;padding:16px}.member-row .member-identity{align-self:center}.member-row>label{grid-column:1/-1}.member-row .button{grid-column:1/-1;width:100%}}
/* Artists and labels watchlist manager */
.watchlist-manager{display:grid;gap:14px;margin:18px 0}.watchlist-manager-loading{height:180px;border-radius:16px}.watchlist-library{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#0b0e0a}.watchlist-library-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line)}.watchlist-library-head h3{margin:0;font:800 1.05rem "Manrope",sans-serif}.watchlist-library-head p{margin:2px 0 0;color:var(--muted);font-size:.72rem}.watchlist-library-tools{display:grid!important;grid-template-columns:minmax(0,1fr) 130px auto;gap:8px!important;margin:0!important;padding:12px;border-bottom:1px solid var(--line)}.watchlist-library-tools input,.watchlist-library-tools select{min-height:40px}.watchlist-entries{display:grid;max-height:430px;overflow:auto;padding:8px}.watchlist-entries>.muted{padding:12px}.watchlist-entry{display:grid!important;grid-template-columns:minmax(140px,1fr) minmax(112px,auto) auto auto;align-items:center;gap:8px!important;margin:0!important;padding:7px 8px;border-bottom:1px solid rgb(255 255 255/.055)}.watchlist-entry:last-child{border-bottom:0}.watchlist-entry input[name=name]{min-height:38px;padding:7px 10px}.watchlist-entry-spacer{min-width:112px}.watchlist-partial{display:flex!important;align-items:center;gap:7px!important;margin:0!important;color:var(--muted);font-size:.72rem;white-space:nowrap}.watchlist-partial input{width:auto;min-height:auto}.watchlist-entry .button{min-height:36px;padding:7px 12px}.watchlist-delete{min-height:36px;padding:7px 10px;border:1px solid rgb(248 113 113/.25);border-radius:999px;background:rgb(248 113 113/.07);color:#fca5a5;cursor:pointer}.watchlist-pages{display:flex;align-items:center;justify-content:center;gap:12px;padding:10px;border-top:1px solid var(--line);color:var(--muted);font-size:.72rem}.watchlist-pages button{padding:5px 9px;border:1px solid var(--line);border-radius:999px;background:var(--panel-2);color:var(--ink);cursor:pointer}.watchlist-pages button:disabled{opacity:.35;cursor:not-allowed}@media(max-width:760px){.watchlist-library-tools{grid-template-columns:1fr 1fr}.watchlist-library-tools .button{grid-column:1/-1}.watchlist-entry{grid-template-columns:1fr auto}.watchlist-entry input[name=name]{grid-column:1/-1}.watchlist-entry-spacer{display:none}}

/* Collection-inspired editorial refresh */
:root{
    color-scheme:light;
    --bg:#f7f6ef;
    --bg-soft:#efeee7;
    --panel:#fff;
    --panel-2:#f0efe8;
    --ink:#171715;
    --muted:#74746e;
    --line:#d8d7cf;
    --accent:#dff455;
    --accent-2:#4e74ff;
    --danger:#c94a4a;
    --warning:#a66b00;
    --radius:16px;
    --shadow:0 18px 50px rgb(29 29 24/.1)
}
body{
    background:
        radial-gradient(circle at 91% 4%,rgb(223 244 85/.3),transparent 24rem),
        linear-gradient(180deg,#faf9f4 0,#f5f4ed 100%);
    color:var(--ink)
}
.site-header{
    min-height:88px;
    padding:11px clamp(18px,4vw,64px);
    background:rgb(250 249 244/.91);
    border-bottom:1px solid var(--line);
    box-shadow:0 5px 24px rgb(29 29 24/.04)
}
.brand{position:relative;display:block;min-width:190px;max-width:270px}
.brand-logo{display:block;width:clamp(245px,22vw,340px);height:90px;object-fit:contain;object-position:left center}
.brand-logo-dark{display:none}

.site-nav{gap:2px}
.site-nav a{
    position:relative;
    padding:10px 11px;
    color:#65655f;
    border-radius:9px;
    font-size:.86rem;
    font-weight:700
}
.site-nav a:hover{background:#eeede6;color:#111}
.site-nav a.active{background:#171715;color:#fff}
.site-nav a.active:after{position:absolute;right:8px;top:8px;width:6px;height:6px;margin:0;background:var(--accent)}
.nav-divider{background:var(--line)}
.site-main{width:min(1480px,calc(100% - clamp(28px,7vw,120px)))}
.hero{
    min-height:min(650px,calc(100vh - 124px));
    margin:30px 0 0;
    padding:clamp(56px,8vw,112px) clamp(24px,7vw,102px);
    background:rgb(255 255 255/.84);
    border:1px solid var(--line);
    border-radius:24px;
    box-shadow:var(--shadow)
}
.hero:after{
    content:"";
    position:absolute;
    right:-9%;
    bottom:-35%;
    width:42%;
    aspect-ratio:1;
    border-radius:50%;
    background:var(--accent);
    filter:blur(1px);
    opacity:.78;
    pointer-events:none
}
.eyebrow{color:#596100}
.hero h1,.page-intro h1{font-size:clamp(3.3rem,8.5vw,8.2rem);line-height:.88}
.hero h1 em{color:#687300}
.hero-copy,.page-intro.compact>p:last-child{color:var(--muted)}
.signal-lines{z-index:1;right:6%;bottom:8%;color:#111;opacity:.7}
.signal-lines span{border-color:#171715;background:linear-gradient(#171715,transparent)}
.button{min-height:46px;border-radius:999px}
.button.primary{background:#171715;color:#fff;box-shadow:inset 0 0 0 1px #171715}
.button.primary:hover{background:#30302d}
.button.ghost{background:#fff;border-color:var(--line);color:var(--ink)}
.button.ghost:hover{border-color:#aaa9a1;background:#f6f5ee}
.page-intro{padding:88px 0 48px}
.page-intro.compact h1{font-size:clamp(3rem,7vw,6.8rem)}
.home-section{border-color:var(--line)}
.genre-library,.selection-panel,.database-shell,.editor-card,.admin-list,.account-card,
.method-card,.defined-card,.empty-state,.swiper-page-card{
    background:rgb(255 255 255/.92);
    border-color:var(--line);
    border-radius:16px;
    box-shadow:0 12px 34px rgb(29 29 24/.07)
}
.defined-card:hover,.genre-card:hover{border-color:#9a9a91}
.defined-card{background:#fff}
.defined-card-body h3,.selection-heading h2,.method-card h2,.editor-card h2,.account-card h2{color:var(--ink)}
.cover-fallback{background:#e9e8df;color:#657000}
.source-count{background:rgb(23 23 21/.8);color:#fff}
.tag-list span{color:#575751;background:#f4f3ed}
.genre-library,.selection-panel,.database-shell,.editor-card,.admin-list,.account-card{background:#fff}
.search-field input,input,select,textarea{
    background:#fbfaf6;
    border-color:#cfcec6;
    color:var(--ink)
}
input::placeholder,textarea::placeholder{color:#999990}
.search-field input:focus,input:focus,select:focus,textarea:focus{border-color:#7b7b73;box-shadow:0 0 0 3px rgb(223 244 85/.35)}
.filter-button,.micro-button,.structure-actions button{background:#f0efe8;border-color:var(--line);color:var(--ink)}
.genre-card{background:#fff;color:var(--ink)}
.genre-card[aria-pressed=true]{border-color:#7d8900;box-shadow:0 0 0 3px rgb(223 244 85/.42)}
.genre-card img{background:#eae9e1}
.selected-badge{background:#171715;color:var(--accent)}
.selection-dropzone{border-color:#bdbcb4;background:#fbfaf6}
.selection-item,.result-panel{background:#f7f6f0}
.method-card{background:#fff}
.method-card label,.editor-card label,.prose{color:#454540}
.method-number{color:#687300}
.structure-swiper{background:#f6f5ef}
.modal-card{background:#fff}
.modal::backdrop{background:rgb(20 20 18/.62)}
.icon-button{background:#fff;color:var(--ink)}
.toast{background:#fff;border-color:#b9b8af;color:var(--ink)}
.toast.error{background:#fff0ed;border-color:#d8968b}
.big-number,.text-link,.text-button,.prose a{color:#687300}
.swiper-page-card p{color:var(--muted)}
.swiper-page-actions .primary{color:#fff}

/* Give the two option controls deliberate breathing room inside their fields. */
.swiper-options-grid>.swiper-option-toggle{
    min-height:58px;
    margin:7px 0!important;
    padding:13px 16px!important;
    gap:16px!important;
    border-radius:13px!important
}
.swiper-options-grid>.swiper-option-toggle>span{padding:2px 4px;line-height:1.25}
.swiper-options-grid>.swiper-option-toggle>input{margin:0 4px!important;flex:0 0 auto}
.swiper-options-grid>.swiper-option-toggle small{display:block;margin-top:3px}

/* Keep the immersive player and legacy database intentionally dark. */
.swiper-overlay,.swiper-options{color:#fff}
.swiper-options input,.swiper-options select{color:#fff;background:#0b0e0a}
.database-shell.legacy-database{box-shadow:0 18px 50px rgb(29 29 24/.14)}

@media(max-width:1100px){
    .site-nav{top:82px;background:#fff;border-color:var(--line)}
    .brand{max-width:230px}
    .brand-logo{width:225px}
}
@media(max-width:760px){
    .site-header{min-height:76px}
    .brand-logo{width:190px;height:50px}
    .hero{min-height:620px;margin-top:18px;padding:52px 24px;border-radius:18px}
    .hero:after{right:-28%;bottom:-14%;width:78%;opacity:.55}
    .page-intro{padding:66px 0 38px}
    .swiper-options-grid>.swiper-option-toggle{min-height:62px;padding:15px 17px!important}
}
/* Persistent light/dark theme switch */
.site-nav{margin-left:auto}
.theme-toggle{
    display:inline-grid;
    flex:0 0 auto;
    width:68px;
    height:38px;
    margin-left:8px;
    padding:0;
    border:1px solid #cecdc5;
    border-radius:999px;
    background:#efeee7;
    color:#171715;
    cursor:pointer;
    box-shadow:inset 0 1px 3px rgb(29 29 24/.08);
    transition:background .22s ease,border-color .22s ease,transform .22s ease
}
.theme-toggle:hover{transform:translateY(-1px);border-color:#a8a79f}
.theme-toggle-track{position:relative;display:block;width:100%;height:100%}
.theme-toggle-sun,.theme-toggle-moon{
    position:absolute;
    top:50%;
    z-index:1;
    transform:translateY(-50%);
    font-size:15px;
    line-height:1
}
.theme-toggle-sun{left:10px;color:#6b7300}
.theme-toggle-moon{right:10px;color:#75756f}
.theme-toggle-knob{
    position:absolute;
    left:3px;
    top:3px;
    z-index:2;
    width:30px;
    height:30px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 3px 9px rgb(29 29 24/.22);
    transition:transform .22s cubic-bezier(.2,.8,.2,1),background .22s ease
}
[data-theme=dark]{
    color-scheme:dark;
    --bg:#0c0e0b;
    --bg-soft:#121510;
    --panel:#171a15;
    --panel-2:#20241d;
    --ink:#f3f4ef;
    --muted:#a4aa9f;
    --line:#34392f;
    --accent:#dff455;
    --accent-2:#7c9aff;
    --danger:#ff786a;
    --warning:#ffd36c;
    --shadow:0 22px 60px rgb(0 0 0/.34)
}
[data-theme=dark] body{
    background:
        radial-gradient(circle at 91% 4%,rgb(100 116 21/.22),transparent 27rem),
        linear-gradient(180deg,#0c0e0b 0,#10130e 100%);
    color:var(--ink)
}
[data-theme=dark] .site-header{
    background:rgb(13 15 12/.91);
    border-color:var(--line);
    box-shadow:0 5px 24px rgb(0 0 0/.2)
}
[data-theme=dark] .brand-logo-light{display:none}
[data-theme=dark] .brand-logo-dark{display:block}
[data-theme=dark] .site-nav a{color:#a9afa3}
[data-theme=dark] .site-nav a:hover{background:#20241d;color:#fff}
[data-theme=dark] .site-nav a.active{background:var(--accent);color:#11130f}
[data-theme=dark] .theme-toggle{background:#24281f;border-color:#3b4135;color:#fff}
[data-theme=dark] .theme-toggle-knob{background:var(--accent);transform:translateX(30px)}
[data-theme=dark] .theme-toggle-sun{color:#74796c}
[data-theme=dark] .theme-toggle-moon{color:#fff}
[data-theme=dark] .hero{
    background:rgb(22 25 20/.88);
    border-color:var(--line);
    box-shadow:var(--shadow)
}
[data-theme=dark] .hero:after{background:#768500;opacity:.48}
[data-theme=dark] .eyebrow,[data-theme=dark] .hero h1 em{color:var(--accent)}
[data-theme=dark] .signal-lines span{border-color:var(--accent);background:linear-gradient(var(--accent),transparent)}
[data-theme=dark] .button.primary{background:var(--accent);color:#11130f;box-shadow:none}
[data-theme=dark] .button.primary:hover{background:#ebff70}
[data-theme=dark] .button.ghost{background:#1a1e17;border-color:var(--line);color:var(--ink)}
[data-theme=dark] .button.ghost:hover{background:#23281f;border-color:#535b4c}
[data-theme=dark] .genre-library,
[data-theme=dark] .selection-panel,
[data-theme=dark] .database-shell:not(.legacy-database),
[data-theme=dark] .editor-card,
[data-theme=dark] .admin-list,
[data-theme=dark] .account-card,
[data-theme=dark] .method-card,
[data-theme=dark] .defined-card,
[data-theme=dark] .empty-state,
[data-theme=dark] .swiper-page-card,
[data-theme=dark] .member-stat,
[data-theme=dark] .member-toolbar,
[data-theme=dark] .member-row{
    background:rgb(23 26 21/.94);
    border-color:var(--line);
    box-shadow:0 14px 38px rgb(0 0 0/.2)
}
[data-theme=dark] .defined-card-body h3,
[data-theme=dark] .selection-heading h2,
[data-theme=dark] .method-card h2,
[data-theme=dark] .editor-card h2,
[data-theme=dark] .account-card h2{color:var(--ink)}
[data-theme=dark] .tag-list span{background:#20241d;color:#c4c9bf}
[data-theme=dark] .genre-card{background:#171a15;color:var(--ink);border-color:var(--line)}
[data-theme=dark] .genre-card img{background:#22271f}
[data-theme=dark] .selection-dropzone{background:#121510;border-color:#4b5245}
[data-theme=dark] .selection-item,
[data-theme=dark] .result-panel,
[data-theme=dark] .structure-swiper{background:#11140f}
[data-theme=dark] .search-field input,
[data-theme=dark] input,
[data-theme=dark] select,
[data-theme=dark] textarea{background:#0f120e;border-color:#3d4338;color:var(--ink)}
[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#7e8479}
[data-theme=dark] .filter-button,
[data-theme=dark] .micro-button,
[data-theme=dark] .structure-actions button,
[data-theme=dark] .icon-button{background:#20241d;border-color:var(--line);color:var(--ink)}
[data-theme=dark] .method-card label,
[data-theme=dark] .editor-card label,
[data-theme=dark] .prose{color:#d5d9d1}
[data-theme=dark] .modal-card{background:#171a15;border-color:var(--line)}
[data-theme=dark] .toast{background:#1b2018;border-color:#46503f;color:var(--ink)}
[data-theme=dark] .toast.error{background:#2a1512;border-color:#714139}
[data-theme=dark] .watchlist-library{background:#0f120e}
[data-theme=dark] .watchlist-entry{border-color:rgb(255 255 255/.06)}
[data-theme=dark] .big-number,
[data-theme=dark] .text-link,
[data-theme=dark] .text-button,
[data-theme=dark] .prose a{color:var(--accent)}
@media(max-width:1100px){
    .nav-toggle{margin-left:auto}
    [data-theme=dark] .site-nav{background:#171a15;border-color:var(--line)}
}
@media(max-width:760px){
    .site-header{gap:9px}
    .theme-toggle{width:62px;height:36px;margin-left:0}
    .theme-toggle-knob{width:28px;height:28px}
    [data-theme=dark] .theme-toggle-knob{transform:translateX(26px)}
    .theme-toggle-sun{left:8px}.theme-toggle-moon{right:8px}
}
@media(prefers-reduced-motion:reduce){
    .theme-toggle,.theme-toggle-knob{transition:none}
}
/* Complete Playlist Release Import */
.playlist-batch-log { margin-top: 1.25rem; }
.playlist-batch-log h4 small { font-weight: normal; }
.playlist-batch-log ol { max-height: 22rem; overflow: auto; padding-left: 1.5rem; font-size: .85rem; overflow-wrap: anywhere; }
.playlist-batch-log li { margin: .4rem 0; }
.playlist-batch-log time { font-family: monospace; opacity: .7; }
.playlist-import-form{display:grid;gap:16px!important}
.playlist-import-scope{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;padding:0;border:0}
.playlist-import-scope legend{margin-bottom:8px;color:var(--muted);font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.playlist-import-scope label{display:flex!important;align-items:flex-start;gap:10px!important;padding:13px 14px;border:1px solid var(--line);border-radius:13px;background:var(--bg-soft);cursor:pointer}
.playlist-import-scope input{width:auto;min-height:auto;margin:3px 0 0;accent-color:#171715}
.playlist-import-scope span{display:grid;gap:2px}.playlist-import-scope small{color:var(--muted);font-weight:500}
.playlist-import-source{display:grid;gap:11px;padding:16px;border:1px solid var(--line);border-radius:15px;background:var(--bg-soft)}
.playlist-import-source>div>strong{font:800 1rem "Manrope",sans-serif}.playlist-import-source>div>p{margin:3px 0 0;color:var(--muted);font-size:.8rem}
.playlist-import-source>.button{justify-self:start}
.playlist-manual-actions{display:flex!important;align-items:center;flex-wrap:wrap;gap:12px!important}
.playlist-manual-actions .check{align-items:flex-start;margin:0;padding:8px 10px;border:1px solid color-mix(in srgb,var(--danger) 30%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--danger) 6%,var(--panel))}
.playlist-manual-actions .check>input{width:auto;min-height:auto;margin-top:3px}.playlist-manual-actions .check>span{display:grid;gap:2px}.playlist-manual-actions .check small{max-width:520px;color:var(--muted);font-weight:500;line-height:1.35}
.playlist-account-query{display:grid!important;grid-template-columns:minmax(180px,.7fr) minmax(220px,1.3fr);gap:10px!important}
[data-theme=dark] .playlist-import-scope input{accent-color:var(--accent)}
@media(max-width:760px){
    .playlist-import-scope,.playlist-account-query{grid-template-columns:1fr!important}
    .playlist-import-source>.button,.playlist-manual-actions>.button{width:100%}.playlist-manual-actions{align-items:stretch;flex-direction:column}
}
/* URL-addressable Add Music tabs and connection status */
.spotify-status{position:relative;display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--panel);color:#90938d;text-decoration:none;transition:transform .2s ease,border-color .2s ease}
.spotify-status:hover{transform:translateY(-1px)}.spotify-status svg{width:23px;height:23px}.spotify-status svg circle{fill:currentColor;stroke:none}.spotify-status svg path{fill:none;stroke:var(--panel);stroke-width:1.65;stroke-linecap:round}
.spotify-status.is-connected{color:#1db954;border-color:rgb(29 185 84/.38)}.spotify-status-dot{position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border:2px solid var(--panel);border-radius:50%;background:#9a9d96}.spotify-status.is-connected .spotify-status-dot{background:#1db954}
.add-music-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 18px;padding:7px;border:1px solid var(--line);border-radius:16px;background:var(--panel);box-shadow:0 10px 30px rgb(29 29 24/.06)}
.add-music-tabs a{display:flex;align-items:center;gap:9px;min-height:48px;padding:10px 13px;border-radius:11px;color:var(--muted);font-size:.84rem;font-weight:800;text-decoration:none}
.add-music-tabs a span{display:grid;width:25px;height:25px;place-items:center;border:1px solid var(--line);border-radius:50%;font-size:.68rem}.add-music-tabs a:hover{background:var(--bg-soft);color:var(--ink)}.add-music-tabs a.active{background:var(--ink);color:var(--panel)}.add-music-tabs a.active span{border-color:var(--accent);background:var(--accent);color:#11130f}
.add-music-methods{display:block}.add-music-method-panel{width:min(920px,100%);margin:0 auto}.add-music-method-panel[hidden]{display:none!important}
.watchlist-library{background:#fbfaf6}.watchlist-entry{border-color:var(--line)}.watchlist-library-head,.watchlist-library-tools,.watchlist-pages{background:#f7f6f0}.watchlist-entries{background:#fff}
[data-theme=dark] .spotify-status{background:#1a1e17}.theme-toggle{margin-left:0}
[data-theme=dark] .add-music-tabs{background:#171a15;box-shadow:0 12px 34px rgb(0 0 0/.2)}[data-theme=dark] .add-music-tabs a.active{background:var(--accent);color:#11130f}
[data-theme=dark] .watchlist-library{background:#11140f}[data-theme=dark] .watchlist-library-head,[data-theme=dark] .watchlist-library-tools,[data-theme=dark] .watchlist-pages{background:#171a15}[data-theme=dark] .watchlist-entries{background:#0f120e}
@media(max-width:1100px){.spotify-status{margin-left:0}.add-music-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.add-music-tabs{grid-template-columns:1fr}.add-music-tabs a{min-height:42px}.spotify-status{width:36px;height:36px;flex-basis:36px}}
.playlist-shortening-note{display:grid;gap:3px;margin:16px 0 2px;padding:13px 15px;border:1px solid color-mix(in srgb,var(--accent) 58%,var(--line));border-radius:13px;background:color-mix(in srgb,var(--accent) 14%,var(--panel));color:var(--ink)}
.playlist-shortening-note strong{font-size:.82rem}.playlist-shortening-note span{color:var(--muted);font-size:.76rem;line-height:1.45}
.header-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}

.playlist-import-execute-options{display:grid;gap:9px;margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--bg-soft)}
.playlist-import-execute-options .check{align-items:flex-start}.playlist-import-execute-options .check>span{display:grid;gap:2px}.playlist-import-execute-options .check small{color:var(--muted);font-weight:500;line-height:1.4}
.playlist-import-execute-options .warning-check{padding:10px;border:1px solid color-mix(in srgb,var(--danger) 30%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--danger) 6%,var(--panel))}
.playlist-import-preferences{display:grid;gap:9px;margin:0;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--bg-soft)}
.playlist-import-preferences legend{padding:0 7px;color:var(--muted);font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.playlist-import-preferences .check{align-items:flex-start;margin:0;padding:10px}
.playlist-import-preferences .check>input{width:auto;min-height:auto;margin-top:3px;accent-color:#171715}
.playlist-import-preferences .check>span{display:grid;gap:2px}
.playlist-import-preferences .check small{color:var(--muted);font-weight:500;line-height:1.4}
.playlist-import-preferences .warning-check{border:1px solid color-mix(in srgb,var(--danger) 30%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--danger) 6%,var(--panel))}
.job-import-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}.job-import-actions .check{margin:0}
.job-import-progress{display:grid;gap:9px;margin-top:14px;padding:14px;border:1px solid color-mix(in srgb,var(--accent) 42%,var(--line));border-radius:13px;background:color-mix(in srgb,var(--accent) 7%,var(--bg-soft))}
.job-import-progress[hidden]{display:none}
.job-import-progress-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.job-import-progress-head strong{font-size:.86rem}.job-import-progress-head span{color:var(--accent);font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.job-import-progress small{color:var(--muted);line-height:1.45}
.job-progress.indeterminate span{width:34%;animation:job-import-indeterminate 1.25s ease-in-out infinite}
.job-import-progress.is-error{border-color:color-mix(in srgb,var(--danger) 56%,var(--line));background:color-mix(in srgb,var(--danger) 7%,var(--bg-soft))}
.job-import-progress.is-error .job-import-progress-head span{color:var(--danger)}.job-import-progress.is-error .job-progress{display:none}
@keyframes job-import-indeterminate{from{transform:translateX(-115%)}to{transform:translateX(300%)}}
@media(max-width:600px){.job-import-actions{align-items:stretch;flex-direction:column}.job-import-actions .button{width:100%}.job-import-progress-head{align-items:flex-start;flex-direction:column;gap:4px}}
/* Method 3 source selection */
.watchlist-selection-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.watchlist-selection-actions .text-button{padding:3px 0;font-size:.72rem}.watchlist-entry{grid-template-columns:auto minmax(140px,1fr) minmax(112px,auto) auto auto!important}.watchlist-select{display:flex!important;align-items:center!important;justify-content:center;min-width:30px;margin:0!important}.watchlist-select input{width:18px!important;height:18px;min-height:0!important;accent-color:var(--accent)}.watchlist-scan-summary{margin:0!important;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:color-mix(in srgb,var(--accent) 7%,transparent);color:var(--muted)!important;font-size:.8rem}.scan-preview-note{padding:9px 12px;border-radius:10px;background:color-mix(in srgb,var(--accent) 8%,transparent);color:var(--muted);font-size:.8rem}@media(max-width:760px){.watchlist-library-head{align-items:flex-start;gap:10px}.watchlist-entry{grid-template-columns:auto 1fr auto!important}.watchlist-entry input[name=name]{grid-column:2/-1}.watchlist-entry .watchlist-partial{grid-column:2}.watchlist-entry-spacer{display:none}}
/* Compact release scan and import-report rows */
.release-result-list,.imported-release-list{display:grid;gap:7px;padding:3px;max-height:520px;overflow:auto}.release-result-row{display:grid!important;grid-template-columns:58px minmax(0,1fr) 24px;align-items:center;gap:12px!important;min-height:70px;margin:0!important;padding:6px 12px 6px 6px!important;border:1px solid var(--line)!important;border-radius:13px;background:color-mix(in srgb,var(--panel) 88%,transparent);color:var(--ink)!important;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease}.release-result-row:hover{border-color:color-mix(in srgb,var(--accent) 48%,var(--line))!important;background:color-mix(in srgb,var(--accent) 5%,var(--panel));transform:translateY(-1px)}.release-result-cover{display:grid;width:58px;height:58px;place-items:center;overflow:hidden;border-radius:9px;background:linear-gradient(145deg,var(--panel-2),color-mix(in srgb,var(--accent) 12%,var(--panel)));color:var(--accent);font-size:1.25rem}.release-result-cover img{display:block;width:100%;height:100%;object-fit:cover}.release-result-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:1px;line-height:1.25}.release-result-artist{display:block;max-width:100%;overflow:hidden;color:var(--muted);font-size:.76rem;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.release-result-title{display:block;max-width:100%;overflow:hidden;color:var(--ink);font:800 .92rem/1.25 "Manrope",sans-serif;text-overflow:ellipsis;white-space:nowrap}.release-result-copy small{display:block;max-width:100%;margin-top:2px;overflow:hidden;color:var(--muted);font-size:.68rem;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.release-result-check{justify-self:end;width:18px!important;height:18px!important;min-height:0!important;margin:0!important;padding:0!important;accent-color:var(--accent);cursor:pointer}.import-report-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:color-mix(in srgb,var(--accent) 6%,transparent);color:var(--muted)}.import-report-summary strong{color:var(--ink);font-size:1.05rem}.import-report-summary span{color:var(--line)}.imported-release-section{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.imported-release-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:10px}.imported-release-heading .eyebrow{margin-bottom:4px}.imported-release-heading h4{margin:0;font:800 1.2rem "Manrope",sans-serif;letter-spacing:-.03em}.imported-release-heading>span{display:grid;min-width:34px;height:34px;padding:0 9px;place-items:center;border-radius:999px;background:var(--accent);color:#0a0d07;font-weight:900}.imported-release-list .release-result-row{grid-template-columns:58px minmax(0,1fr);cursor:default}.imported-release-list .release-result-row:hover{transform:none}@media(max-width:560px){.release-result-row,.imported-release-list .release-result-row{grid-template-columns:48px minmax(0,1fr) 22px;min-height:60px;gap:9px!important;padding:5px 9px 5px 5px!important}.imported-release-list .release-result-row{grid-template-columns:48px minmax(0,1fr)}.release-result-cover{width:48px;height:48px}.release-result-title{font-size:.84rem}.release-result-copy small{display:none}}
.scan-source-warnings{margin:12px 0;padding:10px 12px;border:1px solid color-mix(in srgb,var(--warning,#d89a22) 50%,var(--line));border-radius:11px;background:color-mix(in srgb,var(--warning,#d89a22) 8%,var(--panel));color:var(--ink)}.scan-source-warnings summary{cursor:pointer;font-size:.8rem;font-weight:800}.scan-source-warnings>div{display:grid;gap:7px;margin-top:10px}.scan-source-warnings p{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin:0;padding-top:7px;border-top:1px solid var(--line);font-size:.75rem}.scan-source-warnings p strong{overflow-wrap:anywhere}.scan-source-warnings p span,.scan-source-warnings small{color:var(--muted)}

/* Customize genre-card labels and information popovers */
.genre-card{position:relative;text-align:center}
.genre-card-select{display:block;width:100%;margin:0;padding:0;border:0;background:transparent;color:inherit;text-align:center;cursor:pointer}
.genre-card-select:focus-visible{position:relative;z-index:2;outline:3px solid color-mix(in srgb,var(--accent) 72%,transparent);outline-offset:-3px;border-radius:16px}
.genre-card-content{display:grid;min-height:54px;padding:12px 43px 13px;place-items:center;text-align:center}
.genre-card-title{display:block;width:100%;font:800 1rem/1.25 "Manrope",sans-serif;letter-spacing:-.025em;overflow-wrap:anywhere}
.genre-card.is-selected{border-color:#7d8900;box-shadow:0 0 0 3px rgb(223 244 85/.42)}
.genre-card.is-selected .selected-badge{opacity:1;transform:none}
.genre-info-button{position:absolute;z-index:3;right:10px;bottom:13px;display:grid;width:28px;height:28px;min-height:0;padding:0;place-items:center;border:1px solid color-mix(in srgb,var(--ink) 18%,var(--line));border-radius:50%;background:color-mix(in srgb,var(--panel) 90%,transparent);color:var(--muted);box-shadow:0 4px 12px rgb(0 0 0/.08);cursor:help;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}
.genre-info-button:hover,.genre-info-button:focus-visible{border-color:var(--ink);background:var(--ink);color:var(--panel);transform:translateY(-1px)}
.genre-info-button svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.genre-info-button .genre-info-dot{fill:currentColor;stroke:none}
.genre-info-hover{position:fixed;z-index:6500;width:min(340px,calc(100vw - 24px));padding:16px 17px;border:1px solid rgb(255 255 255/.15);border-radius:15px;background:rgb(20 20 18/.96);color:#f8f8f3;box-shadow:0 20px 55px rgb(0 0 0/.3);backdrop-filter:blur(18px);pointer-events:none}
.genre-info-hover[hidden]{display:none}
.genre-info-hover:after{content:"";position:absolute;right:15px;top:-5px;width:9px;height:9px;border-left:1px solid rgb(255 255 255/.15);border-top:1px solid rgb(255 255 255/.15);background:inherit;transform:rotate(45deg)}
.genre-info-hover strong{display:block;padding-right:10px;color:var(--accent);font:800 .9rem/1.25 "Manrope",sans-serif}
.genre-info-hover p{margin:7px 0 0;color:#d5d7cf;font-size:.79rem;line-height:1.55}
@media(max-width:430px){.genre-card-content{min-height:50px;padding:10px 38px 11px}.genre-card-title{font-size:.88rem}.genre-info-button{right:8px;bottom:11px;width:26px;height:26px}}
.genre-info-hover[data-placement=above]:after{top:auto;bottom:-5px;border:0;border-right:1px solid rgb(255 255 255/.15);border-bottom:1px solid rgb(255 255 255/.15)}

/* Keep the visible Customize card square; its centered label sits below it. */
[data-custom-swiper] .genre-card{overflow:visible;border:0;border-radius:0;background:transparent!important;box-shadow:none!important}
[data-custom-swiper] .genre-card .genre-card-select>img{border:1px solid var(--line);border-radius:17px;box-shadow:none;transition:border-color .2s ease,box-shadow .2s ease}
[data-custom-swiper] .genre-card:hover .genre-card-select>img{border-color:#9a9a91}
[data-custom-swiper] .genre-card.is-selected{border:0;box-shadow:none}
[data-custom-swiper] .genre-card.is-selected .genre-card-select>img{border-color:#7d8900;box-shadow:0 0 0 3px rgb(223 244 85/.42)}
[data-custom-swiper] .genre-card-select:focus-visible{outline:0}
[data-custom-swiper] .genre-card-select:focus-visible>img{border-color:var(--ink);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 72%,transparent)}

/* Keep selected Customize rows compact from the first item onward. */
.selection-dropzone{align-content:start;grid-auto-rows:min-content}
.selection-dropzone:has(.selection-empty){align-content:center}
.selection-item{height:60px;min-height:60px}.selection-item strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Compact Customize search state and saved-swiper actions. */
.genre-grid>.genre-search-empty{grid-column:1/-1;min-height:0;margin:0;padding:24px;border-radius:14px}
.genre-search-empty h2{margin:0;font:800 1.15rem/1.25 "Manrope",sans-serif;letter-spacing:-.02em}
.genre-search-empty p{margin:6px 0 0;color:var(--muted);font-size:.82rem}
.saved-swiper-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.saved-swiper-delete{border-color:color-mix(in srgb,var(--danger) 36%,var(--line));color:var(--danger)}
.account-grid-single{grid-template-columns:minmax(0,560px)}
@media(max-width:520px){.saved-account-item{align-items:flex-start;flex-direction:column}.saved-swiper-actions{width:100%}.saved-swiper-actions .button,.saved-swiper-actions .micro-button{flex:1}}

/* Keep the complete Selected Genres panel visible on desktop. */
@media(min-width:1101px){
.selection-panel{display:flex;height:calc(100vh - 116px);height:calc(100dvh - 116px);max-height:none;flex-direction:column;overflow:hidden}
.selection-heading,.selection-actions{flex:0 0 auto}
.selection-dropzone{flex:1 1 260px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
}

/* Separate navigation states and split the Customize launch action. */
.site-nav{gap:7px}
.site-nav a{margin:2px 0}
.selection-open-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.selection-open-actions .button{width:100%;min-width:0;padding-inline:12px;white-space:nowrap;font-size:.84rem}
@media(max-width:420px){.selection-open-actions{grid-template-columns:1fr}}

/* Mobile Customize uses dedicated library/selection tabs and a reachable action dock. */
.custom-mobile-tabs,.mobile-long-press-hint{display:none}
@media(max-width:760px){
    .custom-page-intro{display:none}
    .custom-workspace{display:block;margin:12px 0 0;padding-bottom:24px}
    .custom-mobile-tabs{position:sticky;z-index:70;top:76px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:0 0 12px;padding:5px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--panel) 94%,transparent);box-shadow:0 10px 24px rgb(0 0 0/.1);backdrop-filter:blur(18px)}
    .custom-mobile-tabs button{min-height:44px;padding:8px 12px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-weight:850;cursor:pointer}
    .custom-mobile-tabs button[aria-selected=true]{background:var(--accent);color:#11130f}
    .custom-mobile-tabs button span{display:inline-grid;min-width:21px;height:21px;margin-left:5px;padding:0 5px;place-items:center;border-radius:999px;background:color-mix(in srgb,currentColor 14%,transparent);font-size:.68rem}
    .custom-workspace[data-mobile-view=customize] [data-custom-mobile-panel=selected],.custom-workspace[data-mobile-view=selected] [data-custom-mobile-panel=customize]{display:none}
    .genre-library,.selection-panel{position:static;padding:14px;border-radius:16px;box-shadow:none}
    .mobile-long-press-hint{display:block;margin:10px 3px 0;color:var(--muted);font-size:.75rem;text-align:center}
    .genre-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:13px}
    [data-custom-swiper] .genre-card-select{touch-action:pan-y}
    [data-custom-swiper] .genre-card-select.is-long-pressing>img,[data-custom-swiper] .selection-item.is-long-pressing{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 38%,transparent);transform:scale(.985)}
    .selection-panel{min-height:calc(100dvh - 170px);padding-bottom:178px}
    .selection-dropzone{min-height:240px;margin:13px 0 0}
    .selection-item{touch-action:pan-y;transition:transform .18s ease,box-shadow .18s ease}
    .selection-actions{position:fixed;z-index:95;right:0;bottom:0;left:0;display:grid;gap:7px;padding:11px max(14px,env(safe-area-inset-right)) calc(11px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));border-top:1px solid var(--line);background:color-mix(in srgb,var(--panel) 96%,transparent);box-shadow:0 -14px 34px rgb(0 0 0/.16);backdrop-filter:blur(20px)}
    .selection-open-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
    .selection-actions .button{min-height:44px}
    .selection-actions>[data-load-saved]{min-height:30px}
}


/* v1.2.30 mobile header and Customize viewport */
[data-theme=light] [data-custom-swiper] .genre-card.is-selected .genre-card-select>img{border-color:#171715;box-shadow:0 0 0 3px rgb(23 23 21/.2)}
[data-theme=dark] [data-custom-swiper] .genre-card.is-selected .genre-card-select>img{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 34%,transparent)}
@media(max-width:760px){
    .site-header{min-height:68px;padding:8px 10px;gap:6px}
    .brand{min-width:0;max-width:none;flex:1 1 auto;overflow:hidden}
    .brand-logo{width:min(158px,100%);height:46px}
    .site-nav{top:67px;left:10px;right:10px;max-height:calc(100dvh - 77px);overflow-y:auto}
    .header-actions{gap:6px;margin-left:auto}
    .spotify-status,.theme-toggle,.nav-toggle{width:36px;height:36px;min-width:36px;flex:0 0 36px;margin:0}
    .nav-toggle{display:grid;padding:0;place-items:center;border-radius:50%}
    .nav-toggle svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
    .theme-toggle{display:grid;border-radius:50%;box-shadow:none;place-items:center}
    .theme-toggle-track{display:grid;width:100%;height:100%;place-items:center}
    .theme-toggle-knob{display:none}
    .theme-toggle-sun,.theme-toggle-moon{position:static;inset:auto;display:grid;place-items:center;transform:none;font-size:17px;line-height:1}
    .theme-toggle-sun svg,.theme-toggle-moon svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
    .theme-toggle-moon{display:none}
    [data-theme=dark] .theme-toggle-sun{display:none}
    [data-theme=dark] .theme-toggle-moon{display:grid}
    html[data-page=custom],html[data-page=custom] body{height:100%;height:100dvh;min-height:0;overflow:hidden}
    html[data-page=custom] .site-main{height:calc(100dvh - 68px);padding-bottom:0;overflow:hidden}
    html[data-page=custom] .custom-workspace{display:grid;height:100%;grid-template-rows:auto minmax(0,1fr);margin:0;padding:8px 0}
    html[data-page=custom] .custom-mobile-tabs{position:static;margin:0 0 8px}
    html[data-page=custom] .genre-library,html[data-page=custom] .selection-panel{height:100%;min-height:0;overflow:hidden}
    html[data-page=custom] .genre-library{display:flex;flex-direction:column}
    html[data-page=custom] .genre-library .toolbar,html[data-page=custom] .mobile-long-press-hint{flex:0 0 auto}
    html[data-page=custom] .genre-grid{min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:0 2px 12px;scrollbar-gutter:stable}
    html[data-page=custom] .selection-panel{display:flex;min-height:0;padding-bottom:14px;flex-direction:column}
    html[data-page=custom] .selection-heading,html[data-page=custom] .selection-actions{flex:0 0 auto}
    html[data-page=custom] .selection-dropzone{min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
    html[data-page=custom] .selection-actions{position:static;z-index:auto;margin-top:8px;padding:10px 0 0;border-top:1px solid var(--line);background:transparent;box-shadow:none;backdrop-filter:none}
}
@media(max-width:360px){
    .site-header{padding-inline:8px}
    .brand-logo{width:min(132px,100%)}
    .header-actions{gap:4px}
    .spotify-status,.theme-toggle,.nav-toggle{width:34px;height:34px;min-width:34px;flex-basis:34px}
}


/* v1.2.31 keep Selected actions inside the mobile viewport */
@media(max-width:760px){
    html[data-page=custom] .selection-panel{display:grid;grid-template-rows:auto minmax(0,1fr) auto;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
    html[data-page=custom] .selection-actions{align-self:end}
    html[data-page=custom] .selection-actions>[data-load-saved]{display:flex;min-height:34px;align-items:center;justify-content:center}
}


/* v1.2.32 spaced mobile header controls and viewport-locked Customize actions */
@media(max-width:760px){
    .header-actions{gap:9px}
    html[data-page=custom] .site-main{position:fixed;inset:68px 0 0;width:min(100% - 28px,1480px);height:auto;margin:0 auto}
    html[data-page=custom] .selection-actions{min-height:0}
    html[data-page=custom] .selection-actions>[data-load-saved]{flex:0 0 34px}
}
@media(max-width:360px){
    .header-actions{gap:7px}
}

/* v1.2.35 confirmation spacing and stronger selected genre borders */
[data-confirm-phrase-wrap]{display:grid;gap:10px;margin-top:18px}
[data-confirm-phrase-wrap][hidden]{display:none}
[data-custom-swiper] .genre-card.is-selected .genre-card-select>img{border-width:2px}
[data-theme=light] [data-custom-swiper] .genre-card.is-selected .genre-card-select>img{box-shadow:0 0 0 3px rgb(23 23 21/.24)}
[data-theme=dark] [data-custom-swiper] .genre-card.is-selected .genre-card-select>img{box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 42%,transparent)}

/* v1.2.36 unified circular header controls */
.theme-toggle,.header-options{
    display:grid;
    width:38px;
    height:38px;
    min-width:38px;
    flex:0 0 38px;
    margin:0;
    padding:0;
    place-items:center;
    border-radius:50%;
    box-shadow:none
}
.theme-toggle-track{display:grid;width:100%;height:100%;place-items:center}
.theme-toggle-knob{display:none}
.theme-toggle-sun,.theme-toggle-moon{position:static;inset:auto;display:grid;place-items:center;transform:none;line-height:1}
.theme-toggle-sun svg,.theme-toggle-moon svg,.header-options svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle-moon{display:none}
[data-theme=dark] .theme-toggle-sun{display:none}
[data-theme=dark] .theme-toggle-moon{display:grid}
.header-options{background:var(--panel);border:1px solid var(--line);color:var(--ink);cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease}
.header-options:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--ink) 32%,var(--line));background:var(--panel-2)}
.spotify-status>svg{position:absolute;left:50%;top:50%;display:block;margin:0;transform:translate(-50%,-50%)}
@media(max-width:760px){
    .spotify-status,.theme-toggle,.header-options,.nav-toggle{width:36px;height:36px;min-width:36px;flex-basis:36px}
}
@media(max-width:360px){
    .spotify-status,.theme-toggle,.header-options,.nav-toggle{width:32px;height:32px;min-width:32px;flex-basis:32px}
    .theme-toggle-sun svg,.theme-toggle-moon svg,.header-options svg{width:16px;height:16px}
}
/* Collection-aligned desktop header and Frontpage hero. */
@media(min-width:761px){
    .site-header{
        width:min(1480px,calc(100vw - 48px));
        height:88px;
        min-height:88px;
        margin:0 auto;
        padding:0;
        font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
    }
    .brand-logo{height:76px}
    .header-actions{margin-right:16px}
}
.frontpage-hero{position:relative;left:50%;isolation:isolate;width:min(1480px,calc(100vw - 48px));height:auto;min-height:440px;margin:28px 0 56px;overflow:hidden;border:0;border-radius:14px;background:#f1f0e8;box-shadow:var(--shadow);transform:translateX(-50%)}
.frontpage-hero-copy{position:relative;z-index:2;width:min(625px,56%);height:auto;min-height:440px;padding:56px 64px;color:#171715;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.frontpage-hero-copy .eyebrow{margin:0 0 10px;color:#65655e;font-family:inherit;font-size:.73rem;font-weight:800;line-height:1.55;letter-spacing:.14em}.frontpage-hero-copy h1{max-width:500px;margin:0;font-family:inherit;font-size:clamp(3rem,5vw,5rem);font-weight:850;line-height:.84;letter-spacing:-.07em}
.frontpage-hero-copy>p:not(.eyebrow){max-width:500px;margin:28px 0 0;padding:0;color:#454540;font-size:1.05rem;line-height:1.55}.frontpage-hero-copy .hero-actions{margin-top:22px}.frontpage-hero-copy .button{min-height:44px;padding:10px 18px}.frontpage-hero-copy .button.ghost{background:rgb(255 255 255/.72);border-color:#77776f;color:#171715}
.frontpage-hero-art{position:absolute;z-index:1;inset:0 0 0 auto;width:min(720px,100%);overflow:hidden;background:#080907}
.frontpage-hero-art:before{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(90deg,#f1f0e8 0,rgba(241,240,232,.88) 7%,rgba(241,240,232,.25) 21%,transparent 39%);pointer-events:none}
.frontpage-hero-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:66% 60%;filter:saturate(.96) contrast(1.04);transform:scale(1.015)}
.frontpage-rows{display:grid;gap:0}.frontpage-row{padding:58px 0 66px;border-top:1px solid var(--line)}.frontpage-row-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.frontpage-row-heading.is-link-only{justify-content:flex-end}.frontpage-row-heading h2{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:clamp(3rem,5vw,5rem);font-weight:850;line-height:.84;letter-spacing:-.07em}
.frontpage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:42px 20px}.frontpage-card{min-width:0}.frontpage-card-art{position:relative;display:block;overflow:hidden;aspect-ratio:1;border-radius:11px;background:var(--panel-2);text-decoration:none}.frontpage-card-art img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.frontpage-card:hover .frontpage-card-art img{transform:scale(1.025)}.frontpage-card-type{position:absolute;left:10px;top:10px;padding:5px 9px;border-radius:999px;background:rgb(15 15 13/.76);color:#fff;font-size:.67rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em;backdrop-filter:blur(10px)}
.frontpage-card-body{padding-top:14px}.frontpage-card-kicker{margin:0;color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em}.frontpage-card h3{margin:7px 0 2px;font:800 1.14rem/1.16 "Manrope",sans-serif;letter-spacing:-.025em}.frontpage-card h3 a{text-decoration:none}.frontpage-card-subtitle{margin:0;color:var(--muted);font-size:.9rem}.frontpage-card-tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.frontpage-card-tags span{padding:4px 8px;border-radius:999px;background:var(--panel-2);font-size:.7rem}.frontpage-card-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:14px}.frontpage-card-actions .text-link,.frontpage-card-actions .text-button{padding:0;font-size:.82rem;text-decoration:underline;text-underline-offset:3px}.frontpage-row-empty{display:grid;place-items:center;min-height:170px;border:1px dashed var(--line);border-radius:16px;color:var(--muted)}
.stored-playlist-manager{padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--bg-soft)}.stored-playlist-toolbar{display:flex;align-items:center;gap:8px;margin-bottom:10px}.stored-playlist-search{flex:1}.stored-playlist-search input{min-height:38px;padding:8px 12px;border-radius:999px}.stored-playlist-scroll{max-height:320px;overflow:auto;padding-right:4px;overscroll-behavior:contain}.stored-playlist-group+ .stored-playlist-group{margin-top:14px}.stored-playlist-group h4{position:sticky;z-index:1;top:0;display:flex;justify-content:space-between;margin:0;padding:7px 8px;background:var(--bg-soft);color:var(--muted);font-size:.7rem;text-transform:uppercase;letter-spacing:.1em}.stored-playlist-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px;border-top:1px solid var(--line)}.stored-playlist-row.is-deleted{opacity:.82}.stored-playlist-copy{min-width:0}.stored-playlist-copy strong,.stored-playlist-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stored-playlist-copy strong{font-size:.84rem}.stored-playlist-copy small{color:var(--muted);font-size:.7rem}.stored-playlist-actions{display:flex;gap:5px}.danger-outline{border-color:color-mix(in srgb,var(--danger) 60%,var(--line));color:var(--danger)}.stored-playlist-no-match{padding:24px;text-align:center;color:var(--muted)}
.frontpage-custom-fields{display:grid;gap:14px}.frontpage-cover-preview{width:120px;overflow:hidden;aspect-ratio:1;border:1px solid var(--line);border-radius:12px}.frontpage-cover-preview img{width:100%;height:100%;object-fit:cover}.frontpage-advanced{padding:14px;border:1px solid var(--line);border-radius:13px}.frontpage-advanced summary{cursor:pointer;font-weight:800}.frontpage-advanced[open] summary{margin-bottom:14px}.frontpage-advanced>*+*{margin-top:12px}.frontpage-build-progress{margin-top:10px}.structure-card-cover{width:44px;height:44px;border-radius:8px;object-fit:cover;background:var(--panel-2)}.structure-card-cover.is-empty{display:grid;place-items:center}.structure-swiper{display:grid;grid-template-columns:44px minmax(0,1fr) auto}.structure-heading>div:first-child small{color:var(--muted)}
@media(max-width:1100px){.frontpage-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.frontpage-hero-copy{width:64%}.frontpage-hero-art{left:auto;width:min(720px,100%)}}
@media(max-width:760px){.frontpage-hero{width:min(1480px,calc(100vw - 28px));height:auto;min-height:420px;margin-top:14px}.frontpage-hero-copy{width:88%;min-height:420px;padding:34px 24px}.frontpage-hero-copy h1{font-size:3rem}.frontpage-hero-copy>p:not(.eyebrow){max-width:330px;padding-right:18px}.frontpage-hero-art{left:0;width:100%;opacity:.42}.frontpage-hero-art:before{background:linear-gradient(90deg,#f1f0e8 0,rgba(241,240,232,.93) 25%,rgba(241,240,232,.55) 60%,transparent 100%)}.frontpage-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 12px}.frontpage-row-heading{align-items:flex-start;flex-direction:column}.stored-playlist-toolbar{align-items:stretch;flex-direction:column}.stored-playlist-row{grid-template-columns:1fr}.stored-playlist-actions{justify-content:flex-start}.structure-swiper{grid-template-columns:44px 1fr}.structure-swiper .structure-actions{grid-column:1/-1}}
@media(max-width:430px){.frontpage-grid{grid-template-columns:1fr}.frontpage-hero-copy{width:100%;padding:30px 20px}.frontpage-hero-copy h1{font-size:2.85rem}.frontpage-hero-art{left:0;width:100%;opacity:.25}.frontpage-card-art{aspect-ratio:1}.frontpage-card h3{font-size:1.2rem}}
.stored-playlist-row[hidden],
.stored-playlist-group[hidden],
.frontpage-custom-fields[hidden],
[data-resource-card][hidden],
[data-local-mode][hidden],
[data-spotify-mode][hidden],
.frontpage-cover-preview[hidden] {
  display: none !important;
}

/* Footer matching the Collection home link and responsive layout. */
.site-footer{display:flex;justify-content:space-between;gap:20px;width:min(1480px,calc(100vw - 48px));margin:90px auto 0;padding:30px 0 40px;border-top:1px solid var(--line);color:var(--muted);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:.8rem;line-height:1.55}
/* Reduce the gap from the final homepage swiper row to the footer by 80%. */
html[data-page=home] .frontpage-row:last-child{padding-bottom:13.2px}
html[data-page=home] .site-main{padding-bottom:20px}
html[data-page=home] .site-footer{margin-top:18px}
.site-footer a{text-decoration-color:color-mix(in srgb,currentColor 40%,transparent);text-underline-offset:.22em}
.site-footer a.footer-home{display:inline-flex;align-items:center;flex-wrap:nowrap;white-space:nowrap;gap:10px;margin:0;padding:10px 18px 10px 12px;border:1px solid var(--line);border-radius:999px;background:#1c1c19;color:#f4f3ed;font-size:.9rem;font-weight:750;text-decoration:none;box-shadow:0 4px 14px rgba(0,0,0,.06);transition:background .18s ease,border-color .18s ease}
.footer-home-logo{display:block;flex:0 0 112px;width:112px;height:34px;overflow:hidden}
.footer-home-logo img{display:block;width:175px;height:auto;max-width:none}
.footer-home-arrow{flex-shrink:0}
.site-footer a.footer-home:hover,.site-footer a.footer-home:focus-visible{background:#282824;border-color:var(--accent);color:#f4f3ed}
@media(max-width:760px){
    .site-footer{display:block;width:min(100% - 28px,1480px);text-align:center}
    .site-footer a{display:inline-block;margin-top:10px}
    .site-footer>a:last-child{display:block;width:fit-content}
    .site-footer>a.footer-admin{display:none}
    html[data-page=custom] .site-main{bottom:114px;height:calc(100dvh - 182px)}
    html[data-page=custom] .site-footer{position:fixed;bottom:0;left:14px;right:14px;width:auto;margin:0;padding:12px 0;background:var(--bg);z-index:10}
}

.prompt-modal{width:min(520px,calc(100% - 28px))}
.prompt-card{position:relative;overflow:hidden;padding:34px;background:radial-gradient(circle at 100% 0,rgb(200 255 61/.12),transparent 15rem),linear-gradient(145deg,#171c14,#10130f);border-color:rgb(200 255 61/.2)}
.prompt-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,var(--accent),var(--accent-2));opacity:.9}
.prompt-icon{display:grid;width:44px;height:44px;margin-bottom:18px;place-items:center;border:1px solid rgb(200 255 61/.24);border-radius:14px;background:rgb(200 255 61/.09);color:var(--accent)}
.prompt-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.prompt-card .eyebrow{margin-bottom:8px}.prompt-card h2{margin:0;font:800 clamp(1.8rem,6vw,2.7rem)/1 "Manrope",sans-serif;letter-spacing:-.05em}
.prompt-message{margin:14px 0 22px;color:var(--muted)}
.prompt-field{display:grid;gap:8px;color:#d8ddd3;font-size:.84rem;font-weight:750}
.prompt-field input{min-height:52px;border-color:#424c3a;border-radius:14px;background:#090c08;font-size:1rem;transition:border-color .18s ease,box-shadow .18s ease}
.prompt-field input:focus{border-color:var(--accent);box-shadow:0 0 0 4px rgb(200 255 61/.1)}
.prompt-card .dialog-actions{margin-top:26px}
[data-theme=light] .prompt-card{background:radial-gradient(circle at 100% 0,rgb(71 111 77/.1),transparent 15rem),linear-gradient(145deg,#fff,#f5f4ee);border-color:#c8d7bd}
[data-theme=light] .prompt-icon{border-color:#b8cda9;background:#edf4e7;color:#426138}
[data-theme=light] .prompt-field{color:#34352f}[data-theme=light] .prompt-field input{background:#fff;border-color:#cac9c0;color:#171715}
@media(max-width:520px){.prompt-card{padding:28px 20px}.prompt-card .dialog-actions{display:grid;grid-template-columns:1fr 1fr}.prompt-card .button{min-width:0;padding-inline:12px}}
/* Member registration */
.account-grid { align-items: start; }
.account-notice { padding: 16px 20px; border: 1px solid #6a812e; border-radius: 14px; background: #c8ff3d12; color: inherit; line-height: 1.6; }
.account-notice[hidden] { display: none; }
.signup-divider { display: flex; align-items: center; gap: 16px; color: var(--muted, #adb69e); font-size: 12px; }
.signup-divider::before, .signup-divider::after { content: ''; height: 1px; flex: 1; background: #6a745744; }
.account-resend { margin-top: 24px; max-width: 560px; }
.account-resend summary { cursor: pointer; padding: 12px 0; }
.account-resend form { display: grid; gap: 14px; margin-top: 12px; }
