
:root{--bg:#090c17;--panel:#0d1120;--line:rgba(198,212,255,.085);--text:#f5f6ff;--muted:#979bb3;--violet:#8568fa;--mint:#59e7ce;--pink:#ff6dac;--blur:blur(24px);--side:245px;--right:300px;--player:94px;color-scheme:dark;font-family:Manrope,system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;color:var(--text);background:var(--bg);min-height:100dvh;font-size:13px}button,input,select{font:inherit}button{color:inherit;cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--mint);outline-offset:3px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}input,select{color:var(--text)}.svg-defs{position:absolute;opacity:0;pointer-events:none;width:0;height:0}.ambient{position:fixed;border-radius:50%;filter:blur(90px);pointer-events:none;z-index:0;opacity:.28}.ambient-1{width:460px;height:460px;top:-270px;left:37%;background:#593ab5}.ambient-2{width:430px;height:430px;bottom:-250px;left:5%;background:#015d6d}.app-shell{display:grid;grid-template-columns:var(--side) minmax(0,1fr) var(--right);min-height:calc(100dvh - var(--player));position:relative;z-index:1}.sidebar{background:rgba(12,15,29,.93);border-right:1px solid var(--line);padding:32px 16px;display:flex;flex-direction:column;gap:3px}.brand{display:flex;align-items:center;gap:10px;margin:6px 7px 53px}.brand-mark{height:42px;width:45px;display:grid;place-items:center;position:relative;border-radius:13px;background:linear-gradient(145deg,#a4a1ff,#5942c7 64%,#18213c);box-shadow:0 8px 29px #6b58f54d;font-weight:900;letter-spacing:-3px;font-size:18px}.brand-mark:before{content:"";position:absolute;inset:3px;border:1px solid #ffffff60;border-radius:10px}.brand-mark span{position:relative;padding-right:2px}.brand b{display:block;font-size:14px;letter-spacing:.07em}.brand b em{font-style:normal;color:#a898ff}.brand small{display:block;font-size:8px;color:#7e809e;letter-spacing:.29em;margin-top:4px}.nav-head{font-size:10px;font-weight:800;color:#646985;letter-spacing:.19em;padding-left:19px;margin-bottom:15px}.nav-head-second{margin-top:32px}.sidebar nav{display:grid;gap:6px}.nav-link{width:100%;display:flex;align-items:center;gap:14px;padding:13px 16px;border:1px solid transparent;background:none;border-radius:12px;color:#a0a4bd;font-size:12px;font-weight:700;text-align:left}.nav-link svg{width:19px;height:19px}.nav-link:hover{background:#ffffff0b;color:white}.nav-link.active{background:linear-gradient(105deg,rgba(116,96,244,.22),rgba(116,96,244,.07));border-color:#8069df34;color:#dfd7ff;box-shadow:inset 3px 0 0 #8568fa}.nav-count{margin-left:auto;font-size:10px;color:#8f91b6}.sidebar-foot{margin:auto 10px 6px;display:flex;gap:9px;align-items:center;color:#767e99;line-height:1.65;font-size:10px}.system-dot{width:7px;height:7px;border-radius:50%;background:var(--mint);box-shadow:0 0 9px #59e7ce96;flex-shrink:0}.content-wrap{min-width:0;background:linear-gradient(165deg,rgba(32,30,59,.26),transparent 48%)}.topbar{height:89px;padding:0 42px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.topbar-left,.top-actions{display:flex;align-items:center;gap:16px;min-width:0}.crumb{font-size:12px;color:#646d87;white-space:nowrap}.crumb strong{color:#c8cbe2;font-weight:600}.search-shell{height:38px;width:235px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;padding:0 12px;background:#ffffff07}.search-shell svg{width:15px;height:15px;color:#78809d}.search-shell input{background:none;border:0;outline:none;width:100%;min-width:0;font-size:11px}.search-shell input::placeholder{color:#737891}.icon-button{width:34px;height:34px;display:inline-grid;place-items:center;background:transparent;border:0;border-radius:10px;color:#a5a9c0;position:relative}.icon-button:hover,.icon-button.on{background:#ffffff13;color:#d5c9ff}.icon-button.on svg{fill:#7c63e5}.lang-chip{background:#24253c;border:1px solid #4e4c7b;color:#d3c9ff;font-weight:800;font-size:10px;border-radius:9px;min-width:33px;height:32px}.main-content{padding:39px 42px 35px;max-width:1400px;margin:0 auto}.eyebrow{display:flex;align-items:center;gap:9px;letter-spacing:.27em;font-size:9px;color:#9c8ee1;font-weight:800;margin:0 0 16px}.eyebrow-line{display:inline-block;width:21px;height:2px;background:var(--violet)}.hero{min-height:346px;position:relative;border:1px solid rgba(155,140,245,.24);border-radius:22px;overflow:hidden;display:flex;align-items:center;background:radial-gradient(ellipse at 91% 59%,#5143a26b,transparent 48%),radial-gradient(ellipse at 60% 90%,#1f446867,transparent 60%),linear-gradient(109deg,#17162e 2%,#1a1b39 55%,#25244d);box-shadow:0 22px 40px #00000028;padding:38px 42px}.hero:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,#ffffff07 0 1px,transparent 1px 65px);mask-image:linear-gradient(90deg,transparent 25%,black)}.hero-copy{position:relative;z-index:2;max-width:480px}.hero-pill{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:.17em;font-weight:800;color:#cabaff;margin-bottom:16px}.live-dot{width:7px;height:7px;background:var(--mint);border-radius:50%;box-shadow:0 0 9px var(--mint)}h1{font-size:clamp(31px,3.05vw,52px);letter-spacing:-.06em;line-height:1.15;margin:0 0 14px;font-weight:800}h1 span{background:linear-gradient(115deg,#cdb8ff 10%,#9c8dff 52%,#66e8e0 115%);-webkit-background-clip:text;background-clip:text;color:transparent}.hero p{color:#b0b0cc;line-height:1.9;font-size:11px;max-width:405px;margin:0 0 21px}.hero-buttons{display:flex;gap:10px;flex-wrap:wrap}.primary-btn,.outline-btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;border-radius:10px;border:1px solid transparent;padding:12px 16px;font-size:11px;font-weight:800;min-height:41px}.primary-btn{background:linear-gradient(115deg,#8a70fa,#6c56e1);box-shadow:0 9px 19px #5e4cd941;color:#fff}.primary-btn:hover{filter:brightness(1.12)}.outline-btn{border-color:#8177bd7f;color:#e3dcff;background:#ffffff09}.outline-btn:hover{background:#ffffff19}.primary-btn svg,.outline-btn svg{width:16px;height:16px}.hero-visual{position:absolute;inset:0 0 0 51%;display:grid;place-items:center;overflow:hidden}.hero-disc{height:230px;width:230px;border-radius:50%;background:repeating-radial-gradient(circle,#171b34 0 2px,#292644 3px 4px,#161729 5px 8px);box-shadow:0 0 0 7px #6764ac18,0 0 80px #8774ff70,17px 28px 27px #06081288;transform:perspective(450px) rotateY(-21deg) rotateZ(11deg);display:grid;place-items:center;animation:spinDisc 30s linear infinite}.disc-inner{height:82px;width:82px;border-radius:50%;background:conic-gradient(#9273f8,#5ce5cb,#6a59cc,#c08af5,#9273f8);color:white;display:flex;align-items:center;justify-content:center;flex-direction:column;letter-spacing:-2px;font-size:26px;font-weight:900;box-shadow:0 0 9px #0b0a1a inset}.disc-inner span{font-size:7px;letter-spacing:.2em}.orbit{position:absolute;border:1px solid #aaa0ff37;border-radius:50%;transform:rotate(-22deg) scaleY(.55)}.orbit1{width:480px;height:390px}.orbit2{width:615px;height:510px;opacity:.44}.floating-spec{position:absolute;z-index:1;color:#e6e0ff;background:#17172cba;border:1px solid #aaa6ff4d;border-radius:9px;padding:9px 14px;font-weight:900;letter-spacing:.1em;backdrop-filter:blur(8px)}.floating-spec span{font-size:8px;color:#aaa8d1}.spec1{right:35px;top:34px}.spec2{left:15px;bottom:33px}@keyframes spinDisc{to{transform:perspective(450px) rotateY(-21deg) rotateZ(371deg)}}.workspace-section{margin-top:41px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:23px}.section-heading .kicker{font-size:9px;letter-spacing:.22em;color:#797d9c;font-weight:800}.section-heading h2{font-size:22px;letter-spacing:-.04em;margin:5px 0 0;font-weight:800}.section-tools{display:flex;gap:8px}.subtle-btn{border:1px solid #ffffff12;background:#171a2b;border-radius:9px;padding:10px 12px;font-size:10px;color:#bbbcd2;display:flex;align-items:center;gap:8px}.subtle-btn:hover{border-color:#8a71dd}.subtle-btn svg{width:15px;height:15px}.filter-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 20px}.filter-list{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.filter{border:1px solid #ffffff0f;border-radius:8px;background:#161b29;color:#9297b0;padding:9px 16px;font-size:11px;font-weight:700}.filter.active{color:white;background:#3b335f;border-color:#6650ad}.library-total{color:#757993;font-size:10px;white-space:nowrap}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(158px,1fr));gap:16px}.media-card{min-width:0;cursor:pointer;position:relative}.media-art{width:100%;height:151px;border-radius:13px;position:relative;border:1px solid #ffffff1a;display:flex;justify-content:center;align-items:center;overflow:hidden;background:radial-gradient(circle at 67% 20%,#a4a3e99a,transparent 31%),linear-gradient(145deg,#34315d,#141b2e 65%,#11131c)}.media-card:nth-child(4n+2) .media-art{background:radial-gradient(circle at 25% 45%,#0fe7b65e,transparent 42%),linear-gradient(135deg,#184552,#131a2f)}.media-card:nth-child(4n+3) .media-art{background:radial-gradient(circle at 65% 45%,#d663a858,transparent 42%),linear-gradient(135deg,#542950,#1a1936)}.media-card:nth-child(4n+4) .media-art{background:radial-gradient(circle at 65% 35%,#e3aa5f75,transparent 40%),linear-gradient(135deg,#533441,#181a31)}.media-art:before{content:"";position:absolute;width:122px;height:122px;border:1px solid #ffffff13;border-radius:50%;box-shadow:0 0 0 16px #ffffff05,0 0 0 35px #ffffff04}.media-symbol{font-size:41px;font-weight:900;position:relative;opacity:.94;filter:drop-shadow(0 3px 13px #10112588);color:#f1ecff}.media-art svg{width:38px;height:38px;position:relative;stroke-width:1.3}.media-type{position:absolute;top:9px;left:10px;background:#090c1e9e;color:#d1d2e8;border:1px solid #ffffff22;border-radius:5px;padding:5px 8px;font-size:8px;font-weight:800;letter-spacing:.1em}.media-play{position:absolute;bottom:11px;right:10px;width:38px;height:38px;background:#e5ddff;border-radius:50%;color:#463880;display:grid;place-items:center;opacity:0;transform:translateY(5px);transition:.2s}.media-play svg{height:21px;width:21px}.media-card:hover .media-play,.media-card:focus-within .media-play{opacity:1;transform:none}.media-card h3{font-size:11px;font-weight:800;line-height:1.55;margin:10px 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.media-card p{color:#787e97;font-size:10px;margin:0}.media-fav{position:absolute;top:7px;right:7px;background:#080b17a6;border:0;width:27px;height:27px;border-radius:8px;display:grid;place-items:center;z-index:1}.media-fav svg{width:15px;height:15px;color:#a7a3cb}.media-fav.on svg{color:#ff6ca8;fill:#ff6ca8}.drop-help{margin:20px 0;border:1px dashed #59537d;color:#757d9d;border-radius:12px;display:flex;align-items:center;gap:13px;padding:14px 19px}.drop-help>svg{width:24px;height:24px}.drop-help strong,.drop-help span{display:block}.drop-help strong{font-size:11px;color:#9f9cb9;margin-bottom:5px}.drop-help span{font-size:10px}.drop-help.drag{border-color:var(--mint);background:#59e7ce12}.main-footer{margin:48px 0 0;color:#4f536b;text-align:center;font-size:9px;letter-spacing:.2em}.main-footer span{padding:0 10px;color:#8e83c9}.now-panel{background:rgba(14,17,33,.96);border-left:1px solid var(--line);padding:27px 21px 20px;min-width:0;display:flex;flex-direction:column}.panel-top{display:flex;justify-content:space-between;align-items:center;color:#a7abc6;font-size:10px;font-weight:900;letter-spacing:.14em;margin-bottom:23px}.dot-menu svg{width:18px;height:18px}.close-panel{display:none}.preview-art{height:230px;width:100%;border:1px solid #726eac4f;border-radius:14px;position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 40% 12%,#b388fa8c,transparent 45%),radial-gradient(ellipse at 82% 92%,#49d9da80,transparent 55%),linear-gradient(140deg,#252448,#12162b)}.preview-art:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,#ffffff08 0 1px,transparent 1px 23px)}.preview-disc{width:152px;height:152px;display:grid;place-items:center;border-radius:50%;background:repeating-radial-gradient(circle,#101526 0 2px,#292e49 3px 4px,#101526 5px 7px);box-shadow:15px 16px 20px #03041474,0 0 0 6px #b3b6e21b;animation:rotate 17s linear infinite}.preview-disc-center{height:55px;width:55px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#5ae2d2,#806dfe,#e196bd,#5ae2d2);font-size:18px;font-weight:900}.preview-art.playing .preview-disc{animation-play-state:running}.preview-art:not(.playing) .preview-disc{animation-play-state:paused}@keyframes rotate{to{transform:rotate(360deg)}}.preview-wave{position:absolute;bottom:13px;display:flex;align-items:end;gap:4px;height:22px;z-index:1}.preview-wave i{display:block;width:3px;height:calc(8px + (var(--h,1) * 10px));background:#9bfff1;border-radius:2px;animation:wave .8s ease-in-out infinite alternate;animation-delay:var(--delay,0s)}.preview-art:not(.playing) .preview-wave i{animation-play-state:paused}@keyframes wave{to{height:4px;opacity:.4}}.preview-wave i:nth-child(3n){--h:2;--delay:-.4s}.preview-wave i:nth-child(4n){--h:.4;--delay:-.2s}.now-meta{text-align:center;padding-top:20px}.now-tag{font-size:9px;color:#8375c6;letter-spacing:.18em;font-weight:900}.now-meta h2{font-size:17px;letter-spacing:-.04em;line-height:1.4;margin:9px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.now-meta p{color:#7d829f;font-size:10px;margin:0;line-height:1.5}.now-mini-actions{display:flex;justify-content:center;gap:17px;margin-top:18px}.now-mini-actions .icon-button svg{width:17px;height:17px}.side-divider{height:1px;background:var(--line);margin:23px 0}.queue-head{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:900;letter-spacing:.14em;color:#aab0cc;margin-bottom:13px}.queue-list{display:grid;gap:7px;min-height:55px;max-height:260px;overflow:auto;align-content:start}.queue-item{display:flex;align-items:center;gap:11px;padding:7px 4px;border-radius:9px;min-width:0;cursor:pointer}.queue-item:hover{background:#ffffff0b}.queue-cover{width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;border:1px solid #ffffff20;border-radius:9px;background:linear-gradient(130deg,#4a437c,#1a2945);font-size:16px}.queue-copy{min-width:0;flex:1}.queue-copy strong{font-size:10px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-copy span{display:block;font-size:9px;color:#777e9a;margin-top:4px}.queue-item.current strong{color:#bcaeff}.side-bottom{margin-top:auto;border:1px solid #ffffff11;background:#171b2c78;padding:14px;border-radius:12px}.eq-title{display:flex;align-items:center;gap:7px;font-size:9px;letter-spacing:.13em;font-weight:900;color:#aeb4cf}.eq-title svg{width:15px;height:15px}.eq-live{margin-left:auto;color:#8b83ae}.eq-live.on{color:var(--mint)}#equalizerCanvas{width:100%;height:63px;display:block;margin-top:13px}.eq-open{color:#a89bff;font-size:10px;font-weight:800;background:none;border:0;padding:5px 0}.player-bar{position:fixed;z-index:12;bottom:0;left:0;right:0;height:var(--player);display:grid;grid-template-columns:minmax(180px,1fr) minmax(300px,1.4fr) minmax(240px,1fr);gap:18px;align-items:center;padding:12px 27px;border-top:1px solid #393154;background:#0f1223f5;backdrop-filter:blur(24px);box-shadow:0 -15px 45px #0005}.player-left,.player-right{display:flex;align-items:center;gap:12px;min-width:0}.player-right{justify-content:flex-end;gap:7px}.mini-cover{height:49px;width:49px;border-radius:10px;background:linear-gradient(140deg,#8058d8,#34b7bb);display:grid;place-items:center;flex-shrink:0}.mini-cover svg{height:23px;width:23px}.mini-meta{min-width:0}.mini-meta strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-meta span{display:block;font-size:10px;color:#8188a3;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.panel-toggle{display:none}.player-center{min-width:0}.transport{display:flex;align-items:center;justify-content:center;gap:18px;margin:-5px 0 6px}.transport .icon-button{width:28px;height:28px}.transport .icon-button svg{width:19px;height:19px}.play-main{background:#eef0ff;color:#3f306f;border:0;border-radius:50%;height:38px;width:38px;display:grid;place-items:center;box-shadow:0 2px 10px #7f74ff52}.play-main:hover{transform:scale(1.07)}.play-main svg{width:22px;height:22px}.tiny-text{font-size:10px;font-weight:800}.timeline{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;gap:8px;align-items:center}.timeline span{color:#8e94ad;font-size:10px;white-space:nowrap;text-align:center;font-variant-numeric:tabular-nums}.timeline input{width:100%}input[type=range]{accent-color:#a393ff;cursor:pointer;height:5px}.rate-btn{color:#dbd2ff;background:none;border:0;font-size:11px;font-weight:900;min-width:41px}.volume-bar{width:65px}.transport small{position:absolute;font-size:8px;right:3px;bottom:-2px}.video-modal{position:fixed;inset:0;z-index:11;background:rgba(3,5,13,.98);display:grid;place-items:center;padding:25px 25px calc(var(--player) + 5px)}.video-modal[hidden],.modal[hidden],.modal-shade[hidden],.video-loading[hidden]{display:none!important}.video-stage{position:relative;width:min(100%,1200px);max-height:100%;aspect-ratio:16/9;border-radius:14px;background:black;overflow:hidden;display:grid;place-items:center;border:1px solid #565078}.video-stage video{width:100%;height:100%;object-fit:contain}.video-stage audio{display:none}.video-stage video::cue{color:#ffe44e;background:rgba(0,0,0,.62);font-weight:700;text-shadow:0 2px 5px #000;font-size:var(--subtitle-size,20px)}.stage-head{position:absolute;top:0;left:0;right:0;padding:20px;z-index:2;display:flex;align-items:start;justify-content:space-between;background:linear-gradient(#000b,transparent)}.stage-head strong{display:block;font-size:17px}.stage-head span{font-size:10px;color:#aeb3ce}.stage-head .icon-button{color:white;background:#ffffff16}.stage-hover-tools{display:flex;gap:10px;position:absolute;bottom:12px;right:18px;z-index:2}.pill-control{background:#000a;border:1px solid #ffffff36;padding:8px 12px;border-radius:8px;color:white}.video-loading{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}.video-loading span{height:32px;width:32px;border-radius:50%;border:3px solid #ffffff4d;border-top-color:var(--mint);animation:rotate .7s linear infinite}.modal-shade{position:fixed;inset:0;background:#02040bd9;backdrop-filter:blur(9px);z-index:20}.modal{position:fixed;z-index:21;left:50%;top:50%;transform:translate(-50%,-50%);width:min(95vw,470px);max-height:calc(100dvh - 30px);overflow:auto;border-radius:18px;background:#191c31;border:1px solid #7775a84d;padding:24px;box-shadow:0 28px 80px #000b}.modal.wide-modal{width:min(95vw,780px)}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:10px}.modal-header h2{font-size:19px;margin:0}.modal p{line-height:1.8;color:#a5abc4;font-size:12px;margin:12px 0 22px}.modal form{display:grid;gap:10px}.modal form label,.settings-block label{font-size:9px;letter-spacing:.08em;color:#adb1cb;font-weight:900}.modal form input,.modal select{width:100%;padding:12px 11px;border-radius:10px;border:1px solid #60617e;background:#0e1324;outline:none;margin-bottom:9px;font-size:12px}.modal form .primary-btn{margin-top:4px}.full-button{width:100%;margin-bottom:18px}.form-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #ffffff12;font-size:12px;color:#c2c6dc}.form-line>div{display:flex;align-items:center;gap:12px}.form-line strong{min-width:47px;text-align:center}.stepper{border:1px solid #ffffff23;background:#393752;border-radius:8px;width:32px;height:32px;font-size:18px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:27px;margin-top:12px}.settings-block h3{font-size:13px;color:#cbbfff;margin-bottom:18px}.settings-block label{display:block;margin:13px 0 7px}.settings-block .form-line{margin-bottom:7px}.settings-block .form-line input{width:18px;height:18px;accent-color:#8d7af4}.settings-block small{display:block;color:#777f9d;line-height:1.8}.eq-bands{display:flex;justify-content:space-between;gap:2px;margin:20px 0}.eq-band{display:flex;align-items:center;flex-direction:column;gap:8px;width:25px}.eq-band input{writing-mode:vertical-lr;direction:rtl;height:100px;width:21px;accent-color:#a392f7}.eq-band small{font-size:8px;letter-spacing:-.04em}.settings-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.key-list{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding-top:20px}.key-list span{color:#a391ff;font-weight:900}.key-list strong{font-size:11px;font-weight:500;color:#bec5d9}.toast{position:fixed;bottom:calc(var(--player) + 15px);left:50%;transform:translate(-50%,20px);z-index:25;min-width:200px;max-width:92vw;padding:14px 20px;text-align:center;border:1px solid #827cbd75;background:#22223f;color:#f4f1ff;border-radius:11px;box-shadow:0 15px 36px #0007;font-size:12px;opacity:0;pointer-events:none;transition:.3s}.toast.show{opacity:1;transform:translate(-50%,0)}.mobile-menu{display:none}
html[dir=rtl] body{font-family:Vazirmatn,Manrope,system-ui,sans-serif}html[dir=rtl] .sidebar{border-left:1px solid var(--line);border-right:0}html[dir=rtl] .nav-head{padding-left:0;padding-right:19px}html[dir=rtl] .nav-link{text-align:right}html[dir=rtl] .nav-link.active{box-shadow:inset -3px 0 0 #8568fa}html[dir=rtl] .nav-count{margin-left:0;margin-right:auto}html[dir=rtl] .now-panel{border-left:0;border-right:1px solid var(--line)}html[dir=rtl] .eq-live{margin-left:0;margin-right:auto}html[dir=rtl] .mini-meta{text-align:right}html[dir=rtl] .media-fav{right:auto;left:7px}html[dir=rtl] .media-type{left:auto;right:10px}html[dir=rtl] .media-play{right:auto;left:10px}html[dir=rtl] .stage-hover-tools{right:auto;left:18px}html[dir=rtl] .hero-copy{text-align:right}html[dir=rtl] .spec1{right:auto;left:35px}html[dir=rtl] .spec2{left:auto;right:15px}html[dir=rtl] .brand{direction:ltr;justify-content:flex-end}
@media(max-width:1300px){:root{--side:204px;--right:250px}.main-content{padding:30px 25px}.topbar{padding:0 25px}.hero{padding:30px}.hero-disc{height:180px;width:180px}.now-panel{padding:22px 15px}.preview-art{height:190px}.media-grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:12px}}
@media(max-width:1060px){:root{--side:185px;--right:0px}.now-panel{position:fixed;right:0;top:0;bottom:var(--player);width:min(340px,95vw);z-index:15;transform:translateX(100%);transition:transform .25s;box-shadow:-15px 0 40px #000b}.now-panel.open{transform:translateX(0)}.close-panel,.panel-toggle{display:inline-grid}.dot-menu{display:none}.player-bar{grid-template-columns:1fr 1.5fr 1fr}.preview-art{height:245px}html[dir=rtl] .now-panel{right:auto;left:0;transform:translateX(-100%)}html[dir=rtl] .now-panel.open{transform:translateX(0)}}
@media(max-width:680px){:root{--side:0px;--player:82px}.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;bottom:var(--player);width:255px;transform:translateX(-110%);transition:.25s;z-index:16;box-shadow:15px 0 38px #0009}.sidebar.open{transform:none}.mobile-menu{display:inline-grid}.topbar{height:64px;padding:0 15px}.search-shell{width:135px}.search-shell input{font-size:10px}.topbar-left{gap:9px}.top-actions{gap:7px}.main-content{padding:24px 16px}.eyebrow{font-size:8px}.hero{min-height:315px;padding:27px 22px;align-items:start}.hero-copy{max-width:90%}.hero p{max-width:260px;font-size:10px}.hero h1{font-size:34px}.hero-visual{left:43%;opacity:.48;transform:translate(13%,18%)}.hero-disc{width:160px;height:160px}.floating-spec{display:none}.primary-btn,.outline-btn{padding:10px 12px}.section-heading h2{font-size:20px}.section-tools span{display:none}.subtle-btn{padding:9px}.filter{padding:9px 10px}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.media-art{height:145px}.drop-help{margin-bottom:50px}.now-panel{bottom:var(--player)}.player-bar{padding:8px 13px 10px;gap:6px;grid-template-columns:minmax(0,1fr) 155px;grid-template-rows:1fr 22px;height:var(--player)}.player-left{grid-column:1;grid-row:1;gap:8px}.mini-cover{height:38px;width:38px}.mini-meta strong{font-size:10px}.mini-meta span{font-size:9px}.player-center{grid-column:2;grid-row:1;align-self:center}.transport{gap:9px;margin:0}.transport .icon-button{width:25px}.transport .icon-button svg{width:17px}.play-main{width:33px;height:33px}.timeline{position:absolute;left:12px;right:12px;bottom:3px;grid-template-columns:29px 1fr 29px;gap:5px}.timeline input{height:3px;margin:0}.timeline span{font-size:8px}.player-right{display:none}.only-desktop{display:none!important}.modal{padding:20px}.settings-grid{grid-template-columns:1fr}.hero-buttons{gap:6px}.topbar .icon-button{width:30px}html[dir=rtl] .sidebar{left:auto;right:0;transform:translateX(110%)}html[dir=rtl] .sidebar.open{transform:translateX(0)}}
@media(min-width:681px) and (max-width:1060px){.media-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important}}
.media-delete{position:absolute;bottom:8px;left:8px;border:1px solid #ffffff38;background:#09091aa9;border-radius:7px;height:26px;width:26px;color:#e1d9ff;opacity:0;font-size:20px;line-height:20px}.media-card:hover .media-delete,.media-card:focus-within .media-delete{opacity:1}.empty-grid{grid-column:1/-1;padding:35px 5px;color:#8d90aa;text-align:center;border:1px dashed #ffffff1c;border-radius:12px}@media(hover:none){.media-play,.media-delete{opacity:1;transform:none}.media-delete{width:25px;height:25px}}.media-open{overflow:hidden}

.settings-grid .video-tuning{grid-column:1/-1;border-top:1px solid #ffffff18;padding-top:10px}.video-tuning .full-range{width:100%;margin:10px 0}.video-tuning .settings-actions{margin:4px 0 12px}.bookmark-list{display:grid;gap:6px;margin:20px 0;max-height:240px;overflow:auto}.bookmark-row{display:flex;align-items:center;justify-content:space-between;border:1px solid #ffffff20;border-radius:10px;padding:8px}.bookmark-row button{background:transparent;border:0;padding:7px 13px;color:#d5ceff;font-weight:800}.bookmark-row button:last-child{color:#e39aa7;font-size:20px}.video-stage video{transition:filter .15s ease}


/* ============================================================
   EPT Player Studio V2 – approved luminous glass style
   Decorative effects are progressive; controls remain real HTML.
   ============================================================ */
:root{--bg:#09081d;--panel:#13102e;--line:rgba(189,164,255,.19);--violet:#b16cff;--mint:#5cecff;--pink:#f858e4;--right:316px;--side:246px}
body{background:radial-gradient(ellipse at 46% -18%,#34236e 0,transparent 51%),linear-gradient(170deg,#09091e,#08091c 74%);letter-spacing:.005em}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background:radial-gradient(circle at 11% 26%,#a338d61c,transparent 28%),radial-gradient(circle at 80% 80%,#155bd31b,transparent 32%);z-index:0}
.ambient-1{background:#a135ff;opacity:.36;top:-300px;filter:blur(80px)}
.ambient-2{background:#015aff;opacity:.25}
.ambient-3{width:320px;height:390px;right:-160px;top:12%;background:#ed36c8;opacity:.14}
.sidebar{background:linear-gradient(162deg,rgba(23,14,54,.97),rgba(11,8,33,.97) 48%,rgba(20,10,50,.96));border-right:1px solid #b573fd55;box-shadow:inset -1px 0 0 #321e59,6px 0 26px #0d063f55;position:relative;overflow:hidden}
.sidebar:after{content:"";position:absolute;width:440px;height:440px;border-radius:50%;border:2px solid #b04aff46;box-shadow:0 0 36px #ae40ff7c,inset 0 0 34px #2f73ff7c;bottom:-225px;left:-270px;pointer-events:none;transform:rotate(-30deg)}
.brand{gap:12px;margin-bottom:55px}
.brand-mark{width:54px;height:54px;border-radius:16px;background:transparent;box-shadow:0 0 26px #9138fb8f,0 0 32px #267dff55;overflow:hidden}
.brand-mark:before{display:none}.brand-mark img{width:100%;height:100%;object-fit:contain}
.brand b{font-size:17px;font-weight:900;font-style:italic;text-shadow:0 0 15px #d452ff70}
.brand b em{font-style:normal;color:#ecd8ff}.brand small{color:#c5a8ec;letter-spacing:.26em}
.nav-link.active{background:linear-gradient(100deg,#8f34ec6f,#3b2a8669);border-color:#e4a4ff8c;box-shadow:0 0 17px #9d39fa70,inset 0 0 15px #c77dff3d;color:white}
.nav-link:hover{border-color:#bb6ffb38;background:#ad56ff21;color:white}
.nav-head{color:#a88dbf}
.content-wrap{background:linear-gradient(149deg,#2614462b,transparent 41%)}
.topbar{height:86px;background:linear-gradient(90deg,#22163b32,#10102c66);border-bottom:1px solid #8460e537}
.search-shell{border-color:#a374dc85;border-radius:22px;background:#29184576;box-shadow:inset 0 0 8px #aa42e522,0 0 14px #4f27a82a}
.lang-chip,.install-chip{border:1px solid #b277f6a6;background:linear-gradient(135deg,#30215d,#18162c);box-shadow:0 0 12px #7831ef4b;border-radius:12px;color:#fff;height:36px;padding:0 11px;font-size:11px;font-weight:800}
.install-chip[hidden]{display:none}.install-chip{white-space:nowrap}
.main-content{padding-top:29px}
.eyebrow{color:#b88ce7}
.eyebrow-line{background:#ff69fb;box-shadow:0 0 10px #ff59f9}
.hero{min-height:365px;border:1px solid #aa71ffb3;border-radius:24px;background:radial-gradient(ellipse at 100% 17%,#8b45ec44,transparent 57%),linear-gradient(100deg,#101634 0,#201544 48%,#080b29 100%);box-shadow:0 0 0 2px #2e236c65,0 0 30px #bc48ff4a,0 28px 46px #0007;isolation:isolate;padding:36px 39px}
.hero:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 15% 100%,#9b38fa4a,transparent 44%),linear-gradient(110deg,#0d1230eb,#21113bc4 49%,transparent 75%);z-index:1}
.hero:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(130deg,transparent 1%,#8c3dff1b 25%,transparent 45%),radial-gradient(ellipse at 38% 105%,#e94aff6e,transparent 38%);opacity:.5}
.hero-copy{max-width:485px;z-index:4}
.hero-pill{color:#fff;letter-spacing:.16em;text-shadow:0 0 11px #9a4aff}
.hero h1{font-family:Georgia,serif;font-weight:700;font-size:clamp(32px,3.4vw,51px);letter-spacing:-.05em;text-shadow:0 3px 22px #632b9a8c}
.hero h1 span{background:linear-gradient(110deg,#ffafec,#e488ff,#61f0fc);-webkit-background-clip:text;background-clip:text}
.hero p{font-size:12px;color:#eee5fa;max-width:380px;text-shadow:0 1px 9px #000b}
.hero-buttons{margin-top:18px}
.primary-btn,.outline-btn{border-radius:24px;min-height:44px}
.primary-btn{background:linear-gradient(120deg,#ed4bf7,#7738f2 56%,#1bcaff);border-color:#edb6ff;box-shadow:0 0 18px #d54eff83,0 6px 28px #744cff85,inset 0 1px 6px #ffffff94}
.outline-btn{border-color:#c39cffa0;background:linear-gradient(116deg,#25214cbd,#282253a1);box-shadow:0 0 8px #ad58ef42,inset 0 0 15px #a353ff20}
.hero-visual{inset:0 0 0 45%;background:linear-gradient(90deg,#171033 0%,#150e27a0 23%,#0a0d2670 72%,#110b308c),url('./assets/cosmic-hero.webp') center/cover no-repeat;z-index:0;mask-image:linear-gradient(to right,transparent 0,#000 30%)}
.hero-disc{height:190px;width:190px;border:0;border-radius:34%;background:linear-gradient(140deg,#803ce73a,#1330aa3d);box-shadow:0 0 30px #c04aff90,0 0 86px #56c9ff54;transform:translate(15%,0) rotate(6deg);animation:floatLogo 5s ease-in-out infinite;z-index:2}
.hero-disc img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 14px #c062ff)}
@keyframes floatLogo{0%,100%{transform:translate(15%,0) rotate(6deg)}50%{transform:translate(15%,-10px) rotate(3deg)}}
.orbit{border-color:#ef7aff8c;box-shadow:0 0 21px #b84bff63}.orbit1{width:420px;height:300px}.orbit2{width:540px;height:405px}
.floating-spec{background:#181037bd;border-color:#ffc1fb;box-shadow:0 0 15px #b75cf66e}
.spec1{top:22px;right:22px}.spec2{bottom:20px}
.section-heading h2{font-family:Georgia,serif;font-size:28px;letter-spacing:-.02em}
.section-heading .kicker{color:#be98d3}
.subtle-btn,.filter{border-color:#9670dc59;background:#211b3d8c;box-shadow:inset 0 1px 4px #8064d61c}
.filter.active{background:linear-gradient(120deg,#e64bea,#6038ff 66%,#3acaff);border-color:#ffc0ff;color:#fff;box-shadow:0 0 12px #9c3dfb98}
.media-art{border:1px solid #9157ffc0;background:linear-gradient(0deg,#08072d28,#22204d3d),url('./assets/cosmic-card.webp') center/cover no-repeat!important;box-shadow:0 0 16px #8e2ee63a}
.media-art:before{display:none}.media-symbol{display:none}.media-play{opacity:1;background:#251455bd;color:#fff;border:1px solid #f4d3ff;box-shadow:0 0 12px #f06afd85}
.media-card:hover .media-art{box-shadow:0 0 28px #b63efb99;transform:translateY(-2px)}
.now-panel{background:linear-gradient(170deg,#130d31e3,#080921f6)}
.now-art,.now-cover,.preview-art{background:linear-gradient(0deg,#16093520,#0e0a3026),url('./assets/vinyl-art.webp') center/cover no-repeat!important;border:1px solid #af60efb6;box-shadow:0 0 20px #753ce957}
.now-art:before,.now-cover:before,.preview-art:before{opacity:.12}
.player-bar{border:1px solid #a875ff9c;box-shadow:0 0 23px #a33aff7f,0 0 10px #1cd5ff5e,inset 0 0 24px #742cff34;background:linear-gradient(110deg,#1c1040f2,#111d44f7 48%,#1f1440f3)}
.play-main{box-shadow:0 0 17px #c84dff91;border:2px solid #ffdcff;color:#fff;background:linear-gradient(135deg,#f34dff,#6139ed)}
.mini-cover{position:relative;overflow:hidden;background:linear-gradient(135deg,#5227aa,#1f58d8);border:1px solid #ac94ff;box-shadow:0 0 13px #9251ff87}
.mini-cover svg{display:none}.mini-cover:after{content:"";inset:0;position:absolute;pointer-events:none;border-radius:inherit;background:url('./assets/brand-logo.svg') center/contain no-repeat}
button,.media-card,.media-art,.play-main{transition:background .2s,color .2s,transform .2s,box-shadow .2s}
button:active{transform:scale(.97)}
[hidden]{display:none!important}
@media(max-width:1180px){:root{--side:210px;--right:268px}.hero{min-height:360px;padding:26px 30px}.hero-disc{height:150px;width:150px}.hero-copy{max-width:390px}.hero h1{font-size:36px}.main-content{padding:27px 26px}}
@media(max-width:850px){.hero{min-height:310px}.hero-visual{inset:0 0 0 48%}.hero-disc{width:135px;height:135px}.hero-copy{max-width:350px}.hero p{max-width:305px}}
@media(max-width:600px){
  .topbar{height:67px;padding:0 15px}.top-actions{gap:7px}.search-shell{width:min(33vw,150px);padding:0 8px}.install-chip{font-size:9px;padding:0 8px;max-width:74px;overflow:hidden}
  .main-content{padding:25px 17px 40px}.eyebrow{font-size:8px;letter-spacing:.17em}
  .hero{min-height:356px;border-radius:21px;padding:26px 23px;align-items:flex-start;box-shadow:0 0 20px #b24efa63,0 12px 32px #000b}
  .hero:before{background:linear-gradient(135deg,#11112feb,#261044cc 56%,#120d2d99),radial-gradient(ellipse at 75% 90%,#6c16dc42,transparent 56%)}
  .hero-copy{max-width:100%;width:100%}.hero h1{font-size:clamp(27px,8.5vw,40px);margin:7px 0 12px;line-height:1.12}.hero p{max-width:90%;font-size:11px;line-height:1.65}
  .hero-visual{inset:30% 0 0 35%;mask-image:linear-gradient(to right,transparent,black 34%);opacity:.78}
  .hero-disc{width:105px;height:105px;transform:translate(30%,20%) rotate(5deg);animation:none;opacity:.86}
  .hero-buttons{position:relative;z-index:5;margin-top:12px;gap:9px}
  .primary-btn,.outline-btn{font-size:11px;padding:10px 11px;min-height:42px}
  .floating-spec{padding:6px 7px;font-size:8px}.spec1{top:14px;right:12px}.spec2{bottom:15px;left:5px}
  .workspace-section{margin-top:29px}.section-heading h2{font-size:26px}
  .filter{padding:9px 11px}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.media-art{height:138px}
  .player-bar{border-radius:20px 20px 0 0;box-shadow:0 -6px 25px #b336ff61,0 -2px 10px #198cf566}
}
@media (prefers-reduced-motion:reduce){.hero-disc{animation:none!important}*,*:before,*:after{scroll-behavior:auto!important;transition-duration:0ms!important}}
/* V2.1 mobile regression fix: decorative sidebar rule must not override off-canvas positioning. */
@media (max-width:680px){
 .sidebar{position:fixed;left:0;top:0;bottom:var(--player);width:255px;transform:translateX(-110%);z-index:16}
 .sidebar.open{transform:translateX(0)}
 html[dir=rtl] .sidebar{left:auto;right:0;transform:translateX(110%)}
 html[dir=rtl] .sidebar.open{transform:translateX(0)}
}

/* Mobile playback parity: repeat, shuffle and A/B options are accessible in Settings. */
.mobile-play-actions{display:none}.mobile-play-action.on{border-color:#c977ff;background:#7434be55;box-shadow:0 0 12px #bd55ef44}
@media(max-width:680px){.mobile-play-actions{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.mobile-play-action{font-size:11px;padding:9px 6px;flex:1 1 27%;min-width:82px;white-space:nowrap}}


/* === V2.3: user-approved mobile visual system & iOS/Android safe areas === */
:root{
 --ept-safe-top:env(safe-area-inset-top,0px);
 --ept-safe-right:env(safe-area-inset-right,0px);
 --ept-safe-bottom:env(safe-area-inset-bottom,0px);
 --ept-safe-left:env(safe-area-inset-left,0px);
}
.mobile-head-brand{display:none}
@media (max-width:680px){
 html,body{width:100%;max-width:100%;overflow-x:clip}
 body{min-height:100dvh;background:radial-gradient(ellipse at 90% 9%,#41226c 0%,transparent 39%),radial-gradient(ellipse at 13% 65%,#1a266d6c 0%,transparent 42%),#09081c}
 .app-shell{min-height:100dvh;padding-bottom:calc(132px + var(--ept-safe-bottom))}
 .content-wrap{background:transparent}
 .topbar{height:calc(112px + var(--ept-safe-top));min-height:0;padding:calc(12px + var(--ept-safe-top)) calc(16px + var(--ept-safe-right)) 12px calc(16px + var(--ept-safe-left));position:relative;display:flex;justify-content:space-between;align-items:flex-start;gap:7px;background:linear-gradient(180deg,#221247dd,#130c2ecc);border-bottom:1px solid #b676ff4d}
 .topbar-left{height:44px;gap:7px;flex:1;min-width:0}
 .mobile-head-brand{display:flex;align-items:center;gap:5px;white-space:nowrap;min-width:0;direction:ltr}
 .mobile-head-brand img{width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 0 7px #a243ff)}
 .mobile-head-brand span{font-size:16px;letter-spacing:-.045em;font-weight:900;font-style:italic;line-height:1}
 .mobile-head-brand small{display:block;font-size:6px;letter-spacing:.24em;font-style:normal;font-weight:700;margin-top:3px;color:#ddd0ff}
 .crumb{white-space:nowrap;font-size:11px;color:#e7d7ff;min-width:0;overflow:hidden;text-overflow:ellipsis}
 .crumb strong{color:#fff}
 .topbar-left .crumb{font-size:0}
 .topbar-left .crumb strong{font-size:11px}
 .top-actions{height:44px;flex-shrink:0;gap:7px;align-items:center}
 .top-actions .search-shell{position:absolute;top:calc(var(--ept-safe-top) + 62px);left:calc(16px + var(--ept-safe-left));right:calc(16px + var(--ept-safe-right));height:38px;width:auto;max-width:none;border-radius:24px;padding:0 14px;background:#231340ab;border:1px solid #ac7de3a3;box-shadow:inset 0 0 10px #8625ff24}
 .search-shell input{font-size:12px}
 .topbar .icon-button{width:37px;height:37px;color:#e2d7ff}
 .topbar .lang-chip{height:36px;min-width:37px;border-radius:50%;padding:0 6px}
 #installPwaBtn:not([hidden]){height:32px;padding:0 5px;max-width:40px;white-space:nowrap;font-size:0}
 #installPwaBtn:not([hidden])::first-letter{font-size:15px}
 .main-content{padding:27px calc(17px + var(--ept-safe-right)) 38px calc(17px + var(--ept-safe-left));max-width:520px}
 .eyebrow{letter-spacing:.19em;color:#cf9ce9;font-size:9px;margin-bottom:18px}
 .eyebrow-line{width:23px;box-shadow:0 0 11px #ff58f4}
 .hero{min-height:355px;padding:26px 19px 21px;align-items:flex-start;border:1px solid #c485ff;border-radius:24px;background:#161137;box-shadow:0 0 0 1px #6539a858,0 0 24px #a345eb83,0 14px 37px #0009;isolation:isolate}
 .hero:before{z-index:1;background:linear-gradient(103deg,rgba(18,11,48,.98) 0%,rgba(24,12,54,.91) 43%,rgba(14,11,40,.31) 100%),radial-gradient(circle at 84% 16%,#9b3ffc28,transparent 48%)}
 .hero:after{z-index:1;opacity:.5;background:linear-gradient(90deg,transparent 50%,#902ae425),radial-gradient(ellipse at 55% 110%,#ef37e865,transparent 50%)}
 .hero-copy{width:100%;max-width:100%;z-index:4}
 .hero-pill{font-size:9px;letter-spacing:.12em;gap:7px;margin-bottom:17px}
 .hero h1{font-size:clamp(31px,8.8vw,43px);line-height:1.12;margin:0 0 17px;letter-spacing:-.055em}
 .hero p{max-width:min(90%,300px);font-size:11px;line-height:1.55;margin-bottom:12px;color:#f1e8ff}
 .hero-visual{z-index:0;inset:18% -3% 0 30%;opacity:.94;transform:none;mask-image:linear-gradient(90deg,transparent 0%,#000 37%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 37%);background:linear-gradient(90deg,#1a0e3d88,transparent 52%),url('./assets/cosmic-hero.webp') 60% center/cover no-repeat}
 .hero-disc,.hero-visual .orbit,.hero-visual .floating-spec{display:none}
 .hero-buttons{z-index:5;gap:9px;flex-wrap:wrap;margin-top:14px}
 .hero-buttons .primary-btn,.hero-buttons .outline-btn{font-size:11px;min-height:43px;padding:11px 14px;border-radius:25px;white-space:nowrap}
 .workspace-section{margin-top:37px}
 .section-heading{margin-bottom:21px}
 .section-heading h2{font-size:clamp(25px,7.3vw,33px);font-family:Georgia,serif;font-weight:700}
 .section-heading .kicker{font-size:9px;letter-spacing:.19em;color:#cfabdf}
 .section-tools{gap:6px}
 .subtle-btn{border:1px solid #a17bd49c;border-radius:12px;background:#241a448c;box-shadow:0 0 9px #a757fb3a}
 .filter-bar{gap:8px;align-items:center}
 .filter-list{gap:7px;flex-wrap:nowrap;min-width:0}
 .filter{padding:10px 11px;white-space:nowrap;border-radius:10px}
 .library-total{font-size:10px}
 .media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
 .media-art{border:1px solid #ae6cff;box-shadow:0 0 13px #9c32f963;min-height:128px;aspect-ratio:1.3;height:auto;background-size:cover!important}
 /* Thumbnail art already includes a central play glyph; card remains keyboard/click accessible */
 .media-art .media-play{display:none}
 .media-card:hover .media-art{transform:none}
 .media-meta strong{font-size:12px}
 .player-bar{left:calc(10px + var(--ept-safe-left));right:calc(10px + var(--ept-safe-right));bottom:calc(var(--ept-safe-bottom) + 11px);height:104px;padding:12px 14px 17px;grid-template-columns:minmax(0,1fr) 140px;grid-template-rows:57px 18px;gap:3px;border:1px solid #be70ff;border-radius:22px;background:linear-gradient(125deg,#231144f7,#131942fa 65%,#251040f8);box-shadow:0 0 0 1px #5c36b35c,0 0 20px #a83bf888,0 0 12px #259aff55,inset 0 0 16px #5734ac70}
 .player-left{gap:9px}
 .mini-cover{height:45px;width:45px;border-radius:12px}
 .mini-meta strong{font-size:11px}
 .mini-meta span{font-size:10px}
 .player-center{align-self:center}
 .transport{gap:7px;margin:0}
 .transport .icon-button{width:27px}
 .play-main{height:43px;width:43px}
 .timeline{left:12px;right:12px;bottom:14px;gap:7px;grid-template-columns:31px minmax(0,1fr) 31px}
 .timeline span{font-size:9px}
 .timeline input{height:18px;margin:0;touch-action:pan-x;min-width:0}
 .now-panel{top:var(--ept-safe-top);bottom:calc(var(--ept-safe-bottom) + 125px)}
 .sidebar{top:var(--ept-safe-top);bottom:calc(var(--ept-safe-bottom) + 125px);padding-top:25px}
 .modal{max-height:calc(100dvh - var(--ept-safe-top) - var(--ept-safe-bottom) - 30px);max-width:calc(100vw - var(--ept-safe-left) - var(--ept-safe-right) - 20px)}
 .modal-shade{inset:0}
 .video-modal{padding:calc(var(--ept-safe-top) + 15px) calc(var(--ept-safe-right) + 12px) calc(var(--ept-safe-bottom) + 127px) calc(var(--ept-safe-left) + 12px)}
 .stage-head{padding:15px}
 .toast{bottom:calc(var(--ept-safe-bottom) + 130px)}
}
@media (max-width:370px){
 .mobile-head-brand img{width:30px;height:30px}
 .mobile-head-brand span{font-size:14px}
 .topbar-left .crumb strong{font-size:10px}
 .topbar{padding-left:12px;padding-right:12px}
 .topbar .icon-button{width:32px;height:36px}
 .hero{padding-left:16px;padding-right:16px}
 .hero-buttons .primary-btn,.hero-buttons .outline-btn{padding:10px 11px}
 .filter{padding:10px 8px}
 .player-bar{grid-template-columns:minmax(0,1fr) 126px}
}
html[dir=rtl] .mobile-head-brand{direction:ltr}
@media (max-width:680px) and (orientation:landscape){
 .topbar{height:calc(98px + var(--ept-safe-top));padding-top:calc(7px + var(--ept-safe-top))}
 .top-actions .search-shell{top:calc(52px + var(--ept-safe-top))}
 .main-content{padding-top:15px}
 .hero{min-height:290px}
 .video-modal{padding-top:calc(5px + var(--ept-safe-top))}
}
/* V2.3 visual calibration: restore color and contrast of approved luminous hero */
@media (max-width:680px){
 .hero:before{background:linear-gradient(97deg,rgba(17,9,44,.97) 0%,rgba(20,9,50,.76) 42%,rgba(18,10,45,.12) 82%,rgba(13,8,34,.07) 100%)}
 .hero:after{opacity:.28}
 .hero-visual{inset:0 -17% 0 24%;opacity:1;mask-image:linear-gradient(90deg,transparent 0%,#000 25%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 25%);background:linear-gradient(90deg,#1a0e3d35,transparent 60%),url('./assets/cosmic-hero.webp') 60% center/cover no-repeat}
}


/* === V2.4 APPROVED iPhone UI - actual HTML/CSS, not a static mockup === */
/* Keep scrollable content clear of fixed playback and provide safe-area fallback in stand-alone iOS. */
@supports (-webkit-touch-callout: none) {
 @media (display-mode: standalone) {
  :root { --ept-safe-top:max(env(safe-area-inset-top, 0px), 48px); --ept-safe-bottom:max(env(safe-area-inset-bottom, 0px), 28px); }
 }
}
@media (max-width:680px){
 body{background:
  radial-gradient(ellipse 64% 42% at 75% 5%,#502d7d8c,transparent 90%),
  radial-gradient(ellipse 55% 25% at 15% 82%,#17327a72,transparent 100%),
  linear-gradient(165deg,#0c0924 0%,#110d2e 52%,#080c23 100%);
 }
 .app-shell{padding-bottom:calc(149px + var(--ept-safe-bottom))}
 .topbar{
   min-height:0;height:calc(66px + var(--ept-safe-top));
   padding:calc(9px + var(--ept-safe-top)) calc(10px + var(--ept-safe-right)) 10px calc(10px + var(--ept-safe-left));
   align-items:flex-start;gap:5px;
   border-bottom:1px solid #a168ef5c;
   background:linear-gradient(100deg,#150e36e9,#29124cd7 64%,#15123ade);
 }
 .topbar-left{flex:0 1 auto;min-width:0;height:43px;gap:5px;align-items:center}
 .topbar .mobile-menu{width:29px;height:36px;flex-shrink:0}
 .mobile-head-brand{gap:4px;flex-shrink:0}
 .mobile-head-brand img{width:33px;height:33px}
 .mobile-head-brand span{font-size:15px;letter-spacing:-.055em}
 .mobile-head-brand small{font-size:5.5px;letter-spacing:.24em}
 .topbar-left .crumb{font-size:0;white-space:nowrap;flex:0 1 auto}
 .topbar-left .crumb strong{font-size:10px;font-weight:700}
 .top-actions{flex:1 1 auto;min-width:0;height:43px;gap:4px;justify-content:flex-end}
 .top-actions .search-shell{
   position:static;top:auto;left:auto;right:auto;
   width:clamp(78px,28vw,150px);max-width:150px;min-width:0;
   height:34px;padding:0 8px;border-radius:19px;
   box-shadow:inset 0 0 12px #732fd640,0 0 12px #5127af1c;
   background:#291448bd;border:1px solid #976ee8ad;
 }
 .top-actions .search-shell svg{width:14px;height:14px;flex-shrink:0}
 .top-actions .search-shell input{font-size:10px;text-overflow:ellipsis}
 .topbar .lang-chip{height:31px;min-width:31px;width:31px;font-size:9px}
 .topbar #settingsBtn{width:28px;height:32px}
 .topbar #settingsBtn svg{width:19px;height:19px}
 .main-content{padding:27px calc(16px + var(--ept-safe-right)) 36px calc(16px + var(--ept-safe-left));max-width:540px}
 .eyebrow{font-size:9px;letter-spacing:.17em;margin:0 0 18px;gap:8px}
 .eyebrow-line{height:2px;width:26px;background:linear-gradient(90deg,#f250f3,#c255ff);box-shadow:0 0 13px #ec4bee}
 .hero{
   min-height:355px;padding:27px 18px 22px;
   border:1.5px solid #bd64ff;
   border-radius:25px;overflow:hidden;
   background:radial-gradient(ellipse at 69% 108%,#ad29ce52,transparent 60%),linear-gradient(145deg,#140d35,#1a0b44 65%,#15193d);
   box-shadow:0 0 0 1px #3a74f262,0 0 24px #b03df883,0 22px 30px #0506148a,inset 0 0 22px #b12de01b;
 }
 .hero:before{
   z-index:2;position:absolute;inset:0;pointer-events:none;content:'';
   background:linear-gradient(90deg,#170e3cee 0%,#180d3fe8 21%,#1a0c42a2 42%,#100d363a 77%,transparent);
 }
 .hero:after{
   z-index:1;inset:0;opacity:.75;pointer-events:none;
   background:radial-gradient(ellipse at 69% 95%,#fe2ec056,transparent 47%),linear-gradient(180deg,transparent 80%,#234d9b3d 100%);
 }
 .hero-copy{position:relative;z-index:4;max-width:100%;width:100%}
 .hero-pill{color:#f6e4ff;font-size:9px;letter-spacing:.11em;margin-bottom:20px;position:relative;text-shadow:0 0 7px #b976ff72}
 .hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(34px,9.2vw,44px);font-weight:700;line-height:1.08;letter-spacing:-.04em;margin:0 0 18px;text-shadow:0 2px 13px #08052a94}
 .hero h1 span{background:linear-gradient(92deg,#ffc7f6 0%,#e099fd 43%,#5edcf5 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
 .hero p{max-width:71%;min-height:68px;font-size:11px;line-height:1.57;color:#f3eeff;margin:0 0 14px;text-shadow:0 0 7px #120a2d}
 .hero-visual{
   inset:16px -5% 0 36%;z-index:0;
   opacity:.97;transform:none;
   background:url('./assets/approved-hero-art.webp') 53% 37%/cover no-repeat;
   mask-image:linear-gradient(90deg,transparent 0%,#000 25%);
   -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 25%);
   filter:saturate(1.13);
 }
 .hero-buttons{gap:8px;margin-top:19px;max-width:100%;position:relative;z-index:6}
 .hero-buttons .primary-btn,.hero-buttons .outline-btn{
   padding:11px 13px;min-height:44px;border-radius:26px;font-size:11px;
   box-shadow:inset 0 0 13px #ffffff24,0 0 13px #9628ea74;
 }
 .hero-buttons .primary-btn{background:linear-gradient(112deg,#de3aff,#8445fa 56%,#2fc5fc);border:1px solid #ffc1ff;box-shadow:0 0 17px #ea3cfa75,0 0 10px #3daafa8c}
 .hero-buttons .outline-btn{background:#180d3fb8;border-color:#d0a5ff;box-shadow:0 0 9px #5f45d66f}
 .workspace-section{margin-top:34px}
 .section-heading{margin-bottom:21px}
 .section-heading h2{font-size:clamp(28px,8vw,35px);color:#fff;text-shadow:0 0 10px #9d70fe38}
 .section-heading .kicker{color:#d9a8ef;font-size:9px;letter-spacing:.18em}
 .filter-list{gap:6px}
 .filter{border-color:#745ca38c;background:#25173fe6;border-radius:12px;font-size:11px;padding:10px 11px;color:#bcb1d6}
 .filter.active{border-color:#dfa3ff;background:linear-gradient(125deg,#ed3cfa,#9945f5 63%,#45bbff);box-shadow:0 0 13px #ed48f782,0 0 6px #56b9ff4a;color:white}
 .subtle-btn{border:1px solid #9972cdab;box-shadow:inset 0 0 8px #8153d934,0 0 8px #6e3efb36}
 .media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .media-card:first-child .media-art{background-image:url('./assets/cosmic-card-clean.webp')!important;background-position:center!important;background-size:cover!important;}
 .media-art{min-height:119px;height:auto;aspect-ratio:1.50;box-shadow:0 0 14px #993bff70,0 0 1px 1px #cf6cfd}
 .media-art:before{display:none}
 .media-art .media-play{display:grid;position:absolute;inset:0;place-items:center;pointer-events:none}
 .media-art .media-play svg{width:35px;height:35px;filter:drop-shadow(0 0 9px #9a56ff);color:#f8efff}
 .media-art .media-symbol{display:none}
 .media-type{z-index:2}
 .media-fav,.media-delete{z-index:3}
 .media-card h3{font-weight:800}
 .player-bar{
   bottom:calc(var(--ept-safe-bottom) + 12px);
   left:calc(10px + var(--ept-safe-left));right:calc(10px + var(--ept-safe-right));
   grid-template-columns:minmax(0,1fr) minmax(110px,134px);
   grid-template-rows:55px 19px;height:110px;
   padding:11px 12px 19px;border-radius:24px;
   border:1px solid #df78ff;
   background:linear-gradient(125deg,#21103ff7 0%,#1a1942fa 56%,#25113ef8 100%);
   box-shadow:0 0 0 1px #754dbd86,0 0 20px #b13ffa9c,0 0 12px #259aff75,inset 0 0 13px #5734ac60;
 }
 .mini-cover{height:45px;width:45px;box-shadow:0 0 14px #ae4bf770}
 .player-left{min-width:0;gap:8px}
 .mini-meta{min-width:0;overflow:hidden}
 .mini-meta strong{font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
 .mini-meta span{font-size:10px}
 .player-center{min-width:0}
 .transport{gap:3px;justify-content:end}
 .transport .icon-button{width:26px;height:34px}
 .play-main{width:46px;height:46px;box-shadow:0 0 13px #db44fdbb;border:2px solid #e1b2ff}
 .timeline{left:13px;right:13px;bottom:12px;gap:8px;grid-template-columns:27px minmax(0,1fr) 27px}
 .timeline span{font-size:9px}
 .timeline input{min-width:0}
 .now-panel,.sidebar{bottom:calc(var(--ept-safe-bottom) + 137px)}
 .toast{bottom:calc(var(--ept-safe-bottom) + 146px)}
 .video-modal{padding-bottom:calc(var(--ept-safe-bottom) + 139px)}
}
@media (max-width:375px){
 .mobile-head-brand img{width:27px;height:27px}
 .mobile-head-brand span{font-size:13px}
 .topbar-left .crumb strong{font-size:9px}
 .top-actions .search-shell{width:clamp(73px,24vw,100px);padding:0 6px}
 .topbar .mobile-menu{width:24px}
 .topbar .lang-chip{height:28px;min-width:28px;width:28px}
 .hero{padding-left:15px;padding-right:15px}
 .hero h1{font-size:clamp(30px,9vw,37px)}
 .hero p{max-width:74%}
 .hero-buttons .primary-btn,.hero-buttons .outline-btn{font-size:10px;padding:10px 11px}
 .filter{padding:9px 8px}
}
@media (max-width:345px){
 .topbar-left .crumb{display:none}
 .hero-pill{font-size:8px;letter-spacing:.08em}
 .hero h1{font-size:31px}
 .hero p{max-width:80%}
 .hero-visual{left:32%;opacity:.75}
 .filter{padding:8px 7px;font-size:10px}
 .library-total{display:none}
}
@media (max-width:680px) and (orientation:landscape){
 .topbar{height:calc(var(--ept-safe-top) + 60px);padding-top:calc(var(--ept-safe-top) + 6px)}
 .hero{min-height:294px}
}

/* v2.4.1: keep the hero emblem on the right; all text stays live and selectable */
@media (max-width:680px){
 .hero p{max-width:60%}
 .hero-visual{inset:23% -24% 0 48%;background-position:center 48%;background-size:contain;mask-image:linear-gradient(90deg,transparent 0%,#000 33%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 33%)}
}
@media (max-width:375px){.hero p{max-width:64%}.hero-visual{inset:25% -28% 0 46%}}
/* v2.4.2: soft artwork compositing, avoiding a rectangular visible seam */
@media (max-width:680px){
 .hero-visual{mask-image:radial-gradient(ellipse 108% 93% at 81% 65%,#000 16%,#000 43%,transparent 96%);-webkit-mask-image:radial-gradient(ellipse 108% 93% at 81% 65%,#000 16%,#000 43%,transparent 96%)}
}
