
:root{--bg:#060811;--panel:rgba(13,17,31,.78);--panel2:rgba(17,22,39,.9);--line:rgba(157,170,204,.14);--text:#f4f6ff;--muted:#8d97ae;--muted2:#68738c;--accent:#8d70ff;--accent2:#b8a8ff;--danger:#ff6f91;--success:#57e2ad;--shadow:0 24px 80px rgba(0,0,0,.34)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:radial-gradient(circle at 8% 8%,rgba(119,91,255,.15),transparent 28%),radial-gradient(circle at 88% 12%,rgba(47,185,255,.08),transparent 24%),linear-gradient(145deg,#050711,#080b15 52%,#060812);overflow-x:hidden}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-2;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:56px 56px;mask-image:linear-gradient(to bottom,black,transparent 86%)}
button,input,textarea,select{font:inherit}button{appearance:none}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid rgba(165,143,255,.7);outline-offset:2px}
.dashboard-ambient{position:fixed;pointer-events:none;border-radius:50%;filter:blur(18px);opacity:.16;z-index:-1;animation:ambientDrift 18s ease-in-out infinite alternate;will-change:transform}.ambient-a{width:340px;height:340px;left:10%;top:8%;background:#6f45ff}.ambient-b{width:300px;height:300px;right:8%;bottom:6%;background:#2d83ff;animation-delay:-6s}
.app{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;width:268px;flex:0 0 268px;padding:22px 14px 16px;border-right:1px solid var(--line);background:rgba(6,9,18,.72);backdrop-filter:blur(6px);display:flex;flex-direction:column;z-index:20}
.logo{display:flex;align-items:center;gap:13px;padding:8px 12px;margin:0 4px 24px;color:#fff;text-decoration:none;font-size:24px;font-weight:800;letter-spacing:-.045em;position:relative;isolation:isolate}.logo:before{content:"";position:absolute;left:8px;top:2px;width:42px;height:22px;border:1px solid rgba(111,214,255,.34);border-left-color:transparent;border-bottom-color:transparent;border-radius:50%;transform:rotate(-22deg);pointer-events:none;opacity:.48;animation:evruniOrbit 7s ease-in-out infinite}.logo:after{content:"";position:absolute;left:0;right:0;top:0;bottom:0;border-radius:18px;background:radial-gradient(circle at 22% 50%,rgba(139,92,246,.18),transparent 48%);opacity:.7;pointer-events:none;z-index:-1}.logo-mark{position:relative;width:34px;height:34px;flex:0 0 34px;border-radius:12px;background:linear-gradient(145deg,#9b7cff 0%,#6c4cff 45%,#2fd8ff 100%);box-shadow:0 0 18px rgba(108,76,255,.28),0 0 34px rgba(47,216,255,.10),inset 0 1px 1px rgba(255,255,255,.28);animation:evruniMarkPulse 5.5s ease-in-out infinite;will-change:transform,box-shadow}.logo-mark:before{content:"";position:absolute;inset:4px;border:1px solid rgba(255,255,255,.28);border-radius:9px;transform:rotate(-7deg)}.logo-mark .logo-orbit{position:absolute;left:-7px;top:5px;width:48px;height:24px;border:1px solid rgba(111,214,255,.52);border-left-color:transparent;border-bottom-color:transparent;border-radius:50%;transform:rotate(-24deg);pointer-events:none;opacity:.72;animation:evruniOrbit 6s ease-in-out infinite}.logo-mark .logo-star{position:absolute;right:-5px;top:-6px;width:5px;height:5px;border-radius:50%;background:#fff;box-shadow:0 0 7px #fff,0 0 14px rgba(103,232,255,.72);pointer-events:none;animation:evruniStar 3.6s ease-in-out infinite}.logo-mark:after{content:"";position:absolute;width:9px;height:9px;right:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 0 9px rgba(255,255,255,.8);opacity:.75;animation:evruniMarkSpark 3.8s ease-in-out infinite}.logo-mark i{position:absolute;left:9px;top:8px;width:15px;height:17px;border:0;border-left:3px solid #fff;border-top:3px solid #fff;border-bottom:3px solid #fff;border-radius:2px 1px 1px 2px;transform:none;filter:drop-shadow(0 0 5px rgba(255,255,255,.32))}.logo-mark i:after{content:"";position:absolute;left:1px;top:5px;width:11px;height:3px;border-radius:3px;background:#fff;box-shadow:0 0 5px rgba(255,255,255,.25)}.logo-copy{position:relative}.logo-copy:before{content:"";position:absolute;left:-10px;right:-6px;top:-10px;height:12px;border-top:1px solid rgba(174,139,255,.48);border-radius:50%;transform:rotate(-5deg) scaleX(.62);transform-origin:center;opacity:.30;pointer-events:none;animation:evruniHaloSweep 7.8s ease-in-out infinite}.logo-copy{display:flex;align-items:baseline;gap:7px;min-width:0}.logo-tag{display:inline-flex;align-items:center;justify-content:center;height:17px;padding:0 6px;border:1px solid rgba(150,120,255,.34);border-radius:999px;background:linear-gradient(135deg,rgba(139,92,246,.18),rgba(56,189,248,.10));color:#bdaaff;font-size:9px;font-weight:800;letter-spacing:.12em;line-height:1;box-shadow:0 0 12px rgba(108,76,255,.10);transform:translateY(-1px);animation:evruniTagPulse 5s ease-in-out infinite}.logo:hover .logo-tag{border-color:rgba(103,232,255,.52);color:#8eeaff;box-shadow:0 0 15px rgba(56,189,248,.16)}.logo-word{position:relative;overflow:visible;position:relative;display:inline-block}.logo-word:before{content:"";position:absolute;left:-12%;top:1px;width:28%;height:3px;border-radius:999px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.9),transparent);filter:blur(.4px);opacity:0;pointer-events:none;animation:evruniWordGlint 5.2s ease-in-out infinite}.logo-word:after{content:"";position:absolute;left:-7%;right:-5%;bottom:-7px;height:8px;border-top:1.4px solid rgba(112,226,255,.58);border-radius:50%;transform:rotate(-4deg) scaleX(.82);filter:drop-shadow(0 0 4px rgba(76,210,255,.28));opacity:.52;pointer-events:none;animation:evruniWordSweep 6.5s ease-in-out infinite}font-family:"Inter Tight","Sora","Plus Jakarta Sans","SF Pro Display","Segoe UI",ui-sans-serif,system-ui,sans-serif;font-weight:800;letter-spacing:-.075em;font-size:1.04em;line-height:1;background:linear-gradient(105deg,#ffffff 0%,#eee9ff 26%,#b89cff 58%,#67e8ff 100%);background-size:190% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:evruniWordShift 8s ease-in-out infinite;will-change:background-position;filter:drop-shadow(0 0 10px rgba(126,91,255,.10))}.logo:after{content:"";position:absolute;left:45px;top:0;width:5px;height:5px;border-radius:50%;background:#fff;box-shadow:0 0 7px #fff,0 0 14px rgba(103,232,255,.72);pointer-events:none;animation:evruniStar 3.6s ease-in-out infinite}.logo{animation:evruniLogoBreath 6s ease-in-out infinite}.logo:hover{animation-play-state:paused}.logo:hover .logo-mark{transform:translateY(-1px) scale(1.035);box-shadow:0 0 24px rgba(108,76,255,.44),0 0 42px rgba(47,216,255,.16),inset 0 1px 1px rgba(255,255,255,.32)}.logo:hover .logo-word{filter:drop-shadow(0 0 9px rgba(139,92,246,.22))}.sidebar nav{display:grid;gap:5px;overflow:auto;padding-right:2px}
.nav,.side-bottom a{position:relative;display:flex;align-items:center;gap:12px;width:100%;background:transparent;border:1px solid transparent;color:#8994ac;text-align:left;padding:11px 12px;border-radius:13px;text-decoration:none;cursor:pointer;transition:transform .22s ease,background .22s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease}
.nav span{width:24px;text-align:center;color:#7985a1;font-size:15px;transition:transform .22s ease,color .22s ease}.nav:hover,.side-bottom a:hover{color:#f8f9ff;background:rgba(255,255,255,.045);border-color:var(--line);transform:translateX(3px)}.nav:hover span{transform:scale(1.15);color:#b9aaff}
.nav.active{color:#fff;background:linear-gradient(100deg,rgba(141,112,255,.20),rgba(141,112,255,.06));border-color:rgba(159,139,255,.22);box-shadow:inset 0 0 30px rgba(141,112,255,.05),0 8px 30px rgba(0,0,0,.12)}.nav.active:before{content:"";position:absolute;left:-1px;top:9px;bottom:9px;width:3px;border-radius:4px;background:linear-gradient(#c8baff,#7957ff);box-shadow:0 0 14px rgba(141,112,255,.8)}.nav.active span{color:#c0b3ff}
.side-bottom{margin-top:auto;padding-top:14px;border-top:1px solid var(--line)}.main{width:min(1440px,100%);margin:0 auto;padding:30px 40px 60px;min-width:0}
header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}.eyebrow{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.18em;color:#7e8aa5;text-transform:uppercase}.pulse-dot{width:7px;height:7px;border-radius:50%;background:var(--success);box-shadow:0 0 0 0 rgba(87,226,173,.55);animation:pulse 2s infinite}.main h1{font-size:36px;line-height:1.05;margin:8px 0 0;letter-spacing:-.045em}
.userbox{display:flex;align-items:center;gap:9px;padding:9px 12px 9px 14px;border:1px solid var(--line);border-radius:15px;background:rgba(12,16,29,.68);backdrop-filter:blur(14px);box-shadow:0 12px 35px rgba(0,0,0,.18)}.userbox span{color:#c0adff;font-weight:850}.userbox small{color:#707c96}.userbox b{margin-left:6px;padding-left:12px;border-left:1px solid var(--line);color:#f7f8ff;font-size:13px}
.view-card{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,rgba(16,21,37,.86),rgba(8,12,22,.88));box-shadow:var(--shadow);backdrop-filter:blur(6px);animation:pageIn .28s cubic-bezier(.22,1,.36,1) both;will-change:transform,opacity}.view-card:before{content:"";position:absolute;inset:-1px;pointer-events:none;border-radius:inherit;background:linear-gradient(120deg,rgba(173,153,255,.12),transparent 28%,transparent 72%,rgba(76,190,255,.07));opacity:.8}
.view-top{position:relative;display:flex;justify-content:space-between;align-items:center;padding:26px 26px 12px}.view-top h2{font-size:30px;margin:8px 0 0;letter-spacing:-.045em}.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:12px 0 16px}
.toolbar select,.toolbar input,.model-filters input,.model-filters select,.key-create input,.preset-form input,.preset-form select,.chat-composer textarea,.big-input,.mini-card input[type=file],.auth-card input{background:rgba(7,11,22,.78);border:1px solid var(--line);color:#e9ecf7;border-radius:13px;padding:11px 13px;outline:0;transition:border-color .2s,box-shadow .2s,background .2s,transform .2s}.toolbar select:focus,.toolbar input:focus,.model-filters input:focus,.model-filters select:focus,.key-create input:focus,.preset-form input:focus,.preset-form select:focus,.chat-composer textarea:focus,.big-input:focus{border-color:rgba(158,137,255,.55);box-shadow:0 0 0 4px rgba(141,112,255,.09);background:rgba(9,13,26,.95)}
.primary,.ghost,.danger{position:relative;overflow:hidden;border-radius:13px;padding:11px 15px;font-weight:800;cursor:pointer;transition:transform .18s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease,opacity .22s ease}.primary{border:1px solid rgba(195,181,255,.18);color:#fff;background:linear-gradient(135deg,#a18aff,#7655f3 52%,#5d3ce0);box-shadow:0 9px 26px rgba(106,73,238,.28)}.primary:after{content:"";position:absolute;inset:-80% -20%;background:linear-gradient(110deg,transparent 42%,rgba(255,255,255,.22) 50%,transparent 58%);transform:translateX(-70%);transition:transform .55s ease}.primary:hover:after{transform:translateX(70%)}.primary:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(106,73,238,.38)}.primary:active,.ghost:active,.danger:active{transform:translateY(1px) scale(.985)}.primary:disabled,.ghost:disabled,.danger:disabled{opacity:.48;cursor:not-allowed;transform:none;box-shadow:none}
.ghost{background:rgba(12,17,31,.74);border:1px solid var(--line);color:#b7bfd2}.ghost:hover{color:#fff;border-color:rgba(170,151,255,.32);background:rgba(23,29,48,.92);transform:translateY(-2px)}.danger{background:rgba(69,16,32,.42);border:1px solid rgba(255,111,145,.18);color:#ffadbf}.danger:hover{background:rgba(91,20,40,.62);border-color:rgba(255,111,145,.34);transform:translateY(-1px)}
.chat-layout{position:relative;display:grid;grid-template-columns:235px 1fr;min-height:650px;margin:0 26px 26px;border:1px solid var(--line);border-radius:19px;overflow:hidden;background:rgba(5,9,18,.55)}.thread-list{border-right:1px solid var(--line);padding:12px;overflow:auto;background:rgba(9,13,25,.52)}.thread{width:100%;text-align:left;background:transparent;border:1px solid transparent;color:#8d97ad;border-radius:12px;padding:12px;margin-bottom:5px;cursor:pointer;transition:transform .16s ease,background .16s ease,color .16s ease}.thread:hover{background:rgba(255,255,255,.035);color:#fff;transform:translateX(2px)}.thread.active{background:linear-gradient(100deg,rgba(141,112,255,.18),rgba(141,112,255,.04));border-color:rgba(158,137,255,.18);color:#fff}.thread small{display:block;color:#606b83;font-size:9px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-panel{display:flex;flex-direction:column;min-width:0}.messages{padding:28px;flex:1;overflow:auto;display:grid;align-content:start;gap:15px;scroll-behavior:smooth}.empty-chat{text-align:center;margin:auto;color:#77839b;max-width:390px}.empty-orb{width:84px;height:84px;border-radius:50%;display:grid;place-items:center;margin:0 auto 20px;background:radial-gradient(circle at 35% 30%,#e3ddff,#987bff 24%,#4c2fbe 56%,#17112f 72%);box-shadow:0 0 75px rgba(120,83,255,.32),inset 0 0 24px rgba(255,255,255,.12);animation:orbFloat 4.8s ease-in-out infinite}.empty-chat h3{color:#eef0fa;margin:8px 0;font-size:19px}.empty-chat p{line-height:1.6}
.msg{position:relative;max-width:min(78%,760px);padding:14px 16px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,rgba(17,23,39,.92),rgba(10,15,27,.92));animation:messageIn .24s cubic-bezier(.22,1,.36,1) both;will-change:transform,opacity;box-shadow:0 12px 35px rgba(0,0,0,.13)}.msg.user{margin-left:auto;background:linear-gradient(145deg,rgba(48,37,91,.62),rgba(22,18,45,.78));border-color:rgba(150,126,255,.22)}.msg span{font-size:9px;color:#a493e9;text-transform:uppercase;letter-spacing:.14em}.msg p{white-space:pre-wrap;line-height:1.68;font-size:13px;margin:7px 0 0;color:#e0e4f0}
.chat-composer{border-top:1px solid var(--line);padding:15px;background:rgba(8,12,22,.68)}.chat-composer textarea{width:100%;min-height:92px;resize:vertical;color:#fff}.chat-composer>div{display:flex;justify-content:space-between;gap:10px;margin-top:9px}
.studio-grid{display:grid;grid-template-columns:1fr .82fr;gap:16px;padding:0 26px 26px}.big-input{width:100%;min-height:220px;resize:vertical;color:#fff;line-height:1.55}.preview{position:relative;min-height:350px;border:1px dashed rgba(151,137,255,.25);border-radius:19px;display:grid;place-items:center;color:#68748d;background:radial-gradient(circle at 50% 42%,rgba(105,74,235,.17),transparent 44%),rgba(6,10,19,.66);overflow:hidden}.preview:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;border:1px solid rgba(160,141,255,.12);animation:previewPulse 4s ease-in-out infinite}.preview-orb{font-size:44px;color:#b09cff;animation:orbFloat 4s ease-in-out infinite;z-index:1}
.studio-single{display:grid;gap:14px;padding:0 26px 26px}.info-box,.warning,.result-box{padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:rgba(10,15,28,.72);color:#8c97ad;font-size:12px;line-height:1.65}.result-box{min-height:180px;white-space:pre-wrap;color:#dce1ed}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:0 26px 26px}.mini-card{padding:19px;border:1px solid var(--line);border-radius:17px;background:rgba(10,15,28,.72);display:grid;gap:12px}.mini-card h3{margin:0;font-size:16px}.upload-zone{margin:0 26px;padding:48px 20px;text-align:center;border:1px dashed rgba(151,137,255,.3);border-radius:19px;background:radial-gradient(circle at 50% 0,rgba(108,76,235,.11),transparent 45%),rgba(7,11,21,.6);transition:.25s ease}.upload-zone.dragover{border-color:rgba(173,151,255,.7);background:rgba(89,61,188,.12);transform:scale(1.01)}.upload-zone input{margin-bottom:15px}
.list{display:grid;gap:8px;margin:16px 26px 26px}.list-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 15px;border:1px solid var(--line);border-radius:13px;background:rgba(10,15,28,.68);color:#c8cfdf;transition:.2s ease}.list-row:hover{transform:translateY(-1px);border-color:rgba(160,141,255,.18);background:rgba(15,21,38,.82)}.list-row small{color:#6f7a91;display:block}.model-filters{display:flex;gap:10px;margin:0 26px 15px}.model-filters input{flex:1}.model-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px;padding:0 26px 26px}.model-card{display:flex;justify-content:space-between;gap:15px;padding:17px;border:1px solid var(--line);border-radius:15px;background:rgba(10,15,28,.68);transition:.25s cubic-bezier(.16,1,.3,1)}.model-card:hover{transform:translateY(-4px);border-color:rgba(141,112,255,.34);box-shadow:0 15px 35px rgba(0,0,0,.18)}.model-card small{display:block;color:#6d7890;margin-top:6px;font-size:10px}.model-card strong{color:#a88fff;white-space:nowrap}
.preset-form,.key-create{margin:0 26px;padding:19px;border:1px solid var(--line);border-radius:17px;background:rgba(10,15,28,.7);display:grid;gap:10px}.key-create{grid-template-columns:1fr 180px auto;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;padding:0 26px 18px}.stats>div{padding:20px;border:1px solid var(--line);border-radius:15px;background:rgba(10,15,28,.68);transition:.2s}.stats>div:hover{transform:translateY(-3px);border-color:rgba(141,112,255,.24)}.stats b{display:block;font-size:26px;color:#aa96ff;letter-spacing:-.03em}.stats span{font-size:10px;color:#6e7890}.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:0 26px 18px}.price-card{display:grid;gap:10px;padding:22px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,rgba(15,21,38,.88),rgba(8,13,24,.84));transition:.25s}.price-card:hover{transform:translateY(-5px);border-color:rgba(160,141,255,.28);box-shadow:0 20px 45px rgba(0,0,0,.2)}.price-card b{font-size:29px}.price-card strong{color:#9b87f0}.price-card small{color:#77829a;font-size:11px}.price-card em{font-style:normal;color:#8fe2c2;font-size:11px}.price-card.featured{border-color:rgba(154,132,255,.42);box-shadow:0 18px 48px rgba(93,66,190,.18)}.price-badge{display:inline-flex;width:max-content;padding:5px 9px;border-radius:999px;background:rgba(130,103,255,.14);border:1px solid rgba(150,125,255,.22);color:#cfc5ff;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.billing-country{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 26px 18px;padding:17px 19px;border:1px solid var(--line);border-radius:17px;background:rgba(10,15,28,.72)}.billing-topup-card,.billing-method-card{margin:0 26px 18px;padding:19px;border:1px solid var(--line);border-radius:17px;background:rgba(10,15,28,.72);display:grid;gap:14px}.billing-topup-card>div:first-child,.billing-method-card>div:first-child{display:grid;gap:4px}.billing-topup-card small,.billing-method-card small{color:#69758d;font-size:11px}.billing-amount-row{display:flex;align-items:center;gap:10px}.billing-amount-row input{width:220px;height:48px;box-sizing:border-box;padding:0 14px;border-radius:14px;border:1px solid var(--line);background:rgba(17,23,39,.82);color:#fff;font-size:18px;outline:none}.billing-amount-row span{color:#8d98ad;min-width:58px;font-weight:700}.billing-currency-hint{color:#69758d;font-size:11px}.billing-price-preview{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid var(--line);color:#7c879b}.billing-price-preview strong{font-size:21px;color:#b7aaff}.billing-methods{display:flex;gap:10px;flex-wrap:wrap}.payment-method-btn{display:flex;align-items:center;gap:9px;min-width:145px;padding:13px 15px;border-radius:14px;border:1px solid var(--line);background:rgba(17,23,39,.7);color:#aeb7c9;cursor:pointer}.payment-method-btn span{font-size:18px}.payment-method-btn.active{border-color:rgba(157,137,255,.5);background:rgba(130,103,255,.12);color:#fff;box-shadow:0 8px 25px rgba(70,45,160,.12)}.billing-action{display:flex;justify-content:flex-end;margin:0 26px 18px}.payment-country-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.payment-country-box{padding:14px;border:1px solid var(--line);border-radius:14px;background:rgba(7,11,22,.55);display:grid;gap:9px}.payment-country-box label{font-size:11px;color:#aeb7c9}.payment-country-box input{accent-color:#8f78f2}.payment-method-settings{margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}.payment-method-settings h4{margin:0 0 5px;font-size:13px}.payment-method-settings>p{margin:0 0 12px;color:#68748c;font-size:10px}.billing-country>div{display:grid;gap:4px}.billing-country b{font-size:14px}.billing-country small{color:#69758d;font-size:11px}.billing-country-select{min-width:230px;height:44px;padding:0 13px;border-radius:14px;border:1px solid var(--line);background:rgba(17,23,39,.82);color:#e8ecf5;outline:none}.muted{color:#65718a;padding:15px}.warning{margin:0 26px 20px;color:#d7b77a;border-color:rgba(215,183,122,.2)}
.codebox{min-height:220px;white-space:pre-wrap;overflow:auto;background:#050913;border:1px solid var(--line);border-radius:14px;padding:16px;color:#b5bfff;font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace}.sandbox{display:grid;gap:12px;padding:0 26px 26px}
.toast-stack{position:fixed;top:20px;right:20px;bottom:auto;left:auto;display:grid;gap:10px;width:min(370px,calc(100vw - 32px));z-index:2147483647;pointer-events:none}
.toast{position:relative;display:grid;grid-template-columns:30px 1fr;gap:11px;align-items:center;min-height:58px;padding:12px 15px 13px 12px;border:1px solid rgba(255,255,255,.075);border-radius:18px;background:linear-gradient(145deg,rgba(20,25,43,.91),rgba(9,13,25,.94));backdrop-filter:blur(6px);box-shadow:0 18px 50px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.035);overflow:hidden;pointer-events:auto;animation:toastIn .26s cubic-bezier(.22,1,.36,1) both;will-change:transform,opacity}.toast:before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:2px;border-radius:4px;background:linear-gradient(180deg,#b8a8ff,#7655f3);box-shadow:0 0 13px rgba(141,112,255,.55)}.toast:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 0 0,rgba(167,145,255,.10),transparent 42%)}.toast>div:first-child{position:relative;z-index:1;width:30px;height:30px;display:grid;place-items:center;border:1px solid rgba(173,153,255,.15);border-radius:11px;background:rgba(141,112,255,.09);color:#b9a9ff;font-size:12px;box-shadow:inset 0 0 18px rgba(141,112,255,.05)}.toast>div:last-child{position:relative;z-index:1;min-width:0}.toast.success{border-color:rgba(87,226,173,.13)}.toast.success:before{background:linear-gradient(180deg,#7df1c4,#42cfa0);box-shadow:0 0 13px rgba(87,226,173,.4)}.toast.success>div:first-child{color:#73e9bc;border-color:rgba(87,226,173,.15);background:rgba(87,226,173,.07)}.toast.error{border-color:rgba(255,111,145,.15)}.toast.error:before{background:linear-gradient(180deg,#ff9db5,#e9577c);box-shadow:0 0 13px rgba(255,111,145,.38)}.toast.error>div:first-child{color:#ff9fb5;border-color:rgba(255,111,145,.15);background:rgba(255,111,145,.07)}.toast b{display:block;font-size:12px;line-height:1.25;letter-spacing:.01em;color:#f1f3fb}.toast p{margin:3px 0 0;color:#818ca4;font-size:10.5px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toast.hide{animation:toastOut .32s cubic-bezier(.7,0,.84,0) both}
.spinner{width:15px;height:15px;border:2px solid rgba(255,255,255,.25);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite;display:inline-block;vertical-align:-3px;margin-right:7px}
.auth{display:grid;place-items:center;min-height:100vh;background:radial-gradient(circle at 50% 0,#1a1740,#070a12)}.auth-card{width:min(420px,92vw);padding:34px;background:rgba(13,18,32,.86);border:1px solid var(--line);border-radius:22px;display:grid;gap:12px;box-shadow:var(--shadow);backdrop-filter:blur(22px)}.auth-card h1{margin:4px 0 14px}.auth-card a{color:#a995ff;text-align:center;text-decoration:none}.error{background:#3a1720;color:#ffb9c5;padding:10px;border-radius:10px}
@keyframes pageIn{from{opacity:0;transform:translateY(14px) scale(.992)}to{opacity:1;transform:none}}@keyframes messageIn{from{opacity:0;transform:translateY(9px) scale(.985)}to{opacity:1;transform:none}}@keyframes orbFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-9px) rotate(3deg)}}@keyframes previewPulse{0%,100%{transform:scale(.82);opacity:.25}50%{transform:scale(1.08);opacity:.7}}@keyframes ambientDrift{from{transform:translate3d(-10px,-8px,0) scale(1)}to{transform:translate3d(22px,18px,0) scale(1.12)}}@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(87,226,173,.55)}70%{box-shadow:0 0 0 8px rgba(87,226,173,0)}100%{box-shadow:0 0 0 0 rgba(87,226,173,0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes toastIn{from{opacity:0;transform:translateY(14px) scale(.97);filter:none}to{opacity:1;transform:none;filter:none}}@keyframes toastOut{from{opacity:1;transform:none}to{opacity:0;transform:translateY(7px) scale(.985);filter:none}}
@keyframes evruniMarkPulse{0%,100%{transform:translateY(0) scale(1);box-shadow:0 0 18px rgba(108,76,255,.28),0 0 34px rgba(47,216,255,.10),inset 0 1px 1px rgba(255,255,255,.28)}50%{transform:translateY(-1px) scale(1.018);box-shadow:0 0 24px rgba(108,76,255,.38),0 0 40px rgba(47,216,255,.14),inset 0 1px 1px rgba(255,255,255,.30)}}@keyframes evruniMarkSpark{0%,100%{opacity:.35;transform:scale(.75)}50%{opacity:.9;transform:scale(1)}}@keyframes evruniWordArc{0%,100%{transform:rotate(-4deg) scaleX(.96);opacity:.52}50%{transform:rotate(-1deg) scaleX(1);opacity:.9}}@keyframes evruniTopArc{0%,100%{transform:translateX(0) rotate(-6deg);opacity:.38}50%{transform:translateX(3px) rotate(-3deg);opacity:.72}}@keyframes evruniLogoBreath{0%,100%{transform:translateY(0);}50%{transform:translateY(-1px)}}@keyframes evruniWordSweep{0%,100%{transform:rotate(-4deg) scaleX(.76);opacity:.32}50%{transform:rotate(-1deg) scaleX(.92);opacity:.72}}@keyframes evruniHaloSweep{0%,100%{transform:translateX(-2px) rotate(-5deg) scaleX(.54);opacity:.18}50%{transform:translateX(3px) rotate(-2deg) scaleX(.72);opacity:.48}}50%{transform:translateX(4px) rotate(-4deg) scaleX(.88);opacity:.62}}@keyframes evruniWordGlint{0%,62%{left:-18%;opacity:0}70%{opacity:.9}84%{left:102%;opacity:0}100%{left:102%;opacity:0}}@keyframes evruniOrbit{0%,100%{transform:rotate(-24deg) scale(1);opacity:.48}50%{transform:rotate(-18deg) scale(1.03);opacity:.82}}@keyframes evruniStar{0%,100%{opacity:.35;transform:scale(.7)}50%{opacity:1;transform:scale(1.25)}}@keyframes evruniTagPulse{0%,100%{opacity:.78;transform:translateY(-1px) scale(1)}50%{opacity:1;transform:translateY(-1px) scale(1.035)}}@keyframes evruniWordShift{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}50%{background-position:100% 50%}}@media(max-width:980px){.sidebar{width:82px;flex-basis:82px;padding:18px 9px}.logo{justify-content:center;padding:8px 4px;font-size:0}.logo-copy{display:none}.logo-mark{width:30px;height:30px}.nav{justify-content:center;padding:12px;font-size:0}.nav span{font-size:16px}.side-bottom a{justify-content:center;font-size:0}.main{padding:24px 20px 45px}}
@media(max-width:850px){.chat-layout,.studio-grid,.two-col{grid-template-columns:1fr}.thread-list{max-height:170px;border-right:0;border-bottom:1px solid var(--line)}.model-grid,.pricing-grid,.stats{grid-template-columns:1fr 1fr}.key-create{grid-template-columns:1fr}.chat-layout{min-height:600px}.main h1{font-size:29px}}
@media(max-width:850px){.payment-country-grid{grid-template-columns:1fr}.billing-amount-row input{width:100%}.billing-action{justify-content:stretch}.billing-action .primary{width:100%}}@media(max-width:560px){.toast-stack{top:12px;right:12px;bottom:auto;left:auto;width:min(370px,calc(100vw - 24px))}.main{padding:18px 12px 35px}.main h1{font-size:25px}header{align-items:flex-start}.userbox{padding:8px 9px}.userbox b,.userbox small{display:none}.view-top{padding:21px 17px 10px}.view-top h2{font-size:24px}.chat-layout{margin:0 12px 12px}.messages{padding:19px}.msg{max-width:92%}.studio-grid,.two-col,.studio-single,.sandbox{padding-left:17px;padding-right:17px}.upload-zone{margin:0 17px}.list{margin-left:17px;margin-right:17px}.model-filters{margin-left:17px;margin-right:17px}.model-grid{padding-left:17px;padding-right:17px}.stats,.pricing-grid{padding-left:17px;padding-right:17px}.billing-country{margin-left:17px;margin-right:17px;align-items:stretch;flex-direction:column}.billing-country-select{width:100%;min-width:0}.preset-form,.key-create{margin-left:17px;margin-right:17px}.warning{margin-left:17px;margin-right:17px}.toolbar{gap:7px}.toast-stack{right:12px;bottom:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}

/* Evruni reduced motion performance */
@media (max-width: 700px), (prefers-reduced-motion: reduce) {
  .dashboard-ambient, .orb, .hero-orb { animation-duration: 12s !important; }
}

/* Evruni public landing / guest mode */
.public-page{min-height:100vh;overflow-x:hidden;background:#070a12;color:#eef0fa}
.public-nav{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px clamp(18px,4vw,64px);border-bottom:1px solid rgba(255,255,255,.06);background:rgba(7,10,18,.68);backdrop-filter:blur(22px)}
.public-nav nav{display:flex;gap:28px}.public-nav nav a,.public-footer a{color:#8d97ad;text-decoration:none;font-size:13px;transition:.2s}.public-nav nav a:hover,.public-footer a:hover{color:#fff}
.public-actions{display:flex;gap:9px;align-items:center}.public-actions a{text-decoration:none}
.public-main{width:min(1240px,100%);margin:0 auto;padding:30px 24px 80px}
.public-hero{min-height:650px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:40px;padding:65px 0 45px}
.hero-copy h1{font-size:clamp(46px,6.7vw,84px);line-height:.96;letter-spacing:-.065em;margin:16px 0 22px}
.hero-copy h1 span{background:linear-gradient(110deg,#fff,#9b84ff 52%,#62d9ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-copy p{max-width:650px;color:#8f9ab1;font-size:17px;line-height:1.75;margin:0}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}.hero-actions a{text-decoration:none}
.hero-visual{position:relative;min-height:500px;display:grid;place-items:center}
.hero-orb{width:min(330px,62vw);height:min(330px,62vw);border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 34% 28%,#f0ebff,#a28bff 22%,#4d2eb9 54%,#17112f 72%);box-shadow:0 0 110px rgba(123,85,255,.32),inset 0 0 40px rgba(255,255,255,.12);animation:orbFloat 5.8s ease-in-out infinite}
.hero-orb span{font-size:80px;color:#fff;text-shadow:0 0 35px rgba(255,255,255,.55)}
.hero-card{position:absolute;padding:15px 18px;border:1px solid rgba(255,255,255,.08);border-radius:17px;background:rgba(13,18,32,.74);backdrop-filter:blur(18px);box-shadow:0 18px 60px rgba(0,0,0,.22);display:grid;gap:5px;animation:floatCard 6s ease-in-out infinite}
.hero-card b{font-size:13px}.hero-card small{color:#7f8aa3;font-size:10px}.hero-card-a{top:18%;left:2%}.hero-card-b{right:0;top:33%;animation-delay:-2s}.hero-card-c{bottom:13%;left:12%;animation-delay:-4s}
@keyframes floatCard{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.public-ai-card{position:relative;border:1px solid rgba(158,137,255,.17);border-radius:26px;padding:24px;background:linear-gradient(145deg,rgba(17,22,39,.88),rgba(7,11,21,.82));box-shadow:0 30px 90px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.035);overflow:hidden}
.public-ai-card:before{content:"";position:absolute;inset:-40% 40% 40% -20%;background:radial-gradient(circle,rgba(141,112,255,.15),transparent 65%);pointer-events:none}
.public-ai-head{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.public-ai-head h2,.public-section h2{margin:8px 0 0;font-size:28px;letter-spacing:-.04em}
.public-status{display:flex;gap:8px;align-items:center;color:#7e8aa5;font-size:11px}.public-status i{width:7px;height:7px;border-radius:50%;background:#57e2ad;box-shadow:0 0 13px rgba(87,226,173,.6)}
.public-composer{position:relative;border:1px solid rgba(255,255,255,.07);border-radius:18px;background:rgba(5,9,18,.65);padding:14px}
.public-composer textarea{width:100%;min-height:110px;resize:vertical;background:transparent;border:0;color:#fff;outline:0;font-size:16px;line-height:1.6}.public-composer textarea::placeholder{color:#59647a}
.public-composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:9px}.public-composer-bottom span{color:#626e85;font-size:10px}
.public-section{padding:100px 0 0}.section-heading{margin-bottom:28px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.feature-grid article{min-height:170px;padding:23px;border:1px solid rgba(255,255,255,.06);border-radius:20px;background:rgba(10,14,25,.62);transition:.25s ease}.feature-grid article:hover{transform:translateY(-5px);border-color:rgba(158,137,255,.2);box-shadow:0 18px 50px rgba(0,0,0,.16)}.feature-grid article>span{font-size:22px;color:#a996ff}.feature-grid b{display:block;margin-top:22px;font-size:15px}.feature-grid p{color:#77839b;font-size:12px;line-height:1.6;margin:8px 0 0}
.public-strip{display:flex;align-items:end;justify-content:space-between;gap:30px;padding-bottom:35px;border-bottom:1px solid rgba(255,255,255,.06)}.public-strip p{max-width:520px;color:#7e8aa2;line-height:1.65;font-size:13px}
.public-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px clamp(18px,4vw,64px);border-top:1px solid rgba(255,255,255,.06);color:#667188;font-size:11px}.public-footer>span:first-child{color:#eef0fa;font-weight:700}.public-footer div{display:flex;gap:18px}
.auth-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;visibility:hidden;opacity:0;transition:opacity .25s,visibility .25s}.auth-modal.show{visibility:visible;opacity:1}.auth-backdrop{position:absolute;inset:0;background:rgba(2,4,10,.68);backdrop-filter:blur(10px)}
.auth-modal-card{position:relative;width:min(430px,calc(100vw - 32px));padding:32px;border:1px solid rgba(158,137,255,.2);border-radius:24px;background:linear-gradient(145deg,rgba(20,25,43,.97),rgba(7,11,20,.98));box-shadow:0 30px 100px rgba(0,0,0,.5);transform:translateY(15px) scale(.98);transition:transform .32s cubic-bezier(.16,1,.3,1);text-align:center}.auth-modal.show .auth-modal-card{transform:none}.auth-close{position:absolute;right:13px;top:10px;border:0;background:transparent;color:#7e8aa5;font-size:25px;cursor:pointer}.auth-orb{width:58px;height:58px;font-size:20px;margin:0 auto 18px;animation:none}.auth-modal-card h2{font-size:25px;letter-spacing:-.04em;margin:9px 0}.auth-modal-card p{color:#7e8aa1;font-size:12px;line-height:1.65}.auth-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:22px}.auth-modal-actions a{text-decoration:none}.modal-open{overflow:hidden}
@media(max-width:850px){.public-nav nav{display:none}.public-hero{grid-template-columns:1fr;min-height:auto;padding-top:45px}.hero-visual{min-height:380px}.feature-grid{grid-template-columns:1fr 1fr}}
@media(max-width:850px){.payment-country-grid{grid-template-columns:1fr}.billing-amount-row input{width:100%}.billing-action{justify-content:stretch}.billing-action .primary{width:100%}}@media(max-width:560px){.public-nav{padding:14px 12px}.public-nav .logo span{display:inline}.public-actions .ghost{display:none}.public-main{padding:20px 12px 55px}.public-hero{padding:35px 0 30px}.hero-copy h1{font-size:45px}.hero-copy p{font-size:14px}.hero-visual{min-height:320px}.hero-orb{width:240px;height:240px}.hero-orb span{font-size:58px}.hero-card{padding:11px 13px}.hero-card-b{right:-2px}.public-composer-bottom{align-items:flex-end;flex-direction:column}.public-composer-bottom span{width:100%}.public-composer-bottom button{width:100%}.feature-grid{grid-template-columns:1fr}.public-strip{display:block}.public-footer{flex-wrap:wrap}.auth-modal-actions{grid-template-columns:1fr}}

/* Evruni profile menu */
.profile-menu-wrap{position:fixed;right:22px;top:16px;z-index:120}.profile-trigger{display:flex;align-items:center;gap:9px;min-width:190px;padding:7px 10px 7px 7px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(12,17,30,.72);backdrop-filter:blur(18px);color:#fff;cursor:pointer;box-shadow:0 10px 35px rgba(0,0,0,.18);transition:.22s}.profile-trigger:hover,.profile-menu-wrap.open .profile-trigger{border-color:rgba(158,137,255,.32);background:rgba(18,23,40,.9)}.profile-avatar{width:31px;height:31px;display:grid;place-items:center;flex:none;border-radius:10px;background:linear-gradient(135deg,#a18aff,#5d48d9);color:#fff;font-size:12px;font-weight:800}.profile-avatar.large{width:42px;height:42px}.profile-trigger-text{display:grid;min-width:0;flex:1;text-align:left}.profile-trigger-text b{font-size:11px;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-trigger-text small,.profile-dropdown-head small{font-size:9px;color:#7d889e}.profile-chevron{color:#7d889e;transition:.2s}.profile-menu-wrap.open .profile-chevron{transform:rotate(180deg)}.profile-dropdown{position:absolute;right:0;top:calc(100% + 9px);width:270px;padding:10px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(12,17,29,.96);backdrop-filter:blur(6px);box-shadow:0 24px 80px rgba(0,0,0,.45);opacity:0;visibility:hidden;transform:translateY(-7px) scale(.98);transition:.22s}.profile-menu-wrap.open .profile-dropdown{opacity:1;visibility:visible;transform:none}.profile-dropdown-head{display:flex;align-items:center;gap:10px;padding:9px 8px 12px}.profile-dropdown-head>div{display:grid;min-width:0}.profile-dropdown-head b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-balance{display:flex;justify-content:space-between;margin:2px 3px 8px;padding:10px 11px;border:1px solid rgba(255,255,255,.055);border-radius:12px;background:rgba(255,255,255,.025);font-size:10px;color:#7f8aa1}.profile-balance strong{color:#b7aaff}.profile-item{display:flex;align-items:center;gap:10px;width:100%;min-height:38px;padding:9px 10px;border:0;border-radius:10px;background:transparent;color:#c8cede;text-decoration:none;font:inherit;font-size:11px;text-align:left;cursor:pointer}.profile-item:hover{background:rgba(255,255,255,.055);color:#fff}.profile-item.danger:hover{background:rgba(255,75,108,.09);color:#ff8fa5}.profile-divider{height:1px;margin:7px 5px;background:rgba(255,255,255,.06)}@media(max-width:700px){.profile-menu-wrap{right:10px;top:10px}.profile-trigger{min-width:0}.profile-trigger-text{display:none}.profile-dropdown{right:-2px;width:255px}}

/* Evruni dashboard profile positioning */
.dashboard-page .main>header{position:relative;min-height:66px}
.dashboard-page .dashboard-profile{position:absolute;right:0;top:0}
.dashboard-page .dashboard-profile .profile-trigger{min-width:245px}
.dashboard-page .profile-credits{display:flex;align-items:baseline;gap:4px;padding:0 8px 0 3px;border-right:1px solid rgba(255,255,255,.07);margin-right:1px}
.dashboard-page .profile-credits span{font-size:14px;font-weight:800;color:#b7aaff;color:#727e95;text-transform:uppercase;letter-spacing:.08em}
.dashboard-page .profile-trigger-text b{max-width:110px}
.dashboard-page .profile-trigger-text small{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){
 .dashboard-page .dashboard-profile{right:0;top:0}
 .dashboard-page .dashboard-profile .profile-trigger{min-width:0;padding-right:8px}
 .dashboard-page .dashboard-profile .profile-trigger-text{display:none}
 .dashboard-page .profile-credits{border-right:0}
}

/* V3.8 smooth-performance animation layer */
*{scroll-behavior:auto}
@media (prefers-reduced-motion: no-preference){
  .dashboard-page .main,.public-page{transform:translateZ(0)}
  .primary,.ghost,.danger,.nav,.thread,.model-card,.list-row,.feature-grid article,.stats>div,.profile-trigger,.profile-item{will-change:auto}
}
@media (prefers-reduced-motion: reduce){*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Evruni Profile Page */
.profile-page{padding:28px;max-width:1180px;margin:0 auto;animation:viewIn .35s ease both}
.profile-hero{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px;padding:28px;border:1px solid rgba(255,255,255,.08);border-radius:24px;background:linear-gradient(135deg,rgba(99,74,190,.16),rgba(16,20,38,.72));box-shadow:0 24px 70px rgba(0,0,0,.18)}
.profile-avatar-large{width:82px;height:82px;border-radius:24px;display:grid;place-items:center;font-size:30px;font-weight:800;color:#fff;background:linear-gradient(135deg,#8b6cff,#5a3fd1);box-shadow:0 14px 40px rgba(111,82,255,.28)}
.profile-hero-copy h2{margin:5px 0 4px;font-size:30px}
.profile-hero-copy p{margin:0;color:#9ca4bd}
.profile-balance-card{min-width:190px;padding:16px 18px;border-radius:18px;background:rgba(7,10,22,.5);border:1px solid rgba(255,255,255,.07)}
.profile-balance-card span,.profile-balance-card small{display:block;color:#8f97af}
.profile-balance-card strong{display:block;margin:5px 0;font-size:24px;color:#fff}
.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.profile-card{padding:24px;border:1px solid rgba(255,255,255,.07);border-radius:22px;background:rgba(13,16,29,.72)}
.profile-card-head{display:flex;justify-content:space-between;margin-bottom:20px}
.profile-card h3{margin:4px 0 0;font-size:19px}
.eyebrow{font-size:10px;letter-spacing:.18em;color:#8e81d8}
.profile-field{display:block;margin:14px 0}
.profile-field>span{display:block;margin-bottom:7px;font-size:12px;color:#8e96ad}
.profile-field input,.profile-field select{width:100%;box-sizing:border-box;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.09);background:#0b0e1a;color:#f2f4ff;outline:none}
.profile-field input:focus,.profile-field select:focus{border-color:rgba(139,108,255,.75);box-shadow:0 0 0 3px rgba(139,108,255,.1)}
.profile-field input:disabled{opacity:.55}
/* V15.79: workspace language/currency selects — match Evruni control style */
.profile-field select{
  appearance:none;
  -webkit-appearance:none;
  min-height:46px;
  padding:0 44px 0 14px;
  border-radius:13px;
  border:1px solid rgba(255,255,255,.10);
  background-color:rgba(7,11,22,.82);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a99aff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  color:#eef1ff;
  font-size:14px;
  line-height:1.2;
  cursor:pointer;
  transition:border-color .2s,box-shadow .2s,background-color .2s;
}
.profile-field select:hover{
  border-color:rgba(170,145,255,.32);
  background-color:rgba(9,13,26,.94);
}
.profile-field select:focus{
  border-color:rgba(158,137,255,.60);
  box-shadow:0 0 0 4px rgba(141,112,255,.09);
  background-color:rgba(9,13,26,.96);
}
.profile-field select option{
  background:#0b1020;
  color:#eef1ff;
}

.profile-hint{font-size:12px;line-height:1.55;color:#858da5;margin:14px 0 0}
.profile-security-card{margin-top:18px}
.profile-actions{display:flex;flex-wrap:wrap;gap:10px}
.profile-action-btn{border:0;border-radius:12px;padding:12px 18px;cursor:pointer;color:#fff;background:linear-gradient(135deg,#7c5cff,#6040d0);transition:transform .18s ease,filter .18s ease}
.profile-action-btn:hover{transform:translateY(-1px);filter:brightness(1.08)}
.profile-action-btn.secondary{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08)}
.profile-action-btn.danger{background:rgba(208,70,95,.12);border:1px solid rgba(208,70,95,.25);color:#ff9bab}
@media(max-width:760px){.profile-page{padding:16px}.profile-hero{grid-template-columns:auto 1fr}.profile-balance-card{grid-column:1/-1}.profile-grid{grid-template-columns:1fr}.profile-avatar-large{width:64px;height:64px;border-radius:18px}.profile-hero-copy h2{font-size:23px}}

@media(prefers-reduced-motion:reduce){.logo,.logo-mark,.logo-mark:after,.logo-word,.logo-tag,.logo:before,.logo:after,.logo-word:before,.logo-word:after,.logo-copy:before{animation:none}.logo:after{opacity:.55}}

.dev-notice{
  display:flex;
  align-items:center;
  gap:12px;
  margin:14px 0 14px;
  padding:11px 14px;
  border:1px solid rgba(139,92,246,.22);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(139,92,246,.10),rgba(56,189,248,.055));
  box-shadow:0 8px 28px rgba(0,0,0,.12);
  color:#dfe5ff;
}
.dev-notice-dot{
  width:9px;
  height:9px;
  flex:0 0 9px;
  border-radius:50%;
  background:#a78bfa;
  box-shadow:0 0 0 4px rgba(167,139,250,.10),0 0 14px rgba(167,139,250,.45);
  animation:devNoticePulse 2.8s ease-in-out infinite;
}
.dev-notice-copy{
  min-width:0;
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
}
.dev-notice-copy strong{
  font-size:13px;
  font-weight:750;
  letter-spacing:-.01em;
}
.dev-notice-copy span{
  color:#9fa9c8;
  font-size:12px;
  line-height:1.45;
}
@keyframes devNoticePulse{
  0%,100%{opacity:.65;transform:scale(.9)}
  50%{opacity:1;transform:scale(1)}
}
@media (max-width:700px){
  .dev-notice{align-items:flex-start;padding:10px 12px}
  .dev-notice-copy{display:block}
  .dev-notice-copy strong{display:block;margin-bottom:2px}
}
@media (prefers-reduced-motion:reduce){
  .dev-notice-dot{animation:none}
}

/* V5.4 sidebar alignment */
.sidebar nav .nav{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  white-space:nowrap;
  gap:10px;
}
.sidebar nav .nav > span{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
}
.sidebar nav .nav > span[data-i18n]{
  min-width:0;
}
.side-bottom .admin-nav{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  white-space:nowrap;
  gap:10px;
}

/* V6.3: remove the upper arc above the Evruni wordmark */
.logo-copy:before{display:none!important}

/* V6.7: public header alignment */
.public-nav{
  align-items:center !important;
}
.public-nav .brand,
.public-nav .brand-logo,
.public-nav .brand-wordmark{
  align-self:center !important;
  display:flex;
  align-items:center;
  line-height:1 !important;
  overflow:visible !important;
}
.public-nav .brand-wordmark{
  padding-top:0 !important;
  margin-top:0 !important;
  transform:none !important;
  overflow:visible !important;
}
.public-nav .public-actions{
  align-items:center !important;
}
.public-nav .public-actions > *{
  align-self:center !important;
}

/* Prevent the Evruni wordmark's O from being clipped by its container. */
.public-nav .brand,
.public-nav .brand-logo{
  overflow:visible !important;
  min-width:0;
}
.public-nav .brand-wordmark,
.public-nav .brand-wordmark *{
  overflow:visible !important;
}

.public-nav .brand-logo{overflow:visible!important;}

.public-nav .brand-wordmark{overflow:visible!important;}

/* V6.8: public logo position and wordmark clipping fix */
.public-nav > .logo{
  position:relative !important;
  margin:0 0 0 16px !important;
  padding:8px 12px !important;
  transform:translate(12px, 8px) !important;
  overflow:visible !important;
  flex:0 0 auto !important;
  width:max-content !important;
  max-width:none !important;
}
.public-nav > .logo .logo-mark,
.public-nav > .logo .logo-copy,
.public-nav > .logo .logo-word,
.public-nav > .logo .logo-tag{
  overflow:visible !important;
}
.public-nav > .logo .logo-copy{
  transform:translateY(1px);
}
@media(max-width:850px){.payment-country-grid{grid-template-columns:1fr}.billing-amount-row input{width:100%}.billing-action{justify-content:stretch}.billing-action .primary{width:100%}}@media(max-width:560px){
  .public-nav > .logo{
    margin-left:6px !important;
    transform:translate(6px, 5px) !important;
  }
}

/* V6.9: corrected Evruni wordmark rendering and public-header alignment */
.public-nav{
  align-items:center !important;
}
.public-nav > .logo{
  align-items:center !important;
  align-self:center !important;
  margin:0 0 0 22px !important;
  padding:8px 12px !important;
  transform:translateY(0) !important;
  height:50px !important;
  width:max-content !important;
  max-width:none !important;
  overflow:visible !important;
  flex:0 0 auto !important;
}
.public-nav > .logo .logo-copy{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  min-width:max-content !important;
  overflow:visible !important;
  transform:none !important;
}
.public-nav > .logo .logo-word{
  display:inline-block !important;
  position:relative !important;
  overflow:visible !important;
  white-space:nowrap !important;
  font-family:"Inter Tight","Sora","Plus Jakarta Sans","SF Pro Display","Segoe UI",ui-sans-serif,system-ui,sans-serif !important;
  font-weight:800 !important;
  letter-spacing:-.075em !important;
  font-size:1.04em !important;
  line-height:1 !important;
  background:linear-gradient(105deg,#ffffff 0%,#eee9ff 26%,#b89cff 58%,#67e8ff 100%) !important;
  background-size:190% 100% !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
  animation:evruniWordShift 8s ease-in-out infinite !important;
  filter:drop-shadow(0 0 10px rgba(126,91,255,.10)) !important;
}
.public-nav > .logo .logo-word:before,
.public-nav > .logo .logo-word:after{
  overflow:visible !important;
}
.public-nav > .logo .logo-mark{
  flex:0 0 34px !important;
}
.public-nav .public-actions{
  align-items:center !important;
  align-self:center !important;
}

/* The upper decorative arc above the wordmark stays removed. */
.public-nav > .logo .logo-copy:before{
  display:none !important;
}

@media(max-width:850px){.payment-country-grid{grid-template-columns:1fr}.billing-amount-row input{width:100%}.billing-action{justify-content:stretch}.billing-action .primary{width:100%}}@media(max-width:560px){
  .public-nav > .logo{
    margin-left:10px !important;
    transform:none !important;
    height:44px !important;
  }
}

/* V7.0: lightweight animated Evruni wordmark */
.public-nav > .logo .logo-word{
  position:relative !important;
  background:linear-gradient(100deg,#ffffff 0%,#eee9ff 30%,#b89cff 52%,#67e8ff 72%,#ffffff 100%) !important;
  background-size:220% 100% !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
  animation:evruniWordShimmer 7s ease-in-out infinite !important;
  will-change:background-position !important;
}
@keyframes evruniWordShimmer{
  0%,100%{background-position:0% 50%}
  50%{background-position:100% 50%}
}
@media (prefers-reduced-motion:reduce){
  .public-nav > .logo .logo-word{
    animation:none !important;
    background-position:50% 50% !important;
  }
}

/* V7.1: subtle ambient AI ecosystem layer */
.public-main{position:relative !important;overflow:hidden !important}
.evruni-ai-ambient{
  position:absolute;z-index:0;left:50%;top:31%;width:min(1120px,94vw);height:520px;
  transform:translate(-50%,-50%);pointer-events:none;user-select:none;
  opacity:.24;filter:blur(.25px);
}
.evruni-ai-ambient span{
  position:absolute;display:block;color:rgba(205,198,235,.55);
  font-size:clamp(13px,1.15vw,18px);font-weight:600;letter-spacing:.02em;
  white-space:nowrap;text-shadow:0 0 18px rgba(126,91,255,.10);
  opacity:.38;animation:evruniAiFloat 16s ease-in-out infinite;
}
.evruni-ai-ambient span:nth-child(1){left:3%;top:16%;animation-delay:-2s}
.evruni-ai-ambient span:nth-child(2){left:18%;top:5%;animation-delay:-9s}
.evruni-ai-ambient span:nth-child(3){left:43%;top:11%;animation-delay:-5s}
.evruni-ai-ambient span:nth-child(4){left:73%;top:6%;animation-delay:-12s}
.evruni-ai-ambient span:nth-child(5){left:87%;top:20%;animation-delay:-7s}
.evruni-ai-ambient span:nth-child(6){left:8%;top:43%;animation-delay:-11s}
.evruni-ai-ambient span:nth-child(7){left:27%;top:37%;animation-delay:-3s}
.evruni-ai-ambient span:nth-child(8){left:57%;top:41%;animation-delay:-14s}
.evruni-ai-ambient span:nth-child(9){left:80%;top:45%;animation-delay:-6s}
.evruni-ai-ambient span:nth-child(10){left:3%;top:68%;animation-delay:-10s}
.evruni-ai-ambient span:nth-child(11){left:20%;top:77%;animation-delay:-4s}
.evruni-ai-ambient span:nth-child(12){left:43%;top:70%;animation-delay:-13s}
.evruni-ai-ambient span:nth-child(13){left:68%;top:76%;animation-delay:-8s}
.evruni-ai-ambient span:nth-child(14){left:88%;top:67%;animation-delay:-15s}
.evruni-ai-ambient span:nth-child(15){left:8%;top:28%;animation-delay:-1s}
.evruni-ai-ambient span:nth-child(16){left:34%;top:55%;animation-delay:-7s}
.evruni-ai-ambient span:nth-child(17){left:63%;top:25%;animation-delay:-11s}
.evruni-ai-ambient span:nth-child(18){left:90%;top:38%;animation-delay:-5s}
.evruni-ai-ambient span:nth-child(19){left:27%;top:64%;animation-delay:-9s}
.evruni-ai-ambient span:nth-child(20){left:74%;top:60%;animation-delay:-3s}
@keyframes evruniAiFloat{
  0%,100%{transform:translate3d(0,0,0);opacity:.18}
  50%{transform:translate3d(0,-8px,0);opacity:.34}
}
.public-main > *:not(.evruni-ai-ambient){position:relative;z-index:1}
@media (prefers-reduced-motion:reduce){.evruni-ai-ambient span{animation:none !important}}
@media (max-width:700px){
  .evruni-ai-ambient{width:110vw;height:300px;top:46%;opacity:.11}
  .evruni-ai-ambient span{font-size:12px}
}

/* V7.3: subtle light sweep across the Evruni wordmark */
.public-nav > .logo .logo-word{
  position:relative !important;
  overflow:hidden !important;
  isolation:isolate;
}
.public-nav > .logo .logo-word::after{
  content:"";
  position:absolute;
  z-index:2;
  top:-35%;
  bottom:-35%;
  left:-38%;
  width:20%;
  pointer-events:none;
  background:linear-gradient(
    105deg,
    transparent 0%,
    rgba(255,255,255,0) 18%,
    rgba(255,255,255,.78) 48%,
    rgba(139,92,246,.32) 58%,
    rgba(103,232,255,.18) 68%,
    transparent 100%
  );
  transform:translateX(-120%) skewX(-16deg);
  filter:blur(3px);
  opacity:0;
  animation:evruniLogoSweep 5.8s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes evruniLogoSweep{
  0%,66%{transform:translateX(-120%) skewX(-16deg);opacity:0}
  70%{opacity:.08}
  78%{opacity:.82}
  88%{opacity:.12}
  100%{transform:translateX(650%) skewX(-16deg);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .public-nav > .logo .logo-word::after{animation:none !important;opacity:0 !important}
}


/* V7.9: admin language switch — top right */
.admin-language-switch{
  position:fixed !important;
  top:18px !important;
  right:22px !important;
  z-index:9999 !important;
  display:flex !important;
  align-items:center !important;
  gap:2px !important;
  padding:3px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-radius:10px !important;
  background:rgba(10,11,20,.72) !important;
  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
  box-shadow:0 8px 28px rgba(0,0,0,.22) !important;
}
.admin-language-switch button{
  appearance:none !important;
  border:0 !important;
  border-radius:7px !important;
  padding:5px 8px !important;
  min-width:34px !important;
  background:transparent !important;
  color:rgba(220,218,235,.62) !important;
  font:700 11px/1 "Inter","Segoe UI",sans-serif !important;
  letter-spacing:.04em !important;
  cursor:pointer !important;
  transition:background .18s ease,color .18s ease,transform .18s ease !important;
}
.admin-language-switch button:hover{
  color:#fff !important;
  transform:translateY(-1px) !important;
}
.admin-language-switch button.active{
  color:#fff !important;
  background:rgba(126,91,255,.30) !important;
}
@media(max-width:700px){
  .admin-language-switch{top:12px !important;right:12px !important}
}

/* V8.0: visible logo light sweep */
.public-nav > .logo .logo-word{
  position:relative !important;
  display:inline-block !important;
  overflow:hidden !important;
  isolation:isolate !important;
}
.public-nav > .logo .logo-word::after{
  content:"" !important;
  position:absolute !important;
  z-index:3 !important;
  top:-45% !important;
  bottom:-45% !important;
  left:-28% !important;
  width:16% !important;
  pointer-events:none !important;
  background:linear-gradient(
    105deg,
    transparent 0%,
    rgba(255,255,255,0) 20%,
    rgba(255,255,255,.92) 48%,
    rgba(190,168,255,.58) 58%,
    rgba(103,232,255,.28) 70%,
    transparent 100%
  ) !important;
  transform:translateX(-160%) skewX(-18deg) !important;
  filter:blur(2px) !important;
  opacity:0 !important;
  animation:evruniLogoLightSweep 5.6s cubic-bezier(.4,0,.2,1) infinite !important;
}
@keyframes evruniLogoLightSweep{
  0%,62%{transform:translateX(-160%) skewX(-18deg);opacity:0}
  68%{opacity:.18}
  76%{opacity:.95}
  84%{opacity:.20}
  100%{transform:translateX(720%) skewX(-18deg);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .public-nav > .logo .logo-word::after{
    animation:none !important;
    opacity:0 !important;
  }
}


/* V8.8: visible comet above the Evruni wordmark */
.public-nav > .logo .logo-copy{position:relative!important;overflow:visible!important;isolation:isolate!important}
.public-nav > .logo .logo-comet{
 position:absolute!important;left:-18px!important;top:-16px!important;width:52px!important;height:8px!important;display:block!important;z-index:999!important;pointer-events:none!important;opacity:0!important;
 border-radius:999px!important;
 background:linear-gradient(90deg,transparent 0%,rgba(103,232,255,.15) 18%,rgba(190,168,255,.65) 55%,#fff 88%,transparent 100%)!important;
 filter:blur(.2px) drop-shadow(0 0 4px #fff) drop-shadow(0 0 10px rgba(103,232,255,1)) drop-shadow(0 0 18px rgba(139,92,246,.9))!important;
 transform:translate3d(0,10px,0) rotate(-9deg)!important;
 animation:evruniComet88 3.6s cubic-bezier(.25,.05,.2,1) infinite!important;
}
.public-nav > .logo .logo-comet i{
 position:absolute!important;right:0!important;top:-4px!important;width:16px!important;height:16px!important;border-radius:50%!important;background:#fff!important;border:0!important;
 box-shadow:0 0 5px #fff,0 0 12px rgba(103,232,255,1),0 0 24px rgba(139,92,246,.9)!important;
}
@keyframes evruniComet88{
 0%,8%{opacity:0;transform:translate3d(-8px,14px,0) rotate(-10deg) scale(.55)}
 14%{opacity:1}
 30%{opacity:1;transform:translate3d(30px,2px,0) rotate(-7deg) scale(1)}
 50%{opacity:1;transform:translate3d(72px,-7px,0) rotate(-3deg) scale(1.05)}
 70%{opacity:1;transform:translate3d(112px,0,0) rotate(2deg) scale(1)}
 88%{opacity:.65;transform:translate3d(150px,10px,0) rotate(6deg) scale(.8)}
 100%{opacity:0;transform:translate3d(178px,16px,0) rotate(8deg) scale(.5)}
}
@media(max-width:850px){.payment-country-grid{grid-template-columns:1fr}.billing-amount-row input{width:100%}.billing-action{justify-content:stretch}.billing-action .primary{width:100%}}@media(max-width:560px){.public-nav > .logo .logo-comet{top:-13px!important;animation-duration:3.3s!important}}
@media(prefers-reduced-motion:reduce){.public-nav > .logo .logo-comet{animation:none!important;opacity:0!important}}


/* V9.4: center public auth popup against the actual browser viewport.
   .public-page has translateZ(0), which can create a containing block for
   position:fixed descendants and shift the popup off-center. */
body.public-page:has(.auth-modal.show){
  transform:none !important;
}
.auth-modal{
  position:fixed !important;
  inset:0 !important;
  width:100vw !important;
  height:100vh !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 !important;
  padding:0 !important;
}
.auth-modal-card{
  margin:0 !important;
  left:auto !important;
  right:auto !important;
}

/* V9.7: Evruni AI 404 experience */
.evruni-404{
  min-height:100vh;
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:#060812;
  color:#eef0fa;
}
.evruni-404 .ambient{
  position:absolute;
  border-radius:50%;
  filter:blur(70px);
  opacity:.34;
  pointer-events:none;
  z-index:-1;
}
.evruni-404 .ambient.a{
  width:430px;height:430px;left:-130px;top:8%;
  background:radial-gradient(circle,rgba(126,91,255,.45),transparent 68%);
  animation:ev404FloatA 9s ease-in-out infinite;
}
.evruni-404 .ambient.b{
  width:520px;height:520px;right:-180px;bottom:-120px;
  background:radial-gradient(circle,rgba(78,214,255,.28),transparent 68%);
  animation:ev404FloatB 11s ease-in-out infinite;
}
.evruni-404 .grid{
  position:absolute;inset:-20%;
  opacity:.16;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:42px 42px;
  transform:perspective(700px) rotateX(58deg) translateY(22%);
  transform-origin:center bottom;
  mask-image:linear-gradient(to bottom,transparent 0%,#000 35%,#000 75%,transparent 100%);
  animation:ev404Grid 14s linear infinite;
  pointer-events:none;
}
.evruni-404 .shell{
  width:min(900px,calc(100% - 36px));
  text-align:center;
  padding:50px 24px 56px;
}
.evruni-404 .mini{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;border:1px solid rgba(255,255,255,.09);
  border-radius:999px;background:rgba(12,16,29,.58);
  color:#9ca7bd;font-size:12px;letter-spacing:.12em;text-transform:uppercase;
  backdrop-filter:blur(14px);
}
.evruni-404 .pulse{
  width:7px;height:7px;border-radius:50%;
  background:#8f78ff;box-shadow:0 0 16px #8f78ff;
  animation:ev404Pulse 1.7s ease-in-out infinite;
}
.evruni-404 .code{
  position:relative;margin:18px 0 4px;
  font-size:clamp(110px,22vw,250px);
  line-height:.82;letter-spacing:-.085em;font-weight:900;
  background:linear-gradient(115deg,#fff 4%,#b99cff 38%,#6ce7ff 68%,#fff 92%);
  background-size:220% 100%;
  -webkit-background-clip:text;background-clip:text;color:transparent;
  animation:ev404Code 6s ease-in-out infinite;
  filter:drop-shadow(0 0 34px rgba(126,91,255,.18));
}
.evruni-404 .code::after{
  content:"";
  position:absolute;left:18%;right:18%;top:51%;height:2px;
  background:linear-gradient(90deg,transparent,#fff,rgba(103,232,255,.85),transparent);
  box-shadow:0 0 14px rgba(103,232,255,.8),0 0 28px rgba(126,91,255,.6);
  transform:skewX(-22deg);
  animation:ev404Scan 3.8s ease-in-out infinite;
}
.evruni-404 h1{
  margin:30px 0 10px;font-size:clamp(25px,4vw,42px);
  letter-spacing:-.04em;
}
.evruni-404 p{
  margin:0 auto;color:#8995ad;max-width:590px;
  font-size:15px;line-height:1.75;
}
.evruni-404 .actions{
  display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:28px;
}
.evruni-404 .actions a{
  text-decoration:none;display:inline-flex;align-items:center;justify-content:center;
  min-width:148px;padding:12px 18px;border-radius:12px;font-size:13px;font-weight:700;
  border:1px solid rgba(255,255,255,.09);color:#eef0fa;
  background:rgba(16,20,34,.72);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.evruni-404 .actions a.primary{
  border-color:rgba(145,112,255,.48);
  background:linear-gradient(135deg,rgba(113,75,255,.9),rgba(73,179,255,.78));
  box-shadow:0 12px 34px rgba(93,77,255,.18);
}
.evruni-404 .actions a:hover{transform:translateY(-2px);border-color:rgba(180,166,255,.55)}
.evruni-404 .orbit{
  position:absolute;width:min(72vw,650px);aspect-ratio:1;border:1px solid rgba(126,91,255,.10);
  border-radius:50%;pointer-events:none;
  animation:ev404Orbit 16s linear infinite;
}
.evruni-404 .orbit::before{
  content:"";position:absolute;width:9px;height:9px;left:8%;top:14%;
  border-radius:50%;background:#fff;box-shadow:0 0 12px #fff,0 0 30px #67e8ff;
}
@keyframes ev404FloatA{50%{transform:translate(55px,30px) scale(1.08)}}
@keyframes ev404FloatB{50%{transform:translate(-40px,-35px) scale(.94)}}
@keyframes ev404Grid{to{transform:perspective(700px) rotateX(58deg) translateY(42%)}}
@keyframes ev404Pulse{50%{opacity:.35;transform:scale(.72)}}
@keyframes ev404Code{50%{background-position:100% 50%;transform:translateY(-3px)}}
@keyframes ev404Scan{
  0%,100%{opacity:0;transform:translateX(-80%) skewX(-22deg)}
  42%,60%{opacity:1;transform:translateX(80%) skewX(-22deg)}
}
@keyframes ev404Orbit{to{transform:rotate(360deg)}}
@media(max-width:600px){
  .evruni-404 .shell{padding:38px 12px}
  .evruni-404 .orbit{width:105vw}
  .evruni-404 .code{font-size:clamp(100px,30vw,170px)}
  .evruni-404 .code::after{left:8%;right:8%}
}
@media(prefers-reduced-motion:reduce){
  .evruni-404 *{animation:none !important}
}

/* Evruni smooth motion optimization — transform/opacity based, low overhead */
:root{
  --ev-motion:cubic-bezier(.22,1,.36,1);
  --ev-motion-fast:cubic-bezier(.16,1,.3,1);
}
button,.btn,.icon-btn{
  transition:
    transform .12s var(--ev-motion-fast),
    opacity .12s ease,
    border-color .12s ease,
    background-color .12s ease;
}
a,.nav-item,.tool-card,.model-card,.package-card,.setting-card,
.panel,.card,.view-card,.input,.select,.textarea,.profile-menu,
.sidebar,.topbar{
  transition:
    transform .20s var(--ev-motion),
    opacity .20s var(--ev-motion),
    border-color .20s ease,
    background-color .20s ease;
}
button:hover,.btn:hover,.tool-card:hover,.model-card:hover,.package-card:hover,
.setting-card:hover,.nav-item:hover,.icon-btn:hover{
  transform:translateY(-2px);
}
button:active,.btn:active,.tool-card:active,.model-card:active,
.package-card:active,.nav-item:active,.icon-btn:active{
  transform:translateY(0) scale(.985);
}
a:hover{opacity:.92}
.view-card,.panel,.card{
  backface-visibility:hidden;
  transform:translateZ(0);
}
.dashboard-ambient,.hero-orb,.hero-card,.evruni-ai-ambient span,
.logo-word,.logo-mark,.logo-comet,.evruni-404 .ev404-orbit{
  backface-visibility:hidden;
  transform:translateZ(0);
}
.messages{
  scroll-behavior:smooth;
  overscroll-behavior:contain;
}
.messages::-webkit-scrollbar{width:8px}
.messages::-webkit-scrollbar-thumb{
  background:rgba(145,126,255,.18);
  border-radius:99px;
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    scroll-behavior:auto !important;
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  button:hover,.btn:hover,.tool-card:hover,.model-card:hover,.package-card:hover,
  .setting-card:hover,.nav-item:hover,.icon-btn:hover{
    transform:none !important;
  }
}



/* Evruni FPS optimization — compositor-friendly interactive states */
button,.btn,.icon-btn,.nav-item,.tool-card,.model-card,.package-card,.setting-card{
  will-change:transform,opacity;
  backface-visibility:hidden;
  transform:translateZ(0);
}
button:hover,.btn:hover,.icon-btn:hover,.nav-item:hover,
.tool-card:hover,.model-card:hover,.package-card:hover,.setting-card:hover{
  transform:translate3d(0,-2px,0);
}
button:active,.btn:active,.icon-btn:active,.tool-card:active,
.model-card:active,.package-card:active,.setting-card:active{
  transform:translate3d(0,0,0) scale(.985);
}
@media (hover:hover){
  button,.btn,.icon-btn{
    transition:transform .14s var(--ev-motion-fast),
               opacity .14s ease,
               border-color .14s ease,
               background-color .14s ease;
  }
}
@media (prefers-reduced-motion:reduce){
  button,.btn,.icon-btn,.nav-item,.tool-card,.model-card,.package-card,.setting-card{
    will-change:auto !important;
    transform:none !important;
  }
}


/* Evruni v9.18 authoritative button hover */
@media (hover:hover){
  button,.btn,.icon-btn{
    will-change:transform;
    transition:transform .16s var(--ev-motion-fast),
               opacity .16s ease,
               background-color .16s ease,
               border-color .16s ease !important;
  }
  button:hover,.btn:hover,.icon-btn:hover{
    transform:translate3d(0,-2px,0) !important;
  }
  button:active,.btn:active,.icon-btn:active{
    transform:translate3d(0,0,0) scale(.985) !important;
  }
}

/* Evruni v9.22 performance containment */
.app-shell,.workspace,.sidebar,.main-content,.panel{
  contain:layout paint;
}
.messages,.chat-list,.model-grid{
  contain:content;
}

/* Evruni V9.25 upload button style */
.upload-zone input[type="file"]{
  width:min(100%,520px);
  padding:7px;
  border:1px solid rgba(157,170,204,.14);
  border-radius:14px;
  background:rgba(8,12,24,.78);
  color:#aeb7cb;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 8px 24px rgba(0,0,0,.12);
  cursor:pointer;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.upload-zone input[type="file"]::file-selector-button{
  margin-right:10px;
  padding:10px 16px;
  border:1px solid rgba(184,168,255,.34);
  border-radius:11px;
  background:linear-gradient(135deg,#9b84ff 0%,#7655f3 58%,#5d3ce0 100%);
  color:#fff;
  font:800 13px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:.01em;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(106,73,238,.22),inset 0 1px 0 rgba(255,255,255,.18);
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
.upload-zone input[type="file"]::-webkit-file-upload-button{
  margin-right:10px;
  padding:10px 16px;
  border:1px solid rgba(184,168,255,.34);
  border-radius:11px;
  background:linear-gradient(135deg,#9b84ff 0%,#7655f3 58%,#5d3ce0 100%);
  color:#fff;
  font:800 13px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:.01em;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(106,73,238,.22),inset 0 1px 0 rgba(255,255,255,.18);
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease;
}
.upload-zone input[type="file"]:hover{
  border-color:rgba(173,151,255,.42);
  background:rgba(10,15,28,.92);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 10px 28px rgba(106,73,238,.10);
}
.upload-zone input[type="file"]::file-selector-button:hover,
.upload-zone input[type="file"]::-webkit-file-upload-button:hover{
  transform:translateY(-1px);
  filter:brightness(1.06);
  box-shadow:0 12px 28px rgba(106,73,238,.32),inset 0 1px 0 rgba(255,255,255,.22);
}
.upload-zone input[type="file"]::file-selector-button:active,
.upload-zone input[type="file"]::-webkit-file-upload-button:active{
  transform:translateY(0) scale(.985);
}
@media(max-width:850px){.payment-country-grid{grid-template-columns:1fr}.billing-amount-row input{width:100%}.billing-action{justify-content:stretch}.billing-action .primary{width:100%}}@media(max-width:560px){
  .upload-zone input[type="file"]{
    width:100%;
    font-size:12px;
  }
  .upload-zone input[type="file"]::file-selector-button,
  .upload-zone input[type="file"]::-webkit-file-upload-button{
    padding:9px 13px;
    margin-right:8px;
  }
}

/* Evruni V9.26 real file picker */
.upload-zone .evruni-file-picker{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin:0 auto 18px;
}
.upload-zone .evruni-file-picker input[type="file"]{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
.upload-zone .evruni-file-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 18px;
  border:1px solid rgba(184,168,255,.38);
  border-radius:12px;
  background:linear-gradient(135deg,#9b84ff 0%,#7655f3 58%,#5d3ce0 100%);
  color:#fff;
  font:800 14px/1 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  letter-spacing:.01em;
  cursor:pointer;
  box-shadow:0 9px 24px rgba(106,73,238,.24),inset 0 1px 0 rgba(255,255,255,.18);
  transition:transform .14s cubic-bezier(.16,1,.3,1),box-shadow .14s ease,filter .14s ease;
}
.upload-zone .evruni-file-button:hover{
  transform:translateY(-2px);
  filter:brightness(1.06);
  box-shadow:0 13px 30px rgba(106,73,238,.34),inset 0 1px 0 rgba(255,255,255,.22);
}
.upload-zone .evruni-file-button:active{
  transform:translateY(0) scale(.985);
}
.upload-zone .evruni-file-picker input[type="file"]:focus-visible + .evruni-file-button{
  outline:2px solid rgba(103,232,255,.7);
  outline-offset:3px;
}
.upload-zone .evruni-file-name{
  max-width:min(100%,360px);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  padding:10px 13px;
  border:1px solid rgba(157,170,204,.12);
  border-radius:11px;
  background:rgba(8,12,24,.62);
  color:#aeb7cb;
  font-size:13px;
}
/* Evruni V9.27 logo light sweep */

/* Evruni V9.27 logo light sweep */
.public-nav > .logo .logo-word{
  position:relative !important;
  display:inline-block !important;
  overflow:hidden !important;
  isolation:isolate !important;
}
.public-nav > .logo .logo-word::after{
  content:"" !important;
  position:absolute !important;
  z-index:3 !important;
  top:-45% !important;
  bottom:-45% !important;
  left:-28% !important;
  width:16% !important;
  pointer-events:none !important;
  background:linear-gradient(
    105deg,
    transparent 0%,
    rgba(255,255,255,0) 20%,
    rgba(255,255,255,.94) 48%,
    rgba(190,168,255,.62) 58%,
    rgba(103,232,255,.30) 70%,
    transparent 100%
  ) !important;
  transform:translateX(-160%) skewX(-18deg) !important;
  filter:blur(2px) !important;
  opacity:0 !important;
  animation:evruniLogoLightSweep 5.6s cubic-bezier(.4,0,.2,1) infinite !important;
}
@keyframes evruniLogoLightSweep{
  0%,62%{transform:translateX(-160%) skewX(-18deg);opacity:0}
  68%{opacity:.18}
  76%{opacity:.95}
  84%{opacity:.20}
  100%{transform:translateX(720%) skewX(-18deg);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .public-nav > .logo .logo-word::after{
    animation:none !important;
    opacity:0 !important;
  }
}

/* Evruni V9.28 performance pass */
button,.btn,.icon-btn,.nav-item,.tool-card,.model-card,.package-card,.setting-card{
  will-change:auto !important;
  backface-visibility:visible !important;
  transform:none;
}
.view-card,.panel,.card,.tool-card,.model-card,.package-card,.setting-card,.admin-panel{
  contain:layout paint;
}
/* Evruni V9.29 logo beam + modern empty chat */

/* Evruni V9.29 logo beam + modern empty chat */

/* A visible light beam flies ABOVE and across the Evruni letters. */
.logo .logo-copy{
  position:relative !important;
  overflow:visible !important;
}
.logo .logo-word{
  position:relative !important;
  display:inline-block !important;
  overflow:visible !important;
  isolation:isolate !important;
}
.logo .logo-word::before{
  content:"" !important;
  position:absolute !important;
  z-index:20 !important;
  left:-34% !important;
  top:-13px !important;
  width:34% !important;
  height:6px !important;
  border-radius:999px !important;
  pointer-events:none !important;
  background:linear-gradient(
    90deg,
    transparent 0%,
    rgba(103,232,255,.08) 12%,
    rgba(184,156,255,.55) 42%,
    #fff 67%,
    rgba(103,232,255,.45) 82%,
    transparent 100%
  ) !important;
  filter:blur(1px) drop-shadow(0 0 5px #fff) drop-shadow(0 0 12px rgba(103,232,255,.85)) drop-shadow(0 0 20px rgba(139,92,246,.72)) !important;
  opacity:0 !important;
  transform:translate3d(0,0,0) rotate(-7deg) !important;
  animation:evruniLogoBeam29 4.2s cubic-bezier(.25,.05,.2,1) infinite !important;
}
.logo .logo-word::after{
  content:"" !important;
  position:absolute !important;
  z-index:19 !important;
  left:-24% !important;
  top:-5px !important;
  width:18% !important;
  height:22px !important;
  border-radius:50% !important;
  pointer-events:none !important;
  background:radial-gradient(ellipse at center,rgba(255,255,255,.85) 0%,rgba(173,151,255,.42) 28%,rgba(103,232,255,.12) 52%,transparent 74%) !important;
  filter:blur(2px) !important;
  opacity:0 !important;
  transform:translate3d(0,0,0) !important;
  animation:evruniLogoGlow29 4.2s cubic-bezier(.25,.05,.2,1) infinite !important;
}
@keyframes evruniLogoBeam29{
  0%,55%{left:-34%;opacity:0;transform:translate3d(0,0,0) rotate(-7deg)}
  60%{opacity:.25}
  67%{opacity:1}
  76%{opacity:.65}
  86%{left:116%;opacity:0;transform:translate3d(0,0,0) rotate(-7deg)}
  100%{left:116%;opacity:0}
}
@keyframes evruniLogoGlow29{
  0%,55%{left:-24%;opacity:0}
  64%{opacity:.55}
  74%{opacity:.95}
  86%{left:116%;opacity:0}
  100%{left:116%;opacity:0}
}

/* Modern animated AI empty state. */
.empty-orb{
  position:relative !important;
  isolation:isolate !important;
  animation:evruniEmptyOrb29 4.2s ease-in-out infinite !important;
}
.empty-orb::before{
  content:"" !important;
  position:absolute !important;
  inset:-14px !important;
  border:1px solid rgba(154,130,255,.28) !important;
  border-radius:50% !important;
  box-shadow:0 0 30px rgba(113,78,255,.14),inset 0 0 18px rgba(103,232,255,.06) !important;
  transform:rotate(0deg) scale(.94) !important;
  animation:evruniEmptyRing29 5.5s linear infinite !important;
  pointer-events:none !important;
}
.empty-orb::after{
  content:"" !important;
  position:absolute !important;
  width:7px !important;
  height:7px !important;
  left:50% !important;
  top:50% !important;
  margin:-3.5px !important;
  border-radius:50% !important;
  background:#fff !important;
  box-shadow:0 0 8px #fff,0 0 18px rgba(103,232,255,.95),0 0 30px rgba(139,92,246,.85) !important;
  transform:rotate(0deg) translateX(51px) scale(.8) !important;
  animation:evruniEmptyDot29 3.4s linear infinite !important;
  pointer-events:none !important;
}
@keyframes evruniEmptyOrb29{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-5px) scale(1.025)}
}
@keyframes evruniEmptyRing29{
  0%{transform:rotate(0deg) scale(.94);opacity:.35}
  50%{transform:rotate(180deg) scale(1.02);opacity:.72}
  100%{transform:rotate(360deg) scale(.94);opacity:.35}
}
@keyframes evruniEmptyDot29{
  0%{transform:rotate(0deg) translateX(51px) scale(.65);opacity:.35}
  50%{transform:rotate(180deg) translateX(51px) scale(1.1);opacity:1}
  100%{transform:rotate(360deg) translateX(51px) scale(.65);opacity:.35}
}
@media (prefers-reduced-motion:reduce){
  .logo .logo-word::before,.logo .logo-word::after,
  .empty-orb,.empty-orb::before,.empty-orb::after{
    animation:none !important;
  }
}

/* Evruni V9.30 audio file picker */
.evruni-audio-picker{
  justify-content:flex-start !important;
  margin:0 0 16px !important;
}
.evruni-audio-picker .evruni-file-name{
  max-width:calc(100% - 190px);
}
@media(max-width:850px){.payment-country-grid{grid-template-columns:1fr}.billing-amount-row input{width:100%}.billing-action{justify-content:stretch}.billing-action .primary{width:100%}}@media(max-width:560px){
  .evruni-audio-picker .evruni-file-name{
    max-width:100%;
    width:100%;
  }
}

/* Evruni V9.31 support chat */
.support-layout{
  display:grid;
  grid-template-columns:300px minmax(0,1fr);
  gap:14px;
  padding:0 26px 26px;
  min-height:560px;
}
.support-list-panel,.support-chat-panel{
  min-width:0;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(8,12,23,.66);
  overflow:hidden;
}
.support-list-head,.support-chat-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 15px;
  border-bottom:1px solid var(--line);
}
.support-list-head b,.support-chat-head b{font-size:14px}
.support-threads{padding:8px}
.support-thread{
  width:100%;
  display:flex;
  justify-content:space-between;
  gap:10px;
  text-align:left;
  border:1px solid transparent;
  background:transparent;
  color:#b8c0d1;
  border-radius:12px;
  padding:11px;
  margin-bottom:5px;
  cursor:pointer;
}
.support-thread:hover,.support-thread.active{
  background:rgba(141,112,255,.10);
  border-color:rgba(160,141,255,.18);
}
.support-thread span{min-width:0;display:flex;flex-direction:column;gap:4px}
.support-thread b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e9ecf7;font-size:12px}
.support-thread small,.support-thread i{font-size:9px;color:#68748c;font-style:normal}
.support-chat-panel{display:flex;flex-direction:column;min-height:560px}
.support-chat-head small{display:block;color:#68748c;font-size:9px;margin-top:4px}
.support-messages,.support-admin-messages{
  flex:1;
  overflow:auto;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.support-msg,.support-admin-msg{
  max-width:78%;
  padding:11px 13px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.025);
}
.support-msg.user,.support-admin-msg.user{align-self:flex-end;background:rgba(141,112,255,.11);border-color:rgba(160,141,255,.18)}
.support-msg.admin,.support-admin-msg.admin{align-self:flex-start;background:rgba(103,232,255,.035)}
.support-msg span,.support-admin-msg b{display:block;color:#a899ed;font-size:9px;margin-bottom:5px}
.support-msg p,.support-admin-msg p{margin:0;white-space:pre-wrap;line-height:1.5;font-size:12px;color:#dce1ed}
.support-msg small,.support-admin-msg small{display:block;margin-top:6px;color:#647087;font-size:8px}
.support-compose{
  display:flex;
  gap:8px;
  padding:12px;
  border-top:1px solid var(--line);
}
.support-compose textarea,.support-new-compose input,.support-new-compose textarea,.support-admin-compose textarea{
  flex:1;
  min-height:48px;
  resize:none;
  background:rgba(7,11,22,.82);
  border:1px solid var(--line);
  color:#e9ecf7;
  border-radius:12px;
  padding:11px 12px;
  outline:0;
  font:inherit;
}
.support-new-compose{display:flex;flex-direction:column;gap:10px;padding:18px}
.support-new-compose textarea{min-height:170px}
.support-placeholder{margin:auto;text-align:center;padding:30px;max-width:430px}
.support-placeholder h3{margin:18px 0 7px}
.support-placeholder p{margin:0;color:#707c93;font-size:12px}
.support-orb{margin:auto}
.support-closed-note{padding:13px;color:#7d879b;font-size:11px}
.support-admin-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.support-admin-head div{display:flex;flex-direction:column;gap:3px}
.support-admin-compose{display:flex;gap:8px;margin-top:12px}
.support-admin-compose textarea{flex:1;min-height:70px;resize:vertical}
@media(max-width:850px){
  .support-layout{grid-template-columns:1fr}
  .support-list-panel{max-height:300px}
  .support-chat-panel{min-height:520px}
}



/* Evruni V9.36 support notification badge */
.sidebar .side-bottom .nav[data-view="support"]{
  position:relative !important;
  overflow:visible !important;
  padding-right:38px !important;
}
.sidebar .side-bottom .nav[data-view="support"] .support-nav-badge{
  position:absolute !important;
  right:9px !important;
  top:50% !important;
  z-index:999 !important;
  transform:translateY(-50%) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:20px !important;
  height:20px !important;
  padding:0 6px !important;
  box-sizing:border-box !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,#b794ff,#7040f4) !important;
  border:1px solid rgba(255,255,255,.32) !important;
  color:#fff !important;
  font:800 10px/20px Inter,system-ui,sans-serif !important;
  box-shadow:0 0 0 3px rgba(112,64,244,.13),0 0 20px rgba(142,103,255,.72) !important;
  pointer-events:none !important;
  opacity:1 !important;
  visibility:visible !important;
}
.sidebar .side-bottom .nav[data-view="support"] .support-nav-badge[hidden]{
  display:none !important;
}

/* Evruni V9.39 support ticket scrolling — only support panels */
.support-layout{
  height:calc(100vh - 245px);
  min-height:560px;
  max-height:760px;
}
.support-list-panel,
.support-chat-panel{
  height:100%;
  min-height:0;
}
.support-list-panel{
  display:flex;
  flex-direction:column;
}
.support-threads{
  flex:1;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:thin;
}
.support-chat-panel{
  overflow:hidden;
}
.support-messages{
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-width:thin;
}
@media(max-width:850px){
  .support-layout{
    height:auto;
    max-height:none;
    min-height:0;
  }
  .support-list-panel{
    height:300px;
    max-height:300px;
  }
  .support-chat-panel{
    height:520px;
    min-height:520px;
  }
}


/* Evruni V9.51 — support button glow + moving light, no arcs */
.sidebar .side-bottom .nav[data-view="support"]{
  position:relative !important;
  justify-content:center !important;
  text-align:center !important;
  overflow:hidden !important;
  isolation:isolate !important;
  border-color:rgba(170,130,255,.38) !important;
  box-shadow:inset 0 0 18px rgba(150,105,255,.08) !important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease !important;
}
.sidebar .side-bottom .nav[data-view="support"] > span:nth-child(2){
  margin-left:auto !important;
  margin-right:auto !important;
  text-align:center !important;
  position:relative !important;
  z-index:4 !important;
  font-weight:800 !important;
}
.sidebar .side-bottom .nav[data-view="support"]::before{
  content:"" !important;
  position:absolute !important;
  top:50% !important;
  left:-12px !important;
  width:6px !important;
  height:6px !important;
  border-radius:50% !important;
  background:#fff !important;
  box-shadow:0 0 5px #fff,0 0 12px rgba(170,130,255,.95),0 0 22px rgba(110,190,255,.65) !important;
  transform:translate3d(-15px,-50%,0) !important;
  opacity:0 !important;
  pointer-events:none !important;
  z-index:3 !important;
  animation:evruniSupportMovingLight51 3.8s ease-in-out infinite !important;
}
.sidebar .side-bottom .nav[data-view="support"]::after{
  display:none !important;
  content:none !important;
}
.sidebar .side-bottom .nav[data-view="support"]:hover{
  transform:translateY(-1px) !important;
  border-color:rgba(195,165,255,.62) !important;
  box-shadow:inset 0 0 22px rgba(150,105,255,.14),0 0 16px rgba(150,105,255,.12) !important;
}
@keyframes evruniSupportMovingLight51{
  0%,8%{transform:translate3d(-15px,-50%,0) scale(.6);opacity:0}
  18%{opacity:1}
  45%{transform:translate3d(180px,-50%,0) scale(1);opacity:.95}
  72%{transform:translate3d(360px,-50%,0) scale(.75);opacity:.6}
  90%,100%{transform:translate3d(470px,-50%,0) scale(.45);opacity:0}
}
@media(prefers-reduced-motion:reduce){
  .sidebar .side-bottom .nav[data-view="support"]::before{animation:none !important;opacity:0 !important}
}


/* Evruni V9.52 — glass support button, centered label, no side icon */
.sidebar .side-bottom .nav[data-view="support"]{
  position:relative !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
  display:flex !important;
  overflow:hidden !important;
  isolation:isolate !important;
  padding-left:12px !important;
  padding-right:12px !important;
  background:rgba(255,255,255,.055) !important;
  border:1px solid rgba(255,255,255,.14) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 0 18px rgba(150,105,255,.07),
    0 8px 24px rgba(0,0,0,.14) !important;
  backdrop-filter:blur(14px) saturate(135%) !important;
  -webkit-backdrop-filter:blur(14px) saturate(135%) !important;
}
.sidebar .side-bottom .nav[data-view="support"] > span:first-child{
  display:none !important;
}
.sidebar .side-bottom .nav[data-view="support"] > span:nth-child(2){
  display:block !important;
  flex:0 0 auto !important;
  width:auto !important;
  margin:0 auto !important;
  text-align:center !important;
  position:relative !important;
  z-index:4 !important;
  color:#fff !important;
  font-weight:800 !important;
}


/* Evruni V9.53 — admin support scrolling */
.admin-support-list,
.support-admin-list,
.admin-support-threads{
  max-height:calc(100vh - 250px) !important;
  min-height:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  overscroll-behavior:contain !important;
  scrollbar-width:thin !important;
}
.admin-support-chat,
.support-admin-chat,
.admin-support-messages{
  min-height:0 !important;
  max-height:calc(100vh - 250px) !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  overscroll-behavior:contain !important;
  scrollbar-width:thin !important;
}



/* Evruni V9.60 — restore logo arc + moving light glow */
.public-nav > .logo .logo-copy{
  position:relative !important;
  overflow:visible !important;
}
.public-nav > .logo .logo-copy::before{
  content:"" !important;
  position:absolute !important;
  left:4px !important;
  right:4px !important;
  top:-9px !important;
  height:18px !important;
  border-top:1px solid rgba(190,168,255,.28) !important;
  border-radius:50% 50% 0 0 !important;
  box-shadow:0 -2px 14px rgba(150,105,255,.12) !important;
  pointer-events:none !important;
}
.public-nav > .logo .logo-word{
  position:relative !important;
  display:inline-block !important;
  overflow:hidden !important;
  isolation:isolate !important;
  background:linear-gradient(100deg,#ffffff 0%,#eee9ff 28%,#b89cff 52%,#67e8ff 72%,#ffffff 100%) !important;
  background-size:220% 100% !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
  animation:evruniLogoGlow60 7s ease-in-out infinite !important;
}
.public-nav > .logo .logo-word::after{
  content:"" !important;
  position:absolute !important;
  z-index:3 !important;
  top:-45% !important;
  bottom:-45% !important;
  left:-28% !important;
  width:16% !important;
  pointer-events:none !important;
  background:linear-gradient(
    105deg,
    transparent 0%,
    rgba(255,255,255,0) 20%,
    rgba(255,255,255,.94) 48%,
    rgba(190,168,255,.60) 58%,
    rgba(103,232,255,.30) 70%,
    transparent 100%
  ) !important;
  transform:translateX(-160%) skewX(-18deg) !important;
  filter:blur(2px) !important;
  opacity:0 !important;
  animation:evruniLogoLight60 5.6s cubic-bezier(.4,0,.2,1) infinite !important;
}
@keyframes evruniLogoGlow60{
  0%,100%{background-position:0% 50%}
  50%{background-position:100% 50%}
}
@keyframes evruniLogoLight60{
  0%,62%{transform:translateX(-160%) skewX(-18deg);opacity:0}
  68%{opacity:.18}
  76%{opacity:.95}
  84%{opacity:.20}
  100%{transform:translateX(720%) skewX(-18deg);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .public-nav > .logo .logo-word{
    animation:none !important;
    background-position:50% 50% !important;
  }
  .public-nav > .logo .logo-word::after{
    animation:none !important;
    opacity:0 !important;
  }
}


/* Evruni V9.61 — authoritative logo arc + glow, actual .logo markup */
.logo{
  position:relative !important;
  overflow:visible !important;
}
.logo .logo-copy{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  overflow:visible !important;
}
.logo .logo-copy::before{
  content:"" !important;
  position:absolute !important;
  left:2px !important;
  right:2px !important;
  top:-8px !important;
  height:14px !important;
  border-top:2px solid rgba(190,168,255,.42) !important;
  border-radius:50% 50% 0 0 !important;
  box-shadow:0 -2px 14px rgba(150,105,255,.28) !important;
  pointer-events:none !important;
  z-index:0 !important;
}
.logo .logo-word{
  position:relative !important;
  display:inline-block !important;
  overflow:visible !important;
  isolation:isolate !important;
  background:linear-gradient(100deg,#fff 0%,#eee9ff 30%,#b89cff 52%,#67e8ff 72%,#fff 100%) !important;
  background-size:220% 100% !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
  filter:drop-shadow(0 0 8px rgba(155,120,255,.28)) !important;
  animation:evruniLogoGlow61 7s ease-in-out infinite !important;
}
.logo .logo-word::after{
  content:"" !important;
  position:absolute !important;
  z-index:5 !important;
  top:-60% !important;
  bottom:-60% !important;
  left:-35% !important;
  width:18% !important;
  pointer-events:none !important;
  background:linear-gradient(105deg,transparent 0%,rgba(255,255,255,0) 22%,rgba(255,255,255,.98) 50%,rgba(190,168,255,.7) 62%,rgba(103,232,255,.35) 74%,transparent 100%) !important;
  transform:translateX(-180%) skewX(-18deg) !important;
  filter:blur(1.5px) !important;
  opacity:0 !important;
  animation:evruniLogoLight61 4.8s ease-in-out infinite !important;
}
@keyframes evruniLogoGlow61{
  0%,100%{background-position:0% 50%}
  50%{background-position:100% 50%}
}
@keyframes evruniLogoLight61{
  0%,58%{transform:translateX(-180%) skewX(-18deg);opacity:0}
  66%{opacity:.2}
  73%{opacity:1}
  80%{opacity:.22}
  100%{transform:translateX(760%) skewX(-18deg);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .logo .logo-word{animation:none !important;background-position:50% 50% !important;}
  .logo .logo-word::after{animation:none !important;opacity:0 !important;}
}


/* Evruni V9.67 — logo bottom arc + smooth bright light sweep */
.logo .logo-copy{
  position:relative !important;
  overflow:visible !important;
}
.logo .logo-copy::after{
  content:"" !important;
  position:absolute !important;
  left:4px !important;
  right:4px !important;
  bottom:-7px !important;
  height:12px !important;
  border-bottom:2px solid rgba(180,150,255,.46) !important;
  border-radius:0 0 50% 50% !important;
  box-shadow:
    0 4px 14px rgba(145,105,255,.18),
    0 1px 8px rgba(103,232,255,.08) !important;
  pointer-events:none !important;
  z-index:0 !important;
}
.logo .logo-word{
  position:relative !important;
  display:inline-block !important;
  overflow:hidden !important;
  isolation:isolate !important;
  background:linear-gradient(
    100deg,
    #ffffff 0%,
    #eee9ff 28%,
    #b89cff 50%,
    #67e8ff 68%,
    #ffffff 100%
  ) !important;
  background-size:220% 100% !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
  filter:drop-shadow(0 0 8px rgba(170,130,255,.22)) !important;
}
.logo .logo-word::after{
  content:"" !important;
  position:absolute !important;
  z-index:5 !important;
  top:-70% !important;
  bottom:-70% !important;
  left:-35% !important;
  width:18% !important;
  pointer-events:none !important;
  background:linear-gradient(
    105deg,
    transparent 0%,
    rgba(255,255,255,0) 20%,
    rgba(255,255,255,.98) 47%,
    rgba(220,205,255,.92) 55%,
    rgba(103,232,255,.58) 68%,
    transparent 100%
  ) !important;
  transform:translateX(-180%) skewX(-18deg) !important;
  filter:blur(1.2px) !important;
  opacity:0 !important;
  animation:evruniLogoLight67 5.8s cubic-bezier(.35,0,.2,1) infinite !important;
}
@keyframes evruniLogoLight67{
  0%,55%{
    transform:translateX(-180%) skewX(-18deg);
    opacity:0;
  }
  63%{opacity:.28}
  72%{opacity:1}
  80%{opacity:.32}
  100%{
    transform:translateX(760%) skewX(-18deg);
    opacity:0;
  }
}
@media (prefers-reduced-motion:reduce){
  .logo .logo-word::after{
    animation:none !important;
    opacity:0 !important;
  }
}


/* Evruni V9.68 — animated logo arc */
.logo .logo-copy::after{
  animation:evruniLogoArc68 4.8s ease-in-out infinite !important;
  transform-origin:center bottom !important;
}
@keyframes evruniLogoArc68{
  0%,100%{
    opacity:.42;
    transform:scaleX(.96) translateY(0);
    filter:drop-shadow(0 3px 8px rgba(145,105,255,.10));
  }
  50%{
    opacity:.9;
    transform:scaleX(1.035) translateY(-1px);
    filter:drop-shadow(0 3px 16px rgba(145,105,255,.32))
           drop-shadow(0 0 8px rgba(103,232,255,.12));
  }
}
@media (prefers-reduced-motion:reduce){
  .logo .logo-copy::after{
    animation:none !important;
    opacity:.46 !important;
    transform:none !important;
  }
}


/* Evruni V9.69 — prevent top clipping in left menu */
.sidebar,
.sidebar nav,
.sidebar .side-nav,
.sidebar .side-top{
  overflow:visible !important;
}
.sidebar nav{
  clip-path:none !important;
}
.sidebar nav .nav{
  overflow:visible !important;
}


/* Evruni V9.70 — animated modern color flow on logo letters */
.logo .logo-word{
  background:linear-gradient(
    105deg,
    #ffffff 0%,
    #b9a5ff 22%,
    #72d9ff 42%,
    #d7b8ff 58%,
    #8ff4ff 76%,
    #ffffff 100%
  ) !important;
  background-size:320% 100% !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
  animation:evruniLogoColorFlow70 6.5s ease-in-out infinite !important;
}
@keyframes evruniLogoColorFlow70{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}
@media (prefers-reduced-motion:reduce){
  .logo .logo-word{
    animation:none !important;
    background-position:50% 50% !important;
  }
}


/* Evruni V9.71 — restore glass surface above animated logo arc */
.logo .logo-copy{
  position:relative !important;
  z-index:1 !important;
}
.logo .logo-copy::before{
  z-index:0 !important;
}
.logo .logo-copy::after{
  z-index:0 !important;
  pointer-events:none !important;
}
.logo .logo-word,
.logo .logo-tag,
.logo .logo-comet{
  position:relative !important;
  z-index:2 !important;
}
.logo .logo-word::after{
  z-index:3 !important;
}


/* Evruni V9.72 — smooth sidebar hover + modern minimal icons */
.sidebar nav .nav{
  transition:
    background-color .28s cubic-bezier(.22,1,.36,1),
    border-color .28s cubic-bezier(.22,1,.36,1),
    color .28s cubic-bezier(.22,1,.36,1),
    transform .28s cubic-bezier(.22,1,.36,1),
    box-shadow .28s cubic-bezier(.22,1,.36,1) !important;
  will-change:background-color,transform !important;
}
.sidebar nav .nav > span:first-child{
  transition:
    color .28s cubic-bezier(.22,1,.36,1),
    background-color .28s cubic-bezier(.22,1,.36,1),
    border-color .28s cubic-bezier(.22,1,.36,1),
    transform .28s cubic-bezier(.22,1,.36,1) !important;
  font-family:Inter,"SF Pro Display","Segoe UI",sans-serif !important;
  font-weight:700 !important;
}
.sidebar nav .nav:hover{
  transform:translateX(2px) !important;
}
.sidebar nav .nav:hover > span:first-child{
  transform:scale(1.06) !important;
}
.sidebar nav .nav:active{
  transform:translateX(1px) scale(.995) !important;
}
@media (prefers-reduced-motion:reduce){
  .sidebar nav .nav,
  .sidebar nav .nav > span:first-child{
    transition:none !important;
  }
}


/* Evruni V9.75 — modern compact purple icon tiles */
.sidebar nav .nav > span:first-child{
  width:30px !important;
  height:30px !important;
  min-width:30px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:9px !important;
  background:linear-gradient(145deg,rgba(151,112,255,.22),rgba(101,78,190,.10)) !important;
  border:1px solid rgba(170,140,255,.20) !important;
  color:#c9b8ff !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 3px 12px rgba(100,70,210,.10) !important;
  font-size:14px !important;
  line-height:1 !important;
  flex:0 0 30px !important;
  transition:
    background .28s cubic-bezier(.22,1,.36,1),
    border-color .28s cubic-bezier(.22,1,.36,1),
    box-shadow .28s cubic-bezier(.22,1,.36,1),
    color .28s cubic-bezier(.22,1,.36,1),
    transform .28s cubic-bezier(.22,1,.36,1) !important;
}
.sidebar nav .nav:hover > span:first-child,
.sidebar nav .nav.active > span:first-child{
  background:linear-gradient(145deg,rgba(168,130,255,.34),rgba(105,82,205,.18)) !important;
  border-color:rgba(188,162,255,.38) !important;
  color:#eee8ff !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.11),
    0 5px 18px rgba(118,83,232,.20),
    0 0 12px rgba(151,112,255,.10) !important;
}


/* Evruni V9.76 — softer transparent purple icon glass */
.sidebar nav .nav > span:first-child{
  background:linear-gradient(145deg,rgba(151,112,255,.115),rgba(101,78,190,.045)) !important;
  border-color:rgba(190,165,255,.13) !important;
  color:rgba(205,190,255,.86) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 3px 12px rgba(100,70,210,.055) !important;
  backdrop-filter:blur(10px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(10px) saturate(125%) !important;
}
.sidebar nav .nav:hover > span:first-child,
.sidebar nav .nav.active > span:first-child{
  background:linear-gradient(145deg,rgba(168,130,255,.19),rgba(105,82,205,.075)) !important;
  border-color:rgba(205,185,255,.22) !important;
  color:rgba(238,232,255,.96) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.075),
    0 5px 18px rgba(118,83,232,.11),
    0 0 12px rgba(151,112,255,.07) !important;
}

/* Evruni V9.79 — foundation project/chat organization */
.projects-toolbar{display:flex;gap:10px;padding:0 26px 18px}
.projects-toolbar input{flex:1;min-width:0;background:rgba(7,11,22,.78);border:1px solid var(--line);color:#e9ecf7;border-radius:13px;padding:11px 13px;outline:0}
.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;padding:0 26px 26px}
.project-card{padding:18px;border:1px solid var(--line);border-radius:18px;background:rgba(12,16,29,.62);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.project-card:hover{transform:translateY(-2px);border-color:rgba(170,145,255,.24);box-shadow:0 12px 30px rgba(0,0,0,.16)}
.project-card-top{display:flex;align-items:center;justify-content:space-between}
.project-card h3{margin:16px 0 7px;font-size:18px}.project-card p{margin:0 0 12px;color:var(--muted);min-height:38px}.project-card small{color:var(--muted2)}
.project-dot{display:block;width:11px;height:11px;border-radius:50%;background:linear-gradient(135deg,#a98cff,#6e51ed);box-shadow:0 0 14px rgba(141,112,255,.35)}
.project-open,.thread-more{border:0;background:transparent;color:#9f8cff;cursor:pointer}
.thread-row{display:flex;align-items:stretch;gap:3px}.thread-row .thread{flex:1;min-width:0}.thread-row .thread-more{width:32px;border-radius:10px;color:#78839a}.thread-row .thread-more:hover{background:rgba(255,255,255,.045);color:#c7b9ff}
.thread b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread-search{min-width:160px}
@media(max-width:850px){.projects-toolbar{flex-wrap:wrap}.projects-toolbar input{width:100%;flex-basis:100%}}

/* Evruni V9.81 — project file UI */
.project-files-mini{margin-top:14px;display:grid;gap:6px;max-height:118px;overflow:auto;padding-right:2px}
.project-file-row{display:flex;align-items:center;gap:7px;padding:7px 8px;border:1px solid rgba(157,170,204,.10);border-radius:10px;background:rgba(255,255,255,.018);font-size:11px;color:#b9c1d3}
.project-file-row span:nth-child(2){min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.project-file-delete{border:0;background:transparent;color:#6f7a92;cursor:pointer;padding:2px 5px}.project-file-delete:hover{color:#ff8da8}
.project-file-actions{margin-top:9px}
.project-files-btn{font-size:11px;padding:7px 10px}

/* Evruni V9.82 — attached file chips */
.chat-attached-files{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.chat-file-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid rgba(157,120,255,.18);border-radius:9px;background:rgba(130,95,220,.06);color:#b9b0d8;font-size:11px;max-width:260px}
.chat-file-chip button{border:0!important;background:transparent!important;box-shadow:none!important;color:#7f7896!important;padding:0 2px!important;cursor:pointer}
.chat-file-chip button:hover{color:#fff!important;transform:none!important}

/* Evruni V9.89 chat glass / scroll / project labels */
.chat-layout{
  height:calc(100vh - 430px) !important;
  min-height:500px !important;
  max-height:calc(100vh - 390px) !important;
  overflow:hidden !important;
  background:rgba(9,13,25,.42) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 24px 70px rgba(0,0,0,.20) !important;
  backdrop-filter:blur(22px) saturate(135%) !important;
  -webkit-backdrop-filter:blur(22px) saturate(135%) !important;
}
.thread-list{
  min-height:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  scrollbar-width:thin !important;
  background:rgba(13,18,32,.36) !important;
  border-right:1px solid rgba(255,255,255,.08) !important;
  backdrop-filter:blur(18px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(18px) saturate(125%) !important;
}
.thread{
  position:relative !important;
  margin-bottom:0 !important;
  padding:13px 10px !important;
  border:0 !important;
  border-bottom:1px solid rgba(255,255,255,.085) !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.thread:last-child{
  border-bottom-color:transparent !important;
}
.thread:hover{
  background:rgba(255,255,255,.035) !important;
  transform:none !important;
}
.thread.active{
  background:linear-gradient(100deg,rgba(141,112,255,.16),rgba(141,112,255,.035)) !important;
  border-bottom-color:rgba(158,137,255,.20) !important;
}
.thread-title{
  display:block !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.thread small{
  margin-top:4px !important;
}
.thread-project{
  color:#a99bdb !important;
  font-size:9px !important;
  letter-spacing:.01em !important;
}
.chat-panel{
  min-height:0 !important;
  overflow:hidden !important;
  background:rgba(7,11,21,.28) !important;
  backdrop-filter:blur(20px) saturate(125%) !important;
  -webkit-backdrop-filter:blur(20px) saturate(125%) !important;
}
.messages{
  min-height:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  background:
    radial-gradient(circle at 50% 42%,rgba(112,80,255,.045),transparent 34%),
    rgba(5,9,18,.12) !important;
  scrollbar-width:thin !important;
}
.chat-composer{
  flex:0 0 auto !important;
  background:rgba(12,17,30,.48) !important;
  border-top:1px solid rgba(255,255,255,.09) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035) !important;
  backdrop-filter:blur(24px) saturate(140%) !important;
  -webkit-backdrop-filter:blur(24px) saturate(140%) !important;
}
.chat-composer textarea{
  background:rgba(255,255,255,.045) !important;
  border-color:rgba(255,255,255,.11) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035) !important;
  backdrop-filter:blur(14px) !important;
  -webkit-backdrop-filter:blur(14px) !important;
}
.empty-chat{
  position:relative !important;
  min-height:260px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  margin:auto !important;
}
.empty-orb{
  position:relative !important;
  width:96px !important;
  height:96px !important;
  margin:0 auto 24px !important;
  animation:evruniChatOrb89 5.2s ease-in-out infinite !important;
}
.empty-orb::before,
.empty-orb::after{
  content:"" !important;
  position:absolute !important;
  inset:-16px !important;
  border:1px solid rgba(163,137,255,.22) !important;
  border-radius:50% !important;
  pointer-events:none !important;
}
.empty-orb::before{
  animation:evruniChatRing89 4.8s linear infinite !important;
  box-shadow:0 0 24px rgba(137,103,255,.10) !important;
}
.empty-orb::after{
  inset:-28px !important;
  border-color:rgba(103,232,255,.10) !important;
  animation:evruniChatRing89 7s linear infinite reverse !important;
}
@keyframes evruniChatOrb89{
  0%,100%{transform:translate3d(0,0,0) scale(1)}
  50%{transform:translate3d(0,-7px,0) scale(1.035)}
}
@keyframes evruniChatRing89{
  from{transform:rotate(0deg) scale(.96);opacity:.38}
  50%{opacity:.85}
  to{transform:rotate(360deg) scale(1.04);opacity:.38}
}
@media (max-width:850px){
  .chat-layout{
    height:auto !important;
    max-height:none !important;
    min-height:600px !important;
  }
  .thread-list{
    max-height:220px !important;
    min-height:0 !important;
    border-right:0 !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
  }
  .thread{
    border-bottom:1px solid rgba(255,255,255,.085) !important;
  }
}
@media (prefers-reduced-motion:reduce){
  .empty-orb,.empty-orb::before,.empty-orb::after{
    animation:none !important;
  }
}

/* Evruni V9.91 chat toolbar buttons */
.chat-toolbar{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}
.chat-toolbar-btn{
  height:44px !important;
  min-height:44px !important;
  border-radius:13px !important;
  border:1px solid rgba(255,255,255,.12) !important;
  background:rgba(255,255,255,.055) !important;
  color:#eef1ff !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 8px 24px rgba(0,0,0,.12) !important;
  backdrop-filter:blur(14px) saturate(135%) !important;
  -webkit-backdrop-filter:blur(14px) saturate(135%) !important;
  transition:transform .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease !important;
}
.chat-toolbar-btn:hover{
  transform:translate3d(0,-1px,0) !important;
  background:rgba(255,255,255,.075) !important;
  border-color:rgba(173,151,255,.30) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 10px 28px rgba(0,0,0,.16),
    0 0 18px rgba(137,103,255,.08) !important;
}
#chatModel.chat-toolbar-btn{
  min-width:220px !important;
  appearance:auto !important;
  -webkit-appearance:auto !important;
}
#newChat.chat-toolbar-btn{
  padding:0 16px !important;
}
@media(max-width:850px){.payment-country-grid{grid-template-columns:1fr}.billing-amount-row input{width:100%}.billing-action{justify-content:stretch}.billing-action .primary{width:100%}}@media(max-width:560px){
  .chat-toolbar{
    flex-wrap:wrap !important;
  }
  #chatModel.chat-toolbar-btn{
    min-width:0 !important;
    flex:1 1 190px !important;
  }
}

/* Evruni V9.92 — unified AI model dropdowns */
#chatModel.chat-toolbar-btn,
#imgModel,
#videoModel,
#researchModel,
#presetModel,
#sbModel{
  min-height:44px !important;
  height:44px !important;
  border-radius:16px !important;
  padding:0 42px 0 15px !important;
  border:1px solid rgba(255,255,255,.13) !important;
  background-color:rgba(255,255,255,.055) !important;
  color:#eef1ff !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.075),
    0 8px 24px rgba(0,0,0,.12) !important;
  backdrop-filter:blur(14px) saturate(135%) !important;
  -webkit-backdrop-filter:blur(14px) saturate(135%) !important;
  transition:transform .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease !important;
}
#chatModel.chat-toolbar-btn:hover,
#imgModel:hover,
#videoModel:hover,
#researchModel:hover,
#presetModel:hover,
#sbModel:hover{
  transform:translate3d(0,-1px,0) !important;
  background-color:rgba(255,255,255,.075) !important;
  border-color:rgba(173,151,255,.30) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 10px 28px rgba(0,0,0,.16),
    0 0 18px rgba(137,103,255,.08) !important;
}
#chatModel.chat-toolbar-btn:focus,
#imgModel:focus,
#videoModel:focus,
#researchModel:focus,
#presetModel:focus,
#sbModel:focus{
  outline:none !important;
  border-color:rgba(173,151,255,.42) !important;
  box-shadow:
    0 0 0 3px rgba(137,103,255,.10),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}
#imgModel,
#videoModel,
#researchModel,
#presetModel,
#sbModel{
  appearance:auto !important;
  -webkit-appearance:auto !important;
}


/* V9.96 — landing information panel, isolated */
.landing-intro-panel{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:34px;max-width:980px;margin:42px auto 0;padding:30px 34px;border:1px solid rgba(255,255,255,.11);border-radius:26px;background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.025));backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 20px 70px rgba(0,0,0,.18);animation:landingPanelIn .8s ease both}
.landing-intro-glow{position:absolute;width:260px;height:260px;right:18%;top:-150px;border-radius:50%;background:radial-gradient(circle,rgba(120,170,255,.22),transparent 68%);filter:blur(8px);animation:landingGlow 6s ease-in-out infinite}
.landing-intro-copy{position:relative;z-index:2}
.landing-intro-kicker{font-size:11px;letter-spacing:.22em;opacity:.55}
.landing-intro-copy h2{margin:8px 0 8px;font-size:26px;line-height:1.15}
.landing-intro-copy p{margin:0;max-width:620px;opacity:.68;line-height:1.55}
.landing-intro-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.landing-intro-pills span{padding:7px 11px;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:rgba(255,255,255,.045);font-size:12px;opacity:.82}
.landing-intro-orbit{position:relative;flex:0 0 145px;width:145px;height:145px;border-radius:50%;border:1px solid rgba(255,255,255,.1);box-shadow:0 0 55px rgba(100,160,255,.12);animation:landingOrbit 10s linear infinite}
.landing-intro-orbit:before,.landing-intro-orbit:after{content:"";position:absolute;inset:16px;border:1px solid rgba(255,255,255,.09);border-radius:50%}
.landing-intro-orbit:after{inset:37px}
.landing-intro-orbit b{position:absolute;inset:0;display:grid;place-items:center;font-size:25px;letter-spacing:.08em;text-shadow:0 0 22px rgba(160,200,255,.6);animation:landingCore 3s ease-in-out infinite}
.landing-intro-orbit i{position:absolute;width:7px;height:7px;border-radius:50%;background:rgba(190,220,255,.9);box-shadow:0 0 14px rgba(160,205,255,.9);left:calc(50% - 3.5px);top:-3.5px}
.landing-intro-orbit i:nth-child(2){top:auto;bottom:10px;left:18px}
.landing-intro-orbit i:nth-child(3){top:42px;left:auto;right:-3px}
@keyframes landingPanelIn{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes landingGlow{0%,100%{transform:translate3d(-15px,0,0);opacity:.55}50%{transform:translate3d(35px,25px,0);opacity:1}}
@keyframes landingOrbit{to{transform:rotate(360deg)}}
@keyframes landingCore{0%,100%{transform:scale(1);opacity:.78}50%{transform:scale(1.08);opacity:1}}
@media (max-width:700px){.landing-intro-panel{margin:28px 16px 0;padding:24px;gap:16px}.landing-intro-orbit{flex-basis:90px;width:90px;height:90px}.landing-intro-copy h2{font-size:21px}.landing-intro-pills{display:none}}
@media (prefers-reduced-motion:reduce){.landing-intro-panel,.landing-intro-glow,.landing-intro-orbit,.landing-intro-orbit b{animation:none}}

/* V9.97 — richer landing core + credit information */
.landing-intro-panel{gap:42px}
.landing-credit-box{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding:14px 15px;border:1px solid rgba(255,255,255,.11);border-radius:18px;background:rgba(255,255,255,.045);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.landing-credit-box strong{display:block;font-size:13px}
.landing-credit-box small{display:block;margin-top:4px;max-width:470px;line-height:1.4;opacity:.58;font-size:11px}
.landing-pricing-btn{border:1px solid rgba(255,255,255,.14);border-radius:13px;padding:10px 14px;color:inherit;background:rgba(255,255,255,.075);font:inherit;font-size:12px;white-space:nowrap;cursor:pointer;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.landing-pricing-btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.12);box-shadow:0 8px 28px rgba(80,140,255,.12)}
.landing-intro-orbit{border:0;box-shadow:none;overflow:visible}
.landing-intro-orbit:before,.landing-intro-orbit:after{display:none}
.landing-orbit-ring{position:absolute;inset:4px;border-radius:50%;border:1px solid rgba(115,180,255,.26);box-shadow:0 0 30px rgba(90,150,255,.12);animation:landingRingSpin 8s linear infinite}
.landing-ring-two{inset:18px;border-color:rgba(190,110,255,.27);animation-duration:5.5s;animation-direction:reverse}
.landing-ring-three{inset:34px;border-color:rgba(70,235,210,.28);animation-duration:4s}
.landing-orbit-ring:after{content:"";position:absolute;width:8px;height:8px;top:-4px;left:50%;border-radius:50%;background:#a9dcff;box-shadow:0 0 16px #8bd2ff,0 0 32px rgba(110,170,255,.75)}
.landing-ring-two:after{background:#e0a8ff;box-shadow:0 0 16px #d28cff,0 0 32px rgba(210,120,255,.7)}
.landing-ring-three:after{background:#8dffe7;box-shadow:0 0 16px #71ffe0,0 0 28px rgba(70,240,205,.7)}
.landing-orbit-pulse{position:absolute;inset:43px;border-radius:50%;background:radial-gradient(circle at 35% 30%,rgba(160,220,255,.95),rgba(120,100,255,.72) 28%,rgba(220,90,255,.35) 52%,transparent 72%);filter:blur(3px);box-shadow:0 0 25px rgba(110,160,255,.45),0 0 60px rgba(190,80,255,.2);animation:landingPulse 2.4s ease-in-out infinite}
.landing-intro-orbit i{z-index:4;width:6px;height:6px;animation:landingParticle 3s ease-in-out infinite}
.landing-intro-orbit i:nth-of-type(1){left:13px;top:52px;background:#78ddff;box-shadow:0 0 15px #78ddff}
.landing-intro-orbit i:nth-of-type(2){left:auto;right:17px;top:24px;background:#e08cff;box-shadow:0 0 15px #e08cff;animation-delay:.5s}
.landing-intro-orbit i:nth-of-type(3){left:auto;right:20px;top:auto;bottom:24px;background:#72ffe0;box-shadow:0 0 15px #72ffe0;animation-delay:1s}
.landing-intro-orbit i:nth-of-type(4){left:28px;top:auto;bottom:18px;background:#ffd37a;box-shadow:0 0 15px #ffd37a;animation-delay:1.5s}
.landing-intro-orbit b{z-index:5;color:#eef8ff;text-shadow:0 0 10px #8fdcff,0 0 28px rgba(160,90,255,.8);animation:landingCore 2.1s ease-in-out infinite}
@keyframes landingRingSpin{to{transform:rotate(360deg)}}
@keyframes landingPulse{0%,100%{transform:scale(.88);opacity:.68}50%{transform:scale(1.08);opacity:1}}
@keyframes landingParticle{0%,100%{transform:scale(.7);opacity:.55}50%{transform:scale(1.45);opacity:1}}
@media(max-width:700px){.landing-credit-box{align-items:flex-start;flex-direction:column}.landing-pricing-btn{width:100%}}
@media(prefers-reduced-motion:reduce){.landing-orbit-ring,.landing-orbit-pulse,.landing-intro-orbit i{animation:none}}



@media(max-width:700px){.landing-large-core-rays{top:65px;width:260px;height:260px}.landing-large-core-rays span{height:110px}}
@media(prefers-reduced-motion:reduce){.landing-large-core-rays,.landing-large-core-rays:before,.landing-large-core-rays span{animation:none}}



/* V10.1 — restrained hero core: slow light, clean orbits */
.hero-orb{position:relative;isolation:isolate;overflow:visible}
.hero-orb:before{content:"";position:absolute;inset:-6px;border-radius:50%;z-index:-1;
background:
radial-gradient(circle at 30% 28%,rgba(255,255,255,.34) 0 1.2%,transparent 2.4%),
radial-gradient(circle at 72% 22%,rgba(180,205,255,.42) 0 1%,transparent 2.2%),
radial-gradient(circle at 78% 68%,rgba(145,165,255,.32) 0 1%,transparent 2.2%),
radial-gradient(circle at 25% 74%,rgba(190,180,255,.28) 0 1%,transparent 2.2%);
filter:blur(.2px);opacity:.72;animation:heroCoreSlowGlow 12s ease-in-out infinite}
.hero-orb:after{content:"";position:absolute;inset:-22px;border-radius:50%;z-index:-2;
background:
radial-gradient(ellipse at center,transparent 53%,rgba(110,145,255,.12) 54%,transparent 55%),
radial-gradient(ellipse at center,transparent 66%,rgba(160,145,255,.10) 67%,transparent 68%);
transform:rotate(-12deg);filter:blur(.5px);animation:heroCoreOrbits 18s linear infinite}
.hero-orb span{position:relative;z-index:3;animation:heroCoreSymbolStrict 5s ease-in-out infinite}
.hero-orb .orbit-one,.hero-orb .orbit-two{position:absolute;inset:-14px;border:1px solid rgba(155,180,255,.16);border-radius:50%;pointer-events:none;z-index:1}
.hero-orb .orbit-one{transform:rotate(24deg) scaleY(.46);animation:heroOrbitOne 16s linear infinite}
.hero-orb .orbit-two{inset:-28px;border-color:rgba(180,165,255,.11);transform:rotate(-34deg) scaleY(.34);animation:heroOrbitTwo 22s linear infinite reverse}
.hero-orb .orbit-one:after,.hero-orb .orbit-two:after{content:"";position:absolute;top:50%;left:-3px;width:6px;height:6px;border-radius:50%;background:rgba(190,215,255,.82);box-shadow:0 0 12px rgba(160,195,255,.55)}
.hero-orb .orbit-two:after{left:auto;right:-3px;background:rgba(195,185,255,.7);box-shadow:0 0 12px rgba(180,170,255,.48)}
@keyframes heroCoreSlowGlow{0%,100%{opacity:.48;transform:scale(.99)}50%{opacity:.8;transform:scale(1.018)}}
@keyframes heroCoreOrbits{to{transform:rotate(348deg)}}
@keyframes heroOrbitOne{to{transform:rotate(384deg) scaleY(.46)}}
@keyframes heroOrbitTwo{to{transform:rotate(-394deg) scaleY(.34)}}
@keyframes heroCoreSymbolStrict{0%,100%{transform:scale(.98);filter:drop-shadow(0 0 12px rgba(220,230,255,.32))}50%{transform:scale(1.035);filter:drop-shadow(0 0 22px rgba(205,220,255,.58))}}
@media(prefers-reduced-motion:reduce){.hero-orb:before,.hero-orb:after,.hero-orb span,.hero-orb .orbit-one,.hero-orb .orbit-two{animation:none}}

/* V10.2 — brighter central star glow */
.hero-orb span{
  text-shadow:
    0 0 5px rgba(255,255,255,.95),
    0 0 12px rgba(220,235,255,.95),
    0 0 26px rgba(145,185,255,.72),
    0 0 46px rgba(125,145,255,.42);
  filter:drop-shadow(0 0 8px rgba(255,255,255,.75)) drop-shadow(0 0 22px rgba(135,175,255,.6));
  animation:heroCoreStarGlow 4.2s ease-in-out infinite;
}
@keyframes heroCoreStarGlow{
  0%,100%{
    transform:scale(.98);
    opacity:.9;
    filter:drop-shadow(0 0 7px rgba(255,255,255,.7)) drop-shadow(0 0 18px rgba(135,175,255,.48));
  }
  50%{
    transform:scale(1.09);
    opacity:1;
    filter:drop-shadow(0 0 12px rgba(255,255,255,1)) drop-shadow(0 0 34px rgba(145,185,255,.82));
  }
}
@media(prefers-reduced-motion:reduce){.hero-orb span{animation:none}}

/* V10.3 — landing lower panel matches the main content width */
.landing-intro-panel{
  width:calc(100% - 32px);
  max-width:1180px;
  box-sizing:border-box;
}
@media(max-width:700px){
  .landing-intro-panel{width:calc(100% - 32px)}
}


/* V10.4 — Model/API sections: compact Evruni glass format */
#models.public-strip,
#api.public-strip{
  position:relative;
  overflow:hidden;
  align-items:center;
  min-height:170px;
  margin-top:34px;
  padding:30px 34px 30px;
  border:1px solid rgba(255,255,255,.085);
  border-radius:24px;
  border-bottom:1px solid rgba(255,255,255,.085);
  background:
    linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.018) 58%,rgba(115,91,220,.025));
  box-shadow:
    0 18px 60px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  transition:border-color .25s ease,transform .25s ease,box-shadow .25s ease;
}

#models.public-strip::before,
#api.public-strip::before{
  content:"";
  position:absolute;
  left:0;
  top:18px;
  bottom:18px;
  width:2px;
  border-radius:999px;
  background:linear-gradient(180deg,rgba(164,139,255,.05),rgba(164,139,255,.9),rgba(94,201,255,.15));
  box-shadow:0 0 22px rgba(130,105,255,.22);
}

#models.public-strip::after,
#api.public-strip::after{
  content:"";
  position:absolute;
  width:210px;
  height:210px;
  right:-90px;
  top:-70px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(123,94,255,.11),transparent 68%);
  pointer-events:none;
}

#models.public-strip:hover,
#api.public-strip:hover{
  transform:translateY(-2px);
  border-color:rgba(158,137,255,.19);
  box-shadow:
    0 24px 70px rgba(0,0,0,.2),
    0 0 35px rgba(108,82,255,.045),
    inset 0 1px 0 rgba(255,255,255,.05);
}

#models.public-strip > div,
#api.public-strip > div{
  position:relative;
  z-index:1;
  flex:1 1 auto;
}

#models.public-strip .eyebrow,
#api.public-strip .eyebrow{
  color:#a18cff;
  opacity:.92;
}

#models.public-strip h2,
#api.public-strip h2{
  max-width:760px;
  margin:9px 0 0;
  font-size:clamp(25px,3vw,34px);
  line-height:1.08;
  letter-spacing:-.045em;
}

#models.public-strip p,
#api.public-strip p{
  position:relative;
  z-index:1;
  flex:0 1 500px;
  margin:0;
  padding-left:28px;
  color:#8994aa;
  font-size:13px;
  line-height:1.7;
}

@media(max-width:700px){
  #models.public-strip,
  #api.public-strip{
    display:block;
    min-height:0;
    margin-top:24px;
    padding:25px 22px 25px 25px;
  }

  #models.public-strip p,
  #api.public-strip p{
    margin-top:16px;
    padding-left:0;
    max-width:none;
  }
}


/* V10.5 — Projects & Files */
.landing-projects-section{margin-top:42px}
.landing-projects-panel{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.85fr);
  gap:40px;align-items:center;min-height:260px;padding:36px;overflow:hidden;box-sizing:border-box;
  border:1px solid rgba(255,255,255,.075);border-radius:26px;
  background:radial-gradient(circle at 82% 50%,rgba(108,83,255,.075),transparent 31%),linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
  box-shadow:0 22px 70px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.03);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.landing-projects-panel::before{
  content:"";position:absolute;left:0;top:28px;bottom:28px;width:2px;border-radius:999px;
  background:linear-gradient(180deg,transparent,#9d87ff 45%,transparent);
  opacity:.75;box-shadow:0 0 25px rgba(133,105,255,.25);
}
.landing-projects-copy{position:relative;z-index:1}
.landing-projects-copy p{max-width:570px;margin:18px 0 0;color:#8490a6;font-size:13px;line-height:1.75}
.landing-project-flow{position:relative;display:flex;align-items:center;justify-content:center;gap:16px;min-height:160px}
.landing-flow-node{
  position:relative;min-width:160px;padding:16px 18px;box-sizing:border-box;
  border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(10,11,17,.5);
  box-shadow:0 14px 40px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.025);
}
.landing-flow-node span{display:block;margin-bottom:6px;color:#9581ed;font-size:9px;font-weight:700;letter-spacing:.16em}
.landing-flow-node b{color:#dfe3ee;font-size:12px;font-weight:600}
.landing-flow-project{min-width:145px;border-color:rgba(143,120,255,.17);box-shadow:0 0 35px rgba(107,82,255,.08),inset 0 1px 0 rgba(255,255,255,.035)}
.landing-flow-line{width:34px;height:1px;background:linear-gradient(90deg,rgba(144,124,255,.15),rgba(144,124,255,.65),rgba(144,124,255,.15));box-shadow:0 0 12px rgba(124,98,255,.18)}
.landing-flow-column{display:flex;flex-direction:column;gap:12px}
@media(max-width:850px){.payment-country-grid{grid-template-columns:1fr}.billing-amount-row input{width:100%}.billing-action{justify-content:stretch}.billing-action .primary{width:100%}}@media(max-width:560px){
  .landing-feature-section{width:calc(100% - 32px);margin-top:30px}
  .landing-tools-grid{grid-template-columns:1fr}
  .landing-projects-panel{padding:27px 23px}
  .landing-project-flow{justify-content:flex-start;overflow:auto;padding-bottom:3px}
}


/* V11.0 — Project Intelligence + Global Search */
.header-tools{display:flex;align-items:center;gap:10px}
.global-search-wrap{position:relative;width:min(310px,32vw)}
.global-search-input{width:100%;box-sizing:border-box;padding:10px 13px;border:1px solid var(--line);border-radius:13px;background:rgba(8,12,23,.68);color:#e9ecf7;outline:0;backdrop-filter:blur(12px)}
.global-search-input:focus{border-color:rgba(158,137,255,.5);box-shadow:0 0 0 4px rgba(141,112,255,.08)}
.global-search-results{display:none;position:absolute;right:0;top:calc(100% + 8px);width:360px;max-height:380px;overflow:auto;padding:7px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(9,12,22,.96);box-shadow:0 20px 60px rgba(0,0,0,.35);z-index:80;backdrop-filter:blur(18px)}
.global-search-results.show{display:block}
.global-search-result{width:100%;display:grid;grid-template-columns:28px 1fr;gap:1px 8px;text-align:left;padding:11px;border:0;border-radius:11px;background:transparent;color:#e8ebf5;cursor:pointer}
.global-search-result:hover{background:rgba(255,255,255,.055)}
.global-search-result span{grid-row:span 2;color:#a895ff;font-size:14px}
.global-search-result b{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.global-search-result small{color:#6f7a90;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.project-card-actions{display:flex;align-items:center;gap:7px}
.project-card-actions .project-open{min-width:0}
.project-config-modal{display:none;position:fixed;inset:0;z-index:100}
.project-config-modal.show{display:block}
.project-config-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.58);backdrop-filter:blur(7px)}
.project-config-card{position:relative;width:min(720px,calc(100% - 28px));max-height:calc(100vh - 36px);overflow:auto;margin:18px auto;padding:25px;border:1px solid rgba(255,255,255,.1);border-radius:23px;background:linear-gradient(145deg,rgba(16,20,35,.98),rgba(8,11,20,.98));box-shadow:0 30px 100px rgba(0,0,0,.5)}
.project-config-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}
.project-config-head h3{margin:7px 0 0;font-size:25px;letter-spacing:-.035em}
.project-config-card label{display:grid;gap:8px;color:#a7b0c2;font-size:11px;font-weight:600;margin-bottom:14px}
.project-config-card textarea{min-height:105px;resize:vertical}
.project-config-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.project-config-row select{width:100%;box-sizing:border-box;padding:11px 13px;border:1px solid var(--line);border-radius:13px;background:rgba(7,11,22,.78);color:#e9ecf7}
.project-knowledge{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 16px;margin-top:4px;border:1px solid rgba(255,255,255,.065);border-radius:15px;background:rgba(255,255,255,.025)}
.project-knowledge b{display:block;color:#e5e8f1;font-size:13px}.project-knowledge small{display:block;margin-top:4px;color:#68748b}.project-knowledge span{color:#8f80dc;font-size:9px;letter-spacing:.14em}
.project-config-foot{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:17px}
.project-config-foot .muted{padding:0;font-size:10px}
@media(max-width:760px){.global-search-wrap{width:180px}.global-search-results{width:min(340px,calc(100vw - 28px))}.project-config-row{grid-template-columns:1fr}.project-config-foot{align-items:stretch;flex-direction:column}.project-config-foot button{width:100%}}
@media(max-width:850px){.payment-country-grid{grid-template-columns:1fr}.billing-amount-row input{width:100%}.billing-action{justify-content:stretch}.billing-action .primary{width:100%}}@media(max-width:560px){.header-tools{gap:6px}.global-search-wrap{width:42px}.global-search-input{font-size:0;padding:10px}.global-search-input:focus,.global-search-input:focus-within{font-size:12px;width:180px;position:absolute;right:0;top:0}.profile-trigger-text{display:none}}


/* V11.2 — profile dropdown layering/alignment fix */
.dashboard-profile{position:relative;z-index:120}
.dashboard-profile .profile-menu,
.profile-menu-wrap .profile-menu{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  z-index:9999;
}
.header-tools{position:relative;z-index:110}
.global-search-wrap{z-index:100}

/* V11.4 — keep Projects search on the left side of its toolbar */
.projects-toolbar{display:flex;align-items:center;gap:10px}
.projects-toolbar #projectSearch{order:0;margin-right:0}
.projects-toolbar #projectNew{order:1}

/* V11.5 — global search sits to the left of the balance/profile panel */
.header-tools{display:flex;align-items:center;gap:12px}
.header-tools .global-search-wrap{order:1;position:relative;z-index:130;flex:0 0 auto}
.header-tools .dashboard-profile{order:2;position:relative;z-index:140}

/* V11.6 — search translated and matched to the profile control size */
.header-tools .global-search-wrap{width:245px;flex:0 0 245px}
.header-tools .global-search-input{height:45px;padding:7px 13px;border-radius:14px;box-sizing:border-box}

/* V12 — personal usage analytics */
.usage-period{display:flex;gap:8px;padding:0 26px 18px}
.usage-period-btn{min-width:70px;height:38px}
.usage-period-btn.active{border-color:rgba(158,137,255,.55);background:rgba(126,102,230,.16);color:#fff}
.usage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 26px 26px}
.usage-card{min-width:0;border:1px solid rgba(255,255,255,.07);border-radius:18px;background:rgba(10,15,28,.56);backdrop-filter:blur(14px);padding:18px}
.usage-card h3{margin:0 0 15px;font-size:14px}
.usage-bar-row{display:grid;grid-template-columns:72px 1fr 58px;gap:9px;align-items:center;margin:8px 0;font-size:11px}
.usage-bar-row>span{color:#8d98ad;overflow:hidden;text-overflow:ellipsis}
.usage-bar-row>div,.usage-list-row>span{height:7px;border-radius:999px;background:rgba(255,255,255,.06);overflow:hidden}
.usage-bar-row i,.usage-list-row i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#7760e8,#9c8cff)}
.usage-bar-row b,.usage-list-row strong{font-size:11px;text-align:right;color:#dfe3ef}
.usage-list-row{display:grid;grid-template-columns:minmax(0,1fr) 62px;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.usage-list-row:last-child{border-bottom:0}
.usage-list-row>div{min-width:0}
.usage-list-row b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.usage-list-row small{display:block;color:#7d879b;font-size:10px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.usage-list-row>span{grid-column:1 / -1}
.usage-list-row.recent{grid-template-columns:minmax(0,1fr) 55px auto}
.usage-list-row.recent time{font-size:10px;color:#7d879b}
@media(max-width:850px){.usage-grid{grid-template-columns:1fr}}
@media(max-width:700px){.usage-grid{padding:0 16px 20px}.usage-period{padding:0 16px 14px}}

/* Evruni v14.0 — compact separated model pricing */
.model-picker{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  min-width:0;
}
.model-picker select{
  min-width:170px;
  max-width:290px;
  height:38px;
  padding:0 30px 0 11px;
  border-radius:11px;
  font-size:12px;
  line-height:38px;
  background:rgba(8,12,24,.86);
  border:1px solid rgba(255,255,255,.11);
  color:#eef1ff;
}
.model-picker select:hover{border-color:rgba(170,145,255,.32);background:rgba(12,16,30,.94)}
.model-picker select option{font-size:12px;padding:5px 8px;background:#0b1020;color:#edf0fa}
.model-price-badge{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:22px;
  padding:3px 7px;
  border-radius:7px;
  white-space:nowrap;
  font-size:9px;
  line-height:1.15;
  color:#aeb7c9;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.055);
}
.model-card-price{flex:1;min-width:0;max-width:58%}.model-price-detail{display:flex;flex-direction:column;gap:9px;min-width:0;width:100%;white-space:normal;text-align:left;line-height:1.45}
.model-price-title{font-size:10px;font-weight:800;letter-spacing:.075em;text-transform:uppercase;color:#9c8cff;margin-bottom:1px}
.model-price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.model-price-cell{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;padding:10px 12px;border:1px solid rgba(159,137,255,.16);border-radius:10px;background:rgba(127,93,255,.055)}
.model-price-cell>span,.model-price-line>span{font-size:11px;font-weight:700;color:#c5c9d8}
.model-price-cell strong,.model-price-line strong{font-size:14px;font-weight:800;color:#c2afff;letter-spacing:.01em}
.model-price-cell small{font-size:10px;line-height:1.5;color:#8791a7;overflow-wrap:anywhere}
.model-price-line{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:9px 11px;border:1px solid rgba(159,137,255,.16);border-radius:10px;background:rgba(127,93,255,.055)}
.model-price-detail>p{margin:0;font-size:10px;line-height:1.55;color:#7f8aa1;overflow-wrap:anywhere}
.price-part{display:inline-flex;align-items:baseline;gap:4px}
.price-part b{font-size:8px;font-weight:600;color:#7f8aa1;text-transform:uppercase;letter-spacing:.04em}
.price-part strong{font-size:10px;font-weight:750;color:#b7aaff}
.price-part em{font-size:8px;font-style:normal;color:#69748a}
.price-sep{width:1px;height:14px;background:rgba(255,255,255,.10)}
.chat-toolbar .model-picker{min-width:0}
.chat-toolbar .model-picker select{min-width:210px}
@media(max-width:560px){
  .model-picker{width:auto}
  .model-picker select{min-width:0;max-width:none}
  .model-price-badge{font-size:8px;padding:6px;white-space:normal;align-items:stretch}
  .model-card{flex-direction:column;align-items:stretch;gap:12px}
  .model-card-price{max-width:none;width:100%}
  .model-price-grid{grid-template-columns:1fr}
  .model-price-cell{padding:9px 10px}
  .model-price-cell small{font-size:10px}
}

/* Keep the chat toolbar clean: price belongs to the model control, not between buttons. */
.chat-toolbar{align-items:flex-start !important;}
.chat-toolbar .model-picker{flex:0 0 auto;}
.chat-toolbar #newChat{align-self:flex-start;}

/* Evruni v14.1 — AI model price filter */
.model-price-filter{
  height:24px;
  min-width:130px;
  max-width:180px;
  padding:0 22px 0 7px;
  border-radius:7px;
  border:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.025);
  color:#8f99ad;
  font-size:9px;
  line-height:24px;
}
.model-price-filter:hover{
  border-color:rgba(157,132,255,.20);
  color:#b7aaff;
}
.model-picker{gap:4px}
@media(max-width:560px){
  .model-price-filter{min-width:118px;font-size:8px}
}

/* v14.3: price sorting lives inside the AI dropdown */
.model-picker .model-price-filter{display:none !important;}
.model-picker{gap:4px;}
.model-picker select{min-width:170px;max-width:290px;}

/* v14.4 real filter inside the opened model menu */
.model-picker{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.model-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:210px;max-width:290px;height:38px;padding:0 10px 0 11px;border-radius:11px;border:1px solid rgba(255,255,255,.11);background:rgba(8,12,24,.86);color:#eef1ff;font-size:12px;cursor:pointer}
.model-picker-trigger:hover{border-color:rgba(170,145,255,.32)}
.model-picker-menu{display:none;position:absolute;z-index:1000;top:42px;left:0;width:290px;padding:6px;border-radius:12px;background:rgba(9,13,26,.98);border:1px solid rgba(255,255,255,.10);box-shadow:0 16px 40px rgba(0,0,0,.38);backdrop-filter:blur(16px)}
.model-picker.open .model-picker-menu{display:block}
.model-picker-filter{display:flex;gap:4px;padding:2px 2px 6px;border-bottom:1px solid rgba(255,255,255,.07)}
.model-picker-filter button{flex:1;height:25px;padding:0 7px;border-radius:7px;border:1px solid transparent;background:rgba(255,255,255,.035);color:#8792a8;font-size:9px;cursor:pointer}
.model-picker-filter button:hover,.model-picker-filter button.active{color:#c8bcff;background:rgba(126,91,255,.12);border-color:rgba(157,132,255,.20)}
.model-picker-list{max-height:220px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-top:4px}
.model-picker-option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px;padding:5px 7px;border:0;border-radius:7px;background:transparent;color:#e9edf7;text-align:left;cursor:pointer}
.model-picker-option:hover{background:rgba(255,255,255,.055)}
.model-picker-option:disabled{opacity:.42;cursor:not-allowed}
.model-picker-option-name{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.model-picker-option-price{font-size:9px;color:#b7aaff;white-space:nowrap}
@media(max-width:560px){.model-picker-menu{width:260px;max-width:calc(100vw - 28px)}.model-picker-trigger{min-width:180px;max-width:260px}}


/* Evruni v15.20 — responsive/mobile optimization */
@media (max-width: 700px){
  html{font-size:15px}
  body{overflow-x:hidden;-webkit-text-size-adjust:100%;overscroll-behavior-x:none}
  .dashboard-page{padding-bottom:env(safe-area-inset-bottom)}
  .dashboard-ambient{display:none}
  body:before{background-size:42px 42px;opacity:.55}

  /* Compact mobile navigation */
  .app{display:block;min-height:100vh}
  .sidebar{
    position:fixed;left:0;right:0;bottom:0;top:auto;
    width:100%;height:auto;min-height:64px;max-height:78px;
    padding:7px 8px calc(7px + env(safe-area-inset-bottom));
    border-right:0;border-top:1px solid rgba(157,170,204,.16);
    background:rgba(7,10,20,.94);backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);z-index:100;
    box-shadow:0 -12px 34px rgba(0,0,0,.24);
  }
  .sidebar .logo,.sidebar .side-bottom{display:none}
  .sidebar nav{
    display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
    gap:4px;width:100%;
  }
  .sidebar nav .nav{
    min-width:0;height:52px;padding:6px 3px;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:3px;border-radius:12px;font-size:9px;line-height:1.1;
    white-space:nowrap;overflow:hidden;
  }
  .sidebar nav .nav span:first-child{font-size:18px;line-height:18px}
  .sidebar nav .nav span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis}
  .sidebar nav .nav:nth-child(n+6){display:none}
  .main{width:100%;padding:16px 12px calc(94px + env(safe-area-inset-bottom))}
  .main h1{font-size:27px;line-height:1.08}
  header{gap:10px;margin-bottom:14px}
  header .actions{gap:6px}

  /* Cards and grids */
  .view-card{border-radius:17px;box-shadow:0 12px 36px rgba(0,0,0,.22);backdrop-filter:blur(4px)}
  .view-top{padding:16px}
  .two-col,.studio-grid,.feature-grid,.profile-grid,.usage-grid{grid-template-columns:1fr!important}
  .chat-layout{
    grid-template-columns:1fr!important;
    min-height:calc(100dvh - 178px);
    margin:0 0 14px;border-radius:16px;
  }
  .thread-list{
    max-height:132px;min-height:0;
    border-right:0;border-bottom:1px solid var(--line);
    padding:8px;display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;
    scrollbar-width:none;
  }
  .thread-list::-webkit-scrollbar{display:none}
  .thread{flex:0 0 170px;margin:0;padding:10px}
  .thread:hover{transform:none}
  .chat-main{min-width:0}
  .chat-toolbar{
    flex-wrap:wrap!important;gap:7px!important;
    padding:9px!important;
    position:sticky;top:0;z-index:8;
  }
  .chat-toolbar .model-picker{flex:1 1 100%;width:100%}
  .chat-toolbar .model-picker-trigger{
    width:100%;min-width:0;max-width:none;height:42px
  }
  .model-picker-menu{position:fixed;left:12px;right:12px;top:auto;bottom:78px;width:auto;max-width:none}
  .model-picker-list{max-height:42dvh}
  .model-picker-option{min-height:40px}
  .model-picker-option-name{font-size:12px}
  .model-picker-option-price{font-size:10px}

  /* Chat content/composer */
  .messages,.chat-messages{padding-left:10px!important;padding-right:10px!important}
  .message,.chat-message{max-width:100%!important}
  .message-content,.bubble{font-size:14px;line-height:1.55}
  .composer,.chat-composer{
    position:sticky;bottom:74px;z-index:7;
    padding:8px!important;margin:0!important;
    background:linear-gradient(180deg,transparent,rgba(6,9,18,.94) 28%);
  }
  .composer textarea,.chat-composer textarea{
    min-height:48px;max-height:140px;font-size:16px!important;
    border-radius:15px!important;
  }
  .composer button,.chat-composer button{min-height:44px}
  .chat-toolbar-btn{min-height:42px!important;height:42px!important}

  /* Forms, tables and long content */
  input,select,textarea{font-size:16px}
  .form-grid,.settings-grid{grid-template-columns:1fr!important}
  .table-wrap,.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}
  table{min-width:620px}
  pre,code{overflow-x:auto;max-width:100%}
  img,video,canvas,svg{max-width:100%;height:auto}
  .modal-dialog,.modal-card,.dialog{
    width:calc(100vw - 24px)!important;max-width:none!important;
    max-height:calc(100dvh - 24px);overflow:auto;
    margin:12px!important;border-radius:17px!important;
  }

  /* Public landing */
  .public-nav{padding:12px 12px}
  .public-nav .logo{margin-left:0!important;transform:none!important}
  .public-actions .primary{padding:10px 13px}
  .public-main{padding:0 12px 42px}
  .public-hero{padding-top:28px!important}
  .hero-copy h1{font-size:clamp(34px,10vw,48px);letter-spacing:-.045em}
  .hero-copy p{font-size:15px;line-height:1.55}
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions>*{width:100%;justify-content:center}
  .hero-visual{min-height:300px!important;transform:scale(.92)}
  .feature-grid{gap:10px!important}
  .feature-card{padding:16px!important}
}

@media (max-width: 420px){
  .sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr))}
  .sidebar nav .nav{height:50px;font-size:8px}
  .sidebar nav .nav span:first-child{font-size:17px}
  .main{padding-left:9px;padding-right:9px}
  .chat-layout{min-height:calc(100dvh - 166px)}
  .thread{flex-basis:145px}
  .public-actions .primary{padding:9px 10px;font-size:12px}
  .public-nav .logo-copy{display:none!important}
  .public-nav .logo{margin:0!important}
}

@media (hover:none) and (pointer:coarse){
  .nav:hover,.thread:hover,.primary:hover,.ghost:hover{transform:none!important}
  button,a{touch-action:manipulation}
}

@media (prefers-reduced-motion:reduce){
  .dashboard-ambient{display:none!important}
  *{scroll-behavior:auto!important}
}


/* Evruni Mobile Pro UX — touch-first mobile layout */
@media (max-width: 700px){
  :root{
    --mobile-gutter:12px;
    --mobile-radius:16px;
    --mobile-bottom-nav:74px;
  }

  *{box-sizing:border-box}
  html,body{width:100%;min-width:0;overflow-x:hidden}
  body{font-size:15px;line-height:1.45}
  button,a,input,select,textarea{touch-action:manipulation}
  button,a{min-height:44px}
  a{display:inline-flex;align-items:center}

  /* App shell */
  .main{
    width:100%!important;
    min-width:0!important;
    padding:12px var(--mobile-gutter) calc(var(--mobile-bottom-nav) + 18px + env(safe-area-inset-bottom))!important;
  }
  .main>*{max-width:100%;min-width:0}
  header{
    position:sticky;top:0;z-index:30;
    margin:0 -12px 12px!important;
    padding:10px 12px!important;
    background:rgba(7,10,20,.9);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
  }
  header h1,.main h1{font-size:24px!important;line-height:1.15;margin:0}
  header .actions{margin-left:auto;display:flex;gap:6px;flex-wrap:nowrap}
  header .actions>*{min-width:44px}

  /* One-column cards */
  .grid,.two-col,.three-col,.four-col,.stats-grid,.cards-grid,
  .studio-grid,.feature-grid,.profile-grid,.usage-grid,.settings-grid{
    display:grid!important;grid-template-columns:1fr!important;gap:10px!important;
  }
  .view-card,.card,.panel,.feature-card{
    width:100%!important;min-width:0!important;
    border-radius:var(--mobile-radius)!important;
  }
  .view-top{padding:14px!important}
  .card,.panel,.feature-card{padding:14px!important}

  /* Touch-friendly controls */
  input,select,textarea{
    width:100%;min-height:46px;
    padding:11px 12px!important;
    border-radius:12px!important;
  }
  textarea{resize:vertical}
  button,.btn,.primary,.ghost,.danger,.icon-btn{
    min-height:46px!important;
    padding:10px 14px!important;
    border-radius:12px!important;
  }
  .icon-btn{width:46px!important;padding:0!important;justify-content:center}

  /* Bottom navigation */
  .sidebar{
    height:auto!important;min-height:68px!important;max-height:82px!important;
    padding:6px 7px calc(6px + env(safe-area-inset-bottom))!important;
    border-top:1px solid rgba(157,170,204,.18)!important;
    box-shadow:0 -8px 28px rgba(0,0,0,.3)!important;
  }
  .sidebar nav{
    height:58px!important;
    display:grid!important;grid-template-columns:repeat(5,1fr)!important;
    gap:3px!important;
  }
  .sidebar nav .nav{
    min-height:56px!important;height:56px!important;
    padding:5px 2px!important;
    border-radius:13px!important;
    justify-content:center!important;
    font-size:9px!important;
    gap:2px!important;
  }
  .sidebar nav .nav span:first-child{font-size:18px!important}
  .sidebar nav .nav span:last-child{
    max-width:100%;overflow:hidden;text-overflow:ellipsis;
  }

  /* AI chat: mobile-first, no wasted columns */
  .chat-layout{
    display:flex!important;flex-direction:column!important;
    height:calc(100dvh - 150px)!important;
    min-height:520px!important;
    margin:0!important;
    border-radius:16px!important;
    overflow:hidden!important;
  }
  .thread-list{
    flex:0 0 58px!important;
    height:58px!important;min-height:58px!important;
    display:flex!important;align-items:center!important;
    gap:6px!important;padding:6px!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    border:0!important;border-bottom:1px solid var(--line)!important;
  }
  .thread{
    flex:0 0 138px!important;
    min-width:138px!important;
    height:44px!important;
    margin:0!important;padding:7px 10px!important;
    display:flex;align-items:center;
    overflow:hidden;border-radius:11px!important;
  }
  .thread .thread-title{
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  .chat-main{
    flex:1 1 auto!important;min-height:0!important;
    display:flex!important;flex-direction:column!important;
  }
  .chat-toolbar{
    flex:0 0 auto!important;
    display:flex!important;align-items:center!important;
    gap:6px!important;padding:7px!important;
    position:sticky!important;top:0!important;z-index:10!important;
  }
  .chat-toolbar .model-picker{
    flex:1 1 auto!important;min-width:0!important;
  }
  .chat-toolbar .model-picker-trigger{
    width:100%!important;min-width:0!important;
    height:44px!important;max-width:none!important;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  }
  .model-picker-menu{
    position:fixed!important;
    left:8px!important;right:8px!important;
    bottom:calc(76px + env(safe-area-inset-bottom))!important;
    width:auto!important;max-width:none!important;
    max-height:62dvh!important;
    overflow:hidden!important;
    z-index:1000!important;
    border-radius:16px!important;
  }
  .model-picker-list{max-height:52dvh!important;overflow:auto!important}
  .model-picker-option{min-height:50px!important;padding:9px 11px!important}
  .model-picker-option-name{font-size:13px!important}
  .model-picker-option-price{font-size:10px!important}

  .messages,.chat-messages{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    padding:12px 10px!important;
    scroll-padding-bottom:110px!important;
  }
  .message,.chat-message{
    width:100%!important;max-width:100%!important;
    margin-bottom:10px!important;
  }
  .message-content,.bubble{
    max-width:92%!important;
    font-size:15px!important;
    line-height:1.55!important;
    padding:10px 12px!important;
    overflow-wrap:anywhere!important;
  }

  .composer,.chat-composer{
    flex:0 0 auto!important;
    position:relative!important;
    bottom:auto!important;
    padding:7px!important;
    margin:0!important;
    background:rgba(7,10,20,.96)!important;
    border-top:1px solid var(--line)!important;
  }
  .composer form,.chat-composer form{
    display:flex!important;align-items:flex-end!important;gap:6px!important;
  }
  .composer textarea,.chat-composer textarea{
    flex:1 1 auto!important;
    min-height:46px!important;max-height:130px!important;
    font-size:16px!important;
    padding:11px 12px!important;
  }
  .composer button,.chat-composer button{
    flex:0 0 46px!important;
    width:46px!important;
    min-height:46px!important;
    padding:0!important;
  }

  /* Hide secondary clutter on small screens */
  .desktop-only,.sidebar .logo,.sidebar .side-bottom{display:none!important}
  .mobile-hide,.secondary-action{display:none!important}
  .dashboard-ambient{display:none!important}

  /* Tables become readable cards instead of tiny columns where supported */
  .table-wrap,.table-responsive{
    width:100%!important;overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
    border-radius:12px;
  }
  table{font-size:12px}
  th,td{padding:9px 8px!important;white-space:nowrap}

  /* Dialogs and menus */
  .modal-dialog,.modal-card,.dialog{
    position:fixed!important;
    left:8px!important;right:8px!important;
    top:8px!important;bottom:8px!important;
    width:auto!important;max-width:none!important;
    max-height:none!important;
    margin:0!important;
    border-radius:17px!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch;
  }

  /* Landing */
  .public-main{padding:0 12px 30px!important}
  .public-nav{padding:9px 12px!important}
  .public-nav .nav-links{display:none!important}
  .public-hero{padding-top:24px!important}
  .hero-copy h1{font-size:clamp(34px,11vw,48px)!important;line-height:1.02!important}
  .hero-copy p{font-size:15px!important}
  .hero-actions{display:flex!important;flex-direction:column!important;gap:8px!important}
  .hero-actions>*{width:100%!important;justify-content:center}
  .hero-visual{min-height:260px!important;transform:scale(.88)!important}
}

@media (max-width:430px){
  :root{--mobile-gutter:9px}
  .main{padding-left:9px!important;padding-right:9px!important}
  header{margin-left:-9px!important;margin-right:-9px!important;padding-left:9px!important;padding-right:9px!important}
  .chat-layout{height:calc(100dvh - 140px)!important;min-height:480px!important}
  .thread{flex-basis:126px!important;min-width:126px!important}
  .message-content,.bubble{max-width:96%!important}
  .sidebar nav .nav{font-size:8px!important}
}

@media (max-height:700px) and (max-width:700px){
  .chat-layout{height:calc(100dvh - 125px)!important;min-height:420px!important}
  .thread-list{height:50px!important;min-height:50px!important;flex-basis:50px!important}
  .thread{height:38px!important}
  .sidebar nav .nav{height:50px!important;min-height:50px!important}
}

/* Evruni Mobile Clean UI */
@media (max-width:700px){
  :root{--mobile-nav-h:68px}

  html,body{width:100%;min-width:0;overflow-x:hidden}
  body{font-size:15px}
  button,a,input,select,textarea{touch-action:manipulation}

  .main{
    width:100%!important;min-width:0!important;
    padding:10px 10px calc(var(--mobile-nav-h) + 18px + env(safe-area-inset-bottom))!important
  }

  /* Minimal icon-only bottom navigation */
  .sidebar{
    display:block!important;position:fixed!important;
    left:0!important;right:0!important;top:auto!important;bottom:0!important;
    width:100%!important;height:var(--mobile-nav-h)!important;
    min-height:var(--mobile-nav-h)!important;max-height:none!important;
    padding:5px 8px calc(5px + env(safe-area-inset-bottom))!important;
    background:rgba(8,11,21,.96)!important;
    border-top:1px solid rgba(255,255,255,.09)!important;
    box-shadow:0 -8px 30px rgba(0,0,0,.28)!important;
    backdrop-filter:blur(20px)!important;
    -webkit-backdrop-filter:blur(20px)!important;
    z-index:100!important
  }
  .sidebar .logo,.sidebar .side-bottom{display:none!important}
  .sidebar nav{
    display:flex!important;width:100%!important;height:58px!important;
    align-items:stretch!important;justify-content:space-around!important;gap:3px!important
  }
  .sidebar nav .nav{
    flex:1 1 0!important;min-width:0!important;
    height:58px!important;min-height:58px!important;
    padding:5px 2px!important;margin:0!important;
    display:flex!important;flex-direction:column!important;
    align-items:center!important;justify-content:center!important;
    gap:0!important;border-radius:13px!important;font-size:0!important
  }
  .sidebar nav .nav span:first-child{
    display:flex!important;width:36px;height:36px;
    align-items:center;justify-content:center;font-size:21px!important;line-height:1!important
  }
  .sidebar nav .nav span:last-child{display:none!important}
  .sidebar nav .nav:nth-child(n+6){display:none!important}
  .sidebar nav .nav.active{background:rgba(255,255,255,.10)!important}

  /* Cleaner page header */
  header{
    position:relative!important;display:flex!important;align-items:center!important;
    min-height:46px;margin:0 0 10px!important;padding:3px 2px!important;
    background:transparent!important;backdrop-filter:none!important
  }
  header h1,.main h1{font-size:23px!important;line-height:1.15}
  header .actions{margin-left:auto!important;display:flex!important;gap:5px!important}
  header .actions>*{
    min-width:42px!important;width:42px!important;height:42px!important;
    padding:0!important;display:flex;align-items:center;justify-content:center
  }

  .grid,.two-col,.three-col,.four-col,.stats-grid,.cards-grid,
  .studio-grid,.feature-grid,.profile-grid,.usage-grid,.settings-grid{
    display:grid!important;grid-template-columns:1fr!important;gap:9px!important
  }
  .view-card,.card,.panel,.feature-card{
    width:100%!important;min-width:0!important;border-radius:15px!important
  }
  .view-top,.card,.panel,.feature-card{padding:13px!important}

  /* Mobile AI chat */
  .chat-layout{
    height:calc(100dvh - var(--mobile-nav-h) - 72px)!important;
    min-height:0!important;display:flex!important;flex-direction:column!important;
    margin:0!important;border-radius:15px!important;overflow:hidden!important
  }
  .thread-list{
    flex:0 0 52px!important;height:52px!important;min-height:52px!important;
    padding:5px!important;display:flex!important;gap:5px!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    border:0!important;border-bottom:1px solid var(--line)!important
  }
  .thread{
    flex:0 0 42px!important;min-width:42px!important;width:42px!important;
    height:42px!important;padding:0!important;margin:0!important;
    border-radius:12px!important;display:flex!important;
    align-items:center!important;justify-content:center!important
  }
  .thread > *:not(:first-child){display:none!important}
  .thread:before{content:"💬";font-size:17px}

  .chat-toolbar{padding:6px!important;min-height:52px!important;gap:5px!important;display:flex!important}
  .chat-toolbar .model-picker{flex:1 1 auto!important;min-width:0!important}
  .chat-toolbar .model-picker-trigger{
    width:100%!important;height:42px!important;min-width:0!important;max-width:none!important;
    padding:0 11px!important;border-radius:11px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
  }
  .model-picker-menu{
    left:8px!important;right:8px!important;
    bottom:calc(var(--mobile-nav-h) + 8px + env(safe-area-inset-bottom))!important;
    width:auto!important;max-width:none!important;border-radius:15px!important
  }
  .model-picker-option{min-height:48px!important}

  .messages,.chat-messages{
    padding:10px 8px!important;overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important
  }
  .message,.chat-message{max-width:100%!important;margin-bottom:8px!important}
  .message-content,.bubble{
    max-width:91%!important;padding:9px 11px!important;
    font-size:14px!important;line-height:1.5!important;overflow-wrap:anywhere!important
  }

  .composer,.chat-composer{
    position:relative!important;bottom:auto!important;padding:6px!important;margin:0!important;
    background:rgba(8,11,21,.96)!important;border-top:1px solid var(--line)!important
  }
  .composer form,.chat-composer form{display:flex!important;gap:5px!important;align-items:flex-end!important}
  .composer textarea,.chat-composer textarea{
    min-height:44px!important;max-height:110px!important;font-size:16px!important;border-radius:12px!important
  }
  .composer button,.chat-composer button{
    flex:0 0 44px!important;width:44px!important;min-height:44px!important;height:44px!important;
    padding:0!important;border-radius:12px!important
  }

  .desktop-only,.dashboard-ambient{display:none!important}

  .table-wrap,.table-responsive{
    overflow-x:auto!important;-webkit-overflow-scrolling:touch!important
  }
  table{font-size:12px!important}
  th,td{padding:8px!important;white-space:nowrap}

  .modal-dialog,.modal-card,.dialog{
    left:7px!important;right:7px!important;top:7px!important;bottom:7px!important;
    width:auto!important;max-width:none!important;margin:0!important;border-radius:15px!important
  }
}

@media(max-width:390px){
  .main{padding-left:7px!important;padding-right:7px!important}
  .sidebar{padding-left:5px!important;padding-right:5px!important}
  .sidebar nav .nav span:first-child{font-size:20px!important}
  .chat-layout{height:calc(100dvh - var(--mobile-nav-h) - 62px)!important}
  .message-content,.bubble{max-width:95%!important}
}



/* Evruni Trend Lab — vertical short-video trend gallery */
.trend-lab{position:relative;margin:0 26px 18px;padding:20px;border:1px solid rgba(255,255,255,.075);border-radius:22px;background:linear-gradient(145deg,rgba(15,17,25,.72),rgba(8,10,17,.55));box-shadow:inset 0 1px 0 rgba(255,255,255,.025);overflow:hidden}
.trend-lab:before{content:"";position:absolute;inset:-35% 25% auto -10%;height:220px;background:radial-gradient(circle,rgba(119,92,255,.10),transparent 68%);pointer-events:none}
.trend-lab-head{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}
.trend-lab-head h2{margin:4px 0 5px;color:#edf0f8;font-size:22px;letter-spacing:-.02em}
.trend-lab-head p{max-width:720px;margin:0;color:#7e879b;font-size:12px;line-height:1.55}
.trend-live{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.035);color:#9fa7b8;font-size:10px;font-weight:700;white-space:nowrap}
.trend-live i{width:7px;height:7px;border-radius:50%;background:#65d6a3;box-shadow:0 0 12px rgba(101,214,163,.55)}
.trend-grid{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.trend-card{position:relative;display:grid;grid-template-columns:132px 1fr;gap:14px;padding:12px;border:1px solid rgba(255,255,255,.065);border-radius:18px;background:rgba(12,14,22,.62);transition:transform .18s ease,border-color .18s ease,background .18s ease;cursor:pointer;overflow:hidden}
.trend-card:hover{transform:translateY(-2px);border-color:rgba(149,137,255,.24);background:rgba(17,19,29,.72)}
.trend-card.selected{border-color:rgba(147,128,255,.55);box-shadow:0 0 0 1px rgba(147,128,255,.10),0 16px 35px rgba(0,0,0,.16)}
.trend-phone-wrap{position:relative;display:flex;align-items:center;justify-content:center;min-height:206px}
.trend-phone{position:relative;width:108px;height:196px;border:4px solid #272b37;border-radius:20px;background:#06080e;box-shadow:0 12px 28px rgba(0,0,0,.38),inset 0 0 0 1px rgba(255,255,255,.06);overflow:hidden}
.trend-phone-notch{position:absolute;z-index:3;top:5px;left:50%;width:42px;height:11px;transform:translateX(-50%);border-radius:0 0 9px 9px;background:#05070b}
.trend-scene{position:absolute;inset:0;overflow:hidden;background:linear-gradient(155deg,#161827,#05070c)}
.trend-scene:before,.trend-scene:after{content:"";position:absolute;inset:auto -25% 13%;height:80px;border-radius:50%;background:rgba(119,96,255,.20);filter:blur(16px);animation:trendFloat 4.5s ease-in-out infinite}
.trend-scene:after{inset:8% -30% auto;height:95px;background:rgba(63,190,184,.13);animation-delay:-2s}
.trend-avatar{position:absolute;left:50%;top:48%;width:42px;height:58px;transform:translate(-50%,-50%);border-radius:50% 50% 45% 45%;background:radial-gradient(circle at 50% 27%,#d7b79e 0 18%,transparent 19%),linear-gradient(180deg,#7561c7 0 47%,#252839 48%);box-shadow:0 10px 22px rgba(0,0,0,.35);animation:trendBob 2.8s ease-in-out infinite}
.trend-avatar:after{content:"";position:absolute;left:50%;top:24%;width:18px;height:8px;transform:translateX(-50%);border-radius:50%;background:rgba(255,255,255,.25)}
.trend-caption{position:absolute;left:8px;right:8px;bottom:28px;color:#fff;font-size:8px;font-weight:800;text-align:center;text-shadow:0 2px 10px rgba(0,0,0,.7)}
.trend-progress{position:absolute;left:8px;right:8px;bottom:15px;height:2px;border-radius:2px;background:rgba(255,255,255,.20);overflow:hidden}
.trend-progress span{display:block;width:44%;height:100%;border-radius:inherit;background:#fff;animation:trendProgress 3.2s linear infinite}
.trend-phone-ui{position:absolute;right:2px;bottom:10px;display:grid;gap:7px;color:rgba(255,255,255,.8);font-size:10px;text-shadow:0 2px 6px #000}
.trend-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:rgba(9,10,16,.66);border:1px solid rgba(255,255,255,.20);color:#fff;font-size:12px;backdrop-filter:blur(8px);pointer-events:none;opacity:.95}
.trend-copy{min-width:0;display:flex;flex-direction:column;justify-content:center;padding:2px 2px 2px 0}
.trend-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:7px}
.trend-title-row h3{margin:0;color:#e8ebf4;font-size:14px;line-height:1.25}
.trend-title-row span{padding:4px 6px;border-radius:999px;background:rgba(126,105,255,.10);color:#a99cff;font-size:8px;font-weight:800;white-space:nowrap}
.trend-copy p{margin:7px 0 6px;color:#7f8799;font-size:10px;line-height:1.45}
.trend-copy small{color:#697287;font-size:9px;margin-bottom:9px}
.trend-use{width:100%;height:34px;border-radius:10px;font-size:10px;padding:0 8px}
.trend-zombie .trend-scene{background:linear-gradient(160deg,#111d24,#160d16 62%,#05070b)}
.trend-burning .trend-scene{background:linear-gradient(160deg,#251b13,#0e0a0d 62%,#05070b)}
.trend-bulin .trend-scene{background:linear-gradient(160deg,#350d19,#130b13 58%,#05070b)}
.trend-gangnam .trend-scene{background:linear-gradient(160deg,#161f38,#171127 62%,#06070d)}
.trend-raindance .trend-scene{background:linear-gradient(160deg,#173044,#111a29 58%,#080a10)}
.trend-halloween .trend-scene{background:linear-gradient(160deg,#24122d,#120d1e 60%,#05070b)}
.trend-selected{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px;padding:13px 14px;border:1px solid rgba(141,125,255,.24);border-radius:15px;background:rgba(112,92,255,.055)}
.trend-selected>div{display:grid;gap:2px;min-width:0}.trend-selected b{color:#e6e9f3;font-size:12px}.trend-selected small{color:#7f8798;font-size:10px;line-height:1.4}.trend-selected .eyebrow{font-size:8px}
@keyframes trendFloat{0%,100%{transform:translate3d(-3%,0,0) scale(1)}50%{transform:translate3d(5%,-7px,0) scale(1.06)}}
@keyframes trendBob{0%,100%{transform:translate(-50%,-50%) rotate(-1deg)}50%{transform:translate(-50%,-53%) rotate(1deg)}}
@keyframes trendProgress{from{transform:translateX(-110%)}to{transform:translateX(250%)}}
@media(max-width:1180px){.trend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.trend-lab{margin:0 17px 15px;padding:16px}.trend-lab-head{flex-direction:column}.trend-grid{grid-template-columns:1fr}.trend-card{grid-template-columns:118px 1fr}.trend-phone-wrap{min-height:188px}.trend-phone{transform:scale(.92)}}
@media(max-width:420px){.trend-card{grid-template-columns:102px 1fr;gap:10px}.trend-phone{transform:scale(.82);transform-origin:center}.trend-copy p{font-size:9px}.trend-title-row h3{font-size:12px}}

/* Evruni Trend Lab v2 — creator-first short video workflow */
.trend-lab-v2{padding:0 26px 26px}.trend-v2-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:26px 24px;border:1px solid rgba(255,255,255,.07);border-radius:24px;background:linear-gradient(145deg,rgba(18,20,29,.78),rgba(8,10,16,.58));box-shadow:inset 0 1px rgba(255,255,255,.025)}
.trend-v2-hero h1{margin:4px 0 7px;font-size:28px;letter-spacing:-.035em;color:#f0f2f8}.trend-v2-hero p{margin:0;max-width:720px;color:#858da0;font-size:12px;line-height:1.6}.trend-v2-status{min-width:155px;padding:12px 14px;border:1px solid rgba(255,255,255,.07);border-radius:15px;background:rgba(255,255,255,.035);display:grid;gap:3px}.trend-v2-status i{width:8px;height:8px;border-radius:50%;background:#65d6a3;box-shadow:0 0 12px rgba(101,214,163,.55)}.trend-v2-status b{font-size:11px;color:#e2e6ef}.trend-v2-status small{color:#727b8f;font-size:9px}
.trend-v2-toolbar{display:flex;align-items:center;gap:10px;margin:15px 0}.trend-v2-search{flex:1;display:flex;align-items:center;gap:8px;height:42px;padding:0 13px;border:1px solid rgba(255,255,255,.07);border-radius:13px;background:rgba(14,16,24,.72)}.trend-v2-search span{color:#777f93}.trend-v2-search input{width:100%;border:0;outline:0;background:transparent;color:#e9ecf4;font:500 12px inherit}.trend-filters{display:flex;gap:6px;overflow:auto;scrollbar-width:none}.trend-filters button,.trend-refresh{height:38px;padding:0 11px;border-radius:11px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.035);color:#8f97aa;font-size:10px;white-space:nowrap;cursor:pointer}.trend-filters button.active{background:rgba(111,94,255,.12);border-color:rgba(131,115,255,.35);color:#c0b9ff}.trend-refresh{min-width:40px;font-size:15px}
.trend-v2-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.trend-card-v2{display:grid;grid-template-columns:145px 1fr;gap:14px;padding:13px;border:1px solid rgba(255,255,255,.065);border-radius:19px;background:rgba(12,14,21,.64);transition:.18s ease;overflow:hidden}.trend-card-v2:hover{transform:translateY(-2px);border-color:rgba(139,125,255,.27);background:rgba(17,19,29,.72)}.trend-card-v2[hidden]{display:none}.trend-card-v2.saved{border-color:rgba(112,214,172,.35)}
.trend-v2-preview{position:relative;min-height:240px;display:grid;place-items:center}.trend-v2-phone{width:122px;height:226px;border:4px solid #252936;border-radius:22px;overflow:hidden;background:#05070b;box-shadow:0 14px 35px rgba(0,0,0,.38);position:relative}.trend-v2-top,.trend-v2-bottom{position:absolute;z-index:4;left:8px;right:8px;display:flex;justify-content:space-between;color:#fff;font-size:7px;text-shadow:0 2px 8px #000}.trend-v2-top{top:9px}.trend-v2-top b{font-size:7px;opacity:.85}.trend-v2-bottom{bottom:8px;font-size:7px}.trend-v2-scene{position:absolute;inset:0;overflow:hidden;background:linear-gradient(160deg,#1b1b30,#070910)}.trend-v2-scene:before{content:"";position:absolute;inset:-20%;background:radial-gradient(circle at 30% 25%,rgba(132,109,255,.25),transparent 34%),radial-gradient(circle at 75% 70%,rgba(57,192,176,.16),transparent 34%);animation:trendV2Float 5s ease-in-out infinite}.trend-v2-orb{position:absolute;width:70px;height:70px;left:50%;top:35%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle at 35% 30%,#f1c7a8 0 13%,#7c68ca 14% 34%,#25283a 35%);box-shadow:0 12px 25px rgba(0,0,0,.35);animation:trendV2Bob 3s ease-in-out infinite}.trend-v2-person{position:absolute;width:44px;height:75px;left:50%;top:57%;transform:translateX(-50%);border-radius:45% 45% 25% 25%;background:linear-gradient(#6c59bd 0 45%,#202435 46%);opacity:.95}.trend-v2-person.second{display:none;left:68%;transform:translateX(-50%) scale(.72);opacity:.75}.trend-card-v2[data-trend-people="2"] .trend-v2-person{left:34%}.trend-card-v2[data-trend-people="2"] .trend-v2-person.second{display:block}.trend-v2-scene>strong{position:absolute;left:9px;right:9px;bottom:36px;color:#fff;text-align:center;font-size:9px;text-shadow:0 2px 9px #000}.trend-v2-scene>small{position:absolute;left:9px;right:9px;bottom:22px;color:rgba(255,255,255,.72);text-align:center;font-size:6px}.trend-v2-format{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);padding:4px 6px;border-radius:999px;background:rgba(0,0,0,.48);color:#fff;font-size:7px}.trend-v2-body{display:flex;flex-direction:column;justify-content:center;min-width:0}.trend-v2-title{display:flex;justify-content:space-between;gap:6px;align-items:flex-start}.trend-v2-title h3{margin:0;color:#eceff6;font-size:14px;line-height:1.25}.trend-v2-title span{padding:4px 6px;border-radius:999px;background:rgba(117,99,255,.1);color:#aca4ff;font-size:8px;white-space:nowrap}.trend-v2-platform{margin-top:5px;color:#6f7890;font-size:8px}.trend-v2-body p{margin:9px 0;color:#858da0;font-size:10px;line-height:1.5}.trend-v2-meta{display:flex;gap:7px;flex-wrap:wrap;color:#9ca4b5;font-size:8px}.trend-v2-actions{display:flex;gap:7px;margin-top:12px}.trend-v2-actions .primary{flex:1;height:34px;border-radius:10px;font-size:10px}.trend-v2-actions .ghost{width:36px;height:34px;border-radius:10px;font-size:14px}.trend-card-v2.saved .trend-save-v2{color:#8fe1bd;border-color:rgba(143,225,189,.3)}.trend-v2-foot{display:flex;justify-content:space-between;gap:15px;margin-top:13px;color:#697286;font-size:9px}
.trend-modal-v2{position:fixed;z-index:10000;inset:0;display:grid;place-items:center;padding:18px}.trend-modal-v2-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.64);backdrop-filter:blur(8px)}.trend-modal-v2-panel{position:relative;width:min(640px,100%);max-height:calc(100vh - 36px);overflow:auto;padding:25px;border:1px solid rgba(255,255,255,.09);border-radius:24px;background:linear-gradient(145deg,rgba(21,23,32,.96),rgba(9,11,17,.97));box-shadow:0 25px 80px rgba(0,0,0,.48)}.trend-modal-v2-close{position:absolute;right:15px;top:14px;width:32px;height:32px;border:1px solid rgba(255,255,255,.07);border-radius:10px;background:rgba(255,255,255,.04);color:#adb4c2;font-size:20px;cursor:pointer}.trend-modal-v2-panel h2{margin:5px 0 7px;color:#f0f2f8;font-size:23px}.trend-modal-v2-lead{margin:0 0 18px;color:#838b9e;font-size:11px;line-height:1.5}.trend-slots-v2{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.trend-slot-v2 label{min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px dashed rgba(255,255,255,.14);border-radius:16px;background:rgba(255,255,255,.025);cursor:pointer}.trend-slot-v2 label:hover{border-color:rgba(132,113,255,.5);background:rgba(111,91,255,.05)}.trend-slot-preview{width:74px;height:74px;display:grid;place-items:center;overflow:hidden;border-radius:14px;background:rgba(255,255,255,.05);color:#8f86ff;font-size:26px}.trend-slot-preview img{width:100%;height:100%;object-fit:cover}.trend-slot-v2 b{color:#dfe3ec;font-size:11px}.trend-slot-v2 small{color:#6e778b;font-size:8px}.trend-smart-tip{display:flex;gap:8px;margin:13px 0;padding:12px;border:1px solid rgba(113,210,173,.12);border-radius:13px;background:rgba(75,185,147,.04);color:#8e9aab;font-size:9px;line-height:1.5}.trend-smart-tip:first-letter{color:#7ee0ba}.trend-smart-tip b{color:#b9e7d4}.trend-advanced-v2{margin-top:8px;border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:10px 12px;color:#9aa2b2;font-size:10px}.trend-advanced-v2 summary{cursor:pointer}.trend-advanced-v2 div{display:flex;align-items:center;gap:10px;margin-top:10px}.trend-advanced-v2 select{flex:1;height:34px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:#171a25;color:#dfe3ec}.trend-modal-v2-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.trend-modal-v2-actions button{height:40px;border-radius:11px;padding:0 15px}.trend-modal-v2-status{margin-top:10px;color:#8c95a8;font-size:10px;min-height:15px}
@keyframes trendV2Float{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(3%,-3%,0) scale(1.05)}}@keyframes trendV2Bob{0%,100%{transform:translate(-50%,-50%)}50%{transform:translate(-50%,-56%)}}
@media(max-width:1180px){.trend-v2-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.trend-v2-hero{flex-direction:column;align-items:flex-start}.trend-v2-toolbar{flex-wrap:wrap}.trend-v2-search{flex-basis:100%}.trend-v2-grid{grid-template-columns:1fr}.trend-v2-foot{flex-direction:column}.trend-lab-v2{padding:0 17px 20px}}@media(max-width:520px){.trend-card-v2{grid-template-columns:118px 1fr}.trend-v2-phone{transform:scale(.88)}.trend-slots-v2{grid-template-columns:1fr}.trend-modal-v2-panel{padding:20px}.trend-v2-hero h1{font-size:23px}}

/* Evruni video studio — screenshot-inspired, keeps the existing Evruni visual language */
.video-studio{display:grid;gap:18px;padding:0 26px 26px}
.video-section{border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,rgba(17,18,28,.82),rgba(10,12,21,.82));box-shadow:inset 0 1px 0 rgba(255,255,255,.025);overflow:visible}
.video-prompt-section{padding:20px 20px 24px}
.video-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:19px 20px 14px}
.video-section-head h3{margin:0;color:#dfe2eb;font-size:16px;letter-spacing:.02em;text-transform:uppercase}
.video-section-head small{display:block;margin-top:5px;color:#7f8799;font-size:11px;line-height:1.45}
.video-prompt-input{display:block;width:100%;min-height:138px;box-sizing:border-box;resize:vertical;padding:20px;border-radius:17px;border:1px solid rgba(143,134,181,.23);background:#1b1b2b;color:#f0f1f8;font:600 16px/1.55 inherit;outline:none}
.video-prompt-input:focus{border-color:rgba(112,92,255,.58);box-shadow:0 0 0 3px rgba(101,78,255,.08)}
.video-param-grid{display:grid;grid-template-columns:1.25fr 1.25fr 1fr 1fr 1fr;gap:14px;padding:0 20px 18px}
.video-param{min-width:0}
.video-param label{display:block;margin:0 0 7px;color:#8d94a4;font-size:12px;font-weight:600}
.video-param select{width:100%;height:50px;padding:0 13px;border:1px solid var(--line);border-radius:14px;background:#1b1b2b;color:#edf0f8;outline:none}
.video-param select:focus{border-color:rgba(112,92,255,.55)}
.video-param .model-picker{width:100%}
.video-param .model-picker-trigger{width:100%;height:50px;border-radius:14px;background:#1b1b2b}
.video-capability-chips{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
.video-capability-chips span{display:inline-flex;align-items:center;min-height:25px;padding:0 10px;border-radius:999px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.045);color:#aeb5c4;font-size:10px;font-weight:700}
.video-check-row{display:flex;align-items:center;gap:10px;padding:0 20px 19px;color:#d7dbe6;font-size:13px;font-weight:600}
.video-check-row input{width:21px;height:21px;accent-color:#6154ff}
.video-media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:0 20px 20px}
.video-media-card{min-width:0;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#1b1b2b}
.video-media-card[hidden]{display:none!important}
.video-media-head{display:flex;justify-content:space-between;gap:8px;margin-bottom:10px}
.video-media-head b{font-size:13px;color:#eef0f7}
.video-media-head span{font-size:10px;color:#737c91}
.video-drop{min-height:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px dashed rgba(154,151,179,.32);border-radius:13px;color:#9ea5b5;cursor:pointer;transition:.18s ease}
.video-drop:hover{border-color:rgba(124,103,255,.65);background:rgba(102,81,255,.06);color:#d4d0ff}
.video-drop-icon{font-size:22px;color:#6657ff}
.video-drop-text{font-size:12px;font-weight:700}
.video-drop small{font-size:9px;color:#697289}
.video-media-preview{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}
.video-media-thumb{position:relative;width:74px;height:56px;overflow:hidden;border-radius:9px;border:1px solid rgba(255,255,255,.08);background:#0b0e17}
.video-media-thumb img,.video-media-thumb video{width:100%;height:100%;display:block;object-fit:cover}
.video-media-thumb button{position:absolute;top:3px;right:3px;width:20px;height:20px;border:0;border-radius:7px;background:rgba(0,0,0,.68);color:#fff;cursor:pointer}
.video-cost-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(145deg,rgba(17,18,28,.86),rgba(10,12,21,.86))}
.video-cost-bar>div{display:grid;gap:3px}
.video-cost-bar small{color:#777f90;font-size:10px;letter-spacing:.1em}
.video-cost-bar b{font-size:22px;color:#f3f4f8}
.video-cost-bar span{color:#737c91;font-size:10px}
.video-cost-bar .price-part{display:inline-flex;align-items:baseline;gap:5px}
.video-cost-bar .price-part b{display:inline;color:#f3f4f8;font-size:22px}
.video-cost-bar .price-part strong{font-size:22px;color:#f3f4f8}
.video-cost-bar .price-part em{font-size:10px;color:#7d8799}
.video-generate-btn{min-width:220px;height:54px;display:flex;align-items:center;justify-content:center;gap:9px;border-radius:15px;font-size:14px}
.video-generate-btn span{font-size:22px;line-height:1}
.video-recent{border:1px solid rgba(255,255,255,.07);border-radius:20px;background:rgba(7,9,15,.48);overflow:hidden}
.video-recent-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid rgba(255,255,255,.06)}
.video-recent-head h3{margin:0;color:#aeb3c0;font-size:13px}
.video-recent-head .ghost{height:34px;padding:0 11px;font-size:10px}
.video-recent-list{display:grid}
.video-recent-row{display:grid;grid-template-columns:44px 1fr auto;gap:11px;align-items:center;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.045)}
.video-recent-row:last-child{border-bottom:0}
.video-recent-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#141622;color:#b9b1ff;border:1px solid rgba(255,255,255,.06)}
.video-recent-copy{min-width:0;display:grid;gap:3px}
.video-recent-copy b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#e1e3eb;font-size:12px}
.video-recent-copy small{color:#70798e;font-size:9px}
.video-recent-row>strong{color:#8d96aa;font-size:10px}
.video-status{margin:0 20px 20px}
@media(max-width:1100px){.video-param-grid{grid-template-columns:repeat(3,1fr)}.video-media-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.video-studio{padding:0 17px 20px}.video-section-head{flex-direction:column}.video-capability-chips{justify-content:flex-start}.video-param-grid{grid-template-columns:1fr 1fr}.video-media-grid{grid-template-columns:1fr 1fr}.video-cost-bar{align-items:stretch;flex-direction:column}.video-generate-btn{width:100%}}
@media(max-width:560px){.video-prompt-section{padding:16px}.video-section-head{padding:16px 16px 12px}.video-param-grid,.video-media-grid{grid-template-columns:1fr;padding-left:16px;padding-right:16px}.video-check-row{padding-left:16px;padding-right:16px}.video-cost-bar{padding:16px}.video-recent-row{grid-template-columns:38px 1fr}.video-recent-row>strong{display:none}.video-status{margin-left:16px;margin-right:16px}}

/* Evruni image studio — same category UX as video */
.image-studio .image-reference-wrap{margin-top:18px}
.image-studio .image-reference-card{width:100%}
.image-studio .image-reference-card .video-drop{min-height:120px}
.image-cost-section{display:flex;align-items:center;justify-content:space-between;gap:20px}
.image-cost-copy{display:flex;flex-direction:column;gap:3px}
.image-cost-copy small{opacity:.55;letter-spacing:.08em}
.image-cost-copy strong{font-size:24px}
.image-cost-copy span{opacity:.55;font-size:13px}
.image-studio .preview{min-height:240px}
@media(max-width:760px){
 .image-cost-section{flex-direction:column;align-items:stretch}
 .image-cost-section .video-generate-button{width:100%}
 .image-studio .video-param-grid{grid-template-columns:1fr}
}

/* Evruni model picker persistence layout */
.video-studio .model-picker{position:relative;z-index:30}
.video-studio .model-picker-menu{z-index:100;max-height:min(420px,60vh);overflow:hidden}
.video-studio .model-picker-list{max-height:min(340px,50vh);overflow-y:auto}

/* Category price blocks: keep label, value and unit readable */
.video-cost-bar .price-part,
.image-cost-section .price-part{display:flex;align-items:baseline;gap:8px}
.video-cost-bar .price-part b,
.image-cost-section .price-part b{font-size:12px;opacity:.62}
.video-cost-bar .price-part strong,
.image-cost-section .price-part strong{font-size:24px}

/* Strict category cost layout: one compact value, aligned to Evruni cards */
.image-cost-section,
.video-cost-bar{min-height:86px;box-sizing:border-box}
.image-cost-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px}
.image-cost-copy small{display:block;font-size:11px;line-height:1.2;font-weight:600;letter-spacing:.12em;color:#777f90;text-transform:uppercase}
.image-cost-copy strong.category-cost-value{display:block;margin:0;font-size:28px;line-height:1.05;font-weight:700;letter-spacing:-.02em;color:#f3f4f8;white-space:nowrap}
.image-cost-copy>span{display:block;font-size:12px;line-height:1.2;color:#737c91}
.video-cost-bar>div{min-width:0}
.video-cost-bar>div>small{display:block;line-height:1.2}
.video-cost-bar>div>b.category-cost-value{display:block;margin:0;font-size:28px;line-height:1.05;font-weight:700;letter-spacing:-.02em;color:#f3f4f8;white-space:nowrap}
.video-cost-bar>div>span{display:block;line-height:1.2}
@media(max-width:760px){
  .image-cost-section,.video-cost-bar{min-height:78px}
  .image-cost-copy strong.category-cost-value,
  .video-cost-bar>div>b.category-cost-value{font-size:24px}
}

/* Final image cost alignment */
.image-cost-section{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center !important;
  gap:28px;
  min-height:104px;
  padding:20px 24px;
}
.image-cost-copy{
  min-width:0;
  display:grid !important;
  grid-template-columns:auto 1fr;
  grid-template-rows:auto auto;
  column-gap:12px;
  row-gap:3px;
  align-items:baseline;
  justify-content:start;
}
.image-cost-copy small{grid-column:1 / -1;margin:0;font-size:11px;line-height:1.15}
.image-cost-copy strong.category-cost-value{grid-column:1;font-size:30px;line-height:1;white-space:nowrap;margin:0}
.image-cost-copy>span{grid-column:2;font-size:13px;line-height:1.1;white-space:nowrap;margin:0;opacity:.62}
.image-cost-section .video-generate-button{
  width:auto !important;
  min-width:250px;
  height:56px;
  margin:0;
  align-self:center;
}
@media(max-width:700px){
  .image-cost-section{
    grid-template-columns:1fr;
    gap:14px;
    padding:18px;
  }
  .image-cost-section .video-generate-button{width:100% !important;min-width:0}
}

/* Evruni auth security controls */
.evruni-auth-divider{display:flex;align-items:center;gap:10px;margin:16px 0 12px;color:rgba(255,255,255,.42);font-size:12px}
.evruni-auth-divider:before,.evruni-auth-divider:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,rgba(140,110,255,.35),transparent)}
.evruni-socials{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.evruni-social{min-height:42px;border:1px solid rgba(255,255,255,.10);border-radius:12px;background:rgba(255,255,255,.035);color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:650;font-size:13px;transition:.18s ease;box-shadow:inset 0 0 22px rgba(126,91,255,.035)}
.evruni-social:hover{transform:translateY(-1px);border-color:rgba(150,120,255,.38);background:rgba(126,91,255,.09)}
.evruni-social span:first-child{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:rgba(255,255,255,.08);font-weight:800}
.evruni-google span:first-child{font-family:Arial,sans-serif}
.evruni-turnstile{display:flex;justify-content:center;margin:12px 0 4px;min-height:65px}
@media(max-width:520px){.evruni-socials{grid-template-columns:1fr}.evruni-social{min-height:44px}}

/* Evruni V17 — Bonus & referral workspace */
.bonuses-view .view-sub{margin:6px 0 0;color:#7f8aa2;font-size:12px;max-width:720px}
.bonus-hero{display:grid;grid-template-columns:1.35fr .95fr;gap:16px;padding:24px;border:1px solid rgba(137,117,255,.25);border-radius:24px;background:radial-gradient(circle at 10% 0%,rgba(119,80,255,.18),transparent 45%),linear-gradient(135deg,rgba(34,27,91,.72),rgba(14,18,36,.86));box-shadow:0 24px 80px rgba(0,0,0,.24)}
.bonus-hero h3{font-size:28px;margin:8px 0}.bonus-hero p{color:#9aa4b8;line-height:1.55;margin:0 0 18px}.bonus-link-row{display:flex;gap:10px}.bonus-link-row input{flex:1;min-width:0;background:rgba(5,8,18,.75);border:1px solid rgba(255,255,255,.12);color:#e8ebf6;border-radius:13px;padding:12px 14px;font:500 13px/1.2 ui-monospace,SFMono-Regular,monospace}.bonus-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bonus-stats>div{padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(255,255,255,.035)}.bonus-stats b{display:block;font-size:22px;color:#f5f6ff}.bonus-stats span{display:block;margin-top:5px;color:#737e95;font-size:10px}.bonus-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}.bonus-steps>div{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid var(--line);border-radius:16px;background:rgba(9,13,25,.65)}.bonus-steps b{width:30px;height:30px;flex:0 0 30px;border-radius:50%;display:grid;place-items:center;background:rgba(141,112,255,.18);color:#bbaeff}.bonus-steps strong,.bonus-steps small{display:block}.bonus-steps strong{font-size:13px}.bonus-steps small{margin-top:4px;color:#778299;line-height:1.4}.bonus-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:14px;margin-top:14px}.bonus-panel{border:1px solid var(--line);border-radius:18px;background:rgba(9,13,25,.72);overflow:hidden}.bonus-panel>h3{padding:17px;margin:0;border-bottom:1px solid var(--line);font-size:15px}.bonus-row{display:flex;justify-content:space-between;gap:12px;padding:14px 17px;border-bottom:1px solid rgba(255,255,255,.045)}.bonus-row:last-child{border-bottom:0}.bonus-row b,.bonus-row small{display:block}.bonus-row small{margin-top:4px;color:#6f7a90;font-size:10px}.bonus-row strong{color:#70e5b7;white-space:nowrap}.bonus-task-list{padding:12px}.bonus-task{display:flex;gap:13px;padding:16px;border:1px solid rgba(255,255,255,.07);border-radius:15px;background:rgba(255,255,255,.02);margin-bottom:10px}.bonus-task:last-child{margin-bottom:0}.bonus-task-icon{width:38px;height:38px;flex:0 0 38px;border-radius:12px;display:grid;place-items:center;background:rgba(92,77,255,.16);color:#a99aff;font-size:17px}.bonus-task-main{min-width:0;flex:1}.bonus-task-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.bonus-task h3{margin:8px 0 5px;font-size:15px}.bonus-task p{margin:0;color:#7d879b;font-size:11px;line-height:1.5}.bonus-reward{color:#70e5b7;font-weight:800;white-space:nowrap}.bonus-task-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.task-status{font-size:11px;color:#aab2c3}.task-status.good{color:#70e5b7}.bonus-task .badge{font-size:9px}
@media(max-width:900px){.bonus-hero,.bonus-grid{grid-template-columns:1fr}.bonus-steps{grid-template-columns:1fr}.bonus-stats{margin-top:4px}}
@media(max-width:560px){.bonus-link-row{flex-direction:column}.bonus-link-row .primary{width:100%}.bonus-hero{padding:18px}.bonus-hero h3{font-size:23px}.bonus-task{padding:13px}.bonus-task-top{align-items:flex-start;flex-direction:column}}

/* Evruni AI chat sphere */
.evruni-ai-sphere-wrap{display:flex;align-items:center;justify-content:center;min-height:clamp(180px,32vh,340px);width:100%;pointer-events:none}
.evruni-ai-sphere{position:relative;width:clamp(120px,18vw,190px);height:clamp(120px,18vw,190px);border-radius:50%;background:radial-gradient(circle at 34% 30%,#fff 0 2%,rgba(255,255,255,.9) 3%,rgba(113,214,255,.7) 12%,rgba(50,110,255,.38) 32%,rgba(105,65,255,.28) 55%,rgba(0,0,0,0) 72%);box-shadow:0 0 28px rgba(92,190,255,.32),0 0 70px rgba(116,74,255,.2),inset -16px -18px 32px rgba(0,0,0,.32);animation:evruniSphereFloat 4s ease-in-out infinite}
@keyframes evruniSphereFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-8px) scale(1.025)}}
@keyframes evruniSphereOrbit{to{transform:rotate(382deg) scaleX(.52)}}
@media (max-width:640px){.evruni-ai-sphere-wrap{min-height:170px}.evruni-ai-sphere{width:112px;height:112px}}

/* v15.43 — smooth chat sending and generation state */
.messages{scroll-behavior:smooth !important;overscroll-behavior:contain !important;}
.msg-local,.msg-ready{animation:messageIn .20s cubic-bezier(.22,1,.36,1) both !important;}
.msg-generating{animation:messageIn .20s cubic-bezier(.22,1,.36,1) both !important;min-width:150px;}
.msg-generating p{display:flex;align-items:center;gap:8px;}
.generating-label{color:#c9c3e8;}
.generating-dots{display:inline-flex;gap:4px;align-items:center;height:12px;}
.generating-dots i{width:4px;height:4px;border-radius:50%;background:#9f8cff;display:block;animation:evruniTypingDot 1.1s ease-in-out infinite;opacity:.35;}
.generating-dots i:nth-child(2){animation-delay:.16s}.generating-dots i:nth-child(3){animation-delay:.32s}
@keyframes evruniTypingDot{0%,60%,100%{transform:translateY(0);opacity:.3}30%{transform:translateY(-4px);opacity:1}}

.msg.hidden-error{display:none!important}

/* Support header action: keep the new-ticket button on the right */
#view .view-top .support-new-top{margin-left:auto;flex:0 0 auto;white-space:nowrap}


/* V15.80 — refined glass sidebar + Evruni bonus icon */
.sidebar{
  background:
    linear-gradient(180deg,rgba(11,15,29,.82),rgba(7,10,19,.70) 58%,rgba(6,9,18,.78)),
    radial-gradient(circle at 15% 8%,rgba(141,112,255,.11),transparent 32%),
    radial-gradient(circle at 85% 92%,rgba(47,216,255,.055),transparent 30%);
  border-right-color:rgba(157,170,204,.11);
  backdrop-filter:blur(20px) saturate(125%);
  -webkit-backdrop-filter:blur(20px) saturate(125%);
  box-shadow:18px 0 55px rgba(0,0,0,.16),inset -1px 0 rgba(255,255,255,.025);
}
.sidebar nav .nav{
  border-color:rgba(255,255,255,.025);
  background:linear-gradient(90deg,rgba(255,255,255,.012),rgba(255,255,255,0));
  box-shadow:inset 0 1px rgba(255,255,255,.018);
}
.sidebar nav .nav:hover,.side-bottom a:hover{
  background:linear-gradient(100deg,rgba(255,255,255,.075),rgba(141,112,255,.045) 58%,rgba(47,216,255,.025));
  border-color:rgba(159,139,255,.13);
  box-shadow:0 10px 28px rgba(0,0,0,.12),inset 0 1px rgba(255,255,255,.035);
}
.sidebar nav .nav.active{
  background:linear-gradient(100deg,rgba(141,112,255,.22),rgba(141,112,255,.075) 60%,rgba(47,216,255,.035));
  border-color:rgba(159,139,255,.24);
  box-shadow:inset 0 0 34px rgba(141,112,255,.07),0 10px 34px rgba(0,0,0,.14);
}
.sidebar nav .nav.active:after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(255,255,255,.045),transparent 34%);
}
.bonus-nav .bonus-nav-icon{
  position:relative;
  width:24px;
  height:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 24px;
  border-radius:8px;
  font-size:15px;
  line-height:1;
  color:#d8d0ff;
  background:linear-gradient(135deg,rgba(141,112,255,.22),rgba(47,216,255,.10));
  border:1px solid rgba(168,145,255,.24);
  box-shadow:0 0 18px rgba(108,76,255,.12),inset 0 1px rgba(255,255,255,.14);
  transition:transform .22s ease,color .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.bonus-nav:hover .bonus-nav-icon,.bonus-nav.active .bonus-nav-icon{
  color:#fff;
  border-color:rgba(103,232,255,.36);
  box-shadow:0 0 20px rgba(108,76,255,.22),0 0 30px rgba(47,216,255,.08),inset 0 1px rgba(255,255,255,.2);
  transform:scale(1.06) rotate(-3deg);
}
@media(max-width:980px){
  .bonus-nav .bonus-nav-icon{width:24px;height:24px}
}

/* Evruni Center v15.82 */
.evruni-center{position:fixed;right:22px;top:22px;z-index:1300;font-family:inherit}
.evruni-center-btn{position:relative;width:42px;height:42px;border-radius:14px;border:1px solid rgba(255,255,255,.06);background:linear-gradient(145deg,rgba(10,12,17,.52),rgba(18,20,27,.34));color:inherit;box-shadow:0 14px 32px rgba(0,0,0,.18);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);cursor:pointer}
.evruni-center-icon{font-size:17px;opacity:.78}
.evruni-center-badge{position:absolute;right:-4px;top:-4px;min-width:16px;height:16px;padding:0 4px;border-radius:9px;display:none;align-items:center;justify-content:center;font-size:9px;background:rgba(177,160,214,.78);color:#fff}
.evruni-center-panel{position:absolute;right:0;top:50px;width:330px;max-width:calc(100vw - 28px);border:1px solid rgba(255,255,255,.055);border-radius:20px;background:linear-gradient(145deg,rgba(10,12,17,.72),rgba(18,20,27,.56));box-shadow:0 22px 55px rgba(0,0,0,.26);backdrop-filter:blur(20px) saturate(105%);-webkit-backdrop-filter:blur(20px) saturate(105%);overflow:hidden}
.evruni-center-head{display:flex;justify-content:space-between;align-items:center;padding:15px 16px;border-bottom:1px solid rgba(255,255,255,.04)}
.evruni-center-kicker{font-size:9px;letter-spacing:.18em;opacity:.42}
.evruni-center-title{margin-top:2px;font-size:16px;font-weight:600}
.evruni-center-clear{border:0;background:none;color:inherit;font-size:10px;opacity:.42;cursor:pointer}
.evruni-center-list{max-height:360px;overflow:auto;padding:8px}
.evruni-center-empty{padding:28px 16px;text-align:center;font-size:11px;opacity:.4}
.evruni-center-item{padding:12px 11px;border-radius:13px;margin:3px 0;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.03)}
.evruni-center-item-title{font-size:12px;font-weight:600}
.evruni-center-item-text{margin-top:4px;font-size:11px;line-height:1.4;opacity:.52}
.evruni-center-item-time{margin-top:6px;font-size:9px;opacity:.32}
@media(max-width:600px){.evruni-center{right:14px;top:14px}}

/* Evruni: Understand this */
.doc-list-row{gap:18px;align-items:center}.doc-row-actions{display:flex;align-items:center;gap:12px}.doc-understand{white-space:nowrap}.doc-analysis{margin:18px 26px 0;padding:20px;border:1px solid rgba(255,255,255,.07);border-radius:20px;background:linear-gradient(145deg,rgba(10,12,17,.38),rgba(15,17,23,.24));backdrop-filter:blur(16px) saturate(100%);box-shadow:0 18px 45px rgba(0,0,0,.18)}.doc-analysis-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.doc-analysis-head h3{margin:5px 0 4px}.doc-analysis-head p{margin:0;color:rgba(255,255,255,.55)}.doc-analysis-loading{margin-top:18px;color:rgba(255,255,255,.68)}.doc-analysis-result{margin-top:18px;line-height:1.7;color:rgba(255,255,255,.9)}@media(max-width:760px){.doc-list-row{align-items:flex-start;flex-direction:column;gap:10px}.doc-row-actions{width:100%;justify-content:space-between}.doc-analysis-head{flex-direction:column}.doc-analysis{margin-left:14px;margin-right:14px}}

/* Evruni Trend Lab — standalone tab */
.trend-nav{position:relative}
.trend-nav::after{content:'NEW';position:absolute;right:12px;top:8px;font-size:8px;letter-spacing:.08em;padding:2px 5px;border-radius:999px;background:rgba(255,255,255,.07);color:rgba(255,255,255,.65)}
.trend-lab{margin-top:4px}
.trend-lab-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}
.trend-lab-head h2{margin:5px 0 7px;font-size:28px;letter-spacing:-.03em}
.trend-lab-head p{margin:0;color:rgba(255,255,255,.58);max-width:760px;line-height:1.55}
.trend-live{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.025);border-radius:999px;color:rgba(255,255,255,.7);white-space:nowrap;font-size:12px}
.trend-live i{width:7px;height:7px;border-radius:50%;background:#91d6a5;box-shadow:0 0 12px rgba(145,214,165,.35)}
.trend-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.trend-card{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.06);border-radius:22px;background:linear-gradient(145deg,rgba(12,15,20,.62),rgba(17,20,27,.38));backdrop-filter:blur(18px);box-shadow:0 18px 45px rgba(0,0,0,.18);transition:.22s ease}
.trend-card:hover,.trend-card.selected{transform:translateY(-2px);border-color:rgba(255,255,255,.12);box-shadow:0 24px 55px rgba(0,0,0,.25)}
.trend-phone-wrap{padding:16px 16px 0;display:flex;justify-content:center}
.trend-phone{display:block;position:relative;width:min(100%,210px);aspect-ratio:9/17.5;border-radius:29px;padding:7px;background:#07090d;border:1px solid rgba(255,255,255,.11);box-shadow:0 18px 45px rgba(0,0,0,.35);overflow:hidden;color:#fff;text-decoration:none}
.trend-phone-notch{position:absolute;z-index:4;top:10px;left:50%;transform:translateX(-50%);width:74px;height:18px;border-radius:14px;background:#030406;border:1px solid rgba(255,255,255,.05)}
.trend-scene{position:relative;width:100%;height:100%;overflow:hidden;border-radius:23px;background:radial-gradient(circle at 50% 30%,rgba(255,255,255,.08),transparent 25%),linear-gradient(155deg,#11151d,#07090d 70%)}
.trend-scene::before{content:'';position:absolute;inset:-20%;background:radial-gradient(circle at 35% 40%,rgba(255,255,255,.08),transparent 24%),radial-gradient(circle at 75% 70%,rgba(255,255,255,.05),transparent 30%);animation:trendDrift 7s ease-in-out infinite alternate}
.trend-scan{position:absolute;left:10%;right:10%;height:1px;top:24%;background:rgba(255,255,255,.12);box-shadow:0 0 18px rgba(255,255,255,.12);animation:trendScan 4.2s linear infinite}
.trend-avatar{position:absolute;left:50%;top:43%;transform:translate(-50%,-50%);width:74px;height:110px;border-radius:42% 42% 28% 28%;background:radial-gradient(circle at 50% 25%,rgba(255,255,255,.34) 0 9%,transparent 10%),linear-gradient(160deg,rgba(255,255,255,.22),rgba(255,255,255,.05));filter:drop-shadow(0 12px 20px rgba(0,0,0,.28));animation:trendFloat 3.8s ease-in-out infinite}
.trend-extra{position:absolute;left:12%;right:12%;bottom:24%;height:14%;border-radius:50%;background:rgba(255,255,255,.06);filter:blur(8px)}
.trend-caption{position:absolute;left:12px;bottom:40px;right:12px;font-size:11px;font-weight:700;letter-spacing:.02em;text-shadow:0 2px 8px #000;z-index:3}
.trend-real-badge{position:absolute;left:11px;top:13px;padding:4px 7px;border-radius:7px;background:rgba(0,0,0,.36);border:1px solid rgba(255,255,255,.08);font-size:8px;letter-spacing:.08em;z-index:5}
.trend-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px);font-size:16px;z-index:5;transition:.2s}
.trend-phone:hover .trend-play{transform:translate(-50%,-50%) scale(1.08);background:rgba(255,255,255,.18)}
.trend-phone-ui{display:flex;justify-content:space-between;padding:6px 7px 2px;font-size:12px;color:rgba(255,255,255,.65)}
.trend-copy{padding:14px 16px 17px}
.trend-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.trend-title-row h3{margin:0;font-size:17px;letter-spacing:-.02em}
.trend-title-row span{font-size:10px;color:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.07);padding:5px 7px;border-radius:999px;white-space:nowrap}
.trend-copy p{margin:8px 0 6px;color:rgba(255,255,255,.58);font-size:12px;line-height:1.45;min-height:35px}
.trend-copy small{color:rgba(255,255,255,.4);font-size:11px}
.trend-actions{display:flex;gap:8px;margin-top:12px}
.trend-actions .primary,.trend-actions .ghost{min-height:36px;padding:0 11px;font-size:12px}
.trend-watch{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.trend-selected{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025)}
.trend-selected[hidden]{display:none}
.trend-selected b,.trend-selected small{display:block}.trend-selected b{margin:4px 0;font-size:14px}.trend-selected small{color:rgba(255,255,255,.5)}
.trend-zombie .trend-scene{background:radial-gradient(circle at 50% 45%,rgba(185,185,210,.14),transparent 24%),linear-gradient(150deg,#242433,#0b0b12)}
.trend-burning .trend-scene{background:radial-gradient(circle at 50% 30%,rgba(220,185,110,.2),transparent 28%),linear-gradient(150deg,#241b18,#090a0d)}
.trend-bulin .trend-scene{background:radial-gradient(circle at 50% 32%,rgba(255,60,60,.28),transparent 30%),linear-gradient(150deg,#2a090d,#090a0d)}
.trend-gangnam .trend-scene{background:radial-gradient(circle at 25% 30%,rgba(75,130,255,.18),transparent 25%),radial-gradient(circle at 75% 50%,rgba(255,100,180,.14),transparent 25%),linear-gradient(150deg,#11172a,#080a10)}
.trend-raindance .trend-scene{background:radial-gradient(circle at 60% 25%,rgba(255,210,130,.2),transparent 26%),linear-gradient(150deg,#1b1d21,#090a0c)}
.trend-halloween .trend-scene{background:radial-gradient(circle at 50% 38%,rgba(255,110,40,.2),transparent 26%),linear-gradient(150deg,#21120e,#08090c)}
@keyframes trendDrift{from{transform:translate3d(-2%,-1%,0) scale(1)}to{transform:translate3d(3%,2%,0) scale(1.05)}}
@keyframes trendScan{0%{top:18%;opacity:.1}50%{opacity:.45}100%{top:72%;opacity:.1}}
@keyframes trendFloat{0%,100%{transform:translate(-50%,-50%) translateY(0)}50%{transform:translate(-50%,-50%) translateY(-7px)}}
@media (max-width:1100px){.trend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.trend-lab-head{align-items:flex-start;flex-direction:column}.trend-grid{grid-template-columns:1fr}.trend-phone{width:min(100%,230px)}.trend-selected{align-items:flex-start;flex-direction:column}.trend-actions{flex-wrap:wrap}}

/* Evruni Trend Lab lightweight auto-refresh */
.trend-live-wrap{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.trend-refresh{font-size:12px;padding:8px 12px}.trend-refresh:disabled{opacity:.6;cursor:wait}.trend-update-meta{margin:0 0 14px;color:rgba(255,255,255,.42);font-size:11px}

/* Trend Lab v15.89 — focused TikTok / Shorts / Reels creator flow */
.trend-platform{font-size:9px;color:rgba(255,255,255,.46);margin-top:7px;letter-spacing:.01em}
.trend-actions{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:auto}
.trend-actions .trend-watch{display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 9px;border-radius:10px;font-size:9px;white-space:nowrap}
.trend-phone{cursor:pointer}
.trend-phone:focus-visible{outline:2px solid rgba(255,255,255,.35);outline-offset:3px}
.trend-real-badge{position:absolute;left:8px;top:10px;padding:3px 5px;border-radius:5px;background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.10);color:rgba(255,255,255,.72);font-size:6px;font-weight:800;letter-spacing:.08em;backdrop-filter:blur(6px)}
.trend-road .trend-scene{background:linear-gradient(160deg,#172027,#10151b 58%,#07090d)}
.trend-hotel .trend-scene{background:linear-gradient(160deg,#392217,#171019 58%,#07090d)}

.trend-modal{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:20px}
.trend-modal-backdrop{position:absolute;inset:0;background:rgba(2,4,8,.72);backdrop-filter:blur(12px)}
.trend-modal-panel{position:relative;width:min(720px,100%);max-height:min(90vh,820px);overflow:auto;padding:26px;border:1px solid rgba(255,255,255,.09);border-radius:24px;background:linear-gradient(145deg,rgba(15,18,25,.96),rgba(8,10,15,.94));box-shadow:0 35px 100px rgba(0,0,0,.55)}
.trend-modal-close{position:absolute;right:15px;top:12px;width:34px;height:34px;border:0;border-radius:10px;background:rgba(255,255,255,.05);color:#cfd4df;font-size:23px;cursor:pointer}
.trend-modal-panel h2{margin:4px 45px 7px;color:#f0f2f7;font-size:25px;letter-spacing:-.03em}
.trend-modal-sub{margin:0 0 18px;color:#7e8798;font-size:12px;line-height:1.55;max-width:610px}
.trend-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.trend-upload-slot label{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px dashed rgba(255,255,255,.14);border-radius:18px;background:rgba(255,255,255,.025);cursor:pointer;transition:.18s ease}
.trend-upload-slot label:hover{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.24)}
.trend-upload-preview{width:105px;height:125px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.045);color:#9ca5b7;font-size:28px;overflow:hidden}
.trend-upload-preview img{width:100%;height:100%;object-fit:cover}
.trend-upload-slot b{color:#e6e9f1;font-size:12px}.trend-upload-slot small{color:#687185;font-size:9px}
.trend-modal-note{margin:14px 0;padding:10px 12px;border-radius:11px;background:rgba(255,255,255,.025);color:#737d90;font-size:9px;line-height:1.5}
.trend-modal-prompt{width:100%;min-height:82px;resize:none;border:1px solid rgba(255,255,255,.06);border-radius:12px;background:rgba(0,0,0,.16);color:#8992a4;padding:11px;font-size:10px;line-height:1.45}
.trend-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.trend-modal-actions .ghost,.trend-modal-actions .primary{height:38px;border-radius:11px}
.trend-modal-status{min-height:16px;margin-top:8px;color:#778196;font-size:9px}
@media(max-width:560px){.trend-modal{padding:10px}.trend-modal-panel{padding:20px;border-radius:20px}.trend-upload-grid{grid-template-columns:1fr}.trend-upload-slot label{min-height:155px}.trend-modal-actions{display:grid;grid-template-columns:1fr 1fr}.trend-modal-actions>*{width:100%}}

/* v15.92 — real trend videos inside phone previews */
.trend-v2-real-video{position:absolute;inset:0;background:#050608;overflow:hidden;border-radius:inherit;z-index:3}
.trend-v2-real-video iframe{width:100%;height:100%;display:block;border:0;background:#050608}
.trend-v2-video-label{position:absolute;left:8px;bottom:8px;padding:4px 7px;border-radius:999px;background:rgba(0,0,0,.62);backdrop-filter:blur(8px);color:rgba(255,255,255,.78);font-size:9px;line-height:1;z-index:4;pointer-events:none}
.trend-v2-phone{overflow:hidden}
.trend-v2-preview .trend-v2-real-video iframe{aspect-ratio:9/16}
@media (prefers-reduced-motion:reduce){.trend-v2-real-video iframe{animation:none}}

/* Trend Lab: compact glass side controls + pagination */
.trend-v2-preview{padding-top:42px}.trend-v2-preview .trend-video-tools{position:absolute;right:0;top:5px;display:flex;flex-direction:row;gap:7px;z-index:30;pointer-events:auto}.trend-v2-preview .trend-v2-phone{margin-top:0}.trend-v2-real-video{position:relative;height:100%;overflow:hidden}.trend-video-tools{display:flex;align-items:center}.trend-sound-toggle,.trend-watch-btn{width:32px;height:32px;border-radius:10px;border:1px solid rgba(255,255,255,.11);background:rgba(18,21,29,.72);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:rgba(232,236,244,.9);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 20px rgba(0,0,0,.22);cursor:pointer;text-decoration:none;font-size:13px;transition:.18s ease}.trend-sound-toggle:hover,.trend-watch-btn:hover{background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.2);transform:translateY(-1px)}.trend-sound-toggle span{font-size:11px;letter-spacing:-2px}.trend-sound-toggle{position:relative;z-index:21;pointer-events:auto}.trend-sound-icon{width:17px;height:17px;display:block}.trend-sound-toggle.is-on{background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.28);color:#fff}.trend-video-fallback{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-decoration:none;color:#fff;background:radial-gradient(circle at 50% 38%,rgba(255,255,255,.11),transparent 35%),linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.015))}.trend-video-fallback strong{font-size:12px}.trend-video-fallback small{font-size:9px;opacity:.55;text-align:center;padding:0 35px}.trend-play-circle{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);font-size:17px}.trend-pagination{display:flex;justify-content:center;align-items:center;gap:7px;margin:22px 0 4px;flex-wrap:wrap}.trend-pagination button{min-width:34px;height:34px;padding:0 10px;border-radius:11px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);color:rgba(255,255,255,.68);cursor:pointer}.trend-pagination button.active{background:rgba(255,255,255,.11);color:#fff;border-color:rgba(255,255,255,.18);box-shadow:0 6px 18px rgba(0,0,0,.18)}.trend-pagination span{font-size:11px;color:rgba(255,255,255,.38);margin-left:5px}.trend-v2-footnote{font-size:11px;color:rgba(255,255,255,.36);text-align:center;margin:10px 0 4px}.trend-tiktok-frame{width:100%;height:100%;border:0}

/* v15.97 visual cleanup: Trend Lab filters + controls outside phone */
.trend-v2-toolbar .trend-filters{display:flex;gap:6px;overflow:auto;scrollbar-width:none;align-items:center}
.trend-v2-toolbar .trend-filters button{height:38px!important;padding:0 12px!important;border-radius:11px!important;border:1px solid rgba(255,255,255,.07)!important;background:rgba(255,255,255,.035)!important;color:#8f97aa!important;font-size:10px!important;font-weight:500!important;white-space:nowrap!important;cursor:pointer!important;box-shadow:none!important}
.trend-v2-toolbar .trend-filters button.active{background:rgba(111,94,255,.12)!important;border-color:rgba(131,115,255,.35)!important;color:#c0b9ff!important}
@media(max-width:800px){.trend-v2-preview{padding-top:40px}}

/* Trend Lab: animated phone previews + controls below description */
.trend-v2-preview .trend-video-tools{display:none!important}
.trend-v2-card-tools{display:flex;justify-content:flex-start;align-items:center;min-height:32px;margin-top:10px}
.trend-v2-card-tools .trend-video-tools{display:flex!important;align-items:center;gap:7px}
.trend-v2-card-tools .trend-sound-toggle,.trend-v2-card-tools .trend-watch-btn{width:32px;height:32px;border-radius:10px}
.trend-v2-real-video{position:absolute;inset:0;background:#050608;overflow:hidden;border-radius:inherit;z-index:3}
.trend-v2-real-video iframe{width:100%;height:100%;display:block;border:0;background:#050608}
.trend-v2-scene{position:absolute;inset:0;overflow:hidden;background:linear-gradient(160deg,#171a28,#070910);z-index:2}
.trend-v2-scene:before{content:"";position:absolute;inset:-20%;background:radial-gradient(circle at 30% 25%,rgba(132,109,255,.25),transparent 34%),radial-gradient(circle at 75% 70%,rgba(57,192,176,.16),transparent 34%);animation:trendV2Float 5s ease-in-out infinite}
.trend-v2-orb{position:absolute;width:70px;height:70px;left:50%;top:35%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle at 35% 30%,#f1c7a8 0 13%,#7c68ca 14% 34%,#25283a 35%);box-shadow:0 12px 25px rgba(0,0,0,.35);animation:trendV2Bob 3s ease-in-out infinite}
.trend-v2-person{position:absolute;width:44px;height:75px;left:50%;top:57%;transform:translateX(-50%);border-radius:45% 45% 25% 25%;background:linear-gradient(#6c59bd 0 45%,#202435 46%);opacity:.95;animation:trendV2Person 3.2s ease-in-out infinite}
.trend-v2-person.second{display:none;left:68%;transform:translateX(-50%) scale(.72);opacity:.75}
.trend-card-v2[data-trend-people="2"] .trend-v2-person{left:34%}
.trend-card-v2[data-trend-people="2"] .trend-v2-person.second{display:block}
.trend-v2-scene>strong{position:absolute;left:9px;right:9px;bottom:36px;color:#fff;text-align:center;font-size:9px;text-shadow:0 2px 9px #000;z-index:3}
.trend-v2-scene>small{position:absolute;left:9px;right:9px;bottom:22px;color:rgba(255,255,255,.72);text-align:center;font-size:6px;z-index:3}
@keyframes trendV2Person{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(-7px) rotate(-2deg)}}
@media(max-width:520px){.trend-v2-card-tools{margin-top:9px}}


/* Evruni chat workspace — use the available viewport instead of a short fixed card. */
@media (min-width: 851px){
  .main:has(.chat-layout){width:100%;max-width:none;padding:20px 28px 26px;}
  .main:has(.chat-layout) .view-card{min-height:calc(100dvh - 108px);display:flex;flex-direction:column;}
  .main:has(.chat-layout) .view-top{flex:0 0 auto;padding:22px 28px 10px;}
  .main:has(.chat-layout) .chat-toolbar{flex:0 0 auto;margin:8px 28px 12px!important;padding:0!important;}
  .main:has(.chat-layout) .chat-layout{flex:1 1 auto;height:auto!important;min-height:560px!important;max-height:none!important;margin:0 28px 28px!important;}
  .main:has(.chat-layout) .chat-panel{min-height:0;}
  .main:has(.chat-layout) .messages{min-height:0;}
  .main:has(.chat-layout) .empty-chat{max-width:620px;}
  .main:has(.chat-layout) .evruni-ai-sphere-wrap{min-height:clamp(260px,38vh,430px);}
  .main:has(.chat-layout) .evruni-ai-sphere{width:clamp(210px,19vw,290px);height:clamp(210px,19vw,290px);}
}
@media (max-width:850px){
  .main:has(.chat-layout) .chat-layout{min-height:calc(100dvh - 245px)!important;height:auto!important;max-height:none!important;}
  .main:has(.chat-layout) .evruni-ai-sphere-wrap{min-height:clamp(190px,27vh,290px);}
  .main:has(.chat-layout) .evruni-ai-sphere{width:clamp(145px,34vw,210px);height:clamp(145px,34vw,210px);}
}


/* Evruni chat workspace — balanced welcome sphere, fixed viewport and smooth history scroll */
@media (min-width: 851px){
  .main:has(.chat-layout){
    width:100%;
    max-width:none;
    padding:18px 28px 22px;
    min-height:0;
  }
  .main:has(.chat-layout) .view-card{
    height:calc(100dvh - 118px)!important;
    max-height:calc(100dvh - 118px)!important;
    min-height:590px!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
  }
  .main:has(.chat-layout) .view-top{
    flex:0 0 auto;
    padding:22px 28px 10px;
  }
  .main:has(.chat-layout) .chat-toolbar{
    flex:0 0 auto;
    margin:8px 28px 14px!important;
    padding:0!important;
  }
  .main:has(.chat-layout) .chat-layout{
    flex:1 1 auto!important;
    display:grid!important;
    grid-template-columns:235px minmax(0,1fr)!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0 28px 26px!important;
    overflow:hidden!important;
  }
  .main:has(.chat-layout) .thread-list{
    min-height:0!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
  }
  .main:has(.chat-layout) .chat-panel{
    display:flex!important;
    flex-direction:column!important;
    min-height:0!important;
    height:100%!important;
    overflow:hidden!important;
  }
  .main:has(.chat-layout) .messages{
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:100%!important;
    padding:24px 30px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    scrollbar-gutter:stable;
  }
  .main:has(.chat-layout) .empty-chat{
    width:min(100%,680px)!important;
    max-width:680px!important;
    min-height:0!important;
    padding:12px 18px 22px!important;
    margin:auto!important;
  }
  .main:has(.chat-layout) .evruni-ai-sphere-wrap{
    min-height:clamp(205px,27vh,285px)!important;
  }
  .main:has(.chat-layout) .evruni-ai-sphere{
    width:clamp(165px,15vw,205px)!important;
    height:clamp(165px,15vw,205px)!important;
  }
}
@media (max-width:850px){
  .main:has(.chat-layout) .view-card{
    display:flex!important;
    flex-direction:column!important;
    height:calc(100dvh - var(--mobile-nav-h, 64px) - 92px)!important;
    min-height:520px!important;
    max-height:calc(100dvh - var(--mobile-nav-h, 64px) - 92px)!important;
    overflow:hidden!important;
  }
  .main:has(.chat-layout) .view-top,
  .main:has(.chat-layout) .chat-toolbar{flex:0 0 auto!important}
  .main:has(.chat-layout) .chat-layout{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0 12px 12px!important;
    overflow:hidden!important;
  }
  .main:has(.chat-layout) .thread-list{
    flex:0 0 auto!important;
    max-height:112px!important;
    overflow-y:auto!important;
  }
  .main:has(.chat-layout) .chat-panel{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    min-height:0!important;
    height:auto!important;
    overflow:hidden!important;
  }
  .main:has(.chat-layout) .messages{
    flex:1 1 auto!important;
    min-height:0!important;
    max-height:100%!important;
    padding:16px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .main:has(.chat-layout) .empty-chat{
    width:100%!important;
    max-width:560px!important;
    min-height:0!important;
    padding:8px 10px 16px!important;
    margin:auto!important;
  }
  .main:has(.chat-layout) .evruni-ai-sphere-wrap{
    min-height:clamp(155px,21vh,195px)!important;
  }
  .main:has(.chat-layout) .evruni-ai-sphere{
    width:clamp(125px,29vw,155px)!important;
    height:clamp(125px,29vw,155px)!important;
  }
}
@media(max-height:760px) and (min-width:851px){
  .main:has(.chat-layout) .view-card{min-height:0!important;height:calc(100dvh - 118px)!important}
  .main:has(.chat-layout) .evruni-ai-sphere-wrap{min-height:185px!important}
  .main:has(.chat-layout) .evruni-ai-sphere{width:155px!important;height:155px!important}
}


/* Evruni signature scrollbar — soft glass track with violet/cyan glow */
:root{
  scrollbar-color:rgba(151,126,255,.62) rgba(10,14,27,.58);
  scrollbar-width:thin;
}
*{
  scrollbar-width:thin;
  scrollbar-color:rgba(151,126,255,.52) rgba(10,14,27,.38);
}
*::-webkit-scrollbar{
  width:9px;
  height:9px;
}
*::-webkit-scrollbar-track{
  background:linear-gradient(180deg,rgba(13,18,34,.42),rgba(8,12,24,.66));
  border:1px solid rgba(157,170,204,.055);
  border-radius:20px;
}
*::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,rgba(184,168,255,.78),rgba(125,98,235,.68) 55%,rgba(91,181,231,.58));
  border:2px solid rgba(10,14,27,.72);
  border-radius:20px;
  box-shadow:inset 0 0 5px rgba(255,255,255,.16),0 0 10px rgba(141,112,255,.14);
}
*::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,#c7b8ff,#9477ff 58%,#70c9ee);
  box-shadow:inset 0 0 6px rgba(255,255,255,.22),0 0 14px rgba(141,112,255,.28);
}
*::-webkit-scrollbar-corner{background:rgba(8,12,24,.72)}
.messages,.thread-list{
  scrollbar-width:thin!important;
  scrollbar-color:rgba(151,126,255,.62) rgba(10,14,27,.48)!important;
}
.messages::-webkit-scrollbar,.thread-list::-webkit-scrollbar{
  display:block!important;
  width:8px;
  height:8px;
}
.messages::-webkit-scrollbar-track,.thread-list::-webkit-scrollbar-track{
  margin:8px 2px;
  background:rgba(11,16,31,.46);
  border-radius:20px;
}
.messages::-webkit-scrollbar-thumb,.thread-list::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,rgba(184,168,255,.8),rgba(125,98,235,.72) 58%,rgba(91,181,231,.58));
  border:2px solid rgba(9,13,25,.8);
  border-radius:20px;
  box-shadow:0 0 10px rgba(141,112,255,.16);
}
.messages::-webkit-scrollbar-thumb:hover,.thread-list::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,#c7b8ff,#9477ff 58%,#70c9ee);
  box-shadow:0 0 14px rgba(141,112,255,.3);
}
@media(prefers-reduced-motion:no-preference){
  *::-webkit-scrollbar-thumb{transition:background .2s ease,box-shadow .2s ease}
}


/* Evruni chat: remove redundant title strip, give the workspace more height,
   and keep the message composer comfortably sized at the bottom. */
@media (min-width:851px){
  .main:has(.chat-layout){padding-top:12px!important;padding-bottom:14px!important}
  .main:has(.chat-layout) .view-card{
    height:calc(100dvh - 82px)!important;
    max-height:calc(100dvh - 82px)!important;
    min-height:590px!important;
  }
  .main:has(.chat-layout) .view-top{display:none!important}
  .main:has(.chat-layout) .chat-toolbar{
    margin:20px 28px 14px!important;
  }
  .main:has(.chat-layout) .chat-layout{
    margin:0 24px 20px!important;
  }
  .main:has(.chat-layout) .chat-composer{
    flex:0 0 auto!important;
    padding:16px 18px 18px!important;
    margin:0!important;
    border-top:1px solid rgba(157,170,204,.13)!important;
    background:linear-gradient(180deg,rgba(12,17,32,.82),rgba(8,12,24,.96))!important;
  }
  .main:has(.chat-layout) .chat-composer textarea{
    min-height:64px!important;
    max-height:150px!important;
    padding:15px 16px!important;
    line-height:1.5!important;
  }
  .main:has(.chat-layout) .chat-composer>div:last-child{
    display:flex!important;
    justify-content:flex-end!important;
    align-items:center!important;
    gap:10px!important;
    padding-top:10px!important;
  }
}
@media (max-width:850px){
  .main:has(.chat-layout) .view-top{display:none!important}
  .main:has(.chat-layout) .view-card{
    height:calc(100dvh - var(--mobile-nav-h,68px) - 26px)!important;
    max-height:calc(100dvh - var(--mobile-nav-h,68px) - 26px)!important;
    min-height:480px!important;
  }
  .main:has(.chat-layout) .chat-toolbar{
    padding:10px 12px!important;
    margin:0 0 8px!important;
  }
  .main:has(.chat-layout) .chat-composer{
    flex:0 0 auto!important;
    padding:10px 11px calc(12px + env(safe-area-inset-bottom))!important;
    margin:0!important;
    border-top:1px solid rgba(157,170,204,.13)!important;
    background:linear-gradient(180deg,rgba(12,17,32,.9),rgba(8,12,24,.98))!important;
  }
  .main:has(.chat-layout) .chat-composer textarea{
    min-height:54px!important;
    max-height:120px!important;
    padding:12px!important;
  }
  .main:has(.chat-layout) .chat-composer>div:last-child{
    display:flex!important;
    justify-content:flex-end!important;
    gap:8px!important;
    padding-top:8px!important;
  }
}


/* Final chat proportions: restore centered content width and raise the composer area */
@media (min-width:851px){
  .main:has(.chat-layout){
    width:min(1440px,100%)!important;
    max-width:1440px!important;
    margin:0 auto!important;
    padding:18px 40px 22px!important;
  }
  .main:has(.chat-layout) .view-card{
    width:100%!important;
    height:calc(100dvh - 82px)!important;
    max-height:calc(100dvh - 82px)!important;
  }
  .main:has(.chat-layout) .chat-layout{
    margin:0 26px 20px!important;
  }
  .main:has(.chat-layout) .chat-composer{
    min-height:154px!important;
    padding:22px 22px 24px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  .main:has(.chat-layout) .chat-composer textarea{
    min-height:76px!important;
    max-height:160px!important;
    padding:16px 18px!important;
  }
  .main:has(.chat-layout) .chat-composer>div:last-child{
    padding-top:12px!important;
  }
}
@media (max-width:850px){
  .main:has(.chat-layout) .chat-composer{
    min-height:126px!important;
    padding:14px 12px calc(16px + env(safe-area-inset-bottom))!important;
    justify-content:center!important;
  }
  .main:has(.chat-layout) .chat-composer textarea{
    min-height:62px!important;
    max-height:130px!important;
  }
}


/* Chat alignment: lower the welcome sphere and lift the action row into the card.
   clamp() keeps the offsets proportional across viewport sizes and browsers. */
@media (min-width:851px){
  .main:has(.chat-layout) .empty-chat .evruni-ai-sphere-wrap{
    position:relative!important;
    top:clamp(14px,2.2vh,26px)!important;
  }
  .main:has(.chat-layout) .chat-composer>div:last-child{
    position:relative!important;
    top:clamp(-18px,-1.5vh,-10px)!important;
  }
}
@media (max-width:850px){
  .main:has(.chat-layout) .empty-chat .evruni-ai-sphere-wrap{
    position:relative!important;
    top:clamp(10px,1.8vh,20px)!important;
  }
  .main:has(.chat-layout) .chat-composer>div:last-child{
    position:relative!important;
    top:-8px!important;
  }
}


/* Fine alignment correction: restore the original sphere spacing and lift the
   chat card's lower edge slightly, with viewport-relative sizing. */
@media (min-width:851px){
  .main:has(.chat-layout) .empty-chat .evruni-ai-sphere-wrap{
    top:0!important;
  }
  .main:has(.chat-layout) .view-card{
    height:calc(100dvh - clamp(94px, 10vh, 112px))!important;
    max-height:calc(100dvh - clamp(94px, 10vh, 112px))!important;
  }
}
@media (max-width:850px){
  .main:has(.chat-layout) .empty-chat .evruni-ai-sphere-wrap{
    top:0!important;
  }
  .main:has(.chat-layout) .view-card{
    height:calc(100dvh - clamp(88px, 11vh, 108px))!important;
    max-height:calc(100dvh - clamp(88px, 11vh, 108px))!important;
  }
}


/* Voice controls in the existing chat composer */
.chat-composer .chat-composer-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:9px}
.chat-composer .chat-voice-actions,.chat-composer .chat-send-actions{display:flex;align-items:center;gap:8px;margin:0}
.chat-composer .chat-voice-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 13px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.035);border-radius:12px;color:#dfe3f5;cursor:pointer}
.chat-composer .chat-voice-btn.is-active{border-color:rgba(141,112,255,.6);background:rgba(141,112,255,.14);color:#c9bbff}
.chat-composer .chat-voice-btn.is-recording{border-color:rgba(255,105,125,.65);background:rgba(255,75,105,.13);color:#ff9aaa;animation:evruniMicPulse 1.2s ease-in-out infinite}
.chat-voice-status{min-height:0;margin-top:0;font-size:11px;color:rgba(190,198,220,.65)}
.chat-voice-status:empty{display:none}
@keyframes evruniMicPulse{50%{box-shadow:0 0 0 4px rgba(255,75,105,.09)}}
@media(max-width:640px){.chat-composer .chat-composer-actions{align-items:stretch;flex-wrap:wrap}.chat-composer .chat-voice-actions{width:100%}.chat-composer .chat-voice-btn{flex:1}.chat-composer .chat-send-actions{width:100%;justify-content:flex-end}.chat-composer .chat-voice-btn span{font-size:12px}}

/* Chat card height: lift its lower edge without changing the welcome graphic spacing */
@media(min-width:851px){
 .main:has(.chat-layout) .view-card{height:calc(100dvh - clamp(62px,7vh,82px))!important;max-height:calc(100dvh - clamp(62px,7vh,82px))!important}
}
@media(max-width:850px){
 .main:has(.chat-layout) .view-card{height:calc(100dvh - clamp(58px,7vh,76px))!important;max-height:calc(100dvh - clamp(58px,7vh,76px))!important}
 .main:has(.chat-layout) .chat-composer{min-height:clamp(154px,22vh,190px)!important}
 .main:has(.chat-layout) .chat-composer .chat-composer-actions{flex-wrap:wrap}
 .main:has(.chat-layout) .chat-composer .chat-voice-actions{width:100%}
 .main:has(.chat-layout) .chat-composer .chat-send-actions{width:100%;justify-content:flex-end}
}


/* Final chat lower-edge alignment: reserve real space below the card */
@media(min-width:851px){
  .main:has(.chat-layout) .view-card{
    height:calc(100dvh - clamp(142px,16vh,168px))!important;
    max-height:calc(100dvh - clamp(142px,16vh,168px))!important;
    min-height:0!important;
  }
  .main:has(.chat-layout) .chat-layout{
    min-height:0!important;height:auto!important;flex:1 1 0!important;
    margin-bottom:clamp(16px,2vh,24px)!important;
  }
}
@media(max-width:850px){
  .main:has(.chat-layout) .view-card{
    height:calc(100dvh - clamp(138px,18vh,164px))!important;
    max-height:calc(100dvh - clamp(138px,18vh,164px))!important;
    min-height:0!important;
  }
  .main:has(.chat-layout) .chat-layout{
    min-height:0!important;height:auto!important;flex:1 1 0!important;
  }
}
/* Profile voice selector */
#profileVoice{width:100%}
#profileVoiceTest{margin-top:8px}


/* Voice settings and controls */
.profile-field select#profileVoice{
  display:block!important;width:100%!important;min-height:44px!important;
  margin-top:7px!important;padding:10px 12px!important;
  color:#eef0ff!important;background:rgba(12,17,32,.92)!important;
  border:1px solid rgba(157,170,204,.22)!important;border-radius:12px!important;
  opacity:1!important;visibility:visible!important;
}
#profileVoiceTest{display:inline-flex!important;margin-top:10px!important;min-height:40px!important}
#chatMic{cursor:pointer!important;pointer-events:auto!important}
#chatVoiceStatus{display:block;min-height:16px;margin-top:6px}

/* Notification media preview and published image/GIF */
.evruni-center-media{display:block;width:100%;height:auto;max-height:260px;object-fit:contain;margin:10px 0 8px;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.18)}

/* Compact floating Evruni personal assistant */
.evruni-assistant{position:fixed;right:24px;bottom:24px;z-index:1800;font-family:inherit}
.evruni-assistant-launcher{width:58px;height:58px;border:1px solid rgba(178,151,255,.55);border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#8c6bff,#5540bb);box-shadow:0 8px 30px rgba(92,65,190,.38),inset 0 1px rgba(255,255,255,.25);cursor:pointer;transition:transform .2s,box-shadow .2s}
.evruni-assistant-launcher:hover{transform:translateY(-3px);box-shadow:0 12px 36px rgba(92,65,190,.5)}
.evruni-assistant-launcher span{font-size:28px;text-shadow:0 0 14px rgba(255,255,255,.6)}
.evruni-assistant-launcher.active{transform:rotate(45deg)}
.evruni-assistant-panel{position:absolute;right:0;bottom:72px;width:min(380px,calc(100vw - 28px));height:min(560px,calc(100dvh - 120px));display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(164,145,255,.28);border-radius:20px;background:rgba(12,17,32,.97);backdrop-filter:blur(18px);box-shadow:0 22px 70px rgba(0,0,0,.48);color:#f2f1ff}
.evruni-assistant-panel[hidden]{display:none!important}
.evruni-assistant-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.08)}
.evruni-assistant-brand{display:flex;align-items:center;gap:10px}.evruni-assistant-brand>span:last-child{display:grid;gap:3px}.evruni-assistant-brand b{font-size:13px}.evruni-assistant-brand small{font-size:9px;letter-spacing:1.5px;color:#a99be8}
.evruni-assistant-avatar{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;background:rgba(143,112,255,.2);color:#c8b8ff;font-size:21px}
.evruni-assistant-head-actions{display:flex;gap:6px}.evruni-assistant-head-actions button{width:30px;height:30px;border:0;border-radius:9px;background:rgba(255,255,255,.06);color:#d8d5ed;font-size:19px;cursor:pointer}
.evruni-assistant-messages{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:10px}
.evruni-assistant-welcome{margin:auto 4px;text-align:center;color:#e9e5ff}.evruni-assistant-welcome p{font-size:12px;line-height:1.6;color:#aeb5ca}
.evruni-assistant-message{max-width:88%;padding:10px 12px;border-radius:13px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.evruni-assistant-message.user{align-self:flex-end;background:rgba(124,99,226,.24);border:1px solid rgba(161,137,255,.18)}
.evruni-assistant-message.assistant{align-self:flex-start;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.07)}
.evruni-assistant-form{display:flex;align-items:flex-end;gap:8px;padding:10px;border-top:1px solid rgba(255,255,255,.08)}
.evruni-assistant-form textarea{flex:1;resize:none;max-height:110px;min-height:40px;padding:11px 12px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(0,0,0,.2);color:#fff;font:inherit;font-size:12px;outline:0}
.evruni-assistant-form textarea:focus{border-color:rgba(166,143,255,.55)}
.evruni-assistant-form button{width:40px;height:40px;border:0;border-radius:12px;background:#8063e9;color:white;font-size:18px;cursor:pointer}.evruni-assistant-form button:disabled{opacity:.45}
.evruni-assistant-foot{padding:0 12px 10px;text-align:center;font-size:9px;color:rgba(205,207,226,.48)}
@media(max-width:600px){.evruni-assistant{right:14px;bottom:14px}.evruni-assistant-launcher{width:54px;height:54px}.evruni-assistant-panel{right:0;bottom:66px;width:calc(100vw - 28px);height:min(70dvh,560px)}}


/* Animated Evruni AI launcher icon */
.evruni-assistant-launcher{
  position:relative;
  isolation:isolate;
  overflow:visible;
  animation:evruniAiAura 3.2s ease-in-out infinite;
}
.evruni-assistant-launcher::before,
.evruni-assistant-launcher::after{
  content:"";
  position:absolute;
  inset:-5px;
  border:1px solid rgba(180,157,255,.48);
  border-radius:50%;
  pointer-events:none;
  z-index:-1;
  animation:evruniAiOrbit 3.4s ease-out infinite;
}
.evruni-assistant-launcher::after{
  inset:-10px;
  border-color:rgba(117,220,255,.25);
  animation-delay:1.7s;
}
.evruni-assistant-launcher span{
  position:relative;
  display:block;
  line-height:1;
  animation:evruniAiSpark 4s ease-in-out infinite;
  transform-origin:50% 50%;
  filter:drop-shadow(0 0 5px rgba(255,255,255,.7));
}
.evruni-assistant-launcher span::after{
  content:"";
  position:absolute;
  width:6px;height:6px;
  top:-5px;right:-7px;
  border-radius:50%;
  background:#dffaff;
  box-shadow:0 0 7px 2px rgba(153,231,255,.85);
  animation:evruniAiTwinkle 2.2s ease-in-out infinite;
}
.evruni-assistant-launcher.active{
  animation:none;
}
.evruni-assistant-launcher.active span,
.evruni-assistant-launcher.active::before,
.evruni-assistant-launcher.active::after{
  animation-play-state:paused;
}
@keyframes evruniAiAura{
  0%,100%{box-shadow:0 8px 30px rgba(92,65,190,.38),inset 0 1px rgba(255,255,255,.25)}
  50%{box-shadow:0 8px 38px rgba(130,94,255,.62),0 0 18px rgba(117,220,255,.2),inset 0 1px rgba(255,255,255,.35)}
}
@keyframes evruniAiOrbit{
  0%{transform:scale(.92);opacity:.75}
  85%,100%{transform:scale(1.28);opacity:0}
}
@keyframes evruniAiSpark{
  0%,100%{transform:rotate(0deg) scale(1)}
  35%{transform:rotate(12deg) scale(1.13)}
  70%{transform:rotate(-8deg) scale(.96)}
}
@keyframes evruniAiTwinkle{
  0%,100%{opacity:.35;transform:scale(.65)}
  50%{opacity:1;transform:scale(1.25)}
}
@media(prefers-reduced-motion:reduce){
  .evruni-assistant-launcher,
  .evruni-assistant-launcher::before,
  .evruni-assistant-launcher::after,
  .evruni-assistant-launcher span,
  .evruni-assistant-launcher span::after{animation:none!important}
}


/* Evruni assistant interaction reliability */
.evruni-assistant{
  position:fixed!important;
  right:24px!important;
  bottom:24px!important;
  z-index:2147483000!important;
  pointer-events:none!important;
}
.evruni-assistant-launcher,
.evruni-assistant-panel{
  pointer-events:auto!important;
}
.evruni-assistant-launcher{
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.evruni-assistant-panel{
  z-index:1;
}
@media(max-width:600px){
  .evruni-assistant{right:14px!important;bottom:14px!important}
}


/* Trend Lab: readable vertical previews, reliable local playback and admin uploads */
.trend-v2-preview .trend-v2-local-video{position:absolute;inset:0}
.trend-v2-preview .trend-local-video{
  display:block;width:100%;height:100%;object-fit:cover;background:#050608;
}
.trend-v2-preview .trend-tiktok-frame{width:100%;height:100%;display:block;border:0}
.trend-v2-preview .trend-v2-scene em{
  position:absolute;left:8px;right:8px;bottom:25px;text-align:center;
  color:rgba(255,255,255,.58);font-size:8px;font-style:normal;z-index:2;
}
.trend-upload-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  min-height:32px;padding:0 9px;border:1px solid rgba(150,130,255,.28);
  border-radius:10px;background:rgba(110,85,210,.17);color:#d9d0ff;
  font-size:10px;white-space:nowrap;cursor:pointer;
}
.trend-upload-btn:hover{background:rgba(110,85,210,.3);border-color:rgba(180,160,255,.55)}
.trend-upload-btn.is-uploading{opacity:.55;pointer-events:none}
.trend-v2-preview .trend-video-tools{max-width:calc(100% - 6px);gap:5px}
.trend-v2-preview .trend-video-tools .trend-upload-btn{position:absolute;right:0;top:39px}
.trend-v2-preview .trend-video-tools .trend-watch-btn{flex:0 0 32px}
.trend-v2-preview .trend-v2-phone{width:136px;height:242px}
.trend-v2-preview{min-height:258px}
@media(max-width:1150px){
 .trend-v2-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 .trend-v2-grid{grid-template-columns:1fr}
 .trend-card-v2{grid-template-columns:minmax(120px,38%) minmax(0,1fr);gap:10px;padding:10px}
 .trend-v2-preview .trend-v2-phone{width:min(136px,100%);height:230px}
 .trend-v2-preview{min-height:246px}
 .trend-v2-preview .trend-video-tools .trend-upload-btn{font-size:9px;padding:0 6px}
}
@media(max-width:420px){
 .trend-card-v2{grid-template-columns:1fr}
 .trend-v2-preview .trend-v2-phone{width:150px;height:265px}
 .trend-v2-preview{min-height:280px}
}

.trend-v2-card-tools .trend-video-tools{
  position:relative!important;top:auto!important;right:auto!important;z-index:5;
  display:flex!important;align-items:center;gap:7px;flex-wrap:wrap;
}
.trend-v2-card-tools .trend-upload-btn{position:relative!important;top:auto!important;right:auto!important}
.trend-v2-card-tools .trend-sound-toggle,.trend-v2-card-tools .trend-watch-btn{flex:0 0 32px}


/* Trend Lab refinement: consistent card alignment and balanced phone previews */
.trend-v2-grid{align-items:stretch;grid-auto-rows:1fr;gap:16px}
.trend-card-v2{height:100%;min-width:0;grid-template-columns:minmax(132px,38%) minmax(0,1fr);align-items:center;gap:15px;padding:14px}
.trend-v2-preview{width:100%;min-width:0;min-height:270px;padding-top:0;display:flex;align-items:center;justify-content:center}
.trend-v2-preview .trend-v2-phone{width:min(100%,148px);height:258px;margin:0;flex:0 0 auto}
.trend-v2-body{height:100%;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:stretch}
.trend-v2-title{align-items:flex-start}
.trend-v2-title h3{min-width:0;overflow-wrap:anywhere}
.trend-v2-body p{min-height:3.1em}
.trend-v2-card-tools{margin-top:auto;padding-top:10px}
.trend-v2-actions{margin-top:10px}
.trend-v2-real-video video{width:100%;height:100%;display:block;object-fit:cover;background:#050608}
.trend-v2-scene em{position:absolute;left:8px;right:8px;top:58%;transform:translateY(-50%);text-align:center;color:rgba(255,255,255,.72);font-size:8px;font-style:normal;line-height:1.4}
@media(max-width:1180px){.trend-card-v2{grid-template-columns:minmax(128px,36%) minmax(0,1fr)}}
@media(max-width:800px){.trend-card-v2{grid-template-columns:minmax(120px,38%) minmax(0,1fr);padding:12px}.trend-v2-preview{min-height:250px}.trend-v2-preview .trend-v2-phone{height:236px;width:min(100%,136px)}}
@media(max-width:520px){.trend-card-v2{grid-template-columns:1fr;gap:10px}.trend-v2-preview{min-height:275px}.trend-v2-preview .trend-v2-phone{width:154px;height:270px}.trend-v2-body{height:auto}.trend-v2-body p{min-height:0}.trend-v2-card-tools{margin-top:0}}

/* Trend Lab stock-video attribution and consistent phone previews */
.trend-stock-credit{margin-top:7px;font-size:11px;line-height:1.35;color:var(--muted,#9295a8);text-align:center}
.trend-stock-credit a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.trend-sound-unavailable{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;opacity:.45}
.trend-v2-real-video video{width:100%;height:100%;object-fit:cover;background:#08080d}

.trend-empty-state{grid-column:1/-1;padding:28px 22px;border:1px dashed rgba(160,150,210,.28);border-radius:18px;text-align:center;color:var(--muted,#a6a4b5);line-height:1.6;background:rgba(255,255,255,.025)}

/* Trend Lab interaction polish */
.trend-nav{isolation:isolate;overflow:hidden;border:1px solid rgba(151,128,255,.22)!important;background:linear-gradient(105deg,rgba(112,78,255,.12),rgba(39,207,198,.08),rgba(112,78,255,.12))!important;background-size:220% 100%!important;animation:trendNavShimmer 4.5s ease-in-out infinite;box-shadow:inset 0 0 18px rgba(129,102,255,.08),0 0 16px rgba(111,91,255,.07)}
.trend-nav:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.12) 48%,transparent 70%);transform:translateX(-120%);animation:trendNavSweep 5s ease-in-out infinite;pointer-events:none}
.trend-nav>span:first-child{color:#b9aaff;text-shadow:0 0 12px rgba(160,135,255,.7)}
@keyframes trendNavShimmer{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes trendNavSweep{0%,65%,100%{transform:translateX(-120%)}85%{transform:translateX(120%)}}
.trend-video-tools{gap:6px!important;flex-wrap:wrap}
.trend-play-toggle{width:32px;height:32px;border-radius:10px;border:1px solid rgba(255,255,255,.11);background:rgba(18,21,29,.72);color:#f2efff;cursor:pointer;font-size:12px}
.trend-volume-wrap{height:32px;display:flex;align-items:center;gap:5px;padding:0 8px;border-radius:10px;border:1px solid rgba(255,255,255,.1);background:rgba(18,21,29,.72);color:#d7d0ff;font-size:12px}
.trend-volume{width:66px;accent-color:#a99aff;cursor:pointer}
.trend-create-overlay{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:18px;background:rgba(3,5,12,.78);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.trend-create-dialog{width:min(620px,100%);max-height:min(88vh,850px);overflow:auto;padding:22px;border:1px solid rgba(174,157,255,.2);border-radius:22px;background:linear-gradient(145deg,rgba(26,28,43,.98),rgba(12,15,24,.98));box-shadow:0 28px 90px rgba(0,0,0,.55);color:#f4f2ff}
.trend-create-dialog>header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}.trend-create-dialog header small{color:#a99aff;letter-spacing:.12em;font-size:9px}.trend-create-dialog h2{margin:5px 0;font-size:21px}.trend-create-dialog header p{margin:0;color:#9299ad;font-size:12px}.trend-create-close{width:34px;height:34px;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(255,255,255,.05);color:#fff;font-size:22px;cursor:pointer}
.trend-create-label{display:block;margin:0 0 7px;color:#aeb4c5;font-size:11px}.trend-create-prompt{width:100%;min-height:125px;resize:vertical;padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(0,0,0,.2);color:#f4f2ff;font:inherit;font-size:12px;line-height:1.55;box-sizing:border-box}
.trend-create-uploads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.trend-upload-slot{position:relative;min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px;border:1px dashed rgba(164,148,255,.38);border-radius:15px;background:linear-gradient(145deg,rgba(132,105,255,.10),rgba(255,255,255,.025));color:#d9d2ff;font-size:11px;cursor:pointer;overflow:hidden;transition:border-color .18s,background .18s,box-shadow .18s}.trend-upload-slot:hover,.trend-upload-slot:focus-within{border-color:rgba(177,155,255,.85);background:linear-gradient(145deg,rgba(132,105,255,.18),rgba(255,255,255,.04));box-shadow:0 0 0 3px rgba(132,105,255,.09),0 8px 24px rgba(80,55,180,.12)}.trend-upload-slot .trend-photo-input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2}.trend-upload-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:rgba(142,116,255,.18);color:#c5b8ff;font-size:20px;line-height:1}.trend-upload-slot>b{color:#eeeaff;font-size:11px;font-weight:650}.trend-upload-action{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:0 11px;border:1px solid rgba(174,151,255,.36);border-radius:8px;background:linear-gradient(135deg,#9477ff,#6845df);color:white;font-size:9px;font-weight:650;box-shadow:0 4px 12px rgba(104,69,223,.18)}.trend-upload-filename{max-width:100%;color:#8790a5;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trend-upload-slot.has-file{border-style:solid;border-color:rgba(104,211,165,.55);background:linear-gradient(145deg,rgba(74,185,145,.10),rgba(132,105,255,.07))}.trend-upload-slot.has-file .trend-upload-icon{background:rgba(74,185,145,.18);color:#8be0bc}.trend-reference-upload{position:relative;display:flex;flex-direction:column;gap:5px;margin:10px 0 14px;padding:12px 14px;border:1px dashed rgba(164,148,255,.32);border-radius:12px;background:rgba(132,105,255,.06);color:#ddd6ff;font-size:11px;cursor:pointer}.trend-reference-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.trend-reference-upload small{color:#8f98ad;font-size:9px;line-height:1.45}.trend-reference-upload:focus-within,.trend-reference-upload:hover{border-color:rgba(177,155,255,.8);background:rgba(132,105,255,.12)}.trend-create-model{margin:12px 0}.trend-create-status{padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.04);color:#9da5b8;font-size:11px;line-height:1.5}.trend-create-dialog footer{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}.trend-create-dialog footer button{min-height:38px;padding:0 16px;border-radius:10px}
@media(max-width:520px){.trend-volume{width:54px}.trend-create-dialog{padding:16px;border-radius:17px}.trend-create-uploads{grid-template-columns:1fr}.trend-create-dialog h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){.trend-nav,.trend-nav:before{animation:none}}

/* Trend Lab: compact hover volume control and balanced player controls */
.trend-v2-card-tools .trend-video-tools{display:flex;align-items:center;gap:7px;flex-wrap:nowrap}
.trend-volume-wrap{width:34px;min-width:34px;height:34px;box-sizing:border-box;overflow:hidden;justify-content:flex-start;transition:width .2s ease,min-width .2s ease,padding .2s ease;cursor:pointer}
.trend-volume-wrap .trend-volume{width:0;opacity:0;transition:width .2s ease,opacity .15s ease;pointer-events:none}
.trend-volume-wrap:hover,.trend-volume-wrap:focus-within{width:132px;min-width:132px}
.trend-volume-wrap:hover .trend-volume,.trend-volume-wrap:focus-within .trend-volume{width:88px;opacity:1;pointer-events:auto}
.trend-play-toggle{flex:0 0 34px;width:34px;height:34px}
.trend-sound-toggle{flex:0 0 34px;width:34px;height:34px}
.trend-v2-real-video video{object-fit:cover;object-position:center;background:#080a10}
.trend-stock-credit{display:none}
@media(hover:none){.trend-volume-wrap{width:34px;min-width:34px}.trend-volume-wrap:active,.trend-volume-wrap:focus-within{width:132px;min-width:132px}.trend-volume-wrap:active .trend-volume,.trend-volume-wrap:focus-within .trend-volume{width:88px;opacity:1;pointer-events:auto}}

/* Trend navigation: keep only a subtle moving shimmer, no persistent selected/highlight treatment. */
.trend-nav{border-color:transparent!important;background:transparent!important;background-size:220% 100%!important;box-shadow:none!important;animation:trendNavShimmer 6s ease-in-out infinite!important}
.trend-nav:before{opacity:.42;animation:trendNavSweep 7s ease-in-out infinite!important}
.trend-nav>span:first-child{color:inherit!important;text-shadow:none!important}
.trend-nav:hover{background:rgba(255,255,255,.035)!important;border-color:rgba(255,255,255,.06)!important}

/* Trend Lab navigation: same soft-glass surface as the other sidebar items,
   while retaining the subtle animated shimmer. */
.trend-nav{border:1px solid rgba(255,255,255,.085)!important;background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.025))!important;backdrop-filter:blur(18px) saturate(125%);-webkit-backdrop-filter:blur(18px) saturate(125%);box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 8px 22px rgba(0,0,0,.12)!important;animation:trendNavShimmer 6s ease-in-out infinite!important}
.trend-nav::after{content:none!important}
.trend-nav:before{opacity:.38;animation:trendNavSweep 7s ease-in-out infinite!important}
.trend-nav:hover{border-color:rgba(255,255,255,.14)!important;background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.04))!important}

/* Trend Lab nav: use the exact neutral glass surface of standard sidebar items;
   only the soft animated sheen is unique. */
.nav.trend-nav{background:rgba(255,255,255,.025)!important;border:1px solid var(--line)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.045)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);animation:none!important;overflow:hidden;isolation:isolate}
.nav.trend-nav:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.10) 48%,rgba(164,143,255,.08) 55%,transparent 76%);transform:translateX(-120%);animation:trendNavSweep 7s ease-in-out infinite!important;opacity:.55}
.nav.trend-nav>span{position:relative;z-index:1}
.nav.trend-nav:hover{background:rgba(255,255,255,.045)!important;border-color:var(--line)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.07)!important;transform:translateX(3px)}
.nav.trend-nav.active{background:linear-gradient(100deg,rgba(141,112,255,.20),rgba(141,112,255,.06))!important;border-color:rgba(159,139,255,.22)!important}
@media(prefers-reduced-motion:reduce){.nav.trend-nav:before{animation:none!important;transform:none}}

/* Trend Lab sidebar: match standard glass nav surface; retain only a subtle animated sheen. */
.nav.trend-nav,.nav.trend-nav.active{background:rgba(255,255,255,.025)!important;border:1px solid var(--line)!important;color:inherit!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.045)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);}
.nav.trend-nav:before{animation:trendNavSweep 7s ease-in-out infinite!important;opacity:.48!important}
.nav.trend-nav.active{border-color:var(--line)!important}

/* Evruni Streamer workspace */
.streamer-workspace{padding:0 26px 28px;color:#eef0fb}.streamer-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px;border:1px solid rgba(255,255,255,.09);border-radius:22px;background:linear-gradient(135deg,rgba(120,91,255,.16),rgba(14,18,30,.82) 58%,rgba(13,17,27,.9));box-shadow:inset 0 1px rgba(255,255,255,.05);margin-bottom:16px}.streamer-hero h2{margin:6px 0;font-size:24px}.streamer-hero p,.streamer-hint{color:#929bb0;font-size:12px;line-height:1.55;max-width:680px}.streamer-pill,.streamer-state{font-size:11px;color:#c9c1ff;border:1px solid rgba(157,136,255,.22);background:rgba(126,95,255,.10);padding:7px 10px;border-radius:999px;white-space:nowrap}.streamer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.streamer-panel{min-width:0;padding:18px;border:1px solid rgba(255,255,255,.085);border-radius:18px;background:linear-gradient(145deg,rgba(20,24,37,.78),rgba(10,13,22,.76));box-shadow:inset 0 1px rgba(255,255,255,.025)}.streamer-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.streamer-panel-head small{color:#8f83d9;font-size:10px;letter-spacing:.12em}.streamer-panel h3{margin:4px 0;font-size:16px}.streamer-panel label:not(.streamer-toggle){display:grid;gap:7px;margin:10px 0;color:#b8bfd0;font-size:12px}.streamer-panel input:not([type=checkbox]),.streamer-panel select{width:100%;min-width:0;padding:10px 12px;border:1px solid rgba(255,255,255,.11);border-radius:10px;background:rgba(5,8,15,.72);color:#edf0fb;outline:none}.streamer-toggle{display:flex;align-items:center;gap:9px;margin:12px 0;color:#c4cada;font-size:12px}.streamer-toggle input,.streamer-platforms input{accent-color:#8c6bff}.streamer-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.streamer-panel .primary,.streamer-panel .ghost{border-radius:10px;padding:10px 14px}.streamer-state.is-connected{color:#a5f0c3;border-color:rgba(90,220,150,.28);background:rgba(40,160,100,.10)}.streamer-platforms{display:flex;gap:16px;flex-wrap:wrap;color:#c4cada;font-size:12px}.streamer-hint{margin:12px 0 0}.streamer-panel button:disabled{opacity:.48;cursor:not-allowed}@media(max-width:900px){.streamer-grid{grid-template-columns:1fr}.streamer-hero{align-items:flex-start;flex-direction:column}.streamer-workspace{padding:0 16px 22px}}

/* Final Trend Lab sidebar correction: match the neutral glass nav item in every state,
   including active, while keeping a restrained animated sheen. */
.sidebar nav .nav.trend-nav,
.sidebar nav .nav.trend-nav.active,
.sidebar nav .nav.trend-nav:hover,
.sidebar nav .nav.trend-nav:focus-visible{
  color:#8994ac !important;
  background:rgba(255,255,255,.025) !important;
  border:1px solid var(--line) !important;
  border-radius:13px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045) !important;
  backdrop-filter:blur(14px) saturate(120%) !important;
  -webkit-backdrop-filter:blur(14px) saturate(120%) !important;
}
.sidebar nav .nav.trend-nav:before,
.sidebar nav .nav.trend-nav.active:before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  left:0 !important;
  top:0 !important;
  bottom:0 !important;
  width:auto !important;
  border-radius:inherit !important;
  background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.105) 48%,rgba(164,143,255,.075) 55%,transparent 76%) !important;
  box-shadow:none !important;
  transform:translateX(-120%) !important;
  opacity:.5 !important;
  pointer-events:none !important;
  animation:trendNavSweep 7s ease-in-out infinite !important;
}
.sidebar nav .nav.trend-nav:hover:before{opacity:.68 !important}
.sidebar nav .nav.trend-nav > span:first-child,
.sidebar nav .nav.trend-nav.active > span:first-child{
  color:#7985a1 !important;
  text-shadow:none !important;
  background:linear-gradient(145deg,rgba(151,112,255,.115),rgba(101,78,190,.045)) !important;
  border-color:rgba(190,165,255,.13) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 3px 12px rgba(100,70,210,.055) !important;
}
.sidebar nav .nav.trend-nav:hover > span:first-child{
  color:#b9aaff !important;
}
@media(prefers-reduced-motion:reduce){.sidebar nav .nav.trend-nav:before{animation:none !important;transform:none !important}}

/* Evruni custom platform checkboxes — Streamer */
.streamer-platforms{align-items:center;gap:12px 18px}
.streamer-platforms label{display:inline-flex;align-items:center;gap:9px;min-height:34px;padding:6px 11px;border:1px solid rgba(150,160,190,.13);border-radius:11px;background:linear-gradient(145deg,rgba(28,33,50,.68),rgba(12,16,28,.58));color:#aeb8ce;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,color .18s ease}
.streamer-platforms label:hover{border-color:rgba(157,130,255,.36);background:linear-gradient(145deg,rgba(105,82,190,.15),rgba(20,25,40,.72));color:#e5e0ff}
.streamer-platforms input[type="checkbox"]{-webkit-appearance:none;appearance:none;position:relative;display:inline-grid;place-content:center;flex:0 0 19px;width:19px;height:19px;margin:0;border:1px solid rgba(155,143,205,.38);border-radius:6px;background:linear-gradient(145deg,rgba(27,32,50,.96),rgba(12,16,28,.96));box-shadow:inset 0 1px 2px rgba(0,0,0,.28),0 1px 5px rgba(0,0,0,.16);cursor:pointer;transition:all .18s ease}
.streamer-platforms input[type="checkbox"]::after{content:"";width:8px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) scale(0);transform-origin:center;transition:transform .14s ease}
.streamer-platforms input[type="checkbox"]:checked{border-color:#9b82ff;background:linear-gradient(135deg,#a78bfa,#6842e8);box-shadow:0 0 0 3px rgba(139,105,255,.12),0 3px 12px rgba(112,78,230,.25)}
.streamer-platforms input[type="checkbox"]:checked::after{transform:rotate(-45deg) scale(1)}
.streamer-platforms input[type="checkbox"]:focus-visible{outline:2px solid rgba(183,162,255,.9);outline-offset:3px}
.streamer-platforms input[type="checkbox"]:disabled{opacity:.88;cursor:not-allowed}
.streamer-platforms label:has(input:checked){border-color:rgba(157,130,255,.34);background:linear-gradient(145deg,rgba(105,82,190,.17),rgba(20,25,40,.72));color:#e4ddff}

/* Evruni glass select controls (Streamer settings) */
.streamer-panel select,
.streamer-workspace select{
  -webkit-appearance:none;appearance:none;
  min-height:42px;padding:10px 42px 10px 14px!important;
  border:1px solid rgba(157,136,255,.24)!important;border-radius:12px!important;
  color:#f0edff!important;
  background-color:rgba(10,13,25,.94)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b9a8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"),linear-gradient(135deg,rgba(135,105,255,.09),rgba(255,255,255,.015))!important;
  background-repeat:no-repeat!important;background-position:right 14px center,center!important;
  box-shadow:inset 0 1px rgba(255,255,255,.045),0 5px 16px rgba(0,0,0,.12);
  cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.streamer-panel select:hover,.streamer-workspace select:hover{border-color:rgba(169,145,255,.48)!important;background-color:rgba(17,20,36,.98)!important}
.streamer-panel select:focus,.streamer-workspace select:focus{outline:none;border-color:rgba(174,148,255,.78)!important;box-shadow:0 0 0 3px rgba(137,103,255,.14),0 0 22px rgba(117,84,231,.12),inset 0 1px rgba(255,255,255,.05)}
.streamer-panel select option,.streamer-workspace select option{background:#111526;color:#e9e7f5;padding:10px}
.streamer-panel select option:checked,.streamer-workspace select option:checked{background:#6545d8;color:#fff}
/* Evruni Streamer controls: consistent custom glass checkboxes */
.streamer-workspace input[type="checkbox"]{-webkit-appearance:none;appearance:none;position:relative;display:inline-grid;place-content:center;flex:0 0 19px;width:19px;height:19px;min-width:19px;margin:0 2px 0 0;border:1px solid rgba(160,145,215,.42);border-radius:6px;background:linear-gradient(145deg,rgba(28,33,52,.96),rgba(9,13,24,.98));box-shadow:inset 0 1px 2px rgba(0,0,0,.32),0 1px 5px rgba(0,0,0,.16);cursor:pointer;vertical-align:middle;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease}
.streamer-workspace input[type="checkbox"]::after{content:"";width:8px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) scale(0);transform-origin:center;transition:transform .14s ease}
.streamer-workspace input[type="checkbox"]:checked{border-color:#a18aff;background:linear-gradient(135deg,#a78bfa,#6842e8);box-shadow:0 0 0 3px rgba(139,105,255,.12),0 3px 12px rgba(112,78,230,.25)}
.streamer-workspace input[type="checkbox"]:checked::after{transform:rotate(-45deg) scale(1)}
.streamer-workspace input[type="checkbox"]:hover{border-color:#b5a1ff;transform:translateY(-1px)}
.streamer-workspace input[type="checkbox"]:focus-visible{outline:2px solid rgba(183,162,255,.9);outline-offset:3px}
.streamer-workspace input[type="checkbox"]:disabled{opacity:.5;cursor:not-allowed}
.streamer-toggle{display:flex;align-items:center;gap:10px;min-height:28px}
.streamer-log{max-height:130px;overflow:auto;margin-top:10px;padding:9px 11px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(3,7,15,.48);color:#aeb8ce;font:11px/1.55 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere}


/* Sidebar polish: Trend Lab uses the same glass and active colors as every standard item. */
.sidebar nav .nav.trend-nav,
.sidebar nav .nav.trend-nav:focus-visible{
  color:inherit!important;
  border-color:rgba(255,255,255,.025)!important;
  background:linear-gradient(90deg,rgba(255,255,255,.012),rgba(255,255,255,0))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.018)!important;
  backdrop-filter:blur(14px)!important;
  -webkit-backdrop-filter:blur(14px)!important;
}
.sidebar nav .nav.trend-nav:before{content:none!important;display:none!important;animation:none!important}
.sidebar nav .nav.trend-nav:hover{
  color:inherit!important;
  background:linear-gradient(100deg,rgba(255,255,255,.075),rgba(141,112,255,.045) 58%,rgba(47,216,255,.025))!important;
  border-color:rgba(159,139,255,.13)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.12),inset 0 1px rgba(255,255,255,.035)!important;
}
.sidebar nav .nav.trend-nav.active{
  color:inherit!important;
  background:linear-gradient(100deg,rgba(141,112,255,.22),rgba(141,112,255,.075) 60%,rgba(47,216,255,.035))!important;
  border-color:rgba(159,139,255,.24)!important;
  box-shadow:inset 0 0 34px rgba(141,112,255,.07),0 10px 34px rgba(0,0,0,.14)!important;
}
.nav-item-label{display:inline-flex;align-items:center;gap:7px;min-width:0}
.nav-status-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;font-style:normal;font-size:8px;font-weight:800;line-height:1;letter-spacing:.055em;padding:4px 6px;border-radius:6px;vertical-align:middle}
.nav-badge-new{color:#d7ccff;background:linear-gradient(135deg,rgba(145,112,255,.22),rgba(104,78,205,.13));border:1px solid rgba(174,151,255,.27);box-shadow:inset 0 1px rgba(255,255,255,.08)}
.nav-badge-beta{color:#a9e8ff;background:linear-gradient(135deg,rgba(65,176,220,.17),rgba(60,120,190,.10));border:1px solid rgba(105,193,235,.24)}
@media(max-width:700px){.nav-item-label{gap:4px}.nav-status-badge{font-size:7px;padding:3px 4px}}

/* Evruni responsive sidebar fit — keep every navigation item visible on all viewports */
@media (min-width:701px){
  .app{min-height:100vh}
  .sidebar{height:100vh!important;min-height:0!important;padding:clamp(8px,1.5vh,18px) 12px 10px!important;overflow:hidden!important}
  .sidebar .logo{flex:0 0 auto!important;margin:0 3px clamp(7px,1.2vh,14px)!important;padding:6px 8px!important}
  .sidebar nav{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;gap:clamp(2px,.45vh,5px)!important;padding:0 2px 4px 0!important;grid-auto-rows:clamp(27px,calc((100vh - 190px)/14),42px)!important;align-content:start!important}
  .sidebar nav .nav{min-height:0!important;height:100%!important;padding:4px 9px!important;gap:9px!important;font-size:clamp(11px,.82vw,13px)!important;line-height:1.1!important;border-radius:10px!important;white-space:nowrap!important}
  .sidebar nav .nav>span:first-child{flex:0 0 21px!important;width:21px!important;font-size:14px!important;line-height:1!important}
  .sidebar nav .nav>span:last-child{min-width:0!important;overflow:visible!important;text-overflow:clip!important}
  .sidebar .side-bottom{flex:0 0 auto!important;margin-top:5px!important;padding-top:6px!important}
  .sidebar .side-bottom .nav{min-height:29px!important;height:29px!important;padding:4px 9px!important;font-size:12px!important}
}
@media (max-width:700px){
  /* Replace the old five-icon bottom bar with a compact, full-height left menu. */
  .app{display:flex!important;min-height:100vh!important}
  .sidebar{display:flex!important;position:fixed!important;left:0!important;right:auto!important;top:0!important;bottom:0!important;width:clamp(154px,30vw,188px)!important;height:100vh!important;height:100dvh!important;min-height:0!important;max-height:none!important;flex:0 0 clamp(154px,30vw,188px)!important;padding:8px 7px calc(8px + env(safe-area-inset-bottom))!important;border-right:1px solid rgba(157,170,204,.16)!important;border-top:0!important;background:rgba(7,10,20,.96)!important;box-shadow:8px 0 28px rgba(0,0,0,.24)!important;overflow:hidden!important;z-index:100!important}
  .sidebar .logo{display:flex!important;flex:0 0 auto!important;justify-content:flex-start!important;gap:8px!important;margin:0 2px 8px!important;padding:5px 4px!important;font-size:18px!important}
  .sidebar .logo-copy{display:flex!important}
  .sidebar .logo-mark{width:27px!important;height:27px!important;flex:0 0 27px!important}
  .sidebar nav{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:clamp(25px,calc((100dvh - 112px)/14),36px)!important;align-content:start!important;align-items:stretch!important;justify-content:initial!important;flex:1 1 auto!important;min-height:0!important;width:100%!important;height:auto!important;gap:2px!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 1px 5px 0!important}
  .sidebar nav .nav{display:flex!important;flex:0 0 auto!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;min-height:0!important;height:100%!important;margin:0!important;padding:3px 6px!important;gap:7px!important;border-radius:9px!important;font-size:clamp(9px,2.5vw,11px)!important;line-height:1.05!important;white-space:nowrap!important;overflow:visible!important}
  .sidebar nav .nav span:first-child{display:flex!important;flex:0 0 19px!important;width:19px!important;height:auto!important;align-items:center!important;justify-content:center!important;font-size:14px!important;line-height:1!important}
  .sidebar nav .nav span:last-child{display:inline-flex!important;max-width:none!important;min-width:0!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}
  .sidebar nav .nav:nth-child(n+6){display:flex!important}
  .sidebar .side-bottom{display:block!important;flex:0 0 auto!important;margin-top:4px!important;padding-top:5px!important}
  .sidebar .side-bottom .nav{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;min-height:27px!important;height:27px!important;padding:3px 6px!important;font-size:10px!important}
  .main{width:auto!important;max-width:none!important;margin-left:clamp(154px,30vw,188px)!important;padding:14px 10px 28px!important;min-width:0!important}
  .main h1{font-size:clamp(21px,5vw,27px)!important}
}
@media (max-height:560px) and (min-width:701px){
  .sidebar{padding-top:6px!important;padding-bottom:5px!important}
  .sidebar .logo{margin-bottom:5px!important;padding-top:3px!important;padding-bottom:3px!important}
  .sidebar nav{grid-auto-rows:clamp(24px,calc((100vh - 130px)/14),31px)!important;gap:1px!important}
  .sidebar nav .nav{padding-top:2px!important;padding-bottom:2px!important}
  .sidebar .side-bottom{padding-top:3px!important}
}
@media (max-height:560px) and (max-width:700px){
  .sidebar .logo{margin-bottom:4px!important;padding-top:2px!important;padding-bottom:2px!important}
  .sidebar nav{grid-auto-rows:clamp(22px,calc((100dvh - 82px)/14),29px)!important;gap:1px!important}
  .sidebar nav .nav{padding-top:1px!important;padding-bottom:1px!important}
}

/* Evruni sidebar final fix: badges stay outside translated labels; restore collapse control. */
.nav-label{display:inline-flex;align-items:center;min-width:0;white-space:nowrap}
.nav-status-badge{position:relative;z-index:2;display:inline-flex!important;visibility:visible!important;opacity:1!important;flex:0 0 auto!important}
.sidebar-collapse-toggle{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:31px;flex:0 0 31px;margin:0 0 8px;padding:4px 9px;border:1px solid rgba(174,151,255,.17);border-radius:9px;background:linear-gradient(100deg,rgba(145,112,255,.10),rgba(255,255,255,.025));color:#c9c0e9;font-size:11px;font-weight:600;line-height:1.1;font-family:inherit;cursor:pointer;transition:background .18s,border-color .18s,color .18s}
.sidebar-collapse-toggle:hover{background:linear-gradient(100deg,rgba(145,112,255,.20),rgba(255,255,255,.045));border-color:rgba(174,151,255,.36);color:#fff}
.sidebar-collapse-toggle>span:first-child{font-size:20px;line-height:12px}
.sidebar{transition:width .2s ease,flex-basis .2s ease,padding .2s ease}
body.sidebar-collapsed .sidebar{width:76px!important;flex:0 0 76px!important;padding-left:9px!important;padding-right:9px!important}
body.sidebar-collapsed .sidebar .logo{justify-content:center!important;padding-left:0!important;padding-right:0!important}
body.sidebar-collapsed .sidebar .logo-copy,
body.sidebar-collapsed .sidebar .nav-label,
body.sidebar-collapsed .sidebar .sidebar-collapse-text,
body.sidebar-collapsed .sidebar .side-bottom .nav [data-i18n]{display:none!important}
body.sidebar-collapsed .sidebar-collapse-toggle{width:42px;margin-left:auto;margin-right:auto;padding:2px}
body.sidebar-collapsed .sidebar nav .nav{position:relative!important;justify-content:center!important;gap:3px!important;padding-left:3px!important;padding-right:3px!important}
body.sidebar-collapsed .sidebar nav .nav>span:first-child{flex-basis:100%!important;width:100%!important}
body.sidebar-collapsed .sidebar nav .nav .nav-status-badge{position:absolute;right:2px;top:1px;font-size:6px;padding:2px 3px}
body.sidebar-collapsed .sidebar .side-bottom .nav{justify-content:center!important}
@media(max-width:700px){
 .sidebar-collapse-toggle{min-height:29px;flex-basis:29px;margin-bottom:6px;font-size:10px}
 body.sidebar-collapsed .sidebar{width:66px!important;flex-basis:66px!important}
 body.sidebar-collapsed .main{margin-left:66px!important}
 body.sidebar-collapsed .sidebar nav .nav{position:relative}
 body.sidebar-collapsed .sidebar nav .nav .nav-status-badge{right:0;top:0}
}


/* Final badge alignment: NEW and BETA sit at the far right of their menu rows. */
.sidebar nav .nav.trend-nav,
.sidebar nav .nav.streamer-nav{display:flex!important;align-items:center!important}
.sidebar nav .nav.trend-nav > .nav-label,
.sidebar nav .nav.streamer-nav > .nav-label{flex:0 1 auto!important;min-width:0!important}
.sidebar nav .nav.trend-nav > .nav-status-badge,
.sidebar nav .nav.streamer-nav > .nav-status-badge{margin-left:auto!important;position:static!important;flex:0 0 auto!important}
@media(max-width:700px){
 .sidebar nav .nav.trend-nav > .nav-status-badge,
 .sidebar nav .nav.streamer-nav > .nav-status-badge{font-size:7px!important;padding:3px 4px!important}
}
body.sidebar-collapsed .sidebar nav .nav.trend-nav > .nav-status-badge,
body.sidebar-collapsed .sidebar nav .nav.streamer-nav > .nav-status-badge{position:absolute!important;right:2px!important;top:1px!important;margin:0!important;font-size:6px!important;padding:2px 3px!important}

/* Collapsed Evruni sidebar: show icons only; hide every label and status badge. */
body.sidebar-collapsed .sidebar .nav > span:not(:first-child),
body.sidebar-collapsed .sidebar .nav > .nav-status-badge,
body.sidebar-collapsed .sidebar .nav > em,
body.sidebar-collapsed .sidebar .nav .nav-label,
body.sidebar-collapsed .sidebar .side-bottom .nav [data-i18n]{
  display:none!important;
}
body.sidebar-collapsed .sidebar nav .nav,
body.sidebar-collapsed .sidebar .side-bottom .nav{
  justify-content:center!important;
  gap:0!important;
}
body.sidebar-collapsed .sidebar nav .nav > span:first-child,
body.sidebar-collapsed .sidebar .side-bottom .nav > span:first-child{
  display:flex!important;
  flex:0 0 100%!important;
  width:100%!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
}


/* Evruni logo motion: subtle glow, orbit and light sweep. */
@keyframes evruniLogoMarkFloatFinal{
  0%,100%{transform:translateY(0) rotate(0deg);filter:brightness(1);box-shadow:0 0 18px rgba(108,76,255,.28),0 0 34px rgba(47,216,255,.10),inset 0 1px 1px rgba(255,255,255,.28)}
  50%{transform:translateY(-2px) rotate(2deg);filter:brightness(1.12);box-shadow:0 0 23px rgba(108,76,255,.48),0 0 42px rgba(47,216,255,.20),inset 0 1px 1px rgba(255,255,255,.36)}
}
@keyframes evruniLogoWordShimmerFinal{
  0%,72%,100%{background-position:0% 50%;filter:drop-shadow(0 0 7px rgba(139,92,246,.20))}
  84%{background-position:100% 50%;filter:drop-shadow(0 0 12px rgba(103,232,255,.42))}
}
@keyframes evruniLogoOrbitFinal{
  0%,100%{transform:rotate(-22deg) scale(.96);opacity:.30}
  50%{transform:rotate(12deg) scale(1.06);opacity:.72}
}
@keyframes evruniLogoGlintFinal{
  0%,65%,100%{transform:translateX(-145%);opacity:0}
  73%{opacity:.85}
  88%{transform:translateX(340%);opacity:0}
}
.logo .logo-mark,
.public-nav > .logo .logo-mark{
  animation:evruniLogoMarkFloatFinal 5.8s ease-in-out infinite!important;
  will-change:transform,filter,box-shadow;
}
.logo .logo-word,
.public-nav > .logo .logo-word{
  background-image:linear-gradient(100deg,#fff 0%,#e9e2ff 34%,#8feaff 52%,#fff 68%,#d8caff 100%)!important;
  background-size:220% 100%!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  animation:evruniLogoWordShimmerFinal 7s ease-in-out infinite!important;
}
.logo .logo-mark:before,
.public-nav > .logo .logo-mark:before{
  animation:evruniLogoOrbitFinal 7s ease-in-out infinite!important;
}
.logo .logo-word:before,
.public-nav > .logo .logo-word:before{
  animation:evruniLogoGlintFinal 7s ease-in-out infinite!important;
  opacity:0!important;
}
@media(prefers-reduced-motion:reduce){
  .logo .logo-mark,.public-nav > .logo .logo-mark,
  .logo .logo-mark:before,.public-nav > .logo .logo-mark:before,
  .logo .logo-word,.public-nav > .logo .logo-word,
  .logo .logo-word:before,.public-nav > .logo .logo-word:before{
    animation:none!important;will-change:auto!important;
  }
}


/* Evruni support CTA refresh: highlighted glass button with clear icon and label. */
.sidebar .side-bottom .nav[data-view="support"]{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:11px!important;min-height:46px!important;height:46px!important;
  padding:0 42px 0 13px!important;margin-top:9px!important;
  border:1px solid rgba(166,132,255,.48)!important;border-radius:13px!important;
  background:linear-gradient(105deg,rgba(126,83,255,.24),rgba(76,116,255,.13) 55%,rgba(255,255,255,.045))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 0 22px rgba(145,105,255,.12),0 5px 20px rgba(86,57,190,.16)!important;
  backdrop-filter:blur(16px) saturate(145%)!important;-webkit-backdrop-filter:blur(16px) saturate(145%)!important;
  overflow:hidden!important;isolation:isolate!important;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease!important;
}
.sidebar .side-bottom .nav[data-view="support"]>span:first-child{
  display:flex!important;flex:0 0 27px!important;width:27px!important;height:27px!important;
  align-items:center!important;justify-content:center!important;margin:0!important;
  border-radius:9px!important;background:linear-gradient(145deg,rgba(184,157,255,.30),rgba(105,83,230,.22))!important;
  border:1px solid rgba(211,197,255,.24)!important;color:#e5d9ff!important;
  font-size:17px!important;line-height:1!important;text-shadow:0 0 12px rgba(184,157,255,.85)!important;
  box-shadow:0 0 16px rgba(141,104,255,.18),inset 0 1px rgba(255,255,255,.16)!important;z-index:2!important;
}
.sidebar .side-bottom .nav[data-view="support"]>span:nth-child(2){
  display:block!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;
  margin:0!important;text-align:left!important;color:#f1edff!important;
  font-size:12px!important;font-weight:800!important;letter-spacing:.015em!important;z-index:2!important;
}
.sidebar .side-bottom .nav[data-view="support"]:before{
  content:""!important;position:absolute!important;inset:0!important;left:-120%!important;width:70%!important;height:100%!important;
  background:linear-gradient(105deg,transparent,rgba(255,255,255,.14),transparent)!important;
  transform:skewX(-18deg)!important;opacity:.7!important;pointer-events:none!important;z-index:1!important;
  animation:evruniSupportCtaSweep 5.2s ease-in-out infinite!important;
}
.sidebar .side-bottom .nav[data-view="support"]:after{
  content:""!important;display:block!important;position:absolute!important;left:0!important;top:9px!important;bottom:9px!important;width:3px!important;
  border-radius:0 4px 4px 0!important;background:linear-gradient(180deg,#c6aaff,#7b63ff,#70d9ff)!important;
  box-shadow:0 0 12px rgba(164,130,255,.85)!important;z-index:3!important;
}
.sidebar .side-bottom .nav[data-view="support"]:hover,
.sidebar .side-bottom .nav[data-view="support"].active{
  transform:translateY(-1px)!important;border-color:rgba(199,174,255,.78)!important;
  background:linear-gradient(105deg,rgba(139,99,255,.34),rgba(82,125,255,.20) 58%,rgba(255,255,255,.07))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.20),inset 0 0 26px rgba(145,105,255,.18),0 7px 24px rgba(102,72,211,.25),0 0 17px rgba(145,105,255,.14)!important;
}
.sidebar .side-bottom .nav[data-view="support"] .support-nav-badge{right:10px!important;z-index:5!important}
@keyframes evruniSupportCtaSweep{0%,65%{left:-120%;opacity:0}72%{opacity:.8}90%,100%{left:150%;opacity:0}}
body.sidebar-collapsed .sidebar .side-bottom .nav[data-view="support"]{justify-content:center!important;padding:0!important;gap:0!important}
body.sidebar-collapsed .sidebar .side-bottom .nav[data-view="support"]>span:first-child{display:flex!important;flex:0 0 27px!important;width:27px!important}
body.sidebar-collapsed .sidebar .side-bottom .nav[data-view="support"]:after{left:0!important}
body.sidebar-collapsed .sidebar .side-bottom .nav[data-view="support"] .support-nav-badge{right:-3px!important;top:0!important;transform:none!important;min-width:15px!important;height:15px!important;font-size:8px!important}
@media(prefers-reduced-motion:reduce){.sidebar .side-bottom .nav[data-view="support"]:before{animation:none!important;display:none!important}}


/* Trend Lab local server video controls: stable touch targets and always-usable volume slider. */
.trend-v2-card-tools .trend-video-tools{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important;}
.trend-v2-card-tools .trend-play-toggle,.trend-v2-card-tools .trend-sound-toggle{flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
.trend-v2-card-tools .trend-volume-wrap{display:flex!important;align-items:center!important;gap:7px!important;width:126px!important;min-width:126px!important;height:36px!important;padding:0 9px!important;overflow:visible!important;cursor:pointer!important;touch-action:pan-y!important;}
.trend-v2-card-tools .trend-volume-wrap .trend-volume{display:block!important;width:82px!important;min-width:82px!important;height:22px!important;opacity:1!important;pointer-events:auto!important;accent-color:#a99aff!important;cursor:pointer!important;touch-action:pan-x!important;}
.trend-video-tools-external{min-height:28px;color:rgba(190,198,218,.68);font-size:10px;}
.trend-v2-local-video video{display:block;width:100%;height:100%;object-fit:cover;background:#090b12;}
.trend-v2-local-video{background:#090b12;}
@media(max-width:520px){.trend-v2-card-tools .trend-volume-wrap{width:112px!important;min-width:112px!important}.trend-v2-card-tools .trend-volume-wrap .trend-volume{width:68px!important;min-width:68px!important}}

/* Trend Lab local server video playback controls — v15.99 */
.trend-v2-local-video{position:absolute!important;inset:0!important;width:100%;height:100%;background:#050608;z-index:4;overflow:hidden}
.trend-v2-local-video video.trend-local-video{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;background:#050608;border:0;outline:0;cursor:pointer}
.trend-v2-local-video .trend-v2-video-label{z-index:6;pointer-events:none}
.trend-v2-card-tools,.trend-video-tools{position:relative;z-index:35;pointer-events:auto}
.trend-play-toggle,.trend-sound-toggle,.trend-volume{pointer-events:auto;touch-action:manipulation}
.trend-play-toggle[aria-pressed="true"]{border-color:rgba(165,145,255,.55);background:rgba(117,91,230,.28)}

/* Evruni Streamer chat roulette */
.streamer-wheel-panel{grid-column:1/-1;border-color:rgba(151,124,255,.25);background:radial-gradient(ellipse at 12% 0%,rgba(126,91,232,.13),transparent 48%),linear-gradient(145deg,rgba(20,24,42,.92),rgba(9,13,25,.94));}
.streamer-wheel-panel .streamer-panel-head{align-items:flex-start}
.wheel-layout{display:grid;grid-template-columns:minmax(230px,340px) minmax(250px,1fr);align-items:center;gap:28px;padding:16px 0 20px}
.wheel-stage{position:relative;width:min(100%,310px);aspect-ratio:1;margin:auto;display:grid;place-items:center;filter:drop-shadow(0 12px 26px rgba(0,0,0,.28))}
.stream-wheel{width:100%;height:100%;border-radius:50%;border:8px solid rgba(225,219,255,.88);box-shadow:0 0 0 4px rgba(126,94,226,.22),inset 0 0 0 2px rgba(255,255,255,.24),0 0 32px rgba(125,91,230,.18);position:relative;transition:transform 4.6s cubic-bezier(.12,.72,.08,1);background:conic-gradient(#27304b 0deg 360deg);}
.stream-wheel:after{content:"";position:absolute;inset:10px;border:1px solid rgba(255,255,255,.3);border-radius:50%;pointer-events:none}
.stream-wheel-hub{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);width:76px;height:76px;border-radius:50%;display:grid;place-content:center;text-align:center;color:#fff;font-weight:900;letter-spacing:1px;background:radial-gradient(circle at 35% 25%,#a78bfa,#6545d8 58%,#30215e);border:4px solid rgba(245,242,255,.9);box-shadow:0 4px 18px rgba(0,0,0,.4),0 0 20px rgba(154,122,255,.42)}
.stream-wheel-hub small{font-size:8px;letter-spacing:2px;opacity:.8}
.wheel-pointer{position:absolute;z-index:5;top:-7px;left:50%;transform:translateX(-50%);width:0;height:0;border-left:17px solid transparent;border-right:17px solid transparent;border-top:36px solid #fff;border-bottom:0;filter:drop-shadow(0 3px 5px rgba(0,0,0,.55))}.wheel-pointer:after{content:"";position:absolute;left:-6px;top:-35px;width:12px;height:12px;border-radius:50%;background:#fff;box-shadow:0 0 12px #c9b7ff}
.wheel-controls{display:flex;flex-direction:column;gap:13px;min-width:0}
.wheel-winner{padding:16px 18px;min-height:58px;display:flex;align-items:center;border:1px solid rgba(162,137,255,.25);border-radius:14px;background:linear-gradient(120deg,rgba(123,88,220,.16),rgba(40,53,83,.2));color:#c9c3df;font-weight:600}
.wheel-winner strong{color:#fff;margin-left:5px}
.wheel-count{display:flex;align-items:baseline;gap:9px}.wheel-count b{font-size:30px;line-height:1;color:#c4b3ff}.wheel-count span{font-size:12px;color:#8e9ab4}
.wheel-add-row{display:flex;gap:9px}.wheel-add-row input{flex:1;min-width:0}
.wheel-entries-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 10px;color:#e4e0f5;font-size:13px}.wheel-entries-head span{color:#9ca8c2;font-size:11px}
.wheel-entries{display:flex;flex-wrap:wrap;gap:8px;min-height:36px;padding:12px;border:1px solid rgba(255,255,255,.075);border-radius:13px;background:rgba(4,8,18,.32)}
.wheel-entry{display:inline-flex;align-items:center;gap:7px;padding:6px 8px 6px 9px;border:1px solid rgba(255,255,255,.09);border-radius:999px;background:rgba(255,255,255,.045);font-size:12px;color:#dce2f4}
.wheel-entry i{width:8px;height:8px;border-radius:50%;box-shadow:0 0 8px currentColor}.wheel-entry button{border:0;background:transparent;color:#aab4ca;font-size:17px;line-height:1;cursor:pointer;padding:0 2px}.wheel-entry button:hover{color:#ff9eae}
.wheel-command-help{display:flex;flex-direction:column;gap:7px;margin-top:13px;padding:12px 14px;border:1px solid rgba(129,108,208,.16);border-radius:12px;background:rgba(94,75,165,.07);font-size:12px;color:#aeb9d0}.wheel-command-help b{color:#ded7ff}.wheel-command-help code,.wheel-entries-head code{padding:2px 5px;border-radius:5px;background:rgba(147,119,255,.14);color:#c9baff}
@media(max-width:760px){.wheel-layout{grid-template-columns:1fr;gap:20px}.wheel-stage{width:min(78vw,290px)}.wheel-entries-head{align-items:flex-start;flex-direction:column;gap:5px}.wheel-add-row{flex-direction:column}.wheel-add-row button{width:100%}}
@media(prefers-reduced-motion:reduce){/* Preserve the spin transition: wheelSpin sets its duration inline. */}


/* Evruni roulette premium wheel + advanced settings */
.wheel-stage{isolation:isolate;padding:10px;filter:drop-shadow(0 16px 34px rgba(0,0,0,.42))}
.wheel-stage:before{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid rgba(190,168,255,.58);box-shadow:0 0 0 5px rgba(125,91,230,.12),0 0 34px rgba(133,103,255,.26),inset 0 0 24px rgba(255,255,255,.08);pointer-events:none;z-index:3}
.stream-wheel{border:9px solid #d9d0ff;background-clip:padding-box;box-shadow:0 0 0 3px rgba(91,65,177,.85),0 0 0 7px rgba(255,255,255,.12),0 0 42px rgba(129,94,255,.32),inset 0 0 18px rgba(0,0,0,.26);overflow:hidden}
.stream-wheel:before{content:"";position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(from 0deg,rgba(255,255,255,.34) 0deg .45deg,transparent .45deg var(--wheel-spoke-step,360deg));mix-blend-mode:screen;pointer-events:none;z-index:1}
.stream-wheel:after{inset:7px;border:1px solid rgba(255,255,255,.48);box-shadow:inset 0 0 18px rgba(0,0,0,.16)}
.wheel-slice-labels{position:absolute;inset:0;z-index:2;pointer-events:none}
.wheel-slice-label{position:absolute;left:50%;top:50%;width:88px;margin-left:-44px;text-align:center;transform-origin:center center;color:#fff;font-size:clamp(8px,1.2vw,11px);font-weight:800;letter-spacing:.15px;text-shadow:0 1px 3px rgba(0,0,0,.75);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stream-wheel-hub{width:82px;height:82px;background:radial-gradient(circle at 32% 22%,#e3d8ff 0%,#9a78ff 24%,#6845d5 57%,#25164f 100%);border:4px solid #f3efff;box-shadow:0 0 0 4px rgba(48,30,102,.65),0 0 28px rgba(177,148,255,.68),inset 0 2px 8px rgba(255,255,255,.36)}
.wheel-pointer{filter:drop-shadow(0 0 8px rgba(201,183,255,.9)) drop-shadow(0 4px 4px rgba(0,0,0,.75))}
.wheel-winner-flash:after{content:"";position:absolute;inset:-5px;border-radius:50%;border:2px solid rgba(198,173,255,.85);animation:wheelWinPulse 1.2s ease-out 2;pointer-events:none}
@keyframes wheelWinPulse{0%{transform:scale(.96);opacity:.9}100%{transform:scale(1.13);opacity:0}}
.wheel-settings{margin-top:16px;border:1px solid rgba(153,127,255,.22);border-radius:15px;background:linear-gradient(135deg,rgba(110,83,194,.10),rgba(12,18,34,.42));overflow:hidden}
.wheel-settings summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;color:#e8e2ff;font-weight:750}
.wheel-settings summary::-webkit-details-marker{display:none}.wheel-settings summary:after{content:"⌄";font-size:20px;color:#bdaaff;transition:transform .2s}.wheel-settings[open] summary:after{transform:rotate(180deg)}
.wheel-settings summary small{margin-left:auto;color:#8995b1;font-size:11px;font-weight:500}
.wheel-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:4px 17px 16px}
.wheel-settings-grid label{display:flex;flex-direction:column;gap:6px;color:#b9c2d8;font-size:12px;min-width:0}
.wheel-settings-grid label input:not([type=checkbox]),.wheel-settings-grid label select{width:100%;min-width:0;min-height:38px;padding:8px 10px;border:1px solid rgba(255,255,255,.11);border-radius:9px;background:rgba(4,8,19,.55);color:#edf0ff}
.wheel-settings-grid .wheel-setting-check{flex-direction:row;align-items:center;gap:9px;min-height:34px;padding:7px 9px;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:rgba(255,255,255,.025)}
.wheel-setting-check input{accent-color:#9b7aff;width:16px;height:16px}
.wheel-settings-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:0 17px 16px}.wheel-settings-actions span{font-size:11px;color:#8f9bb5}
@media(max-width:760px){.wheel-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wheel-settings summary{flex-wrap:wrap}.wheel-settings summary small{margin-left:0;width:100%}}
@media(max-width:430px){.wheel-settings-grid{grid-template-columns:1fr}.wheel-stage{width:min(82vw,290px)}}
@media(prefers-reduced-motion:reduce){.wheel-winner-flash:after{animation:none}}


/* Streamer privacy mode: enabled by default whenever the Streamer section opens. */
.streamer-hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.streamer-privacy-toggle{border:1px solid rgba(164,137,255,.48);border-radius:12px;padding:10px 14px;color:#eee9ff;background:linear-gradient(120deg,rgba(115,83,205,.28),rgba(28,34,57,.82));font-size:12px;font-weight:800;cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.07),0 6px 20px rgba(0,0,0,.18);transition:background .2s,border-color .2s,box-shadow .2s}
.streamer-privacy-toggle:hover{border-color:rgba(190,166,255,.88);box-shadow:0 0 18px rgba(139,105,255,.26)}
.streamer-privacy-toggle[aria-pressed="true"]{border-color:rgba(104,225,169,.55);background:linear-gradient(120deg,rgba(39,139,99,.30),rgba(22,45,47,.86));color:#baf8d7}
.streamer-private-mode .streamer-private-value{filter:blur(8px);opacity:.72;user-select:none;transition:filter .22s ease,opacity .22s ease}
.streamer-private-mode .streamer-private-value:focus{outline-color:rgba(164,137,255,.7)}
@media(max-width:900px){.streamer-hero-actions{width:100%;justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){.streamer-private-mode .streamer-private-value{transition:none}}

/* Roulette readability, participant names and expandable wheel */
.wheel-slice-label{width:clamp(58px,24%,88px);margin-left:calc(clamp(58px,24%,88px) / -2);font-size:clamp(8px,.9vw,11px);line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wheel-entry{max-width:100%;min-width:0}.wheel-entry-name{display:inline-block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
.wheel-layout-expanded{grid-template-columns:minmax(0,1fr);justify-items:center}
.wheel-layout-expanded .wheel-stage-expanded{width:min(100%,520px);max-width:520px}
.wheel-stage-expanded{width:min(100%,520px);max-width:520px;transition:width .25s ease}
.wheel-layout-expanded .wheel-controls{width:100%;max-width:760px}
#wheelEnlarge{white-space:nowrap}
@media(max-width:760px){.wheel-layout-expanded .wheel-stage-expanded,.wheel-stage-expanded{width:min(88vw,440px)}.wheel-entry-name{max-width:140px}}

/* Wheel nickname labels: show real participant names, not index placeholders */
.wheel-slice-label{width:var(--wheel-label-width,100px);margin-left:calc(var(--wheel-label-width,100px)/-2);font-size:clamp(9px,1.05vw,12px);line-height:1.2;font-weight:900;letter-spacing:0;text-align:center;color:#fff;text-shadow:0 1px 2px #241342,0 0 5px rgba(0,0,0,.9);overflow:visible;text-overflow:clip;white-space:nowrap;padding:2px 3px;border-radius:5px;background:rgba(25,15,55,.22)}

/* Tangential, upright nickname placement on roulette sectors */
.wheel-slice-label{width:var(--wheel-label-width,88px)!important;margin-left:0!important;font-size:var(--wheel-label-font,10px)!important;line-height:1.05;font-weight:900;letter-spacing:0;text-align:center;color:#fff;text-shadow:0 1px 2px rgba(24,12,52,.95),0 0 7px rgba(0,0,0,.85);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:3px 5px;border-radius:7px;background:linear-gradient(90deg,rgba(22,14,50,.08),rgba(22,14,50,.42),rgba(22,14,50,.08));box-sizing:border-box;transform-origin:center center}
.wheel-slice-labels{overflow:visible}

/* Streamer credentials are grouped into compact collapsible sections */
.streamer-secret-group{margin-top:2px;border:1px solid rgba(160,139,255,.16);border-radius:13px;background:rgba(7,10,19,.34);overflow:hidden}
.streamer-secret-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;cursor:pointer;list-style:none;color:#e8e5ff;font-size:12px;font-weight:650;user-select:none}
.streamer-secret-group>summary::-webkit-details-marker{display:none}
.streamer-secret-group>summary:after{content:'＋';color:#b6a4ff;font-size:17px;line-height:1}
.streamer-secret-group[open]>summary:after{content:'−'}
.streamer-secret-group>summary small{margin-left:auto;color:#858da5;font-size:10px;font-weight:400;text-align:right}
.streamer-secret-content{padding:0 13px 13px;border-top:1px solid rgba(255,255,255,.055)}
.streamer-secret-content>label:first-child{margin-top:13px}
.streamer-secret-group[open]{border-color:rgba(157,132,255,.32);box-shadow:0 0 18px rgba(116,86,220,.07)}

/* Streamer: one category-level accordion for all connection settings */
.streamer-general-settings{margin:14px 0 16px;border:1px solid rgba(153,127,255,.24);border-radius:16px;background:linear-gradient(135deg,rgba(110,83,194,.10),rgba(12,18,34,.46));overflow:hidden}
.streamer-general-settings>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;cursor:pointer;list-style:none;color:#e9e4ff;font-weight:800;font-size:14px;user-select:none}
.streamer-general-settings>summary::-webkit-details-marker{display:none}
.streamer-general-settings>summary:after{content:'⌄';font-size:21px;color:#bba7ff;transition:transform .2s}
.streamer-general-settings[open]>summary:after{transform:rotate(180deg)}
.streamer-general-settings>summary small{margin-left:auto;color:#929bb4;font-size:11px;font-weight:500}
.streamer-general-settings[open]{border-color:rgba(166,140,255,.38);box-shadow:0 10px 28px rgba(0,0,0,.14)}
.streamer-general-settings>.streamer-grid{padding:0 12px 12px;margin:0}
.wheel-volume-row{display:flex;align-items:center;gap:12px;min-height:38px}
.wheel-volume-row input[type=range]{--wheel-volume:28%;appearance:none;-webkit-appearance:none;flex:1;min-width:90px;height:7px;border:0;border-radius:999px;padding:0;outline:none;cursor:pointer;background:linear-gradient(90deg,#a78bfa 0%,#805be8 var(--wheel-volume),rgba(255,255,255,.12) var(--wheel-volume),rgba(255,255,255,.12) 100%);box-shadow:inset 0 1px 2px rgba(0,0,0,.35),0 0 12px rgba(137,105,255,.12)}
.wheel-volume-row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:17px;height:17px;border-radius:50%;border:2px solid #f4efff;background:linear-gradient(145deg,#d8caff,#8c6af0);box-shadow:0 0 0 4px rgba(151,119,255,.18),0 2px 8px rgba(0,0,0,.35)}
.wheel-volume-row input[type=range]::-moz-range-thumb{width:13px;height:13px;border-radius:50%;border:2px solid #f4efff;background:linear-gradient(145deg,#d8caff,#8c6af0);box-shadow:0 0 0 4px rgba(151,119,255,.18),0 2px 8px rgba(0,0,0,.35)}
.wheel-volume-row output{min-width:42px;text-align:right;color:#d8cbff;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}
.wheel-music-preview{align-self:end;min-height:38px;white-space:nowrap}
@media(max-width:760px){.streamer-general-settings>summary{flex-wrap:wrap}.streamer-general-settings>summary small{margin-left:0;width:100%}.streamer-general-settings>.streamer-grid{padding:0 8px 8px}}
/* Evruni streamer music controls — soft glass theme */
.streamer-general-settings{margin:14px 0 18px;border:1px solid rgba(157,126,255,.20);border-radius:20px;background:linear-gradient(145deg,rgba(25,24,43,.88),rgba(11,15,28,.92));box-shadow:0 12px 34px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.045)}
.streamer-general-settings>summary{min-height:58px;padding:17px 20px;background:linear-gradient(90deg,rgba(139,105,255,.12),rgba(255,255,255,.015));font-size:14px;letter-spacing:.01em}
.streamer-general-settings[open]>summary{border-bottom:1px solid rgba(157,126,255,.14)}
.streamer-general-settings>.streamer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:16px;margin:0}
.streamer-general-settings .streamer-panel{background:linear-gradient(145deg,rgba(31,34,54,.76),rgba(13,17,30,.72));border-color:rgba(176,157,255,.12);border-radius:15px;padding:16px}
.wheel-volume-row{display:flex;align-items:center;gap:13px;min-height:42px;padding:7px 10px;border:1px solid rgba(157,126,255,.17);border-radius:13px;background:linear-gradient(135deg,rgba(137,104,255,.10),rgba(255,255,255,.025));box-shadow:inset 0 1px rgba(255,255,255,.035)}
.wheel-volume-row input[type=range]{--wheel-volume:28%;appearance:none;-webkit-appearance:none;flex:1;min-width:100px;height:6px;border:0;border-radius:999px;padding:0;outline:none;cursor:pointer;background:linear-gradient(90deg,#c4adff 0%,#916cff var(--wheel-volume),rgba(255,255,255,.13) var(--wheel-volume),rgba(255,255,255,.13) 100%);box-shadow:0 0 13px rgba(145,108,255,.20)}
.wheel-volume-row input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:19px;height:19px;border-radius:50%;border:2px solid #f4efff;background:radial-gradient(circle at 35% 30%,#fff,#c9b5ff 42%,#8965ee 100%);box-shadow:0 0 0 4px rgba(151,119,255,.16),0 2px 9px rgba(0,0,0,.38);transition:box-shadow .16s,transform .16s}
.wheel-volume-row input[type=range]:hover::-webkit-slider-thumb{transform:scale(1.12);box-shadow:0 0 0 5px rgba(151,119,255,.22),0 0 16px rgba(151,119,255,.5)}
.wheel-volume-row input[type=range]::-moz-range-track{height:6px;border:0;border-radius:999px;background:rgba(255,255,255,.13)}
.wheel-volume-row input[type=range]::-moz-range-progress{height:6px;border-radius:999px;background:linear-gradient(90deg,#c4adff,#916cff)}
.wheel-volume-row input[type=range]::-moz-range-thumb{width:15px;height:15px;border-radius:50%;border:2px solid #f4efff;background:linear-gradient(145deg,#fff,#a98cff);box-shadow:0 0 0 4px rgba(151,119,255,.17),0 2px 8px rgba(0,0,0,.35)}
.wheel-volume-row output{min-width:44px;text-align:center;padding:5px 8px;border:1px solid rgba(169,143,255,.20);border-radius:9px;background:rgba(143,108,255,.12);color:#e4d9ff;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}
.wheel-settings-grid .wheel-volume-control{grid-column:span 1}
.wheel-music-preview{align-self:end;min-height:39px}
@media(max-width:900px){.streamer-general-settings>.streamer-grid{grid-template-columns:1fr}}

/* Refined category header for Streamer connection settings */
.streamer-general-settings{border:1px solid rgba(157,126,255,.24);border-radius:18px;background:linear-gradient(135deg,rgba(29,25,52,.96),rgba(13,18,34,.94));box-shadow:0 10px 30px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.045);}
.streamer-general-settings>summary{display:flex;align-items:center;justify-content:flex-start;gap:13px;min-height:76px;padding:14px 18px;background:linear-gradient(100deg,rgba(139,105,255,.13),rgba(255,255,255,.018) 58%,rgba(139,105,255,.045));}
.streamer-general-settings>summary:after{display:none}
.streamer-general-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid rgba(185,160,255,.28);border-radius:13px;background:linear-gradient(145deg,rgba(157,126,255,.25),rgba(101,75,190,.12));color:#d8c9ff;font-size:20px;box-shadow:0 0 18px rgba(139,105,255,.13),inset 0 1px rgba(255,255,255,.12)}
.streamer-general-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.streamer-general-copy strong{color:#f0ebff;font-size:14px;font-weight:800;line-height:1.25}
.streamer-general-copy small{margin:0!important;color:#929bb4!important;font-size:11px!important;font-weight:500!important;line-height:1.3}
.streamer-general-platforms{display:flex;gap:6px;margin-left:auto}
.streamer-general-platforms i{font-style:normal;padding:5px 9px;border:1px solid rgba(169,143,255,.17);border-radius:8px;background:rgba(255,255,255,.035);color:#c8baff;font-size:10px;font-weight:700;letter-spacing:.02em}
.streamer-general-chevron{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;margin-left:3px;border:1px solid rgba(169,143,255,.16);border-radius:9px;background:rgba(255,255,255,.035);color:#bba7ff;font-size:19px;transition:transform .2s,background .2s}
.streamer-general-settings[open]>summary .streamer-general-chevron{transform:rotate(180deg);background:rgba(143,108,255,.14)}
.streamer-general-settings[open]>summary{border-bottom:1px solid rgba(157,126,255,.16)}
@media(max-width:640px){.streamer-general-settings>summary{gap:10px;min-height:70px;padding:12px}.streamer-general-icon{flex-basis:38px;width:38px;height:38px}.streamer-general-copy strong{font-size:13px}.streamer-general-copy small{font-size:10px!important}.streamer-general-platforms{gap:4px}.streamer-general-platforms i{padding:4px 6px;font-size:9px}.streamer-general-chevron{flex-basis:25px;width:25px;height:25px}}

/* Trend Lab: restore media controls beside the phone mockup. */
.trend-v2-preview .trend-video-tools{display:flex!important;position:absolute!important;right:8px!important;top:7px!important;z-index:45!important;align-items:center!important;gap:7px!important;flex-direction:row!important;pointer-events:auto!important;max-width:calc(100% - 16px)!important}
.trend-v2-preview-tools{position:absolute;right:0;top:0;z-index:44;display:flex;align-items:flex-start;justify-content:flex-end;width:100%;height:42px;pointer-events:none}
.trend-v2-preview-tools .trend-video-tools>*{pointer-events:auto}
.trend-v2-preview-tools .trend-play-toggle,.trend-v2-preview-tools .trend-sound-toggle{width:34px;height:34px;min-width:34px;border-radius:11px;border:1px solid rgba(190,170,255,.28);background:linear-gradient(145deg,rgba(37,31,65,.92),rgba(14,18,34,.9));color:#f5f0ff;box-shadow:0 5px 18px rgba(0,0,0,.3),0 0 13px rgba(139,105,255,.16);backdrop-filter:blur(14px);cursor:pointer}
.trend-v2-preview-tools .trend-volume-wrap{display:flex;align-items:center;gap:6px;height:34px;padding:0 9px;border:1px solid rgba(190,170,255,.25);border-radius:11px;background:linear-gradient(145deg,rgba(37,31,65,.92),rgba(14,18,34,.9));color:#d9ccff;box-shadow:0 5px 18px rgba(0,0,0,.28);backdrop-filter:blur(14px)}
.trend-v2-preview-tools .trend-volume{width:65px;accent-color:#a78bfa;cursor:pointer}
.trend-v2-card-tools{display:none!important}
@media(max-width:520px){.trend-v2-preview .trend-video-tools{right:5px!important;top:5px!important;gap:5px!important}.trend-v2-preview-tools .trend-play-toggle,.trend-v2-preview-tools .trend-sound-toggle{width:31px;height:31px;min-width:31px}.trend-v2-preview-tools .trend-volume-wrap{height:31px;padding:0 6px}.trend-v2-preview-tools .trend-volume{width:48px}}

/* Evruni roulette nickname labels: radial, readable and balanced */
.wheel-slice-labels{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:visible}
.wheel-slice-label{width:var(--wheel-label-width,100px)!important;margin-left:0!important;padding:4px 7px!important;box-sizing:border-box!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:999px!important;background:linear-gradient(135deg,rgba(21,15,48,.68),rgba(43,28,83,.42))!important;box-shadow:0 3px 10px rgba(13,7,35,.28),inset 0 1px 0 rgba(255,255,255,.16)!important;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);color:#fff!important;font-size:var(--wheel-label-font,9px)!important;line-height:1.15!important;font-weight:850!important;letter-spacing:.12px!important;text-align:center!important;text-shadow:0 1px 3px rgba(10,5,28,.9)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

/* Roulette labels: restore the earlier clean sector-aligned look; allow longer nicknames. */
.wheel-slice-label{width:var(--wheel-label-width,120px)!important;margin-left:0!important;padding:2px 4px!important;border:0!important;border-radius:5px!important;background:rgba(25,15,55,.22)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:#fff!important;font-size:var(--wheel-label-font,10px)!important;line-height:1.15!important;font-weight:900!important;letter-spacing:0!important;text-align:center!important;text-shadow:0 1px 2px rgba(24,12,52,.95),0 0 5px rgba(0,0,0,.85)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

/* Trend Lab sidebar item: use the exact same neutral and active treatment as every standard nav item. */
.sidebar nav .nav.trend-nav,
.sidebar nav .nav.trend-nav:focus-visible {
  color: var(--text, #e8ebf5) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.sidebar nav .nav.trend-nav > span:first-child { color: #7985a1 !important; text-shadow: none !important; }
.sidebar nav .nav.trend-nav:hover {
  color: #f8f9ff !important;
  background: rgba(255,255,255,.045) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
  transform: translateX(3px) !important;
}
.sidebar nav .nav.trend-nav:hover > span:first-child { color: #b9aaff !important; }
.sidebar nav .nav.trend-nav.active {
  color: #fff !important;
  background: linear-gradient(100deg,rgba(141,112,255,.20),rgba(141,112,255,.06)) !important;
  border-color: rgba(159,139,255,.22) !important;
  box-shadow: inset 0 0 30px rgba(141,112,255,.05),0 8px 30px rgba(0,0,0,.12) !important;
}
.sidebar nav .nav.trend-nav.active:before {
  content: "" !important; position: absolute !important; left: -1px !important; top: 9px !important; bottom: 9px !important; width: 3px !important;
  border-radius: 4px !important; background: linear-gradient(#c8baff,#7957ff) !important; box-shadow: 0 0 14px rgba(141,112,255,.8) !important;
}
.sidebar nav .nav.trend-nav.active > span:first-child { color: #c0b3ff !important; }
.sidebar nav .nav.trend-nav:after { content: none !important; }
.sidebar nav .nav.trend-nav:before { animation: none !important; }


/* Evruni: restore the soft-glass Trend Lab sidebar item and the classic wheel nickname treatment. */
.sidebar nav .nav.trend-nav,
.sidebar nav .nav.trend-nav:focus-visible{
  color:var(--text,#e8ebf5)!important;
  background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.022))!important;
  border:1px solid rgba(255,255,255,.085)!important;
  border-radius:13px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 8px 22px rgba(0,0,0,.12)!important;
  backdrop-filter:blur(18px) saturate(125%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(125%)!important;
}
.sidebar nav .nav.trend-nav:before{
  content:""!important;position:absolute!important;inset:0!important;border-radius:inherit!important;pointer-events:none!important;
  background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.10) 48%,rgba(164,143,255,.08) 55%,transparent 76%)!important;
  transform:translateX(-120%)!important;animation:trendNavSweep 7s ease-in-out infinite!important;opacity:.48!important;
}
.sidebar nav .nav.trend-nav:hover{background:linear-gradient(135deg,rgba(255,255,255,.11),rgba(141,112,255,.055))!important;border-color:rgba(190,175,255,.20)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 10px 26px rgba(0,0,0,.16)!important}
.sidebar nav .nav.trend-nav.active{color:#fff!important;background:linear-gradient(100deg,rgba(141,112,255,.22),rgba(141,112,255,.075))!important;border-color:rgba(159,139,255,.28)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.09),inset 0 0 26px rgba(141,112,255,.06),0 8px 24px rgba(0,0,0,.14)!important}
.sidebar nav .nav.trend-nav>span:first-child{color:#b9aaff!important}
.wheel-slice-label{width:var(--wheel-label-width,120px)!important;margin-left:0!important;padding:2px 4px!important;border:0!important;border-radius:5px!important;background:rgba(25,15,55,.18)!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:#fff!important;font-size:var(--wheel-label-font,10px)!important;line-height:1.15!important;font-weight:900!important;letter-spacing:0!important;text-align:center!important;text-shadow:0 1px 2px rgba(24,12,52,.95),0 0 5px rgba(0,0,0,.85)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

/* Evruni final polish: Trend Lab matches the standard sidebar item exactly. */
.sidebar nav .nav.trend-nav,
.sidebar nav .nav.trend-nav:focus-visible{
  color:var(--text,#e8ebf5)!important;
  background:linear-gradient(90deg,rgba(255,255,255,.012),rgba(255,255,255,0))!important;
  border:1px solid rgba(255,255,255,.025)!important;
  border-radius:13px!important;
  box-shadow:inset 0 1px rgba(255,255,255,.018)!important;
  backdrop-filter:blur(20px) saturate(125%)!important;
  -webkit-backdrop-filter:blur(20px) saturate(125%)!important;
}
.sidebar nav .nav.trend-nav:hover{
  color:#f8f9ff!important;
  background:linear-gradient(100deg,rgba(255,255,255,.075),rgba(141,112,255,.045) 58%,rgba(47,216,255,.025))!important;
  border-color:rgba(159,139,255,.13)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.12),inset 0 1px rgba(255,255,255,.035)!important;
  transform:translateX(2px)!important;
}
.sidebar nav .nav.trend-nav.active{
  color:#fff!important;
  background:linear-gradient(100deg,rgba(141,112,255,.22),rgba(141,112,255,.075) 60%,rgba(47,216,255,.035))!important;
  border-color:rgba(159,139,255,.24)!important;
  box-shadow:inset 0 0 34px rgba(141,112,255,.07),0 10px 34px rgba(0,0,0,.14)!important;
}
.sidebar nav .nav.trend-nav:before{content:none!important;animation:none!important}
.sidebar nav .nav.trend-nav:after{content:none!important}
.sidebar nav .nav.trend-nav>span:first-child{color:#c9b8ff!important}

/* Roulette: radial nickname glass pills, sized to the sector. */
.wheel-slice-label{
  width:var(--wheel-label-width,120px)!important;
  margin-left:0!important;
  padding:3px 7px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(220,207,255,.30)!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(35,24,69,.78),rgba(54,39,91,.56))!important;
  box-shadow:0 3px 10px rgba(9,5,24,.30),inset 0 1px 0 rgba(255,255,255,.18),0 0 8px rgba(157,125,255,.12)!important;
  backdrop-filter:blur(5px)!important;
  -webkit-backdrop-filter:blur(5px)!important;
  color:#fff!important;
  font-size:var(--wheel-label-font,9px)!important;
  line-height:1.15!important;
  font-weight:850!important;
  letter-spacing:.08px!important;
  text-align:center!important;
  text-shadow:0 1px 3px rgba(8,4,22,.95)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}


/* Wheel nickname pills — match the supplied reference screenshot */
.wheel-slice-label{
  width:var(--wheel-label-width,76px)!important;
  margin-left:0!important;
  padding:3px 6px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(225,213,255,.26)!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(22,15,48,.78),rgba(44,31,78,.58))!important;
  box-shadow:0 2px 8px rgba(8,4,24,.34),inset 0 1px 0 rgba(255,255,255,.18),0 0 7px rgba(157,125,255,.16)!important;
  backdrop-filter:blur(4px)!important;
  -webkit-backdrop-filter:blur(4px)!important;
  color:#fff!important;
  font-size:var(--wheel-label-font,9px)!important;
  line-height:1.12!important;
  font-weight:850!important;
  letter-spacing:.08px!important;
  text-align:center!important;
  text-shadow:0 1px 3px rgba(8,4,22,.95)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Match reference: compact glass nick labels centered in each outer sector */
.wheel-slice-label{
  margin:0!important;
  width:var(--wheel-label-width,88px)!important;
  padding:2px 5px!important;
  border:1px solid rgba(226,215,255,.30)!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(20,15,43,.82),rgba(43,31,77,.68))!important;
  box-shadow:0 2px 7px rgba(8,4,24,.32),inset 0 1px 0 rgba(255,255,255,.16)!important;
  color:#fff!important;
  font-size:var(--wheel-label-font,9px)!important;
  line-height:1.15!important;
  font-weight:850!important;
  letter-spacing:.05px!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  transform-origin:center center!important;
  backdrop-filter:blur(3px)!important;
  -webkit-backdrop-filter:blur(3px)!important;
}

/* Clean radial wheel names: no dark pill, text grows outward from hub */
.wheel-slice-label{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  border-radius:0!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  text-shadow:0 1px 3px rgba(0,0,0,.78),0 0 5px rgba(255,255,255,.18)!important;
  overflow:visible!important;
  text-overflow:clip!important;
  transform-origin:center center!important;
}

/* Wheel nick labels: radial placement and compact glass pills like the supplied reference */
.wheel-slice-label{
  background:linear-gradient(135deg,rgba(22,15,48,.82),rgba(44,31,78,.72))!important;
  border:1px solid rgba(225,213,255,.30)!important;
  border-radius:999px!important;
  box-shadow:0 2px 7px rgba(8,4,24,.34),inset 0 1px 0 rgba(255,255,255,.16)!important;
  padding:2px 5px!important;
  backdrop-filter:blur(3px)!important;
  -webkit-backdrop-filter:blur(3px)!important;
  color:#fff!important;
  text-shadow:0 1px 3px rgba(0,0,0,.72)!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Remove dark nickname capsules; retain only clean readable text */
.wheel-slice-label{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  padding:0!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  text-shadow:0 1px 3px rgba(0,0,0,.82),0 0 4px rgba(0,0,0,.42)!important;
}

.wheel-proof{margin-top:12px;padding:12px 14px;border:1px solid rgba(173,145,255,.28);border-radius:14px;background:rgba(24,20,48,.42);text-align:left}
.wheel-proof-head{font-weight:850;color:#eee8ff;margin-bottom:6px}
.wheel-proof-meta{font-size:12px;color:var(--muted,#a9a2bf);margin-bottom:8px}
.wheel-proof-hash{display:grid;gap:4px;font-size:11px;color:#bfb5e4}
.wheel-proof-hash code{display:block;overflow-wrap:anywhere;color:#e5dcff;font-size:10px}
.wheel-proof-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}
.wheel-proof-actions button{font-size:12px;padding:7px 10px}
.wheel-proof-status{font-size:11px;color:#b9b2ca;margin-top:7px}
.wheel-proof-status.is-valid{color:#8ce2b4}

\n/* Persistent RANDOM.ORG / SHA-256 proof panel */
.wheel-proof-panel{display:block;width:100%;box-sizing:border-box;margin:12px 0;padding:14px;border:1px solid rgba(151,112,255,.32);border-radius:14px;background:rgba(91,65,150,.10);overflow-wrap:anywhere}
.wheel-proof-panel .wheel-proof-head{font-weight:700;margin-bottom:8px}
.wheel-proof-panel .wheel-proof-meta,.wheel-proof-panel .wheel-proof-status{font-size:12px;line-height:1.5;opacity:.88}
.wheel-proof-panel .wheel-proof-hash{display:flex;flex-direction:column;gap:6px;margin:10px 0}
.wheel-proof-panel .wheel-proof-hash code{display:block;white-space:normal;word-break:break-all;font-size:11px}
.wheel-proof-panel .wheel-proof-actions{display:flex;flex-wrap:wrap;gap:8px}
.wheel-proof-panel button:disabled{opacity:.45;cursor:not-allowed}

/* Evruni winner celebration overlay */
.wheel-winner-celebration{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;overflow:hidden;color:#fff;font-family:inherit;isolation:isolate;animation:wheelWinAppear .45s cubic-bezier(.18,.8,.2,1) both}
.wheel-win-backdrop{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 45%,rgba(105,63,190,.58),rgba(8,8,24,.94) 68%);backdrop-filter:blur(13px);z-index:-2}
.wheel-win-content{position:relative;text-align:center;width:min(90vw,620px);padding:38px 24px 30px;border:1px solid rgba(255,224,151,.5);border-radius:30px;background:linear-gradient(145deg,rgba(73,48,126,.88),rgba(13,18,43,.92));box-shadow:0 0 0 1px rgba(255,255,255,.08),0 25px 100px rgba(0,0,0,.55),0 0 75px rgba(177,126,255,.38);animation:wheelWinCard .75s cubic-bezier(.16,1.3,.3,1) both}
.wheel-win-crown{font-size:64px;line-height:1;color:#ffe29a;text-shadow:0 0 18px #ffc94d,0 0 48px rgba(255,198,72,.75);animation:wheelCrownFloat 1.7s ease-in-out infinite}
.wheel-win-kicker{margin-top:14px;font-size:11px;letter-spacing:.34em;color:#d6c7ff;font-weight:800}
.wheel-win-title{margin-top:8px;font-size:clamp(28px,6vw,54px);font-weight:1000;letter-spacing:.045em;background:linear-gradient(90deg,#fff2b6,#fff,#d7b5ff,#fff0a8);background-size:220% auto;background-clip:text;-webkit-background-clip:text;color:transparent;animation:wheelTitleShine 2.4s linear infinite}
.wheel-win-name{margin:14px auto 0;max-width:100%;overflow-wrap:anywhere;font-size:clamp(24px,5vw,42px);font-weight:900;color:#fff;text-shadow:0 0 16px rgba(202,169,255,.9),0 0 36px rgba(255,207,111,.45)}
.wheel-win-subtitle{margin-top:9px;color:#e1d8ff;font-size:14px}.wheel-win-stars{margin-top:15px;color:#ffdc83;font-size:23px;letter-spacing:.2em;animation:wheelStars 1.2s ease-in-out infinite alternate}
.wheel-win-close{margin-top:22px;padding:11px 24px;border:1px solid rgba(255,230,170,.65);border-radius:999px;background:linear-gradient(100deg,#8c5be7,#bd83ff);color:#fff;font-weight:800;cursor:pointer;box-shadow:0 7px 25px rgba(129,79,224,.38)}
.wheel-win-particles{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}
.wheel-win-particle{position:absolute;left:var(--x);top:-12%;width:7px;height:13px;border-radius:2px;background:hsl(var(--hue) 95% 68%);box-shadow:0 0 9px hsl(var(--hue) 95% 68%);opacity:0;animation:wheelConfetti var(--duration) var(--delay) ease-in infinite}
.wheel-win-particle:nth-child(3n){width:5px;height:5px;border-radius:50%}.wheel-win-particle:nth-child(4n){width:3px;height:20px}
.wheel-winner-celebration.is-closing{animation:wheelWinDisappear .4s ease forwards}
@keyframes wheelWinAppear{from{opacity:0}to{opacity:1}}@keyframes wheelWinDisappear{to{opacity:0;transform:scale(1.04)}}
@keyframes wheelWinCard{from{opacity:0;transform:translateY(35px) scale(.72)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes wheelCrownFloat{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-9px) rotate(5deg)}}
@keyframes wheelTitleShine{to{background-position:220% center}}@keyframes wheelStars{to{transform:scale(1.14);filter:brightness(1.5)}}
@keyframes wheelConfetti{0%{opacity:0;transform:translate3d(0,-5vh,0) rotate(0)}10%{opacity:1}100%{opacity:0;transform:translate3d(var(--drift),115vh,0) rotate(900deg)}}
@media(prefers-reduced-motion:reduce){.wheel-winner-celebration *{animation-duration:.01ms!important;animation-iteration-count:1!important}}

.wheel-custom-music-label{grid-column:1/-1;display:flex;flex-direction:column;gap:7px;padding:12px;border:1px dashed rgba(166,126,255,.42);border-radius:12px;background:rgba(126,88,220,.07)}
.wheel-custom-music-label input[type=file]{max-width:100%;padding:9px;border-radius:9px;background:rgba(255,255,255,.04);color:inherit}
.wheel-custom-music-label small{font-size:11px;line-height:1.45;opacity:.72}

/* Evruni soft-glass music controls */
.wheel-settings-grid .wheel-custom-music-card{grid-column:span 2;position:relative;display:flex;flex-direction:column;gap:11px;min-width:0;padding:16px;border:1px solid rgba(164,126,255,.34);border-radius:17px;background:linear-gradient(135deg,rgba(126,83,224,.16),rgba(50,37,86,.12));box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 10px 28px rgba(0,0,0,.12);backdrop-filter:blur(12px)}
.wheel-custom-music-title{display:flex;align-items:center;gap:11px}.wheel-custom-music-title>span:last-child{display:flex;flex-direction:column;gap:3px}.wheel-custom-music-title b{font-size:12px;letter-spacing:.13em;color:var(--text-primary,#fff)}.wheel-custom-music-title small{font-size:11px;opacity:.68}
.wheel-custom-music-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,#9564f2,#6541bd);color:white;font-size:22px;box-shadow:0 5px 18px rgba(130,83,226,.35)}
.wheel-custom-file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.wheel-file-button{display:flex!important;align-items:center;justify-content:center;gap:9px;width:100%;box-sizing:border-box;padding:12px 16px!important;border:1px solid rgba(193,163,255,.45)!important;border-radius:12px!important;background:linear-gradient(100deg,rgba(137,91,226,.95),rgba(100,69,185,.95))!important;color:#fff!important;font-size:13px!important;font-weight:750!important;cursor:pointer;box-shadow:0 7px 20px rgba(108,72,190,.24);transition:transform .2s,filter .2s}
.wheel-file-button:hover{filter:brightness(1.13);transform:translateY(-1px)}.wheel-file-button span{font-size:18px;line-height:1}
.wheel-custom-music-status{font-size:10px;line-height:1.45;opacity:.68;overflow-wrap:anywhere}
.wheel-volume-control{grid-column:span 1}.wheel-music-preview{align-self:end;min-height:43px;border-radius:12px!important}
@media(max-width:640px){.wheel-settings-grid .wheel-custom-music-card{grid-column:1/-1}.wheel-volume-control,.wheel-music-preview{grid-column:1/-1}}


/* Requested music controls layout: track compact on the left, volume and preview on the right */
.wheel-settings-grid .wheel-custom-music-card{grid-column:1;grid-row:2;min-height:0;padding:12px;gap:8px}
.wheel-settings-grid .wheel-volume-control{grid-column:2;grid-row:2;align-self:stretch;justify-content:center}
.wheel-settings-grid .wheel-music-preview{grid-column:3;grid-row:2;align-self:center;justify-self:stretch;min-width:0;white-space:normal}
@media(max-width:640px){.wheel-settings-grid .wheel-custom-music-card{grid-column:1/-1;grid-row:auto}.wheel-settings-grid .wheel-volume-control,.wheel-settings-grid .wheel-music-preview{grid-column:1/-1;grid-row:auto}}


/* Compact polished music controls spacing */
.wheel-settings-grid{
  column-gap:9px;
  row-gap:9px;
}
.wheel-settings-grid .wheel-custom-music-card{
  padding:10px 11px;
  gap:7px;
  border-radius:14px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 6px 18px rgba(0,0,0,.10);
}
.wheel-custom-music-title{gap:8px}
.wheel-custom-music-icon{width:32px;height:32px;border-radius:10px;font-size:19px}
.wheel-custom-music-title b{font-size:11px;letter-spacing:.11em}
.wheel-custom-music-title small{font-size:10px;line-height:1.3}
.wheel-file-button{
  min-height:35px;
  padding:8px 10px!important;
  gap:6px;
  border-radius:10px!important;
  font-size:11px!important;
  box-shadow:0 4px 12px rgba(108,72,190,.18);
}
.wheel-file-button span{font-size:15px}
.wheel-custom-music-status{font-size:9px;line-height:1.3}
.wheel-settings-grid .wheel-volume-control{
  padding:10px 11px;
  justify-content:center;
  gap:8px;
  border:1px solid rgba(164,126,255,.20);
  border-radius:14px;
  background:rgba(255,255,255,.025);
  font-size:11px;
}
.wheel-volume-row{gap:8px;min-height:30px}
.wheel-volume-row input[type=range]{min-width:65px;height:6px}
.wheel-volume-row output{min-width:34px;font-size:11px}
.wheel-settings-grid .wheel-music-preview{
  align-self:center;
  justify-self:stretch;
  width:100%;
  min-height:39px;
  padding:8px 10px;
  border-radius:11px!important;
  white-space:normal;
  text-align:center;
  font-size:11px;
}
@media(max-width:760px){
 .wheel-settings-grid{column-gap:8px;row-gap:8px}
 .wheel-settings-grid .wheel-custom-music-card{grid-column:1/-1;grid-row:auto}
 .wheel-settings-grid .wheel-volume-control,.wheel-settings-grid .wheel-music-preview{grid-column:1/-1;grid-row:auto}
}

/* Stack the music preview button directly below the volume control */
.wheel-volume-stack{display:flex;flex-direction:column;gap:7px;min-width:0}
.wheel-volume-stack .wheel-volume-control{width:100%;box-sizing:border-box}
.wheel-volume-stack .wheel-music-preview{width:100%;min-height:34px;justify-self:stretch}

.wheel-chance-panel{padding:12px;border:1px solid rgba(160,125,255,.22);border-radius:14px;background:rgba(110,83,180,.07);display:grid;gap:10px}
.wheel-chance-panel>label,.wheel-chance-tools>label{display:flex;flex-direction:column;gap:6px;font-size:12px}
.wheel-chance-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.wheel-chance-tools[hidden]{display:none!important}
.wheel-chance-tools p,.wheel-donation-connectors{grid-column:1/-1;margin:0;font-size:11px;line-height:1.5}
.wheel-donation-connectors{display:grid;gap:5px;padding:10px;border-radius:10px;background:rgba(0,0,0,.12)}
.wheel-donation-connectors small{opacity:.72}
@media(max-width:600px){.wheel-chance-tools{grid-template-columns:1fr}}

/* Evruni weighted wheel controls */
.wheel-chance-title{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}.wheel-chance-title b{font-size:15px;color:var(--text,#fff)}.wheel-chance-title small{font-size:12px;color:var(--muted,#9aa3b8)}.wheel-add-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.wheel-add-row #wheelNameInput{flex:1 1 150px;min-width:0}.wheel-add-row #wheelInitialChance{flex:0 0 92px;width:92px}.wheel-entry{display:flex;align-items:center;gap:8px;min-width:0}.wheel-entry-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}.wheel-ticket-count{display:inline-block;margin-left:5px;color:#bca8ff;font-size:11px;white-space:nowrap}.wheel-chance-add{border:1px solid rgba(157,123,255,.38);background:rgba(119,82,220,.16);color:#d8caff;border-radius:8px;padding:5px 8px;white-space:nowrap;cursor:pointer}.wheel-chance-add:hover{background:rgba(119,82,220,.32)}.wheel-chance-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wheel-chance-tools p,.wheel-donation-connectors{grid-column:1/-1}@media(max-width:600px){.wheel-add-row{display:grid;grid-template-columns:minmax(0,1fr) 76px auto}.wheel-add-row #wheelInitialChance{width:76px;max-width:76px}.wheel-entry{flex-wrap:wrap}.wheel-chance-add{font-size:11px;padding:5px 6px}.wheel-chance-tools{grid-template-columns:1fr}}

/* Evruni weighted wheel controls — visible chance input */
.wheel-add-row{display:grid!important;grid-template-columns:minmax(0,1fr) 104px auto!important;align-items:end!important;gap:9px!important}
.wheel-add-row #wheelNameInput{min-width:0!important;width:100%!important}
.wheel-initial-chance-label{display:flex!important;flex-direction:column!important;gap:5px!important;color:#bfb2f0!important;font-size:11px!important;font-weight:700!important}
.wheel-add-row #wheelInitialChance{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important}
.wheel-chance-add{display:inline-flex!important;align-items:center;justify-content:center}
.wheel-ticket-count{display:inline-block!important}
@media(max-width:600px){.wheel-add-row{grid-template-columns:minmax(0,1fr) 84px!important}.wheel-add-row #wheelAdd{grid-column:1/-1;width:100%!important}.wheel-initial-chance-label{font-size:10px!important}}


/* Evruni: participant count/initial chances/add controls share one aligned row. */
.wheel-add-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(104px, .26fr) minmax(112px, .28fr)!important;
  align-items:end!important;
  gap:10px!important;
  width:100%!important;
}
.wheel-add-row #wheelNameInput,
.wheel-add-row #wheelInitialChance,
.wheel-add-row #wheelAdd{
  width:100%!important;
  min-width:0!important;
  height:44px!important;
  min-height:44px!important;
  box-sizing:border-box!important;
  border-radius:11px!important;
}
.wheel-add-row .wheel-initial-chance-label{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  gap:4px!important;
  min-width:0!important;
  margin:0!important;
  font-size:11px!important;
  line-height:1.1!important;
}
.wheel-add-row #wheelInitialChance{
  padding:0 10px!important;
  font:600 13px/1 Inter,ui-sans-serif,system-ui,sans-serif!important;
}

/* Music volume slider and preview action use matching full-width proportions. */
.wheel-volume-stack{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(150px,.42fr)!important;
  align-items:end!important;
  gap:12px!important;
  width:100%!important;
}
.wheel-volume-stack .wheel-volume-control{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  min-width:0!important;
  width:100%!important;
  min-height:62px!important;
  justify-content:flex-end!important;
  box-sizing:border-box!important;
}
.wheel-volume-stack .wheel-volume-row{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
}
.wheel-volume-stack .wheel-volume-row input[type=range]{
  flex:1 1 auto!important;
  width:100%!important;
  min-width:0!important;
  height:8px!important;
  accent-color:#9a79ff!important;
  cursor:pointer!important;
}
.wheel-volume-stack .wheel-volume-row output{
  flex:0 0 42px!important;
  min-width:42px!important;
  text-align:right!important;
  font-variant-numeric:tabular-nums!important;
}
.wheel-volume-stack .wheel-music-preview{
  width:100%!important;
  min-width:0!important;
  min-height:44px!important;
  height:44px!important;
  align-self:end!important;
  justify-self:stretch!important;
  box-sizing:border-box!important;
  border-radius:11px!important;
}

/* Collapsed sidebar: keep Support icon and unread counter visible. */
.sidebar .side-bottom .nav[data-view="support"]{
  position:relative!important;
  min-width:0!important;
  overflow:visible!important;
}
.sidebar .side-bottom .nav[data-view="support"] .support-nav-badge{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  justify-content:center!important;
  position:absolute!important;
  z-index:30!important;
  right:2px!important;
  top:0!important;
  min-width:17px!important;
  height:17px!important;
  padding:0 4px!important;
  border-radius:999px!important;
  font-size:9px!important;
  line-height:1!important;
  pointer-events:none!important;
}
body.sidebar-collapsed .sidebar .side-bottom .nav[data-view="support"],
.sidebar-compact .sidebar .side-bottom .nav[data-view="support"]{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  padding:0!important;
  gap:0!important;
}
body.sidebar-collapsed .sidebar .side-bottom .nav[data-view="support"] > span:nth-child(2),
.sidebar-compact .sidebar .side-bottom .nav[data-view="support"] > span:nth-child(2){
  display:none!important;
}
body.sidebar-collapsed .sidebar .side-bottom .nav[data-view="support"] > span:first-child,
.sidebar-compact .sidebar .side-bottom .nav[data-view="support"] > span:first-child{
  display:flex!important;
  width:32px!important;
  height:32px!important;
  flex:0 0 32px!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
}

/* Mobile layout: prevent horizontal overflow and keep controls touch-friendly. */
@media(max-width:760px){
  .main,.main-content,.view-content{min-width:0!important;max-width:100%!important}
  .wheel-layout,.wheel-layout-expanded{width:100%!important;min-width:0!important}
  .wheel-stage,.wheel-stage-expanded{width:min(92vw,440px)!important;max-width:100%!important}
  .wheel-controls,.wheel-settings-grid,.wheel-chance-tools{grid-template-columns:minmax(0,1fr)!important}
  .wheel-add-row{
    grid-template-columns:minmax(0,1fr) 96px!important;
    gap:8px!important;
  }
  .wheel-add-row #wheelNameInput{grid-column:1/-1!important}
  .wheel-add-row .wheel-initial-chance-label{grid-column:1!important}
  .wheel-add-row #wheelAdd{grid-column:2!important;width:100%!important}
  .wheel-volume-stack{
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;
  }
  .wheel-volume-stack .wheel-volume-control,
  .wheel-volume-stack .wheel-music-preview{
    width:100%!important;
    min-height:44px!important;
  }
  .wheel-volume-stack .wheel-music-preview{height:44px!important}
  .wheel-settings{max-width:100%!important}
  .wheel-entries{max-width:100%!important}
  .wheel-entry{max-width:100%!important;min-width:0!important}
  .wheel-entry-name{min-width:0!important;max-width:calc(100vw - 150px)!important}
  .streamer-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
  .streamer-actions button{min-height:44px!important;flex:1 1 auto!important}
}
@media(max-width:420px){
  .wheel-add-row{grid-template-columns:minmax(0,1fr) 88px!important}
  .wheel-add-row #wheelAdd{font-size:12px!important;padding-inline:8px!important}
  .wheel-initial-chance-label{font-size:10px!important}
  .wheel-stage,.wheel-stage-expanded{width:min(90vw,380px)!important}
  .wheel-entry-name{max-width:calc(100vw - 132px)!important}
}


/* Final control proportions: long, slim volume slider and full-width preview button. */
.wheel-volume-stack{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
}
.wheel-volume-stack .wheel-volume-control{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  min-height:0!important;
  box-sizing:border-box!important;
}
.wheel-volume-stack .wheel-volume-row{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
}
.wheel-volume-stack .wheel-volume-row input[type="range"]{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:block!important;
  flex:1 1 auto!important;
  width:100%!important;
  min-width:0!important;
  height:18px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  accent-color:#9875ff!important;
  cursor:pointer!important;
}
.wheel-volume-stack .wheel-volume-row input[type="range"]::-webkit-slider-runnable-track{
  height:4px!important;
  border-radius:99px!important;
  background:linear-gradient(90deg,#9875ff,#c0aaff)!important;
}
.wheel-volume-stack .wheel-volume-row input[type="range"]::-moz-range-track{
  height:4px!important;
  border-radius:99px!important;
  background:linear-gradient(90deg,#9875ff,#c0aaff)!important;
}
.wheel-volume-stack .wheel-volume-row input[type="range"]::-webkit-slider-thumb{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:13px!important;
  height:13px!important;
  margin-top:-4.5px!important;
  border:2px solid #fff!important;
  border-radius:50%!important;
  background:#9875ff!important;
  box-shadow:0 0 0 3px rgba(152,117,255,.18)!important;
}
.wheel-volume-stack .wheel-volume-row input[type="range"]::-moz-range-thumb{
  width:10px!important;
  height:10px!important;
  border:2px solid #fff!important;
  border-radius:50%!important;
  background:#9875ff!important;
  box-shadow:0 0 0 3px rgba(152,117,255,.18)!important;
}
.wheel-volume-stack .wheel-volume-row output{
  flex:0 0 42px!important;
  min-width:42px!important;
  text-align:right!important;
  font-size:12px!important;
  font-variant-numeric:tabular-nums!important;
}
.wheel-volume-stack .wheel-music-preview{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  height:44px!important;
  min-height:44px!important;
  box-sizing:border-box!important;
  border-radius:11px!important;
}

/* "+ Шанс" control matches the participant Add button's height and visual weight. */
.wheel-add-row .wheel-initial-chance-label{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  gap:4px!important;
  min-width:0!important;
  margin:0!important;
  color:#d8ccff!important;
  font-size:11px!important;
  line-height:1.1!important;
  font-weight:700!important;
}
.wheel-add-row #wheelInitialChance{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:44px!important;
  min-height:44px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(160,132,255,.42)!important;
  border-radius:11px!important;
  background:linear-gradient(135deg,rgba(139,103,255,.20),rgba(78,58,143,.18))!important;
  color:#f2edff!important;
  font:700 14px/1 Inter,ui-sans-serif,system-ui,sans-serif!important;
  text-align:center!important;
}
.wheel-add-row #wheelAdd{
  height:44px!important;
  min-height:44px!important;
  align-self:end!important;
  box-sizing:border-box!important;
}
@media(max-width:760px){
  .wheel-volume-stack{width:100%!important}
  .wheel-volume-stack .wheel-volume-row{width:100%!important}
}


/* Collapsible participant manager dock */
.wheel-participants-dock{width:100%;max-width:100%;margin:12px 0 16px;min-width:0}
.wheel-participants-toggle{
  display:flex!important;align-items:center!important;gap:10px!important;
  width:100%!important;min-height:48px!important;padding:9px 14px!important;
  border:1px solid rgba(164,133,255,.34)!important;border-radius:13px!important;
  background:linear-gradient(110deg,rgba(112,79,206,.19),rgba(24,29,53,.76))!important;
  color:#eee8ff!important;text-align:left!important;cursor:pointer!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07)!important;
}
.wheel-participants-toggle-icon{font-size:18px;color:#bca4ff}
.wheel-participants-toggle-title{font-weight:750;font-size:13px}
.wheel-participants-toggle-count{margin-left:auto;font-size:11px;color:#bcb5d3}
.wheel-participants-toggle-count b{font-size:14px;color:#d9caff;margin-right:3px}
.wheel-participants-toggle-chevron{font-size:17px;color:#bca4ff;transition:transform .18s ease}
.wheel-participants-toggle[aria-expanded="true"] .wheel-participants-toggle-chevron{transform:rotate(180deg)}
.wheel-participants-panel{margin-top:9px;padding:13px;border:1px solid rgba(151,125,225,.22);border-radius:14px;background:rgba(14,17,34,.72)}
.wheel-participants-panel[hidden]{display:none!important}
.wheel-participants-hint{font-size:11px;color:#9d9ab2;margin:0 0 10px}
.wheel-participants-panel .wheel-entries-head{margin:0 0 8px}
.wheel-participants-panel .wheel-entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:340px;overflow:auto;padding-right:3px}
.wheel-entry-edit{
  display:grid!important;grid-template-columns:7px minmax(0,1fr) 76px 34px 30px!important;
  align-items:center!important;gap:7px!important;min-width:0!important;
  padding:7px!important;border:1px solid rgba(145,130,190,.15)!important;
  border-radius:10px!important;background:rgba(255,255,255,.025)!important;
}
.wheel-entry-edit>i{width:6px;height:25px;border-radius:5px}
.wheel-entry-name-input,.wheel-entry-chances input{
  width:100%!important;min-width:0!important;height:34px!important;
  box-sizing:border-box!important;padding:0 8px!important;border-radius:8px!important;
  border:1px solid rgba(151,139,190,.24)!important;background:rgba(5,8,19,.68)!important;
  color:#f0edfa!important;font-size:11px!important;
}
.wheel-entry-chances{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important;font-size:9px!important;color:#a9a2c2!important}
.wheel-entry-chances input{text-align:center!important}
.wheel-entry-edit .wheel-chance-add,.wheel-entry-edit .wheel-entry-remove{
  display:flex!important;align-items:center!important;justify-content:center!important;
  min-width:30px!important;width:30px!important;height:32px!important;padding:0!important;
  border-radius:8px!important;font-size:11px!important
}
.wheel-entry-edit .wheel-chance-add{border:1px solid rgba(157,126,255,.4)!important;background:rgba(128,91,231,.2)!important;color:#e4d9ff!important}
.wheel-entry-edit .wheel-entry-remove{border:1px solid rgba(230,100,125,.2)!important;background:rgba(170,56,82,.12)!important;color:#ffb9c6!important}
@media(max-width:760px){
  .wheel-participants-panel .wheel-entries{grid-template-columns:1fr;max-height:48vh}
  .wheel-entry-edit{grid-template-columns:6px minmax(0,1fr) 70px 34px 30px!important;gap:6px!important}
  .wheel-participants-toggle{min-height:46px!important;padding:8px 11px!important}
}


/* Dashboard branch hardening: participant toggle must never fall back to browser button styling. */
body.dashboard-page .wheel-participants-dock{display:block!important;width:100%!important;max-width:100%!important;margin:14px 0!important}
body.dashboard-page button#wheelParticipantsToggle{
  appearance:none!important;-webkit-appearance:none!important;
  display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
  justify-content:flex-start!important;gap:10px!important;
  width:100%!important;min-height:48px!important;height:auto!important;
  padding:10px 14px!important;margin:0!important;
  border:1px solid rgba(164,133,255,.38)!important;border-radius:13px!important;
  background:linear-gradient(110deg,rgba(112,79,206,.24),rgba(24,29,53,.88))!important;
  color:#eee8ff!important;font:600 13px/1.2 Inter,ui-sans-serif,system-ui,sans-serif!important;
  text-align:left!important;white-space:normal!important;box-shadow:0 5px 18px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.08)!important;
  cursor:pointer!important;
}
body.dashboard-page #wheelParticipantsToggle .wheel-participants-toggle-icon{display:inline-flex!important;flex:0 0 28px!important;width:28px!important;height:28px!important;align-items:center!important;justify-content:center!important;border-radius:9px!important;background:rgba(155,124,255,.17)!important;color:#c7b1ff!important;font-size:17px!important}
body.dashboard-page #wheelParticipantsToggle .wheel-participants-toggle-title{display:inline-block!important;font-size:13px!important;font-weight:700!important;color:#f0eaff!important}
body.dashboard-page #wheelParticipantsToggle .wheel-participants-toggle-count{display:inline-flex!important;align-items:center!important;gap:4px!important;margin-left:auto!important;white-space:nowrap!important;color:#aaa4c4!important;font-size:11px!important}
body.dashboard-page #wheelParticipantsToggle .wheel-participants-toggle-count b{font-size:14px!important;color:#d6c5ff!important}
body.dashboard-page #wheelParticipantsToggle .wheel-participants-toggle-chevron{display:inline-block!important;flex:0 0 auto!important;margin-left:5px!important;color:#c5b1ff!important;font-size:18px!important}
body.dashboard-page .wheel-participants-panel{display:block!important;margin-top:9px!important;padding:14px!important;border:1px solid rgba(151,125,225,.24)!important;border-radius:14px!important;background:rgba(14,17,34,.88)!important}
body.dashboard-page .wheel-participants-panel[hidden]{display:none!important}
@media(max-width:420px){
 body.dashboard-page button#wheelParticipantsToggle{gap:7px!important;padding:9px 10px!important}
 body.dashboard-page #wheelParticipantsToggle .wheel-participants-toggle-icon{flex-basis:25px!important;width:25px!important;height:25px!important}
 body.dashboard-page #wheelParticipantsToggle .wheel-participants-toggle-title{font-size:12px!important}
 body.dashboard-page #wheelParticipantsToggle .wheel-participants-toggle-count{font-size:10px!important}
}


/* Restore Evruni dark-glass button palette inside the participant manager only. */
body.dashboard-page .wheel-participants-panel button,
body.dashboard-page .wheel-participants-dock button{
  appearance:none!important;-webkit-appearance:none!important;
  background-color:rgba(112,79,206,.20)!important;
  color:#eee8ff!important;
  border-color:rgba(164,133,255,.38)!important;
}
body.dashboard-page .wheel-participants-dock button#wheelParticipantsToggle{
  background:linear-gradient(110deg,rgba(112,79,206,.24),rgba(24,29,53,.88))!important;
  color:#eee8ff!important;
}
body.dashboard-page .wheel-participants-panel .wheel-chance-add{
  background:linear-gradient(135deg,rgba(145,108,255,.34),rgba(91,63,188,.28))!important;
  color:#eee7ff!important;border:1px solid rgba(157,126,255,.48)!important;
}
body.dashboard-page .wheel-participants-panel .wheel-entry-remove{
  background:rgba(170,56,82,.16)!important;color:#ffb9c6!important;
  border:1px solid rgba(230,100,125,.24)!important;
}


/* Fix only the participant + chance button: reserve enough grid width for its label. */
.wheel-entry-edit{
  grid-template-columns:7px minmax(0,1fr) 76px 66px 30px!important;
}
.wheel-entry-edit .wheel-chance-add{
  display:inline-flex!important;
  width:66px!important;
  min-width:66px!important;
  max-width:66px!important;
  height:32px!important;
  min-height:32px!important;
  padding:0 7px!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  overflow:visible!important;
  font-size:10px!important;
  line-height:1!important;
  letter-spacing:0!important;
}
@media(max-width:760px){
  .wheel-entry-edit{
    grid-template-columns:6px minmax(0,1fr) 70px 66px 30px!important;
  }
  .wheel-entry-edit .wheel-chance-add{
    width:66px!important;
    min-width:66px!important;
    max-width:66px!important;
  }
}


/* Participant rows: use the full panel width and align every control symmetrically. */
body.dashboard-page .wheel-participants-panel .wheel-entries{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  gap:8px!important;
  overflow-x:hidden!important;
}
body.dashboard-page .wheel-participants-panel .wheel-entry-edit{
  display:grid!important;
  grid-template-columns:6px minmax(0,1fr) 72px 66px 30px!important;
  align-items:end!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  padding:7px!important;
  overflow:hidden!important;
}
body.dashboard-page .wheel-entry-edit>i{
  align-self:end!important;
  width:6px!important;
  height:34px!important;
  margin:0!important;
  border-radius:5px!important;
}
body.dashboard-page .wheel-entry-edit .wheel-entry-name-input{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:34px!important;
  min-height:34px!important;
  box-sizing:border-box!important;
  margin:0!important;
  align-self:end!important;
}
body.dashboard-page .wheel-entry-edit .wheel-entry-chances{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  gap:3px!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  align-self:end!important;
}
body.dashboard-page .wheel-entry-edit .wheel-entry-chances span{
  display:block!important;
  height:11px!important;
  line-height:11px!important;
  white-space:nowrap!important;
  text-align:left!important;
}
body.dashboard-page .wheel-entry-edit .wheel-entry-chances input{
  display:block!important;
  width:100%!important;
  height:34px!important;
  min-height:34px!important;
  margin:0!important;
  box-sizing:border-box!important;
}
body.dashboard-page .wheel-entry-edit .wheel-chance-add,
body.dashboard-page .wheel-entry-edit .wheel-entry-remove{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:end!important;
  height:34px!important;
  min-height:34px!important;
  margin:0!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
}
body.dashboard-page .wheel-entry-edit .wheel-chance-add{
  width:66px!important;
  min-width:66px!important;
  max-width:66px!important;
  padding:0 6px!important;
}
body.dashboard-page .wheel-entry-edit .wheel-entry-remove{
  width:30px!important;
  min-width:30px!important;
  max-width:30px!important;
}
@media(max-width:420px){
  body.dashboard-page .wheel-participants-panel .wheel-entry-edit{
    grid-template-columns:5px minmax(0,1fr) 62px 62px 28px!important;
    gap:5px!important;
    padding:6px!important;
  }
  body.dashboard-page .wheel-entry-edit .wheel-chance-add{
    width:62px!important;min-width:62px!important;max-width:62px!important;
    font-size:10px!important;
  }
  body.dashboard-page .wheel-entry-edit .wheel-entry-remove{
    width:28px!important;min-width:28px!important;max-width:28px!important;
  }
}


/* Participant add row: keep only nickname and Add button after removing initial chance field. */
.wheel-add-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 112px!important;
  align-items:center!important;
  gap:10px!important;
}
.wheel-add-row #wheelNameInput,
.wheel-add-row #wheelAdd{
  width:100%!important;
  min-width:0!important;
  height:44px!important;
  min-height:44px!important;
  box-sizing:border-box!important;
}
.wheel-add-row #wheelAdd{align-self:center!important}

/* Search field in the collapsible participant and chance manager. */
.wheel-participants-search{
  display:block!important;
  width:100%!important;
  height:40px!important;
  min-height:40px!important;
  margin:0 0 10px!important;
  padding:0 12px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(151,139,190,.28)!important;
  border-radius:10px!important;
  outline:none!important;
  background:rgba(5,8,19,.72)!important;
  color:#f0edfa!important;
  font:500 12px/1.2 Inter,ui-sans-serif,system-ui,sans-serif!important;
}
.wheel-participants-search::placeholder{color:#88839f!important}
.wheel-participants-search:focus{border-color:rgba(164,133,255,.62)!important;box-shadow:0 0 0 3px rgba(142,105,255,.10)!important}
#wheelEntries .wheel-entry-edit[hidden]{display:none!important}
@media(max-width:760px){
  .wheel-add-row{grid-template-columns:minmax(0,1fr) 104px!important}
}


/* Participant manager: slightly taller list and visible, usable search field. */
.wheel-participants-panel{
  padding-bottom:18px!important;
}
.wheel-participants-panel .wheel-entries{
  max-height:480px!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
}
.wheel-participants-search{
  display:block!important;
  width:100%!important;
  height:40px!important;
  min-height:40px!important;
  box-sizing:border-box!important;
  margin:0 0 12px!important;
  padding:0 12px!important;
  border:1px solid rgba(157,132,225,.30)!important;
  border-radius:10px!important;
  outline:none!important;
  background:rgba(5,8,19,.72)!important;
  color:#f1edff!important;
  font:500 12px/1.2 Inter,ui-sans-serif,system-ui,sans-serif!important;
}
.wheel-participants-search::placeholder{color:#8f89a8!important}
.wheel-participants-search:focus{
  border-color:rgba(168,139,255,.72)!important;
  box-shadow:0 0 0 3px rgba(139,105,238,.12)!important;
}
@media(max-width:760px){
  .wheel-participants-panel .wheel-entries{max-height:58vh!important}
}


/* Compact streamer wheel settings: tighter labels, controls and row spacing. */
.wheel-settings{
  margin-top:12px!important;
  border-radius:13px!important;
}
.wheel-settings-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:10px!important;
  row-gap:12px!important;
  padding:8px 12px 12px!important;
  align-items:end!important;
}
.wheel-settings-grid>label{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  gap:5px!important;
  min-width:0!important;
  margin:0!important;
  font-size:11px!important;
  line-height:1.2!important;
}
.wheel-settings-grid>label input:not([type=checkbox]),
.wheel-settings-grid>label select{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:46px!important;
  min-height:46px!important;
  max-height:46px!important;
  box-sizing:border-box!important;
  padding:0 12px!important;
  border-radius:10px!important;
  font-size:12px!important;
  line-height:1.2!important;
}
.wheel-settings-grid .wheel-setting-check{
  min-height:38px!important;
  padding:6px 9px!important;
}
.wheel-settings-actions{
  gap:8px!important;
  padding:0 12px 12px!important;
}
@media(max-width:600px){
  .wheel-settings-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:8px!important;
    row-gap:10px!important;
    padding:8px 10px 10px!important;
  }
  .wheel-settings-grid>label input:not([type=checkbox]),
  .wheel-settings-grid>label select{
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    padding:0 9px!important;
    font-size:11px!important;
  }
}
@media(max-width:360px){
  .wheel-settings-grid{grid-template-columns:1fr!important}
}



/* Only the four controls shown in the user's screenshot: slightly narrower fields, same two-column layout. */
.wheel-settings-grid>label:has(#wheelDuration) select,
.wheel-settings-grid>label:has(#wheelMusic) select,
.wheel-settings-grid>label:has(#wheelTurns) select,
.wheel-settings-grid>label:has(#wheelMaxEntries) input{
  width: min(100%, 360px)!important;
  max-width:360px!important;
  min-width:0!important;
  justify-self:start!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  box-sizing:border-box!important;
}
.wheel-settings-grid>label:has(#wheelDuration),
.wheel-settings-grid>label:has(#wheelMusic),
.wheel-settings-grid>label:has(#wheelTurns),
.wheel-settings-grid>label:has(#wheelMaxEntries){
  min-width:0!important;
}
@media(max-width:760px){
  .wheel-settings-grid>label:has(#wheelDuration) select,
  .wheel-settings-grid>label:has(#wheelMusic) select,
  .wheel-settings-grid>label:has(#wheelTurns) select,
  .wheel-settings-grid>label:has(#wheelMaxEntries) input{
    width:100%!important;
    max-width:100%!important;
  }
}


/* Rebalance only the roulette settings panel into a clean two-column layout. */
.wheel-settings-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  column-gap:14px!important;
  row-gap:12px!important;
  align-items:stretch!important;
  padding:12px 14px 16px!important;
}
.wheel-settings-grid>.wheel-chance-panel{grid-column:1/-1!important;grid-row:1!important}
.wheel-settings-grid>label:has(#wheelDuration){grid-column:2!important;grid-row:2!important;align-self:center!important}
.wheel-settings-grid>.wheel-custom-music-card{grid-column:1!important;grid-row:2!important;min-height:112px!important}
.wheel-settings-grid>label:has(#wheelMusic){grid-column:1!important;grid-row:3!important;align-self:center!important}
.wheel-settings-grid>.wheel-volume-stack{
  grid-column:2!important;grid-row:3!important;
  display:flex!important;flex-direction:column!important;
  align-self:stretch!important;justify-content:center!important;
  gap:8px!important;min-width:0!important;
}
.wheel-settings-grid>label:has(#wheelTurns){grid-column:1!important;grid-row:4!important}
.wheel-settings-grid>label:has(#wheelMaxEntries){grid-column:2!important;grid-row:4!important}
.wheel-settings-grid>label:has(#wheelJoinCommand){grid-column:1!important;grid-row:5!important}
.wheel-settings-grid>label:has(#wheelLeaveCommand){grid-column:2!important;grid-row:5!important}
.wheel-settings-grid>label:has(#wheelSpinCommand){grid-column:1!important;grid-row:6!important}
.wheel-settings-grid>label:has(#wheelRemoveWinner){grid-column:2!important;grid-row:6!important}
.wheel-settings-grid>label:has(#wheelSound){grid-column:1!important;grid-row:7!important}
.wheel-settings-grid>label:has(#wheelChatReplies){grid-column:2!important;grid-row:7!important}
.wheel-settings-grid>label:has(#wheelJoinEnabled){grid-column:1!important;grid-row:8!important}
.wheel-settings-grid>label:has(#wheelConfetti){grid-column:2!important;grid-row:8!important}

.wheel-settings-grid>label{
  width:100%!important;min-width:0!important;
  align-self:stretch!important;box-sizing:border-box!important;
}
.wheel-settings-grid>label input:not([type=checkbox]),
.wheel-settings-grid>label select{
  width:100%!important;max-width:none!important;min-width:0!important;
  height:44px!important;min-height:44px!important;max-height:44px!important;
  box-sizing:border-box!important;
}
.wheel-settings-grid>.wheel-custom-music-card{
  width:100%!important;box-sizing:border-box!important;
  display:flex!important;flex-direction:column!important;
  justify-content:space-between!important;
}
.wheel-settings-grid>.wheel-volume-stack .wheel-volume-control{
  width:100%!important;min-width:0!important;
}
.wheel-settings-grid>.wheel-volume-stack .wheel-music-preview{
  width:100%!important;height:42px!important;min-height:42px!important;
}
.wheel-settings-grid .wheel-setting-check{
  min-height:48px!important;height:auto!important;
  justify-content:center!important;text-align:center!important;
  box-sizing:border-box!important;
}
@media(max-width:680px){
  .wheel-settings-grid{
    grid-template-columns:minmax(0,1fr)!important;
    row-gap:10px!important;padding:10px!important;
  }
  .wheel-settings-grid>.wheel-chance-panel,
  .wheel-settings-grid>label:has(#wheelDuration),
  .wheel-settings-grid>.wheel-custom-music-card,
  .wheel-settings-grid>label:has(#wheelMusic),
  .wheel-settings-grid>.wheel-volume-stack,
  .wheel-settings-grid>label:has(#wheelTurns),
  .wheel-settings-grid>label:has(#wheelMaxEntries),
  .wheel-settings-grid>label:has(#wheelJoinCommand),
  .wheel-settings-grid>label:has(#wheelLeaveCommand),
  .wheel-settings-grid>label:has(#wheelSpinCommand),
  .wheel-settings-grid>label:has(#wheelRemoveWinner),
  .wheel-settings-grid>label:has(#wheelSound),
  .wheel-settings-grid>label:has(#wheelChatReplies),
  .wheel-settings-grid>label:has(#wheelJoinEnabled),
  .wheel-settings-grid>label:has(#wheelConfetti){
    grid-column:1!important;grid-row:auto!important;
  }
  .wheel-settings-grid>label:has(#wheelDuration){order:1}
}


/* Requested arrow layout: move volume controls to the left and music selector to the right. */
.wheel-settings-grid>label:has(#wheelMusic){grid-column:2!important;grid-row:3!important;align-self:center!important}
.wheel-settings-grid>.wheel-volume-stack{
  grid-column:1!important;grid-row:3!important;
  display:flex!important;flex-direction:column!important;
  align-self:stretch!important;justify-content:center!important;
  gap:8px!important;min-width:0!important;
}
/* Give the participant limit field more horizontal room. */
.wheel-settings-grid>label:has(#wheelMaxEntries){
  grid-column:1/-1!important;grid-row:4!important;
  width:100%!important;max-width:none!important;
}
.wheel-settings-grid>label:has(#wheelMaxEntries) input{
  width:100%!important;max-width:none!important;
}
/* Compact checkbox chips: frame hugs its own checkbox and caption instead of filling a full column. */
.wheel-settings-grid .wheel-setting-check{
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  justify-self:center!important;
  gap:9px!important;
  width:max-content!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  height:auto!important;
  padding:8px 14px!important;
  border:1px solid rgba(160,132,255,.25)!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,rgba(139,105,238,.09),rgba(255,255,255,.025))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045)!important;
  color:#c8c4d9!important;
  text-align:left!important;
  line-height:1.3!important;
  font-size:11px!important;
}
.wheel-settings-grid .wheel-setting-check input[type=checkbox]{
  flex:0 0 17px!important;
  width:17px!important;height:17px!important;
  min-width:17px!important;min-height:17px!important;
  margin:0!important;
  accent-color:#9875ff!important;
}
@media(max-width:680px){
  .wheel-settings-grid>label:has(#wheelMusic){grid-column:1!important;grid-row:auto!important}
  .wheel-settings-grid>.wheel-volume-stack{grid-column:1!important;grid-row:auto!important}
  .wheel-settings-grid>label:has(#wheelMaxEntries){grid-column:1!important;grid-row:auto!important}
  .wheel-settings-grid .wheel-setting-check{
    justify-self:start!important;
    width:max-content!important;
    max-width:100%!important;
  }
}


/* Evruni homepage sign-in window */
.public-actions [data-open-auth]{cursor:pointer}
.auth-modal{padding:22px;isolation:isolate}
.auth-backdrop{
  background:rgba(3,5,14,.48);
  -webkit-backdrop-filter:blur(22px) saturate(135%);
  backdrop-filter:blur(22px) saturate(135%);
  animation:authBackdropIn .48s ease both;
}
.auth-backdrop:before,.auth-backdrop:after{
  content:"";position:absolute;width:min(48vw,560px);height:min(48vw,560px);
  border-radius:50%;filter:blur(75px);opacity:.25;pointer-events:none;
  background:radial-gradient(circle,rgba(129,88,255,.9),transparent 68%);
  animation:authGlowDrift 12s ease-in-out infinite alternate;
}
.auth-backdrop:before{left:-12%;top:-22%}
.auth-backdrop:after{right:-14%;bottom:-30%;background:radial-gradient(circle,rgba(48,174,255,.78),transparent 68%);animation-delay:-5s}
.auth-modal-card.auth-login-window{
  width:min(440px,calc(100vw - 30px));padding:38px 36px 30px;
  border:1px solid rgba(183,164,255,.28);border-radius:27px;
  background:linear-gradient(145deg,rgba(22,27,48,.84),rgba(8,12,25,.82));
  -webkit-backdrop-filter:blur(32px) saturate(150%);backdrop-filter:blur(32px) saturate(150%);
  box-shadow:0 35px 110px rgba(0,0,0,.52),inset 0 1px 0 rgba(255,255,255,.09),0 0 55px rgba(124,88,255,.13);
  text-align:left;transform:translateY(22px) scale(.965);opacity:0;
  transition:transform .62s cubic-bezier(.16,1,.3,1),opacity .42s ease;
  overflow:hidden;
}
.auth-modal-card.auth-login-window:before{
  content:"";position:absolute;inset:0 0 auto;height:1px;
  background:linear-gradient(90deg,transparent,rgba(185,164,255,.85),rgba(99,219,255,.65),transparent);
  opacity:.8
}
.auth-modal.show .auth-modal-card.auth-login-window{transform:translateY(0) scale(1);opacity:1}
.auth-login-brand{display:flex;align-items:center;gap:11px;margin-bottom:21px}
.auth-login-symbol{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;
  color:#fff;font-size:20px;background:linear-gradient(140deg,#a48aff,#6545dc 62%,#3abfe9);
  box-shadow:0 0 25px rgba(130,95,255,.4);animation:authSymbolFloat 4.8s ease-in-out infinite}
.auth-login-kicker{font-size:10px;letter-spacing:.2em;font-weight:800;color:#b9aaff}
.auth-login-window h2{margin:0 0 8px;font-size:29px;letter-spacing:-.055em}
.auth-login-window .auth-login-subtitle{margin:0 0 25px;color:#9aa5bd;font-size:13px;line-height:1.6}
.auth-login-form{display:grid;gap:10px}
.auth-login-form label{margin-top:3px;color:#cbd1e2;font-size:12px;font-weight:650}
.auth-login-form input{
  width:100%;min-height:49px;padding:0 15px;border-radius:13px;
  color:#f5f6ff;background:rgba(4,8,19,.56);
  border:1px solid rgba(153,164,202,.19);outline:none;
  transition:border-color .25s,box-shadow .25s,background .25s,transform .25s;
}
.auth-login-form input::placeholder{color:#68738d}
.auth-login-form input:focus{border-color:rgba(166,142,255,.72);background:rgba(8,12,27,.82);
  box-shadow:0 0 0 4px rgba(141,112,255,.12),0 0 25px rgba(141,112,255,.08)}
.auth-login-submit{display:flex;justify-content:center;align-items:center;gap:14px;width:100%;min-height:51px;margin-top:12px}
.auth-login-submit span{font-size:19px;transition:transform .25s}
.auth-login-submit:hover span{transform:translateX(4px)}
.auth-login-bottom{margin-top:22px;padding-top:19px;border-top:1px solid rgba(155,165,200,.13);
  color:#8e99b1;text-align:center;font-size:12px}
.auth-login-bottom a{color:#c0afff;text-decoration:none;font-weight:750;margin-left:4px}
.auth-login-bottom a:hover{color:#fff}
.auth-login-window .auth-close{z-index:2;width:34px;height:34px;border:1px solid rgba(255,255,255,.08);
  border-radius:11px;background:rgba(255,255,255,.045);transition:background .2s,color .2s,transform .2s}
.auth-login-window .auth-close:hover{color:#fff;background:rgba(255,255,255,.1);transform:rotate(90deg)}
.auth-login-form .evruni-turnstile{margin-top:8px}
@keyframes authBackdropIn{from{opacity:0}to{opacity:1}}
@keyframes authGlowDrift{from{transform:translate3d(-15px,-10px,0) scale(.92)}to{transform:translate3d(35px,25px,0) scale(1.12)}}
@keyframes authSymbolFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-4px) rotate(5deg)}}
@media(max-width:560px){
 .auth-modal{padding:14px}
 .auth-modal-card.auth-login-window{padding:32px 23px 25px;border-radius:23px}
 .auth-login-window h2{font-size:26px}
}



/* Hotfix: keep login labels and controls stacked; never rely on cached legacy CSS. */
.auth-modal-card.auth-login-window .auth-login-form{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  width:100%!important;gap:12px!important;
}
.auth-modal-card.auth-login-window .auth-login-form .auth-field{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  width:100%!important;min-width:0!important;gap:7px!important;
}
.auth-modal-card.auth-login-window .auth-login-form .auth-field label{
  display:block!important;position:static!important;width:auto!important;
  margin:0!important;padding:0!important;line-height:1.35!important;
  text-align:left!important;white-space:normal!important;
}
.auth-modal-card.auth-login-window .auth-login-form .auth-field input{
  display:block!important;position:static!important;float:none!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:49px!important;min-height:49px!important;max-height:49px!important;
  margin:0!important;box-sizing:border-box!important;
}
.auth-modal-card.auth-login-window .auth-login-form .evruni-turnstile{
  display:block!important;width:100%!important;margin:4px 0 0!important;
}
.auth-modal-card.auth-login-window .auth-login-form .auth-login-submit{
  display:flex!important;width:100%!important;margin:4px 0 0!important;
}


/* Final home-login layout: force every field into its own full-width row. */
#authModal .auth-login-window .auth-login-form{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:12px!important;width:100%!important;
}
#authModal .auth-login-window .auth-login-form .auth-field{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto 49px!important;align-items:start!important;
  gap:7px!important;width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;
}
#authModal .auth-login-window .auth-login-form .auth-field>label{
  display:block!important;position:static!important;float:none!important;
  width:100%!important;height:auto!important;margin:0!important;padding:0!important;
  text-align:left!important;line-height:1.35!important;white-space:normal!important;
}
#authModal .auth-login-window .auth-login-form .auth-field>input{
  display:block!important;position:static!important;float:none!important;
  grid-column:1!important;grid-row:2!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:49px!important;min-height:49px!important;max-height:49px!important;
  margin:0!important;padding:0 14px!important;box-sizing:border-box!important;
}
#authModal .auth-login-window .auth-login-form .evruni-turnstile{
  display:flex!important;justify-content:center!important;align-items:center!important;
  width:100%!important;min-height:65px!important;margin:3px 0!important;
}
#authModal .auth-login-window .auth-login-form .auth-login-submit{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-height:50px!important;margin:2px 0 0!important;
}
#authModal .auth-home-divider{margin:18px 0 12px!important}
#authModal .auth-home-socials{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;width:100%!important;margin:0!important;
}
#authModal .auth-home-socials .evruni-social{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-height:45px!important;margin:0!important;
}
#authModal .auth-login-bottom{margin-top:18px!important}
@media(max-width:520px){
 #authModal .auth-home-socials{grid-template-columns:1fr!important}
}


/* Evruni glass Turnstile shell — styles the provider widget container, not its protected iframe. */
.evruni-turnstile{
  position:relative!important;isolation:isolate!important;
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  gap:9px!important;width:100%!important;max-width:100%!important;
  min-height:92px!important;margin:12px 0 8px!important;padding:11px 12px!important;
  overflow:hidden!important;box-sizing:border-box!important;
  border:1px solid rgba(151,128,255,.30)!important;border-radius:15px!important;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(130,91,255,.16),transparent 58%),
    radial-gradient(ellipse at 100% 100%,rgba(48,190,255,.10),transparent 55%),
    linear-gradient(135deg,rgba(20,25,45,.84),rgba(7,12,25,.78))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),
    0 10px 28px rgba(0,0,0,.20),0 0 22px rgba(126,91,255,.08)!important;
  -webkit-backdrop-filter:blur(18px) saturate(140%)!important;
  backdrop-filter:blur(18px) saturate(140%)!important;
  transition:border-color .25s ease,box-shadow .25s ease,background .25s ease!important;
}
.evruni-turnstile:before{
  content:"EVRUNI  ·  ЗАЩИТА CLOUDFLARE";
  display:block!important;align-self:flex-start!important;
  color:rgba(187,174,255,.78)!important;
  font:800 9px/1.2 Inter,ui-sans-serif,system-ui,sans-serif!important;
  letter-spacing:.15em!important;text-transform:uppercase!important;
}
.evruni-turnstile:after{
  content:"";position:absolute;z-index:-1;left:-25%;top:-85%;
  width:65%;height:180%;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.045),transparent);
  transform:rotate(22deg);animation:evruniCaptchaShimmer 8s ease-in-out infinite;
}
.evruni-turnstile:hover{
  border-color:rgba(166,143,255,.48)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),
    0 12px 32px rgba(0,0,0,.24),0 0 28px rgba(126,91,255,.13)!important;
}
.evruni-turnstile .cf-turnstile{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  min-height:65px!important;margin:0!important;padding:0!important;
  overflow:visible!important;
}
.evruni-turnstile .cf-turnstile iframe{
  display:block!important;max-width:100%!important;
  border:0!important;border-radius:9px!important;
}
#authModal .auth-login-window .auth-login-form .evruni-turnstile{
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;width:100%!important;min-height:92px!important;
  margin:3px 0!important;padding:11px 12px!important;
}
@keyframes evruniCaptchaShimmer{
  0%,68%,100%{transform:translateX(-45%) rotate(22deg);opacity:0}
  78%{opacity:.8}
  92%{transform:translateX(240%) rotate(22deg);opacity:0}
}
@media(max-width:420px){
  .evruni-turnstile{padding:9px!important;min-height:88px!important}
  .evruni-turnstile:before{font-size:8px!important}
  .evruni-turnstile .cf-turnstile{transform:scale(.94);transform-origin:center}
}
@media(prefers-reduced-motion:reduce){
  .evruni-turnstile:after{animation:none!important}
}



/* Evruni glass registration page */
body.auth-register-page{
  position:relative!important;display:grid!important;place-items:center!important;
  min-height:100vh!important;padding:34px 16px!important;overflow-x:hidden!important;
  background:radial-gradient(circle at 12% 12%,rgba(119,91,255,.17),transparent 31%),
    radial-gradient(circle at 88% 82%,rgba(47,185,255,.12),transparent 30%),
    linear-gradient(145deg,#050711,#080b15 52%,#060812)!important;
}
.auth-register-shell{position:relative;z-index:1;width:100%;display:grid;place-items:center}
.auth-card.auth-register-card{
  position:relative;width:min(470px,100%)!important;padding:34px 34px 27px!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:0!important;overflow:hidden!important;
  border:1px solid rgba(166,145,255,.27)!important;border-radius:26px!important;
  background:linear-gradient(145deg,rgba(21,26,46,.86),rgba(7,12,25,.88))!important;
  -webkit-backdrop-filter:blur(30px) saturate(145%)!important;
  backdrop-filter:blur(30px) saturate(145%)!important;
  box-shadow:0 30px 100px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.08),
    0 0 50px rgba(124,88,255,.10)!important;
  animation:pageIn .65s cubic-bezier(.16,1,.3,1) both;
}
.auth-card.auth-register-card:before{
  content:"";position:absolute;inset:0 0 auto;height:1px;
  background:linear-gradient(90deg,transparent,rgba(190,169,255,.9),rgba(89,215,255,.7),transparent)
}
.auth-register-brand{
  display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 20px;
  color:#d8d9e8;text-decoration:none;font-size:12px;font-weight:800;letter-spacing:.055em
}
.auth-register-mark{
  display:grid;place-items:center;width:35px;height:35px;border-radius:12px;color:#fff;
  background:linear-gradient(140deg,#a48aff,#6545dc 62%,#3abfe9);
  box-shadow:0 0 23px rgba(130,95,255,.35);animation:authSymbolFloat 4.8s ease-in-out infinite
}
.auth-register-card h1{
  margin:0 0 8px!important;text-align:center;font-size:29px;line-height:1.12;
  letter-spacing:-.055em;color:#f5f5ff
}
.auth-register-subtitle{
  margin:0 0 24px!important;text-align:center;color:#98a3ba;font-size:12px;line-height:1.65
}
.auth-register-fields{display:flex!important;flex-direction:column!important;gap:14px!important;width:100%!important}
.auth-register-field{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:7px!important;width:100%!important;min-width:0!important
}
.auth-register-field label{
  display:block!important;position:static!important;margin:0!important;padding:0!important;
  color:#cbd1e2;font-size:12px;font-weight:650;line-height:1.35;text-align:left
}
.auth-register-field input{
  display:block!important;position:static!important;float:none!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:49px!important;min-height:49px!important;max-height:49px!important;
  margin:0!important;padding:0 14px!important;box-sizing:border-box!important;
  color:#f5f6ff;background:rgba(4,8,19,.58)!important;
  border:1px solid rgba(153,164,202,.19)!important;border-radius:13px!important;
  outline:none;transition:border-color .25s,box-shadow .25s,background .25s
}
.auth-register-field input::placeholder{color:#68738d}
.auth-register-field input:focus{
  border-color:rgba(166,142,255,.72)!important;background:rgba(8,12,27,.86)!important;
  box-shadow:0 0 0 4px rgba(141,112,255,.12),0 0 25px rgba(141,112,255,.08)
}
.auth-register-field small{color:#75819b;font-size:10px;margin-top:-2px}
.auth-register-card .evruni-turnstile{margin:17px 0 12px!important}
.auth-register-submit{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:13px!important;
  width:100%!important;min-height:50px!important;margin:7px 0 0!important
}
.auth-register-submit span{font-size:19px;transition:transform .25s}
.auth-register-submit:hover span{transform:translateX(4px)}
.auth-register-divider{margin:19px 0 12px!important}
.auth-register-socials{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;width:100%!important;margin:0!important
}
.auth-register-socials .evruni-social{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-height:45px!important;margin:0!important
}
.auth-register-footer{
  margin-top:20px;padding-top:18px;border-top:1px solid rgba(155,165,200,.13);
  color:#8e99b1;text-align:center;font-size:12px
}
.auth-register-footer a{color:#c0afff;text-decoration:none;font-weight:750;margin-left:4px}
.auth-register-footer a:hover{color:#fff}
.auth-register-card .error{margin:0 0 14px!important;border:1px solid rgba(255,111,145,.22);border-radius:12px}
@media(max-width:520px){
  body.auth-register-page{padding:18px 12px!important}
  .auth-card.auth-register-card{padding:29px 22px 23px!important;border-radius:22px!important}
  .auth-register-card h1{font-size:26px}
  .auth-register-socials{grid-template-columns:1fr!important}
}


/* Homepage registration uses the same animated glass dialog as sign-in. */
#authModal [hidden]{display:none!important}
#homeRegisterPanel.auth-register-modal-card{
  width:min(470px,calc(100vw - 30px))!important;max-height:min(92vh,850px);
  overflow-y:auto!important;padding:34px 34px 27px!important;
  text-align:left!important;
}
#homeRegisterPanel .auth-login-subtitle{margin-bottom:21px!important}
#homeRegisterPanel .auth-home-register-form{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:12px!important;width:100%!important;
}
#homeRegisterPanel .auth-home-register-form .auth-field{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:7px!important;width:100%!important;min-width:0!important;margin:0!important;
}
#homeRegisterPanel .auth-home-register-form .auth-field label{
  display:block!important;position:static!important;float:none!important;
  width:100%!important;margin:0!important;padding:0!important;text-align:left!important;
  color:#cbd1e2;font-size:12px;font-weight:650;line-height:1.35
}
#homeRegisterPanel .auth-home-register-form .auth-field input{
  display:block!important;position:static!important;float:none!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:49px!important;min-height:49px!important;max-height:49px!important;
  margin:0!important;padding:0 14px!important;box-sizing:border-box!important;
  color:#f5f6ff;background:rgba(4,8,19,.58)!important;
  border:1px solid rgba(153,164,202,.19)!important;border-radius:13px!important;
}
#homeRegisterPanel .auth-home-register-form .auth-field small{
  color:#75819b;font-size:10px;margin-top:-2px
}
#homeRegisterPanel .auth-home-register-form .evruni-turnstile{
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;width:100%!important;min-height:92px!important;
  margin:3px 0!important;padding:11px 12px!important;
}
#homeRegisterPanel .auth-home-register-form .auth-login-submit{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-height:50px!important;margin:2px 0 0!important;
}
#homeRegisterPanel .auth-home-socials{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;width:100%!important;margin:0!important
}
#homeRegisterPanel .auth-home-socials .evruni-social{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-height:45px!important;margin:0!important
}
#homeRegisterPanel .error{margin:0 0 12px!important}
@media(max-width:520px){
  #homeRegisterPanel.auth-register-modal-card{padding:29px 22px 23px!important}
  #homeRegisterPanel .auth-home-socials{grid-template-columns:1fr!important}
}


/* Evruni landing bottom sections — mobile-first reflow and spacing polish */
@media (max-width:700px){
  .public-main{overflow-x:clip}
  .landing-projects-section,
  #models.public-strip,
  #api.public-strip,
  .landing-intro-panel{
    width:100%!important;max-width:100%!important;
    margin-left:0!important;margin-right:0!important;
    box-sizing:border-box!important;
  }
  .landing-projects-section{margin-top:24px!important}
  .landing-projects-panel{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    gap:22px!important;min-height:0!important;padding:23px 19px!important;
    border-radius:21px!important;
  }
  .landing-projects-copy h2{font-size:clamp(21px,6vw,27px)!important;line-height:1.16!important}
  .landing-projects-copy p{font-size:13px!important;line-height:1.65!important;margin-top:11px!important}
  .landing-project-flow{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    justify-items:stretch!important;gap:9px!important;min-height:0!important;
    width:100%!important;padding:0!important;overflow:visible!important;
  }
  .landing-flow-node,.landing-flow-project{
    width:100%!important;min-width:0!important;max-width:none!important;
    padding:13px 15px!important;border-radius:13px!important;
  }
  .landing-flow-line{
    width:1px!important;height:15px!important;justify-self:center!important;
    background:linear-gradient(180deg,rgba(144,124,255,.12),rgba(144,124,255,.75),rgba(144,124,255,.12))!important;
  }
  .landing-flow-column{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  #models.public-strip,#api.public-strip{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    justify-content:center!important;gap:10px!important;min-height:0!important;
    margin-top:16px!important;padding:22px 19px!important;border-radius:20px!important;
  }
  #models.public-strip h2,#api.public-strip h2{
    margin:7px 0 0!important;font-size:clamp(20px,5.7vw,25px)!important;
    line-height:1.2!important;letter-spacing:-.035em!important;
    overflow-wrap:anywhere!important;
  }
  #models.public-strip p,#api.public-strip p{
    max-width:none!important;margin:0!important;padding:0!important;
    font-size:13px!important;line-height:1.6!important;
  }
  .landing-intro-panel{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    gap:19px!important;margin-top:18px!important;padding:23px 19px!important;
    border-radius:21px!important;
  }
  .landing-intro-copy{width:100%!important;min-width:0!important}
  .landing-intro-copy h2{
    font-size:clamp(22px,6vw,27px)!important;line-height:1.16!important;
    overflow-wrap:anywhere!important;
  }
  .landing-intro-copy p{font-size:13px!important;line-height:1.6!important}
  .landing-intro-pills{display:flex!important;gap:6px!important;margin-top:13px!important}
  .landing-intro-pills span{font-size:10px!important;padding:6px 9px!important}
  .landing-intro-orbit{
    align-self:center!important;flex:0 0 112px!important;
    width:112px!important;height:112px!important;margin:2px auto 5px!important;
  }
  .landing-intro-orbit:before{inset:12px!important}
  .landing-intro-orbit:after{inset:27px!important}
  .landing-intro-orbit b{font-size:21px!important}
  .landing-credit-box{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    gap:12px!important;margin-top:16px!important;padding:13px!important;border-radius:14px!important;
  }
  .landing-credit-box>div{min-width:0!important}
  .landing-credit-box strong{font-size:13px!important}
  .landing-credit-box small{max-width:none!important;font-size:11px!important;line-height:1.5!important}
  .landing-pricing-btn{width:100%!important;min-height:43px!important;font-size:12px!important}
}
@media(max-width:420px){
  .landing-projects-panel,#models.public-strip,#api.public-strip,.landing-intro-panel{
    padding-left:16px!important;padding-right:16px!important;
  }
  #models.public-strip h2,#api.public-strip h2{font-size:20px!important}
  .landing-intro-pills{flex-wrap:wrap!important}
  .landing-intro-pills span{white-space:normal!important}
}

/* Prevent browser autofill styling from leaking into Evruni global search. */
.global-search-wrap{position:relative;min-width:0}
.global-search-input{-webkit-appearance:none;appearance:none}
.global-search-input:-webkit-autofill,
.global-search-input:-webkit-autofill:hover,
.global-search-input:-webkit-autofill:focus{
  -webkit-text-fill-color:#e9ecf7!important;
  -webkit-box-shadow:0 0 0 1000px rgba(8,12,23,.96) inset!important;
  transition:background-color 99999s ease-out 0s!important;
}
.global-search-results:not(.show){display:none!important}


/* Evruni Streamer: consistent action groups, aligned controls and MP3 upload */
.streamer-workspace{min-width:0}
.streamer-hero{gap:20px!important;align-items:center!important}
.streamer-hero-actions{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;
  justify-content:flex-end!important;gap:10px!important;min-width:0
}
.streamer-hero-actions>*{min-height:42px!important}
.streamer-grid{align-items:stretch!important;gap:16px!important}
.streamer-panel{min-width:0!important}
.streamer-panel-head{gap:12px!important;align-items:flex-start!important}
.streamer-actions{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;
  align-items:stretch!important;gap:9px!important;width:100%!important;margin-top:13px!important
}
.streamer-actions button{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;min-height:44px!important;
  padding:10px 14px!important;border-radius:12px!important;
  font-size:12px!important;font-weight:700!important;line-height:1.25!important;
  white-space:normal!important;text-align:center!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important
}
.streamer-actions button:not(:disabled):hover{transform:translateY(-2px)}
.streamer-actions button:disabled{opacity:.42!important;cursor:not-allowed!important}
.streamer-actions .primary{box-shadow:0 7px 18px rgba(111,78,220,.2)!important}
.wheel-proof-actions,.wheel-settings-actions{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
  gap:9px!important;width:100%!important
}
.wheel-proof-actions button,.wheel-settings-actions button{
  min-height:42px!important;width:100%!important;border-radius:11px!important;
  font-size:11px!important;font-weight:700!important
}
.wheel-add-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:9px!important;align-items:stretch!important}
.wheel-add-row input{min-width:0!important;width:100%!important}
.wheel-add-row button{min-width:108px!important;min-height:44px!important;border-radius:11px!important}
.wheel-custom-music-card{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  justify-content:center!important;gap:12px!important;min-width:0!important;
  padding:15px!important;border:1px solid rgba(157,128,255,.25)!important;
  border-radius:15px!important;
  background:linear-gradient(145deg,rgba(100,75,170,.12),rgba(14,19,36,.72))!important;
}
.wheel-custom-music-title{display:flex!important;align-items:center!important;gap:10px!important;min-width:0}
.wheel-custom-music-title>span:last-child{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0}
.wheel-custom-music-title small{line-height:1.4!important;color:var(--muted,#929bb3)!important}
.wheel-file-button{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-height:43px!important;padding:10px 14px!important;
  border:1px solid rgba(161,132,255,.42)!important;border-radius:11px!important;
  background:linear-gradient(110deg,rgba(122,87,230,.25),rgba(52,111,190,.16))!important;
  color:#eeeaff!important;font-size:12px!important;font-weight:750!important;
  cursor:pointer!important;transition:all .22s ease!important
}
.wheel-file-button:hover{border-color:rgba(186,164,255,.75)!important;box-shadow:0 0 22px rgba(127,91,238,.18)!important;transform:translateY(-1px)}
.wheel-custom-file-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}
.wheel-settings-grid>label{min-width:0!important}
.wheel-settings-grid>label select,.wheel-settings-grid>label input:not([type=checkbox]){width:100%!important;max-width:100%!important;box-sizing:border-box!important}
@media(max-width:700px){
  .streamer-hero{align-items:stretch!important}
  .streamer-hero-actions{justify-content:flex-start!important;display:grid!important;grid-template-columns:1fr!important}
  .streamer-hero-actions>*{width:100%!important}
  .streamer-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .streamer-actions button{min-height:46px!important;padding:9px 10px!important;font-size:11px!important}
  .wheel-proof-actions,.wheel-settings-actions{grid-template-columns:1fr 1fr!important}
  .wheel-add-row{grid-template-columns:minmax(0,1fr) 100px!important}
  .wheel-custom-music-card{padding:13px!important}
}
@media(max-width:420px){
  .streamer-actions{grid-template-columns:1fr!important}
  .wheel-proof-actions,.wheel-settings-actions{grid-template-columns:1fr!important}
  .wheel-add-row{grid-template-columns:minmax(0,1fr) 88px!important}
  .wheel-add-row button{min-width:0!important;font-size:11px!important;padding-inline:8px!important}
}


/* Refined roulette settings: grouped cards, balanced controls, responsive layout */
.wheel-settings{
  overflow:hidden!important;border:1px solid rgba(151,126,232,.25)!important;
  border-radius:19px!important;background:linear-gradient(145deg,rgba(17,21,40,.86),rgba(9,13,26,.92))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 14px 34px rgba(0,0,0,.17)!important
}
.wheel-settings>summary{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  flex-wrap:wrap!important;gap:8px 14px!important;min-height:58px!important;
  padding:15px 18px!important;cursor:pointer!important
}
.wheel-settings>summary>span{font-size:14px!important;font-weight:800!important;color:#f0edff!important}
.wheel-settings>summary>small{font-size:10px!important;color:#9b9fbd!important;line-height:1.45!important}
.wheel-settings-grid{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;gap:13px!important;padding:14px!important;
  border-top:1px solid rgba(150,132,210,.13)!important
}
.wheel-setting-group{
  display:flex!important;flex-direction:column!important;gap:13px!important;
  min-width:0!important;padding:15px!important;border:1px solid rgba(154,133,225,.20)!important;
  border-radius:16px!important;
  background:linear-gradient(145deg,rgba(27,31,56,.72),rgba(11,16,31,.78))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important
}
.wheel-setting-group-head{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.wheel-setting-group-icon{
  display:grid!important;place-items:center!important;flex:0 0 34px!important;width:34px!important;height:34px!important;
  border:1px solid rgba(166,139,255,.26)!important;border-radius:11px!important;
  color:#d6c8ff!important;background:linear-gradient(145deg,rgba(132,98,236,.24),rgba(47,126,190,.12))!important;
  font-size:17px!important
}
.wheel-setting-group-head>div{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}
.wheel-setting-group-head b{color:#f0edff!important;font-size:12px!important;font-weight:800!important}
.wheel-setting-group-head small{color:#8994ad!important;font-size:10px!important;line-height:1.4!important}
.wheel-setting-group-fields{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;gap:11px!important;min-width:0!important
}
.wheel-setting-group-fields>label:not(.wheel-setting-check){
  display:flex!important;flex-direction:column!important;gap:7px!important;
  min-width:0!important;color:#cbd2e5!important;font-size:11px!important;font-weight:650!important
}
.wheel-setting-group-fields>label input:not([type=checkbox]),
.wheel-setting-group-fields>label select{
  display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
  height:43px!important;min-height:43px!important;box-sizing:border-box!important;
  border-radius:11px!important;border:1px solid rgba(146,158,198,.19)!important;
  background:rgba(5,9,21,.68)!important;color:#eef0ff!important;padding:0 11px!important;
  font-size:12px!important
}
.wheel-setting-group-audio,.wheel-setting-group-rules{grid-column:span 1}
.wheel-setting-group-audio .wheel-setting-group-fields{grid-template-columns:1fr!important}
.wheel-setting-group-audio .wheel-custom-music-card{grid-column:1/-1!important}
.wheel-setting-group-audio .wheel-volume-stack{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;gap:12px!important;padding:11px!important;
  border:1px solid rgba(154,133,225,.16)!important;border-radius:13px!important;
  background:rgba(255,255,255,.025)!important
}
.wheel-setting-group-audio .wheel-volume-control{min-width:0!important}
.wheel-setting-group-audio .wheel-music-preview{min-height:40px!important;white-space:nowrap!important}
.wheel-setting-group-commands .wheel-setting-group-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.wheel-setting-group-checks,.wheel-setting-checks{grid-template-columns:1fr 1fr!important}
.wheel-setting-checks .wheel-setting-check{
  display:flex!important;align-items:center!important;gap:9px!important;
  min-width:0!important;min-height:48px!important;padding:10px 11px!important;
  border:1px solid rgba(151,137,201,.17)!important;border-radius:12px!important;
  background:rgba(255,255,255,.025)!important;color:#cbd2e5!important;
  font-size:11px!important;line-height:1.4!important
}
.wheel-setting-checks .wheel-setting-check input[type=checkbox]{
  flex:0 0 17px!important;width:17px!important;height:17px!important;margin:0!important;
  accent-color:#9a78ff!important
}
.wheel-chance-panel{
  grid-column:1/-1!important;min-width:0!important;padding:16px!important;
  border:1px solid rgba(154,133,225,.24)!important;border-radius:16px!important;
  background:linear-gradient(115deg,rgba(111,77,194,.13),rgba(18,24,44,.65))!important
}
.wheel-chance-title{display:flex!important;flex-direction:column!important;gap:4px!important;margin-bottom:12px!important}
.wheel-chance-title b{color:#f1edff!important;font-size:13px!important}
.wheel-chance-title small{color:#929db6!important;font-size:10px!important;line-height:1.5!important}
.wheel-chance-tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.wheel-chance-tools>label{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;color:#cbd2e5!important;font-size:11px!important}
.wheel-chance-tools>label input{width:100%!important;min-width:0!important;box-sizing:border-box!important;height:42px!important;border-radius:10px!important}
.wheel-chance-tools>p,.wheel-donation-connectors{grid-column:1/-1!important;margin:0!important}
.wheel-donation-connectors{display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:11px!important;border-radius:12px!important;background:rgba(5,9,21,.38)!important}
.wheel-donation-connectors>*{max-width:100%!important}
.wheel-settings-actions{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;
  padding:13px 15px 15px!important;border-top:1px solid rgba(150,132,210,.13)!important
}
.wheel-settings-actions button{min-width:150px!important;min-height:43px!important;border-radius:11px!important;font-size:12px!important;font-weight:750!important}
#wheelSettingsStatus{flex:1 1 180px!important;color:#8994ad!important;font-size:10px!important;line-height:1.45!important}
@media(max-width:760px){
 .wheel-settings-grid{grid-template-columns:1fr!important;padding:11px!important;gap:10px!important}
 .wheel-setting-group{padding:13px!important}
 .wheel-setting-group-audio,.wheel-setting-group-rules{grid-column:auto!important}
 .wheel-setting-group-commands .wheel-setting-group-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:480px){
 .wheel-settings>summary{padding:13px!important}
 .wheel-setting-group-fields,.wheel-setting-group-commands .wheel-setting-group-fields,
 .wheel-setting-checks,.wheel-chance-tools{grid-template-columns:1fr!important}
 .wheel-setting-group-audio .wheel-volume-stack{grid-template-columns:1fr!important}
 .wheel-setting-group-audio .wheel-music-preview{width:100%!important}
 .wheel-settings-actions{display:grid!important;grid-template-columns:1fr!important}
 .wheel-settings-actions button{width:100%!important}
}


/* Compact wheel settings v2 — reduce empty space and align controls into a tight dashboard */
#wheelSettings .wheel-settings-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  align-items:start!important;
  gap:9px!important;
  padding:10px!important;
}
#wheelSettings .wheel-setting-group,
#wheelSettings .wheel-chance-panel{
  min-width:0!important;
  margin:0!important;
  padding:11px!important;
  border-radius:13px!important;
  gap:9px!important;
}
#wheelSettings .wheel-setting-group-head{
  gap:8px!important;
  min-height:28px!important;
}
#wheelSettings .wheel-setting-group-icon{
  width:29px!important;height:29px!important;flex-basis:29px!important;
  border-radius:9px!important;font-size:14px!important;
}
#wheelSettings .wheel-setting-group-head>div{gap:1px!important}
#wheelSettings .wheel-setting-group-head b{font-size:11px!important}
#wheelSettings .wheel-setting-group-head small{font-size:9px!important}
#wheelSettings .wheel-setting-group-fields{
  gap:8px!important;
}
#wheelSettings .wheel-setting-group-fields>label:not(.wheel-setting-check){
  gap:4px!important;font-size:10px!important;
}
#wheelSettings .wheel-setting-group-fields>label input:not([type=checkbox]),
#wheelSettings .wheel-setting-group-fields>label select{
  height:36px!important;min-height:36px!important;
  padding:0 9px!important;border-radius:9px!important;font-size:11px!important;
}
#wheelSettings .wheel-setting-group-commands .wheel-setting-group-fields{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
#wheelSettings .wheel-setting-group-audio .wheel-setting-group-fields{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
#wheelSettings .wheel-setting-group-audio .wheel-custom-music-card{
  grid-column:1/-1!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(115px,.65fr)!important;
  align-items:center!important;gap:7px 10px!important;
  padding:9px!important;border-radius:10px!important;
}
#wheelSettings .wheel-custom-music-title{gap:7px!important}
#wheelSettings .wheel-custom-music-title b{font-size:10px!important}
#wheelSettings .wheel-custom-music-title small,
#wheelSettings .wheel-custom-music-status{font-size:9px!important;line-height:1.25!important}
#wheelSettings .wheel-file-button{
  min-height:34px!important;padding:7px 9px!important;font-size:10px!important;
  border-radius:9px!important;
}
#wheelSettings .wheel-custom-music-status{grid-column:1/-1!important;margin:0!important}
#wheelSettings .wheel-setting-group-audio .wheel-volume-stack{
  grid-column:1/-1!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;padding:8px!important;border-radius:10px!important;
}
#wheelSettings .wheel-setting-group-audio .wheel-music-preview{
  min-height:34px!important;padding:7px 10px!important;font-size:10px!important;
}
#wheelSettings .wheel-volume-row{gap:8px!important}
#wheelSettings .wheel-volume-row output{font-size:10px!important}
#wheelSettings .wheel-setting-checks{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;
}
#wheelSettings .wheel-setting-checks .wheel-setting-check{
  min-height:36px!important;padding:7px 8px!important;
  gap:7px!important;border-radius:9px!important;font-size:9px!important;line-height:1.25!important;
}
#wheelSettings .wheel-setting-checks .wheel-setting-check input[type=checkbox]{
  width:15px!important;height:15px!important;flex-basis:15px!important;
}
#wheelSettings .wheel-chance-title{gap:2px!important;margin-bottom:7px!important}
#wheelSettings .wheel-chance-title b{font-size:11px!important}
#wheelSettings .wheel-chance-title small{font-size:9px!important;line-height:1.3!important}
#wheelSettings .wheel-chance-tools{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
}
#wheelSettings .wheel-chance-tools>label{gap:4px!important;font-size:9px!important}
#wheelSettings .wheel-chance-tools>label input{
  height:34px!important;min-height:34px!important;padding:0 8px!important;font-size:10px!important;
}
#wheelSettings .wheel-chance-tools>p{
  font-size:9px!important;line-height:1.35!important;margin:0!important;
}
#wheelSettings .wheel-donation-connectors{
  gap:5px 8px!important;padding:8px!important;border-radius:9px!important;
  font-size:9px!important;line-height:1.3!important;
}
#wheelSettings .wheel-donation-connectors small{font-size:8px!important}
#wheelSettings .wheel-settings-actions{
  display:flex!important;align-items:center!important;gap:8px!important;
  padding:9px 10px 11px!important;
}
#wheelSettings .wheel-settings-actions button{
  min-width:120px!important;min-height:36px!important;padding:8px 12px!important;
  border-radius:9px!important;font-size:10px!important;
}
#wheelSettings #wheelSettingsStatus{font-size:9px!important;flex:1 1 130px!important}
@media(max-width:760px){
  #wheelSettings .wheel-settings-grid{grid-template-columns:1fr!important;gap:8px!important;padding:9px!important}
  #wheelSettings .wheel-setting-group-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:480px){
  #wheelSettings .wheel-setting-group-commands .wheel-setting-group-fields{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  #wheelSettings .wheel-setting-group-audio .wheel-setting-group-fields{grid-template-columns:1fr!important}
  #wheelSettings .wheel-setting-group-audio .wheel-custom-music-card{
    grid-template-columns:minmax(0,1fr) minmax(100px,.7fr)!important;
  }
  #wheelSettings .wheel-setting-checks{grid-template-columns:1fr 1fr!important}
  #wheelSettings .wheel-settings-actions{display:grid!important;grid-template-columns:1fr 1fr!important}
  #wheelSettings .wheel-settings-actions button{width:100%!important;min-width:0!important}
  #wheelSettings #wheelSettingsStatus{grid-column:1/-1!important}
}


/* True compact grouping: two independent stacks prevent blank grid cells. */
#wheelSettings .wheel-settings-grid{
  display:flex!important;flex-direction:column!important;gap:9px!important;
  padding:10px!important;
}
#wheelSettings .wheel-chance-panel{
  width:100%!important;box-sizing:border-box!important;margin:0!important;
  padding:10px!important;
}
#wheelSettings .wheel-settings-columns{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;gap:9px!important;width:100%!important;
}
#wheelSettings .wheel-settings-column{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:9px!important;min-width:0!important;
}
#wheelSettings .wheel-settings-column>.wheel-setting-group{
  width:100%!important;box-sizing:border-box!important;margin:0!important;
  align-self:flex-start!important;
}
#wheelSettings .wheel-setting-group-motion .wheel-setting-group-fields{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
#wheelSettings .wheel-setting-group-commands .wheel-setting-group-fields{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
#wheelSettings .wheel-setting-group-audio .wheel-setting-group-fields{
  display:flex!important;flex-direction:column!important;gap:7px!important;
}
#wheelSettings .wheel-setting-group-audio .wheel-setting-group-fields>label{
  width:100%!important;
}
#wheelSettings .wheel-setting-group-audio .wheel-custom-music-card{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(105px,.65fr)!important;
  align-items:center!important;gap:5px 9px!important;width:100%!important;box-sizing:border-box!important;
}
#wheelSettings .wheel-setting-group-audio .wheel-volume-stack{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;gap:8px!important;width:100%!important;box-sizing:border-box!important;
}
#wheelSettings .wheel-setting-group-rules .wheel-setting-checks{
  display:grid!important;grid-template-columns:1fr!important;gap:6px!important;
}
#wheelSettings .wheel-setting-group-rules .wheel-setting-check{
  min-height:34px!important;padding:6px 8px!important;
}
@media(max-width:700px){
  #wheelSettings .wheel-settings-columns{grid-template-columns:1fr!important}
  #wheelSettings .wheel-settings-column{gap:8px!important}
}
@media(max-width:480px){
  #wheelSettings .wheel-setting-group-commands .wheel-setting-group-fields{
    grid-template-columns:repeat(3,minmax(0,1fr))!important
  }
  #wheelSettings .wheel-setting-group-audio .wheel-custom-music-card{
    grid-template-columns:minmax(0,1fr) minmax(95px,.7fr)!important
  }
  #wheelSettings .wheel-setting-group-audio .wheel-volume-stack{grid-template-columns:1fr!important}
}


/* Evruni roulette: original pointer + fixed-size animated neon center */
.wheel-stage{overflow:visible!important}
/* Keep the original simple white pointer from the base wheel styling. */
.wheel-pointer{
  position:absolute!important;z-index:5!important;top:-7px!important;left:50%!important;
  transform:translateX(-50%)!important;width:0!important;height:0!important;
  border-left:17px solid transparent!important;border-right:17px solid transparent!important;
  border-top:36px solid #fff!important;border-bottom:0!important;
  filter:drop-shadow(0 3px 5px rgba(0,0,0,.55))!important;
}
.wheel-pointer:after{
  content:"";position:absolute;left:-6px;top:-35px;width:12px;height:12px;border-radius:50%;
  background:#fff;box-shadow:0 0 12px #c9b7ff;
}
.stream-wheel-hub{
  position:absolute!important;z-index:8!important;isolation:isolate!important;
  display:grid!important;place-items:center!important;overflow:visible!important;
  width:82px!important;height:82px!important;min-width:82px!important;min-height:82px!important;
  border-radius:50%!important;box-sizing:border-box!important;
  color:#fff!important;font-size:16px!important;font-weight:950!important;letter-spacing:.08em!important;
  background:radial-gradient(circle at 35% 24%,#f5efff 0%,#c5aaff 13%,#9369fa 34%,#6239d1 62%,#24134f 100%)!important;
  border:4px solid rgba(250,246,255,.98)!important;
  box-shadow:0 0 0 5px rgba(64,40,130,.72),0 0 22px rgba(170,137,255,.8),inset 0 2px 10px rgba(255,255,255,.55)!important;
  transform:translate(-50%,-50%)!important;
  animation:evruniHubGlow 3s ease-in-out infinite!important;
}
.stream-wheel-hub:before{
  content:"";position:absolute;inset:-10px;border-radius:50%;z-index:-1;pointer-events:none;
  border:2px solid rgba(204,181,255,.92);
  box-shadow:0 0 10px rgba(185,151,255,.9),0 0 24px rgba(154,111,255,.55),inset 0 0 12px rgba(174,143,255,.45);
  animation:evruniHubRing 5s linear infinite;
}
.stream-wheel-hub:after{
  content:"";position:absolute;inset:4px;border-radius:50%;z-index:1;pointer-events:none;
  background:conic-gradient(from 0deg,transparent 0 65%,rgba(255,255,255,.72) 73%,transparent 82% 100%);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 7px),#000 calc(100% - 5px));
  mask:radial-gradient(farthest-side,transparent calc(100% - 7px),#000 calc(100% - 5px));
  animation:evruniHubSweep 3.1s linear infinite;
}
.stream-wheel-hub-label{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:1px;text-shadow:0 1px 2px rgba(20,8,50,.65),0 0 12px rgba(255,255,255,.5)}
.stream-wheel-hub-label small{display:block;color:#f3edff!important;font-size:8px!important;font-weight:900!important;letter-spacing:.22em!important;text-shadow:0 0 9px rgba(255,255,255,.9)!important}
@keyframes evruniHubGlow{0%,100%{box-shadow:0 0 0 5px rgba(64,40,130,.72),0 0 22px rgba(170,137,255,.72),inset 0 2px 10px rgba(255,255,255,.5)}50%{box-shadow:0 0 0 5px rgba(102,70,190,.78),0 0 42px rgba(210,183,255,1),inset 0 2px 15px rgba(255,255,255,.72)}}
@keyframes evruniHubRing{to{transform:rotate(360deg)}}
@keyframes evruniHubSweep{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.stream-wheel-hub,.stream-wheel-hub:before,.stream-wheel-hub:after{animation:none!important}}

/* Evruni pointer: clean glass arrow with a soft animated violet mist; no center jewel */
.wheel-pointer{
  top:-12px!important;left:50%!important;z-index:12!important;
  width:38px!important;height:48px!important;
  transform:translateX(-50%)!important;
  border:0!important;
  background:linear-gradient(145deg,#f5efff 0%,#cbb4ff 18%,#956bff 48%,#6339d5 76%,#32176f 100%)!important;
  clip-path:polygon(50% 100%,0 0,100% 0)!important;
  filter:drop-shadow(0 0 5px rgba(178,145,255,.95)) drop-shadow(0 4px 5px rgba(0,0,0,.72))!important;
  animation:evruniPointerGlow 2.8s ease-in-out infinite!important;
}
.wheel-pointer:before{
  content:"";position:absolute;inset:4px 5px 8px;z-index:1;
  background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(224,208,255,.24) 38%,rgba(84,48,171,.2));
  clip-path:polygon(50% 100%,0 0,100% 0);
  box-shadow:inset 0 0 8px rgba(255,255,255,.45);
}
.wheel-pointer:after{
  content:""!important;position:absolute!important;z-index:-1!important;
  left:-8px!important;top:-9px!important;width:54px!important;height:58px!important;
  border:0!important;border-radius:48% 48% 55% 55%!important;
  background:radial-gradient(ellipse at 50% 28%,rgba(235,220,255,.78) 0%,rgba(174,132,255,.48) 28%,rgba(126,83,232,.22) 58%,transparent 76%)!important;
  filter:blur(7px)!important;opacity:.78!important;
  box-shadow:none!important;
  animation:evruniPointerMist 2.4s ease-in-out infinite!important;
}
@keyframes evruniPointerGlow{0%,100%{filter:drop-shadow(0 0 4px rgba(178,145,255,.72)) drop-shadow(0 4px 5px rgba(0,0,0,.72))}50%{filter:drop-shadow(0 0 10px rgba(218,194,255,1)) drop-shadow(0 4px 6px rgba(0,0,0,.72))}}
@keyframes evruniPointerMist{0%,100%{transform:translateY(2px) scale(.88);opacity:.48}50%{transform:translateY(-5px) scale(1.12);opacity:.92}}
@media(prefers-reduced-motion:reduce){.wheel-pointer,.wheel-pointer:after{animation:none!important}}

/* Evruni roulette pointer refinement: smaller silhouette, stronger violet aura */
.wheel-pointer{
  width:29px!important;height:37px!important;
  filter:drop-shadow(0 0 5px rgba(193,158,255,.98))
         drop-shadow(0 0 13px rgba(151,104,255,.88))
         drop-shadow(0 0 23px rgba(111,67,232,.62))
         drop-shadow(0 4px 5px rgba(0,0,0,.72))!important;
  animation:evruniPointerGlowStrong 2.4s ease-in-out infinite!important;
}
.wheel-pointer:before{inset:3px 4px 6px!important}
.wheel-pointer:after{
  left:-17px!important;top:-15px!important;width:63px!important;height:66px!important;
  background:radial-gradient(ellipse at 50% 32%,rgba(255,255,255,.78) 0%,rgba(209,181,255,.58) 19%,rgba(158,112,255,.38) 43%,rgba(111,67,232,.18) 63%,transparent 78%)!important;
  filter:blur(9px)!important;opacity:.9!important;
  animation:evruniPointerMistStrong 2.1s ease-in-out infinite!important;
}
@keyframes evruniPointerGlowStrong{
  0%,100%{filter:drop-shadow(0 0 4px rgba(193,158,255,.82)) drop-shadow(0 0 11px rgba(151,104,255,.72)) drop-shadow(0 0 19px rgba(111,67,232,.48)) drop-shadow(0 4px 5px rgba(0,0,0,.72))}
  50%{filter:drop-shadow(0 0 8px rgba(245,233,255,1)) drop-shadow(0 0 19px rgba(187,151,255,1)) drop-shadow(0 0 34px rgba(126,78,255,.86)) drop-shadow(0 4px 6px rgba(0,0,0,.72))}
}
@keyframes evruniPointerMistStrong{
  0%,100%{transform:translateY(3px) scale(.9);opacity:.62}
  50%{transform:translateY(-6px) scale(1.12);opacity:1}
}
@media(prefers-reduced-motion:reduce){.wheel-pointer,.wheel-pointer:after{animation:none!important}}

/* Evruni Creator Market + Streak */
.community-view{overflow:hidden}.community-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px;border:1px solid rgba(166,126,255,.22);border-radius:22px;background:radial-gradient(ellipse at 85% 20%,rgba(132,79,255,.2),transparent 42%),linear-gradient(135deg,rgba(23,20,44,.88),rgba(10,15,29,.82));margin-bottom:20px}.community-hero h2{font-size:clamp(25px,3vw,36px);margin:8px 0}.community-hero p{color:var(--muted,#a6abc1);max-width:650px;margin:0}.streak-flame{width:82px;height:82px;border-radius:26px;display:grid;place-items:center;font-size:42px;color:#d9c5ff;background:linear-gradient(145deg,rgba(165,113,255,.35),rgba(86,49,171,.12));box-shadow:0 0 38px rgba(145,91,255,.35),inset 0 0 20px rgba(255,255,255,.08)}.community-panel,.market-card{border:1px solid rgba(160,145,205,.16);background:rgba(15,19,35,.72);border-radius:20px;padding:22px}.streak-summary{display:flex;gap:40px;margin-bottom:24px}.streak-summary div{display:grid;gap:6px}.streak-summary small{font-size:10px;letter-spacing:.14em;color:var(--muted,#9ba2bd)}.streak-summary strong{font-size:32px}.streak-summary i{font-size:13px;color:var(--muted,#9ba2bd);font-style:normal}.streak-days{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:9px}.streak-day{min-height:68px;border:1px solid rgba(160,145,205,.16);border-radius:13px;display:grid;align-content:center;justify-items:center;gap:5px;background:rgba(255,255,255,.025)}.streak-day b{font-size:12px;color:#aeb3c9}.streak-day span{font-size:12px;color:#c5b0ff}.streak-day.done{background:rgba(128,83,230,.18);border-color:rgba(165,119,255,.38)}.streak-day.next{box-shadow:0 0 0 1px #b58aff,0 0 22px rgba(151,98,255,.25)}.streak-action{display:flex;align-items:center;gap:16px;margin-top:24px;flex-wrap:wrap}.streak-action span{font-size:12px;color:var(--muted,#9ba2bd)}.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.market-card{padding:0;overflow:hidden}.market-card-art{height:130px;display:flex;align-items:center;justify-content:center;position:relative;background:radial-gradient(circle at 50% 50%,rgba(153,103,255,.28),transparent 58%),linear-gradient(135deg,#19152d,#0b1427)}.market-card-art span{font-size:48px;color:#d6c2ff;text-shadow:0 0 30px rgba(164,111,255,.8)}.market-card-art small{position:absolute;right:12px;top:12px;font-size:9px;letter-spacing:.12em;color:#c9b5ff}.market-card-body{padding:17px}.market-card h3{margin:0 0 7px;font-size:17px}.market-card p{color:var(--muted,#a6abc1);font-size:13px;min-height:38px}.market-meta{display:flex;gap:12px;flex-wrap:wrap;color:#a8a9c0;font-size:11px;margin:14px 0}.market-use{width:100%}.community-empty{padding:40px;text-align:center;color:var(--muted,#a6abc1);border:1px dashed rgba(160,145,205,.25);border-radius:16px;grid-column:1/-1}@media(max-width:900px){.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.streak-days{grid-template-columns:repeat(6,minmax(0,1fr))}}@media(max-width:560px){.community-hero{align-items:flex-start;flex-direction:column;padding:20px}.market-grid{grid-template-columns:1fr}.streak-days{grid-template-columns:repeat(5,minmax(0,1fr))}.streak-summary{gap:24px}}

.market-card-art img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.market-card-art small{z-index:1;padding:5px 8px;border-radius:8px;background:rgba(8,10,20,.7)}.market-moderation{margin-bottom:18px}


/* Evruni sidebar: grouped navigation */
.sidebar nav.evruni-sidebar-nav{display:flex;flex-direction:column;gap:6px;overflow-y:auto;overflow-x:hidden;padding:0 2px 10px 0;scrollbar-width:thin}
.sidebar nav.evruni-sidebar-nav>.nav{flex:0 0 auto}
.sidebar .nav-group{display:block;margin:3px 0 0;border:1px solid rgba(151,133,218,.12);border-radius:13px;background:linear-gradient(145deg,rgba(255,255,255,.025),rgba(125,93,210,.025));overflow:hidden}
.sidebar .nav-group>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:39px;padding:0 12px;color:rgba(218,215,239,.72);font-size:11px;font-weight:750;letter-spacing:.045em;text-transform:uppercase;cursor:pointer;user-select:none}
.sidebar .nav-group>summary::-webkit-details-marker{display:none}
.sidebar .nav-group>summary:hover{color:#fff;background:rgba(143,112,255,.07)}
.sidebar .nav-group-icon{width:18px;text-align:center;color:#aa91ff;font-size:15px}
.sidebar .nav-group-chevron{margin-left:auto;font-size:15px;transition:transform .2s ease;color:rgba(196,181,253,.65)}
.sidebar .nav-group[open]>summary .nav-group-chevron{transform:rotate(180deg)}
.sidebar .nav-group-items{display:flex;flex-direction:column;gap:3px;padding:2px 6px 7px}
.sidebar .nav-group-items .nav{width:100%;flex:0 0 auto}
.sidebar .nav-group-items .nav>span:nth-child(2){min-width:0}
body.sidebar-collapsed .sidebar .nav-group>summary{justify-content:center;padding:0;font-size:0}
body.sidebar-collapsed .sidebar .nav-group>summary .nav-group-icon{font-size:16px}
body.sidebar-collapsed .sidebar .nav-group-chevron{display:none}
body.sidebar-collapsed .sidebar .nav-group-items{padding-left:4px;padding-right:4px}
@media(max-width:980px){.sidebar .nav-group>summary{justify-content:center;padding:0;font-size:0}.sidebar .nav-group-icon{font-size:16px}.sidebar .nav-group-chevron{display:none}.sidebar .nav-group-items{padding-left:3px;padding-right:3px}}

/* Evruni Smart Sidebar: favorites and drag ordering */
.sidebar-favorites{margin:0 0 9px;padding:0 0 9px;border-bottom:1px solid rgba(170,145,255,.14)}
.sidebar-favorites[hidden]{display:none!important}
.sidebar-section-label{padding:7px 12px 5px;color:rgba(190,178,225,.55);font-size:9px;font-weight:800;letter-spacing:.14em}
.sidebar-favorites-items{display:flex;flex-direction:column;gap:3px}
.sidebar .nav[data-view]{position:relative}
.sidebar .nav[data-view] .sidebar-pin{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;min-width:23px;height:24px;border-radius:7px;color:rgba(190,178,225,.38);font-size:16px;opacity:0;cursor:pointer;transition:opacity .16s,color .16s,background .16s;flex:0 0 23px}
.sidebar .nav[data-view]:hover .sidebar-pin,.sidebar .nav[data-view]:focus-visible .sidebar-pin,.sidebar .nav[data-view] .sidebar-pin.is-pinned{opacity:1}
.sidebar .nav[data-view] .sidebar-pin:hover,.sidebar .nav[data-view] .sidebar-pin.is-pinned{color:#c5a8ff;background:rgba(151,105,255,.13);text-shadow:0 0 12px rgba(168,125,255,.8)}
.sidebar .nav.sidebar-dragging{opacity:.42;transform:scale(.98)}
.sidebar .nav[draggable=true]{cursor:grab}
.sidebar .nav[draggable=true]:active{cursor:grabbing}
body.sidebar-collapsed .sidebar-section-label,body.sidebar-collapsed .sidebar .nav[data-view] .sidebar-pin{display:none!important}
body.sidebar-collapsed .sidebar-favorites{padding-bottom:5px}
@media(max-width:980px){.sidebar .nav[data-view] .sidebar-pin{opacity:1}}

/* Evruni Smart Sidebar repair: use intrinsic rows for grouped navigation. */
@media (min-width:701px){
  .sidebar nav.evruni-sidebar-nav{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    justify-content:flex-start!important;grid-template-columns:minmax(0,1fr)!important;
    grid-auto-rows:auto!important;grid-template-rows:none!important;
    align-content:flex-start!important;gap:5px!important;
  }
  .sidebar nav.evruni-sidebar-nav>.nav,
  .sidebar nav.evruni-sidebar-nav>.nav-group,
  .sidebar nav.evruni-sidebar-nav>.sidebar-favorites{flex:0 0 auto!important;height:auto!important;min-height:0!important;}
  .sidebar nav.evruni-sidebar-nav>.nav{min-height:36px!important;height:36px!important;}
  .sidebar nav.evruni-sidebar-nav .nav-group-items{display:flex!important;flex-direction:column!important;gap:3px!important;}
  .sidebar nav.evruni-sidebar-nav .nav-group-items>.nav{height:34px!important;min-height:34px!important;flex:0 0 34px!important;}
}
@media (max-width:700px){
  .sidebar nav.evruni-sidebar-nav{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;grid-auto-rows:auto!important;grid-template-rows:none!important;gap:4px!important;}
  .sidebar nav.evruni-sidebar-nav>.nav,
  .sidebar nav.evruni-sidebar-nav>.nav-group,
  .sidebar nav.evruni-sidebar-nav>.sidebar-favorites{flex:0 0 auto!important;height:auto!important;min-height:0!important;}
  .sidebar nav.evruni-sidebar-nav>.nav{height:32px!important;min-height:32px!important;}
  .sidebar nav.evruni-sidebar-nav .nav-group>summary{min-height:32px!important;}
  .sidebar nav.evruni-sidebar-nav .nav-group-items>.nav{height:30px!important;min-height:30px!important;flex:0 0 30px!important;}
}
/* Sidebar favorite control: reliable click target inside navigation items. */
.sidebar .nav[data-view] .sidebar-pin{position:relative;z-index:8;pointer-events:auto;user-select:none;-webkit-user-select:none;touch-action:manipulation}
.sidebar .nav[data-view] .sidebar-pin:focus-visible{opacity:1;outline:1px solid rgba(190,160,255,.8);outline-offset:1px}
.sidebar .nav[data-view] .sidebar-pin.is-pinned{opacity:1}

/* Creator Market: clear publishing workflow */
.market-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}.market-toolbar input,.market-toolbar select,.market-form input,.market-form select,.market-form textarea{width:100%;min-width:0;padding:12px 13px;border:1px solid rgba(160,145,205,.22);border-radius:12px;background:rgba(7,11,23,.78);color:#edf0ff;outline:none}.market-toolbar input{flex:1 1 240px}.market-toolbar select{flex:0 1 190px}.market-form input:focus,.market-form select:focus,.market-form textarea:focus,.market-toolbar input:focus,.market-toolbar select:focus{border-color:rgba(176,143,255,.72);box-shadow:0 0 0 3px rgba(143,100,255,.12)}.market-composer{margin-bottom:18px}.market-form-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.market-form-head h3{margin:5px 0}.market-form-head p,.market-form label small{color:var(--muted,#9ba2bd);font-size:12px}.market-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.market-form label{display:grid;gap:7px;color:#cbd1e3;font-size:12px;font-weight:650}.market-form-wide{grid-column:1/-1}.market-form-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px;padding-top:15px;border-top:1px solid rgba(160,145,205,.14)}.market-form-footer span{color:var(--muted,#9ba2bd);font-size:11px}.market-form-footer>div,.market-card-actions{display:flex;gap:8px}.market-card-actions>*{flex:1}.market-review-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid rgba(160,145,205,.12)}.market-review-row>div:first-child{display:grid;gap:4px}.market-review-row small{color:var(--muted,#9ba2bd)}.market-review-row>div:last-child{display:flex;gap:7px}@media(max-width:620px){.market-form-grid{grid-template-columns:1fr}.market-form-wide{grid-column:auto}.market-review-row{align-items:flex-start;flex-direction:column}.market-review-row>div:last-child{width:100%}}

/* Creator Market publishing form: guided, inline workflow (no browser prompt dialogs). */
.market-publish-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 20px}.market-publish-guide>div{display:grid;gap:5px;padding:13px 14px;border:1px solid rgba(164,139,255,.18);border-radius:13px;background:linear-gradient(145deg,rgba(139,99,255,.10),rgba(14,20,39,.42))}.market-publish-guide b{font-size:12px;color:#e6ddff}.market-publish-guide span{font-size:11px;line-height:1.45;color:var(--muted,#9ba2bd)}.market-form label em{justify-self:start;padding:2px 7px;border-radius:20px;background:rgba(155,105,255,.13);color:#c9b4ff;font-size:10px;font-style:normal;font-weight:600}.market-form label .market-optional{color:var(--muted,#9ba2bd);font-size:10px;font-weight:500}.market-form label small{font-weight:400;line-height:1.45}.market-publish-note{display:flex;gap:12px;margin-top:18px;padding:14px;border:1px solid rgba(155,125,255,.2);border-radius:13px;background:rgba(113,78,205,.08)}.market-note-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:rgba(157,119,255,.18);color:#d4c2ff}.market-publish-note b{font-size:12px;color:#e8e2ff}.market-publish-note p{margin:5px 0 0;color:var(--muted,#9ba2bd);font-size:11px;line-height:1.55}.market-close{flex:0 0 auto}@media(max-width:700px){.market-publish-guide{grid-template-columns:1fr}.market-publish-guide>div{grid-template-columns:1fr}.market-form-footer{align-items:stretch}.market-form-footer>div{width:100%;flex-direction:column-reverse}.market-form-footer>div button{width:100%}}
/* Creator Market optional direct image upload */
.market-image-upload{display:grid;gap:9px;padding:14px;border:1px solid rgba(160,145,205,.16);border-radius:14px;background:rgba(12,15,29,.42)}
.market-image-pick{width:max-content;max-width:100%;min-height:42px;padding:0 16px;border:1px solid rgba(169,139,255,.38);border-radius:11px;color:#e8ddff;background:linear-gradient(120deg,rgba(132,86,255,.18),rgba(91,112,255,.08));cursor:pointer}
.market-image-pick:hover{border-color:rgba(190,164,255,.75);box-shadow:0 0 22px rgba(133,91,255,.18)}
.market-image-name{font-size:11px;color:var(--muted,#9ba2bd)}
.market-image-preview{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:4px}
.market-image-preview img{width:112px;height:82px;object-fit:cover;border-radius:10px;border:1px solid rgba(174,145,255,.35)}


/* Evruni model catalog — clearer pricing layout */
.models-intro{display:flex;align-items:flex-start;gap:14px;margin:2px 26px 18px;padding:16px 18px;border:1px solid rgba(157,133,255,.20);border-radius:16px;background:linear-gradient(110deg,rgba(117,86,232,.12),rgba(12,17,31,.72) 58%);box-shadow:inset 0 1px rgba(255,255,255,.025)}
.models-intro-icon{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;color:#d6caff;font-size:19px;background:rgba(139,108,255,.17);border:1px solid rgba(177,155,255,.22)}
.models-intro b{display:block;color:#edf0ff;font-size:13px;font-weight:800;letter-spacing:-.01em}
.models-intro p{margin:5px 0 0;color:#929db4;font-size:11px;line-height:1.55}
.model-filters{margin-bottom:17px}
.model-grid{align-items:stretch;gap:13px}
.model-card{display:flex;flex-direction:column;justify-content:flex-start;gap:14px;min-width:0;padding:17px 18px;border-radius:16px;background:linear-gradient(145deg,rgba(13,19,34,.94),rgba(9,14,27,.88));box-shadow:inset 0 1px rgba(255,255,255,.025);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.model-card:hover{transform:translateY(-2px);border-color:rgba(157,132,255,.38);box-shadow:0 12px 28px rgba(0,0,0,.20),0 0 0 1px rgba(140,111,255,.04)}
.model-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;min-width:0}
.model-card-identity{min-width:0}
.model-card-identity>b{display:block;color:#f0f2ff;font-size:15px;line-height:1.3;font-weight:800;letter-spacing:-.025em;overflow-wrap:anywhere}
.model-card-identity>small{display:block;margin-top:6px;color:#8490a8;font-size:10px;line-height:1.4}
.model-meta-dot{padding:0 3px;color:#59647b}
.model-card-tags{display:flex;justify-content:flex-end;align-items:center;gap:5px;flex-wrap:wrap}
.model-tag{display:inline-flex;align-items:center;white-space:nowrap;padding:4px 7px;border-radius:7px;font-size:9px;font-weight:750;line-height:1.2;border:1px solid rgba(255,255,255,.07);color:#9da8bd;background:rgba(255,255,255,.035)}
.model-tag-ready{color:#8bd9bd;border-color:rgba(91,204,157,.16);background:rgba(53,164,117,.08)}
.model-tag-muted{color:#a4adbf}
.model-tag-auto{color:#cbbaff;border-color:rgba(166,139,255,.3);background:rgba(135,101,255,.13)}
.model-card-auto{border-color:rgba(151,119,255,.42);background:linear-gradient(145deg,rgba(39,29,75,.34),rgba(10,15,29,.94) 75%)}
.model-card-price{width:100%;max-width:none;flex:initial;border-top:1px solid rgba(255,255,255,.065);padding-top:12px}
.model-price-detail{gap:9px}
.model-price-title{font-size:9px;letter-spacing:.09em;color:#8995ad}
.model-price-grid{gap:9px}
.model-price-cell{padding:11px 12px;border-radius:11px;background:rgba(132,104,255,.065);border-color:rgba(159,137,255,.13)}
.model-price-cell>span{font-size:10px;color:#aab4c9}
.model-price-cell strong{font-size:15px;color:#c7b6ff}
.model-price-cell small{font-size:9px;line-height:1.45;color:#78859d}
.model-price-detail>p{font-size:9px;line-height:1.5;color:#7f8ba2}
.models-empty{grid-column:1/-1;padding:30px;text-align:center;color:#929db4;border:1px dashed rgba(160,145,205,.2);border-radius:14px}
@media(max-width:760px){
 .models-intro{margin:0 15px 14px;padding:13px}
 .model-filters{margin:0 15px 14px;flex-direction:column}
 .model-grid{grid-template-columns:1fr;gap:10px;padding:0 15px 20px}
 .model-card{padding:15px}
 .model-card-identity>b{font-size:14px}
 .model-price-cell{padding:10px}
}
@media(min-width:761px) and (max-width:1050px){
 .model-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .model-card-head{flex-direction:column}
 .model-card-tags{justify-content:flex-start}
}


/* Evruni sidebar badge alignment + signature glass scrolling */
.sidebar nav .nav.trend-nav,
.sidebar nav .nav.streamer-nav{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:9px!important;min-width:0!important;overflow:hidden!important;
}
.sidebar nav .nav.trend-nav>.nav-icon,
.sidebar nav .nav.streamer-nav>.nav-icon{
  display:flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 21px!important;width:21px!important;min-width:21px!important;
  line-height:1!important;
}
.sidebar nav .nav-item-label{
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
  flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:100%!important;
  gap:7px!important;white-space:nowrap!important;overflow:hidden!important;
}
.sidebar nav .nav-item-label .nav-label{
  display:inline-block!important;flex:0 1 auto!important;min-width:0!important;
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
.sidebar nav .nav-status-badge{
  position:static!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;flex:0 0 auto!important;width:auto!important;
  min-width:0!important;height:16px!important;margin:0!important;padding:0 5px!important;
  border-radius:5px!important;font-size:8px!important;line-height:1!important;
  letter-spacing:.045em!important;transform:none!important;vertical-align:middle!important;
  white-space:nowrap!important;box-shadow:inset 0 1px rgba(255,255,255,.08),0 0 9px rgba(139,111,255,.07)!important;
}
.sidebar nav .nav-badge-new{color:#d9ceff!important;background:linear-gradient(135deg,rgba(145,112,255,.24),rgba(104,78,205,.14))!important;border:1px solid rgba(174,151,255,.30)!important}
.sidebar nav .nav-badge-beta{color:#b6eaff!important;background:linear-gradient(135deg,rgba(65,176,220,.20),rgba(60,120,190,.12))!important;border:1px solid rgba(105,193,235,.30)!important}
/* Sidebar-only scrollbar: slim translucent track, rounded violet glass thumb. */
.sidebar nav.evruni-sidebar-nav{
  scrollbar-width:thin!important;
  scrollbar-color:rgba(151,126,255,.58) rgba(10,14,27,.26)!important;
  overscroll-behavior:contain;scrollbar-gutter:stable;
}
.sidebar nav.evruni-sidebar-nav::-webkit-scrollbar{width:7px!important;height:7px!important}
.sidebar nav.evruni-sidebar-nav::-webkit-scrollbar-track{
  margin:7px 1px!important;border:1px solid rgba(157,170,204,.055)!important;
  border-radius:20px!important;background:linear-gradient(180deg,rgba(13,18,34,.24),rgba(8,12,24,.48))!important;
}
.sidebar nav.evruni-sidebar-nav::-webkit-scrollbar-thumb{
  min-height:30px;border:2px solid rgba(8,12,24,.72)!important;border-radius:20px!important;
  background:linear-gradient(180deg,rgba(184,168,255,.78),rgba(125,98,235,.66) 58%,rgba(91,181,231,.52))!important;
  box-shadow:inset 0 0 4px rgba(255,255,255,.15),0 0 9px rgba(141,112,255,.13)!important;
}
.sidebar nav.evruni-sidebar-nav::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg,#c7b8ff,#9477ff 58%,#70c9ee)!important;
  box-shadow:inset 0 0 5px rgba(255,255,255,.2),0 0 13px rgba(141,112,255,.25)!important;
}
@media(max-width:700px){
 .sidebar nav .nav-item-label{gap:5px!important}
 .sidebar nav .nav-status-badge{height:15px!important;font-size:7px!important;padding:0 4px!important}
 .sidebar nav.evruni-sidebar-nav{scrollbar-width:thin!important;scrollbar-gutter:auto}
 .sidebar nav.evruni-sidebar-nav::-webkit-scrollbar{width:5px!important}
}
@media(prefers-reduced-motion:no-preference){
 .sidebar nav.evruni-sidebar-nav::-webkit-scrollbar-thumb{transition:background .2s ease,box-shadow .2s ease}
}

/* Sidebar: keep Trend Lab and Streamer labels independent from their status badges. */
.sidebar nav .nav.trend-nav,
.sidebar nav .nav.streamer-nav{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:9px!important;min-width:0!important;overflow:hidden!important;
}
.sidebar nav .nav.trend-nav>.nav-icon,
.sidebar nav .nav.streamer-nav>.nav-icon{flex:0 0 21px!important;width:21px!important;min-width:21px!important}
.sidebar nav .nav.trend-nav>.nav-label,
.sidebar nav .nav.streamer-nav>.nav-label{
  display:block!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;
  margin:0!important;padding:0!important;overflow:hidden!important;text-overflow:ellipsis!important;
  white-space:nowrap!important;line-height:1.2!important;
}
.sidebar nav .nav.trend-nav>.nav-status-badge,
.sidebar nav .nav.streamer-nav>.nav-status-badge{
  display:inline-flex!important;position:static!important;inset:auto!important;transform:none!important;
  flex:0 0 auto!important;margin:0 2px 0 auto!important;white-space:nowrap!important;
}
body.sidebar-collapsed .sidebar nav .nav.trend-nav>.nav-label,
body.sidebar-collapsed .sidebar nav .nav.streamer-nav>.nav-label,
body.sidebar-collapsed .sidebar nav .nav.trend-nav>.nav-status-badge,
body.sidebar-collapsed .sidebar nav .nav.streamer-nav>.nav-status-badge{display:none!important}


/* Evruni V23 — floating glass labels for collapsed sidebar icons. */
.evruni-sidebar-tooltip{
  position:fixed;z-index:1000000;left:0;top:0;max-width:min(260px,calc(100vw - 90px));
  padding:9px 13px;border:1px solid rgba(167,139,250,.38);border-radius:11px;
  background:linear-gradient(135deg,rgba(20,22,42,.97),rgba(9,13,27,.96));
  color:#eeeaff;font:600 12px/1.35 Inter,"Segoe UI",sans-serif;letter-spacing:.01em;
  white-space:normal;overflow-wrap:anywhere;pointer-events:none;opacity:0;visibility:hidden;
  transform:translateX(-5px) scale(.98);transform-origin:left center;
  box-shadow:0 10px 30px rgba(0,0,0,.42),0 0 18px rgba(139,92,246,.16),inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  transition:opacity .14s ease,transform .14s ease,visibility .14s ease;
}
.evruni-sidebar-tooltip:before{content:"";position:absolute;left:-5px;top:50%;width:8px;height:8px;transform:translateY(-50%) rotate(45deg);background:#14162a;border-left:1px solid rgba(167,139,250,.35);border-bottom:1px solid rgba(167,139,250,.35)}
.evruni-sidebar-tooltip.is-visible{opacity:1;visibility:visible;transform:translateX(0) scale(1)}
@media(max-width:700px){.evruni-sidebar-tooltip{display:none!important}}
@media(prefers-reduced-motion:reduce){.evruni-sidebar-tooltip{transition:none}}


/* Evruni V23.1 — Trend Lab and Streamer sidebar icons match the standard icon tiles. */
.sidebar nav .nav-group-items > .nav.trend-nav > .nav-icon,
.sidebar nav .nav-group-items > .nav.streamer-nav > .nav-icon{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 30px!important;
  width:30px!important;
  min-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0!important;
  border:1px solid rgba(176,157,255,.18)!important;
  border-radius:10px!important;
  background:linear-gradient(145deg,rgba(145,119,255,.13),rgba(255,255,255,.035))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 3px 10px rgba(0,0,0,.14)!important;
  line-height:1!important;
  font-size:14px!important;
}
.sidebar nav .nav-group-items > .nav.trend-nav > .nav-icon,
.sidebar nav .nav-group-items > .nav.streamer-nav > .nav-icon{color:#c6b8ff!important}
@media(max-width:980px){
  .sidebar nav .nav-group-items > .nav.trend-nav > .nav-icon,
  .sidebar nav .nav-group-items > .nav.streamer-nav > .nav-icon{
    flex-basis:30px!important;width:30px!important;min-width:30px!important;height:30px!important;
  }
}

/* Evruni EVR top-up redesign */
.evr-topup-intro{margin:0 26px 20px;padding:24px 26px;border:1px solid rgba(151,126,255,.25);border-radius:22px;background:radial-gradient(ellipse at 90% 10%,rgba(116,83,255,.19),transparent 48%),linear-gradient(135deg,rgba(17,23,42,.96),rgba(10,14,27,.94));display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 14px 40px rgba(0,0,0,.18)}
.evr-topup-kicker{font-size:10px;letter-spacing:.18em;color:#a99aff;font-weight:800}.evr-topup-intro h2{margin:8px 0 6px;font-size:24px;color:#f2f0ff}.evr-topup-intro p{margin:0;color:#8994aa;font-size:13px}.evr-topup-unit{min-width:140px;padding:15px 18px;border:1px solid rgba(165,143,255,.25);border-radius:16px;background:rgba(125,94,255,.1);display:grid;gap:4px;text-align:center}.evr-topup-unit b{font-size:24px;color:#c7baff;letter-spacing:.08em}.evr-topup-unit small{font-size:10px;color:#8994aa}.evr-packages-section{margin:0 26px 20px}.evr-section-heading{display:flex;justify-content:space-between;align-items:center;margin:0 2px 12px}.evr-section-heading>div{display:grid;gap:4px}.evr-section-heading b{font-size:16px;color:#edf0fb}.evr-section-heading small,.evr-section-heading>span{font-size:11px;color:#7f8aa2}.evr-package-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.evr-package-card{position:relative;min-width:0;min-height:190px;padding:16px 14px;border:1px solid rgba(116,130,163,.19);border-radius:18px;background:linear-gradient(155deg,rgba(17,24,42,.96),rgba(10,15,28,.94));color:#e8eafa;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:8px;cursor:pointer;transition:transform .2s,border-color .2s,box-shadow .2s}.evr-package-card:hover{transform:translateY(-3px);border-color:rgba(164,139,255,.55);box-shadow:0 12px 28px rgba(69,48,145,.18)}.evr-package-card.selected{border-color:#9b80ff;box-shadow:0 0 0 1px rgba(155,128,255,.22),0 12px 30px rgba(82,57,176,.2);background:linear-gradient(155deg,rgba(37,30,72,.96),rgba(12,17,32,.98))}.evr-package-card.featured:after{content:'ПОПУЛЯРНЫЙ';position:absolute;top:-8px;right:10px;padding:4px 7px;border-radius:7px;background:#8c70f4;color:#fff;font-size:8px;font-weight:800;letter-spacing:.05em}.evr-package-tag{font-size:9px;color:#9b8bea}.evr-package-name{font-size:14px}.evr-package-amount{font-size:22px;line-height:1.15;color:#c8baff;letter-spacing:-.03em}.evr-package-bonus{font-size:11px;color:#7fe0b1}.evr-package-total{font-size:11px;color:#e9e5ff;font-weight:700}.evr-package-card>small{margin-top:auto;color:#8490a8;font-size:11px}.evr-custom-amount{margin-top:0}.evr-custom-amount input:focus{border-color:#9b80ff;box-shadow:0 0 0 3px rgba(155,128,255,.12)}
@media(max-width:1100px){.evr-package-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.evr-topup-intro{margin:0 12px 16px;padding:18px;align-items:flex-start}.evr-topup-intro h2{font-size:20px}.evr-topup-unit{min-width:92px;padding:12px 8px}.evr-topup-unit b{font-size:20px}.evr-packages-section{margin:0 12px 16px}.evr-package-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.evr-package-card{min-height:172px;padding:13px 11px}.evr-package-amount{font-size:19px}.billing-country,.billing-topup-card,.billing-method-card{margin-left:12px;margin-right:12px}}


/* EVRUNI TOP-UP PAGE — rebuilt active billing view */
#view .evr-topup-intro{box-sizing:border-box;margin:0 26px 20px!important;padding:24px 26px!important;border:1px solid rgba(151,126,255,.30)!important;border-radius:22px!important;background:radial-gradient(ellipse at 90% 10%,rgba(116,83,255,.20),transparent 48%),linear-gradient(135deg,#11172a,#0a0e1b)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;color:#f2f0ff!important}
#view .evr-topup-intro h2{display:block!important;margin:8px 0 6px!important;color:#f2f0ff!important;font-size:25px!important;line-height:1.2!important}#view .evr-topup-intro p{margin:0!important;color:#a5aec3!important;font-size:13px!important;line-height:1.6!important}
#view .evr-topup-unit{min-width:145px!important;padding:14px 18px!important;border:1px solid rgba(165,143,255,.3)!important;border-radius:16px!important;background:rgba(125,94,255,.12)!important;display:grid!important;gap:5px!important;text-align:center!important}#view .evr-topup-unit b{color:#c8baff!important;font-size:25px!important}#view .evr-topup-unit small{color:#9ca6bd!important;font-size:10px!important}
#view .evr-packages-section{margin:0 26px 20px!important}#view .evr-section-heading{display:flex!important;justify-content:space-between!important;align-items:center!important;margin:0 2px 13px!important;color:#edf0fb!important}#view .evr-section-heading>div{display:grid!important;gap:4px!important}#view .evr-section-heading b{font-size:17px!important;color:#f1efff!important}#view .evr-section-heading small,#view .evr-section-heading>span{font-size:11px!important;color:#8e99b2!important}
#view .evr-package-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
#view button.evr-package-card{box-sizing:border-box!important;position:relative!important;min-width:0!important;min-height:190px!important;width:100%!important;margin:0!important;padding:17px 14px!important;border:1px solid rgba(116,130,163,.24)!important;border-radius:18px!important;background:linear-gradient(155deg,#11182a,#0b1020)!important;color:#e8eafa!important;text-align:left!important;text-decoration:none!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:9px!important;white-space:normal!important;line-height:1.35!important;box-shadow:0 8px 24px rgba(0,0,0,.16)!important;cursor:pointer!important}
#view button.evr-package-card:hover{transform:translateY(-3px)!important;border-color:rgba(164,139,255,.65)!important;box-shadow:0 12px 28px rgba(69,48,145,.24)!important}#view button.evr-package-card.selected{border-color:#a38aff!important;background:linear-gradient(155deg,#29204d,#101629)!important;box-shadow:0 0 0 1px rgba(155,128,255,.25),0 12px 30px rgba(82,57,176,.22)!important}
#view .evr-package-tag{display:inline-flex!important;max-width:100%!important;padding:4px 7px!important;border-radius:7px!important;background:rgba(151,126,255,.12)!important;color:#b6a7ff!important;font-size:9px!important;line-height:1.3!important}#view .evr-package-name{display:block!important;color:#f2f0ff!important;font-size:15px!important;font-weight:750!important;line-height:1.25!important}#view .evr-package-amount{display:block!important;color:#d0c2ff!important;font-size:22px!important;font-weight:850!important;line-height:1.15!important;letter-spacing:-.03em!important}#view .evr-package-amount i{font-style:normal!important;font-size:13px!important;color:#a99aff!important}
#view .evr-package-bonus{display:block!important;color:#83e4b6!important;font-size:11px!important;font-weight:700!important}#view .evr-package-total{display:block!important;color:#f0eaff!important;font-size:11px!important;font-weight:750!important}#view .evr-package-card>small{display:block!important;margin-top:auto!important;color:#9aa5bd!important;font-size:11px!important;line-height:1.4!important}#view .evr-package-card.featured:after{content:'ПОПУЛЯРНЫЙ'!important;position:absolute!important;top:-8px!important;right:10px!important;padding:4px 7px!important;border-radius:7px!important;background:#8c70f4!important;color:#fff!important;font-size:8px!important;font-weight:800!important;letter-spacing:.05em!important}
#view .evr-custom-amount{margin-top:0!important}#view .evr-package-loading{grid-column:1/-1;padding:22px;border:1px solid rgba(151,126,255,.2);border-radius:16px;color:#aab3c8;background:rgba(14,19,34,.8)}
@media(max-width:1100px){#view .evr-package-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:700px){#view .evr-topup-intro{margin:0 12px 16px!important;padding:18px!important;align-items:flex-start!important}#view .evr-topup-intro h2{font-size:20px!important}#view .evr-topup-unit{min-width:90px!important;padding:11px 8px!important}#view .evr-packages-section{margin:0 12px 16px!important}#view .evr-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}#view button.evr-package-card{min-height:176px!important;padding:13px 11px!important}#view .evr-package-amount{font-size:19px!important}#view .billing-country,#view .billing-topup-card,#view .billing-method-card{margin-left:12px!important;margin-right:12px!important}}


/* Evruni chat welcome studio — animated premium empty state */
.main:has(.chat-layout) .messages{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 50% 28%,rgba(84,65,171,.11),transparent 43%),linear-gradient(180deg,rgba(8,11,23,.14),rgba(5,8,18,.08))}
.main:has(.chat-layout) .evruni-empty-studio{position:relative;z-index:1;width:min(100%,820px);max-width:820px;margin:auto;padding:12px 18px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100%;overflow:hidden}
.evruni-studio-backdrop{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;mask-image:radial-gradient(ellipse at center,#000 18%,transparent 78%)}
.evruni-studio-backdrop i{position:absolute;width:62%;height:34%;left:19%;top:18%;border:1px solid rgba(151,128,255,.12);border-radius:50%;transform:rotate(-19deg);animation:evruniHaloDrift 13s ease-in-out infinite}
.evruni-studio-backdrop i:nth-child(2){width:76%;height:28%;left:12%;top:22%;transform:rotate(21deg);border-color:rgba(92,188,255,.1);animation-delay:-4s}
.evruni-studio-backdrop i:nth-child(3){width:48%;height:48%;left:26%;top:8%;transform:rotate(65deg);border-color:rgba(164,112,255,.09);animation-delay:-8s}
.evruni-studio-particle{position:absolute;width:4px;height:4px;border-radius:50%;background:#c8b8ff;box-shadow:0 0 13px 4px rgba(147,112,255,.45);animation:evruniParticleFloat 7s ease-in-out infinite}
.evruni-studio-particle.p1{left:19%;top:29%}.evruni-studio-particle.p2{right:18%;top:35%;animation-delay:-2s}.evruni-studio-particle.p3{left:31%;top:62%;animation-delay:-4s}
.evruni-empty-studio .evruni-ai-sphere-wrap{position:relative;min-height:clamp(175px,25vh,235px);width:100%;max-width:500px;margin:-8px auto 0}
.evruni-empty-studio .evruni-ai-sphere{width:clamp(128px,13vw,164px);height:clamp(128px,13vw,164px);background:radial-gradient(circle at 35% 28%,#fff 0 1.8%,#b9f0ff 3%,rgba(90,181,255,.86) 10%,rgba(73,94,230,.62) 27%,rgba(117,69,235,.35) 48%,rgba(28,22,70,.12) 66%,transparent 72%);box-shadow:0 0 34px rgba(88,174,255,.34),0 0 95px rgba(112,75,255,.27),0 0 155px rgba(102,75,255,.12),inset -19px -22px 36px rgba(0,0,0,.44);animation:evruniSphereFloat 5.4s ease-in-out infinite,evruniSpherePulse 4.8s ease-in-out infinite}
.evruni-sphere-core{position:absolute;inset:13%;border-radius:50%;background:radial-gradient(circle at 35% 28%,rgba(255,255,255,.24),transparent 34%);filter:blur(5px)}
.evruni-sphere-orbit{position:absolute;left:50%;top:50%;width:230px;height:76px;border:1px solid rgba(160,133,255,.34);border-radius:50%;transform:translate(-50%,-50%) rotate(-24deg);box-shadow:0 0 16px rgba(132,94,255,.1);animation:evruniOrbitSpin 11s linear infinite}
.evruni-sphere-orbit:after{content:'';position:absolute;width:7px;height:7px;left:17%;top:10%;border-radius:50%;background:#d7c9ff;box-shadow:0 0 13px 4px rgba(165,132,255,.7)}
.evruni-sphere-orbit.orbit-two{width:205px;height:62px;transform:translate(-50%,-50%) rotate(56deg);border-color:rgba(90,194,255,.24);animation-duration:15s;animation-direction:reverse}
.evruni-sphere-orbit.orbit-two:after{left:78%;top:85%;background:#9beaff;box-shadow:0 0 13px 4px rgba(90,194,255,.65)}
.evruni-studio-copy{text-align:center;position:relative;margin-top:-4px;animation:evruniWelcomeIn .8s cubic-bezier(.2,.8,.2,1) both}
.evruni-studio-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;color:#a99aff;font-size:9px;font-weight:850;letter-spacing:.2em}
.evruni-studio-kicker i{width:6px;height:6px;border-radius:50%;background:#9d82ff;box-shadow:0 0 12px #9875ff;animation:evruniKickerBlink 2s ease-in-out infinite}
.evruni-studio-copy h3{font-size:clamp(20px,2vw,25px);letter-spacing:-.035em;margin:0 0 8px;color:#f4f2ff;text-shadow:0 0 25px rgba(158,128,255,.15)}
.evruni-studio-copy p{font-size:13px;line-height:1.6;margin:0;color:#8994ad}
.evruni-quick-prompts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:min(100%,760px);margin:26px auto 0;animation:evruniWelcomeIn .9s .12s cubic-bezier(.2,.8,.2,1) both}
.evruni-prompt-card{min-width:0;display:flex;align-items:center;gap:9px;text-align:left;padding:12px 11px;border:1px solid rgba(144,132,194,.17);border-radius:14px;background:linear-gradient(145deg,rgba(28,30,53,.74),rgba(12,17,32,.78));color:#e8e8f5;cursor:pointer;transition:transform .25s,border-color .25s,background .25s,box-shadow .25s;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.evruni-prompt-card:hover{transform:translateY(-4px);border-color:rgba(158,128,255,.55);background:linear-gradient(145deg,rgba(49,39,88,.8),rgba(15,23,43,.9));box-shadow:0 12px 30px rgba(65,47,139,.2),0 0 0 1px rgba(158,128,255,.08)}
.evruni-prompt-card:active{transform:translateY(-1px) scale(.985)}
.evruni-prompt-card .prompt-icon{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:10px;color:#c5b5ff;font-size:16px;background:linear-gradient(145deg,rgba(142,111,255,.24),rgba(70,89,175,.14));border:1px solid rgba(168,144,255,.18);box-shadow:inset 0 1px rgba(255,255,255,.08)}
.evruni-prompt-card b,.evruni-prompt-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.evruni-prompt-card b{font-size:10px;font-weight:750}.evruni-prompt-card small{margin-top:4px;font-size:9px;color:#7f8ba5}.evruni-prompt-card .prompt-arrow{margin-left:auto;color:#8f7be0;font-size:14px;opacity:.65;transition:transform .2s,opacity .2s}.evruni-prompt-card:hover .prompt-arrow{transform:translate(2px,-2px);opacity:1}
@keyframes evruniHaloDrift{0%,100%{translate:0 0;scale:1}50%{translate:1.5% -3%;scale:1.04}}
@keyframes evruniParticleFloat{0%,100%{transform:translate3d(0,0,0);opacity:.3}50%{transform:translate3d(12px,-20px,0);opacity:1}}
@keyframes evruniOrbitSpin{to{rotate:360deg}}
@keyframes evruniSpherePulse{0%,100%{filter:saturate(1);box-shadow:0 0 34px rgba(88,174,255,.34),0 0 95px rgba(112,75,255,.27),0 0 155px rgba(102,75,255,.12),inset -19px -22px 36px rgba(0,0,0,.44)}50%{filter:saturate(1.25);box-shadow:0 0 42px rgba(88,174,255,.43),0 0 115px rgba(112,75,255,.34),0 0 175px rgba(102,75,255,.17),inset -19px -22px 36px rgba(0,0,0,.44)}}
@keyframes evruniWelcomeIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes evruniKickerBlink{0%,100%{opacity:.55}50%{opacity:1}}
@media(max-width:900px){.evruni-quick-prompts{grid-template-columns:repeat(2,minmax(0,1fr));max-width:560px}.evruni-empty-studio .evruni-ai-sphere-wrap{min-height:190px}}
@media(max-width:560px){.main:has(.chat-layout) .evruni-empty-studio{padding:8px 5px 18px}.evruni-empty-studio .evruni-ai-sphere-wrap{min-height:155px}.evruni-empty-studio .evruni-ai-sphere{width:116px;height:116px}.evruni-sphere-orbit{width:185px;height:62px}.evruni-sphere-orbit.orbit-two{width:165px;height:54px}.evruni-quick-prompts{gap:7px;margin-top:19px}.evruni-prompt-card{padding:10px 8px;gap:7px}.evruni-prompt-card .prompt-icon{flex-basis:28px;width:28px;height:28px}.evruni-prompt-card b{font-size:9px}.evruni-prompt-card small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.evruni-empty-studio *{animation:none!important;transition:none!important}}

/* Evruni chat studio refinement: remove moving orbital rings and improve quick prompt readability */
.evruni-empty-studio .evruni-sphere-orbit{display:none!important}
.evruni-empty-studio .evruni-ai-sphere-wrap{overflow:visible}
.evruni-quick-prompts{grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,650px);gap:12px;margin-top:28px}
.evruni-prompt-card{min-height:66px;padding:12px 14px;gap:12px;overflow:hidden}
.evruni-prompt-card>span:nth-child(2){display:flex;flex:1 1 auto;min-width:0;flex-direction:column;gap:5px}
.evruni-prompt-card b{display:block;font-size:12px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
.evruni-prompt-card small{display:block;font-size:10px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;color:#929db7}
.evruni-prompt-card .prompt-icon{flex:0 0 34px;width:34px;height:34px}
.evruni-prompt-card .prompt-arrow{flex:0 0 auto;margin-left:4px}
@media(max-width:560px){.evruni-quick-prompts{grid-template-columns:1fr;width:min(100%,420px);gap:9px;margin-top:20px}.evruni-prompt-card{min-height:60px;padding:10px 12px}.evruni-prompt-card b{font-size:12px}.evruni-prompt-card small{font-size:10px}}

/* Evruni V31 — fit the empty-chat welcome into the real viewport (no nested scroll). */
@media (min-width:851px){
  .main:has(.chat-layout){min-height:0!important;height:calc(100dvh - 58px)!important;overflow:hidden!important;padding-top:8px!important;padding-bottom:8px!important}
  .main:has(.chat-layout) .view-card{height:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important}
  .main:has(.chat-layout) .chat-toolbar{margin:8px 24px 10px!important}
  .main:has(.chat-layout) .chat-layout{min-height:0!important;height:auto!important;margin:0 18px 12px!important;overflow:hidden!important}
  .main:has(.chat-layout) .chat-panel{min-height:0!important;overflow:hidden!important}
  .main:has(.chat-layout) .messages:has(.evruni-empty-studio){display:flex!important;align-items:stretch!important;justify-content:center!important;overflow:hidden!important;padding:8px 22px!important}
  .main:has(.chat-layout) .evruni-empty-studio{box-sizing:border-box!important;width:min(100%,760px)!important;max-width:760px!important;min-height:0!important;height:100%!important;max-height:100%!important;margin:auto!important;padding:0 12px 8px!important;justify-content:center!important;gap:0!important}
  .main:has(.chat-layout) .evruni-empty-studio .evruni-ai-sphere-wrap{box-sizing:border-box!important;flex:0 0 clamp(100px,19vh,145px)!important;min-height:0!important;height:clamp(100px,19vh,145px)!important;max-height:145px!important;margin:0 auto 4px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  .main:has(.chat-layout) .evruni-empty-studio .evruni-ai-sphere{width:clamp(92px,13vh,126px)!important;height:clamp(92px,13vh,126px)!important;flex:0 0 auto!important}
  .main:has(.chat-layout) .evruni-studio-copy{flex:0 0 auto!important;margin:0!important}
  .main:has(.chat-layout) .evruni-studio-kicker{margin:0 0 5px!important;font-size:8px!important}
  .main:has(.chat-layout) .evruni-studio-copy h3{font-size:clamp(18px,2vh,22px)!important;margin:0 0 4px!important;line-height:1.2!important}
  .main:has(.chat-layout) .evruni-studio-copy p{font-size:12px!important;line-height:1.35!important}
  .main:has(.chat-layout) .evruni-quick-prompts{flex:0 0 auto!important;width:min(100%,620px)!important;max-width:620px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:14px auto 0!important}
  .main:has(.chat-layout) .evruni-prompt-card{box-sizing:border-box!important;min-height:54px!important;padding:8px 10px!important;gap:9px!important}
  .main:has(.chat-layout) .evruni-prompt-card .prompt-icon{flex-basis:30px!important;width:30px!important;height:30px!important}
  .main:has(.chat-layout) .evruni-prompt-card b{font-size:11px!important;line-height:1.2!important}
  .main:has(.chat-layout) .evruni-prompt-card small{font-size:9px!important;line-height:1.2!important;margin-top:2px!important}
}
@media (min-width:851px) and (max-height:700px){
  .main:has(.chat-layout) .chat-composer{min-height:116px!important;padding:10px 16px 12px!important}
  .main:has(.chat-layout) .chat-composer textarea{min-height:48px!important;max-height:76px!important;padding:10px 13px!important}
  .main:has(.chat-layout) .chat-composer>div:last-child{padding-top:6px!important;top:0!important}
  .main:has(.chat-layout) .evruni-empty-studio .evruni-ai-sphere-wrap{flex-basis:clamp(82px,15vh,108px)!important;height:clamp(82px,15vh,108px)!important}
  .main:has(.chat-layout) .evruni-empty-studio .evruni-ai-sphere{width:clamp(78px,12vh,100px)!important;height:clamp(78px,12vh,100px)!important}
  .main:has(.chat-layout) .evruni-quick-prompts{margin-top:9px!important;gap:6px!important}
  .main:has(.chat-layout) .evruni-prompt-card{min-height:48px!important;padding:6px 9px!important}
}
@media (max-width:850px){
  .main:has(.chat-layout) .view-card{min-height:0!important;height:calc(100dvh - var(--mobile-nav-h,68px) - 22px)!important;max-height:calc(100dvh - var(--mobile-nav-h,68px) - 22px)!important}
  .main:has(.chat-layout) .chat-layout{min-height:0!important}
  .main:has(.chat-layout) .messages:has(.evruni-empty-studio){display:flex!important;overflow:hidden!important;padding:8px 12px!important}
  .main:has(.chat-layout) .evruni-empty-studio{box-sizing:border-box!important;height:100%!important;min-height:0!important;padding:0 4px 8px!important;justify-content:center!important}
  .main:has(.chat-layout) .evruni-empty-studio .evruni-ai-sphere-wrap{flex:0 0 clamp(95px,17vh,145px)!important;height:clamp(95px,17vh,145px)!important;min-height:0!important;margin:0 auto 4px!important}
  .main:has(.chat-layout) .evruni-empty-studio .evruni-ai-sphere{width:clamp(88px,14vh,120px)!important;height:clamp(88px,14vh,120px)!important}
  .main:has(.chat-layout) .evruni-quick-prompts{margin-top:12px!important;gap:7px!important;width:min(100%,560px)!important}
  .main:has(.chat-layout) .evruni-prompt-card{min-height:52px!important;padding:8px 9px!important}
}
@media (max-height:580px){
  .main:has(.chat-layout) .evruni-empty-studio .evruni-ai-sphere-wrap{flex-basis:76px!important;height:76px!important}
  .main:has(.chat-layout) .evruni-empty-studio .evruni-ai-sphere{width:72px!important;height:72px!important}
  .main:has(.chat-layout) .evruni-studio-kicker{display:none!important}
  .main:has(.chat-layout) .evruni-studio-copy h3{font-size:17px!important}
  .main:has(.chat-layout) .evruni-studio-copy p{font-size:11px!important}
  .main:has(.chat-layout) .evruni-quick-prompts{margin-top:7px!important;gap:5px!important}
  .main:has(.chat-layout) .evruni-prompt-card{min-height:44px!important}
}


/* Evruni V32 — restore chat panel sizing and welcome screen visibility */
.main:has(.chat-layout) .view-card{
  display:flex!important;flex-direction:column!important;
  min-height:0!important;height:calc(100dvh - 104px)!important;
  max-height:calc(100dvh - 104px)!important;overflow:hidden!important;
}
.main:has(.chat-layout) .chat-toolbar{flex:0 0 auto!important}
.main:has(.chat-layout) .chat-layout{
  display:grid!important;grid-template-columns:235px minmax(0,1fr)!important;
  flex:1 1 0!important;min-height:0!important;height:0!important;
  max-height:none!important;overflow:hidden!important;
}
.main:has(.chat-layout) .thread-list{min-height:0!important;height:100%!important;overflow-y:auto!important}
.main:has(.chat-layout) .chat-panel{
  display:flex!important;flex-direction:column!important;
  min-width:0!important;min-height:0!important;height:100%!important;overflow:hidden!important;
}
.main:has(.chat-layout) .messages{
  flex:1 1 0!important;min-height:0!important;height:0!important;
  display:flex!important;flex-direction:column!important;
  align-items:stretch!important;justify-content:center!important;overflow:auto!important;
}
.main:has(.chat-layout) .messages:has(.evruni-empty-studio){justify-content:center!important;align-items:center!important}
.main:has(.chat-layout) .evruni-empty-studio{
  flex:0 1 auto!important;width:min(100%,760px)!important;height:auto!important;
  max-height:100%!important;min-height:0!important;margin:auto!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;overflow:visible!important;
}
.main:has(.chat-layout) .chat-composer{
  flex:0 0 auto!important;min-height:0!important;max-height:none!important;
  position:relative!important;z-index:2!important;
}
@media(max-width:850px){
 .main:has(.chat-layout) .view-card{height:calc(100dvh - var(--mobile-nav-h,68px) - 22px)!important;max-height:calc(100dvh - var(--mobile-nav-h,68px) - 22px)!important}
 .main:has(.chat-layout) .chat-layout{grid-template-columns: minmax(0,1fr)!important}
 .main:has(.chat-layout) .thread-list{display:none!important}
}
@media(prefers-reduced-motion:reduce){.evruni-empty-studio *{animation:none!important}}

/* V33: keep the complete chat composer visible; allow the page to grow instead of clipping it. */
@media (min-width: 851px){
  .main:has(.chat-layout){
    min-height:100vh!important;
    height:auto!important;
    overflow:visible!important;
    padding-bottom:32px!important;
  }
  .main:has(.chat-layout) .view-card{
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
    display:flex!important;
    flex-direction:column!important;
  }
  .main:has(.chat-layout) .chat-layout{
    display:grid!important;
    grid-template-columns:235px minmax(0,1fr)!important;
    height:auto!important;
    min-height:680px!important;
    max-height:none!important;
    flex:0 0 auto!important;
    overflow:hidden!important;
    margin-bottom:24px!important;
  }
  .main:has(.chat-layout) .chat-panel{
    display:flex!important;
    flex-direction:column!important;
    height:auto!important;
    min-height:680px!important;
    overflow:visible!important;
  }
  .main:has(.chat-layout) .messages{
    flex:1 1 auto!important;
    min-height:430px!important;
    max-height:none!important;
    overflow-y:auto!important;
  }
  .main:has(.chat-layout) .chat-composer{
    position:relative!important;
    flex:0 0 auto!important;
    min-height:174px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    visibility:visible!important;
    opacity:1!important;
  }
}
@media (max-width:850px){
  .main:has(.chat-layout){height:auto!important;min-height:100dvh!important;overflow:visible!important;padding-bottom:calc(24px + env(safe-area-inset-bottom))!important}
  .main:has(.chat-layout) .view-card{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important}
  .main:has(.chat-layout) .chat-layout{height:auto!important;min-height:680px!important;max-height:none!important;flex:0 0 auto!important;overflow:hidden!important}
  .main:has(.chat-layout) .chat-panel{height:auto!important;min-height:680px!important;overflow:visible!important}
  .main:has(.chat-layout) .messages{min-height:390px!important;max-height:none!important;overflow-y:auto!important}
  .main:has(.chat-layout) .chat-composer{position:relative!important;flex:0 0 auto!important;min-height:170px!important;visibility:visible!important;opacity:1!important}
}

/* Evruni voice conversation mode V34 */
.chat-voice-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.chat-composer .chat-voice-btn{min-height:42px;padding:9px 15px;border-radius:13px;border:1px solid rgba(159,132,255,.22);background:linear-gradient(135deg,rgba(111,78,210,.12),rgba(34,49,91,.22));box-shadow:inset 0 1px 0 rgba(255,255,255,.045);transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}
.chat-composer .chat-voice-btn:hover{border-color:rgba(169,145,255,.55);background:rgba(117,83,219,.18);transform:translateY(-1px)}
.chat-composer .chat-voice-btn.is-active{border-color:rgba(155,126,255,.72);background:linear-gradient(135deg,rgba(122,84,235,.3),rgba(53,75,147,.25));box-shadow:0 0 22px rgba(124,89,255,.16);color:#e3d9ff}
.chat-voice-status{display:block;min-height:0;margin-top:7px;font-size:11px;line-height:1.45;color:rgba(190,198,220,.76);overflow-wrap:anywhere}
.chat-voice-status:empty{display:none}
.chat-voice-btn:disabled{opacity:.6;cursor:wait}
@media(max-width:640px){.chat-voice-actions{width:100%}.chat-composer .chat-voice-btn{flex:1;min-width:0}}


/* V37.1 — clean chat welcome: remove suggestion tiles and enlarge the AI sphere */
.evruni-empty-studio .evruni-quick-prompts{display:none!important}
.evruni-empty-studio .evruni-ai-sphere-wrap{
  flex:0 0 clamp(190px,30vh,270px)!important;
  height:clamp(190px,30vh,270px)!important;
  min-height:0!important;
  max-height:270px!important;
  margin:0 auto 8px!important;
}
.evruni-empty-studio .evruni-ai-sphere{
  width:clamp(176px,26vh,238px)!important;
  height:clamp(176px,26vh,238px)!important;
}
@media(max-width:850px){
  .evruni-empty-studio .evruni-ai-sphere-wrap{
    flex-basis:clamp(185px,26vh,235px)!important;
    height:clamp(185px,26vh,235px)!important;
  }
  .evruni-empty-studio .evruni-ai-sphere{
    width:clamp(170px,24vh,215px)!important;
    height:clamp(170px,24vh,215px)!important;
  }
}
@media(max-width:560px){
  .evruni-empty-studio .evruni-ai-sphere-wrap{
    flex-basis:190px!important;height:190px!important;
  }
  .evruni-empty-studio .evruni-ai-sphere{
    width:178px!important;height:178px!important;
  }
}


/* V37.2 FIX — target the actual welcome markup (empty-chat), not a nonexistent wrapper */
.evruni-quick-prompts,
.evruni-quick-prompts *,
.evruni-prompt-card{display:none!important}
.evruni-ai-sphere-wrap{
  min-height:clamp(250px,42vh,420px)!important;
  height:clamp(250px,42vh,420px)!important;
  flex:0 0 clamp(250px,42vh,420px)!important;
  margin:0 auto!important;
}
.evruni-ai-sphere{
  width:clamp(220px,26vw,340px)!important;
  height:clamp(220px,26vw,340px)!important;
}
@media(max-width:850px){
  .evruni-ai-sphere-wrap{
    min-height:clamp(210px,34vh,320px)!important;
    height:clamp(210px,34vh,320px)!important;
    flex-basis:clamp(210px,34vh,320px)!important;
  }
  .evruni-ai-sphere{
    width:clamp(190px,45vw,270px)!important;
    height:clamp(190px,45vw,270px)!important;
  }
}
@media(max-width:560px){
  .evruni-ai-sphere-wrap{
    min-height:220px!important;height:220px!important;flex-basis:220px!important;
  }
  .evruni-ai-sphere{width:200px!important;height:200px!important}
}


/* Evruni V37.3 — sphere size override for actual chat welcome */
.evruni-ai-sphere-wrap{
  min-height:clamp(260px,40vh,440px)!important;
  height:clamp(260px,40vh,440px)!important;
}
.evruni-ai-sphere{
  width:clamp(230px,27vw,350px)!important;
  height:clamp(230px,27vw,350px)!important;
}
@media(max-width:850px){
  .evruni-ai-sphere-wrap{min-height:clamp(220px,34vh,330px)!important;height:clamp(220px,34vh,330px)!important}
  .evruni-ai-sphere{width:clamp(195px,46vw,280px)!important;height:clamp(195px,46vw,280px)!important}
}
@media(max-width:560px){
  .evruni-ai-sphere-wrap{min-height:220px!important;height:220px!important}
  .evruni-ai-sphere{width:200px!important;height:200px!important}
}


/* Evruni V37.4 — larger hero sphere, heading sits slightly below it */
.evruni-ai-sphere-wrap{
  min-height:clamp(340px,48vh,520px)!important;
  height:clamp(340px,48vh,520px)!important;
}
.evruni-ai-sphere{
  width:clamp(300px,34vw,440px)!important;
  height:clamp(300px,34vw,440px)!important;
}
.empty-chat h3{
  margin-top:18px!important;
}
@media(max-width:850px){
  .evruni-ai-sphere-wrap{
    min-height:clamp(280px,40vh,390px)!important;
    height:clamp(280px,40vh,390px)!important;
  }
  .evruni-ai-sphere{
    width:clamp(250px,58vw,350px)!important;
    height:clamp(250px,58vw,350px)!important;
  }
  .empty-chat h3{margin-top:16px!important}
}
@media(max-width:560px){
  .evruni-ai-sphere-wrap{min-height:280px!important;height:280px!important}
  .evruni-ai-sphere{width:250px!important;height:250px!important}
  .empty-chat h3{margin-top:14px!important}
}


/* V37.5 — clearer model picker: explain EVR/token pricing and model purpose */
.model-picker-menu{width: min(390px, calc(100vw - 28px));padding:9px;border-radius:15px;border-color:rgba(155,127,255,.24);box-shadow:0 22px 60px rgba(0,0,0,.52),0 0 28px rgba(126,91,255,.08)}
.model-picker-guide{display:grid;gap:4px;margin:0 0 8px;padding:10px 11px;border:1px solid rgba(155,127,255,.18);border-radius:11px;background:linear-gradient(135deg,rgba(126,91,255,.13),rgba(255,255,255,.025))}
.model-picker-guide b{font-size:11px;color:#e9e2ff;font-weight:800}
.model-picker-guide span{font-size:10px;line-height:1.45;color:#aeb8ce}
.model-picker-filter{gap:6px;padding:0 0 8px}
.model-picker-filter button{height:auto;min-height:39px;display:grid;align-content:center;gap:2px;padding:6px 8px;border-radius:9px}
.model-picker-filter button b{font-size:10px;color:inherit}
.model-picker-filter button small{font-size:9px;color:#8f9ab2}
.model-picker-option{min-height:53px;gap:10px;padding:8px 9px;border-bottom:1px solid rgba(255,255,255,.045);border-radius:9px}
.model-picker-option-copy{display:grid;gap:3px;min-width:0;flex:1}
.model-picker-option-name{font-size:11px;font-weight:750;color:#f0efff}
.model-picker-option-desc{font-size:9px;line-height:1.3;color:#8f9ab2;white-space:normal}
.model-picker-option-meta{display:grid;justify-items:end;gap:4px;flex:none;max-width:48%}
.model-picker-option-price{font-size:9px;color:#c4b4ff;white-space:nowrap}
.model-picker-option-tag{font-size:8px;line-height:1;padding:3px 6px;border-radius:20px;color:#b8a5ff;background:rgba(139,105,255,.12);border:1px solid rgba(139,105,255,.2);white-space:nowrap}
.model-picker-option:disabled .model-picker-option-tag{color:#ffbd9c;background:rgba(255,153,102,.08);border-color:rgba(255,153,102,.16)}
@media(max-width:560px){.model-picker-menu{width:auto;max-width:none}.model-picker-option{min-height:58px}.model-picker-option-desc{font-size:10px}.model-picker-guide span{font-size:10px}}

/* Evruni V37.6 — redesigned profile settings */
.profile-page-v2{max-width:1120px;padding-top:24px}
.profile-page-v2 .profile-hero{grid-template-columns:auto minmax(0,1fr) minmax(220px,280px);gap:20px;padding:25px;background:radial-gradient(ellipse at 8% 0%,rgba(124,92,255,.18),transparent 48%),linear-gradient(135deg,rgba(18,22,43,.96),rgba(9,13,26,.94));border-color:rgba(150,130,255,.18)}
.profile-status{display:inline-flex;align-items:center;gap:7px;margin-top:12px;padding:5px 10px;border:1px solid rgba(52,211,153,.2);border-radius:30px;background:rgba(16,185,129,.08);color:#8ce8c3;font-size:11px}
.profile-status i{width:6px;height:6px;border-radius:50%;background:#34d399;box-shadow:0 0 10px #34d399}
.profile-page-v2 .profile-balance-card{min-width:0;background:rgba(6,9,20,.56);border-color:rgba(255,255,255,.09)}
.profile-page-v2 .profile-balance-card .profile-action-btn{width:100%;margin-top:10px}
.profile-settings-intro{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:28px 2px 14px}
.profile-settings-intro h3{margin:0 0 5px;font-size:21px}.profile-settings-intro p,.profile-card-sub{margin:0;color:#929bb5;font-size:12px;line-height:1.5}
.profile-settings-tip{color:#9b91d4;font-size:11px;white-space:nowrap}
.profile-page-v2 .profile-grid{margin-top:0;align-items:stretch}
.profile-page-v2 .profile-card{position:relative;min-width:0;padding:22px;background:linear-gradient(145deg,rgba(17,21,39,.92),rgba(10,14,27,.88));border-color:rgba(255,255,255,.075);box-shadow:0 12px 32px rgba(0,0,0,.12)}
.profile-page-v2 .profile-card-head{align-items:flex-start;margin-bottom:17px}
.profile-page-v2 .profile-card-head h3{margin:5px 0 4px}
.profile-card-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:rgba(124,92,255,.13);border:1px solid rgba(151,125,255,.2);color:#b7a5ff;font-size:18px}
.profile-page-v2 .profile-field{margin:13px 0 16px}
.profile-field-note{display:block;margin-top:6px;color:#78829d;font-size:10px;line-height:1.4}
.profile-voice-actions{display:flex;flex-wrap:wrap;gap:8px}
.profile-voice-actions .profile-action-btn{font-size:12px;padding:10px 12px}
.profile-page-v2 .profile-hint{padding:10px 12px;border-radius:10px;background:rgba(124,92,255,.055);border:1px solid rgba(124,92,255,.10)}
.profile-link-row{display:flex;justify-content:space-between;align-items:center;width:100%;gap:14px;padding:13px 2px;border:0;border-bottom:1px solid rgba(255,255,255,.065);background:transparent;color:#edf0ff;text-align:left;cursor:pointer}
.profile-link-row:last-child{border-bottom:0}.profile-link-row b,.profile-link-row small{display:block}.profile-link-row b{font-size:13px;font-weight:650}.profile-link-row small{margin-top:4px;color:#858eaa;font-size:11px}.profile-link-row i{font-style:normal;color:#a99aff;font-size:18px}.profile-link-row:hover b{color:#c6baff}.profile-link-row.danger b,.profile-link-row.danger i{color:#ff9aaa}
.profile-savebar{position:sticky;bottom:12px;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;padding:12px 14px 12px 18px;border:1px solid rgba(149,126,255,.2);border-radius:16px;background:rgba(12,15,30,.92);backdrop-filter:blur(18px);box-shadow:0 12px 35px rgba(0,0,0,.28)}
.profile-savebar>span{color:#9aa3bd;font-size:12px}.profile-savebar .profile-action-btn{padding:12px 20px;font-weight:700}
@media(max-width:760px){.profile-page-v2{padding:14px}.profile-page-v2 .profile-hero{grid-template-columns:auto 1fr;padding:18px;gap:14px}.profile-page-v2 .profile-balance-card{grid-column:1/-1}.profile-settings-intro{align-items:flex-start;flex-direction:column;margin-top:22px}.profile-settings-tip{white-space:normal}.profile-page-v2 .profile-grid{grid-template-columns:1fr!important}.profile-page-v2 .profile-card{padding:18px}.profile-savebar{bottom:8px}.profile-savebar>span{max-width:44%;font-size:10px}}


/* Evruni V37.7 — simplified profile and useful workspace preferences */
.profile-page-v3{max-width:1120px;padding-top:24px}
.profile-page-v3 .profile-hero{grid-template-columns:auto minmax(0,1fr) minmax(220px,280px);gap:20px;padding:26px;background:radial-gradient(ellipse at 8% 0%,rgba(124,92,255,.2),transparent 48%),linear-gradient(135deg,rgba(18,22,43,.97),rgba(9,13,26,.95));border-color:rgba(150,130,255,.2)}
.profile-page-v3 .profile-balance-card{min-width:0;background:rgba(6,9,20,.58)}
.profile-page-v3 .profile-balance-card strong{letter-spacing:-.5px}
.profile-page-v3 .profile-settings-intro{margin:28px 2px 16px}
.profile-grid-v3{margin-top:0;align-items:stretch}
.profile-page-v3 .profile-card{padding:22px;background:linear-gradient(145deg,rgba(17,21,39,.94),rgba(10,14,27,.9));border-color:rgba(255,255,255,.08);box-shadow:0 12px 32px rgba(0,0,0,.14)}
.profile-page-v3 .profile-card-head{align-items:flex-start;margin-bottom:18px}
.profile-page-v3 .profile-card-head h3{margin:5px 0 4px}
.profile-language-note{display:flex;flex-direction:column;gap:5px;margin-top:14px;padding:13px 14px;border:1px solid rgba(124,92,255,.16);border-radius:13px;background:rgba(124,92,255,.07)}
.profile-language-note b{font-size:12px;color:#d8d0ff}.profile-language-note span{font-size:11px;line-height:1.5;color:#929bb5}
.profile-pref-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.065)}
.profile-pref-row:last-of-type{border-bottom:0}.profile-pref-row>span{display:flex;flex-direction:column;gap:4px;min-width:0}.profile-pref-row b{font-size:13px;color:#edf0ff}.profile-pref-row small{font-size:11px;line-height:1.45;color:#858eaa}
.profile-switch{position:relative;flex:0 0 42px;width:42px;height:24px}.profile-switch input{position:absolute;opacity:0;width:1px;height:1px}.profile-switch i{position:absolute;inset:0;border-radius:20px;background:#30364d;border:1px solid rgba(255,255,255,.1);transition:.2s;cursor:pointer}.profile-switch i:before{content:"";position:absolute;width:18px;height:18px;left:2px;top:2px;border-radius:50%;background:#aab1c8;transition:.2s}.profile-switch input:checked+i{background:#684be0;border-color:#987dff;box-shadow:0 0 14px rgba(124,92,255,.25)}.profile-switch input:checked+i:before{transform:translateX(18px);background:white}.profile-switch input:focus-visible+i{outline:2px solid #b9a7ff;outline-offset:3px}
.profile-security-info{display:flex;align-items:center;gap:10px;padding:12px 13px;margin:2px 0 10px;border:1px solid rgba(52,211,153,.14);border-radius:12px;background:rgba(16,185,129,.055)}.profile-security-info>div{display:flex;flex-direction:column;gap:3px}.profile-security-info b{font-size:12px;color:#b8f4dc}.profile-security-info small{font-size:10px;color:#8798a7}.profile-security-dot{width:8px;height:8px;border-radius:50%;background:#34d399;box-shadow:0 0 10px #34d399}
.evruni-compact-ui .profile-page-v3 .profile-card{padding:17px}.evruni-compact-ui .profile-page-v3 .profile-pref-row{padding:9px 0}.evruni-large-text{font-size:106%}.evruni-reduced-motion *, .evruni-reduced-motion *:before,.evruni-reduced-motion *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
@media(max-width:760px){.profile-page-v3{padding:14px}.profile-page-v3 .profile-hero{grid-template-columns:auto 1fr;padding:18px;gap:14px}.profile-page-v3 .profile-balance-card{grid-column:1/-1}.profile-grid-v3{grid-template-columns:1fr!important}.profile-page-v3 .profile-card{padding:18px}.profile-page-v3 .profile-savebar{bottom:8px}}


/* Evruni V38.1 — wallet balance card polish */
.profile-page-v3 .profile-balance-card-v2{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:center;min-height:184px;padding:19px 20px 17px;border:1px solid rgba(157,132,255,.25);border-radius:20px;background:radial-gradient(ellipse at 100% 0%,rgba(130,91,255,.24),transparent 52%),linear-gradient(145deg,rgba(25,27,55,.98),rgba(10,14,29,.98));box-shadow:0 14px 34px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.055)}
.profile-page-v3 .profile-balance-card-v2:after{content:"";position:absolute;z-index:-1;right:-34px;top:-48px;width:138px;height:138px;border-radius:50%;border:1px solid rgba(167,142,255,.13);box-shadow:0 0 0 15px rgba(145,112,255,.025),0 0 0 31px rgba(145,112,255,.018)}
.profile-balance-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.profile-balance-label{display:inline-flex;align-items:center;gap:8px;color:#aeb6d0;font-size:10px;font-weight:800;letter-spacing:1.15px}
.profile-balance-dot{width:7px;height:7px;border-radius:50%;background:#8c75ff;box-shadow:0 0 10px rgba(151,126,255,.9)}
.profile-balance-currency{padding:4px 8px;border:1px solid rgba(165,143,255,.2);border-radius:8px;background:rgba(124,92,255,.1);color:#c9bcff;font-size:10px;font-weight:800;letter-spacing:.6px}
.profile-page-v3 .profile-balance-card-v2 strong{display:block;margin:0;color:#fff;font-size:clamp(25px,2.2vw,32px);font-weight:850;line-height:1.12;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.profile-page-v3 .profile-balance-card-v2 strong em{font-style:normal;color:#bcaaff;font-size:.62em;letter-spacing:0}
.profile-page-v3 .profile-balance-card-v2 small{display:block;margin-top:7px;color:#929bb6;font-size:10px;line-height:1.4}
.profile-page-v3 .profile-balance-card-v2 .profile-balance-topup{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:15px;padding:11px 13px;border:1px solid rgba(166,144,255,.25);border-radius:12px;background:linear-gradient(110deg,rgba(124,92,255,.22),rgba(91,67,190,.16));color:#eeeaff;font-size:12px;font-weight:750;text-align:left}
.profile-balance-topup b{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:rgba(158,135,255,.18);color:#d5caff;font-size:17px;line-height:1;transition:transform .18s ease}
.profile-balance-topup:hover{border-color:rgba(180,159,255,.5)!important;background:linear-gradient(110deg,rgba(124,92,255,.34),rgba(91,67,190,.25))!important}
.profile-balance-topup:hover b{transform:translateX(3px)}
@media(max-width:760px){.profile-page-v3 .profile-balance-card-v2{min-height:170px;padding:17px}.profile-page-v3 .profile-balance-card-v2 strong{font-size:29px}}


/* Evruni V38.2 — balance card rebuilt around the live profile balance */
.profile-page-v3 .profile-balance-card-v2{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-width:0;min-height:190px;padding:17px 18px 16px;overflow:hidden;border:1px solid rgba(143,121,255,.34);border-radius:22px;background:radial-gradient(ellipse at 100% 0%,rgba(105,82,255,.28),transparent 52%),radial-gradient(ellipse at 0% 100%,rgba(53,113,255,.14),transparent 55%),linear-gradient(145deg,#171a38 0%,#0c1228 58%,#0b1428 100%);box-shadow:0 16px 38px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.09)}
.profile-page-v3 .profile-balance-card-v2:before{content:"";position:absolute;z-index:-1;right:-52px;top:-72px;width:190px;height:190px;border:1px solid rgba(170,147,255,.18);border-radius:50%;box-shadow:0 0 0 15px rgba(139,116,255,.035),0 0 0 34px rgba(139,116,255,.025),0 0 55px rgba(93,112,255,.12)}
.profile-page-v3 .profile-balance-card-v2:after{content:"E";position:absolute;z-index:-1;right:18px;top:54px;display:grid;place-items:center;width:64px;height:64px;border:1px solid rgba(188,165,255,.36);border-radius:19px;background:linear-gradient(145deg,rgba(143,104,255,.3),rgba(56,88,190,.18));box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 8px 30px rgba(91,73,210,.2);color:rgba(218,204,255,.82);font-size:34px;font-weight:900;font-style:italic;transform:rotate(-12deg)}
.profile-balance-heading{display:flex;align-items:center;gap:10px;min-width:0}
.profile-balance-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid rgba(170,146,255,.25);border-radius:13px;background:linear-gradient(145deg,rgba(136,99,255,.3),rgba(61,83,174,.18));color:#d6c8ff;font-size:23px;box-shadow:0 5px 18px rgba(93,72,220,.18)}
.profile-balance-heading>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.profile-page-v3 .profile-balance-heading .profile-balance-label{color:#f0edff;font-size:13px;font-weight:750;letter-spacing:0}
.profile-page-v3 .profile-balance-heading small{color:#9ca8c5;font-size:10px;line-height:1.3}
.profile-page-v3 .profile-balance-heading .profile-balance-currency{margin-left:auto;align-self:flex-start;padding:4px 8px;border:1px solid rgba(171,148,255,.28);border-radius:8px;background:rgba(124,92,255,.14);color:#d2c5ff;font-size:9px;font-weight:850;letter-spacing:.7px}
.profile-balance-main{position:relative;display:flex;align-items:center;flex-wrap:wrap;gap:9px;min-width:0;padding-left:2px}
.profile-page-v3 .profile-balance-card-v2 .profile-balance-main strong{font-size:clamp(26px,2.5vw,34px);font-weight:900;line-height:1;letter-spacing:-1.1px;color:#fff;text-shadow:0 2px 22px rgba(157,129,255,.2);font-variant-numeric:tabular-nums}
.profile-page-v3 .profile-balance-card-v2 .profile-balance-main strong em{font-size:.58em;color:#c5b5ff;font-style:normal;letter-spacing:0}
.profile-balance-rate{position:relative;z-index:1;padding:6px 8px;border:1px solid rgba(160,147,255,.2);border-radius:9px;background:rgba(12,17,39,.58);color:#c4c9e5;font-size:9px;font-weight:700;white-space:nowrap}
.profile-balance-rate i{padding:0 2px;color:#8e9cff;font-style:normal}
.profile-page-v3 .profile-balance-card-v2 .profile-balance-topup{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-height:42px;margin:0;padding:9px 12px;border:1px solid rgba(194,166,255,.42);border-radius:13px;background:linear-gradient(105deg,#7650e8 0%,#6046d2 55%,#4269d7 100%);box-shadow:0 7px 20px rgba(86,65,205,.25),inset 0 1px 0 rgba(255,255,255,.22);color:#fff;font-size:12px;font-weight:800;text-align:left;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.profile-topup-plus{display:grid;place-items:center;width:23px;height:23px;border:1px solid rgba(255,255,255,.35);border-radius:8px;background:rgba(255,255,255,.13);font-size:19px;line-height:1}
.profile-page-v3 .profile-balance-card-v2 .profile-balance-topup b{display:grid;place-items:center;width:25px;height:25px;margin-left:auto;border-radius:8px;background:rgba(255,255,255,.14);color:#fff;font-size:17px}
.profile-page-v3 .profile-balance-card-v2 .profile-balance-topup:hover{filter:brightness(1.12);transform:translateY(-1px);box-shadow:0 10px 24px rgba(86,65,205,.34)}
@media(max-width:760px){.profile-page-v3 .profile-balance-card-v2{min-height:188px;padding:16px}.profile-balance-main{max-width:calc(100% - 48px)}.profile-page-v3 .profile-balance-card-v2:after{right:9px;top:66px;width:48px;height:48px;font-size:27px}.profile-page-v3 .profile-balance-main strong{font-size:29px}}

/* Evruni profile balance card: subtle animated premium treatment */
.profile-page-v3 .profile-balance-card-v2{animation:evrBalanceFloat 7s ease-in-out infinite;transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease}
.profile-page-v3 .profile-balance-card-v2:hover{transform:translateY(-3px);border-color:rgba(174,151,255,.62);box-shadow:0 22px 48px rgba(0,0,0,.34),0 0 30px rgba(112,91,255,.14),inset 0 1px 0 rgba(255,255,255,.12)}
.profile-page-v3 .profile-balance-card-v2:before{animation:evrBalanceOrbit 18s linear infinite}
.profile-page-v3 .profile-balance-card-v2:after{transform-origin:center;animation:evrCoinFloat 4.8s ease-in-out infinite}
.profile-page-v3 .profile-balance-rate{display:inline-flex;align-items:center;gap:4px;border-color:rgba(160,147,255,.32);background:linear-gradient(120deg,rgba(35,39,78,.86),rgba(20,28,56,.76));box-shadow:0 0 18px rgba(122,103,255,.1);font-size:10px;letter-spacing:.1px}
.profile-balance-region{display:inline!important;margin:0 0 0 3px!important;padding-left:6px;border-left:1px solid rgba(190,180,255,.2);color:#9ca8c5!important;font-size:8px!important}
.profile-page-v3 .profile-balance-topup{position:relative;overflow:hidden}
.profile-page-v3 .profile-balance-topup:after{content:"";position:absolute;top:-60%;left:-35%;width:28%;height:220%;transform:rotate(22deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);animation:evrButtonShine 5.5s ease-in-out infinite;pointer-events:none}
@keyframes evrBalanceFloat{0%,100%{box-shadow:0 16px 38px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.09)}50%{box-shadow:0 19px 42px rgba(0,0,0,.3),0 0 24px rgba(105,91,255,.12),inset 0 1px 0 rgba(255,255,255,.12)}}
@keyframes evrBalanceOrbit{to{transform:rotate(360deg)}}
@keyframes evrCoinFloat{0%,100%{translate:0 0;rotate:-12deg}50%{translate:0 -7px;rotate:-7deg}}
@keyframes evrButtonShine{0%,65%,100%{left:-35%}82%{left:120%}}
@media(prefers-reduced-motion:reduce){.profile-page-v3 .profile-balance-card-v2,.profile-page-v3 .profile-balance-card-v2:before,.profile-page-v3 .profile-balance-card-v2:after,.profile-page-v3 .profile-balance-topup:after{animation:none!important;transition:none!important}}


/* V38.4: visibly animated balance card treatment */
.profile-page-v3 .profile-balance-card-v2{position:relative;overflow:hidden;background-size:180% 180%;animation:evrBalanceGlowV384 6s ease-in-out infinite,evrBalanceLiftV384 5s ease-in-out infinite;will-change:transform,box-shadow,background-position}
.profile-page-v3 .profile-balance-card-v2:before{width:230px;height:230px;right:-72px;top:-94px;border:1px solid rgba(183,158,255,.42);box-shadow:0 0 0 12px rgba(139,112,255,.07),0 0 0 28px rgba(139,112,255,.045),0 0 42px rgba(101,120,255,.24);animation:evrOrbitV384 12s linear infinite,evrRingPulseV384 3.8s ease-in-out infinite}
.profile-page-v3 .profile-balance-card-v2:after{width:72px;height:72px;right:18px;top:48px;border-radius:22px;border-color:rgba(208,190,255,.62);background:linear-gradient(145deg,rgba(168,126,255,.55),rgba(67,103,224,.34));box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 0 24px rgba(142,106,255,.38),0 12px 30px rgba(38,58,145,.3);text-shadow:0 0 16px rgba(255,255,255,.65);animation:evrCoinBobV384 3.2s ease-in-out infinite}
.profile-page-v3 .profile-balance-card-v2 .profile-balance-main{z-index:2}
.profile-page-v3 .profile-balance-rate{border-color:rgba(177,158,255,.46);box-shadow:0 0 0 1px rgba(138,113,255,.08),0 0 22px rgba(128,104,255,.2)}
.profile-page-v3 .profile-balance-topup{isolation:isolate;box-shadow:0 8px 25px rgba(91,69,225,.38),inset 0 1px 0 rgba(255,255,255,.28)}
.profile-page-v3 .profile-balance-topup:after{width:42%;left:-55%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.38),transparent);animation:evrShineV384 3.2s ease-in-out infinite}
@keyframes evrBalanceGlowV384{0%,100%{background-position:0% 50%;box-shadow:0 16px 38px rgba(0,0,0,.28),0 0 0 rgba(123,97,255,0),inset 0 1px 0 rgba(255,255,255,.09)}50%{background-position:100% 50%;box-shadow:0 18px 42px rgba(0,0,0,.3),0 0 30px rgba(123,97,255,.23),inset 0 1px 0 rgba(255,255,255,.16)}}
@keyframes evrBalanceLiftV384{0%,100%{translate:0 0}50%{translate:0 -3px}}
@keyframes evrOrbitV384{to{rotate:360deg}}
@keyframes evrRingPulseV384{0%,100%{opacity:.65}50%{opacity:1}}
@keyframes evrCoinBobV384{0%,100%{translate:0 0;rotate:-12deg}50%{translate:0 -10px;rotate:-5deg}}
@keyframes evrShineV384{0%,52%,100%{left:-55%}78%{left:125%}}
@media(prefers-reduced-motion:reduce){.profile-page-v3 .profile-balance-card-v2,.profile-page-v3 .profile-balance-card-v2:before,.profile-page-v3 .profile-balance-card-v2:after,.profile-page-v3 .profile-balance-topup:after{animation:none!important;translate:none!important;rotate:none!important}}


/* Evruni V38.5 — signature profile hero */
.profile-page-v3 .evr-profile-hero{position:relative;isolation:isolate;overflow:hidden;min-height:250px;align-items:center;padding:34px 30px!important;border:1px solid rgba(157,126,255,.38)!important;border-radius:27px!important;background:radial-gradient(ellipse at 4% 8%,rgba(112,65,255,.30),transparent 42%),radial-gradient(ellipse at 96% 88%,rgba(44,93,226,.22),transparent 44%),linear-gradient(125deg,#171638 0%,#0e132b 48%,#090f20 100%)!important;box-shadow:0 20px 55px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.12)}
.profile-page-v3 .evr-profile-hero:before{content:"";position:absolute;z-index:-2;inset:-55% -12%;background:linear-gradient(118deg,transparent 35%,rgba(141,91,255,.0) 42%,rgba(141,91,255,.19) 49%,rgba(82,119,255,.10) 53%,transparent 61%);transform:rotate(-8deg);animation:evrProfileSweep385 10s ease-in-out infinite}
.profile-page-v3 .evr-profile-hero:after{content:"";position:absolute;z-index:-1;width:380px;height:380px;right:-105px;top:-120px;border:1px solid rgba(172,147,255,.18);border-radius:50%;box-shadow:0 0 0 18px rgba(130,99,255,.035),0 0 0 42px rgba(130,99,255,.025),0 0 65px rgba(89,100,255,.16);animation:evrProfileOrbit385 24s linear infinite}
.profile-page-v3 .evr-profile-watermark{position:absolute;z-index:-1;right:8%;top:50%;transform:translateY(-56%) skew(-9deg);font-size:clamp(190px,25vw,330px);line-height:.8;font-weight:950;font-style:italic;letter-spacing:-.12em;color:rgba(138,112,255,.055);text-shadow:0 0 55px rgba(124,92,255,.11);pointer-events:none;user-select:none}
.profile-page-v3 .evr-profile-ribbon{position:absolute;z-index:-1;left:-8%;width:116%;height:100px;border:1px solid transparent;border-top-color:rgba(168,130,255,.42);border-radius:50%;filter:drop-shadow(0 0 10px rgba(126,87,255,.42));pointer-events:none}
.profile-page-v3 .evr-profile-ribbon-one{bottom:-64px;transform:rotate(-8deg);animation:evrProfileWave385 8s ease-in-out infinite}
.profile-page-v3 .evr-profile-ribbon-two{bottom:-85px;left:20%;border-top-color:rgba(76,139,255,.36);transform:rotate(7deg);animation:evrProfileWave385 11s ease-in-out infinite reverse}
.profile-page-v3 .evr-profile-avatar{position:relative;z-index:1;display:grid;place-items:center;width:92px!important;height:92px!important;border-radius:27px!important;background:linear-gradient(145deg,#9468ff,#5941d5 70%,#3c53bd)!important;border:1px solid rgba(221,207,255,.5);box-shadow:0 0 0 7px rgba(136,99,255,.10),0 0 0 14px rgba(136,99,255,.055),0 12px 35px rgba(83,56,208,.42),inset 0 1px 0 rgba(255,255,255,.35);font-size:34px!important;font-weight:900;color:#fff}
.profile-page-v3 .evr-profile-avatar:after{content:"✦";position:absolute;right:-9px;top:-13px;color:#ffe2a0;font-size:21px;text-shadow:0 0 12px rgba(255,204,112,.8);animation:evrProfileSpark385 3s ease-in-out infinite}
.profile-page-v3 .evr-profile-hero .profile-hero-copy{position:relative;z-index:2}
.profile-page-v3 .evr-profile-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#b9a8ff!important;letter-spacing:.19em!important}
.profile-page-v3 .evr-profile-eyebrow:before{content:"✧";font-size:16px;color:#c3a2ff;text-shadow:0 0 12px #9c73ff}
.profile-page-v3 .evr-profile-hero .profile-hero-copy h2{font-size:clamp(28px,3vw,38px);letter-spacing:-1.4px;text-shadow:0 0 28px rgba(165,140,255,.17)}
.profile-page-v3 .evr-profile-signature{display:inline-flex;align-items:center;gap:7px;margin-top:12px;padding:6px 11px;border:1px solid rgba(152,117,255,.34);border-radius:999px;background:linear-gradient(100deg,rgba(120,75,255,.18),rgba(61,91,198,.12));color:#c9baff;font-size:9px;font-weight:850;letter-spacing:.14em;box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
.profile-page-v3 .evr-profile-signature b{font-size:13px;color:#e4caff;text-shadow:0 0 12px #9d6cff}
.profile-page-v3 .evr-profile-hero .profile-status{box-shadow:0 0 18px rgba(16,185,129,.08)}
@keyframes evrProfileSweep385{0%,100%{translate:-3% 0;opacity:.55}50%{translate:3% 0;opacity:1}}
@keyframes evrProfileOrbit385{to{rotate:360deg}}
@keyframes evrProfileWave385{0%,100%{translate:0 0;opacity:.55}50%{translate:0 -12px;opacity:1}}
@keyframes evrProfileSpark385{0%,100%{transform:rotate(-12deg) scale(.9)}50%{transform:rotate(14deg) scale(1.15)}}
@media(max-width:760px){.profile-page-v3 .evr-profile-hero{grid-template-columns:auto 1fr!important;min-height:0;padding:23px 18px!important;gap:16px!important}.profile-page-v3 .evr-profile-avatar{width:68px!important;height:68px!important;border-radius:21px!important;font-size:27px!important}.profile-page-v3 .evr-profile-watermark{right:1%;font-size:180px}.profile-page-v3 .evr-profile-signature{font-size:8px}}
@media(prefers-reduced-motion:reduce){.profile-page-v3 .evr-profile-hero:before,.profile-page-v3 .evr-profile-hero:after,.profile-page-v3 .evr-profile-ribbon,.profile-page-v3 .evr-profile-avatar:after{animation:none!important}}

/* Evruni V38.6 — high-contrast top-up button */
.profile-page-v3 .profile-balance-card-v2 .profile-balance-topup,
.profile-page-v3 .profile-balance-card-v2 .profile-balance-topup:visited{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;
  min-height:46px!important;padding:9px 12px!important;border:1px solid rgba(210,194,255,.72)!important;
  border-radius:14px!important;background:linear-gradient(105deg,#895cff 0%,#7049ed 52%,#416be8 100%)!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;
  font-size:13px!important;font-weight:850!important;letter-spacing:.1px!important;
  text-shadow:0 1px 2px rgba(20,10,65,.45)!important;
  box-shadow:0 8px 24px rgba(104,76,238,.42),inset 0 1px 0 rgba(255,255,255,.42)!important;
}
.profile-page-v3 .profile-balance-card-v2 .profile-balance-topup>span:nth-child(2){
  display:block!important;flex:1 1 auto!important;min-width:0!important;color:#fff!important;
  -webkit-text-fill-color:#fff!important;opacity:1!important;font-size:13px!important;font-weight:850!important;
  line-height:1.2!important;white-space:nowrap!important;text-shadow:0 1px 3px rgba(20,10,65,.55)!important;
}
.profile-page-v3 .profile-balance-card-v2 .profile-topup-plus{
  flex:0 0 28px!important;width:28px!important;height:28px!important;display:grid!important;place-items:center!important;
  border:1px solid rgba(255,255,255,.62)!important;border-radius:9px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.32),rgba(255,255,255,.12))!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:21px!important;font-weight:500!important;
  line-height:1!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 2px 8px rgba(26,15,90,.2)!important;
}
.profile-page-v3 .profile-balance-card-v2 .profile-balance-topup>b{
  flex:0 0 28px!important;width:28px!important;height:28px!important;margin-left:auto!important;display:grid!important;place-items:center!important;
  border:1px solid rgba(255,255,255,.25)!important;border-radius:9px!important;
  background:rgba(255,255,255,.22)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-size:20px!important;font-weight:900!important;line-height:1!important;text-shadow:none!important;
}
.profile-page-v3 .profile-balance-card-v2 .profile-balance-topup:hover{
  filter:brightness(1.12)!important;transform:translateY(-2px)!important;
  box-shadow:0 12px 28px rgba(104,76,238,.52),inset 0 1px 0 rgba(255,255,255,.48)!important;
}
.profile-page-v3 .profile-balance-card-v2 .profile-balance-topup:active{transform:translateY(0) scale(.985)!important}
.profile-page-v3 .profile-balance-card-v2 .profile-balance-topup:focus-visible{outline:3px solid rgba(192,170,255,.8)!important;outline-offset:3px!important}
@media(max-width:420px){.profile-page-v3 .profile-balance-card-v2 .profile-balance-topup{min-height:44px!important;padding:8px 10px!important}.profile-page-v3 .profile-balance-card-v2 .profile-balance-topup>span:nth-child(2){font-size:12px!important}}


/* Evruni V38.8 — premium account menu */
.evr-profile-dropdown{position:relative;isolation:isolate;overflow:hidden;padding:12px!important;border:1px solid rgba(149,119,255,.32)!important;border-radius:20px!important;background:linear-gradient(145deg,rgba(17,19,42,.985),rgba(7,12,25,.985))!important;box-shadow:0 26px 80px rgba(0,0,0,.58),0 0 34px rgba(111,78,255,.14),inset 0 1px 0 rgba(255,255,255,.09)!important;backdrop-filter:blur(22px)!important}
.evr-profile-glow{position:absolute;z-index:-1;pointer-events:none;width:180px;height:180px;right:-85px;top:-105px;border-radius:50%;background:rgba(116,77,255,.23);filter:blur(38px);animation:evrMenuGlow388 5s ease-in-out infinite alternate}
.evr-profile-head{position:relative;gap:12px!important;padding:10px 7px 15px!important}
.evr-profile-avatar{position:relative;width:50px!important;height:50px!important;border-radius:16px!important;background:linear-gradient(145deg,#9875ff,#5a3ed1 65%,#385bd4)!important;font-size:20px!important;box-shadow:0 8px 24px rgba(102,74,230,.35),inset 0 1px 0 rgba(255,255,255,.35)!important}
.evr-profile-avatar:before{content:"";position:absolute;inset:-4px;border:1px solid rgba(174,148,255,.42);border-radius:19px;animation:evrAvatarRing388 4s ease-in-out infinite}
.evr-profile-avatar i{position:absolute;right:-2px;bottom:-2px;width:11px;height:11px;border:2px solid #10152b;border-radius:50%;background:#35e4ae;box-shadow:0 0 10px rgba(53,228,174,.8)}
.evr-profile-identity{display:flex!important;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;flex:1}
.evr-profile-kicker{color:#9c8bdf!important;font-size:8px!important;font-weight:850;letter-spacing:1.45px}
.evr-profile-identity b{max-width:100%;color:#f5f2ff;font-size:15px!important;font-weight:850;letter-spacing:-.35px}
.evr-profile-identity .evr-profile-email{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9ca7c2;font-size:10px!important}
.evr-profile-status{display:inline-flex;align-items:center;gap:5px;margin-top:4px;padding:4px 8px;border:1px solid rgba(49,214,166,.2);border-radius:20px;background:rgba(29,190,144,.08);color:#75e5c2;font-size:8px;font-weight:750}
.evr-profile-status i{width:5px;height:5px;border-radius:50%;background:#43e2b2;box-shadow:0 0 8px #43e2b2}
.evr-profile-spark{position:absolute;right:7px;top:5px;color:#b79aff;font-size:15px;animation:evrSpark388 3s ease-in-out infinite}
.evr-profile-balance{position:relative;display:flex;align-items:center;justify-content:space-between;margin:2px 1px 12px!important;padding:11px 12px!important;border:1px solid rgba(157,135,255,.2)!important;border-radius:13px!important;background:linear-gradient(105deg,rgba(108,79,218,.13),rgba(48,80,159,.09))!important;color:#aeb8d2!important;font-size:10px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.evr-profile-balance>span{display:flex;align-items:center;gap:7px}
.evr-balance-mini-icon{display:grid;place-items:center;width:20px;height:20px;border-radius:7px;background:rgba(141,112,255,.16);color:#c5b4ff;font-size:13px;font-style:normal}
.evr-profile-balance strong{color:#d5c7ff!important;font-size:12px;font-weight:850;font-variant-numeric:tabular-nums}
.evr-profile-menu-label{padding:1px 8px 6px;color:#6f7b9b;font-size:8px;font-weight:850;letter-spacing:1.4px}
.evr-profile-item{position:relative;display:flex!important;align-items:center;gap:10px!important;min-height:42px!important;margin:2px 0;padding:7px 8px!important;border:1px solid transparent!important;border-radius:12px!important;color:#cbd2e5!important;font-size:11px!important;font-weight:650!important;transition:background .22s,border-color .22s,transform .22s,color .22s!important}
.evr-profile-item>span{flex:1}
.evr-profile-item>b{margin-left:auto;color:#7783a5;font-size:19px;font-weight:400;transition:transform .2s,color .2s}
.evr-profile-item-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border:1px solid rgba(151,128,255,.2);border-radius:9px;background:linear-gradient(145deg,rgba(131,102,255,.19),rgba(57,82,160,.12));color:#c7b8ff;font-size:14px;font-style:normal;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.evr-profile-item:hover{transform:translateX(2px);border-color:rgba(150,126,255,.2)!important;background:linear-gradient(100deg,rgba(125,91,255,.16),rgba(71,93,171,.08))!important;color:#fff!important}
.evr-profile-item:hover .evr-profile-item-icon{background:linear-gradient(145deg,rgba(143,112,255,.35),rgba(71,97,190,.2));color:#fff;box-shadow:0 0 16px rgba(126,98,255,.16)}
.evr-profile-item:hover>b{transform:translateX(3px);color:#c5b5ff}
.evr-profile-menu-label-bottom{margin-top:7px;padding-top:10px;border-top:1px solid rgba(150,160,195,.1)}
.evr-profile-logout{color:#d6aab8!important}
.evr-profile-logout .evr-profile-item-icon{border-color:rgba(255,110,142,.17);background:rgba(255,83,122,.07);color:#ff9db2}
.evr-profile-logout:hover{border-color:rgba(255,104,137,.18)!important;background:rgba(255,70,105,.09)!important;color:#ffb4c3!important}
@keyframes evrMenuGlow388{from{opacity:.55;transform:scale(.85)}to{opacity:1;transform:scale(1.15)}}
@keyframes evrAvatarRing388{0%,100%{opacity:.45;transform:scale(.98)}50%{opacity:1;transform:scale(1.06)}}
@keyframes evrSpark388{0%,100%{opacity:.45;transform:scale(.85) rotate(0)}50%{opacity:1;transform:scale(1.15) rotate(25deg)}}
@media(max-width:700px){.evr-profile-dropdown{width:270px!important;right:-2px!important;padding:13px!important;border-radius:20px!important}.evr-profile-head{padding:10px 7px 15px!important}.evr-profile-item{min-height:43px!important}}
@media(prefers-reduced-motion:reduce){.evr-profile-glow,.evr-profile-avatar:before,.evr-profile-spark{animation:none!important}}


/* V39.1 — final desktop header and chat alignment override */
@media(min-width:701px){
 body.dashboard-page .app{display:flex!important;align-items:stretch!important}
 body.dashboard-page .main{
  display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
  align-items:stretch!important;gap:0!important;
  margin-top:0!important;padding-top:16px!important;
  min-height:100vh!important;height:auto!important;box-sizing:border-box!important
 }
 body.dashboard-page .main>header{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  position:static!important;top:auto!important;transform:none!important;
  height:66px!important;min-height:66px!important;max-height:66px!important;
  flex:0 0 66px!important;margin:0 0 14px!important;padding:0!important
 }
 body.dashboard-page .main>header>div:first-child{align-self:center!important;margin:0!important}
 body.dashboard-page .main>.dev-notice{position:static!important;flex:0 0 auto!important;margin:0 0 12px!important}
 body.dashboard-page .main>#view{display:flex!important;flex:1 1 auto!important;min-height:0!important;margin:0!important;padding:0!important}
 body.dashboard-page .main:has(#view .chat-layout) .view-card{flex:1 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important}
 body.dashboard-page .main:has(#view .chat-layout) .chat-toolbar{margin:0 0 10px!important}
 body.dashboard-page .main:has(#view .chat-layout) .chat-layout{flex:1 1 auto!important;height:auto!important;min-height:520px!important;margin:0 0 12px!important}
}


/* V39.2 — actual authenticated dashboard layout (body.dashboard-page) */
@media (min-width:701px){
  html body.dashboard-page .app{
    display:flex!important;align-items:stretch!important;
    min-height:100vh!important;height:auto!important;
  }
  html body.dashboard-page .app>.main{
    position:relative!important;top:0!important;transform:none!important;
    display:flex!important;flex:1 1 0!important;flex-direction:column!important;
    justify-content:flex-start!important;align-self:stretch!important;
    min-width:0!important;width:auto!important;max-width:none!important;
    min-height:100vh!important;height:auto!important;
    margin:0!important;padding:18px clamp(18px,2.5vw,40px) 20px!important;
    box-sizing:border-box!important;gap:0!important;
  }
  html body.dashboard-page .app>.main>header{
    position:relative!important;inset:auto!important;top:auto!important;
    display:flex!important;flex:0 0 auto!important;
    align-items:center!important;justify-content:space-between!important;
    height:66px!important;min-height:66px!important;max-height:66px!important;
    margin:0 0 14px!important;padding:0!important;transform:none!important;
  }
  html body.dashboard-page .app>.main>.dev-notice{
    position:relative!important;inset:auto!important;flex:0 0 auto!important;
    margin:0 0 12px!important;transform:none!important;
  }
  html body.dashboard-page .app>.main>#view{
    position:relative!important;display:flex!important;flex:1 1 auto!important;
    flex-direction:column!important;min-height:0!important;
    margin:0!important;padding:0!important;transform:none!important;
  }
  html body.dashboard-page .app>.main>#view>.view-card{
    display:flex!important;flex:1 1 auto!important;flex-direction:column!important;
    width:100%!important;height:auto!important;min-height:0!important;
    max-height:none!important;margin:0!important;overflow:hidden!important;
  }
  html body.dashboard-page .app>.main>#view .view-top{
    flex:0 0 auto!important;padding:12px 24px 6px!important;
  }
  html body.dashboard-page .app>.main>#view .chat-toolbar{
    flex:0 0 auto!important;margin:8px 24px 10px!important;padding:0!important;
  }
  html body.dashboard-page .app>.main>#view .chat-layout{
    display:grid!important;grid-template-columns:235px minmax(0,1fr)!important;
    flex:1 1 auto!important;width:auto!important;height:auto!important;
    min-height:520px!important;max-height:none!important;
    margin:0 24px 20px!important;overflow:hidden!important;
  }
}
@media(max-width:700px){
  html body.dashboard-page .app>.main{padding-top:12px!important}
  html body.dashboard-page .app>.main>header{margin-bottom:12px!important}
  html body.dashboard-page .app>.main>#view .chat-layout{min-height:460px!important}
}


/* V39.3 — centered narrower workspace and restored account/profile control */
@media(min-width:701px){
  html body.dashboard-page .app{
    display:flex!important;
    justify-content:center!important;
    align-items:stretch!important;
    width:100%!important;
  }
  html body.dashboard-page .app>.main{
    flex:0 1 1480px!important;
    width:min(100%,1480px)!important;
    max-width:1480px!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:24px!important;
    padding-right:24px!important;
  }
  html body.dashboard-page .app>.main>header{
    width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }
  html body.dashboard-page .app>.main>header .header-tools{
    display:flex!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:12px!important;
    width:auto!important;
    min-width:0!important;
    margin-left:auto!important;
    overflow:visible!important;
  }
  html body.dashboard-page .app>.main>header .dashboard-profile{
    display:block!important;
    position:relative!important;
    inset:auto!important;
    flex:0 0 auto!important;
    order:2!important;
    width:auto!important;
    min-width:0!important;
    visibility:visible!important;
    opacity:1!important;
    z-index:300!important;
  }
  html body.dashboard-page .app>.main>header .dashboard-profile .profile-trigger{
    display:flex!important;
    align-items:center!important;
    visibility:visible!important;
    opacity:1!important;
    min-width:230px!important;
    max-width:280px!important;
    width:auto!important;
  }
  html body.dashboard-page .app>.main>header .dashboard-profile .profile-trigger-text{
    display:grid!important;
  }
  html body.dashboard-page .app>.main>header .dashboard-profile .profile-dropdown{
    position:absolute!important;
    top:calc(100% + 10px)!important;
    right:0!important;
    left:auto!important;
    z-index:9999!important;
  }
  html body.dashboard-page .app>.main>#view .chat-layout{
    margin-left:18px!important;
    margin-right:18px!important;
  }
}
@media(max-width:700px){
  html body.dashboard-page .app>.main>header .header-tools{
    display:flex!important;align-items:center!important;gap:6px!important;
  }
  html body.dashboard-page .app>.main>header .dashboard-profile{
    display:block!important;position:relative!important;visibility:visible!important;opacity:1!important;
  }
  html body.dashboard-page .app>.main>header .dashboard-profile .profile-trigger{
    display:flex!important;visibility:visible!important;opacity:1!important;min-width:0!important;
  }
}


/* V39.4 — animated Evruni account pill */
.dashboard-page .dashboard-profile{isolation:isolate}
.dashboard-page .dashboard-profile .profile-trigger{
  position:relative!important;isolation:isolate;overflow:hidden;
  gap:10px!important;min-width:258px!important;max-width:300px!important;
  padding:7px 11px 7px 10px!important;
  border:1px solid rgba(153,126,255,.32)!important;border-radius:17px!important;
  background:linear-gradient(112deg,rgba(18,23,43,.96),rgba(10,17,31,.94) 55%,rgba(31,24,67,.9))!important;
  box-shadow:0 8px 28px rgba(0,0,0,.28),0 0 22px rgba(117,85,255,.11),inset 0 1px 0 rgba(255,255,255,.09)!important;
  transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease!important;
  animation:evrProfileBreathe394 5.5s ease-in-out infinite;
}
.dashboard-page .dashboard-profile .profile-trigger:before{
  content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(105deg,transparent 15%,rgba(170,146,255,.13) 48%,transparent 72%);
  transform:translateX(-120%);animation:evrProfileSweep394 6s ease-in-out infinite;
}
.dashboard-page .dashboard-profile .profile-trigger:hover,
.dashboard-page .dashboard-profile.open .profile-trigger{
  transform:translateY(-1px)!important;border-color:rgba(177,151,255,.66)!important;
  box-shadow:0 12px 32px rgba(0,0,0,.34),0 0 28px rgba(117,85,255,.22),inset 0 1px 0 rgba(255,255,255,.14)!important;
}
.dashboard-page .dashboard-profile .profile-credits{
  position:relative;gap:4px!important;padding:0 10px 0 1px!important;
  border-right:1px solid rgba(173,158,226,.2)!important;
}
.dashboard-page .dashboard-profile .profile-credits span{
  color:#d9d0ff!important;font-size:15px!important;font-weight:850!important;
  letter-spacing:-.3px!important;text-transform:none!important;
  text-shadow:0 0 14px rgba(163,135,255,.28);
}
.dashboard-page .dashboard-profile .profile-credits small{
  color:#fff!important;font-size:11px!important;font-weight:800!important;
}
.dashboard-page .dashboard-profile .profile-avatar:not(.large){
  position:relative;width:34px!important;height:34px!important;border-radius:12px!important;
  background:linear-gradient(145deg,#a58aff 0%,#7955ed 48%,#4b56cf 100%)!important;
  box-shadow:0 4px 15px rgba(114,82,238,.4),inset 0 1px 0 rgba(255,255,255,.42)!important;
  font-size:13px!important;
  animation:evrAvatarGlow394 4s ease-in-out infinite;
}
.dashboard-page .dashboard-profile .profile-avatar:not(.large):after{
  content:"";position:absolute;inset:-4px;border:1px solid rgba(183,157,255,.45);
  border-radius:15px;opacity:.65;animation:evrAvatarRing394 3.6s ease-in-out infinite;
}
.dashboard-page .dashboard-profile .profile-trigger-text{gap:2px!important}
.dashboard-page .dashboard-profile .profile-trigger-text b{
  color:#f7f5ff!important;font-size:11px!important;font-weight:850!important;letter-spacing:.05px;
}
.dashboard-page .dashboard-profile .profile-trigger-text small{
  color:#9da8c3!important;font-size:9px!important;
}
.dashboard-page .dashboard-profile .profile-chevron{
  color:#b9addf!important;font-size:15px!important;
  transition:transform .28s ease,color .28s ease!important;
}
.dashboard-page .dashboard-profile.open .profile-chevron{transform:rotate(180deg)!important;color:#e0d5ff!important}
@keyframes evrProfileBreathe394{
  0%,100%{box-shadow:0 8px 28px rgba(0,0,0,.28),0 0 15px rgba(117,85,255,.08),inset 0 1px 0 rgba(255,255,255,.09)}
  50%{box-shadow:0 8px 28px rgba(0,0,0,.28),0 0 25px rgba(117,85,255,.17),inset 0 1px 0 rgba(255,255,255,.12)}
}
@keyframes evrProfileSweep394{0%,60%,100%{transform:translateX(-120%)}82%{transform:translateX(120%)}}
@keyframes evrAvatarGlow394{0%,100%{filter:brightness(1)}50%{filter:brightness(1.13)}}
@keyframes evrAvatarRing394{0%,100%{transform:scale(.98);opacity:.35}50%{transform:scale(1.08);opacity:.9}}
@media(max-width:700px){
 .dashboard-page .dashboard-profile .profile-trigger{min-width:0!important;gap:7px!important;padding:6px 8px!important}
 .dashboard-page .dashboard-profile .profile-trigger-text{display:none!important}
 .dashboard-page .dashboard-profile .profile-credits{padding-right:7px!important}
}
@media(prefers-reduced-motion:reduce){
 .dashboard-page .dashboard-profile .profile-trigger,
 .dashboard-page .dashboard-profile .profile-trigger:before,
 .dashboard-page .dashboard-profile .profile-avatar:not(.large),
 .dashboard-page .dashboard-profile .profile-avatar:not(.large):after{animation:none!important}
}


/* V39.5 — premium global search + Evruni notification center */
.dashboard-page .header-tools{gap:12px!important;align-items:center!important}
.dashboard-page .global-search-wrap{
  position:relative!important;width:min(330px,30vw)!important;min-width:220px;
  isolation:isolate;
}
.dashboard-page .global-search-wrap:before{
  content:"⌕";position:absolute;left:14px;top:50%;z-index:2;
  transform:translateY(-54%);color:#9f8be8;font-size:22px;line-height:1;
  pointer-events:none;text-shadow:0 0 12px rgba(155,126,255,.35);
}
.dashboard-page .global-search-wrap:after{
  content:"";position:absolute;inset:-1px;border-radius:16px;padding:1px;
  background:linear-gradient(115deg,rgba(145,116,255,.5),rgba(74,113,205,.16),rgba(145,116,255,.34));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;opacity:.42;
  pointer-events:none;transition:opacity .25s ease;
}
.dashboard-page .global-search-input{
  position:relative;z-index:1;width:100%!important;height:46px!important;
  padding:0 16px 0 43px!important;border:1px solid rgba(139,151,190,.2)!important;
  border-radius:15px!important;
  background:linear-gradient(110deg,rgba(13,18,34,.94),rgba(9,16,29,.88))!important;
  color:#f1efff!important;font-size:13px!important;font-weight:550;
  box-shadow:0 8px 24px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.045)!important;
  transition:border-color .25s ease,box-shadow .25s ease,background .25s ease!important;
}
.dashboard-page .global-search-input::placeholder{color:#7e8aa5!important;opacity:1}
.dashboard-page .global-search-wrap:focus-within:after{opacity:1}
.dashboard-page .global-search-input:focus{
  border-color:rgba(165,140,255,.66)!important;
  background:linear-gradient(110deg,rgba(18,22,43,.98),rgba(11,19,37,.96))!important;
  box-shadow:0 0 0 3px rgba(130,100,255,.12),0 10px 28px rgba(0,0,0,.26),0 0 24px rgba(123,91,255,.14)!important;
}
.dashboard-page .global-search-results{
  width:390px!important;max-width:min(390px,calc(100vw - 30px))!important;
  padding:9px!important;border:1px solid rgba(151,127,255,.28)!important;
  border-radius:17px!important;
  background:linear-gradient(145deg,rgba(15,19,38,.98),rgba(7,13,25,.98))!important;
  box-shadow:0 22px 65px rgba(0,0,0,.48),0 0 26px rgba(112,83,255,.12)!important;
}
.dashboard-page .global-search-result{
  grid-template-columns:32px minmax(0,1fr)!important;gap:2px 9px!important;
  padding:11px 10px!important;border:1px solid transparent!important;
  border-radius:12px!important;transition:background .2s,border-color .2s,transform .2s!important;
}
.dashboard-page .global-search-result:hover{
  transform:translateX(2px);border-color:rgba(154,129,255,.17)!important;
  background:linear-gradient(100deg,rgba(126,94,255,.15),rgba(57,87,159,.08))!important;
}
.dashboard-page .global-search-result span{
  display:grid;place-items:center;width:28px;height:28px;border-radius:9px;
  background:rgba(137,108,255,.15);color:#c6b7ff!important;
}
.dashboard-page .global-search-result b{color:#f1efff!important;font-size:12px!important}
.dashboard-page .global-search-result small{color:#8d9ab7!important;font-size:10px!important}

/* Notification / Evruni Center launcher */
.evruni-center{right:22px!important;top:22px!important;z-index:1400!important}
.evruni-center-btn{
  display:grid!important;place-items:center!important;width:46px!important;height:46px!important;
  border:1px solid rgba(153,128,255,.27)!important;border-radius:15px!important;
  background:linear-gradient(145deg,rgba(23,27,49,.96),rgba(10,16,31,.94))!important;
  color:#e8e1ff!important;
  box-shadow:0 9px 26px rgba(0,0,0,.28),0 0 18px rgba(126,94,255,.12),inset 0 1px 0 rgba(255,255,255,.1)!important;
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease!important;
  animation:evrNotifyPulse395 5s ease-in-out infinite;
}
.evruni-center-btn:before{
  content:"";position:absolute;inset:-5px;border:1px solid rgba(162,137,255,.2);
  border-radius:19px;opacity:.45;pointer-events:none;animation:evrNotifyHalo395 4s ease-in-out infinite;
}
.evruni-center-btn:hover,.evruni-center.open .evruni-center-btn{
  transform:translateY(-2px) rotate(-3deg)!important;border-color:rgba(182,157,255,.68)!important;
  box-shadow:0 13px 32px rgba(0,0,0,.32),0 0 27px rgba(132,98,255,.26),inset 0 1px 0 rgba(255,255,255,.16)!important;
}
.evruni-center-icon{font-size:19px!important;color:#e7dcff!important;opacity:1!important;text-shadow:0 0 13px rgba(177,149,255,.7);transition:transform .25s ease}
.evruni-center-btn:hover .evruni-center-icon{transform:rotate(35deg) scale(1.12)}
.evruni-center-badge{
  min-width:18px!important;height:18px!important;padding:0 5px!important;
  border:2px solid #10152b!important;border-radius:12px!important;
  background:linear-gradient(135deg,#ff8ba9,#e34f83)!important;color:#fff!important;
  font-size:9px!important;font-weight:850!important;box-shadow:0 0 12px rgba(238,87,139,.42)!important;
}
.evruni-center-panel{
  top:56px!important;width:350px!important;max-width:calc(100vw - 28px)!important;
  border:1px solid rgba(151,127,255,.28)!important;border-radius:19px!important;
  background:linear-gradient(145deg,rgba(16,20,40,.98),rgba(7,13,26,.98))!important;
  box-shadow:0 24px 70px rgba(0,0,0,.5),0 0 30px rgba(113,82,255,.13)!important;
  backdrop-filter:blur(24px) saturate(140%)!important;
}
.evruni-center-head{border-bottom:1px solid rgba(155,145,197,.13)!important}
@keyframes evrNotifyPulse395{0%,100%{box-shadow:0 9px 26px rgba(0,0,0,.28),0 0 13px rgba(126,94,255,.1),inset 0 1px 0 rgba(255,255,255,.1)}50%{box-shadow:0 9px 26px rgba(0,0,0,.28),0 0 24px rgba(126,94,255,.22),inset 0 1px 0 rgba(255,255,255,.14)}}
@keyframes evrNotifyHalo395{0%,100%{transform:scale(.98);opacity:.25}50%{transform:scale(1.08);opacity:.8}}
@media(max-width:700px){
 .dashboard-page .header-tools{gap:7px!important}
 .dashboard-page .global-search-wrap{width:min(210px,42vw)!important;min-width:120px}
 .dashboard-page .global-search-input{height:40px!important;padding-left:37px!important;font-size:11px!important}
 .dashboard-page .global-search-wrap:before{left:11px;font-size:19px}
 .evruni-center{right:10px!important;top:68px!important}
 .evruni-center-btn{width:40px!important;height:40px!important;border-radius:13px!important}
}
@media(prefers-reduced-motion:reduce){
 .evruni-center-btn,.evruni-center-btn:before{animation:none!important}
}


/* V39.6 — simplified composer controls: mic icon only, no voice playback/toggle */
.chat-composer-actions .chat-voice-actions{display:flex!important;align-items:center!important;gap:8px!important}
.chat-composer-actions .chat-mic-icon-only{
  display:inline-grid!important;place-items:center!important;
  width:46px!important;min-width:46px!important;height:44px!important;
  padding:0!important;border-radius:13px!important;
  border:1px solid rgba(151,126,255,.28)!important;
  background:linear-gradient(145deg,rgba(105,79,202,.18),rgba(43,58,112,.16))!important;
  color:#d9ceff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 5px 16px rgba(0,0,0,.16)!important;
  transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease!important;
}
.chat-composer-actions .chat-mic-icon-only svg{
  display:block;width:20px;height:20px;fill:none;stroke:currentColor;
  stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.chat-composer-actions .chat-mic-icon-only:hover{
  transform:translateY(-1px);border-color:rgba(184,160,255,.65)!important;
  background:linear-gradient(145deg,rgba(128,96,238,.3),rgba(55,78,151,.22))!important;
  box-shadow:0 0 20px rgba(127,96,255,.18),inset 0 1px 0 rgba(255,255,255,.12)!important;
}
.chat-composer-actions .chat-mic-icon-only.is-recording{
  border-color:rgba(255,104,133,.7)!important;background:rgba(166,48,83,.22)!important;
  color:#ff9bb0!important;box-shadow:0 0 0 3px rgba(255,90,125,.1),0 0 18px rgba(255,75,110,.2)!important;
  animation:evrMicRecording396 1.15s ease-in-out infinite;
}
.chat-composer-actions .chat-mic-icon-only:disabled{opacity:.5;cursor:wait}
@keyframes evrMicRecording396{0%,100%{box-shadow:0 0 0 2px rgba(255,90,125,.08),0 0 10px rgba(255,75,110,.12)}50%{box-shadow:0 0 0 5px rgba(255,90,125,.13),0 0 22px rgba(255,75,110,.25)}}
@media(prefers-reduced-motion:reduce){.chat-composer-actions .chat-mic-icon-only.is-recording{animation:none!important}}


/* Evruni V39.7 — genuinely larger welcome sphere (overrides legacy compact viewport rules) */
.main:has(.chat-layout) .messages .evruni-empty-studio{
  width:min(100%,980px)!important;max-width:980px!important;
  padding:18px 20px 24px!important;gap:0!important;
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere-wrap{
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;width:100%!important;max-width:620px!important;
  flex:0 0 clamp(300px,42vh,440px)!important;
  min-height:clamp(300px,42vh,440px)!important;height:clamp(300px,42vh,440px)!important;
  max-height:none!important;margin:0 auto 12px!important;overflow:visible!important;
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere{
  display:block!important;position:relative!important;flex:0 0 auto!important;
  width:clamp(270px,29vw,390px)!important;height:clamp(270px,29vw,390px)!important;
  border-radius:50%!important;
  background:radial-gradient(circle at 35% 29%,#fff 0 1.5%,#d8f8ff 2.4%,#78dfff 7%,#397df7 17%,#3425b2 39%,#171044 64%,#080a19 78%,#050711 100%)!important;
  box-shadow:0 0 35px rgba(76,185,255,.42),0 0 85px rgba(62,92,255,.34),0 0 155px rgba(110,65,255,.28),inset -28px -34px 55px rgba(0,0,0,.72),inset 12px 10px 30px rgba(155,225,255,.16)!important;
  animation:evruniSphereFloat 5.4s ease-in-out infinite,evruniSpherePulse397 4.8s ease-in-out infinite!important;
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere:before{
  content:"";position:absolute;inset:-2px;border-radius:50%;pointer-events:none;
  border:1px solid rgba(102,190,255,.58);box-shadow:0 0 22px rgba(72,156,255,.42),inset 0 0 18px rgba(129,123,255,.2);
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere:after{
  content:"";position:absolute;inset:-18%;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(78,117,255,.18),rgba(107,64,255,.09) 48%,transparent 72%);
  filter:blur(12px);z-index:-1;
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-sphere-core{
  inset:12%!important;background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.46),rgba(111,206,255,.12) 22%,transparent 52%)!important;filter:blur(10px)!important;
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-backdrop i{
  width:78%!important;height:48%!important;left:11%!important;top:22%!important;
  border-color:rgba(126,105,255,.27)!important;box-shadow:0 0 22px rgba(111,83,255,.08);
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-backdrop i:nth-child(2){
  width:88%!important;height:38%!important;left:6%!important;top:27%!important;
  border-color:rgba(75,173,255,.22)!important;
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-backdrop i:nth-child(3){
  width:58%!important;height:66%!important;left:21%!important;top:8%!important;
  border-color:rgba(160,111,255,.19)!important;
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-copy{margin-top:0!important}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-kicker{font-size:11px!important;letter-spacing:.22em!important;margin-bottom:12px!important}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-copy h3{font-size:clamp(23px,2.1vw,32px)!important;line-height:1.2!important;margin:0 0 9px!important}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-copy p{font-size:clamp(13px,1.1vw,16px)!important;line-height:1.5!important}
@keyframes evruniSpherePulse397{
  0%,100%{filter:saturate(1);box-shadow:0 0 35px rgba(76,185,255,.42),0 0 85px rgba(62,92,255,.34),0 0 155px rgba(110,65,255,.28),inset -28px -34px 55px rgba(0,0,0,.72),inset 12px 10px 30px rgba(155,225,255,.16)}
  50%{filter:saturate(1.22) brightness(1.08);box-shadow:0 0 48px rgba(76,185,255,.52),0 0 110px rgba(62,92,255,.42),0 0 185px rgba(110,65,255,.34),inset -28px -34px 55px rgba(0,0,0,.72),inset 12px 10px 30px rgba(155,225,255,.2)}
}
@media(max-width:850px){
 .main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere-wrap{flex-basis:clamp(245px,34vh,340px)!important;min-height:clamp(245px,34vh,340px)!important;height:clamp(245px,34vh,340px)!important}
 .main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere{width:clamp(220px,48vw,310px)!important;height:clamp(220px,48vw,310px)!important}
 .main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-copy h3{font-size:clamp(20px,4vw,27px)!important}
}
@media(max-width:560px){
 .main:has(.chat-layout) .messages .evruni-empty-studio{padding:8px 4px 14px!important}
 .main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere-wrap{flex-basis:245px!important;min-height:245px!important;height:245px!important;margin-bottom:4px!important}
 .main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere{width:min(220px,62vw)!important;height:min(220px,62vw)!important}
 .main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-kicker{font-size:9px!important;margin-bottom:8px!important}
 .main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-copy h3{font-size:20px!important}
 .main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-copy p{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere{animation:none!important}}


/* V39.8 — balanced welcome composition: keep sphere, title and hint fully visible */
.main:has(.chat-layout) .messages:has(.evruni-empty-studio){
  overflow:auto!important;
  align-items:center!important;
  justify-content:center!important;
  padding:10px 18px!important;
  box-sizing:border-box!important;
}
.main:has(.chat-layout) .messages .evruni-empty-studio{
  width:min(100%,760px)!important;max-width:760px!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  flex:0 0 auto!important;
  padding:8px 16px 18px!important;margin:auto!important;
  gap:0!important;overflow:visible!important;
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere-wrap{
  flex:0 0 clamp(205px,34vh,270px)!important;
  width:100%!important;max-width:420px!important;
  min-height:clamp(205px,34vh,270px)!important;
  height:clamp(205px,34vh,270px)!important;
  margin:0 auto 4px!important;overflow:visible!important;
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere{
  width:clamp(185px,31vh,250px)!important;
  height:clamp(185px,31vh,250px)!important;
  box-shadow:0 0 28px rgba(76,185,255,.4),0 0 65px rgba(62,92,255,.3),0 0 105px rgba(110,65,255,.2),inset -22px -27px 42px rgba(0,0,0,.72),inset 10px 9px 24px rgba(155,225,255,.16)!important;
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-copy{
  position:relative!important;z-index:2!important;
  width:100%!important;margin:0 auto!important;padding:0 8px!important;
  text-align:center!important;
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-kicker{
  display:inline-flex!important;align-items:center;justify-content:center;
  font-size:10px!important;letter-spacing:.19em!important;margin:0 0 9px!important;
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-copy h3{
  font-size:clamp(21px,2vw,28px)!important;line-height:1.18!important;
  margin:0 0 7px!important;text-wrap:balance;
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-copy p{
  font-size:clamp(12px,1vw,14px)!important;line-height:1.45!important;
  margin:0!important;color:#98a4c0!important;
}
@media(max-height:650px) and (min-width:561px){
 .main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere-wrap{
  flex-basis:clamp(155px,30vh,205px)!important;
  min-height:clamp(155px,30vh,205px)!important;height:clamp(155px,30vh,205px)!important
 }
 .main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere{
  width:clamp(145px,28vh,190px)!important;height:clamp(145px,28vh,190px)!important
 }
 .main:has(.chat-layout) .messages .evruni-empty-studio{padding:4px 12px 8px!important}
}
@media(max-width:560px){
 .main:has(.chat-layout) .messages:has(.evruni-empty-studio){padding:8px 8px!important}
 .main:has(.chat-layout) .messages .evruni-empty-studio{padding:4px 4px 12px!important;width:100%!important}
 .main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere-wrap{
  flex-basis:clamp(175px,27vh,220px)!important;
  min-height:clamp(175px,27vh,220px)!important;height:clamp(175px,27vh,220px)!important
 }
 .main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere{
  width:clamp(165px,52vw,205px)!important;height:clamp(165px,52vw,205px)!important
 }
 .main:has(.chat-layout) .messages .evruni-empty-studio .evruni-studio-copy h3{font-size:20px!important}
}


/* V39.9 — softer, less saturated Evruni welcome sphere */
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere{
  background:radial-gradient(circle at 35% 29%,
    #e6f3f7 0 1.5%,
    #c2e0e9 2.5%,
    #7eafc9 8%,
    #527bb8 19%,
    #41458e 40%,
    #25234f 66%,
    #111426 82%,
    #090d19 100%)!important;
  box-shadow:
    0 0 20px rgba(91,151,185,.24),
    0 0 48px rgba(76,91,166,.19),
    0 0 82px rgba(91,73,151,.13),
    inset -22px -27px 42px rgba(0,0,0,.76),
    inset 10px 9px 24px rgba(183,215,226,.10)!important;
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere:before{
  border-color:rgba(135,180,204,.34)!important;
  box-shadow:0 0 14px rgba(94,151,184,.22),inset 0 0 14px rgba(125,132,188,.12)!important;
}
.main:has(.chat-layout) .messages .evruni-empty-studio .evruni-ai-sphere:after{
  background:radial-gradient(circle,rgba(76,112,171,.12),rgba(89,76,143,.055) 48%,transparent 72%)!important;
  filter:blur(14px)!important;
}


/* V40.3 — restore the original full-height desktop chat workspace */
@media (min-width: 851px){
  html body.dashboard-page .main:has(.chat-layout) .chat-layout{
    height:auto!important;
    min-height:650px!important;
    max-height:none!important;
    flex:0 0 auto!important;
  }
  html body.dashboard-page .main:has(.chat-layout) .chat-panel{
    height:auto!important;
    min-height:650px!important;
  }
  html body.dashboard-page .main:has(.chat-layout) .messages{
    min-height:430px!important;
  }
  html body.dashboard-page .main:has(.chat-layout) .chat-composer{
    min-height:174px!important;
  }
  html body.dashboard-page .main:has(.chat-layout) .chat-composer textarea{
    min-height:92px!important;
  }
}


/* V40.3 FIX — restore full-height desktop chat panel (cache-busted in index.php). */
@media screen and (min-width:851px){
  html body.dashboard-page .app>.main{
    min-height:100vh!important;
    height:auto!important;
    align-self:stretch!important;
  }
  html body.dashboard-page .app>.main>#view{
    display:flex!important;
    flex:1 0 auto!important;
    flex-direction:column!important;
    min-height:720px!important;
    height:auto!important;
    overflow:visible!important;
  }
  html body.dashboard-page .app>.main>#view>.view-card{
    display:flex!important;
    flex:0 0 auto!important;
    flex-direction:column!important;
    height:auto!important;
    min-height:720px!important;
    max-height:none!important;
    overflow:visible!important;
  }
  html body.dashboard-page .app>.main>#view .chat-layout{
    display:grid!important;
    grid-template-columns:235px minmax(0,1fr)!important;
    flex:0 0 auto!important;
    width:auto!important;
    height:auto!important;
    min-height:680px!important;
    max-height:none!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app>.main>#view .chat-panel{
    display:flex!important;
    flex-direction:column!important;
    height:auto!important;
    min-height:680px!important;
    overflow:visible!important;
  }
  html body.dashboard-page .app>.main>#view .messages{
    flex:1 1 auto!important;
    min-height:420px!important;
    max-height:none!important;
    overflow-y:auto!important;
  }
  html body.dashboard-page .app>.main>#view .chat-composer{
    position:relative!important;
    flex:0 0 auto!important;
    min-height:174px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    visibility:visible!important;
    opacity:1!important;
  }
  html body.dashboard-page .app>.main>#view .chat-composer textarea{
    min-height:76px!important;
  }
}


/* V40.3 final desktop chat sizing: fill the available viewport instead of relying on min-height alone. */
@media (min-width: 851px){
  html body.dashboard-page,
  html body.dashboard-page .app{
    min-height:100dvh!important;
    height:100dvh!important;
  }
  html body.dashboard-page .app>.main{
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    min-height:0!important;
    height:100dvh!important;
    max-height:none!important;
    overflow:visible!important;
  }
  html body.dashboard-page .app>.main>#view{
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    min-height:0!important;
    height:0!important;
    overflow:visible!important;
  }
  html body.dashboard-page .app>.main>#view>.view-card{
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    height:0!important;
    min-height:560px!important;
    max-height:none!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app>.main>#view .view-top,
  html body.dashboard-page .app>.main>#view .chat-toolbar{
    flex:0 0 auto!important;
  }
  html body.dashboard-page .app>.main>#view .chat-layout{
    display:grid!important;
    grid-template-columns:235px minmax(0,1fr)!important;
    flex:1 1 0!important;
    width:auto!important;
    height:0!important;
    min-height:430px!important;
    max-height:none!important;
    margin:0 18px 18px!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app>.main>#view .chat-panel{
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app>.main>#view .messages{
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    min-height:0!important;
    height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
  }
  html body.dashboard-page .app>.main>#view .chat-composer{
    display:flex!important;
    flex:0 0 auto!important;
    min-height:150px!important;
    position:relative!important;
    visibility:visible!important;
    opacity:1!important;
  }
  html body.dashboard-page .app>.main>#view .chat-composer textarea{
    min-height:76px!important;
  }
}


/* Evruni V40.3 FINAL — authenticated dashboard viewport layout.
   This block is intentionally last so older V39/V40 min-height rules cannot override it. */
@media (min-width: 851px){
  html body.dashboard-page{
    height:100dvh!important;
    min-height:100dvh!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app{
    display:flex!important;
    align-items:stretch!important;
    height:100dvh!important;
    min-height:100dvh!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app>.main{
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    align-self:stretch!important;
    box-sizing:border-box!important;
    height:100dvh!important;
    min-height:0!important;
    max-height:100dvh!important;
    overflow:hidden!important;
    padding-top:18px!important;
    padding-bottom:18px!important;
  }
  html body.dashboard-page .app>.main>header{
    flex:0 0 66px!important;
    height:66px!important;
    min-height:66px!important;
    max-height:66px!important;
    margin:0 0 14px!important;
  }
  html body.dashboard-page .app>.main>.dev-notice{
    flex:0 0 auto!important;
    margin:0 0 12px!important;
  }
  html body.dashboard-page .app>.main>#view{
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    height:0!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app>.main>#view>.view-card{
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    width:100%!important;
    height:0!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app>.main>#view .view-top{
    flex:0 0 auto!important;
    padding:12px 24px 6px!important;
  }
  html body.dashboard-page .app>.main>#view .chat-toolbar{
    flex:0 0 44px!important;
    min-height:44px!important;
    margin:8px 24px 10px!important;
    padding:0!important;
  }
  html body.dashboard-page .app>.main>#view .chat-layout{
    display:grid!important;
    grid-template-columns:235px minmax(0,1fr)!important;
    flex:1 1 0!important;
    width:auto!important;
    height:0!important;
    min-height:0!important;
    max-height:none!important;
    margin:0 18px 18px!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app>.main>#view .thread-list{
    min-height:0!important;
    height:100%!important;
    overflow-y:auto!important;
  }
  html body.dashboard-page .app>.main>#view .chat-panel{
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app>.main>#view .messages{
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    height:0!important;
    min-height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
  }
  html body.dashboard-page .app>.main>#view .chat-composer{
    display:flex!important;
    flex:0 0 auto!important;
    min-height:142px!important;
    position:relative!important;
    visibility:visible!important;
    opacity:1!important;
  }
  html body.dashboard-page .app>.main>#view .chat-composer textarea{
    min-height:70px!important;
  }
}


/* V40.3 — keep the floating daily gift launcher behind the support chat. */
html body .evr-daily-gift{
  z-index:1000!important;
}
html body .evruni-assistant{
  position:fixed!important;
  z-index:2147483000!important;
}
html body .evruni-assistant-panel{
  position:absolute!important;
  z-index:2147483001!important;
  isolation:isolate!important;
}
html body .evruni-assistant-launcher{
  position:relative!important;
  z-index:1!important;
}

/* Keep the chat microphone button strictly icon-only. */
#chatMic.chat-mic-icon-only{
  display:inline-grid!important;place-items:center!important;
  width:46px!important;min-width:46px!important;max-width:46px!important;
  height:44px!important;max-height:44px!important;
  padding:0!important;overflow:hidden!important;font-size:0!important;line-height:0!important;
  white-space:nowrap!important;
}
#chatMic.chat-mic-icon-only span,
#chatMic.chat-mic-icon-only:not(:has(svg))::after{display:none!important;content:none!important}
#chatMic.chat-mic-icon-only svg{display:block!important;width:20px!important;height:20px!important;flex:none!important}

/* V40.3 hard fix: microphone button is SVG-only in every chat bundle. */
html body #chatMic.chat-mic-icon-only{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;position:relative!important;width:46px!important;min-width:46px!important;max-width:46px!important;
 height:44px!important;min-height:44px!important;max-height:44px!important;padding:0!important;margin:0!important;
 overflow:hidden!important;white-space:nowrap!important;font-size:0!important;line-height:0!important;text-indent:-9999px!important;
}
html body #chatMic.chat-mic-icon-only span,html body #chatMic.chat-mic-icon-only::after{display:none!important;content:none!important}
html body #chatMic.chat-mic-icon-only svg{position:absolute!important;inset:12px auto auto 12px!important;display:block!important;width:20px!important;height:20px!important;flex:none!important;overflow:visible!important;text-indent:0!important;}
html body #chatMic.chat-mic-icon-only svg rect,html body #chatMic.chat-mic-icon-only svg path{fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}


/* V40.3 — restore normal page scrolling on desktop dashboard.
   Sidebar remains independently fixed; content sections grow with their content. */
@media (min-width:851px){
  html body.dashboard-page{
    height:auto!important;
    min-height:100dvh!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
  html body.dashboard-page .app{
    display:flex!important;
    align-items:stretch!important;
    height:auto!important;
    min-height:100dvh!important;
    overflow:visible!important;
  }
  html body.dashboard-page .app>.main{
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    align-self:stretch!important;
    height:auto!important;
    min-height:100dvh!important;
    max-height:none!important;
    overflow:visible!important;
    padding-bottom:48px!important;
  }
  html body.dashboard-page .app>.main>#view{
    display:flex!important;
    flex:1 0 auto!important;
    flex-direction:column!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
  html body.dashboard-page .app>.main>#view>.view-card{
    display:flex!important;
    flex:0 0 auto!important;
    flex-direction:column!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
  html body.dashboard-page .app>.main>#view .chat-layout{
    flex:0 0 auto!important;
    height:auto!important;
    min-height:650px!important;
    max-height:none!important;
    overflow:visible!important;
  }
  html body.dashboard-page .app>.main>#view .chat-panel{
    height:auto!important;
    min-height:650px!important;
    overflow:visible!important;
  }
  html body.dashboard-page .app>.main>#view .messages{
    flex:0 0 auto!important;
    height:auto!important;
    min-height:430px!important;
    max-height:none!important;
    overflow:visible!important;
  }
  html body.dashboard-page .app>.main>#view .thread-list{
    height:auto!important;
    min-height:0!important;
    max-height:720px!important;
    overflow-y:auto!important;
  }
}


/* V40.3 — compact AI Chat height without changing other workspace sections. */
@media (min-width:851px){
  html body.dashboard-page .app>.main>#view .chat-layout{
    min-height:560px!important;
  }
  html body.dashboard-page .app>.main>#view .chat-panel{
    min-height:560px!important;
  }
  html body.dashboard-page .app>.main>#view .messages{
    min-height:330px!important;
  }
  html body.dashboard-page .app>.main>#view .chat-composer{
    min-height:130px!important;
  }
  html body.dashboard-page .app>.main>#view .chat-composer textarea{
    min-height:70px!important;
  }
}


/* V40.3 FIX 2 — explicit compact chat frame height (desktop only).
   A min-height alone did not reduce the frame because the flex layout kept expanding it. */
@media (min-width:851px){
  html body.dashboard-page .app>.main>#view .chat-layout{
    display:grid!important;
    flex:0 0 auto!important;
    height:clamp(540px,68vh,660px)!important;
    min-height:540px!important;
    max-height:660px!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app>.main>#view .chat-panel{
    display:flex!important;
    flex:1 1 auto!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app>.main>#view .messages{
    flex:1 1 0!important;
    height:0!important;
    min-height:0!important;
    max-height:none!important;
    overflow-y:auto!important;
  }
  html body.dashboard-page .app>.main>#view .thread-list{
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow-y:auto!important;
  }
  html body.dashboard-page .app>.main>#view .chat-composer{
    flex:0 0 auto!important;
    min-height:126px!important;
  }
}


/* V40.3 — lower the welcome sphere and text inside the empty chat viewport. */
@media (min-width:561px){
  html body.dashboard-page .main:has(.chat-layout) .messages:has(.evruni-empty-studio) .evruni-empty-studio{
    transform:translateY(42px)!important;
  }
}
@media (max-width:560px){
  html body.dashboard-page .main:has(.chat-layout) .messages:has(.evruni-empty-studio) .evruni-empty-studio{
    transform:translateY(18px)!important;
  }
}


/* V40.3 — larger AI Chat workspace; no inner scrollbar on the empty welcome screen. */
@media (min-width:851px){
  html body.dashboard-page .app>.main>#view .chat-layout{
    flex:0 0 auto!important;
    height:clamp(620px,calc(100dvh - 230px),820px)!important;
    min-height:620px!important;
    max-height:none!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app>.main>#view .chat-panel{
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app>.main>#view .messages:has(.evruni-empty-studio){
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:100%!important;
    min-height:0!important;
    max-height:100%!important;
    overflow:hidden!important;
    scrollbar-width:none!important;
  }
  html body.dashboard-page .app>.main>#view .messages:has(.evruni-empty-studio)::-webkit-scrollbar{
    display:none!important;
    width:0!important;
  }
  html body.dashboard-page .app>.main>#view .messages:has(.evruni-empty-studio) .evruni-empty-studio{
    transform:none!important;
    max-height:100%!important;
  }
}
@media (max-width:850px){
  html body.dashboard-page .app>.main>#view .messages:has(.evruni-empty-studio){
    overflow:hidden!important;
    scrollbar-width:none!important;
  }
  html body.dashboard-page .app>.main>#view .messages:has(.evruni-empty-studio)::-webkit-scrollbar{
    display:none!important;
    width:0!important;
  }
}


/* Evruni public landing: Trend Lab, Streamer and creator workflow showcases */
.evr-public-showcase{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.92fr);
  align-items:center;gap:clamp(28px,5vw,72px);width:min(1180px,calc(100% - 48px));
  margin:38px auto;padding:clamp(24px,4vw,52px);border:1px solid rgba(153,128,255,.22);
  border-radius:26px;background:radial-gradient(ellipse at 0% 0%,rgba(117,83,255,.16),transparent 48%),
  linear-gradient(135deg,rgba(17,20,42,.96),rgba(8,14,29,.96));
  box-shadow:0 22px 60px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.06);overflow:hidden;
}
.evr-public-showcase:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 15%,rgba(255,255,255,.025) 48%,transparent 70%)}
.evr-showcase-copy{position:relative;z-index:1;min-width:0}
.evr-showcase-kicker{display:inline-flex;align-items:center;gap:9px;color:#a994ff;font-size:10px;font-weight:850;letter-spacing:1.7px}
.evr-showcase-kicker i{width:7px;height:7px;border-radius:50%;background:#9b7bff;box-shadow:0 0 12px #9875ff}
.evr-showcase-copy h2,.evr-creator-loop h2{margin:15px 0 12px;color:#f2f0ff;font-size:clamp(27px,3.1vw,42px);line-height:1.08;letter-spacing:-1.3px}
.evr-showcase-copy>p,.evr-creator-loop-head>p{max-width:530px;margin:0;color:#aab4cc;font-size:14px;line-height:1.75}
.evr-showcase-points{display:grid;gap:11px;margin:22px 0 25px;padding:0;list-style:none}
.evr-showcase-points li{position:relative;padding-left:23px;color:#d2d8e9;font-size:12px;line-height:1.5}
.evr-showcase-points li:before{content:"✓";position:absolute;left:0;top:0;color:#a58aff;font-weight:900}
.evr-showcase-link{display:inline-flex;align-items:center;gap:18px;min-height:44px;padding:0 17px;border:1px solid rgba(194,174,255,.48);border-radius:13px;background:linear-gradient(110deg,#865cf5,#6351d9);box-shadow:0 9px 25px rgba(95,70,220,.24);color:#fff;text-decoration:none;font-size:12px;font-weight:850;transition:transform .2s,filter .2s}
.evr-showcase-link:hover{transform:translateY(-2px);filter:brightness(1.1)}
.evr-showcase-link b{font-size:17px}
.evr-trend-preview{position:relative;z-index:1;min-width:0;padding:17px;border:1px solid rgba(169,146,255,.24);border-radius:21px;background:linear-gradient(145deg,rgba(23,27,57,.94),rgba(9,15,31,.98));box-shadow:0 18px 42px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.07);transform:rotate(1deg)}
.evr-trend-preview-top,.evr-trend-preview-foot{display:flex;align-items:center;justify-content:space-between;gap:10px}
.evr-trend-preview-top>span{display:flex;align-items:center;gap:8px;color:#e8e2ff;font-size:10px;font-weight:900;letter-spacing:1.4px}
.evr-trend-preview-top>span i{width:7px;height:7px;border-radius:50%;background:#7bdbbd;box-shadow:0 0 10px #7bdbbd}
.evr-trend-preview-top small{color:#7583a6;font-size:8px;letter-spacing:1px}
.evr-trend-preview-grid{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:116px 116px;gap:10px;margin:16px 0}
.evr-trend-tile{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-width:0;padding:13px;border:1px solid rgba(255,255,255,.13);border-radius:15px;overflow:hidden;isolation:isolate;background:#171b3c}
.evr-trend-tile:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 70% 20%,rgba(151,123,255,.7),transparent 36%),linear-gradient(145deg,rgba(51,72,150,.45),rgba(13,17,37,.96))}
.evr-trend-tile:after{content:"";position:absolute;z-index:-1;width:120px;height:120px;right:-28px;top:-36px;border:1px solid rgba(211,199,255,.28);border-radius:35%;transform:rotate(35deg);box-shadow:0 0 30px rgba(131,107,255,.15)}
.evr-trend-tile-b:before{background:radial-gradient(circle at 25% 25%,rgba(73,194,209,.55),transparent 38%),linear-gradient(145deg,#1a4262,#11142e)}
.evr-trend-tile-c{grid-column:1/-1}
.evr-trend-tile-c:before{background:radial-gradient(circle at 75% 25%,rgba(209,112,197,.45),transparent 38%),linear-gradient(100deg,#38204e,#10152e)}
.evr-trend-tile>span{position:absolute;top:11px;left:12px;color:rgba(255,255,255,.6);font-size:9px;font-weight:800}
.evr-trend-tile>b{color:#fff;font-size:14px;letter-spacing:.5px}
.evr-trend-tile small{margin-top:3px;color:#b9c3dc;font-size:9px}
.evr-trend-preview-foot{padding-top:11px;border-top:1px solid rgba(255,255,255,.08)}
.evr-trend-preview-foot>span{color:#b59cff;font-size:17px}
.evr-trend-preview-foot>b{flex:1;color:#d8d2f4;font-size:10px}
.evr-trend-preview-foot>i{color:#8571d9;font-size:7px;font-style:normal;letter-spacing:2px}
.evr-streamer-showcase{grid-template-columns:minmax(340px,.92fr) minmax(0,1fr);background:radial-gradient(ellipse at 100% 0%,rgba(44,115,188,.15),transparent 45%),linear-gradient(135deg,rgba(11,23,43,.98),rgba(9,13,29,.98))}
.evr-streamer-preview{position:relative;z-index:1;min-width:0;padding:12px;border:1px solid rgba(117,163,222,.25);border-radius:18px;background:linear-gradient(145deg,#111a34,#080e1c);box-shadow:0 18px 42px rgba(0,0,0,.34);transform:rotate(-1deg)}
.evr-streamer-window-bar{display:flex;align-items:center;gap:5px;height:25px;padding:0 6px}
.evr-streamer-window-bar>span{width:7px;height:7px;border-radius:50%;background:#7d83a6}
.evr-streamer-window-bar>span:first-child{background:#ff7c8d}.evr-streamer-window-bar>span:nth-child(2){background:#f4c56b}.evr-streamer-window-bar>span:nth-child(3){background:#76d8ae}
.evr-streamer-window-bar>b{margin-left:auto;color:#8998b9;font-size:8px;letter-spacing:1.3px}
.evr-streamer-screen{position:relative;min-height:230px;padding:17px;border:1px solid rgba(116,150,210,.18);border-radius:12px;background:radial-gradient(ellipse at 50% 0%,rgba(71,106,174,.22),transparent 65%),#090f20;overflow:hidden}
.evr-streamer-live{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border:1px solid rgba(108,211,183,.22);border-radius:8px;background:rgba(66,171,143,.08);color:#9ce5d0;font-size:8px;font-weight:850;letter-spacing:1px}
.evr-streamer-live i{width:6px;height:6px;border-radius:50%;background:#70e1b9;box-shadow:0 0 10px #70e1b9}
.evr-streamer-chat{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:32px}
.evr-streamer-chat>span{display:grid;align-content:center;gap:7px;min-height:72px;padding:10px;border:1px solid rgba(151,164,211,.16);border-radius:10px;background:rgba(32,42,75,.42)}
.evr-streamer-chat b{color:#dedbff;font-size:9px;letter-spacing:1px}
.evr-streamer-chat small{color:#8f9cb9;font-size:8px;line-height:1.4}
.evr-streamer-wave{display:flex;align-items:center;justify-content:center;gap:4px;height:35px;margin-top:20px}
.evr-streamer-wave i{width:3px;height:var(--wave,12px);border-radius:4px;background:linear-gradient(#a78bff,#5b79d8);opacity:.8;animation:evrStreamerWave 1.3s ease-in-out infinite alternate}
.evr-streamer-wave i:nth-child(3n){--wave:25px;animation-delay:-.6s}.evr-streamer-wave i:nth-child(3n+1){--wave:16px;animation-delay:-.25s}.evr-streamer-wave i:nth-child(4n){--wave:30px;animation-delay:-.9s}
@keyframes evrStreamerWave{from{transform:scaleY(.45);opacity:.45}to{transform:scaleY(1);opacity:1}}
.evr-streamer-preview-foot{display:flex;justify-content:flex-end;gap:7px;padding:11px 4px 1px}
.evr-streamer-preview-foot span{padding:5px 8px;border:1px solid rgba(154,169,213,.16);border-radius:7px;color:#9eacd0;font-size:8px;font-weight:850;letter-spacing:.8px}
.evr-creator-loop{width:min(1180px,calc(100% - 48px));margin:42px auto;padding:clamp(24px,4vw,48px);border:1px solid rgba(147,128,230,.2);border-radius:25px;background:radial-gradient(ellipse at 50% 0%,rgba(107,83,222,.16),transparent 55%),linear-gradient(145deg,#11162c,#090f1e);text-align:center}
.evr-creator-loop-head{max-width:690px;margin:0 auto 27px}
.evr-creator-loop h2{margin-top:12px}
.evr-creator-loop-head>p{max-width:640px;margin:0 auto}
.evr-creator-steps{display:grid;grid-template-columns:1fr 24px 1fr 24px 1fr 24px 1fr;align-items:center;gap:8px}
.evr-creator-steps article{display:grid;justify-items:center;gap:8px;min-width:0;min-height:128px;padding:17px 10px;border:1px solid rgba(163,145,238,.18);border-radius:15px;background:rgba(255,255,255,.025)}
.evr-creator-steps article>span{display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(172,149,255,.34);border-radius:10px;background:rgba(131,99,255,.13);color:#bca9ff;font-size:10px;font-weight:900}
.evr-creator-steps article>b{color:#eceaff;font-size:13px}
.evr-creator-steps article>small{max-width:150px;color:#98a4bf;font-size:9px;line-height:1.45}
.evr-creator-steps>i{color:#8d78dc;font-size:19px;font-style:normal}
.evr-loop-cta{display:inline-flex;align-items:center;justify-content:center;min-height:43px;margin-top:24px;padding:0 20px;border:1px solid rgba(196,178,255,.4);border-radius:12px;background:linear-gradient(110deg,#815bf0,#5d55d9);color:#fff;text-decoration:none;font-size:12px;font-weight:850;box-shadow:0 8px 24px rgba(93,73,211,.22)}
@media(prefers-reduced-motion:reduce){.evr-streamer-wave i{animation:none!important}}


/* Evruni global responsive pass — tablet and mobile */
html{max-width:100%;overflow-x:hidden}
body{max-width:100%;overflow-x:hidden}
img,video,canvas,svg{max-width:100%}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
input,select,textarea{max-width:100%}
@media(max-width:900px){
  .evr-public-showcase,.evr-streamer-showcase{grid-template-columns:minmax(0,1fr);gap:26px;width:calc(100% - 32px);margin:26px auto;padding:25px}
  .evr-streamer-showcase .evr-streamer-preview{order:2}
  .evr-streamer-showcase .evr-showcase-copy{order:1}
  .evr-trend-preview,.evr-streamer-preview{width:100%;max-width:620px;margin:0 auto;transform:none}
  .evr-creator-loop{width:calc(100% - 32px);margin:28px auto;padding:25px}
  .evr-creator-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .evr-creator-steps>i{display:none}
  .evr-creator-steps article{min-height:116px}
}
@media(max-width:760px){
  .public-nav{position:relative;top:auto;gap:12px;padding:12px 16px;min-height:64px}
  .public-nav .logo{min-width:0}
  .public-actions{gap:7px}
  .public-actions .ghost,.public-actions .primary{min-height:38px;padding:0 11px;font-size:11px}
  .public-main{width:100%;max-width:100%;padding-left:0;padding-right:0}
  .public-hero{grid-template-columns:minmax(0,1fr);gap:12px;padding:34px 20px 20px}
  .hero-copy{width:100%;max-width:100%}
  .hero-copy h1{font-size:clamp(34px,9vw,52px);line-height:1.02}
  .hero-copy>p{font-size:14px;line-height:1.65}
  .hero-actions{flex-direction:column;align-items:stretch;gap:9px}
  .hero-actions>*{width:100%;min-height:44px;justify-content:center}
  .hero-visual{width:100%;min-height:250px;max-width:500px;margin:0 auto;transform:scale(.9);transform-origin:top center}
  .public-ai-card{width:calc(100% - 28px);margin:18px auto;padding:16px}
  .public-composer textarea{min-height:110px;font-size:14px}
  .public-composer-bottom{flex-wrap:wrap;gap:12px}
  .public-composer-bottom>span{flex:1 1 100%;font-size:10px}
  .public-composer-bottom button{width:100%;min-height:44px}
  .public-section{width:calc(100% - 28px);margin:34px auto}
  .section-heading h2{font-size:clamp(24px,6vw,34px)}
  .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .feature-grid article{min-width:0;padding:15px}
  .landing-projects-panel{grid-template-columns:minmax(0,1fr);gap:20px}
  .landing-project-flow{width:100%;max-width:430px;margin:0 auto}
  .public-strip{display:grid;grid-template-columns:1fr;gap:10px}
  .landing-intro-panel{width:calc(100% - 28px);margin:28px auto;padding:24px;grid-template-columns:minmax(0,1fr);gap:12px}
  .landing-intro-orbit{min-height:210px;max-width:320px;width:100%;margin:0 auto}
  .public-footer{gap:12px;padding:22px 18px;flex-wrap:wrap}
  .public-footer>div{width:100%;justify-content:flex-start}
  .evr-showcase-copy h2,.evr-creator-loop h2{font-size:clamp(27px,6vw,36px)}
  .evr-showcase-copy>p,.evr-creator-loop-head>p{font-size:13px}
  .evr-showcase-points{gap:9px}
  .evr-trend-preview-grid{grid-template-rows:105px 105px}
  .evr-streamer-screen{min-height:210px}
  .auth-modal{padding:14px!important;align-items:center!important}
  .auth-modal-card{width:min(100%,440px)!important;max-height:calc(100dvh - 28px)!important;overflow-y:auto!important}
  .auth-field input,.auth-field select,.auth-field textarea{min-height:44px;font-size:16px}
}
@media(max-width:560px){
  .public-nav{padding:10px 12px}
  .public-nav .logo-word{font-size:21px}
  .public-actions .ghost{padding:0 9px}
  .public-actions .primary{padding:0 10px}
  .public-hero{padding:28px 16px 8px}
  .hero-visual{min-height:220px;transform:scale(.82);margin-bottom:-22px}
  .public-ai-card,.public-section,.landing-intro-panel{width:calc(100% - 24px)}
  .public-ai-head{align-items:flex-start;gap:10px}
  .public-status{font-size:9px;white-space:nowrap}
  .feature-grid{grid-template-columns:minmax(0,1fr);gap:9px}
  .feature-grid article{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:10px;align-items:center}
  .feature-grid article>span{grid-row:span 2}
  .feature-grid article>p{margin:3px 0 0}
  .landing-projects-panel{padding:20px!important}
  .landing-project-flow{transform:scale(.94);transform-origin:center}
  .landing-intro-panel{padding:20px}
  .landing-credit-box{flex-direction:column;align-items:stretch;gap:12px}
  .landing-credit-box button{width:100%;min-height:43px}
  .evr-public-showcase,.evr-streamer-showcase{width:calc(100% - 24px);margin:18px auto;padding:19px;border-radius:20px;gap:20px}
  .evr-showcase-copy h2,.evr-creator-loop h2{font-size:27px;letter-spacing:-.7px}
  .evr-showcase-copy>p,.evr-creator-loop-head>p{font-size:12px;line-height:1.65}
  .evr-showcase-link{width:100%;justify-content:space-between}
  .evr-trend-preview{padding:12px;border-radius:16px}
  .evr-trend-preview-grid{gap:7px;grid-template-rows:92px 92px}
  .evr-trend-tile{padding:9px;border-radius:11px}
  .evr-trend-tile>b{font-size:11px}
  .evr-trend-tile small{font-size:8px}
  .evr-streamer-preview{padding:9px}
  .evr-streamer-screen{min-height:190px;padding:12px}
  .evr-streamer-chat{gap:5px;margin-top:24px}
  .evr-streamer-chat>span{padding:7px;min-height:68px}
  .evr-streamer-chat small{font-size:7px}
  .evr-streamer-wave{gap:3px}
  .evr-creator-loop{width:calc(100% - 24px);margin:20px auto;padding:20px 14px;border-radius:20px}
  .evr-creator-steps{gap:8px}
  .evr-creator-steps article{min-height:108px;padding:12px 7px}
  .evr-creator-steps article>b{font-size:12px}
  .evr-creator-steps article>small{font-size:8px}
  .public-footer{font-size:11px}
  .auth-modal-card{padding:22px 18px!important}
  /* Dashboard content: prevent fixed-width panels and controls from overflowing. */
  .main,.main>#view,.view-card,.card,.panel,.settings-grid,.profile-grid,.usage-grid{min-width:0;max-width:100%}
  .main{padding-left:12px!important;padding-right:12px!important}
  .page-header{flex-wrap:wrap;gap:10px}
  .page-header h1{font-size:clamp(22px,6vw,30px)}
  .chat-layout{min-width:0!important;max-width:100%!important}
  .chat-toolbar{flex-wrap:wrap}
  .chat-toolbar>*{max-width:100%;min-width:0}
  .chat-composer{min-width:0;padding:10px!important}
  .chat-composer textarea{width:100%;min-width:0;font-size:16px!important}
  .chat-composer-actions{flex-wrap:wrap;gap:8px}
  .chat-composer-actions button{min-height:42px}
  .table-wrap,.table-responsive{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  table{min-width:560px}
  .modal,.dialog,.dropdown-menu,.popover{max-width:calc(100vw - 20px)}
  input,select,textarea{font-size:16px}
  button,.primary,.ghost,.danger{touch-action:manipulation}
}
@media(max-width:380px){
  .public-actions .ghost{font-size:10px;padding:0 7px}
  .public-actions .primary{font-size:10px;padding:0 8px}
  .public-nav .logo-word{font-size:19px}
  .evr-creator-steps{grid-template-columns:1fr 1fr}
  .evr-trend-preview-top small{display:none}
  .evr-streamer-chat{grid-template-columns:1fr}
  .evr-streamer-chat>span{min-height:0;grid-template-columns:1fr 1.3fr;align-items:center}
  .evr-streamer-screen{min-height:230px}
}


/* Evruni landing showcases — subtle premium motion */
.evr-public-showcase,
.evr-creator-loop{
  animation:evrShowcaseEnter .85s cubic-bezier(.2,.75,.25,1) both;
  transform-origin:50% 50%;
}
.evr-trends-showcase{animation-delay:.08s}
.evr-streamer-showcase{animation-delay:.18s}
.evr-creator-loop{animation-delay:.28s}
@keyframes evrShowcaseEnter{
  from{opacity:0;translate:0 24px;filter:blur(5px)}
  to{opacity:1;translate:0 0;filter:blur(0)}
}
.evr-trend-preview{
  animation:evrTrendFloat 6s ease-in-out infinite;
  transition:border-color .35s,box-shadow .35s;
}
.evr-trend-preview:hover{
  border-color:rgba(184,160,255,.48);
  box-shadow:0 22px 52px rgba(0,0,0,.36),0 0 28px rgba(132,102,255,.13),inset 0 1px 0 rgba(255,255,255,.09);
}
@keyframes evrTrendFloat{
  0%,100%{transform:rotate(1deg) translateY(0)}
  50%{transform:rotate(.2deg) translateY(-8px)}
}
.evr-trend-tile{
  transition:transform .35s cubic-bezier(.2,.8,.2,1),border-color .35s,filter .35s;
  animation:evrTrendTileGlow 5s ease-in-out infinite;
}
.evr-trend-tile:nth-child(2){animation-delay:1.1s}
.evr-trend-tile:nth-child(3){animation-delay:2.2s}
.evr-trend-tile:hover{
  transform:translateY(-4px) scale(1.015);
  border-color:rgba(211,194,255,.48);
  filter:brightness(1.14);
}
@keyframes evrTrendTileGlow{
  0%,100%{box-shadow:inset 0 0 0 rgba(168,140,255,0)}
  50%{box-shadow:inset 0 0 24px rgba(168,140,255,.09),0 0 14px rgba(125,103,231,.08)}
}
.evr-trend-tile:after{
  animation:evrTrendOrbit 9s ease-in-out infinite;
}
.evr-trend-tile:nth-child(2):after{animation-delay:-3s}
.evr-trend-tile:nth-child(3):after{animation-delay:-6s}
@keyframes evrTrendOrbit{
  0%,100%{transform:rotate(35deg) translate(0,0);opacity:.55}
  50%{transform:rotate(58deg) translate(-9px,7px);opacity:1}
}
.evr-trend-preview-foot>span{
  animation:evrSparkPulse 2.4s ease-in-out infinite;
}
.evr-trend-preview-foot>i{
  animation:evrDotsPulse 1.8s ease-in-out infinite alternate;
}
@keyframes evrSparkPulse{
  0%,100%{transform:scale(1);filter:drop-shadow(0 0 0 rgba(181,156,255,0))}
  50%{transform:scale(1.22);filter:drop-shadow(0 0 8px rgba(181,156,255,.75))}
}
@keyframes evrDotsPulse{
  from{opacity:.45;letter-spacing:2px}
  to{opacity:1;letter-spacing:4px}
}
.evr-streamer-preview{
  animation:evrStreamerFloat 7s ease-in-out infinite;
  transition:border-color .35s,box-shadow .35s;
}
.evr-streamer-preview:hover{
  border-color:rgba(132,184,255,.48);
  box-shadow:0 24px 55px rgba(0,0,0,.38),0 0 28px rgba(76,143,226,.13);
}
@keyframes evrStreamerFloat{
  0%,100%{transform:rotate(-1deg) translateY(0)}
  50%{transform:rotate(-.2deg) translateY(-7px)}
}
.evr-streamer-live i{
  animation:evrLiveBlink 1.5s ease-in-out infinite;
}
@keyframes evrLiveBlink{
  0%,100%{opacity:1;box-shadow:0 0 10px #70e1b9}
  50%{opacity:.45;box-shadow:0 0 2px #70e1b9}
}
.evr-streamer-chat>span{
  transition:transform .3s,border-color .3s,background .3s;
  animation:evrChatCardPulse 6s ease-in-out infinite;
}
.evr-streamer-chat>span:nth-child(2){animation-delay:1s}
.evr-streamer-chat>span:nth-child(3){animation-delay:2s}
.evr-streamer-chat>span:hover{
  transform:translateY(-4px);
  border-color:rgba(164,177,255,.4);
  background:rgba(64,73,126,.35);
}
@keyframes evrChatCardPulse{
  0%,100%{box-shadow:0 0 0 rgba(125,145,255,0)}
  50%{box-shadow:0 0 18px rgba(125,145,255,.08)}
}
.evr-creator-steps article{
  transition:transform .3s,border-color .3s,background .3s;
  animation:evrStepAppear .65s cubic-bezier(.2,.75,.25,1) both;
}
.evr-creator-steps article:nth-of-type(1){animation-delay:.08s}
.evr-creator-steps article:nth-of-type(2){animation-delay:.18s}
.evr-creator-steps article:nth-of-type(3){animation-delay:.28s}
.evr-creator-steps article:nth-of-type(4){animation-delay:.38s}
.evr-creator-steps article:hover{
  transform:translateY(-5px);
  border-color:rgba(172,149,255,.42);
  background:rgba(131,99,255,.07);
}
@keyframes evrStepAppear{
  from{opacity:0;translate:0 12px}
  to{opacity:1;translate:0 0}
}
.evr-creator-steps article>span{
  transition:transform .3s,box-shadow .3s;
}
.evr-creator-steps article:hover>span{
  transform:rotate(-8deg) scale(1.08);
  box-shadow:0 0 18px rgba(172,149,255,.25);
}
.evr-showcase-link,.evr-loop-cta{
  position:relative;overflow:hidden;
  transition:transform .25s,filter .25s,box-shadow .25s;
}
.evr-showcase-link:after,.evr-loop-cta:after{
  content:"";position:absolute;top:-80%;left:-45%;width:35%;height:260%;
  transform:rotate(25deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);
  animation:evrButtonShine 5.5s ease-in-out infinite;
}
@keyframes evrButtonShine{
  0%,65%,100%{left:-45%;opacity:0}
  72%{opacity:1}
  88%{left:125%;opacity:.8}
}
@media(prefers-reduced-motion:reduce){
  .evr-public-showcase,.evr-creator-loop,.evr-trend-preview,.evr-trend-tile,
  .evr-trend-tile:after,.evr-trend-preview-foot>span,.evr-trend-preview-foot>i,
  .evr-streamer-preview,.evr-streamer-live i,.evr-streamer-chat>span,
  .evr-creator-steps article,.evr-showcase-link:after,.evr-loop-cta:after{
    animation:none!important;transition:none!important;translate:none!important
  }
}


/* Keep auth panels truly hidden until selected by the public auth controller. */
#authModal .auth-modal-card[hidden]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
#authModal.show .auth-modal-card:not([hidden]){display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
#authModal{pointer-events:none}
#authModal.show{pointer-events:auto}
#authModal .auth-backdrop{pointer-events:auto}


/* Evruni public landing: additional product showcases */
.evr-feature-showcase{position:relative;width:min(1180px,calc(100% - 48px));margin:44px auto 38px;padding:34px;border:1px solid rgba(174,151,255,.17);border-radius:28px;background:linear-gradient(135deg,rgba(22,20,47,.82),rgba(10,15,29,.88));box-shadow:0 22px 70px rgba(0,0,0,.22);overflow:hidden}
.evr-feature-showcase:before{content:"";position:absolute;inset:-1px;background:radial-gradient(ellipse at 15% 0%,rgba(133,92,255,.16),transparent 42%),radial-gradient(ellipse at 90% 100%,rgba(62,174,255,.09),transparent 38%);pointer-events:none}
.evr-feature-showcase-head{position:relative;max-width:680px;margin:0 0 25px}
.evr-feature-showcase-head h2,.evr-ai-tools-copy h2{margin:13px 0 10px;color:#f7f4ff;font-size:clamp(25px,3vw,36px);line-height:1.12;letter-spacing:-.04em}
.evr-feature-showcase-head p,.evr-ai-tools-copy p{margin:0;color:rgba(222,220,241,.68);font-size:14px;line-height:1.7}
.evr-feature-cards{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.evr-feature-card{min-width:0;overflow:hidden;border:1px solid rgba(185,168,255,.15);border-radius:21px;background:rgba(8,12,25,.66);transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease}
.evr-feature-card:hover{transform:translateY(-5px);border-color:rgba(174,145,255,.42);box-shadow:0 18px 42px rgba(0,0,0,.24)}
.evr-feature-visual{height:205px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,rgba(111,79,218,.22),transparent 65%),linear-gradient(145deg,#171832,#0d1425)}
.evr-feature-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,.055) 48%,transparent 70%);pointer-events:none}
.evr-feature-card-copy{padding:20px 20px 22px}
.evr-feature-number{color:#a99af0;font-size:9px;font-weight:900;letter-spacing:.16em}
.evr-feature-card-copy h3{margin:9px 0 8px;color:#f5f2ff;font-size:20px;letter-spacing:-.025em}
.evr-feature-card-copy p{min-height:68px;margin:0 0 17px;color:rgba(220,220,239,.67);font-size:12px;line-height:1.65}
.evr-feature-card-copy a{display:inline-flex;color:#c4b4ff;text-decoration:none;font-size:11px;font-weight:850}
.evr-feature-card-copy a:hover{color:#fff}
.evr-visual-live{position:absolute;top:17px;left:18px;color:#d8d2f4;font-size:8px;font-weight:900;letter-spacing:.12em}
.evr-visual-live i,.evr-streamer-live i{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#ff647f;box-shadow:0 0 12px #ff647f}
.evr-stream-visual-screen{width:78%;padding:14px;border:1px solid rgba(184,165,255,.32);border-radius:13px;background:rgba(10,13,29,.84);box-shadow:0 15px 35px #0006;transform:perspective(500px) rotateX(5deg)}
.evr-stream-visual-top,.evr-stream-visual-bottom{display:flex;align-items:center;justify-content:space-between;color:#a9a1ca;font-size:7px;letter-spacing:.12em}
.evr-stream-visual-top b{color:#fff;font-size:10px}
.evr-stream-visual-bars{height:74px;display:flex;align-items:center;justify-content:center;gap:5px}
.evr-stream-visual-bars i{width:5px;height:var(--h,24px);border-radius:5px;background:linear-gradient(#b9a1ff,#6955d8);box-shadow:0 0 12px #8b6bff55;animation:evrStreamBars 1.5s ease-in-out infinite alternate}
.evr-stream-visual-bars i:nth-child(3n){--h:47px;animation-delay:-.5s}.evr-stream-visual-bars i:nth-child(3n+1){--h:31px;animation-delay:-1s}.evr-stream-visual-bars i:nth-child(4n){--h:58px;animation-delay:-.8s}
@keyframes evrStreamBars{to{transform:scaleY(.48);opacity:.7}}
.evr-wheel-visual{background:radial-gradient(ellipse at center,rgba(147,105,255,.23),transparent 56%),linear-gradient(145deg,#17142f,#0c1424)}
.evr-wheel-ring{position:relative;width:142px;height:142px;border:8px solid #a48aff;border-radius:50%;background:conic-gradient(#f1cb72 0 16.6%,#7258d6 16.6% 33.2%,#a9d9ff 33.2% 49.8%,#7258d6 49.8% 66.4%,#f1cb72 66.4% 83%,#7258d6 83%);box-shadow:0 0 0 5px rgba(176,148,255,.12),0 0 32px rgba(139,103,255,.4),inset 0 0 15px #0008;animation:evrWheelIdle 16s linear infinite}
@keyframes evrWheelIdle{to{transform:rotate(360deg)}}
.evr-wheel-core{position:absolute;inset:35px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:2px solid #e4d7ff;border-radius:50%;background:linear-gradient(145deg,#30245b,#11182e);color:#fff;font-size:18px;font-weight:950;text-align:center;box-shadow:0 0 18px #0008}
.evr-wheel-core small{font-size:7px;letter-spacing:.18em;color:#c9baff}
.evr-wheel-pointer{position:absolute;top:25px;z-index:2;width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-top:19px solid #fff;filter:drop-shadow(0 2px 5px #000)}
.evr-wheel-dot{position:absolute;width:7px;height:7px;border-radius:50%;background:#fff;box-shadow:0 0 9px #fff}
.evr-wheel-dot.d1{top:6px;left:58px}.evr-wheel-dot.d2{top:38px;right:5px}.evr-wheel-dot.d3{bottom:18px;right:13px}.evr-wheel-dot.d4{bottom:18px;left:13px}.evr-wheel-dot.d5{top:38px;left:5px}.evr-wheel-dot.d6{top:6px;right:58px}
.evr-wheel-caption{position:absolute;bottom:15px;color:#bcb1e8;font-size:8px;font-weight:900;letter-spacing:.2em}
.evr-blur-visual{background:radial-gradient(ellipse at 50% 40%,rgba(73,153,209,.2),transparent 65%),linear-gradient(145deg,#131e32,#0d1222)}
.evr-blur-frame{position:relative;width:150px;height:143px;border:1px solid rgba(151,199,255,.35);border-radius:16px;background:linear-gradient(135deg,#7b87a6,#303b59 50%,#1a2740);overflow:hidden;box-shadow:0 12px 30px #0007}
.evr-blur-person{position:absolute;inset:17px 45px 0;filter:blur(5px);opacity:.8}
.evr-blur-person i{position:absolute;top:0;left:22px;width:35px;height:40px;border-radius:50%;background:#d7b5a4}
.evr-blur-person b{position:absolute;top:37px;left:9px;width:62px;height:85px;border-radius:28px 28px 0 0;background:#26344e}
.evr-blur-person span{position:absolute;top:8px;left:8px;width:62px;height:24px;border-radius:20px;background:rgba(13,18,35,.7);filter:blur(8px)}
.evr-blur-scan{position:absolute;inset:0;background:linear-gradient(transparent 47%,rgba(108,210,255,.28) 50%,transparent 53%);animation:evrBlurScan 3s ease-in-out infinite}
@keyframes evrBlurScan{0%,100%{transform:translateY(-38px)}50%{transform:translateY(38px)}}
.evr-blur-tag{position:absolute;left:9px;bottom:9px;padding:6px 8px;border:1px solid #ffffff35;border-radius:7px;background:#101a2bd9;color:#fff;font-size:7px;font-weight:900;letter-spacing:.1em}
.evr-blur-tag i{color:#7df0b0;font-style:normal}
.evr-blur-controls{position:absolute;right:13px;bottom:14px;display:flex;gap:5px}
.evr-blur-controls span{padding:5px 6px;border:1px solid #ffffff24;border-radius:6px;background:#101827b8;color:#cbdcf0;font-size:6px;font-weight:850}
.evr-ai-tools-strip{position:relative;width:min(1180px,calc(100% - 48px));margin:36px auto 42px;padding:29px 32px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:28px;border:1px solid rgba(166,149,255,.16);border-radius:24px;background:linear-gradient(110deg,rgba(23,22,50,.88),rgba(12,19,34,.9));overflow:hidden}
.evr-ai-tools-copy h2{font-size:clamp(23px,2.5vw,31px)}
.evr-ai-tool-chips{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}
.evr-ai-tool-chips span{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid rgba(177,158,255,.2);border-radius:11px;background:rgba(255,255,255,.035);color:#e4e0f7;font-size:11px;font-weight:800}
.evr-ai-tool-chips i{color:#b8a2ff;font-style:normal;font-size:14px}
@media(max-width:900px){.evr-feature-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.evr-feature-card:last-child{grid-column:1/-1}.evr-feature-card:last-child .evr-feature-visual{height:180px}.evr-ai-tools-strip{grid-template-columns:1fr}.evr-ai-tool-chips{justify-content:flex-start}}
@media(max-width:600px){.evr-feature-showcase,.evr-ai-tools-strip{width:calc(100% - 24px);margin:22px auto;padding:20px 16px;border-radius:20px}.evr-feature-cards{grid-template-columns:1fr;gap:12px}.evr-feature-card:last-child{grid-column:auto}.evr-feature-visual{height:175px}.evr-feature-card-copy{padding:17px}.evr-feature-card-copy p{min-height:0}.evr-ai-tools-strip{gap:18px}.evr-ai-tool-chips{gap:7px}.evr-ai-tool-chips span{padding:8px 10px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.evr-stream-visual-bars i,.evr-wheel-ring,.evr-blur-scan{animation:none!important}.evr-feature-card{transition:none}}


/* Viewer giveaway wheel showcase (replaces daily reward wheel preview) */
.evr-viewer-wheel-visual{flex-direction:column;gap:8px;padding:13px 15px 12px;background:radial-gradient(ellipse at 50% 48%,rgba(131,101,255,.26),transparent 58%),linear-gradient(145deg,#17142f,#0b1425)}
.evr-viewer-wheel-top,.evr-viewer-wheel-users{position:relative;z-index:2;width:100%;display:flex;justify-content:space-between;align-items:center;color:#bcb5df;font-size:7px;font-weight:850;letter-spacing:.1em}
.evr-viewer-wheel-top span{color:#ffb5c3}.evr-viewer-wheel-top span i{display:inline-block;width:6px;height:6px;margin-right:4px;border-radius:50%;background:#ff647f;box-shadow:0 0 9px #ff647f}
.evr-viewer-wheel-top b{color:#e7e0ff}
.evr-viewer-wheel-stage{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:132px}
.evr-viewer-wheel{position:relative;width:124px;height:124px;border:5px solid #c3b0ff;border-radius:50%;background:conic-gradient(#8d6cff 0 16.66%,#293b66 16.66% 33.33%,#c58bdb 33.33% 50%,#365c80 50% 66.66%,#8d6cff 66.66% 83.33%,#293b66 83.33%);box-shadow:0 0 0 4px #9a7cff25,0 0 25px #8766ff65,inset 0 0 13px #0009;animation:evrViewerWheelIdle 18s linear infinite}
@keyframes evrViewerWheelIdle{to{transform:rotate(360deg)}}
.evr-viewer-pointer{position:absolute;top:0;z-index:4;width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-top:18px solid #fff;filter:drop-shadow(0 2px 5px #000);transform:translateY(-1px)}
.evr-viewer-wheel-center{position:absolute;inset:40px;display:flex;align-items:center;justify-content:center;border:2px solid #e7ddff;border-radius:50%;background:linear-gradient(145deg,#382568,#12182c);color:white;font-size:10px;font-weight:950;letter-spacing:.08em;box-shadow:0 0 15px #0009}
.vw-name{position:absolute;z-index:1;color:#fff;font-size:8px;font-weight:900;text-shadow:0 1px 5px #17102e}
.vw1{top:15px;left:43px}.vw2{top:42px;right:10px}.vw3{bottom:17px;right:19px}.vw4{bottom:17px;left:19px}.vw5{top:42px;left:10px}.vw6{top:15px;right:43px}
.evr-viewer-wheel-users{justify-content:center;gap:12px;color:#c9c3e6;font-size:7px;letter-spacing:.04em}
@media(prefers-reduced-motion:reduce){.evr-viewer-wheel{animation:none!important}}


/* Public auth modal reliability fix */
#authModal{pointer-events:none}
#authModal.show{pointer-events:auto;visibility:visible;opacity:1}
#authModal .auth-backdrop{pointer-events:auto}
#authModal .auth-modal-card[hidden]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
#authModal.show .auth-modal-card:not([hidden]){display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}


/* Viewer wheel visual polish: brighter sectors, readable upright nicknames */
.evr-viewer-wheel-stage{height:158px!important;isolation:isolate}
.evr-viewer-wheel-shell{position:relative;width:142px;height:142px;flex:0 0 142px;border-radius:50%;padding:6px;background:linear-gradient(145deg,#f5eaff,#9d7cff 30%,#443178 58%,#d9caff 82%,#7453d6);box-shadow:0 0 0 2px rgba(255,255,255,.14),0 0 24px rgba(151,112,255,.55),0 0 52px rgba(113,80,225,.24),inset 0 2px 5px #fff9,inset 0 -5px 9px #100b28}
.evr-viewer-wheel-shell:before{content:"";position:absolute;inset:3px;border:1px solid rgba(255,255,255,.6);border-radius:50%;pointer-events:none;z-index:4}
.evr-viewer-wheel{position:absolute;inset:6px;border:2px solid rgba(255,255,255,.75);border-radius:50%;background:conic-gradient(from -22.5deg,#9572ff 0 45deg,#342d68 45deg 90deg,#bd83dc 90deg 135deg,#35547f 135deg 180deg,#9873f1 180deg 225deg,#44366f 225deg 270deg,#c18be4 270deg 315deg,#354b78 315deg 360deg);box-shadow:inset 0 0 18px rgba(10,8,30,.5),0 0 12px rgba(15,9,40,.55);animation:evrViewerWheelIdle 24s linear infinite;overflow:hidden}
.evr-viewer-wheel:before{content:"";position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(from -22.5deg,transparent 0deg 43.8deg,rgba(255,255,255,.7) 44deg 45deg);opacity:.8}
.evr-viewer-wheel:after{content:"";position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle at 28% 18%,rgba(255,255,255,.3),transparent 35%),linear-gradient(135deg,rgba(255,255,255,.12),transparent 48%,rgba(5,4,25,.2));pointer-events:none}
.evr-viewer-wheel-nicks{position:absolute;inset:6px;z-index:2;border-radius:50%;pointer-events:none}
.vw-name{position:absolute;display:flex;align-items:center;justify-content:center;min-width:32px;max-width:48px;height:17px;padding:0 4px;border:1px solid rgba(255,255,255,.32);border-radius:6px;background:rgba(20,15,48,.44);box-shadow:0 2px 6px rgba(0,0,0,.2);color:#fff;font-size:7px;font-weight:950;letter-spacing:.015em;text-shadow:0 1px 3px #120c2d;white-space:nowrap;transform:translate(-50%,-50%);backdrop-filter:blur(3px)}
.vw1{top:20%;left:50%}.vw2{top:31%;left:76%}.vw3{top:67%;left:77%}.vw4{top:80%;left:50%}.vw5{top:68%;left:23%}.vw6{top:32%;left:23%}.vw7{top:48%;left:15%}.vw8{top:48%;left:85%}
.evr-viewer-wheel-center{z-index:5;inset:50%;width:43px;height:43px;padding:0;transform:translate(-50%,-50%);border:2px solid #f3eaff;background:radial-gradient(circle at 35% 25%,#8065cf,#30214f 65%,#17122d);color:#fff;font-size:9px;letter-spacing:.08em;box-shadow:0 0 0 3px rgba(20,12,45,.38),0 0 18px rgba(10,5,25,.8),inset 0 2px 4px #fff7}
.evr-viewer-wheel-center span{display:block}
.evr-viewer-pointer{top:1px;z-index:8;border-left-width:10px;border-right-width:10px;border-top-width:20px;border-top-color:#fff;filter:drop-shadow(0 2px 2px #1a1036) drop-shadow(0 0 5px #b99aff)}
.evr-viewer-wheel-users{font-size:8px!important;letter-spacing:.025em!important}
@media(max-width:600px){.evr-viewer-wheel-stage{height:153px!important}.evr-viewer-wheel-shell{width:136px;height:136px;flex-basis:136px}.evr-viewer-wheel-users{gap:8px!important}}
@media(prefers-reduced-motion:reduce){.evr-viewer-wheel{animation:none!important}}


/* Final wheel layout override: a single circular disc with names on its sectors */
.evr-viewer-wheel-stage{height:170px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
.evr-viewer-wheel-shell{position:relative!important;display:block!important;width:148px!important;height:148px!important;flex:0 0 148px!important;padding:5px!important;border-radius:50%!important;background:linear-gradient(145deg,#fff0ff 0%,#b89aff 22%,#6549bd 55%,#e2caff 82%,#8d6bdf 100%)!important;box-shadow:0 0 0 2px #ffffff24,0 0 26px #9d79ff88,inset 0 2px 5px #fff9,inset 0 -5px 10px #130b2d!important}
.evr-viewer-wheel{position:absolute!important;inset:5px!important;width:auto!important;height:auto!important;border:2px solid #f0e5ff!important;border-radius:50%!important;overflow:hidden!important;transform-origin:50% 50%!important;background:conic-gradient(from -22.5deg,#9878ff 0deg 45deg,#333064 45deg 90deg,#c48ce2 90deg 135deg,#345477 135deg 180deg,#9878ff 180deg 225deg,#40356f 225deg 270deg,#bd83df 270deg 315deg,#354a75 315deg 360deg)!important;box-shadow:inset 0 0 20px #09071e99,0 0 10px #130d2e99!important;animation:evrViewerWheelIdle 12s linear infinite!important}
.evr-viewer-wheel:before{content:""!important;position:absolute!important;inset:0!important;border-radius:50%!important;background:repeating-conic-gradient(from -22.5deg,transparent 0deg 44deg,#ffffffa8 44.4deg 45deg)!important;opacity:.85!important;pointer-events:none!important}
.evr-viewer-wheel:after{content:""!important;position:absolute!important;inset:0!important;border-radius:50%!important;background:radial-gradient(circle at 28% 18%,#ffffff40,transparent 36%),linear-gradient(135deg,#ffffff12,transparent 50%,#05041930)!important;pointer-events:none!important}
.evr-viewer-wheel .vw-name{position:absolute!important;z-index:2!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;max-width:58px!important;width:auto!important;height:auto!important;padding:3px 5px!important;border:1px solid #ffffff55!important;border-radius:5px!important;background:#17112f42!important;box-shadow:none!important;color:#fff!important;font-size:8px!important;font-weight:950!important;line-height:1!important;letter-spacing:0!important;text-shadow:0 1px 4px #100a29,0 0 5px #100a29!important;white-space:nowrap!important;backdrop-filter:none!important;transform:translate(-50%,-50%)!important}
.evr-viewer-wheel .vw1{top:18%!important;left:50%!important}
.evr-viewer-wheel .vw2{top:31%!important;left:76%!important}
.evr-viewer-wheel .vw3{top:69%!important;left:76%!important}
.evr-viewer-wheel .vw4{top:82%!important;left:50%!important}
.evr-viewer-wheel .vw5{top:69%!important;left:24%!important}
.evr-viewer-wheel .vw6{top:31%!important;left:24%!important}
.evr-viewer-wheel .vw7{top:50%!important;left:16%!important}
.evr-viewer-wheel .vw8{top:50%!important;left:84%!important}
.evr-viewer-wheel .evr-viewer-wheel-center{position:absolute!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;padding:0!important;margin:0!important;border:2px solid #f6eaff!important;border-radius:50%!important;background:radial-gradient(circle at 35% 25%,#8b70dc,#35245b 68%,#17102d)!important;color:#fff!important;font-size:8px!important;font-weight:950!important;line-height:1!important;letter-spacing:.06em!important;box-shadow:0 0 0 3px #1b123d99,0 0 15px #09051e!important;transform:translate(-50%,-50%)!important;z-index:5!important}
.evr-viewer-wheel-center span{display:block!important;position:static!important;transform:none!important}
.evr-viewer-pointer{top:3px!important;left:50%!important;transform:translateX(-50%)!important;z-index:9!important}
@media(max-width:600px){.evr-viewer-wheel-stage{height:164px!important}.evr-viewer-wheel-shell{width:140px!important;height:140px!important;flex-basis:140px!important}}
@media(prefers-reduced-motion:reduce){.evr-viewer-wheel{animation:none!important}}


/* Viewer wheel: keep participant nicknames upright and legible while the disc rotates */
.evr-viewer-wheel .vw-name{
  min-width:36px!important;
  max-width:58px!important;
  min-height:18px!important;
  padding:3px 6px!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:7px!important;
  background:linear-gradient(145deg,rgba(31,23,66,.94),rgba(12,13,34,.9))!important;
  box-shadow:0 2px 7px rgba(8,5,25,.38),inset 0 1px 0 rgba(255,255,255,.18)!important;
  color:#fff!important;
  font-size:8px!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:.01em!important;
  text-align:center!important;
  text-shadow:0 1px 2px rgba(0,0,0,.75)!important;
  transform:translate(-50%,-50%) rotate(0deg)!important;
  animation:evrWheelNickCounter 12s linear infinite!important;
}
@keyframes evrWheelNickCounter{
  from{transform:translate(-50%,-50%) rotate(0deg)}
  to{transform:translate(-50%,-50%) rotate(-360deg)}
}
@media(prefers-reduced-motion:reduce){
  .evr-viewer-wheel .vw-name{animation:none!important}
}


/* Landing preview uses the exact Streamer roulette wheel skin and nickname treatment */
.evr-landing-stream-wheel-stage{width:min(100%,220px)!important;max-width:220px!important;aspect-ratio:1!important;margin:0 auto!important;padding:8px!important;isolation:isolate!important}
.evr-landing-stream-wheel{width:100%!important;height:100%!important;border-radius:50%!important;position:relative!important;overflow:hidden!important;background:conic-gradient(#9878ff 0deg 45deg,#333064 45deg 90deg,#c48ce2 90deg 135deg,#345477 135deg 180deg,#9878ff 180deg 225deg,#40356f 225deg 270deg,#bd83df 270deg 315deg,#354b78 315deg 360deg)!important;box-shadow:0 0 0 3px rgba(91,65,177,.85),0 0 0 7px rgba(255,255,255,.12),0 0 42px rgba(129,94,255,.32),inset 0 0 18px rgba(0,0,0,.26)!important;animation:evrLandingStreamerWheel 22s linear infinite!important;transition:none!important}
.evr-landing-stream-wheel .wheel-slice-labels{position:absolute!important;inset:0!important;z-index:3!important;pointer-events:none!important;overflow:visible!important}
.evr-landing-stream-wheel .wheel-slice-label{position:absolute!important;left:50%!important;top:50%!important;width:var(--wheel-label-width,76px)!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;font-size:var(--wheel-label-font,9px)!important;font-weight:900!important;line-height:1.15!important;letter-spacing:0!important;text-align:center!important;text-shadow:0 1px 2px rgba(24,12,52,.95),0 0 5px rgba(0,0,0,.9)!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;transform-origin:center center!important;backdrop-filter:none!important}
.evr-landing-stream-wheel .stream-wheel-hub{position:absolute!important;z-index:8!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;border-radius:50%!important;display:grid!important;place-content:center!important;text-align:center!important;color:#fff!important;font-size:11px!important;font-weight:950!important;letter-spacing:.08em!important;background:radial-gradient(circle at 32% 22%,#e3d8ff 0%,#9a78ff 24%,#6845d5 57%,#25164f 100%)!important;border:3px solid #f3efff!important;box-shadow:0 0 0 3px rgba(48,30,102,.65),0 0 18px rgba(177,148,255,.68),inset 0 2px 8px rgba(255,255,255,.36)!important}
.evr-landing-stream-wheel .stream-wheel-hub-label{display:flex!important;flex-direction:column!important;align-items:center!important;gap:1px!important}
.evr-landing-stream-wheel .stream-wheel-hub-label small{display:block!important;color:#f3edff!important;font-size:6px!important;font-weight:900!important;letter-spacing:.16em!important}
.evr-landing-stream-wheel-stage .wheel-pointer{top:-1px!important;left:50%!important;z-index:12!important;transform:translateX(-50%)!important;width:22px!important;height:29px!important;border:0!important;background:linear-gradient(145deg,#f5efff,#cbb4ff 30%,#956bff 65%,#6339d5)!important;clip-path:polygon(50% 100%,0 0,100% 0)!important;filter:drop-shadow(0 0 5px rgba(193,158,255,.9)) drop-shadow(0 3px 4px rgba(0,0,0,.7))!important}
@keyframes evrLandingStreamerWheel{to{transform:rotate(360deg)}}
@media(max-width:600px){.evr-landing-stream-wheel-stage{width:min(100%,205px)!important;max-width:205px!important}}
@media(prefers-reduced-motion:reduce){.evr-landing-stream-wheel{animation:none!important}}


/* Reduce only the landing-page Streamer wheel preview */
.evr-landing-stream-wheel-stage{
  width:min(100%,176px)!important;
  max-width:176px!important;
  padding:6px!important;
}
.evr-landing-stream-wheel-stage .wheel-pointer{
  width:19px!important;
  height:25px!important;
}
@media(max-width:600px){
  .evr-landing-stream-wheel-stage{
    width:min(100%,164px)!important;
    max-width:164px!important;
  }
}


/* Fit the complete landing wheel card: pointer, all nicknames and audience footer */
.evr-viewer-wheel-visual{
  height:190px!important;
  min-height:190px!important;
  padding:8px 10px 7px!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  gap:2px!important;
  overflow:hidden!important;
}
.evr-viewer-wheel-top{
  position:relative!important;
  z-index:10!important;
  flex:0 0 11px!important;
  height:11px!important;
  line-height:11px!important;
  margin:0!important;
  font-size:6px!important;
}
.evr-landing-stream-wheel-stage{
  width:132px!important;
  max-width:132px!important;
  height:132px!important;
  min-height:132px!important;
  flex:0 0 132px!important;
  aspect-ratio:1!important;
  margin:0 auto!important;
  padding:5px!important;
  box-sizing:border-box!important;
}
.evr-landing-stream-wheel{
  position:absolute!important;
  inset:5px!important;
  width:auto!important;
  height:auto!important;
}
.evr-landing-stream-wheel .wheel-slice-label{
  width:var(--wheel-label-width,62px)!important;
  font-size:var(--wheel-label-font,7px)!important;
  line-height:1.05!important;
}
.evr-landing-stream-wheel-stage .wheel-pointer{
  top:-1px!important;
  width:17px!important;
  height:22px!important;
}
.evr-landing-stream-wheel .stream-wheel-hub{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  font-size:9px!important;
}
.evr-landing-stream-wheel .stream-wheel-hub-label small{font-size:5px!important}
.evr-viewer-wheel-users{
  position:relative!important;
  z-index:10!important;
  flex:0 0 11px!important;
  height:11px!important;
  min-height:11px!important;
  margin:0!important;
  line-height:11px!important;
  font-size:6px!important;
  white-space:nowrap!important;
}
@media(max-width:600px){
  .evr-viewer-wheel-visual{height:184px!important;min-height:184px!important}
  .evr-landing-stream-wheel-stage{width:126px!important;max-width:126px!important;height:126px!important;min-height:126px!important;flex-basis:126px!important}
  .evr-landing-stream-wheel .wheel-slice-label{font-size:6.5px!important}
}


/* Creator Market author pricing */
.market-price-tag{
  position:absolute!important;
  right:12px!important;
  bottom:12px!important;
  z-index:3!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:7px 10px!important;
  border:1px solid rgba(199,177,255,.46)!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,rgba(42,29,78,.94),rgba(17,18,43,.96))!important;
  color:#f4edff!important;
  box-shadow:0 5px 18px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.14)!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  line-height:1!important;
}
.market-price-input-wrap{position:relative;display:block}
.market-price-input-wrap input{width:100%;padding-right:54px!important}
.market-price-input-wrap b{position:absolute;right:13px;top:50%;transform:translateY(-50%);color:#b9a8f2;font-size:11px;font-weight:900;pointer-events:none}
.market-paid{opacity:.72!important;cursor:not-allowed!important}
@media(max-width:600px){.market-price-tag{right:8px!important;bottom:8px!important;padding:6px 8px!important;font-size:10px!important}}


/* Creator Market personal shelves */
.market-shelves{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 18px;padding:5px;border:1px solid rgba(169,145,255,.16);border-radius:14px;background:rgba(13,14,32,.52)}
.market-shelf{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted,#a6a1bf);font:inherit;font-size:13px;font-weight:750;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.market-shelf span{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:7px;background:rgba(155,125,255,.14);color:#d8cbff;font-size:10px}
.market-shelf:hover{color:#fff;background:rgba(151,119,255,.09)}
.market-shelf.active{color:#fff;background:linear-gradient(135deg,rgba(132,96,235,.28),rgba(74,59,137,.24));border-color:rgba(177,151,255,.32);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.market-item-status{display:inline-flex;align-items:center;gap:5px;margin:10px 0 2px;padding:5px 8px;border-radius:7px;background:rgba(145,126,190,.12);color:#c8bddf;font-size:11px;font-weight:750}
.market-item-status.status-published{background:rgba(70,180,130,.12);color:#8fe0b6}
.market-item-status.status-pending{background:rgba(235,184,83,.12);color:#f1d08b}
.market-item-status.status-rejected{background:rgba(235,100,120,.12);color:#f3a2af}
.market-item-status.status-purchased{background:rgba(130,105,235,.16);color:#d6c9ff}
@media(max-width:600px){.market-shelves{display:grid;grid-template-columns:1fr 1fr;gap:5px}.market-shelf{justify-content:center;padding:9px 8px;font-size:12px}.market-shelf:first-child{grid-column:1/-1}}


/* Creator Market personal shelves */
.market-shelves{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 18px;padding:5px;border:1px solid rgba(169,145,255,.16);border-radius:14px;background:rgba(13,14,32,.52)}
.market-shelf{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted,#a6a1bf);font:inherit;font-size:13px;font-weight:750;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.market-shelf span{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:7px;background:rgba(155,125,255,.14);color:#d8cbff;font-size:10px}
.market-shelf:hover{color:#fff;background:rgba(151,119,255,.09)}
.market-shelf.active{color:#fff;background:linear-gradient(135deg,rgba(132,96,235,.28),rgba(74,59,137,.24));border-color:rgba(177,151,255,.32);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.market-item-status{display:inline-flex;align-items:center;gap:5px;margin:10px 0 2px;padding:5px 8px;border-radius:7px;background:rgba(145,126,190,.12);color:#c8bddf;font-size:11px;font-weight:750}
.market-item-status.status-published{background:rgba(70,180,130,.12);color:#8fe0b6}
.market-item-status.status-pending{background:rgba(235,184,83,.12);color:#f1d08b}
.market-item-status.status-rejected{background:rgba(235,100,120,.12);color:#f3a2af}
.market-item-status.status-purchased{background:rgba(130,105,235,.16);color:#d6c9ff}
@media(max-width:600px){.market-shelves{display:grid;grid-template-columns:1fr 1fr;gap:5px}.market-shelf{justify-content:center;padding:9px 8px;font-size:12px}.market-shelf:first-child{grid-column:1/-1}}


/* Creator Market shelves - explicit visible layout */
.community-view .market-shelves{display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:2!important;min-height:48px!important;width:100%!important;box-sizing:border-box!important}
.community-view .market-shelf{display:inline-flex!important;visibility:visible!important;opacity:1!important;min-height:38px!important;flex:0 0 auto!important}
.community-view .market-shelf.active{outline:1px solid rgba(184,157,255,.18)!important}
.community-view #marketGrid{min-height:120px}
@media(max-width:600px){.community-view .market-shelves{display:grid!important;grid-template-columns:1fr 1fr!important}.community-view .market-shelf:first-child{grid-column:1/-1!important}}

/* Evruni Streak — polished reward calendar */
.community-view .community-panel{position:relative;overflow:hidden;background:radial-gradient(ellipse at 12% 0,rgba(139,92,246,.12),transparent 38%),linear-gradient(145deg,rgba(17,22,40,.94),rgba(10,14,27,.94));border-color:rgba(169,143,255,.22);box-shadow:0 18px 55px rgba(0,0,0,.18)}
.community-view .community-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 86% 35%,rgba(153,112,255,.28),transparent 24%),radial-gradient(ellipse at 10% 0,rgba(107,75,201,.2),transparent 50%),linear-gradient(125deg,#17152f,#0d1428 72%);border-color:rgba(173,145,255,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 14px 40px rgba(0,0,0,.16)}
.community-view .streak-flame{animation:streakFloat 4s ease-in-out infinite;position:relative}
.community-view .streak-flame:after{content:"";position:absolute;inset:-9px;border:1px solid rgba(174,145,255,.18);border-radius:32px;animation:streakHalo 3s ease-out infinite}
.streak-summary{align-items:stretch;gap:14px!important;flex-wrap:wrap}.streak-summary>div{min-width:150px;padding:14px 17px;border:1px solid rgba(163,143,218,.15);border-radius:15px;background:rgba(255,255,255,.025);box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}.streak-summary strong{font-variant-numeric:tabular-nums}.streak-cycle-total{margin-left:auto;background:linear-gradient(135deg,rgba(128,91,224,.15),rgba(255,255,255,.025))!important;border-color:rgba(171,139,255,.25)!important}.streak-progress{margin:4px 0 20px}.streak-progress-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;color:var(--muted,#a6abc1);font-size:11px}.streak-progress-head b{color:#d9cbff;font-variant-numeric:tabular-nums}.streak-progress-track{height:7px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden}.streak-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7352d1,#b99aff);box-shadow:0 0 16px rgba(157,119,255,.65);transition:width .8s cubic-bezier(.2,.8,.2,1)}
.streak-days{gap:9px}.streak-day{position:relative;overflow:hidden;min-height:68px;transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease;animation:streakCellIn .42s both;animation-delay:calc(var(--day-index,0)*13ms)}.streak-day:hover{transform:translateY(-3px);border-color:rgba(183,155,255,.5);background:rgba(139,103,230,.09)}.streak-day.done{background:linear-gradient(145deg,rgba(125,87,220,.25),rgba(80,58,142,.13));border-color:rgba(170,132,255,.42)}.streak-day.done:before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.07) 48%,transparent 72%);transform:translateX(-120%);animation:streakShimmer 4.8s ease-in-out infinite}.streak-day.done b{color:#e8ddff}.streak-day.done span{color:#d3baff}.streak-day em{position:absolute;right:7px;top:5px;font-size:10px;font-style:normal;color:#a9f0c9;text-shadow:0 0 10px #79e4ad66}.streak-day.milestone{background:linear-gradient(145deg,rgba(150,111,255,.12),rgba(255,255,255,.025));border-color:rgba(177,145,255,.3)}.streak-day.milestone span{font-weight:800;color:#dfcaff}.streak-day.next{background:linear-gradient(145deg,rgba(129,91,225,.25),rgba(48,37,82,.42));border-color:#b99aff;box-shadow:0 0 0 1px rgba(185,154,255,.38),0 0 25px rgba(151,98,255,.2);animation:streakNextPulse 2.2s ease-in-out infinite,streakCellIn .42s both}.streak-action{padding-top:3px}.streak-action .primary{min-height:46px;padding:0 22px;border:1px solid rgba(207,187,255,.45);background:linear-gradient(105deg,#8060d9,#6848bd);box-shadow:0 8px 24px rgba(112,78,197,.28);transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}.streak-action .primary:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(132,91,224,.42);filter:brightness(1.08)}.streak-action .primary.is-claiming{animation:streakButtonPulse .7s ease-in-out infinite}.streak-action .primary:disabled{opacity:.72;cursor:default}
@keyframes streakFloat{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-6px) rotate(3deg)}}@keyframes streakHalo{0%{transform:scale(.88);opacity:.65}100%{transform:scale(1.28);opacity:0}}@keyframes streakCellIn{from{opacity:0;transform:translateY(9px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes streakShimmer{0%,65%,100%{transform:translateX(-120%)}82%{transform:translateX(120%)}}@keyframes streakNextPulse{0%,100%{box-shadow:0 0 0 1px rgba(185,154,255,.32),0 0 16px rgba(151,98,255,.14)}50%{box-shadow:0 0 0 1px rgba(205,180,255,.72),0 0 28px rgba(151,98,255,.32)}}@keyframes streakButtonPulse{0%,100%{filter:brightness(1)}50%{filter:brightness(1.2)}}
@media(max-width:560px){.streak-summary>div{min-width:calc(50% - 8px);flex:1}.streak-cycle-total{margin-left:0}.streak-day{min-height:58px}.streak-day b,.streak-day span{font-size:11px}.streak-action{align-items:flex-start;flex-direction:column;gap:10px}.streak-action .primary{width:100%}}
@media(prefers-reduced-motion:reduce){.community-view .streak-flame,.community-view .streak-flame:after,.streak-day,.streak-day:before,.streak-day.next,.streak-action .primary.is-claiming{animation:none!important;transition:none!important}}

/* Daily streak countdown */
.streak-countdown{position:relative;display:flex;align-items:center;gap:15px;margin:0 0 20px;padding:15px 18px;border:1px solid rgba(176,145,255,.27);border-radius:16px;overflow:hidden;background:radial-gradient(ellipse at 12% 50%,rgba(143,99,255,.18),transparent 52%),linear-gradient(110deg,rgba(39,30,68,.72),rgba(15,20,37,.78));box-shadow:inset 0 1px 0 rgba(255,255,255,.045)}.streak-countdown:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.055) 48%,transparent 70%);transform:translateX(-110%);animation:streakTimerShine 5s ease-in-out infinite}.streak-countdown-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:13px;color:#e3d4ff;font-size:26px;background:rgba(153,112,255,.18);box-shadow:0 0 22px rgba(145,102,255,.16)}.streak-countdown-copy{display:grid;gap:3px}.streak-countdown-copy small{font-size:9px;letter-spacing:.15em;color:#a9a3c5}.streak-countdown-copy strong{font-size:25px;line-height:1.1;letter-spacing:.08em;color:#eee7ff;font-variant-numeric:tabular-nums;text-shadow:0 0 18px rgba(176,145,255,.28)}.streak-countdown>span{margin-left:auto;color:var(--muted,#a6abc1);font-size:11px;text-align:right}@keyframes streakTimerShine{0%,70%,100%{transform:translateX(-110%)}85%{transform:translateX(110%)}}@media(max-width:560px){.streak-countdown{gap:10px;padding:12px}.streak-countdown-icon{width:36px;height:36px;flex-basis:36px}.streak-countdown-copy strong{font-size:22px}.streak-countdown>span{max-width:105px;font-size:10px}}

/* Evruni Rewards hero — refined ambient motion */
.community-hero{position:relative;isolation:isolate;overflow:hidden;transform:translateZ(0);background:radial-gradient(ellipse at 82% 18%,rgba(151,104,255,.24),transparent 38%),radial-gradient(ellipse at 8% 110%,rgba(92,73,190,.17),transparent 46%),linear-gradient(125deg,rgba(28,22,55,.96),rgba(10,15,30,.94));border-color:rgba(177,139,255,.32);box-shadow:0 14px 42px rgba(3,4,14,.18),inset 0 1px 0 rgba(255,255,255,.055);animation:rewardsHeroIn .85s cubic-bezier(.2,.75,.25,1) both,rewardsHeroGlow 8s ease-in-out 1s infinite}
.community-hero:before{content:"";position:absolute;z-index:-1;inset:-55% -20%;pointer-events:none;background:linear-gradient(112deg,transparent 39%,rgba(195,165,255,.055) 47%,rgba(255,255,255,.12) 50%,rgba(160,124,255,.055) 53%,transparent 61%);transform:translateX(-65%) rotate(4deg);animation:rewardsHeroSweep 9s ease-in-out 1.2s infinite}
.community-hero:after{content:"";position:absolute;z-index:-1;width:250px;height:250px;right:5%;top:-155px;border-radius:50%;border:1px solid rgba(188,157,255,.13);box-shadow:0 0 0 22px rgba(164,126,255,.025),0 0 0 48px rgba(164,126,255,.018),0 0 65px rgba(143,99,255,.12);pointer-events:none;animation:rewardsOrb 12s ease-in-out infinite}
.community-hero>div:first-child{position:relative;z-index:1;animation:rewardsTextIn .8s .12s both}
.community-hero .eyebrow{display:inline-flex;align-items:center;gap:9px;color:#b9a0ff;text-shadow:0 0 16px rgba(170,129,255,.42);letter-spacing:.19em}
.community-hero .eyebrow:before{content:"";width:6px;height:6px;border-radius:50%;background:#b99aff;box-shadow:0 0 0 4px rgba(185,154,255,.12),0 0 14px rgba(185,154,255,.9);animation:rewardsDot 2.4s ease-in-out infinite}
.community-hero h2{background:linear-gradient(100deg,#fff 0%,#e8ddff 43%,#fff 70%,#cbb6ff 100%);background-size:220% auto;-webkit-background-clip:text;background-clip:text;color:transparent;animation:rewardsTitleShine 8s linear infinite;letter-spacing:-.035em}
.community-hero p{transition:color .35s ease;text-wrap:pretty}
.community-hero:hover{border-color:rgba(190,157,255,.48);box-shadow:0 18px 48px rgba(3,4,14,.24),0 0 30px rgba(132,91,230,.09),inset 0 1px 0 rgba(255,255,255,.075)}
.community-hero:hover p{color:#c2c5d8}
.streak-flame{position:relative;z-index:1;animation:rewardsIconFloat 4.5s ease-in-out infinite,rewardsIconPulse 3.5s ease-in-out infinite;transition:transform .35s ease,box-shadow .35s ease}
.community-hero:hover .streak-flame{transform:translateY(-4px) rotate(-4deg);box-shadow:0 0 48px rgba(145,91,255,.48),inset 0 0 24px rgba(255,255,255,.12)}
@keyframes rewardsHeroIn{from{opacity:0;transform:translateY(14px) scale(.992)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes rewardsTextIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes rewardsHeroGlow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes rewardsHeroSweep{0%,18%{transform:translateX(-65%) rotate(4deg);opacity:0}32%{opacity:1}58%,100%{transform:translateX(65%) rotate(4deg);opacity:0}}
@keyframes rewardsOrb{0%,100%{transform:translate(0,0) scale(1);opacity:.65}50%{transform:translate(-18px,18px) scale(1.08);opacity:1}}
@keyframes rewardsDot{0%,100%{opacity:.75;box-shadow:0 0 0 4px rgba(185,154,255,.1),0 0 10px rgba(185,154,255,.65)}50%{opacity:1;box-shadow:0 0 0 6px rgba(185,154,255,.15),0 0 18px rgba(185,154,255,1)}}
@keyframes rewardsTitleShine{0%{background-position:100% center}100%{background-position:-120% center}}
@keyframes rewardsIconFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes rewardsIconPulse{0%,100%{filter:brightness(1)}50%{filter:brightness(1.18)}}
@media(max-width:560px){.community-hero{min-height:150px}.community-hero:after{right:-90px;top:-170px;width:220px;height:220px}.community-hero h2{max-width:100%;line-height:1.12}.community-hero p{max-width:95%;line-height:1.5}}
@media(prefers-reduced-motion:reduce){.community-hero,.community-hero:before,.community-hero:after,.community-hero>div:first-child,.community-hero .eyebrow:before,.community-hero h2,.streak-flame{animation:none!important;transition:none!important}}

/* API Sandbox polished request/response workspace */
.sandbox-pro{position:relative;overflow:hidden}
.sandbox-pro:before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,rgba(159,124,255,.8),transparent);animation:sandboxLine 5s ease-in-out infinite;pointer-events:none}
.sandbox-toolbar{align-items:center;gap:12px;flex-wrap:wrap}
.sandbox-toolbar select{min-width:210px}
.sandbox-method{font:600 10px/1.2 ui-monospace,monospace;letter-spacing:.12em;color:#a995ff;border:1px solid rgba(157,125,255,.24);background:rgba(125,91,230,.09);padding:9px 12px;border-radius:10px}
.sandbox-label{display:block;margin:18px 0 8px;color:var(--muted,#9299ae);font-size:11px;letter-spacing:.1em;text-transform:uppercase}
.sandbox-prompt{min-height:190px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.6;transition:border-color .2s,box-shadow .2s}
.sandbox-prompt:focus{border-color:rgba(157,125,255,.75);box-shadow:0 0 0 3px rgba(137,99,255,.12),0 0 28px rgba(137,99,255,.08);outline:none}
.sandbox-actions{margin-top:14px;align-items:center;flex-wrap:wrap}
.sandbox-hint{font-size:11px;color:var(--muted,#9299ae)}
.sandbox-response{margin-top:28px;border:1px solid rgba(139,151,190,.18);border-radius:16px;background:rgba(5,9,20,.45);overflow:hidden}
.sandbox-response-head{display:flex;align-items:center;justify-content:space-between;padding:13px 16px;border-bottom:1px solid rgba(139,151,190,.14);font-size:12px}
.sandbox-status{font-size:11px;color:#9299ae}
.sandbox-status.is-running{color:#bca8ff;animation:sandboxPulse 1.1s ease-in-out infinite}
.sandbox-status.is-success{color:#73d9ad}
.sandbox-status.is-error{color:#ff858f}
.sandbox-response .codebox{min-height:150px;max-height:520px;overflow:auto;margin:0;border:0;border-radius:0;background:transparent;white-space:pre-wrap;overflow-wrap:anywhere}
.sandbox-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;padding:0 16px 16px}
.sandbox-preview:empty{display:none}
.sandbox-preview img{display:block;width:100%;max-height:420px;object-fit:contain;border:1px solid rgba(157,125,255,.2);border-radius:12px;background:#080b16;animation:sandboxReveal .45s ease both}
@keyframes sandboxLine{0%,100%{opacity:.25;transform:translateX(-15%)}50%{opacity:1;transform:translateX(15%)}}
@keyframes sandboxPulse{50%{opacity:.45}}
@keyframes sandboxReveal{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:700px){.sandbox-toolbar>*{width:100%;min-width:0!important}.sandbox-prompt{min-height:160px}.sandbox-hint{width:100%}}


/* API Sandbox guide: animated onboarding panel */
.sandbox-guide{position:relative;overflow:hidden;border:1px solid rgba(153,126,255,.22);border-radius:16px;background:linear-gradient(115deg,rgba(116,78,220,.13),rgba(12,18,34,.72) 48%,rgba(35,54,91,.18));box-shadow:inset 0 1px rgba(255,255,255,.035);animation:sandboxGuideIn .65s cubic-bezier(.2,.75,.25,1) both}
.sandbox-guide:before{content:"";position:absolute;inset:-80% auto -80% -35%;width:28%;transform:rotate(22deg);background:linear-gradient(90deg,transparent,rgba(190,169,255,.09),transparent);animation:sandboxGuideShine 8s ease-in-out infinite;pointer-events:none}
.sandbox-guide summary{position:relative;display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer;padding:15px 18px;user-select:none}
.sandbox-guide summary::-webkit-details-marker{display:none}.sandbox-guide summary>span:nth-child(2){display:grid;gap:3px}.sandbox-guide summary b{font-size:13px;color:#f0edff}.sandbox-guide summary small{font-size:11px;color:#9ca5bd}.sandbox-guide summary>i{margin-left:auto;color:#b9a5ff;font-style:normal;transition:transform .25s}.sandbox-guide[open] summary>i{transform:rotate(180deg)}
.sandbox-guide-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(173,143,255,.35);border-radius:11px;color:#d0c0ff;background:rgba(142,103,255,.15);box-shadow:0 0 22px rgba(132,91,255,.16);animation:sandboxIconGlow 3.5s ease-in-out infinite}
.sandbox-guide-body{position:relative;padding:0 18px 18px 64px;animation:sandboxReveal .35s ease both}.sandbox-guide-body>p{max-width:1000px;margin:0 0 14px;color:#b7bfd3;font-size:12px;line-height:1.65}.sandbox-guide-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.sandbox-guide-steps>div{display:grid;gap:5px;min-height:88px;padding:12px;border:1px solid rgba(153,164,204,.13);border-radius:12px;background:rgba(6,10,22,.36);transition:transform .25s,border-color .25s,background .25s}.sandbox-guide-steps>div:hover{transform:translateY(-3px);border-color:rgba(164,133,255,.4);background:rgba(111,77,203,.11)}.sandbox-guide-steps em{font:700 10px ui-monospace,monospace;color:#a991ff;font-style:normal;letter-spacing:.12em}.sandbox-guide-steps b{font-size:11px;color:#e6e8f4}.sandbox-guide-steps span{font-size:10px;line-height:1.45;color:#929bb2}.sandbox-guide-note{margin-top:11px;padding:10px 12px;border-left:2px solid #9878ff;border-radius:0 9px 9px 0;background:rgba(139,105,255,.07);font-size:10px;line-height:1.6;color:#aeb6cb}.sandbox-guide-note b{color:#d8ccff}.sandbox-guide-note code{color:#c4b4ff;font-family:ui-monospace,monospace}
@keyframes sandboxGuideIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes sandboxGuideShine{0%,65%{left:-35%;opacity:0}75%{opacity:1}100%{left:120%;opacity:0}}@keyframes sandboxIconGlow{50%{box-shadow:0 0 28px rgba(151,112,255,.32);transform:translateY(-1px)}}
@media(max-width:760px){.sandbox-guide-body{padding:0 13px 14px}.sandbox-guide-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.sandbox-guide summary{padding:13px}.sandbox-guide-steps>div{min-height:82px}}@media(prefers-reduced-motion:reduce){.sandbox-guide,.sandbox-guide:before,.sandbox-guide-icon{animation:none!important}.sandbox-guide-steps>div{transition:none}}

/* Evruni Presets — polished controls and cards */
.preset-intro{display:flex;align-items:flex-start;gap:14px;margin:0 26px 16px;padding:17px 19px;border:1px solid rgba(151,125,255,.22);border-radius:16px;background:linear-gradient(110deg,rgba(104,78,204,.13),rgba(12,18,33,.72));animation:presetRise .55s ease both}
.preset-intro-icon,.preset-card-glyph{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;color:#d9ccff;background:linear-gradient(145deg,rgba(169,142,255,.28),rgba(93,65,190,.12));border:1px solid rgba(174,151,255,.28);box-shadow:0 0 22px rgba(132,101,255,.16)}
.preset-intro b{color:#f0edff;font-size:13px}.preset-intro p{margin:5px 0 0;color:#8f9ab1;font-size:12px;line-height:1.55}
.preset-form-modern{gap:14px!important;animation:presetRise .65s ease both}.preset-field{display:grid;gap:7px;color:#aeb8cc;font-size:11px;font-weight:650;letter-spacing:.025em}.preset-field>input,.preset-field>.model-picker,.preset-field textarea{width:100%;box-sizing:border-box}.preset-field small{color:#74819a;font-size:10px;font-weight:400;line-height:1.5}.preset-system{min-height:150px;resize:vertical}.preset-advanced{padding:15px 16px;border:1px solid rgba(143,124,218,.17);border-radius:15px;background:rgba(5,10,22,.48);display:grid;gap:10px}.preset-setting-head{display:flex;justify-content:space-between;align-items:center;gap:14px}.preset-setting-head>div{display:grid;gap:4px}.preset-setting-head b{font-size:12px;color:#e8e5f8}.preset-setting-head small{font-size:10px;color:#7e8aa2;line-height:1.45}.preset-setting-head output{min-width:48px;text-align:center;padding:6px 9px;border:1px solid rgba(157,132,255,.3);border-radius:10px;color:#d8caff;background:rgba(128,96,235,.13);font-weight:800;font-variant-numeric:tabular-nums}
.evruni-range{--range-fill:35%;appearance:none;-webkit-appearance:none;width:100%;height:7px;padding:0!important;border:0!important;border-radius:999px;outline:none;cursor:pointer;background:linear-gradient(90deg,#c3aaff 0%,#8058ed var(--range-fill),rgba(255,255,255,.12) var(--range-fill),rgba(255,255,255,.12) 100%);box-shadow:inset 0 1px 2px rgba(0,0,0,.35),0 0 15px rgba(135,102,255,.14)}
.evruni-range::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:19px;height:19px;border-radius:50%;border:2px solid #f5efff;background:radial-gradient(circle at 35% 30%,#fff,#cbb7ff 43%,#8860ed 100%);box-shadow:0 0 0 4px rgba(151,119,255,.16),0 0 16px rgba(151,119,255,.36);transition:transform .18s,box-shadow .18s}.evruni-range:hover::-webkit-slider-thumb{transform:scale(1.13);box-shadow:0 0 0 6px rgba(151,119,255,.2),0 0 22px rgba(151,119,255,.5)}.evruni-range::-moz-range-thumb{width:15px;height:15px;border-radius:50%;border:2px solid #f5efff;background:linear-gradient(145deg,#fff,#a98cff);box-shadow:0 0 0 4px rgba(151,119,255,.17),0 0 15px rgba(151,119,255,.3)}
.preset-range-labels{display:flex;justify-content:space-between;color:#68758e;font-size:9px}.preset-token-field{margin-top:4px}.preset-token-field input{max-width:260px}.preset-form-actions{display:flex;gap:10px}.preset-form-actions button{min-height:43px}.preset-form-actions #presetSave{flex:1}.preset-form-actions .secondary{border:1px solid var(--line);background:rgba(18,24,40,.8);color:#b8c1d2;border-radius:12px;padding:0 17px;cursor:pointer}
.preset-list-head{display:flex;align-items:center;justify-content:space-between;margin:24px 26px 10px}.preset-list-head>div{display:grid;gap:3px}.preset-list-head b{font-size:14px;color:#e9ecf7}.preset-list-head small{font-size:10px;color:#738099}.preset-list-head>span{padding:5px 9px;border-radius:999px;background:rgba(136,107,255,.13);border:1px solid rgba(150,126,255,.2);color:#cdbfff;font-size:11px}.preset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;margin:0 26px 22px}.preset-card{min-width:0;padding:15px;border:1px solid rgba(132,146,180,.17);border-radius:16px;background:linear-gradient(145deg,rgba(17,24,42,.9),rgba(8,13,25,.86));animation:presetRise .42s ease both;transition:transform .22s,border-color .22s,box-shadow .22s}.preset-card:hover{transform:translateY(-3px);border-color:rgba(155,130,255,.4);box-shadow:0 15px 35px rgba(0,0,0,.2),0 0 20px rgba(121,91,226,.08)}.preset-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.preset-card-temp{font-size:9px;color:#aa9bdc}.preset-card h3{margin:12px 0 4px;color:#f0edff;font-size:14px;overflow-wrap:anywhere}.preset-card>p{margin:0;color:#9a8bd5;font-size:10px}.preset-card-prompt{margin-top:12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:#8d99af;font-size:10px;line-height:1.55;min-height:46px;overflow-wrap:anywhere}.preset-card-meta{margin-top:10px;color:#66748d;font-size:9px}.preset-card-actions{display:flex;gap:8px;margin-top:14px}.preset-card-actions button{flex:1;min-height:34px;border-radius:10px;cursor:pointer;font-size:10px;font-weight:700;transition:.18s}.preset-edit{border:1px solid rgba(151,127,255,.3);background:rgba(126,96,226,.14);color:#d7caff}.preset-edit:hover{background:rgba(126,96,226,.25);border-color:rgba(174,151,255,.55)}.preset-delete{border:1px solid rgba(221,111,133,.2);background:rgba(145,48,73,.08);color:#d99aa8}.preset-delete:hover{background:rgba(145,48,73,.2)}.preset-empty{grid-column:1/-1;display:grid;justify-items:center;gap:7px;padding:30px 15px;border:1px dashed rgba(137,148,177,.2);border-radius:15px;color:#8995ac;text-align:center}.preset-empty>span{font-size:25px;color:#aa91ff}.preset-empty b{font-size:12px;color:#c9cfe0}.preset-empty small{font-size:10px;color:#748099}
@keyframes presetRise{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:560px){.preset-intro,.preset-form,.preset-list-head,.preset-grid{margin-left:17px;margin-right:17px}.preset-form-actions{flex-direction:column}.preset-form-actions button{width:100%}.preset-grid{grid-template-columns:1fr}.preset-token-field input{max-width:none}}
@media(prefers-reduced-motion:reduce){.preset-intro,.preset-form-modern,.preset-card{animation:none;transition:none}}

/* Evruni V40.3 — restore the previous centered workspace width; no other layout changes. */
@media (min-width:701px){
  html body.dashboard-page .app>.main{
    width:min(1480px, calc(100vw - 268px))!important;
    max-width:1480px!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  html body.dashboard-page.sidebar-collapsed .app>.main{
    width:min(1480px, calc(100vw - 76px))!important;
    max-width:1480px!important;
    margin-left:76px!important;
    margin-right:auto!important;
  }
}

/* Evruni V40.3 — keep the left navigation fixed while the workspace scrolls */
@media (min-width:701px){
  html body.dashboard-page .app{display:block!important;min-height:100vh!important;}
  html body.dashboard-page .app>.sidebar{
    position:fixed!important;inset:0 auto 0 0!important;
    width:268px!important;min-width:268px!important;max-width:268px!important;
    height:100vh!important;height:100dvh!important;max-height:100vh!important;
    flex:none!important;overflow:hidden!important;z-index:120!important;
  }
  html body.dashboard-page .app>.sidebar>nav{
    flex:1 1 auto!important;min-height:0!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior:contain!important;
  }
  html body.dashboard-page .app>.main{
    width:auto!important;max-width:none!important;min-width:0!important;
    margin-left:268px!important;
  }
}
@media (min-width:701px) and (max-width:980px){
  html body.dashboard-page .app>.sidebar{width:82px!important;min-width:82px!important;max-width:82px!important;}
  html body.dashboard-page .app>.main{margin-left:82px!important;}
}
@media (min-width:981px){
  html body.dashboard-page.sidebar-collapsed .app>.sidebar,
  html body.dashboard-page .app>.sidebar-collapsed{width:76px!important;min-width:76px!important;max-width:76px!important;}
  html body.dashboard-page.sidebar-collapsed .app>.main{margin-left:76px!important;}
}
@media (max-width:700px){
  html body.dashboard-page .app>.sidebar{position:fixed!important;}
  html body.dashboard-page .app>.main{margin-left:clamp(154px,30vw,188px)!important;}
}


/* Evruni V40.3 — center the workspace in the area to the right of the fixed sidebar. */
@media (min-width:701px){
  html body.dashboard-page .app>.main{
    box-sizing:border-box!important;
    width:min(1440px,calc(100vw - 268px - 64px))!important;
    max-width:1440px!important;
    min-width:0!important;
    margin-left:calc(268px + max(0px,(100vw - 268px - 64px - 1440px)/2))!important;
    margin-right:auto!important;
  }
  html body.dashboard-page.sidebar-collapsed .app>.main{
    width:min(1440px,calc(100vw - 76px - 64px))!important;
    margin-left:calc(76px + max(0px,(100vw - 76px - 64px - 1440px)/2))!important;
    margin-right:auto!important;
  }
}
@media (min-width:701px) and (max-width:980px){
  html body.dashboard-page .app>.main{
    width:calc(100vw - 82px - 32px)!important;
    max-width:none!important;
    margin-left:98px!important;
    margin-right:16px!important;
  }
}

/* Developer API — animated, explanatory workspace */
.developer-api-intro{position:relative;overflow:hidden;display:grid;grid-template-columns:54px minmax(0,1fr);gap:14px;margin:0 26px 18px;padding:22px;border:1px solid rgba(151,126,255,.28);border-radius:20px;background:linear-gradient(115deg,rgba(94,70,177,.20),rgba(14,21,39,.88) 48%,rgba(14,38,54,.52));box-shadow:inset 0 1px rgba(255,255,255,.04);animation:devApiRise .65s both}
.developer-api-intro:before{content:"";position:absolute;inset:-70% auto -70% -35%;width:32%;transform:rotate(22deg);background:linear-gradient(90deg,transparent,rgba(181,163,255,.12),transparent);animation:devApiShimmer 8s ease-in-out infinite;pointer-events:none}
.developer-api-orbit{width:48px;height:48px;display:grid;place-items:center;border:1px solid rgba(173,148,255,.45);border-radius:15px;background:rgba(126,97,255,.18);color:#d6caff;font-size:23px;box-shadow:0 0 28px rgba(133,99,255,.24);animation:devApiPulse 3s ease-in-out infinite}
.developer-api-kicker{font-size:9px;letter-spacing:.17em;color:#a895ff;font-weight:800}.developer-api-intro h3{margin:5px 0 7px;font-size:19px;color:#eef0ff}.developer-api-intro p{max-width:850px;margin:0;color:#9aa6bd;font-size:12px;line-height:1.65}
.developer-api-steps{grid-column:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:5px}.developer-api-steps>div{display:grid;gap:5px;padding:12px;border:1px solid rgba(143,155,190,.14);border-radius:13px;background:rgba(5,10,22,.36);transition:transform .22s,border-color .22s,background .22s}.developer-api-steps>div:hover{transform:translateY(-3px);border-color:rgba(161,137,255,.42);background:rgba(86,67,155,.13)}.developer-api-steps b{font-size:9px;color:#aa95ff;letter-spacing:.12em}.developer-api-steps strong{font-size:11px;color:#e0e5f5}.developer-api-steps small{font-size:10px;line-height:1.5;color:#8490a8}
.developer-key-create{margin-bottom:12px}.developer-key-create input:first-child{min-width:0}.developer-key-warning{padding:13px 16px;border:1px solid rgba(220,177,104,.2);border-radius:13px;background:rgba(100,75,29,.08);font-size:11px;line-height:1.6}.developer-key-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 26px 10px}.developer-key-list-head h3{margin:0;font-size:15px}.developer-key-list-head p{margin:4px 0 0;color:#78849d;font-size:10px}.developer-key-count{padding:6px 10px;border:1px solid var(--line);border-radius:999px;color:#b7a8ff;font-size:10px;background:rgba(126,97,255,.08)}.developer-key-list{margin:0 26px 18px;display:grid;gap:9px}.developer-key-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;border:1px solid rgba(124,140,177,.17);border-radius:15px;background:linear-gradient(110deg,rgba(17,24,42,.86),rgba(9,15,28,.82));animation:devApiRise .35s both;transition:border-color .2s,transform .2s,box-shadow .2s}.developer-key-row:hover{transform:translateY(-2px);border-color:rgba(154,131,255,.38);box-shadow:0 12px 30px rgba(0,0,0,.14)}.developer-key-main{display:flex;align-items:flex-start;gap:11px;min-width:0}.developer-key-main>div{min-width:0}.developer-key-main b{display:block;color:#e4e8f7;font-size:13px}.developer-key-main small{display:block;margin-top:4px;color:#8591a8;font-size:10px}.developer-key-status{flex:0 0 9px;width:9px;height:9px;margin-top:5px;border-radius:50%;background:#58d8aa;box-shadow:0 0 12px rgba(88,216,170,.55)}.developer-key-status.revoked{background:#778096;box-shadow:none}.developer-key-meta{display:flex;gap:7px 13px;flex-wrap:wrap;margin-top:8px;color:#727f98;font-size:9px}.developer-key-row .danger{flex:0 0 auto}.developer-key-revoked-label{color:#7f899e;font-size:10px}.developer-key-empty{display:grid;justify-items:center;gap:7px;padding:30px 15px;border:1px dashed rgba(143,155,190,.2);border-radius:16px;color:#9ca8c0;text-align:center}.developer-key-empty>span{font-size:26px;color:#a38aff}.developer-key-empty b{font-size:13px;color:#dce2f4}.developer-key-empty small{font-size:10px;color:#77849b}.developer-key-secret{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;margin:14px 26px;padding:16px;border:1px solid rgba(87,215,171,.34);border-radius:15px;background:linear-gradient(110deg,rgba(35,116,92,.14),rgba(14,25,39,.92));opacity:0;transform:translateY(8px);transition:opacity .25s,transform .25s}.developer-key-secret.is-visible{opacity:1;transform:translateY(0)}.developer-key-secret[hidden]{display:none}.developer-key-secret>div{grid-column:1/-1}.developer-key-secret b{color:#a8f0d4;font-size:13px}.developer-key-secret p{margin:4px 0 0;color:#8da99f;font-size:10px}.developer-key-secret code{min-width:0;overflow-wrap:anywhere;color:#e5f7ef;font-size:11px}.developer-key-example{display:grid;gap:9px;margin:0 26px 22px;padding:16px;border:1px solid var(--line);border-radius:15px;background:rgba(8,13,25,.6)}.developer-api-example b{font-size:12px}.developer-api-example code{padding:11px;border-radius:9px;background:#070b15;color:#b9a9ff;overflow-wrap:anywhere;font-size:10px}.developer-api-example small{color:#7e8ba3;font-size:10px;line-height:1.5}
@keyframes devApiRise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes devApiShimmer{0%,35%{left:-35%}75%,100%{left:120%}}@keyframes devApiPulse{0%,100%{box-shadow:0 0 18px rgba(133,99,255,.18)}50%{box-shadow:0 0 34px rgba(133,99,255,.42)}}
@media(max-width:760px){.developer-api-intro{grid-template-columns:42px minmax(0,1fr);margin:0 14px 14px;padding:15px}.developer-api-orbit{width:40px;height:40px}.developer-api-steps{grid-column:1/-1;grid-template-columns:1fr}.developer-key-create{grid-template-columns:1fr;margin:0 14px 12px}.developer-key-list-head,.developer-key-list,.developer-key-example{margin-left:14px;margin-right:14px}.developer-key-secret{grid-template-columns:1fr;margin-left:14px;margin-right:14px}.developer-key-secret button{width:100%}.developer-key-row{align-items:flex-start}.developer-key-row .danger{font-size:10px;padding:8px}}
@media(prefers-reduced-motion:reduce){.developer-api-intro,.developer-api-orbit,.developer-api-intro:before,.developer-key-row{animation:none!important;transition:none!important}}

/* Developer API authorization example: restore the intended card layout. */
.developer-api-example{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-items:start;
  gap:9px!important;
  min-width:0;
  width:auto;
  margin:16px 26px 22px!important;
  padding:16px!important;
  border:1px solid var(--line,rgba(124,140,177,.2))!important;
  border-radius:15px!important;
  background:linear-gradient(115deg,rgba(18,24,43,.92),rgba(8,13,25,.82))!important;
  box-sizing:border-box;
  overflow:hidden;
}
.developer-api-example b{display:block;font-size:12px;line-height:1.45;color:#e3e8f8}
.developer-api-example code{
  display:block;
  width:100%;
  min-width:0;
  box-sizing:border-box;
  padding:11px 12px;
  border:1px solid rgba(151,128,255,.16);
  border-radius:9px;
  background:#070b15;
  color:#b9a9ff;
  font-size:11px;
  line-height:1.5;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.developer-api-example small{display:block;min-width:0;color:#8b97ae;font-size:10px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:700px){.developer-api-example{margin:14px 12px 18px!important;padding:13px!important}.developer-api-example code{font-size:10px}}


/* Evruni V40.3 — Projects workspace polish */
.projects-intro{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:18px;margin:0 26px 18px;padding:22px 24px;border:1px solid rgba(153,126,255,.22);border-radius:20px;background:linear-gradient(112deg,rgba(94,67,174,.20),rgba(16,22,39,.78) 48%,rgba(15,30,47,.72));box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 12px 34px rgba(0,0,0,.12);animation:projectsIntroIn .65s cubic-bezier(.2,.75,.25,1) both}
.projects-intro:before{content:"";position:absolute;z-index:-1;inset:-80% auto -80% -35%;width:34%;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(191,169,255,.12),transparent);animation:projectsSweep 7s ease-in-out infinite}
.projects-intro-mark{flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center;border:1px solid rgba(191,166,255,.35);border-radius:15px;color:#d8caff;font-size:25px;background:linear-gradient(145deg,rgba(163,129,255,.26),rgba(88,62,177,.12));box-shadow:0 0 24px rgba(133,98,255,.18)}
.projects-intro-copy{min-width:0;max-width:760px}.projects-intro-copy h3{margin:5px 0 6px;font-size:19px;letter-spacing:-.025em;color:#f0efff}.projects-intro-copy p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.projects-intro-orbit{position:absolute;right:34px;top:50%;width:76px;height:76px;border:1px solid rgba(164,137,255,.2);border-radius:50%;transform:translateY(-50%);box-shadow:0 0 30px rgba(117,84,228,.12),inset 0 0 22px rgba(117,84,228,.08)}
.projects-intro-orbit:before,.projects-intro-orbit:after{content:"";position:absolute;inset:10px;border:1px dashed rgba(183,159,255,.26);border-radius:50%;animation:projectsOrbit 18s linear infinite}.projects-intro-orbit:after{inset:22px;border-style:solid;animation-direction:reverse;animation-duration:12s}
.projects-intro-orbit i,.projects-intro-orbit b,.projects-intro-orbit em{position:absolute;width:7px;height:7px;border-radius:50%;background:#b69aff;box-shadow:0 0 12px #9b7aff}.projects-intro-orbit i{top:7px;left:34px}.projects-intro-orbit b{right:5px;bottom:23px;background:#74d9ca}.projects-intro-orbit em{left:15px;bottom:8px;width:5px;height:5px}
.projects-toolbar{align-items:center}.projects-search-wrap{position:relative;flex:1;min-width:0}.projects-search-wrap>span{position:absolute;left:14px;top:50%;transform:translateY(-54%);font-size:23px;color:#a992ff;pointer-events:none}.projects-search-wrap input{width:100%;padding-left:42px!important;transition:border-color .2s,box-shadow .2s,background .2s}.projects-search-wrap input:focus{border-color:rgba(167,137,255,.58)!important;box-shadow:0 0 0 3px rgba(135,99,240,.12),0 0 22px rgba(135,99,240,.08);background:rgba(12,15,30,.94)}
.project-grid{align-items:stretch}.project-card{animation:projectCardIn .5s cubic-bezier(.2,.75,.25,1) both;animation-delay:calc(var(--project-index,0)*55ms);will-change:transform}.project-card:before{content:"";display:block;position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;background:linear-gradient(135deg,rgba(162,131,255,.08),transparent 45%,rgba(95,205,190,.035));transition:opacity .25s}.project-card{position:relative;overflow:hidden}.project-card:hover:before{opacity:1}
.project-card .project-open,.project-card .project-config,.project-card .project-files-btn{transition:transform .2s,color .2s,border-color .2s,background .2s}.project-card .project-open:hover,.project-card .project-config:hover,.project-card .project-files-btn:hover{transform:translateY(-1px)}
.projects-empty{grid-column:1/-1;min-height:210px;margin:0 26px 26px;padding:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed rgba(161,137,255,.3);border-radius:20px;background:radial-gradient(ellipse at 50% 0%,rgba(120,88,220,.12),transparent 65%),rgba(10,14,27,.4);animation:projectCardIn .55s ease both}
.projects-empty-icon{width:54px;height:54px;display:grid;place-items:center;margin-bottom:12px;border-radius:17px;color:#d9ccff;font-size:26px;background:rgba(137,105,237,.16);border:1px solid rgba(175,151,255,.28);box-shadow:0 0 28px rgba(131,96,235,.16);animation:projectEmptyFloat 4s ease-in-out infinite}
.projects-empty h3{margin:0 0 6px;color:#f0efff;font-size:18px}.projects-empty p{max-width:480px;margin:0 0 17px;color:var(--muted);font-size:13px;line-height:1.55}.projects-no-match{grid-column:1/-1;padding:22px;text-align:center;color:var(--muted);border:1px solid var(--line);border-radius:15px;background:rgba(10,14,27,.4)}
@keyframes projectsIntroIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes projectsSweep{0%,25%{left:-45%}65%,100%{left:125%}}@keyframes projectsOrbit{to{transform:rotate(360deg)}}@keyframes projectCardIn{from{opacity:0;transform:translateY(13px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes projectEmptyFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@media(max-width:850px){.projects-intro{margin-left:14px;margin-right:14px;padding:18px}.projects-intro-orbit{right:16px;opacity:.5}.projects-intro-copy{padding-right:38px}.projects-toolbar{padding-left:14px;padding-right:14px}.projects-empty{margin-left:14px;margin-right:14px}}
@media(prefers-reduced-motion:reduce){.projects-intro,.projects-intro:before,.projects-intro-orbit:before,.projects-intro-orbit:after,.project-card,.projects-empty-icon{animation:none!important;transition:none!important}}


/* Evruni V40.3 — native-free project creation dialog */
.project-create-modal{position:fixed;z-index:10080;inset:0;display:flex;align-items:center;justify-content:center;padding:22px;opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease}
.project-create-modal.show{opacity:1;visibility:visible}
.project-create-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(3,6,16,.76);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);cursor:default}
.project-create-dialog{position:relative;width:min(560px,100%);max-height:min(90vh,760px);overflow:auto;padding:25px;border:1px solid rgba(164,137,255,.34);border-radius:22px;background:linear-gradient(145deg,rgba(26,28,52,.98),rgba(10,16,30,.985) 68%,rgba(14,27,43,.98));box-shadow:0 28px 90px rgba(0,0,0,.55),0 0 42px rgba(119,83,231,.17),inset 0 1px 0 rgba(255,255,255,.07);transform:translateY(14px) scale(.985);transition:transform .28s cubic-bezier(.2,.8,.2,1)}
.project-create-modal.is-ready .project-create-dialog{transform:translateY(0) scale(1)}
.project-create-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:23px;padding-right:26px}.project-create-mark{flex:0 0 46px;width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(180,153,255,.38);border-radius:15px;color:#e2d8ff;font-size:24px;background:linear-gradient(145deg,rgba(155,120,255,.35),rgba(87,61,176,.16));box-shadow:0 0 25px rgba(137,100,245,.22)}
.project-create-head .eyebrow{font-size:9px;letter-spacing:.18em;color:#a995ff}.project-create-head h3{margin:4px 0 5px;color:#f2efff;font-size:23px;letter-spacing:-.035em}.project-create-head p{margin:0;color:#929db4;font-size:12px;line-height:1.55;max-width:420px}.project-create-close{position:absolute;right:18px;top:17px;width:32px;height:32px;border:1px solid rgba(159,174,202,.15);border-radius:10px;background:rgba(255,255,255,.035);color:#aeb8cd;font-size:21px;cursor:pointer;transition:.2s}.project-create-close:hover{color:#fff;border-color:rgba(172,145,255,.5);background:rgba(133,99,230,.16);transform:rotate(90deg)}
.project-create-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 8px;color:#dfe3f2;font-size:12px;font-weight:700}.project-create-label span{color:#77839c;font-size:10px;font-weight:500}.project-create-input,.project-create-textarea{box-sizing:border-box;width:100%;border:1px solid rgba(136,153,184,.2);border-radius:12px;background:rgba(5,10,21,.72);color:#eef0ff;padding:13px 14px;outline:none;font:inherit;font-size:13px;transition:border-color .2s,box-shadow .2s,background .2s}.project-create-input{height:47px}.project-create-textarea{min-height:90px;resize:vertical;line-height:1.55}.project-create-input:focus,.project-create-textarea:focus{border-color:rgba(164,135,255,.72);background:rgba(8,13,27,.94);box-shadow:0 0 0 3px rgba(135,98,238,.13),0 0 24px rgba(135,98,238,.09)}.project-create-input.invalid{border-color:#e87991;box-shadow:0 0 0 3px rgba(232,121,145,.1)}.project-create-count{display:flex;justify-content:space-between;min-height:18px;margin-top:5px;color:#74819a;font-size:10px}.project-create-count #projectCreateError{color:#ff9aaa}.project-create-count b{color:#b5a2ff;font-weight:700}.project-create-hint{display:flex;gap:10px;align-items:flex-start;margin-top:17px;padding:12px 13px;border:1px solid rgba(150,126,238,.17);border-radius:12px;background:rgba(112,82,195,.08)}.project-create-hint>span{color:#bda8ff;font-size:16px}.project-create-hint p{margin:0;color:#929db4;font-size:11px;line-height:1.55}.project-create-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:21px}.project-create-cancel{min-width:94px;padding:11px 16px;border:1px solid rgba(145,159,187,.2);border-radius:11px;background:rgba(255,255,255,.035);color:#b7c0d3;font-weight:700;cursor:pointer;transition:.2s}.project-create-cancel:hover{border-color:rgba(173,151,255,.45);color:#fff}.project-create-submit{min-width:160px;display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border-radius:11px;box-shadow:0 8px 24px rgba(108,75,224,.24);transition:transform .2s,box-shadow .2s}.project-create-submit:hover{transform:translateY(-1px);box-shadow:0 11px 30px rgba(108,75,224,.34)}.project-create-submit:disabled{opacity:.7;cursor:wait;transform:none}.project-create-spinner{width:14px;height:14px;border:2px solid rgba(255,255,255,.35);border-top-color:white;border-radius:50%;animation:projectCreateSpin .7s linear infinite}@keyframes projectCreateSpin{to{transform:rotate(360deg)}}
@media(max-width:560px){.project-create-modal{padding:13px}.project-create-dialog{padding:20px 17px;border-radius:18px}.project-create-head h3{font-size:20px}.project-create-actions{flex-direction:column-reverse}.project-create-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){.project-create-modal,.project-create-dialog,.project-create-close,.project-create-submit{transition:none!important}.project-create-spinner{animation:none!important}}


/* Evruni V40.3 — project cards layout + motion refinement */
.project-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))!important;gap:16px!important;}
.project-card{box-sizing:border-box;min-width:0;min-height:250px;display:flex;flex-direction:column;padding:19px!important;border-radius:20px!important;background:linear-gradient(145deg,rgba(17,22,39,.94),rgba(9,14,27,.88))!important;border-color:rgba(148,158,194,.17)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 12px 28px rgba(0,0,0,.12);transition:transform .28s cubic-bezier(.2,.8,.2,1),border-color .28s,box-shadow .28s,background .28s!important;}
.project-card:hover{transform:translateY(-4px)!important;border-color:rgba(164,135,255,.48)!important;box-shadow:0 18px 42px rgba(0,0,0,.25),0 0 28px rgba(126,91,235,.11),inset 0 1px 0 rgba(255,255,255,.06)!important;}
.project-card-top{min-width:0;gap:10px;margin-bottom:2px;}
.project-card h3{margin:15px 0 6px!important;line-height:1.28;overflow-wrap:anywhere;}
.project-card p{min-height:0!important;max-height:3.2em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.55;overflow-wrap:anywhere;}
.project-card>small{display:inline-flex;align-items:center;align-self:flex-start;margin:2px 0 0;padding:5px 9px;border:1px solid rgba(153,130,231,.16);border-radius:999px;background:rgba(126,96,218,.08);color:#bcb1e8!important;font-size:10px!important;}
.project-card-actions{flex-shrink:0;gap:7px;}
.project-card .project-open{padding:8px 12px;border:1px solid rgba(155,128,245,.23);border-radius:11px;background:rgba(126,93,224,.10);font-weight:700;}
.project-card .project-open:hover{background:rgba(126,93,224,.2);border-color:rgba(173,148,255,.55);}
.project-card .project-config{width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(148,160,190,.18);border-radius:12px;background:rgba(255,255,255,.025);}
.project-files-mini{box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin-top:13px!important;padding:0 1px 2px!important;display:grid;gap:6px;max-height:112px;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin;}
.project-file-row{box-sizing:border-box;width:100%;max-width:100%;min-width:0;display:flex;align-items:center;gap:8px;padding:8px 9px!important;border:1px solid rgba(157,170,204,.12)!important;border-radius:11px!important;background:rgba(255,255,255,.025)!important;overflow:hidden;}
.project-file-row span:first-child{flex:0 0 14px;width:14px;text-align:center;color:#ad98ff;}
.project-file-row span:nth-child(2){display:block;flex:1 1 auto;width:0;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.project-file-delete{flex:0 0 24px;width:24px;height:24px;display:grid;place-items:center;border-radius:7px!important;}
.project-file-actions{margin-top:auto!important;padding-top:11px;}
.project-card .project-files-btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px!important;border:1px solid rgba(151,130,222,.19)!important;border-radius:11px!important;background:rgba(111,85,190,.07)!important;color:#c5b9eb!important;font-weight:650;}
.project-card .project-files-btn:hover{border-color:rgba(171,145,255,.5)!important;background:rgba(119,88,215,.16)!important;}
@keyframes projectCardGlow{0%,100%{opacity:.15}50%{opacity:.55}}
.project-card:after{content:"";position:absolute;top:0;left:14%;right:14%;height:1px;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(188,164,255,.45),transparent);opacity:.4;transition:opacity .25s;}
.project-card:hover:after{opacity:1;animation:projectCardGlow 2.4s ease-in-out infinite;}
@media(max-width:520px){.project-grid{grid-template-columns:minmax(0,1fr)!important;padding-left:12px!important;padding-right:12px!important;}.project-card{padding:16px!important;}}
@media(prefers-reduced-motion:reduce){.project-card,.project-card:after{animation:none!important;transition:none!important;}}



/* Evruni V40.3 — Knowledge Base visual polish */
.upload-zone{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  margin:0 26px;
  padding:42px 24px;
  min-height:220px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px dashed rgba(151,137,255,.34);
  border-radius:20px;
  background:
    radial-gradient(ellipse at 50% -10%,rgba(123,91,255,.16),transparent 56%),
    linear-gradient(145deg,rgba(15,19,36,.88),rgba(8,13,25,.78));
  transition:border-color .28s ease,box-shadow .28s ease,background .28s ease,transform .28s ease;
}
.upload-zone::before{
  content:"";
  position:absolute;
  inset:-1px;
  z-index:-1;
  border-radius:inherit;
  pointer-events:none;
  background:linear-gradient(110deg,transparent 15%,rgba(174,151,255,.10) 48%,transparent 72%);
  transform:translateX(-110%);
  animation:kbUploadSweep 8s ease-in-out infinite;
}
.upload-zone::after{
  content:"✦";
  position:absolute;
  top:18px;
  right:22px;
  color:rgba(176,151,255,.45);
  font-size:18px;
  text-shadow:0 0 18px rgba(137,101,255,.5);
  animation:kbUploadSpark 3.8s ease-in-out infinite;
  pointer-events:none;
}
.upload-zone:hover{
  border-color:rgba(174,151,255,.62);
  box-shadow:0 18px 48px rgba(74,51,160,.14),inset 0 1px 0 rgba(255,255,255,.035);
}
.upload-zone.dragover{
  border-color:rgba(186,164,255,.9);
  background:radial-gradient(ellipse at 50% 0,rgba(126,91,255,.24),transparent 65%),rgba(18,18,39,.94);
  box-shadow:0 0 0 3px rgba(137,101,255,.12),0 22px 55px rgba(88,61,188,.2);
  transform:translateY(-2px) scale(1.004);
}
.upload-zone h3{
  margin:2px 0 0;
  font-size:18px;
  letter-spacing:-.025em;
}
.upload-zone p{
  margin:2px 0 4px;
  color:#aeb7cb;
  line-height:1.5;
}
.upload-zone .evruni-file-picker{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  width:100%;
  margin:0 auto 6px;
}
.upload-zone .evruni-file-button{
  transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s ease,filter .2s ease;
}
.upload-zone .evruni-file-button:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 32px rgba(106,73,238,.34),inset 0 1px 0 rgba(255,255,255,.22);
}
.upload-zone #docUpload{
  position:relative;
  z-index:1;
  min-width:116px;
  margin-top:2px;
  box-shadow:0 10px 26px rgba(106,73,238,.22);
}
.list.doc-list{
  margin:16px 26px 26px;
}
.doc-list-row{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border:1px solid rgba(151,164,198,.14);
  border-radius:15px;
  background:linear-gradient(120deg,rgba(16,22,39,.88),rgba(10,16,29,.82));
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease;
  animation:kbRowIn .42s cubic-bezier(.16,1,.3,1) both;
}
.doc-list-row:hover{
  transform:translateY(-2px);
  border-color:rgba(157,130,255,.36);
  box-shadow:0 12px 30px rgba(0,0,0,.16),0 0 22px rgba(113,81,231,.08);
}
.doc-list-row>span{
  min-width:0;
  overflow-wrap:anywhere;
  word-break:break-word;
  line-height:1.5;
  color:#c8d0e1;
}
.doc-row-actions{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}
.doc-row-actions small{
  flex:0 0 auto;
  white-space:nowrap;
}
.doc-understand{
  white-space:nowrap;
  flex:0 0 auto;
}
.doc-analysis{
  animation:kbRowIn .35s ease both;
}
@keyframes kbUploadSweep{
  0%,18%{transform:translateX(-110%)}
  58%,100%{transform:translateX(110%)}
}
@keyframes kbUploadSpark{
  0%,100%{opacity:.38;transform:translateY(0) rotate(0) scale(.9)}
  50%{opacity:.95;transform:translateY(-5px) rotate(24deg) scale(1.12)}
}
@keyframes kbRowIn{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}
@media(max-width:760px){
  .upload-zone{margin:0 14px;padding:32px 16px;min-height:200px}
  .upload-zone::after{top:12px;right:14px}
  .list.doc-list{margin-left:14px;margin-right:14px}
  .doc-list-row{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:10px}
  .doc-row-actions{width:100%;justify-content:space-between;flex-wrap:wrap}
  .doc-understand{white-space:normal}
}
@media(prefers-reduced-motion:reduce){
  .upload-zone::before,.upload-zone::after{animation:none!important}
  .doc-list-row{animation:none!important;transition:none!important}
}



/* Evruni V40.3 — chat history: reliable access to the first message */
@media (min-width:851px){
  html body.dashboard-page .app>.main>#view .chat-layout{
    min-height:0!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app>.main>#view .chat-panel{
    min-height:0!important;
    height:100%!important;
    overflow:hidden!important;
  }
  html body.dashboard-page .app>.main>#view .messages{
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    align-content:flex-start!important;
    box-sizing:border-box!important;
    min-height:0!important;
    height:0!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:scroll!important;
    padding-top:24px!important;
    padding-bottom:28px!important;
    scroll-padding-block:24px!important;
    scroll-snap-type:none!important;
    overscroll-behavior-y:contain!important;
    overflow-anchor:auto!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }
  html body.dashboard-page .app>.main>#view .messages>.msg:first-child{
    margin-top:0!important;
    scroll-margin-top:24px!important;
  }
}
@media (max-width:850px){
  html body.dashboard-page .app>.main>#view .messages{
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain!important;
    scroll-padding-top:18px!important;
    padding-top:18px!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
  }
}



/* Evruni V40.3 — Audio workspace polish */
.audio-studio{
  grid-template-columns:minmax(0,680px);
  align-content:start;
  padding:0 26px 28px;
}
.audio-card{
  position:relative;
  overflow:hidden;
  gap:13px;
  padding:22px;
  background:radial-gradient(ellipse at 0 0,rgba(119,83,245,.13),transparent 48%),linear-gradient(145deg,rgba(13,18,34,.96),rgba(8,13,25,.94));
  border-color:rgba(145,129,220,.2);
  box-shadow:0 18px 50px rgba(0,0,0,.12);
  animation:audioCardIn .48s cubic-bezier(.16,1,.3,1) both;
}
.audio-card::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(176,151,255,.7),transparent);
  transform:translateX(-100%);
  animation:audioLineSweep 6s ease-in-out infinite;
}
.audio-card-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}
.audio-card-heading h3{margin:0;font-size:17px}
.audio-card-heading p{margin:5px 0 0;color:#8995ad;font-size:12px;line-height:1.5}
.audio-mark{
  width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;
  border:1px solid rgba(163,139,255,.3);border-radius:14px;
  color:#c5b5ff;background:rgba(126,94,242,.12);
  box-shadow:0 0 24px rgba(127,92,244,.13);
  font-size:20px;animation:audioMarkPulse 3s ease-in-out infinite;
}
.audio-field-label{margin-top:2px;color:#8995ad;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.audio-card #sttModel{width:min(100%,310px)!important;max-width:100%}
.audio-upload-control{
  min-height:62px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  padding:10px 12px;border:1px dashed rgba(151,137,255,.34);border-radius:14px;
  background:rgba(6,10,21,.58);transition:border-color .22s ease,background .22s ease,box-shadow .22s ease;
}
.audio-upload-control:focus-within,.audio-upload-control:hover{
  border-color:rgba(174,151,255,.68);background:rgba(19,18,43,.7);
  box-shadow:0 0 0 3px rgba(137,101,255,.08);
}
.audio-file-input-native{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important;
}
.audio-choose-button{display:inline-flex;align-items:center;gap:9px;cursor:pointer;white-space:nowrap}
.audio-upload-icon{font-size:18px;line-height:1}
.audio-selected-name{min-width:0;flex:1;color:#929db3;font-size:12px;overflow-wrap:anywhere}
.audio-transcribe-button{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:9px}
.audio-transcribe-button:not(:disabled){box-shadow:0 10px 28px rgba(103,73,226,.2)}
.audio-result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:3px;color:#cbd3e4;font-size:12px;font-weight:750}
.audio-result-state{color:#8995ad;font-size:11px;font-weight:500}
.audio-result{min-height:150px;max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75}
@keyframes audioCardIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes audioLineSweep{0%,15%{transform:translateX(-100%)}65%,100%{transform:translateX(100%)}}
@keyframes audioMarkPulse{0%,100%{box-shadow:0 0 16px rgba(127,92,244,.1);transform:translateY(0)}50%{box-shadow:0 0 26px rgba(127,92,244,.25);transform:translateY(-2px)}}
@media(max-width:700px){
  .audio-studio{grid-template-columns:minmax(0,1fr);padding:0 14px 20px}
  .audio-card{padding:17px}
  .audio-upload-control{align-items:flex-start;flex-direction:column;gap:10px}
  .audio-selected-name{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .audio-card,.audio-card::before,.audio-mark{animation:none!important}
}



/* Evruni V40.3 — Video Studio animated polish */
.video-studio{perspective:1200px}
.video-studio>.video-section,
.video-studio>.video-cost-bar,
.video-studio>.video-recent{
  position:relative;
  animation:videoPanelIn .58s cubic-bezier(.16,1,.3,1) both;
  transition:border-color .28s ease,box-shadow .28s ease,transform .28s ease,background .28s ease;
}
.video-studio>.video-section:nth-child(1){animation-delay:.03s}
.video-studio>.video-section:nth-child(2){animation-delay:.10s}
.video-studio>.video-section:nth-child(3){animation-delay:.17s}
.video-studio>.video-cost-bar{animation-delay:.23s}
.video-studio>.video-recent{animation-delay:.29s}
.video-studio>.video-section:hover,
.video-studio>.video-cost-bar:hover,
.video-studio>.video-recent:hover{
  border-color:rgba(157,132,255,.32);
  box-shadow:0 16px 42px rgba(0,0,0,.16),0 0 28px rgba(112,82,232,.07),inset 0 1px 0 rgba(255,255,255,.035);
}
.video-prompt-section{overflow:hidden}
.video-prompt-section::before{
  content:"";position:absolute;left:0;right:0;top:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(174,150,255,.78),transparent);
  transform:translateX(-100%);animation:videoLightSweep 7s ease-in-out infinite;pointer-events:none
}
.video-prompt-input{
  transition:border-color .25s ease,box-shadow .25s ease,background .25s ease;
  background:linear-gradient(145deg,rgba(28,28,46,.96),rgba(16,20,35,.96));
}
.video-prompt-input:focus{
  background:linear-gradient(145deg,rgba(30,27,53,.98),rgba(13,19,35,.98));
  box-shadow:0 0 0 3px rgba(137,105,255,.11),0 12px 34px rgba(84,62,180,.12);
}
.video-section-head h3{transition:color .2s ease}
.video-section:hover .video-section-head h3{color:#f1edff}
.video-param select,.video-param .model-picker-trigger{
  transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease,background .22s ease;
}
.video-param select:hover,.video-param .model-picker-trigger:hover{
  border-color:rgba(163,140,255,.48);box-shadow:0 0 0 3px rgba(137,105,255,.07);
}
.video-capability-chips span{
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
  animation:videoChipIn .35s ease both;
}
.video-capability-chips span:hover{transform:translateY(-2px);border-color:rgba(170,147,255,.48);background:rgba(119,89,236,.13)}
.video-media-card{
  position:relative;overflow:hidden;
  transition:transform .25s cubic-bezier(.16,1,.3,1),border-color .25s ease,box-shadow .25s ease,background .25s ease;
}
.video-media-card::after{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:0;
  background:linear-gradient(115deg,transparent 20%,rgba(163,140,255,.075) 50%,transparent 78%);
  transform:translateX(-100%);transition:opacity .25s ease;
}
.video-media-card:hover{
  transform:translateY(-3px);border-color:rgba(158,132,255,.38);
  box-shadow:0 12px 28px rgba(0,0,0,.18),0 0 22px rgba(113,82,231,.08);
}
.video-media-card:hover::after{opacity:1;animation:videoLightSweep 2.8s ease-in-out}
.video-drop{
  transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease;
}
.video-drop:hover{
  transform:translateY(-2px);box-shadow:inset 0 0 24px rgba(118,91,240,.08),0 0 0 3px rgba(118,91,240,.06);
}
.video-drop-icon{display:inline-block;animation:videoIconFloat 3.2s ease-in-out infinite}
.video-media-preview img,.video-media-preview video{animation:videoPreviewIn .3s ease both}
.video-check-row{transition:color .2s ease}
.video-check-row:hover{color:#eee9ff}
.video-check-row input{accent-color:#8b68ff}
.video-cost-bar{
  overflow:hidden;
  background:radial-gradient(ellipse at 0 50%,rgba(120,89,240,.13),transparent 42%),linear-gradient(145deg,rgba(17,18,31,.94),rgba(9,14,26,.94));
}
.video-cost-bar::before{
  content:"";position:absolute;top:0;bottom:0;left:-40%;width:30%;
  background:linear-gradient(90deg,transparent,rgba(166,143,255,.08),transparent);
  transform:skewX(-18deg);animation:videoCostShimmer 8s ease-in-out infinite;pointer-events:none
}
.video-generate-btn{
  transition:transform .22s cubic-bezier(.16,1,.3,1),box-shadow .22s ease,filter .22s ease;
  box-shadow:0 10px 28px rgba(107,76,231,.22);
}
.video-generate-btn:hover:not(:disabled){
  transform:translateY(-2px);filter:brightness(1.08);
  box-shadow:0 15px 34px rgba(107,76,231,.34),0 0 24px rgba(144,113,255,.16);
}
.video-generate-btn:active:not(:disabled){transform:translateY(0) scale(.99)}
.video-recent-row{transition:background .2s ease,transform .2s ease}
.video-recent-row:hover{background:rgba(126,99,245,.07);transform:translateX(3px)}
.video-status{animation:videoPanelIn .35s ease both}
@keyframes videoPanelIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes videoLightSweep{0%,18%{transform:translateX(-110%)}68%,100%{transform:translateX(110%)}}
@keyframes videoChipIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes videoIconFloat{0%,100%{transform:translateY(0);opacity:.8}50%{transform:translateY(-4px);opacity:1}}
@keyframes videoPreviewIn{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@keyframes videoCostShimmer{0%,22%{left:-40%}70%,100%{left:130%}}
@media(prefers-reduced-motion:reduce){
  .video-studio>.video-section,.video-studio>.video-cost-bar,.video-studio>.video-recent,
  .video-prompt-section::before,.video-capability-chips span,.video-drop-icon,
  .video-cost-bar::before{animation:none!important}
  .video-media-card,.video-drop,.video-generate-btn{transition:none!important}
}



/* Evruni V40.3 — custom animated video parameter dropdowns */
.video-custom-select{position:relative;width:100%;min-width:0;z-index:4}
.video-custom-select.is-open{z-index:80}
.video-custom-select .video-native-select{
  position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;
  pointer-events:none!important;clip:rect(0,0,0,0)!important;left:0;bottom:0;
}
.video-select-trigger{
  width:100%;height:50px;display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:0 14px;border:1px solid var(--line);border-radius:14px;
  background:linear-gradient(145deg,rgba(28,28,46,.98),rgba(17,21,36,.98));
  color:#edf0f8;font-family:inherit;font-size:14px;font-weight:600;text-align:left;cursor:pointer;
  transition:border-color .22s ease,box-shadow .22s ease,background .22s ease,transform .22s ease;
}
.video-select-trigger:hover,.video-custom-select.is-open .video-select-trigger{
  border-color:rgba(164,139,255,.7);
  box-shadow:0 0 0 3px rgba(130,99,246,.12),0 8px 24px rgba(78,57,171,.12);
  background:linear-gradient(145deg,rgba(34,29,59,.99),rgba(17,22,40,.99));
}
.video-select-trigger:active{transform:scale(.995)}
.video-select-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.video-select-chevron{
  flex:0 0 auto;color:#a992ff;font-size:21px;line-height:1;
  transition:transform .24s cubic-bezier(.16,1,.3,1),color .2s ease;
}
.video-custom-select.is-open .video-select-chevron{transform:rotate(180deg);color:#d0c2ff}
.video-select-menu{
  position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:1000;
  max-height:232px;overflow-y:auto;overflow-x:hidden;padding:6px;
  border:1px solid rgba(151,128,255,.38);border-radius:14px;
  background:linear-gradient(155deg,rgba(22,24,42,.99),rgba(9,14,28,.99));
  box-shadow:0 18px 44px rgba(0,0,0,.48),0 0 26px rgba(119,88,239,.15),inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
  transform-origin:top center;animation:videoDropdownOpen .2s cubic-bezier(.16,1,.3,1) both;
  scrollbar-width:thin;scrollbar-color:rgba(151,124,255,.78) rgba(255,255,255,.045);
}
.video-select-menu[hidden]{display:none!important}
.video-select-menu::-webkit-scrollbar{width:7px}
.video-select-menu::-webkit-scrollbar-track{margin:7px 0;border-radius:10px;background:rgba(255,255,255,.045)}
.video-select-menu::-webkit-scrollbar-thumb{
  border:2px solid transparent;border-radius:10px;
  background:linear-gradient(180deg,#a68aff,#6541df) padding-box;
}
.video-select-menu::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#c1adff,#815fff) padding-box}
.video-select-menu [role="option"]{
  width:100%;min-height:38px;display:flex;align-items:center;
  padding:8px 11px;border:1px solid transparent;border-radius:9px;
  background:transparent;color:#cbd2e4;font-family:inherit;font-size:13px;font-weight:500;text-align:left;cursor:pointer;
  transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease;
}
.video-select-menu [role="option"]:hover,
.video-select-menu [role="option"]:focus-visible{
  outline:none;color:#fff;background:linear-gradient(90deg,rgba(126,91,245,.23),rgba(87,67,170,.12));
  border-color:rgba(154,128,255,.2);transform:translateX(2px);
}
.video-select-menu [role="option"][aria-selected="true"]{
  color:#fff;background:linear-gradient(90deg,rgba(128,94,247,.32),rgba(93,69,189,.18));
  border-color:rgba(164,139,255,.28);
}
.video-param-grid{position:relative;z-index:5}
.video-section:has(.video-custom-select.is-open){z-index:30}
@keyframes videoDropdownOpen{
  from{opacity:0;transform:translateY(-6px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media(prefers-reduced-motion:reduce){
  .video-select-menu{animation:none!important}
  .video-select-trigger,.video-select-chevron,.video-select-menu [role="option"]{transition:none!important}
}



/* Evruni V40.3 — keep open model/parameter menus above following sections */
.video-studio{position:relative;isolation:isolate}
.video-studio>.video-section,
.video-studio>.video-cost-bar,
.video-studio>.video-recent,
.video-studio>.video-status{
  position:relative;
  z-index:1;
}
.video-studio>.video-section:nth-child(2){
  z-index:120!important;
}
.video-studio>.video-section:nth-child(2):has(.model-picker-menu),
.video-studio>.video-section:nth-child(2):has(.model-picker.open),
.video-studio>.video-section:nth-child(2):has(.video-custom-select.is-open){
  z-index:180!important;
}
.video-studio>.video-section:nth-child(n+3),
.video-studio>.video-cost-bar,
.video-studio>.video-recent,
.video-studio>.video-status{
  z-index:1!important;
}
.video-studio .model-picker,
.video-studio .model-picker-menu,
.video-studio .video-custom-select,
.video-studio .video-select-menu{
  z-index:inherit;
}
.video-studio .model-picker-menu{
  position:absolute;
  z-index:250!important;
}



/* Evruni V40.3 — Image Studio visual polish */
.image-studio{position:relative;isolation:isolate;perspective:1200px}
.image-studio>.video-section,
.image-studio>.image-cost-section,
.image-studio>#imgStatus,
.image-studio>.preview{
  position:relative;
  animation:imagePanelIn .55s cubic-bezier(.16,1,.3,1) both;
  transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease,background .25s ease;
}
.image-studio>.video-section:nth-child(1){animation-delay:.03s}
.image-studio>.video-section:nth-child(2){animation-delay:.11s}
.image-studio>.image-cost-section{animation-delay:.19s}
.image-studio>#imgStatus{animation-delay:.24s}
.image-studio>.preview{animation-delay:.29s}
.image-studio>.video-section:hover,
.image-studio>.image-cost-section:hover{
  border-color:rgba(157,132,255,.34);
  box-shadow:0 15px 42px rgba(0,0,0,.16),0 0 26px rgba(112,82,232,.07),inset 0 1px 0 rgba(255,255,255,.035);
}
.image-studio .video-prompt-section{overflow:visible;z-index:2}
.image-studio .video-prompt-section::before{
  content:"";position:absolute;left:0;right:0;top:0;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(174,150,255,.76),transparent);
  transform:translateX(-100%);animation:imageLightSweep 7s ease-in-out infinite;
}
.image-studio .video-prompt-input{
  min-height:138px;resize:vertical;
  transition:border-color .24s ease,box-shadow .24s ease,background .24s ease;
}
.image-studio .video-prompt-input:focus{
  border-color:rgba(166,140,255,.68);
  box-shadow:0 0 0 3px rgba(137,105,255,.11),0 12px 34px rgba(84,62,180,.11);
  background:linear-gradient(145deg,rgba(30,27,53,.98),rgba(13,19,35,.98));
}
.image-studio .video-section:nth-child(2){z-index:5}
.image-studio .video-section:nth-child(2):has(.video-custom-select.is-open),
.image-studio .video-section:nth-child(2):has(.model-picker-menu){z-index:180!important}
.image-studio .video-section:nth-child(n+3),
.image-studio .image-cost-section,
.image-studio>#imgStatus,
.image-studio>.preview{z-index:1}
.image-studio .video-param-grid{position:relative;z-index:6}
.image-studio .video-custom-select{z-index:4}
.image-studio .video-custom-select.is-open{z-index:220}
.image-studio .video-select-menu{z-index:250}
.image-studio .image-reference-wrap{margin-top:18px}
.image-studio .image-reference-card{
  position:relative;overflow:hidden;
  transition:border-color .24s ease,box-shadow .24s ease,transform .24s ease;
}
.image-studio .image-reference-card:hover{
  border-color:rgba(157,132,255,.35);
  box-shadow:0 12px 32px rgba(0,0,0,.15),0 0 22px rgba(113,82,231,.07);
}
.image-studio .image-reference-card .video-drop{
  min-height:120px;position:relative;overflow:hidden;
  transition:border-color .22s ease,background .22s ease,box-shadow .22s ease,transform .22s ease;
}
.image-studio .image-reference-card .video-drop:hover,
.image-studio .image-reference-card .video-drop.is-dragover{
  border-color:rgba(171,146,255,.78);
  background:rgba(115,84,229,.10);
  box-shadow:inset 0 0 28px rgba(118,91,240,.09),0 0 0 3px rgba(118,91,240,.07);
  transform:translateY(-1px);
}
.image-studio .image-reference-card .video-drop-icon{
  display:inline-block;animation:imageUploadFloat 3.2s ease-in-out infinite;
}
.image-studio .image-reference-card .video-media-head span{
  color:#929db5;font-size:11px;font-weight:500;
  transition:color .2s ease;
}
.image-studio .image-reference-card .video-media-preview{
  display:flex;flex-wrap:wrap;gap:10px;margin-top:12px;
}
.image-studio .image-reference-card .video-media-thumb{
  position:relative;width:76px;height:76px;border-radius:12px;overflow:hidden;
  border:1px solid rgba(155,135,255,.25);
  animation:imageThumbIn .28s cubic-bezier(.16,1,.3,1) both;
}
.image-studio .image-reference-card .video-media-thumb img{
  width:100%;height:100%;display:block;object-fit:cover;
}
.image-studio .image-reference-card .video-media-thumb button{
  position:absolute;top:4px;right:4px;width:23px;height:23px;border:1px solid rgba(255,255,255,.2);
  border-radius:8px;background:rgba(8,11,22,.82);color:white;cursor:pointer;
  transition:background .18s ease,transform .18s ease;
}
.image-studio .image-reference-card .video-media-thumb button:hover{
  background:rgba(173,62,105,.9);transform:scale(1.08);
}
.image-studio .video-capability-chips span{
  animation:imageChipIn .35s ease both;
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.image-studio .video-capability-chips span:hover{
  transform:translateY(-2px);border-color:rgba(170,147,255,.48);background:rgba(119,89,236,.13);
}
.image-studio .video-check-row{transition:color .2s ease}
.image-studio .video-check-row:hover{color:#f0ebff}
.image-studio .video-check-row input{accent-color:#8b68ff}
.image-studio .image-cost-section{
  overflow:hidden;
  background:radial-gradient(ellipse at 0 50%,rgba(120,89,240,.14),transparent 44%),linear-gradient(145deg,rgba(17,18,31,.96),rgba(9,14,26,.96));
}
.image-studio .image-cost-section::before{
  content:"";position:absolute;top:0;bottom:0;left:-40%;width:30%;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(166,143,255,.09),transparent);
  transform:skewX(-18deg);animation:imageCostShimmer 8s ease-in-out infinite;
}
.image-studio .video-generate-button{
  min-height:48px;position:relative;overflow:hidden;
  transition:transform .22s cubic-bezier(.16,1,.3,1),box-shadow .22s ease,filter .22s ease;
  box-shadow:0 10px 28px rgba(107,76,231,.22);
}
.image-studio .video-generate-button:hover:not(:disabled){
  transform:translateY(-2px);filter:brightness(1.08);
  box-shadow:0 15px 34px rgba(107,76,231,.34),0 0 24px rgba(144,113,255,.16);
}
.image-studio .video-generate-button:active:not(:disabled){transform:translateY(0) scale(.99)}
.image-studio .preview{
  overflow:hidden;min-height:260px;
  background:radial-gradient(circle at 50% 42%,rgba(105,74,235,.16),transparent 45%),rgba(6,10,19,.66);
}
.image-studio .preview img{
  max-width:min(48%,520px);max-height:520px;object-fit:contain;
  border-radius:14px;box-shadow:0 12px 34px rgba(0,0,0,.28);
  animation:imageResultIn .45s cubic-bezier(.16,1,.3,1) both;
}
@keyframes imagePanelIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes imageLightSweep{0%,18%{transform:translateX(-110%)}68%,100%{transform:translateX(110%)}}
@keyframes imageUploadFloat{0%,100%{transform:translateY(0);opacity:.8}50%{transform:translateY(-4px);opacity:1}}
@keyframes imageThumbIn{from{opacity:0;transform:scale(.92) translateY(5px)}to{opacity:1;transform:scale(1) translateY(0)}}
@keyframes imageChipIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes imageCostShimmer{0%,22%{left:-40%}70%,100%{left:130%}}
@keyframes imageResultIn{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@media(max-width:760px){
  .image-studio{gap:12px}
  .image-studio .video-prompt-section,
  .image-studio .video-section{padding:16px}
  .image-studio .video-prompt-input{min-height:120px}
  .image-studio .image-reference-card .video-drop{min-height:108px}
  .image-studio .image-cost-section{flex-direction:column;align-items:stretch}
  .image-studio .image-cost-section .video-generate-button{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .image-studio>.video-section,.image-studio>.image-cost-section,
  .image-studio>#imgStatus,.image-studio>.preview,
  .image-studio .video-prompt-section::before,
  .image-studio .video-drop-icon,.image-studio .image-cost-section::before{animation:none!important}
  .image-studio .video-section,.image-studio .video-cost-section,
  .image-studio .video-drop,.image-studio .video-generate-button{transition:none!important}
}



/* Trend Lab: remove AI-created attribution labels from every phone mockup */
.trend-v2-phone .trend-v2-video-label,
.trend-v2-phone .trend-v2-scene>em,
.trend-v2-phone .trend-v2-ai-credit,
.trend-v2-phone .trend-v2-generated-label,
.trend-v2-phone [data-ai-credit],
.trend-v2-phone [class*="ai-credit"],
.trend-v2-phone [class*="generated-label"]{
  display:none!important;
}



/* Evruni Trend Lab — video controls attached to the phone preview */
.trend-v2-phone .trend-video-tools{
  position:absolute!important;z-index:12!important;top:28px!important;right:7px!important;
  left:auto!important;bottom:auto!important;width:72px!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:5px!important;padding:6px!important;
  border:1px solid rgba(158,132,255,.34)!important;border-radius:12px!important;
  background:linear-gradient(155deg,rgba(29,25,53,.94),rgba(7,10,20,.91))!important;
  box-shadow:0 5px 18px rgba(0,0,0,.36),0 0 14px rgba(126,91,245,.15)!important;
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  opacity:.96;transition:opacity .2s ease,transform .2s ease;
}
.trend-v2-phone:hover .trend-video-tools{opacity:1;transform:translateY(-1px)}
.trend-v2-phone .trend-volume-wrap{
  width:100%!important;display:flex!important;flex-direction:column!important;
  align-items:stretch!important;gap:3px!important;margin:0!important;
  color:#b9a8ff!important;font-size:6px!important;letter-spacing:.7px!important;
}
.trend-v2-phone .trend-volume-wrap span{text-align:center;line-height:1}
.trend-v2-phone .trend-volume{
  -webkit-appearance:none!important;appearance:none!important;
  width:100%!important;height:4px!important;margin:2px 0!important;
  border:0!important;border-radius:99px!important;outline:none!important;
  background:linear-gradient(90deg,#a58aff 0%,#7045e8 100%)!important;
  cursor:pointer!important;touch-action:pan-y;
}
.trend-v2-phone .trend-volume::-webkit-slider-thumb{
  -webkit-appearance:none!important;width:10px!important;height:10px!important;
  border-radius:50%!important;background:#f4efff!important;
  border:2px solid #9674ff!important;box-shadow:0 0 8px rgba(160,128,255,.7)!important;
}
.trend-v2-phone .trend-volume::-moz-range-thumb{
  width:7px!important;height:7px!important;border-radius:50%!important;
  background:#f4efff!important;border:2px solid #9674ff!important;
  box-shadow:0 0 8px rgba(160,128,255,.7)!important;
}
.trend-v2-phone .trend-video-buttons{display:flex!important;justify-content:center!important;gap:5px!important}
.trend-v2-phone .trend-video-tools button{
  width:27px!important;height:25px!important;min-width:27px!important;
  padding:0!important;display:grid!important;place-items:center!important;
  border:1px solid rgba(167,143,255,.32)!important;border-radius:8px!important;
  background:rgba(126,91,245,.18)!important;color:#eee8ff!important;
  font-size:11px!important;line-height:1!important;cursor:pointer!important;
  transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
.trend-v2-phone .trend-video-tools button:hover:not(:disabled){
  transform:translateY(-1px);background:rgba(139,105,255,.38)!important;
  border-color:rgba(190,168,255,.65)!important;box-shadow:0 0 12px rgba(126,91,245,.22)!important;
}
.trend-v2-phone .trend-video-tools button.is-on{
  color:#fff!important;background:rgba(116,80,225,.42)!important;
  border-color:rgba(183,157,255,.55)!important;
}
.trend-v2-phone .trend-video-tools button:disabled,
.trend-v2-phone .trend-volume:disabled{opacity:.38!important;cursor:not-allowed!important}
.trend-v2-phone .trend-v2-top{right:84px!important}
.trend-v2-phone .trend-v2-bottom{z-index:5!important}
.trend-v2-phone .trend-v2-real-video{z-index:1!important}
@media(max-width:700px){
  .trend-v2-phone .trend-video-tools{width:65px!important;right:5px!important;top:26px!important;padding:5px!important}
  .trend-v2-phone .trend-video-tools button{width:24px!important;min-width:24px!important;height:23px!important}
  .trend-v2-phone .trend-v2-top{right:76px!important}
}
@media(prefers-reduced-motion:reduce){
  .trend-v2-phone .trend-video-tools,.trend-v2-phone .trend-video-tools button{transition:none!important}
}


/* Trend Lab controls positioned in the content column directly above Create */
.trend-card-v2 .trend-v2-body{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  min-width:0;
}
.trend-card-v2 .trend-video-tools{
  position:relative!important;inset:auto!important;z-index:5!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:flex-start!important;gap:12px!important;
  margin:10px 0 8px!important;padding:7px 10px!important;
  border:1px solid rgba(145,119,255,.22)!important;border-radius:12px!important;
  background:linear-gradient(110deg,rgba(105,77,205,.14),rgba(18,23,39,.92))!important;
  box-shadow:0 5px 18px rgba(0,0,0,.16),inset 0 1px rgba(255,255,255,.035)!important;
}
.trend-card-v2 .trend-volume-wrap{
  display:flex!important;flex:1 1 auto!important;min-width:70px!important;
  flex-direction:row!important;align-items:center!important;gap:8px!important;
  color:#a99be4!important;font-size:8px!important;letter-spacing:.08em!important;
}
.trend-card-v2 .trend-volume{
  display:block!important;flex:1 1 auto!important;width:100%!important;min-width:40px!important;
  height:4px!important;margin:0!important;transform:none!important;
  appearance:none!important;-webkit-appearance:none!important;border:0!important;
  border-radius:99px!important;outline:none!important;
  background:linear-gradient(90deg,#9a79ff,#5e43d8)!important;cursor:pointer!important;
}
.trend-card-v2 .trend-volume::-webkit-slider-thumb{
  -webkit-appearance:none!important;width:12px!important;height:12px!important;
  border-radius:50%!important;background:#eee8ff!important;border:2px solid #9876ff!important;
  box-shadow:0 0 9px rgba(150,117,255,.6)!important;
}
.trend-card-v2 .trend-volume::-moz-range-thumb{
  width:9px!important;height:9px!important;border-radius:50%!important;
  background:#eee8ff!important;border:2px solid #9876ff!important;
  box-shadow:0 0 9px rgba(150,117,255,.6)!important;
}
.trend-card-v2 .trend-video-buttons{
  display:flex!important;flex:0 0 auto!important;align-items:center!important;gap:6px!important;
}
.trend-card-v2 .trend-video-buttons button{
  display:grid!important;place-items:center!important;width:28px!important;height:28px!important;
  min-width:28px!important;padding:0!important;border-radius:9px!important;
  border:1px solid rgba(155,130,255,.25)!important;color:#e8e0ff!important;
  background:rgba(127,96,242,.17)!important;font-size:12px!important;cursor:pointer!important;
  transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
.trend-card-v2 .trend-video-buttons button:hover:not(:disabled){
  transform:translateY(-1px);background:rgba(137,105,255,.3)!important;
  border-color:rgba(183,160,255,.55)!important;box-shadow:0 0 12px rgba(132,101,255,.18)!important;
}
.trend-card-v2 .trend-video-buttons button:disabled,
.trend-card-v2 .trend-volume:disabled{opacity:.35!important;cursor:not-allowed!important}
.trend-card-v2 .trend-v2-actions{margin-top:0!important;padding-top:0!important}
@media(max-width:620px){
 .trend-card-v2 .trend-video-tools{gap:8px!important;padding:6px 8px!important}
 .trend-card-v2 .trend-volume-wrap{font-size:7px!important}
 .trend-card-v2 .trend-video-buttons button{width:26px!important;height:26px!important;min-width:26px!important}
}



/* Trend Lab volume slider: fully static geometry and appearance on hover/focus/active */
.trend-card-v2 .trend-volume-wrap,
.trend-card-v2 .trend-volume-wrap:hover,
.trend-card-v2 .trend-volume-wrap:focus-within,
.trend-card-v2 .trend-volume-wrap:active {
  transform: none !important;
  transition: none !important;
}
.trend-card-v2 .trend-volume,
.trend-card-v2 .trend-volume:hover,
.trend-card-v2 .trend-volume:focus,
.trend-card-v2 .trend-volume:focus-visible,
.trend-card-v2 .trend-volume:active {
  transform: none !important;
  scale: none !important;
  translate: none !important;
  width: 100% !important;
  height: 4px !important;
  min-height: 4px !important;
  max-height: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: none !important;
  animation: none !important;
  cursor: pointer !important;
}
.trend-card-v2 .trend-volume::-webkit-slider-runnable-track,
.trend-card-v2 .trend-volume:hover::-webkit-slider-runnable-track,
.trend-card-v2 .trend-volume:focus::-webkit-slider-runnable-track {
  height: 4px !important;
  border: 0 !important;
  border-radius: 99px !important;
  box-shadow: none !important;
}
.trend-card-v2 .trend-volume::-moz-range-track,
.trend-card-v2 .trend-volume:hover::-moz-range-track,
.trend-card-v2 .trend-volume:focus::-moz-range-track {
  height: 4px !important;
  border: 0 !important;
  border-radius: 99px !important;
  box-shadow: none !important;
}
.trend-card-v2 .trend-volume::-webkit-slider-thumb,
.trend-card-v2 .trend-volume:hover::-webkit-slider-thumb,
.trend-card-v2 .trend-volume:focus::-webkit-slider-thumb,
.trend-card-v2 .trend-volume:active::-webkit-slider-thumb {
  width: 12px !important;
  height: 12px !important;
  margin-top: -4px !important;
  transform: none !important;
  scale: none !important;
  box-shadow: 0 0 9px rgba(150,117,255,.6) !important;
  transition: none !important;
}
.trend-card-v2 .trend-volume::-moz-range-thumb,
.trend-card-v2 .trend-volume:hover::-moz-range-thumb,
.trend-card-v2 .trend-volume:focus::-moz-range-thumb,
.trend-card-v2 .trend-volume:active::-moz-range-thumb {
  width: 9px !important;
  height: 9px !important;
  transform: none !important;
  box-shadow: 0 0 9px rgba(150,117,255,.6) !important;
  transition: none !important;
}
.trend-card-v2 .trend-volume-wrap span {
  transform: none !important;
  transition: none !important;
}



/* Final hover-jump fix: lock the whole volume control box and remove hover tooltip behavior */
.trend-card-v2 .trend-video-tools,
.trend-card-v2 .trend-video-tools:hover,
.trend-card-v2 .trend-volume-wrap,
.trend-card-v2 .trend-volume-wrap:hover,
.trend-card-v2 .trend-volume-wrap:focus-within,
.trend-card-v2 .trend-volume-wrap:active {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  translate: none !important;
  scale: none !important;
  transition: none !important;
  animation: none !important;
  margin-top: 10px !important;
  margin-bottom: 8px !important;
}
.trend-card-v2 .trend-volume-wrap {
  flex: 1 1 0 !important;
  height: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  align-self: center !important;
  overflow: visible !important;
}
.trend-card-v2 .trend-volume,
.trend-card-v2 .trend-volume:hover,
.trend-card-v2 .trend-volume:focus,
.trend-card-v2 .trend-volume:focus-visible,
.trend-card-v2 .trend-volume:active {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  flex: 1 1 auto !important;
  align-self: center !important;
  width: 100% !important;
  height: 4px !important;
  min-height: 4px !important;
  max-height: 4px !important;
  transform: none !important;
  translate: none !important;
  scale: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  transition: none !important;
  animation: none !important;
}
.trend-card-v2 .trend-volume-wrap span,
.trend-card-v2 .trend-volume-wrap:hover span,
.trend-card-v2 .trend-volume-wrap:focus-within span {
  position: static !important;
  transform: none !important;
  translate: none !important;
  scale: none !important;
  transition: none !important;
  animation: none !important;
  white-space: nowrap !important;
}


/* Trend Lab: compact sound button with a floating volume slider on hover */
.trend-card-v2 .trend-video-buttons{display:flex!important;align-items:center!important;gap:6px!important}
.trend-card-v2 .trend-sound-control{position:relative!important;display:inline-flex!important;align-items:center!important;overflow:visible!important}
.trend-card-v2 .trend-sound-control .trend-sound-toggle{position:relative!important;z-index:3!important}
.trend-card-v2 .trend-sound-control .trend-volume-wrap{
  position:absolute!important;right:0!important;bottom:calc(100% + 7px)!important;z-index:30!important;
  display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;
  width:154px!important;height:auto!important;min-height:0!important;max-height:none!important;
  box-sizing:border-box!important;padding:9px 11px!important;margin:0!important;
  border:1px solid rgba(157,129,255,.34)!important;border-radius:11px!important;
  background:linear-gradient(135deg,rgba(31,27,57,.98),rgba(12,17,30,.98))!important;
  box-shadow:0 10px 28px rgba(0,0,0,.42),0 0 16px rgba(130,99,255,.12)!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transform:translateY(4px)!important;transition:opacity .16s ease,visibility .16s ease,transform .16s ease!important;
}
.trend-card-v2 .trend-sound-control:hover .trend-volume-wrap,
.trend-card-v2 .trend-sound-control:focus-within .trend-volume-wrap{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0)!important;
}
.trend-card-v2 .trend-volume-wrap span{
  display:block!important;position:static!important;text-align:center!important;
  color:#b9a8ff!important;font-size:8px!important;line-height:1!important;letter-spacing:.1em!important;
}
.trend-card-v2 .trend-volume,
.trend-card-v2 .trend-volume:hover,
.trend-card-v2 .trend-volume:focus,
.trend-card-v2 .trend-volume:active{
  display:block!important;position:static!important;width:100%!important;min-width:0!important;
  height:4px!important;min-height:4px!important;max-height:4px!important;
  margin:5px 0!important;padding:0!important;border:0!important;border-radius:99px!important;
  appearance:none!important;-webkit-appearance:none!important;
  background:linear-gradient(90deg,#a58aff,#6544e8)!important;
  outline:none!important;box-shadow:none!important;transform:none!important;transition:none!important;
  cursor:pointer!important;
}
.trend-card-v2 .trend-volume::-webkit-slider-thumb{
  appearance:none!important;-webkit-appearance:none!important;width:12px!important;height:12px!important;
  border:2px solid #b8a2ff!important;border-radius:50%!important;background:#f5f0ff!important;
  box-shadow:0 0 8px rgba(155,124,255,.5)!important;
}
.trend-card-v2 .trend-volume::-moz-range-thumb{
  width:9px!important;height:9px!important;border:2px solid #b8a2ff!important;
  border-radius:50%!important;background:#f5f0ff!important;
  box-shadow:0 0 8px rgba(155,124,255,.5)!important;
}
.trend-card-v2 .trend-sound-toggle{font-size:13px!important}


/* Evruni Trend Lab — compact sound button with hover volume popover */
.trend-card-v2 .trend-video-tools .trend-sound-control{
  position:relative!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;overflow:visible!important;z-index:60!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-toggle{
  position:relative!important;display:grid!important;place-items:center!important;
  width:32px!important;height:32px!important;min-width:32px!important;
  padding:0!important;margin:0!important;border-radius:10px!important;
  border:1px solid rgba(157,128,255,.28)!important;
  background:linear-gradient(145deg,rgba(34,29,62,.96),rgba(16,19,33,.98))!important;
  color:#cfc2ff!important;box-shadow:0 3px 12px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.06)!important;
  transform:none!important;transition:border-color .18s ease,background .18s ease,color .18s ease!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-toggle:hover,
.trend-card-v2 .trend-video-tools .trend-sound-toggle:focus-visible{
  transform:none!important;translate:none!important;scale:none!important;
  background:linear-gradient(145deg,rgba(54,42,91,.98),rgba(22,24,42,.98))!important;
  border-color:rgba(176,151,255,.62)!important;color:#fff!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-icon{width:17px!important;height:17px!important}
.trend-card-v2 .trend-video-tools .trend-icon-on{display:none!important}
.trend-card-v2 .trend-video-tools .trend-sound-toggle.is-on .trend-icon-muted{display:none!important}
.trend-card-v2 .trend-video-tools .trend-sound-toggle.is-on .trend-icon-on{display:block!important}
.trend-card-v2 .trend-video-tools .trend-volume-wrap{
  position:absolute!important;left:50%!important;bottom:calc(100% + 9px)!important;
  transform:translate(-50%,5px)!important;transform-origin:bottom center!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:112px!important;height:30px!important;min-height:30px!important;
  box-sizing:border-box!important;padding:0 10px!important;margin:0!important;
  border:1px solid rgba(157,128,255,.32)!important;border-radius:10px!important;
  background:linear-gradient(145deg,rgba(28,25,49,.98),rgba(12,16,29,.98))!important;
  box-shadow:0 10px 28px rgba(0,0,0,.42),0 0 16px rgba(126,94,255,.12)!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;
  z-index:100!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control:hover .trend-volume-wrap,
.trend-card-v2 .trend-video-tools .trend-sound-control:focus-within .trend-volume-wrap{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  transform:translate(-50%,0)!important;
}
.trend-card-v2 .trend-video-tools .trend-volume,
.trend-card-v2 .trend-video-tools .trend-volume:hover,
.trend-card-v2 .trend-video-tools .trend-volume:focus,
.trend-card-v2 .trend-video-tools .trend-volume:active{
  display:block!important;position:static!important;flex:1 1 auto!important;
  width:100%!important;height:4px!important;min-height:4px!important;max-height:4px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:99px!important;
  outline:0!important;appearance:none!important;-webkit-appearance:none!important;
  background:linear-gradient(90deg,#a88aff,#6846e8)!important;
  box-shadow:none!important;transform:none!important;transition:none!important;cursor:pointer!important;
}
.trend-card-v2 .trend-video-tools .trend-volume::-webkit-slider-thumb{
  -webkit-appearance:none!important;width:11px!important;height:11px!important;
  border-radius:50%!important;background:#f2edff!important;border:2px solid #9874ff!important;
  box-shadow:0 0 8px rgba(155,121,255,.45)!important;
}
.trend-card-v2 .trend-video-tools .trend-volume::-moz-range-thumb{
  width:8px!important;height:8px!important;border-radius:50%!important;
  background:#f2edff!important;border:2px solid #9874ff!important;
  box-shadow:0 0 8px rgba(155,121,255,.45)!important;
}
.trend-card-v2 .trend-video-tools .trend-volume-wrap::before,
.trend-card-v2 .trend-video-tools .trend-volume-wrap::after{display:none!important;content:none!important}
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume-wrap:hover,
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume-wrap:focus-within{
  transform:translate(-50%,0)!important;filter:none!important
}
@media(prefers-reduced-motion:reduce){
 .trend-card-v2 .trend-video-tools .trend-volume-wrap{transition:none!important}
}


/* FINAL OVERRIDE — vertical Evruni volume popover, no horizontal blue capsule */
.trend-card-v2 .trend-v2-preview,
.trend-card-v2 .trend-v2-preview-tools,
.trend-card-v2 .trend-v2-preview-tools .trend-video-tools,
.trend-card-v2 .trend-video-tools .trend-sound-control{
  overflow:visible!important;
}
.trend-card-v2 .trend-v2-preview-tools .trend-video-tools{
  display:flex!important;align-items:center!important;gap:7px!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control{
  position:relative!important;display:inline-flex!important;align-items:center!important;
  width:34px!important;height:34px!important;overflow:visible!important;
}
.trend-card-v2 .trend-v2-preview-tools .trend-sound-toggle,
.trend-card-v2 .trend-video-tools .trend-sound-toggle{
  width:34px!important;height:34px!important;min-width:34px!important;
  padding:0!important;border-radius:11px!important;
  background:linear-gradient(145deg,rgba(37,31,65,.96),rgba(14,18,34,.98))!important;
  border:1px solid rgba(174,145,255,.35)!important;color:#d9ccff!important;
  box-shadow:0 5px 18px rgba(0,0,0,.3),0 0 12px rgba(139,105,255,.13)!important;
  transform:none!important;transition:border-color .16s ease,color .16s ease!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-toggle:hover{
  transform:none!important;background:linear-gradient(145deg,rgba(49,39,83,.98),rgba(18,21,39,.98))!important;
  border-color:rgba(190,165,255,.65)!important;color:#fff!important;
}
.trend-card-v2 .trend-video-tools .trend-volume-wrap,
.trend-card-v2 .trend-v2-preview-tools .trend-volume-wrap{
  position:absolute!important;left:50%!important;right:auto!important;
  bottom:calc(100% + 8px)!important;top:auto!important;
  width:36px!important;height:112px!important;min-width:36px!important;min-height:112px!important;
  max-width:36px!important;max-height:112px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;padding:8px 0!important;margin:0!important;
  border:1px solid rgba(157,128,255,.34)!important;border-radius:12px!important;
  background:linear-gradient(160deg,rgba(28,25,49,.98),rgba(12,16,29,.99))!important;
  box-shadow:0 10px 28px rgba(0,0,0,.48),0 0 16px rgba(126,94,255,.16)!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transform:translate(-50%,7px)!important;transform-origin:bottom center!important;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease!important;
  z-index:999!important;gap:0!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control:hover .trend-volume-wrap,
.trend-card-v2 .trend-video-tools .trend-sound-control:focus-within .trend-volume-wrap,
.trend-card-v2 .trend-v2-preview-tools .trend-volume-wrap:hover,
.trend-card-v2 .trend-v2-preview-tools .trend-volume-wrap:focus-within{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  transform:translate(-50%,0)!important;
}
.trend-card-v2 .trend-video-tools .trend-volume-wrap .trend-volume,
.trend-card-v2 .trend-video-tools .trend-volume-wrap .trend-volume:hover,
.trend-card-v2 .trend-video-tools .trend-volume-wrap .trend-volume:focus{
  display:block!important;position:static!important;flex:none!important;
  width:4px!important;min-width:4px!important;max-width:4px!important;
  height:88px!important;min-height:88px!important;max-height:88px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:99px!important;
  writing-mode:vertical-lr!important;direction:rtl!important;
  appearance:none!important;-webkit-appearance:none!important;
  background:linear-gradient(180deg,#a88aff,#6846e8)!important;
  box-shadow:none!important;transform:none!important;transition:none!important;cursor:pointer!important;
}
.trend-card-v2 .trend-video-tools .trend-volume::-webkit-slider-thumb{
  -webkit-appearance:none!important;width:12px!important;height:12px!important;
  border-radius:50%!important;background:#f4efff!important;border:2px solid #9874ff!important;
  box-shadow:0 0 9px rgba(155,121,255,.5)!important;
}
.trend-card-v2 .trend-video-tools .trend-volume::-moz-range-thumb{
  width:8px!important;height:8px!important;border-radius:50%!important;
  background:#f4efff!important;border:2px solid #9874ff!important;
  box-shadow:0 0 9px rgba(155,121,255,.5)!important;
}
/* Keep the hover path continuous from sound button into the floating slider */
.trend-card-v2 .trend-video-tools .trend-sound-control::after{
  content:""!important;position:absolute!important;left:0!important;bottom:100%!important;
  width:100%!important;height:12px!important;background:transparent!important;display:block!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume-wrap:hover,
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume-wrap:focus-within{
  filter:none!important;
}


/* Trend Lab final: remove the blue toolbar capsule; show a vertical volume line immediately on sound hover */
.trend-card-v2 .trend-video-tools,
.trend-card-v2 .trend-video-tools:hover,
.trend-card-v2 .trend-v2-preview-tools .trend-video-tools{
  background:transparent!important;
  background-color:transparent!important;
  border:0!important;
  border-color:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  padding:0!important;
  margin:10px 0 8px!important;
  min-height:34px!important;
}
.trend-card-v2 .trend-video-tools::before,
.trend-card-v2 .trend-video-tools::after{display:none!important;content:none!important}
.trend-card-v2 .trend-video-tools .trend-play-toggle,
.trend-card-v2 .trend-video-tools .trend-sound-toggle{
  flex:0 0 34px!important;
  width:34px!important;height:34px!important;min-width:34px!important;
  background:linear-gradient(145deg,rgba(37,31,65,.96),rgba(14,18,34,.98))!important;
  border:1px solid rgba(174,145,255,.35)!important;
  border-radius:11px!important;
  box-shadow:0 4px 12px rgba(0,0,0,.22)!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control{
  position:relative!important;
  display:inline-flex!important;
  flex:0 0 34px!important;
  width:34px!important;height:34px!important;
  overflow:visible!important;
}
.trend-card-v2 .trend-video-tools .trend-volume-wrap{
  position:absolute!important;
  left:50%!important;right:auto!important;
  bottom:calc(100% + 7px)!important;top:auto!important;
  width:34px!important;min-width:34px!important;max-width:34px!important;
  height:106px!important;min-height:106px!important;max-height:106px!important;
  margin:0!important;padding:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  overflow:visible!important;
  background:rgba(12,15,27,.96)!important;
  border:1px solid rgba(157,128,255,.38)!important;
  border-radius:12px!important;
  box-shadow:0 9px 24px rgba(0,0,0,.42),0 0 12px rgba(126,94,255,.12)!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transform:translateX(-50%)!important;
  transition:none!important;
  z-index:1200!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control:hover .trend-volume-wrap,
.trend-card-v2 .trend-video-tools .trend-sound-control:focus-within .trend-volume-wrap{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  transform:translateX(-50%)!important;
}
.trend-card-v2 .trend-video-tools .trend-volume-wrap .trend-volume,
.trend-card-v2 .trend-video-tools .trend-volume-wrap .trend-volume:hover,
.trend-card-v2 .trend-video-tools .trend-volume-wrap .trend-volume:focus{
  display:block!important;
  position:static!important;
  flex:none!important;
  width:88px!important;min-width:88px!important;max-width:88px!important;
  height:4px!important;min-height:4px!important;max-height:4px!important;
  margin:0!important;padding:0!important;
  border:0!important;border-radius:99px!important;outline:0!important;
  appearance:none!important;-webkit-appearance:none!important;
  background:linear-gradient(90deg,#a88aff,#6846e8)!important;
  box-shadow:none!important;
  transform:rotate(-90deg)!important;
  transform-origin:center center!important;
  transition:none!important;
  cursor:pointer!important;
}
.trend-card-v2 .trend-video-tools .trend-volume::-webkit-slider-runnable-track{
  height:4px!important;border-radius:99px!important;
  background:linear-gradient(90deg,#a88aff,#6846e8)!important;
}
.trend-card-v2 .trend-video-tools .trend-volume::-moz-range-track{
  height:4px!important;border-radius:99px!important;
  background:linear-gradient(90deg,#a88aff,#6846e8)!important;
}
.trend-card-v2 .trend-video-tools .trend-volume::-webkit-slider-thumb{
  -webkit-appearance:none!important;
  width:12px!important;height:12px!important;margin-top:-4px!important;
  border-radius:50%!important;background:#f4efff!important;
  border:2px solid #9874ff!important;
  box-shadow:0 0 8px rgba(155,121,255,.5)!important;
}
.trend-card-v2 .trend-video-tools .trend-volume::-moz-range-thumb{
  width:9px!important;height:9px!important;
  border-radius:50%!important;background:#f4efff!important;
  border:2px solid #9874ff!important;
  box-shadow:0 0 8px rgba(155,121,255,.5)!important;
}
/* Keep the popover open while the pointer moves from the sound button onto the slider */
.trend-card-v2 .trend-video-tools .trend-sound-control::after{
  content:""!important;position:absolute!important;left:0!important;bottom:100%!important;
  width:100%!important;height:10px!important;display:block!important;
  background:transparent!important;
}


/* Trend Lab — final alignment of transport, sound, volume and favorite controls */
.trend-card-v2 .trend-video-tools,
.trend-card-v2 .trend-video-tools:hover{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:8px!important;width:max-content!important;min-width:0!important;max-width:100%!important;
  height:36px!important;min-height:36px!important;
  margin:10px 0 8px!important;padding:0!important;
  background:transparent!important;background-color:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  overflow:visible!important;
}
.trend-card-v2 .trend-video-tools .trend-play-toggle,
.trend-card-v2 .trend-video-tools .trend-sound-toggle,
.trend-card-v2 .trend-video-tools .trend-save-v2{
  position:relative!important;z-index:2!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 36px!important;width:36px!important;height:36px!important;
  min-width:36px!important;min-height:36px!important;
  margin:0!important;padding:0!important;
  border:1px solid rgba(164,139,255,.32)!important;border-radius:11px!important;
  background:linear-gradient(145deg,rgba(35,30,62,.96),rgba(13,17,31,.98))!important;
  color:#d9ccff!important;box-shadow:0 4px 12px rgba(0,0,0,.24)!important;
  transform:none!important;transition:border-color .15s ease,color .15s ease,background .15s ease!important;
  line-height:1!important;font-size:17px!important;
}
.trend-card-v2 .trend-video-tools .trend-play-toggle:hover,
.trend-card-v2 .trend-video-tools .trend-sound-toggle:hover,
.trend-card-v2 .trend-video-tools .trend-save-v2:hover{
  transform:none!important;border-color:rgba(190,165,255,.7)!important;
  background:linear-gradient(145deg,rgba(54,43,91,.98),rgba(18,21,39,.98))!important;color:#fff!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control{
  position:relative!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;flex:0 0 36px!important;
  width:36px!important;height:36px!important;overflow:visible!important;
}
.trend-card-v2 .trend-video-tools .trend-volume-wrap{
  position:absolute!important;left:50%!important;right:auto!important;
  bottom:calc(100% + 5px)!important;top:auto!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:38px!important;min-width:38px!important;max-width:38px!important;
  height:112px!important;min-height:112px!important;max-height:112px!important;
  box-sizing:border-box!important;margin:0!important;padding:8px 0!important;
  border:1px solid rgba(157,128,255,.36)!important;border-radius:12px!important;
  background:linear-gradient(160deg,rgba(25,23,45,.98),rgba(10,14,27,.99))!important;
  box-shadow:0 9px 24px rgba(0,0,0,.42),0 0 12px rgba(126,94,255,.12)!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transform:translateX(-50%)!important;transition:opacity .12s ease!important;
  z-index:1500!important;overflow:visible!important;
}
/* The volume rail appears as soon as the sound button itself is hovered. */
.trend-card-v2 .trend-video-tools .trend-sound-control:hover .trend-volume-wrap,
.trend-card-v2 .trend-video-tools .trend-sound-control:focus-within .trend-volume-wrap{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  transform:translateX(-50%)!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control::before{
  content:""!important;position:absolute!important;left:0!important;bottom:100%!important;
  width:100%!important;height:8px!important;display:block!important;background:transparent!important;
}
.trend-card-v2 .trend-video-tools .trend-volume-wrap .trend-volume,
.trend-card-v2 .trend-video-tools .trend-volume-wrap .trend-volume:hover,
.trend-card-v2 .trend-video-tools .trend-volume-wrap .trend-volume:focus{
  display:block!important;position:static!important;flex:none!important;
  width:4px!important;min-width:4px!important;max-width:4px!important;
  height:88px!important;min-height:88px!important;max-height:88px!important;
  margin:0!important;padding:0!important;
  writing-mode:vertical-lr!important;direction:rtl!important;
  appearance:none!important;-webkit-appearance:slider-vertical!important;
  border:0!important;border-radius:99px!important;outline:0!important;
  background:linear-gradient(180deg,#a88aff,#6846e8)!important;
  box-shadow:none!important;transform:none!important;transition:none!important;
  cursor:pointer!important;
}
.trend-card-v2 .trend-video-tools .trend-volume::-webkit-slider-runnable-track{
  width:4px!important;height:88px!important;border:0!important;border-radius:99px!important;
  background:linear-gradient(180deg,#a88aff,#6846e8)!important;
}
.trend-card-v2 .trend-video-tools .trend-volume::-moz-range-track{
  width:4px!important;height:88px!important;border:0!important;border-radius:99px!important;
  background:linear-gradient(180deg,#a88aff,#6846e8)!important;
}
.trend-card-v2 .trend-video-tools .trend-volume::-webkit-slider-thumb{
  -webkit-appearance:none!important;width:12px!important;height:12px!important;
  margin:0!important;border:2px solid #9874ff!important;border-radius:50%!important;
  background:#f4efff!important;box-shadow:0 0 8px rgba(155,121,255,.55)!important;
}
.trend-card-v2 .trend-video-tools .trend-volume::-moz-range-thumb{
  width:9px!important;height:9px!important;margin:0!important;
  border:2px solid #9874ff!important;border-radius:50%!important;
  background:#f4efff!important;box-shadow:0 0 8px rgba(155,121,255,.55)!important;
}
.trend-card-v2 .trend-video-tools .trend-save-v2.saved,
.trend-card-v2.saved .trend-video-tools .trend-save-v2{
  color:#ff8db7!important;border-color:rgba(255,125,177,.5)!important;
}
.trend-card-v2 .trend-video-tools .trend-save-v2{font-size:19px!important;font-weight:700!important}


/* Definitive Trend Lab volume popover: trigger from sound button, centered horizontal range rotated vertically */
.trend-card-v2 .trend-video-tools .trend-sound-control{
  position:relative!important;isolation:isolate!important;overflow:visible!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume-wrap{
  position:absolute!important;left:50%!important;right:auto!important;
  top:auto!important;bottom:calc(100% + 2px)!important;
  width:42px!important;height:112px!important;min-width:42px!important;min-height:112px!important;
  max-width:42px!important;max-height:112px!important;
  box-sizing:border-box!important;padding:10px 0!important;margin:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transform:translateX(-50%)!important;
  transition:opacity .08s linear,visibility .08s linear!important;
  background:linear-gradient(160deg,rgba(25,23,45,.99),rgba(10,14,27,.99))!important;
  border:1px solid rgba(157,128,255,.4)!important;border-radius:13px!important;
  box-shadow:0 9px 24px rgba(0,0,0,.45),0 0 12px rgba(126,94,255,.15)!important;
  z-index:9999!important;overflow:visible!important;
}
/* Hovering the sound button itself opens the volume rail immediately. */
.trend-card-v2 .trend-video-tools .trend-sound-control:has(> .trend-sound-toggle:hover) .trend-volume-wrap,
.trend-card-v2 .trend-video-tools .trend-sound-control:has(> .trend-sound-toggle:focus-visible) .trend-volume-wrap,
.trend-card-v2 .trend-video-tools .trend-sound-control:hover .trend-volume-wrap,
.trend-card-v2 .trend-video-tools .trend-sound-control:focus-within .trend-volume-wrap{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
}
/* Invisible bridge prevents the popover closing while the pointer moves upward. */
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume-wrap::after{
  content:""!important;position:absolute!important;left:0!important;right:0!important;
  bottom:-7px!important;height:8px!important;background:transparent!important;display:block!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume{
  appearance:none!important;-webkit-appearance:none!important;
  writing-mode:horizontal-tb!important;direction:rtl!important;
  display:block!important;position:static!important;flex:0 0 auto!important;
  width:88px!important;min-width:88px!important;max-width:88px!important;
  height:4px!important;min-height:4px!important;max-height:4px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:99px!important;
  outline:0!important;box-shadow:none!important;
  transform:rotate(-90deg)!important;transform-origin:center center!important;
  background:linear-gradient(90deg,#a88aff,#6846e8)!important;
  cursor:pointer!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume::-webkit-slider-runnable-track{
  -webkit-appearance:none!important;width:88px!important;height:4px!important;
  border:0!important;border-radius:99px!important;
  background:linear-gradient(90deg,#a88aff,#6846e8)!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume::-moz-range-track{
  width:88px!important;height:4px!important;border:0!important;border-radius:99px!important;
  background:linear-gradient(90deg,#a88aff,#6846e8)!important;
}
/* Restore a normal round thumb and keep it exactly on the centerline of the rail. */
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume::-webkit-slider-thumb{
  -webkit-appearance:none!important;appearance:none!important;
  width:12px!important;height:12px!important;margin-top:-4px!important;
  border:2px solid #9874ff!important;border-radius:50%!important;
  background:#f4efff!important;box-shadow:0 0 8px rgba(155,121,255,.55)!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume::-moz-range-thumb{
  width:10px!important;height:10px!important;
  border:2px solid #9874ff!important;border-radius:50%!important;
  background:#f4efff!important;box-shadow:0 0 8px rgba(155,121,255,.55)!important;
}


/* HOTFIX: prevent native vertical range rendering as an oversized purple knob */
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume-wrap{
  width:42px!important;height:112px!important;min-width:42px!important;min-height:112px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  padding:0!important;overflow:visible!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume,
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume:hover,
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume:focus,
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume:active{
  all:unset!important;
  display:block!important;box-sizing:border-box!important;
  -webkit-appearance:none!important;appearance:none!important;
  writing-mode:horizontal-tb!important;direction:ltr!important;
  width:88px!important;min-width:88px!important;max-width:88px!important;
  height:18px!important;min-height:18px!important;max-height:18px!important;
  padding:0!important;margin:0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  outline:0!important;box-shadow:none!important;
  transform:rotate(-90deg)!important;transform-origin:center center!important;
  cursor:pointer!important;touch-action:pan-x!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume::-webkit-slider-runnable-track{
  -webkit-appearance:none!important;appearance:none!important;
  width:88px!important;height:4px!important;
  background:linear-gradient(90deg,#a88aff,#6846e8)!important;
  border:0!important;border-radius:99px!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume::-webkit-slider-thumb{
  -webkit-appearance:none!important;appearance:none!important;
  box-sizing:border-box!important;
  width:12px!important;height:12px!important;
  margin-top:-4px!important;
  background:#f4efff!important;
  border:2px solid #9874ff!important;border-radius:50%!important;
  box-shadow:0 0 7px rgba(155,121,255,.45)!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume::-moz-range-track{
  box-sizing:border-box!important;width:88px!important;height:4px!important;
  background:linear-gradient(90deg,#a88aff,#6846e8)!important;
  border:0!important;border-radius:99px!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume::-moz-range-progress{
  height:4px!important;background:#a88aff!important;border-radius:99px!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-control .trend-volume::-moz-range-thumb{
  box-sizing:border-box!important;width:12px!important;height:12px!important;
  background:#f4efff!important;border:2px solid #9874ff!important;
  border-radius:50%!important;box-shadow:0 0 7px rgba(155,121,255,.45)!important;
}


/* Evruni button styling — Trend Lab preview controls */
.trend-card-v2 .trend-video-tools .trend-play-toggle,
.trend-card-v2 .trend-video-tools .trend-sound-toggle,
.trend-card-v2 .trend-video-tools .trend-save-v2{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(157,126,255,.34)!important;
  border-radius:11px!important;
  color:#dcd2ff!important;
  background:linear-gradient(145deg,rgba(34,27,61,.96),rgba(13,17,31,.98))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 4px 12px rgba(0,0,0,.22)!important;
  font-family:inherit!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1!important;
  text-align:center!important;
  vertical-align:middle!important;
  transform:none!important;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease!important;
}
.trend-card-v2 .trend-video-tools .trend-play-toggle:hover,
.trend-card-v2 .trend-video-tools .trend-sound-toggle:hover,
.trend-card-v2 .trend-video-tools .trend-save-v2:hover{
  color:#fff!important;
  border-color:rgba(177,148,255,.78)!important;
  background:linear-gradient(145deg,rgba(83,61,145,.98),rgba(43,34,82,.98))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 0 0 3px rgba(139,103,255,.12),0 6px 16px rgba(60,39,130,.24)!important;
}
.trend-card-v2 .trend-video-tools .trend-play-toggle:focus-visible,
.trend-card-v2 .trend-video-tools .trend-sound-toggle:focus-visible,
.trend-card-v2 .trend-video-tools .trend-save-v2:focus-visible{
  outline:2px solid rgba(177,148,255,.9)!important;
  outline-offset:2px!important;
}
.trend-card-v2 .trend-video-tools .trend-play-toggle:active,
.trend-card-v2 .trend-video-tools .trend-sound-toggle:active,
.trend-card-v2 .trend-video-tools .trend-save-v2:active{
  background:linear-gradient(145deg,rgba(105,78,184,.98),rgba(58,43,111,.98))!important;
  box-shadow:inset 0 2px 5px rgba(0,0,0,.24)!important;
}
.trend-card-v2 .trend-video-tools .trend-save-v2{
  color:#c9c1dc!important;
  font-size:19px!important;
  font-weight:500!important;
}
.trend-card-v2 .trend-video-tools .trend-save-v2.saved,
.trend-card-v2.saved .trend-video-tools .trend-save-v2{
  color:#ff91bd!important;
  border-color:rgba(255,130,183,.55)!important;
  background:linear-gradient(145deg,rgba(75,35,68,.96),rgba(34,19,43,.98))!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-toggle.is-on{
  color:#c7b4ff!important;
  border-color:rgba(169,137,255,.62)!important;
  background:linear-gradient(145deg,rgba(57,43,99,.98),rgba(23,22,48,.98))!important;
}
.trend-card-v2 .trend-video-tools .trend-sound-toggle:disabled{
  opacity:.45!important;
  cursor:not-allowed!important;
  box-shadow:none!important;
}

/* Evruni Trend Lab — cinematic motion polish */
.trend-lab-v2{position:relative;isolation:isolate}
.trend-lab-v2:before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:-28px -18px 0;border-radius:34px;background:radial-gradient(ellipse at 8% 5%,rgba(111,75,255,.13),transparent 38%),radial-gradient(ellipse at 92% 28%,rgba(53,164,255,.08),transparent 34%);opacity:.9}
.trend-v2-hero{position:relative;overflow:hidden;transform:translateZ(0);animation:evTrendHeroIn .75s cubic-bezier(.2,.8,.2,1) both}
.trend-v2-hero:after{content:"";position:absolute;inset:-60% auto -60% -35%;width:30%;transform:rotate(22deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.055),transparent);animation:evTrendSheen 9s ease-in-out infinite;pointer-events:none}
.trend-v2-status{transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}
.trend-v2-status:hover{transform:translateY(-3px);border-color:rgba(151,125,255,.38);box-shadow:0 12px 34px rgba(100,75,255,.13)}
.trend-v2-status i{animation:evTrendPulse 2.4s ease-in-out infinite}
.trend-v2-toolbar{animation:evTrendRise .65s .08s both}
.trend-v2-search input{transition:border-color .25s ease,box-shadow .25s ease,background .25s ease}
.trend-v2-search input:focus{border-color:rgba(148,119,255,.65)!important;box-shadow:0 0 0 3px rgba(130,99,255,.13),0 8px 28px rgba(69,48,180,.12);background:rgba(17,19,32,.95)}
.trend-filters button,.trend-v2-toolbar>button{transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease}
.trend-filters button:hover,.trend-v2-toolbar>button:hover{transform:translateY(-2px);box-shadow:0 7px 20px rgba(102,77,235,.16)}
.trend-v2-grid{perspective:1200px}
.trend-card-v2{position:relative;transform-origin:50% 65%;animation:evTrendCardIn .65s cubic-bezier(.2,.75,.25,1) both;transition:transform .32s cubic-bezier(.2,.8,.2,1),border-color .32s ease,box-shadow .32s ease,background .32s ease}
.trend-card-v2:nth-child(3n+2){animation-delay:.07s}.trend-card-v2:nth-child(3n){animation-delay:.14s}
.trend-card-v2:before{content:"";position:absolute;z-index:0;inset:0;border-radius:inherit;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 15% 10%,rgba(140,111,255,.13),transparent 52%);transition:opacity .35s ease}
.trend-card-v2:hover{transform:translateY(-6px) scale(1.008);border-color:rgba(145,119,255,.38);box-shadow:0 22px 55px rgba(0,0,0,.34),0 0 0 1px rgba(130,103,255,.08),0 12px 35px rgba(95,68,220,.10)}
.trend-card-v2:hover:before{opacity:1}
.trend-v2-preview{transform:translateZ(0)}
.trend-v2-phone{transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease,border-color .4s ease;will-change:transform}
.trend-card-v2:hover .trend-v2-phone{transform:translateY(-2px) rotate(-1deg) scale(1.025);border-color:#49405f;box-shadow:0 22px 48px rgba(0,0,0,.48),0 0 24px rgba(132,105,255,.16)}
.trend-v2-real-video,.trend-v2-scene img,.trend-v2-scene video{transition:transform .8s cubic-bezier(.2,.7,.2,1),filter .5s ease}
.trend-card-v2:hover .trend-v2-real-video,.trend-card-v2:hover .trend-v2-scene img,.trend-card-v2:hover .trend-v2-scene video{transform:scale(1.045);filter:saturate(1.08)}
.trend-v2-body{position:relative;z-index:1}
.trend-v2-title h3{transition:color .25s ease}
.trend-card-v2:hover .trend-v2-title h3{color:#fff}
.trend-v2-title span{transition:background .25s ease,box-shadow .25s ease}
.trend-card-v2:hover .trend-v2-title span{background:rgba(122,99,255,.2);box-shadow:0 0 18px rgba(122,99,255,.12)}
.trend-v2-actions .primary,.trend-v2-actions .ghost{transition:transform .2s ease,filter .2s ease,box-shadow .25s ease}
.trend-v2-actions .primary:hover{transform:translateY(-2px);filter:brightness(1.09);box-shadow:0 10px 28px rgba(104,74,245,.32)}
.trend-v2-actions .ghost:hover{transform:translateY(-2px);border-color:rgba(157,133,255,.55);box-shadow:0 8px 20px rgba(104,74,245,.18)}
.trend-v2-footnote{animation:evTrendRise .7s .2s both}
@keyframes evTrendHeroIn{from{opacity:0;transform:translateY(15px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes evTrendRise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes evTrendCardIn{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes evTrendSheen{0%,62%{left:-38%;opacity:0}72%{opacity:1}100%{left:125%;opacity:0}}
@keyframes evTrendPulse{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(105,231,184,.28)}50%{opacity:.72;box-shadow:0 0 0 6px rgba(105,231,184,0)}}
@media(prefers-reduced-motion:reduce){.trend-lab-v2 *,.trend-lab-v2 *:before,.trend-lab-v2 *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.trend-card-v2:hover,.trend-card-v2:hover .trend-v2-phone{transform:none!important}}

/* Evruni Roulette Settings — balanced symmetric layout + subtle motion */
#wheelSettings{
  position:relative;isolation:isolate;overflow:hidden;
  border:1px solid rgba(157,126,255,.25)!important;
  border-radius:20px!important;
  background:linear-gradient(145deg,rgba(18,22,43,.96),rgba(9,13,27,.94))!important;
  box-shadow:0 14px 42px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.045)!important;
}
#wheelSettings:before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,rgba(176,143,255,.7),transparent);pointer-events:none}
#wheelSettings>summary{position:relative;min-height:62px;padding:17px 20px!important;gap:12px;transition:background .25s ease,color .25s ease}
#wheelSettings>summary:hover{background:rgba(145,112,255,.07)}
#wheelSettings[open]>summary{border-bottom:1px solid rgba(154,126,255,.16)}
#wheelSettings .wheel-settings-grid{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:16px!important;padding:18px!important;align-items:stretch!important;
}
#wheelSettings .wheel-chance-panel{grid-column:1!important;grid-row:auto!important;margin:0!important;min-width:0}
#wheelSettings .wheel-settings-columns{display:contents!important}
#wheelSettings .wheel-settings-column{display:contents!important}
#wheelSettings .wheel-setting-group{
  min-width:0!important;margin:0!important;align-self:stretch!important;
  border:1px solid rgba(153,132,220,.17)!important;border-radius:17px!important;
  background:linear-gradient(145deg,rgba(25,30,55,.76),rgba(13,18,35,.78))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 22px rgba(0,0,0,.10)!important;
  overflow:hidden;transition:border-color .25s ease,transform .25s ease,box-shadow .25s ease;
  animation:wheelSettingsRise .55s both;
}
#wheelSettings .wheel-setting-group:hover{border-color:rgba(165,133,255,.36)!important;transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.17),0 0 24px rgba(128,91,255,.07)!important}
#wheelSettings .wheel-setting-group-motion{grid-column:1!important;grid-row:2!important}
#wheelSettings .wheel-setting-group-audio{grid-column:2!important;grid-row:2!important}
#wheelSettings .wheel-setting-group-commands{grid-column:1!important;grid-row:3!important}
#wheelSettings .wheel-setting-group-rules{grid-column:2!important;grid-row:3!important}
#wheelSettings .wheel-setting-group-head{min-height:66px;padding:14px 16px!important;background:linear-gradient(100deg,rgba(128,91,235,.10),transparent)!important}
#wheelSettings .wheel-setting-group-fields{padding:15px!important;gap:12px!important;align-content:start!important}
#wheelSettings .wheel-setting-group-fields>label:not(.wheel-setting-check){min-width:0!important;display:flex!important;flex-direction:column!important;gap:7px!important}
#wheelSettings .wheel-setting-group-fields>label input:not([type=checkbox]),
#wheelSettings .wheel-setting-group-fields>label select{width:100%!important;min-width:0!important;height:44px!important;box-sizing:border-box!important}
#wheelSettings .wheel-setting-group-commands .wheel-setting-group-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#wheelSettings .wheel-setting-group-commands .wheel-setting-group-fields>label:last-child{grid-column:1/-1}
#wheelSettings .wheel-setting-group-audio .wheel-setting-group-fields{grid-template-columns:minmax(0,1fr)!important}
#wheelSettings .wheel-custom-music-card{grid-column:1/-1!important;min-height:120px!important}
#wheelSettings .wheel-volume-stack{grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:12px!important}
#wheelSettings .wheel-music-preview{min-width:155px!important}
#wheelSettings .wheel-setting-checks{grid-template-columns:1fr!important}
#wheelSettings .wheel-setting-check{min-height:46px!important;text-align:left!important;justify-content:flex-start!important;padding:10px 12px!important}
#wheelSettings .wheel-settings-actions{padding:0 18px 18px!important;gap:10px!important}
#wheelSettings .wheel-settings-actions button{min-height:42px!important}
@keyframes wheelSettingsRise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){
 #wheelSettings .wheel-settings-grid{grid-template-columns:minmax(0,1fr)!important;padding:12px!important;gap:12px!important}
 #wheelSettings .wheel-setting-group-motion,#wheelSettings .wheel-setting-group-audio,#wheelSettings .wheel-setting-group-commands,#wheelSettings .wheel-setting-group-rules{grid-column:1!important;grid-row:auto!important}
 #wheelSettings .wheel-setting-group-commands .wheel-setting-group-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:480px){
 #wheelSettings>summary{padding:14px!important}
 #wheelSettings .wheel-setting-group-fields{padding:12px!important}
 #wheelSettings .wheel-setting-group-commands .wheel-setting-group-fields{grid-template-columns:1fr!important}
 #wheelSettings .wheel-setting-group-commands .wheel-setting-group-fields>label:last-child{grid-column:auto}
 #wheelSettings .wheel-volume-stack{grid-template-columns:1fr!important}
 #wheelSettings .wheel-music-preview{width:100%!important;min-width:0!important}
 #wheelSettings .wheel-settings-actions{align-items:stretch!important;flex-direction:column!important}
 #wheelSettings .wheel-settings-actions button{width:100%!important}
}
@media(prefers-reduced-motion:reduce){#wheelSettings .wheel-setting-group{animation:none!important;transition:none!important}#wheelSettings .wheel-setting-group:hover{transform:none!important}}


/* Evruni roulette settings: compact balanced layout (active streamerfix build) */
#wheelSettings .wheel-settings-grid{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:12px!important;align-items:start!important;padding:12px!important;
}
#wheelSettings .wheel-chance-panel{grid-column:1/-1!important;grid-row:1!important;width:100%!important;min-width:0!important;padding:14px!important;box-sizing:border-box!important}
#wheelSettings .wheel-settings-columns{display:contents!important}
#wheelSettings .wheel-settings-column{display:contents!important}
#wheelSettings .wheel-setting-group{grid-row:auto!important;grid-column:auto!important;min-width:0!important;align-self:start!important;height:auto!important;min-height:0!important;margin:0!important}
#wheelSettings .wheel-setting-group-motion{grid-column:1!important;grid-row:2!important}
#wheelSettings .wheel-setting-group-audio{grid-column:2!important;grid-row:2!important}
#wheelSettings .wheel-setting-group-commands{grid-column:1!important;grid-row:3!important}
#wheelSettings .wheel-setting-group-rules{grid-column:2!important;grid-row:3!important}
#wheelSettings .wheel-setting-group-head{min-height:54px!important;padding:10px 13px!important}
#wheelSettings .wheel-setting-group-fields{padding:12px!important;gap:9px!important;align-content:start!important}
#wheelSettings .wheel-setting-group-fields>label:not(.wheel-setting-check){gap:5px!important}
#wheelSettings .wheel-setting-group-fields>label input:not([type=checkbox]),#wheelSettings .wheel-setting-group-fields>label select{height:38px!important;min-height:38px!important;padding:8px 10px!important}
#wheelSettings .wheel-setting-group-motion .wheel-setting-group-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#wheelSettings .wheel-setting-group-audio .wheel-setting-group-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#wheelSettings .wheel-setting-group-audio .wheel-setting-group-fields>label:first-child,#wheelSettings .wheel-setting-group-audio .wheel-custom-music-card,#wheelSettings .wheel-setting-group-audio .wheel-volume-stack{grid-column:1/-1!important}
#wheelSettings .wheel-custom-music-card{min-height:88px!important;padding:10px!important}
#wheelSettings .wheel-volume-stack{grid-template-columns:minmax(0,1fr) auto!important;gap:9px!important;padding:10px!important}
#wheelSettings .wheel-music-preview{min-width:130px!important}
#wheelSettings .wheel-setting-group-commands .wheel-setting-group-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#wheelSettings .wheel-setting-group-commands .wheel-setting-group-fields>label:last-child{grid-column:1/-1!important}
#wheelSettings .wheel-setting-checks{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
#wheelSettings .wheel-setting-check{min-height:38px!important;padding:8px 10px!important;font-size:12px!important}
#wheelSettings .wheel-settings-actions{padding:0 12px 12px!important}
.streamer-test-mode{position:relative!important;display:inline-flex!important;align-items:center!important;gap:7px!important;padding:7px 11px!important;border:1px solid rgba(255,65,82,.65)!important;border-radius:999px!important;background:linear-gradient(110deg,rgba(112,10,26,.28),rgba(255,35,65,.12))!important;color:#ff6677!important;font-weight:800!important;letter-spacing:.06em!important;box-shadow:0 0 12px rgba(255,40,65,.18),inset 0 0 12px rgba(255,40,65,.08)!important;animation:evrTestModePulse 1.8s ease-in-out infinite!important}
.streamer-test-mode:before{content:"";width:7px;height:7px;border-radius:50%;background:#ff405b;box-shadow:0 0 9px #ff405b;animation:evrTestDot 1s ease-in-out infinite alternate}
@keyframes evrTestModePulse{0%,100%{box-shadow:0 0 8px rgba(255,40,65,.16),inset 0 0 8px rgba(255,40,65,.06)}50%{box-shadow:0 0 20px rgba(255,40,65,.42),inset 0 0 14px rgba(255,40,65,.13)}}
@keyframes evrTestDot{to{opacity:.45;transform:scale(.78)}}
@media(max-width:760px){#wheelSettings .wheel-settings-grid{grid-template-columns:minmax(0,1fr)!important;padding:10px!important;gap:10px!important}#wheelSettings .wheel-chance-panel,#wheelSettings .wheel-setting-group-motion,#wheelSettings .wheel-setting-group-audio,#wheelSettings .wheel-setting-group-commands,#wheelSettings .wheel-setting-group-rules{grid-column:1!important;grid-row:auto!important}#wheelSettings .wheel-setting-group-audio .wheel-setting-group-fields{grid-template-columns:minmax(0,1fr)!important}#wheelSettings .wheel-setting-group-audio .wheel-setting-group-fields>*{grid-column:1!important}#wheelSettings .wheel-setting-group-commands .wheel-setting-group-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important}#wheelSettings .wheel-setting-checks{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.streamer-test-mode,.streamer-test-mode:before{animation:none!important}}


/* Evruni Roulette: compact music controls + balanced rules panel */
#wheelSettings .wheel-setting-group-audio .wheel-volume-stack{
  display:grid!important;grid-template-columns:minmax(0,1fr) 154px!important;
  align-items:stretch!important;gap:10px!important;width:100%!important;
  max-width:none!important;padding:10px!important;box-sizing:border-box!important;
  border:1px solid rgba(151,126,226,.22)!important;border-radius:14px!important;
  background:linear-gradient(135deg,rgba(31,35,62,.72),rgba(13,18,35,.72))!important;
}
#wheelSettings .wheel-setting-group-audio .wheel-volume-control{
  display:flex!important;flex-direction:column!important;justify-content:center!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  padding:10px 11px!important;box-sizing:border-box!important;
  border:1px solid rgba(151,126,226,.22)!important;border-radius:12px!important;
  background:rgba(255,255,255,.035)!important;
}
#wheelSettings .wheel-setting-group-audio .wheel-volume-row{display:flex!important;width:100%!important;min-width:0!important;gap:8px!important;align-items:center!important}
#wheelSettings .wheel-setting-group-audio .wheel-volume-row input[type=range]{flex:1 1 auto!important;width:100%!important;min-width:40px!important}
#wheelSettings .wheel-setting-group-audio .wheel-music-preview{
  width:100%!important;min-width:0!important;max-width:none!important;
  min-height:44px!important;align-self:stretch!important;justify-self:stretch!important;
  white-space:normal!important;padding:8px 10px!important;border-radius:12px!important;
}
#wheelSettings .wheel-setting-group-rules .wheel-setting-group-fields.wheel-setting-checks{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;justify-items:stretch!important;gap:8px!important;
  width:100%!important;box-sizing:border-box!important;
}
#wheelSettings .wheel-setting-group-rules .wheel-setting-check{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:flex-start!important;justify-self:stretch!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  min-height:42px!important;height:100%!important;box-sizing:border-box!important;
  gap:9px!important;padding:9px 11px!important;text-align:left!important;
  border:1px solid rgba(151,126,226,.20)!important;border-radius:11px!important;
  background:linear-gradient(120deg,rgba(116,91,190,.10),rgba(255,255,255,.025))!important;
  color:#d7d9ed!important;font-size:11px!important;line-height:1.3!important;
  transition:background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease!important;
}
#wheelSettings .wheel-setting-group-rules .wheel-setting-check:hover{
  transform:translateY(-1px)!important;border-color:rgba(167,137,255,.48)!important;
  background:rgba(132,103,220,.13)!important;box-shadow:0 5px 15px rgba(92,67,170,.12)!important;
}
#wheelSettings .wheel-setting-group-rules .wheel-setting-check input[type=checkbox]{
  flex:0 0 17px!important;width:17px!important;height:17px!important;margin:0!important;
}
@media(max-width:520px){
  #wheelSettings .wheel-setting-group-audio .wheel-volume-stack{grid-template-columns:minmax(0,1fr) 128px!important;gap:8px!important}
  #wheelSettings .wheel-setting-group-rules .wheel-setting-group-fields.wheel-setting-checks{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #wheelSettings .wheel-setting-group-rules .wheel-setting-check{font-size:10px!important;padding:8px!important;gap:7px!important;min-height:44px!important}
}
@media(max-width:390px){
  #wheelSettings .wheel-setting-group-audio .wheel-volume-stack{grid-template-columns:1fr!important}
  #wheelSettings .wheel-setting-group-audio .wheel-music-preview{min-height:40px!important}
  #wheelSettings .wheel-setting-group-rules .wheel-setting-group-fields.wheel-setting-checks{grid-template-columns:1fr!important}
}

/* Evruni custom endpoint dropdown — API Sandbox */
.sandbox-toolbar #sbEndpoint.evruni-native-select-hidden{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
.sandbox-toolbar .evruni-endpoint-select{position:relative;flex:0 1 220px;min-width:190px;z-index:12}
.sandbox-toolbar .evruni-endpoint-trigger{
  width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:0 14px;border:1px solid rgba(157,126,255,.42);border-radius:13px;
  color:#e8e5fb;background:linear-gradient(145deg,rgba(31,29,57,.96),rgba(13,17,31,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 5px 18px rgba(0,0,0,.16);
  font:600 13px inherit;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s;
}
.sandbox-toolbar .evruni-endpoint-trigger:hover,.sandbox-toolbar .evruni-endpoint-select.is-open .evruni-endpoint-trigger{
  border-color:#9c7aff;box-shadow:0 0 0 3px rgba(137,103,255,.12),0 8px 24px rgba(91,66,174,.18)
}
.evruni-endpoint-chevron{color:#bdaaff;font-size:19px;line-height:1;transition:transform .2s}
.evruni-endpoint-select.is-open .evruni-endpoint-chevron{transform:rotate(180deg)}
.evruni-endpoint-menu{
  position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:9999;max-height:190px;overflow-y:auto;
  padding:6px;border:1px solid rgba(151,119,255,.42);border-radius:14px;
  background:linear-gradient(155deg,rgba(24,26,48,.99),rgba(9,14,27,.99));
  box-shadow:0 18px 42px rgba(0,0,0,.48),0 0 24px rgba(117,83,231,.13);backdrop-filter:blur(18px);
  scrollbar-width:thin;scrollbar-color:#8c6aff rgba(255,255,255,.055);
  animation:evruniEndpointIn .16s ease-out;
}
.evruni-endpoint-menu[hidden]{display:none!important}
.evruni-endpoint-menu::-webkit-scrollbar{width:7px}
.evruni-endpoint-menu::-webkit-scrollbar-track{margin:7px;border-radius:9px;background:rgba(255,255,255,.045)}
.evruni-endpoint-menu::-webkit-scrollbar-thumb{border:1px solid rgba(255,255,255,.12);border-radius:9px;background:linear-gradient(180deg,#b39aff,#7450e8)}
.evruni-endpoint-menu::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#c7b5ff,#9675ff)}
.evruni-endpoint-option{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:10px 11px;border:0;border-radius:9px;background:transparent;color:#e5e2f4;text-align:left;cursor:pointer;transition:background .16s,color .16s}
.evruni-endpoint-option span{font-size:13px;font-weight:650;letter-spacing:.01em}
.evruni-endpoint-option i{font-size:10px;font-style:normal;color:#858ba6}
.evruni-endpoint-option:hover,.evruni-endpoint-option:focus-visible{outline:none;background:rgba(133,101,255,.17);color:#fff}
.evruni-endpoint-option.is-selected{background:linear-gradient(100deg,rgba(126,91,239,.28),rgba(87,68,158,.16));box-shadow:inset 2px 0 #a58aff;color:#fff}
.evruni-endpoint-option.is-selected i{color:#c0b0ff}
@keyframes evruniEndpointIn{from{opacity:0;transform:translateY(-5px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:620px){.sandbox-toolbar .evruni-endpoint-select{flex:1 1 100%;min-width:0}.evruni-endpoint-menu{max-height:160px}}


/* Evruni Bonuses — cinematic, restrained motion */
.bonuses-view{animation:bonusPageIn .62s cubic-bezier(.2,.8,.2,1) both}
.bonus-hero{position:relative;isolation:isolate;overflow:hidden;animation:bonusCardIn .72s cubic-bezier(.2,.8,.2,1) .06s both;transition:border-color .3s ease,box-shadow .3s ease,transform .3s ease}
.bonus-hero::before{content:"";position:absolute;z-index:-1;inset:-45% -20%;pointer-events:none;background:linear-gradient(112deg,transparent 34%,rgba(191,174,255,.075) 48%,rgba(110,218,255,.055) 52%,transparent 66%);transform:translateX(-65%) rotate(7deg);animation:bonusHeroSweep 9s ease-in-out 1s infinite}
.bonus-hero::after{content:"";position:absolute;z-index:-1;width:260px;height:260px;right:12%;top:-190px;border-radius:50%;background:rgba(129,91,255,.18);filter:blur(65px);pointer-events:none;animation:bonusGlowFloat 7s ease-in-out infinite}
.bonus-hero:hover{border-color:rgba(157,133,255,.48);box-shadow:0 26px 85px rgba(43,30,112,.26),0 0 34px rgba(123,91,255,.08)}
.bonus-hero-copy,.bonus-stats{animation:bonusContentIn .65s cubic-bezier(.2,.8,.2,1) both}
.bonus-stats>div{position:relative;overflow:hidden;transition:transform .25s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease}
.bonus-stats>div::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,transparent,rgba(171,151,255,.09),transparent);transform:translateX(-120%);transition:transform .65s ease}
.bonus-stats>div:hover{transform:translateY(-3px);border-color:rgba(157,133,255,.35);background:rgba(132,105,255,.075);box-shadow:0 10px 28px rgba(0,0,0,.16)}
.bonus-stats>div:hover::after{transform:translateX(120%)}
.bonus-stats>div:nth-child(1){animation:bonusContentIn .55s ease .12s both}.bonus-stats>div:nth-child(2){animation:bonusContentIn .55s ease .2s both}.bonus-stats>div:nth-child(3){animation:bonusContentIn .55s ease .28s both}.bonus-stats>div:nth-child(4){animation:bonusContentIn .55s ease .36s both}
.bonus-link-row input{transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
.bonus-link-row input:focus{outline:none;border-color:rgba(159,133,255,.68);box-shadow:0 0 0 3px rgba(132,101,255,.12),0 0 24px rgba(132,101,255,.1);background:rgba(5,8,18,.92)}
.bonus-link-row .primary{transition:transform .22s ease,box-shadow .22s ease,filter .22s ease}
.bonus-link-row .primary:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(112,77,255,.3);filter:brightness(1.08)}
.bonus-steps>div{position:relative;overflow:hidden;transition:transform .25s ease,border-color .25s ease,background .25s ease,box-shadow .25s ease;animation:bonusCardIn .58s cubic-bezier(.2,.8,.2,1) both}
.bonus-steps>div:nth-child(1){animation-delay:.14s}.bonus-steps>div:nth-child(2){animation-delay:.23s}.bonus-steps>div:nth-child(3){animation-delay:.32s}
.bonus-steps>div:hover{transform:translateY(-3px);border-color:rgba(151,126,255,.38);background:rgba(24,23,54,.72);box-shadow:0 12px 30px rgba(0,0,0,.16)}
.bonus-steps>div>b{transition:transform .25s ease,box-shadow .25s ease}
.bonus-steps>div:hover>b{transform:scale(1.1) rotate(-6deg);box-shadow:0 0 20px rgba(141,112,255,.25)}
.bonus-grid>.bonus-panel{animation:bonusCardIn .65s cubic-bezier(.2,.8,.2,1) .38s both;transition:border-color .25s ease,box-shadow .25s ease}
.bonus-grid>.bonus-panel:hover{border-color:rgba(145,124,255,.3);box-shadow:0 14px 38px rgba(0,0,0,.14)}
.bonus-row{transition:background .2s ease,padding-left .2s ease}.bonus-row:hover{background:rgba(141,112,255,.055);padding-left:21px}
.bonus-task{transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease}
.bonus-task:hover{transform:translateY(-2px);border-color:rgba(151,126,255,.32);background:rgba(141,112,255,.045);box-shadow:0 10px 25px rgba(0,0,0,.13)}
.bonus-task-icon{transition:transform .25s ease,box-shadow .25s ease}.bonus-task:hover .bonus-task-icon{transform:scale(1.06) rotate(-4deg);box-shadow:0 0 20px rgba(108,77,255,.22)}
@keyframes bonusPageIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes bonusCardIn{from{opacity:0;transform:translateY(15px) scale(.992)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes bonusContentIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes bonusHeroSweep{0%,18%{transform:translateX(-65%) rotate(7deg);opacity:0}30%{opacity:1}55%,100%{transform:translateX(65%) rotate(7deg);opacity:0}}
@keyframes bonusGlowFloat{0%,100%{transform:translate(0,0);opacity:.7}50%{transform:translate(-28px,22px);opacity:1}}
@media(max-width:900px){.bonus-hero::before{animation-duration:12s}}
@media(prefers-reduced-motion:reduce){.bonuses-view,.bonus-hero,.bonus-hero-copy,.bonus-stats,.bonus-stats>div,.bonus-steps>div,.bonus-grid>.bonus-panel{animation:none!important}.bonus-hero::before,.bonus-hero::after{animation:none!important}.bonus-hero,.bonus-stats>div,.bonus-steps>div,.bonus-grid>.bonus-panel,.bonus-task,.bonus-row,.bonus-task-icon{transition:none!important}}


/* Evruni Telegram task confirmation modal */
.evruni-proof-overlay{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(3,5,13,.76);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);opacity:0;transition:opacity .18s ease}
.evruni-proof-overlay.is-visible{opacity:1}
.evruni-proof-dialog{position:relative;width:min(100%,470px);padding:27px 27px 23px;border:1px solid rgba(157,125,255,.42);border-radius:22px;background:radial-gradient(120% 100% at 0% 0%,rgba(111,75,220,.22),transparent 55%),linear-gradient(145deg,#17192b 0%,#0c1020 68%,#111629 100%);box-shadow:0 24px 90px rgba(0,0,0,.62),0 0 0 1px rgba(255,255,255,.035) inset,0 0 36px rgba(111,75,220,.16);color:#f4f1ff;transform:translateY(12px) scale(.985);transition:transform .2s cubic-bezier(.2,.8,.2,1);overflow:hidden}
.evruni-proof-overlay.is-visible .evruni-proof-dialog{transform:translateY(0) scale(1)}
.evruni-proof-dialog:before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,transparent,#a78bfa,#6d45e8,transparent);opacity:.9}
.evruni-proof-close{position:absolute;right:16px;top:16px;width:32px;height:32px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:rgba(255,255,255,.045);color:#c9c2e5;font-size:21px;line-height:1;cursor:pointer;transition:.18s}
.evruni-proof-close:hover{background:rgba(150,115,255,.18);border-color:rgba(167,139,250,.5);color:white;transform:rotate(90deg)}
.evruni-proof-icon{width:42px;height:42px;display:grid;place-items:center;margin-bottom:15px;border:1px solid rgba(167,139,250,.35);border-radius:14px;background:linear-gradient(145deg,rgba(151,111,255,.3),rgba(95,65,185,.12));color:#c4adff;font-size:21px;box-shadow:0 5px 20px rgba(112,76,220,.2)}
.evruni-proof-eyebrow{margin-bottom:7px;color:#a995ed;font-size:9px;font-weight:800;letter-spacing:.19em}
.evruni-proof-dialog h2{margin:0 40px 9px 0;color:#f5f2ff;font-size:21px;line-height:1.25;font-weight:800;letter-spacing:-.025em}
.evruni-proof-description{margin:0 0 21px;color:#a6acc2;font-size:13px;line-height:1.55}
.evruni-proof-label{display:block;margin-bottom:8px;color:#d7d1ed;font-size:11px;font-weight:700}
.evruni-proof-input-wrap{height:48px;display:flex;align-items:center;gap:9px;padding:0 14px;border:1px solid rgba(143,119,220,.34);border-radius:12px;background:rgba(4,7,17,.72);box-shadow:0 1px 0 rgba(255,255,255,.035) inset;transition:border-color .18s,box-shadow .18s,background .18s}
.evruni-proof-input-wrap:focus-within{border-color:#9b7aff;background:rgba(8,10,24,.95);box-shadow:0 0 0 3px rgba(132,96,239,.16),0 0 22px rgba(132,96,239,.12)}
.evruni-proof-input-wrap span{color:#a88cff;font-size:16px;font-weight:800}
.evruni-proof-input-wrap input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#f7f4ff!important;font:600 14px inherit!important;padding:0!important}
.evruni-proof-input-wrap input::placeholder{color:#68718b}
.evruni-proof-hint{margin-top:8px;color:#777f99;font-size:10px;line-height:1.45}
.evruni-proof-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
.evruni-proof-actions button{min-height:42px;padding:0 17px;border-radius:11px;font:700 12px inherit;cursor:pointer;transition:transform .16s,box-shadow .16s,border-color .16s}
.evruni-proof-cancel{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.045);color:#b7bdd0}
.evruni-proof-cancel:hover{border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.08)}
.evruni-proof-submit{border:1px solid rgba(184,158,255,.65);background:linear-gradient(110deg,#9b7aff,#7044e8);color:white;box-shadow:0 7px 20px rgba(105,67,220,.28)}
.evruni-proof-submit:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(105,67,220,.4)}
.evruni-proof-submit span{margin-left:7px;font-size:16px}
@media(max-width:520px){.evruni-proof-dialog{padding:23px 19px 19px;border-radius:19px}.evruni-proof-dialog h2{font-size:19px}.evruni-proof-actions button{flex:1;padding:0 10px}}
@media(prefers-reduced-motion:reduce){.evruni-proof-overlay,.evruni-proof-dialog,.evruni-proof-close,.evruni-proof-actions button{transition:none!important}}

/* Evruni social sign-in: Twitch + Telegram */
.evruni-twitch{background:linear-gradient(135deg,rgba(100,65,165,.22),rgba(126,87,194,.10));border-color:rgba(145,105,230,.34)}
.evruni-twitch span:first-child{background:#9146ff;color:#fff;font-size:16px}
.evruni-telegram-login{min-height:42px;display:flex;align-items:center;justify-content:center;padding:3px 8px;border:1px solid rgba(45,166,220,.28);border-radius:12px;background:linear-gradient(135deg,rgba(35,158,218,.14),rgba(126,91,255,.08));overflow:hidden}
.evruni-telegram-login iframe{max-width:100%!important}
.auth-register-socials .evruni-telegram-login,.auth-home-socials .evruni-telegram-login{width:100%;min-width:0}
.evruni-socials:has(.evruni-telegram-login){align-items:stretch}
@media(max-width:520px){.evruni-telegram-login{min-height:46px}}
